github.com/aavshr/aws-sdk-go@v1.41.3/service/quicksight/api.go (about)

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package quicksight
     4  
     5  import (
     6  	"fmt"
     7  	"time"
     8  
     9  	"github.com/aavshr/aws-sdk-go/aws"
    10  	"github.com/aavshr/aws-sdk-go/aws/awsutil"
    11  	"github.com/aavshr/aws-sdk-go/aws/request"
    12  	"github.com/aavshr/aws-sdk-go/private/protocol"
    13  )
    14  
    15  const 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
    41  func (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
    92  func (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.
   106  func (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  
   113  const 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
   139  func (c *QuickSight) CreateAccountCustomizationRequest(input *CreateAccountCustomizationInput) (req *request.Request, output *CreateAccountCustomizationOutput) {
   140  	op := &request.Operation{
   141  		Name:       opCreateAccountCustomization,
   142  		HTTPMethod: "POST",
   143  		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
   144  	}
   145  
   146  	if input == nil {
   147  		input = &CreateAccountCustomizationInput{}
   148  	}
   149  
   150  	output = &CreateAccountCustomizationOutput{}
   151  	req = c.newRequest(op, input, output)
   152  	return
   153  }
   154  
   155  // CreateAccountCustomization API operation for Amazon QuickSight.
   156  //
   157  // Creates Amazon QuickSight customizations the current Amazon Web Services
   158  // Region;. Currently, you can add a custom default theme by using the CreateAccountCustomization
   159  // or UpdateAccountCustomization API operation. To further customize Amazon
   160  // QuickSight by removing Amazon QuickSight sample assets and videos for all
   161  // new users, see Customizing Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/customizing-quicksight.html)
   162  // in the Amazon QuickSight User Guide.
   163  //
   164  // You can create customizations for your Amazon Web Services account or, if
   165  // you specify a namespace, for a Amazon QuickSight namespace instead. Customizations
   166  // that apply to a namespace always override customizations that apply to an
   167  // Amazon Web Services account. To find out which customizations apply, use
   168  // the DescribeAccountCustomization API operation.
   169  //
   170  // Before you use the CreateAccountCustomization API operation to add a theme
   171  // as the namespace default, make sure that you first share the theme with the
   172  // namespace. If you don't share it with the namespace, the theme isn't visible
   173  // to your users even if you make it the default theme. To check if the theme
   174  // is shared, view the current permissions by using the DescribeThemePermissions
   175  // API operation. To share the theme, grant permissions by using the UpdateThemePermissions
   176  // API operation.
   177  //
   178  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   179  // with awserr.Error's Code and Message methods to get detailed information about
   180  // the error.
   181  //
   182  // See the AWS API reference guide for Amazon QuickSight's
   183  // API operation CreateAccountCustomization for usage and error information.
   184  //
   185  // Returned Error Types:
   186  //   * AccessDeniedException
   187  //   You don't have access to this item. The provided credentials couldn't be
   188  //   validated. You might not be authorized to carry out the request. Make sure
   189  //   that your account is authorized to use the Amazon QuickSight service, that
   190  //   your policies have the correct permissions, and that you are using the correct
   191  //   access keys.
   192  //
   193  //   * InvalidParameterValueException
   194  //   One or more parameters has a value that isn't valid.
   195  //
   196  //   * ResourceExistsException
   197  //   The resource specified already exists.
   198  //
   199  //   * ResourceNotFoundException
   200  //   One or more resources can't be found.
   201  //
   202  //   * ThrottlingException
   203  //   Access is throttled.
   204  //
   205  //   * InternalFailureException
   206  //   An internal failure occurred.
   207  //
   208  //   * ResourceUnavailableException
   209  //   This resource is currently unavailable.
   210  //
   211  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAccountCustomization
   212  func (c *QuickSight) CreateAccountCustomization(input *CreateAccountCustomizationInput) (*CreateAccountCustomizationOutput, error) {
   213  	req, out := c.CreateAccountCustomizationRequest(input)
   214  	return out, req.Send()
   215  }
   216  
   217  // CreateAccountCustomizationWithContext is the same as CreateAccountCustomization with the addition of
   218  // the ability to pass a context and additional request options.
   219  //
   220  // See CreateAccountCustomization for details on how to use this API operation.
   221  //
   222  // The context must be non-nil and will be used for request cancellation. If
   223  // the context is nil a panic will occur. In the future the SDK may create
   224  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   225  // for more information on using Contexts.
   226  func (c *QuickSight) CreateAccountCustomizationWithContext(ctx aws.Context, input *CreateAccountCustomizationInput, opts ...request.Option) (*CreateAccountCustomizationOutput, error) {
   227  	req, out := c.CreateAccountCustomizationRequest(input)
   228  	req.SetContext(ctx)
   229  	req.ApplyOptions(opts...)
   230  	return out, req.Send()
   231  }
   232  
   233  const opCreateAnalysis = "CreateAnalysis"
   234  
   235  // CreateAnalysisRequest generates a "aws/request.Request" representing the
   236  // client's request for the CreateAnalysis operation. The "output" return
   237  // value will be populated with the request's response once the request completes
   238  // successfully.
   239  //
   240  // Use "Send" method on the returned Request to send the API call to the service.
   241  // the "output" return value is not valid until after Send returns without error.
   242  //
   243  // See CreateAnalysis for more information on using the CreateAnalysis
   244  // API call, and error handling.
   245  //
   246  // This method is useful when you want to inject custom logic or configuration
   247  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   248  //
   249  //
   250  //    // Example sending a request using the CreateAnalysisRequest method.
   251  //    req, resp := client.CreateAnalysisRequest(params)
   252  //
   253  //    err := req.Send()
   254  //    if err == nil { // resp is now filled
   255  //        fmt.Println(resp)
   256  //    }
   257  //
   258  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAnalysis
   259  func (c *QuickSight) CreateAnalysisRequest(input *CreateAnalysisInput) (req *request.Request, output *CreateAnalysisOutput) {
   260  	op := &request.Operation{
   261  		Name:       opCreateAnalysis,
   262  		HTTPMethod: "POST",
   263  		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
   264  	}
   265  
   266  	if input == nil {
   267  		input = &CreateAnalysisInput{}
   268  	}
   269  
   270  	output = &CreateAnalysisOutput{}
   271  	req = c.newRequest(op, input, output)
   272  	return
   273  }
   274  
   275  // CreateAnalysis API operation for Amazon QuickSight.
   276  //
   277  // Creates an analysis in Amazon QuickSight.
   278  //
   279  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   280  // with awserr.Error's Code and Message methods to get detailed information about
   281  // the error.
   282  //
   283  // See the AWS API reference guide for Amazon QuickSight's
   284  // API operation CreateAnalysis for usage and error information.
   285  //
   286  // Returned Error Types:
   287  //   * ResourceNotFoundException
   288  //   One or more resources can't be found.
   289  //
   290  //   * InvalidParameterValueException
   291  //   One or more parameters has a value that isn't valid.
   292  //
   293  //   * ThrottlingException
   294  //   Access is throttled.
   295  //
   296  //   * ResourceExistsException
   297  //   The resource specified already exists.
   298  //
   299  //   * ConflictException
   300  //   Updating or deleting a resource can cause an inconsistent state.
   301  //
   302  //   * UnsupportedUserEditionException
   303  //   This error indicates that you are calling an operation on an Amazon QuickSight
   304  //   subscription where the edition doesn't include support for that operation.
   305  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
   306  //   Not every operation and capability is available in every edition.
   307  //
   308  //   * InternalFailureException
   309  //   An internal failure occurred.
   310  //
   311  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAnalysis
   312  func (c *QuickSight) CreateAnalysis(input *CreateAnalysisInput) (*CreateAnalysisOutput, error) {
   313  	req, out := c.CreateAnalysisRequest(input)
   314  	return out, req.Send()
   315  }
   316  
   317  // CreateAnalysisWithContext is the same as CreateAnalysis with the addition of
   318  // the ability to pass a context and additional request options.
   319  //
   320  // See CreateAnalysis for details on how to use this API operation.
   321  //
   322  // The context must be non-nil and will be used for request cancellation. If
   323  // the context is nil a panic will occur. In the future the SDK may create
   324  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   325  // for more information on using Contexts.
   326  func (c *QuickSight) CreateAnalysisWithContext(ctx aws.Context, input *CreateAnalysisInput, opts ...request.Option) (*CreateAnalysisOutput, error) {
   327  	req, out := c.CreateAnalysisRequest(input)
   328  	req.SetContext(ctx)
   329  	req.ApplyOptions(opts...)
   330  	return out, req.Send()
   331  }
   332  
   333  const opCreateDashboard = "CreateDashboard"
   334  
   335  // CreateDashboardRequest generates a "aws/request.Request" representing the
   336  // client's request for the CreateDashboard operation. The "output" return
   337  // value will be populated with the request's response once the request completes
   338  // successfully.
   339  //
   340  // Use "Send" method on the returned Request to send the API call to the service.
   341  // the "output" return value is not valid until after Send returns without error.
   342  //
   343  // See CreateDashboard for more information on using the CreateDashboard
   344  // API call, and error handling.
   345  //
   346  // This method is useful when you want to inject custom logic or configuration
   347  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   348  //
   349  //
   350  //    // Example sending a request using the CreateDashboardRequest method.
   351  //    req, resp := client.CreateDashboardRequest(params)
   352  //
   353  //    err := req.Send()
   354  //    if err == nil { // resp is now filled
   355  //        fmt.Println(resp)
   356  //    }
   357  //
   358  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard
   359  func (c *QuickSight) CreateDashboardRequest(input *CreateDashboardInput) (req *request.Request, output *CreateDashboardOutput) {
   360  	op := &request.Operation{
   361  		Name:       opCreateDashboard,
   362  		HTTPMethod: "POST",
   363  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
   364  	}
   365  
   366  	if input == nil {
   367  		input = &CreateDashboardInput{}
   368  	}
   369  
   370  	output = &CreateDashboardOutput{}
   371  	req = c.newRequest(op, input, output)
   372  	return
   373  }
   374  
   375  // CreateDashboard API operation for Amazon QuickSight.
   376  //
   377  // Creates a dashboard from a template. To first create a template, see the
   378  // CreateTemplate API operation.
   379  //
   380  // A dashboard is an entity in Amazon QuickSight that identifies Amazon QuickSight
   381  // reports, created from analyses. You can share Amazon QuickSight dashboards.
   382  // With the right permissions, you can create scheduled email reports from them.
   383  // If you have the correct permissions, you can create a dashboard from a template
   384  // that exists in a different Amazon Web Services account.
   385  //
   386  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   387  // with awserr.Error's Code and Message methods to get detailed information about
   388  // the error.
   389  //
   390  // See the AWS API reference guide for Amazon QuickSight's
   391  // API operation CreateDashboard for usage and error information.
   392  //
   393  // Returned Error Types:
   394  //   * ResourceNotFoundException
   395  //   One or more resources can't be found.
   396  //
   397  //   * InvalidParameterValueException
   398  //   One or more parameters has a value that isn't valid.
   399  //
   400  //   * ThrottlingException
   401  //   Access is throttled.
   402  //
   403  //   * ResourceExistsException
   404  //   The resource specified already exists.
   405  //
   406  //   * ConflictException
   407  //   Updating or deleting a resource can cause an inconsistent state.
   408  //
   409  //   * UnsupportedUserEditionException
   410  //   This error indicates that you are calling an operation on an Amazon QuickSight
   411  //   subscription where the edition doesn't include support for that operation.
   412  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
   413  //   Not every operation and capability is available in every edition.
   414  //
   415  //   * InternalFailureException
   416  //   An internal failure occurred.
   417  //
   418  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard
   419  func (c *QuickSight) CreateDashboard(input *CreateDashboardInput) (*CreateDashboardOutput, error) {
   420  	req, out := c.CreateDashboardRequest(input)
   421  	return out, req.Send()
   422  }
   423  
   424  // CreateDashboardWithContext is the same as CreateDashboard with the addition of
   425  // the ability to pass a context and additional request options.
   426  //
   427  // See CreateDashboard for details on how to use this API operation.
   428  //
   429  // The context must be non-nil and will be used for request cancellation. If
   430  // the context is nil a panic will occur. In the future the SDK may create
   431  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   432  // for more information on using Contexts.
   433  func (c *QuickSight) CreateDashboardWithContext(ctx aws.Context, input *CreateDashboardInput, opts ...request.Option) (*CreateDashboardOutput, error) {
   434  	req, out := c.CreateDashboardRequest(input)
   435  	req.SetContext(ctx)
   436  	req.ApplyOptions(opts...)
   437  	return out, req.Send()
   438  }
   439  
   440  const opCreateDataSet = "CreateDataSet"
   441  
   442  // CreateDataSetRequest generates a "aws/request.Request" representing the
   443  // client's request for the CreateDataSet operation. The "output" return
   444  // value will be populated with the request's response once the request completes
   445  // successfully.
   446  //
   447  // Use "Send" method on the returned Request to send the API call to the service.
   448  // the "output" return value is not valid until after Send returns without error.
   449  //
   450  // See CreateDataSet for more information on using the CreateDataSet
   451  // API call, and error handling.
   452  //
   453  // This method is useful when you want to inject custom logic or configuration
   454  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   455  //
   456  //
   457  //    // Example sending a request using the CreateDataSetRequest method.
   458  //    req, resp := client.CreateDataSetRequest(params)
   459  //
   460  //    err := req.Send()
   461  //    if err == nil { // resp is now filled
   462  //        fmt.Println(resp)
   463  //    }
   464  //
   465  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet
   466  func (c *QuickSight) CreateDataSetRequest(input *CreateDataSetInput) (req *request.Request, output *CreateDataSetOutput) {
   467  	op := &request.Operation{
   468  		Name:       opCreateDataSet,
   469  		HTTPMethod: "POST",
   470  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets",
   471  	}
   472  
   473  	if input == nil {
   474  		input = &CreateDataSetInput{}
   475  	}
   476  
   477  	output = &CreateDataSetOutput{}
   478  	req = c.newRequest(op, input, output)
   479  	return
   480  }
   481  
   482  // CreateDataSet API operation for Amazon QuickSight.
   483  //
   484  // Creates a dataset.
   485  //
   486  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   487  // with awserr.Error's Code and Message methods to get detailed information about
   488  // the error.
   489  //
   490  // See the AWS API reference guide for Amazon QuickSight's
   491  // API operation CreateDataSet for usage and error information.
   492  //
   493  // Returned Error Types:
   494  //   * AccessDeniedException
   495  //   You don't have access to this item. The provided credentials couldn't be
   496  //   validated. You might not be authorized to carry out the request. Make sure
   497  //   that your account is authorized to use the Amazon QuickSight service, that
   498  //   your policies have the correct permissions, and that you are using the correct
   499  //   access keys.
   500  //
   501  //   * ConflictException
   502  //   Updating or deleting a resource can cause an inconsistent state.
   503  //
   504  //   * InvalidParameterValueException
   505  //   One or more parameters has a value that isn't valid.
   506  //
   507  //   * LimitExceededException
   508  //   A limit is exceeded.
   509  //
   510  //   * ResourceExistsException
   511  //   The resource specified already exists.
   512  //
   513  //   * ResourceNotFoundException
   514  //   One or more resources can't be found.
   515  //
   516  //   * ThrottlingException
   517  //   Access is throttled.
   518  //
   519  //   * UnsupportedUserEditionException
   520  //   This error indicates that you are calling an operation on an Amazon QuickSight
   521  //   subscription where the edition doesn't include support for that operation.
   522  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
   523  //   Not every operation and capability is available in every edition.
   524  //
   525  //   * InternalFailureException
   526  //   An internal failure occurred.
   527  //
   528  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet
   529  func (c *QuickSight) CreateDataSet(input *CreateDataSetInput) (*CreateDataSetOutput, error) {
   530  	req, out := c.CreateDataSetRequest(input)
   531  	return out, req.Send()
   532  }
   533  
   534  // CreateDataSetWithContext is the same as CreateDataSet with the addition of
   535  // the ability to pass a context and additional request options.
   536  //
   537  // See CreateDataSet for details on how to use this API operation.
   538  //
   539  // The context must be non-nil and will be used for request cancellation. If
   540  // the context is nil a panic will occur. In the future the SDK may create
   541  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   542  // for more information on using Contexts.
   543  func (c *QuickSight) CreateDataSetWithContext(ctx aws.Context, input *CreateDataSetInput, opts ...request.Option) (*CreateDataSetOutput, error) {
   544  	req, out := c.CreateDataSetRequest(input)
   545  	req.SetContext(ctx)
   546  	req.ApplyOptions(opts...)
   547  	return out, req.Send()
   548  }
   549  
   550  const opCreateDataSource = "CreateDataSource"
   551  
   552  // CreateDataSourceRequest generates a "aws/request.Request" representing the
   553  // client's request for the CreateDataSource operation. The "output" return
   554  // value will be populated with the request's response once the request completes
   555  // successfully.
   556  //
   557  // Use "Send" method on the returned Request to send the API call to the service.
   558  // the "output" return value is not valid until after Send returns without error.
   559  //
   560  // See CreateDataSource for more information on using the CreateDataSource
   561  // API call, and error handling.
   562  //
   563  // This method is useful when you want to inject custom logic or configuration
   564  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   565  //
   566  //
   567  //    // Example sending a request using the CreateDataSourceRequest method.
   568  //    req, resp := client.CreateDataSourceRequest(params)
   569  //
   570  //    err := req.Send()
   571  //    if err == nil { // resp is now filled
   572  //        fmt.Println(resp)
   573  //    }
   574  //
   575  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource
   576  func (c *QuickSight) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput) {
   577  	op := &request.Operation{
   578  		Name:       opCreateDataSource,
   579  		HTTPMethod: "POST",
   580  		HTTPPath:   "/accounts/{AwsAccountId}/data-sources",
   581  	}
   582  
   583  	if input == nil {
   584  		input = &CreateDataSourceInput{}
   585  	}
   586  
   587  	output = &CreateDataSourceOutput{}
   588  	req = c.newRequest(op, input, output)
   589  	return
   590  }
   591  
   592  // CreateDataSource API operation for Amazon QuickSight.
   593  //
   594  // Creates a data source.
   595  //
   596  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   597  // with awserr.Error's Code and Message methods to get detailed information about
   598  // the error.
   599  //
   600  // See the AWS API reference guide for Amazon QuickSight's
   601  // API operation CreateDataSource for usage and error information.
   602  //
   603  // Returned Error Types:
   604  //   * AccessDeniedException
   605  //   You don't have access to this item. The provided credentials couldn't be
   606  //   validated. You might not be authorized to carry out the request. Make sure
   607  //   that your account is authorized to use the Amazon QuickSight service, that
   608  //   your policies have the correct permissions, and that you are using the correct
   609  //   access keys.
   610  //
   611  //   * ConflictException
   612  //   Updating or deleting a resource can cause an inconsistent state.
   613  //
   614  //   * InvalidParameterValueException
   615  //   One or more parameters has a value that isn't valid.
   616  //
   617  //   * LimitExceededException
   618  //   A limit is exceeded.
   619  //
   620  //   * ResourceNotFoundException
   621  //   One or more resources can't be found.
   622  //
   623  //   * ResourceExistsException
   624  //   The resource specified already exists.
   625  //
   626  //   * ThrottlingException
   627  //   Access is throttled.
   628  //
   629  //   * InternalFailureException
   630  //   An internal failure occurred.
   631  //
   632  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource
   633  func (c *QuickSight) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error) {
   634  	req, out := c.CreateDataSourceRequest(input)
   635  	return out, req.Send()
   636  }
   637  
   638  // CreateDataSourceWithContext is the same as CreateDataSource with the addition of
   639  // the ability to pass a context and additional request options.
   640  //
   641  // See CreateDataSource for details on how to use this API operation.
   642  //
   643  // The context must be non-nil and will be used for request cancellation. If
   644  // the context is nil a panic will occur. In the future the SDK may create
   645  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   646  // for more information on using Contexts.
   647  func (c *QuickSight) CreateDataSourceWithContext(ctx aws.Context, input *CreateDataSourceInput, opts ...request.Option) (*CreateDataSourceOutput, error) {
   648  	req, out := c.CreateDataSourceRequest(input)
   649  	req.SetContext(ctx)
   650  	req.ApplyOptions(opts...)
   651  	return out, req.Send()
   652  }
   653  
   654  const opCreateFolder = "CreateFolder"
   655  
   656  // CreateFolderRequest generates a "aws/request.Request" representing the
   657  // client's request for the CreateFolder operation. The "output" return
   658  // value will be populated with the request's response once the request completes
   659  // successfully.
   660  //
   661  // Use "Send" method on the returned Request to send the API call to the service.
   662  // the "output" return value is not valid until after Send returns without error.
   663  //
   664  // See CreateFolder for more information on using the CreateFolder
   665  // API call, and error handling.
   666  //
   667  // This method is useful when you want to inject custom logic or configuration
   668  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   669  //
   670  //
   671  //    // Example sending a request using the CreateFolderRequest method.
   672  //    req, resp := client.CreateFolderRequest(params)
   673  //
   674  //    err := req.Send()
   675  //    if err == nil { // resp is now filled
   676  //        fmt.Println(resp)
   677  //    }
   678  //
   679  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolder
   680  func (c *QuickSight) CreateFolderRequest(input *CreateFolderInput) (req *request.Request, output *CreateFolderOutput) {
   681  	op := &request.Operation{
   682  		Name:       opCreateFolder,
   683  		HTTPMethod: "POST",
   684  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}",
   685  	}
   686  
   687  	if input == nil {
   688  		input = &CreateFolderInput{}
   689  	}
   690  
   691  	output = &CreateFolderOutput{}
   692  	req = c.newRequest(op, input, output)
   693  	return
   694  }
   695  
   696  // CreateFolder API operation for Amazon QuickSight.
   697  //
   698  // Creates an empty shared folder.
   699  //
   700  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   701  // with awserr.Error's Code and Message methods to get detailed information about
   702  // the error.
   703  //
   704  // See the AWS API reference guide for Amazon QuickSight's
   705  // API operation CreateFolder for usage and error information.
   706  //
   707  // Returned Error Types:
   708  //   * ResourceNotFoundException
   709  //   One or more resources can't be found.
   710  //
   711  //   * InvalidParameterValueException
   712  //   One or more parameters has a value that isn't valid.
   713  //
   714  //   * ThrottlingException
   715  //   Access is throttled.
   716  //
   717  //   * ResourceExistsException
   718  //   The resource specified already exists.
   719  //
   720  //   * ConflictException
   721  //   Updating or deleting a resource can cause an inconsistent state.
   722  //
   723  //   * UnsupportedUserEditionException
   724  //   This error indicates that you are calling an operation on an Amazon QuickSight
   725  //   subscription where the edition doesn't include support for that operation.
   726  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
   727  //   Not every operation and capability is available in every edition.
   728  //
   729  //   * AccessDeniedException
   730  //   You don't have access to this item. The provided credentials couldn't be
   731  //   validated. You might not be authorized to carry out the request. Make sure
   732  //   that your account is authorized to use the Amazon QuickSight service, that
   733  //   your policies have the correct permissions, and that you are using the correct
   734  //   access keys.
   735  //
   736  //   * LimitExceededException
   737  //   A limit is exceeded.
   738  //
   739  //   * InternalFailureException
   740  //   An internal failure occurred.
   741  //
   742  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolder
   743  func (c *QuickSight) CreateFolder(input *CreateFolderInput) (*CreateFolderOutput, error) {
   744  	req, out := c.CreateFolderRequest(input)
   745  	return out, req.Send()
   746  }
   747  
   748  // CreateFolderWithContext is the same as CreateFolder with the addition of
   749  // the ability to pass a context and additional request options.
   750  //
   751  // See CreateFolder for details on how to use this API operation.
   752  //
   753  // The context must be non-nil and will be used for request cancellation. If
   754  // the context is nil a panic will occur. In the future the SDK may create
   755  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   756  // for more information on using Contexts.
   757  func (c *QuickSight) CreateFolderWithContext(ctx aws.Context, input *CreateFolderInput, opts ...request.Option) (*CreateFolderOutput, error) {
   758  	req, out := c.CreateFolderRequest(input)
   759  	req.SetContext(ctx)
   760  	req.ApplyOptions(opts...)
   761  	return out, req.Send()
   762  }
   763  
   764  const opCreateFolderMembership = "CreateFolderMembership"
   765  
   766  // CreateFolderMembershipRequest generates a "aws/request.Request" representing the
   767  // client's request for the CreateFolderMembership operation. The "output" return
   768  // value will be populated with the request's response once the request completes
   769  // successfully.
   770  //
   771  // Use "Send" method on the returned Request to send the API call to the service.
   772  // the "output" return value is not valid until after Send returns without error.
   773  //
   774  // See CreateFolderMembership for more information on using the CreateFolderMembership
   775  // API call, and error handling.
   776  //
   777  // This method is useful when you want to inject custom logic or configuration
   778  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   779  //
   780  //
   781  //    // Example sending a request using the CreateFolderMembershipRequest method.
   782  //    req, resp := client.CreateFolderMembershipRequest(params)
   783  //
   784  //    err := req.Send()
   785  //    if err == nil { // resp is now filled
   786  //        fmt.Println(resp)
   787  //    }
   788  //
   789  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolderMembership
   790  func (c *QuickSight) CreateFolderMembershipRequest(input *CreateFolderMembershipInput) (req *request.Request, output *CreateFolderMembershipOutput) {
   791  	op := &request.Operation{
   792  		Name:       opCreateFolderMembership,
   793  		HTTPMethod: "PUT",
   794  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}",
   795  	}
   796  
   797  	if input == nil {
   798  		input = &CreateFolderMembershipInput{}
   799  	}
   800  
   801  	output = &CreateFolderMembershipOutput{}
   802  	req = c.newRequest(op, input, output)
   803  	return
   804  }
   805  
   806  // CreateFolderMembership API operation for Amazon QuickSight.
   807  //
   808  // Adds an asset, such as a dashboard, analysis, or dataset into a folder.
   809  //
   810  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   811  // with awserr.Error's Code and Message methods to get detailed information about
   812  // the error.
   813  //
   814  // See the AWS API reference guide for Amazon QuickSight's
   815  // API operation CreateFolderMembership for usage and error information.
   816  //
   817  // Returned Error Types:
   818  //   * AccessDeniedException
   819  //   You don't have access to this item. The provided credentials couldn't be
   820  //   validated. You might not be authorized to carry out the request. Make sure
   821  //   that your account is authorized to use the Amazon QuickSight service, that
   822  //   your policies have the correct permissions, and that you are using the correct
   823  //   access keys.
   824  //
   825  //   * InvalidParameterValueException
   826  //   One or more parameters has a value that isn't valid.
   827  //
   828  //   * ResourceNotFoundException
   829  //   One or more resources can't be found.
   830  //
   831  //   * ResourceExistsException
   832  //   The resource specified already exists.
   833  //
   834  //   * ThrottlingException
   835  //   Access is throttled.
   836  //
   837  //   * LimitExceededException
   838  //   A limit is exceeded.
   839  //
   840  //   * UnsupportedUserEditionException
   841  //   This error indicates that you are calling an operation on an Amazon QuickSight
   842  //   subscription where the edition doesn't include support for that operation.
   843  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
   844  //   Not every operation and capability is available in every edition.
   845  //
   846  //   * InternalFailureException
   847  //   An internal failure occurred.
   848  //
   849  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolderMembership
   850  func (c *QuickSight) CreateFolderMembership(input *CreateFolderMembershipInput) (*CreateFolderMembershipOutput, error) {
   851  	req, out := c.CreateFolderMembershipRequest(input)
   852  	return out, req.Send()
   853  }
   854  
   855  // CreateFolderMembershipWithContext is the same as CreateFolderMembership with the addition of
   856  // the ability to pass a context and additional request options.
   857  //
   858  // See CreateFolderMembership for details on how to use this API operation.
   859  //
   860  // The context must be non-nil and will be used for request cancellation. If
   861  // the context is nil a panic will occur. In the future the SDK may create
   862  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   863  // for more information on using Contexts.
   864  func (c *QuickSight) CreateFolderMembershipWithContext(ctx aws.Context, input *CreateFolderMembershipInput, opts ...request.Option) (*CreateFolderMembershipOutput, error) {
   865  	req, out := c.CreateFolderMembershipRequest(input)
   866  	req.SetContext(ctx)
   867  	req.ApplyOptions(opts...)
   868  	return out, req.Send()
   869  }
   870  
   871  const opCreateGroup = "CreateGroup"
   872  
   873  // CreateGroupRequest generates a "aws/request.Request" representing the
   874  // client's request for the CreateGroup operation. The "output" return
   875  // value will be populated with the request's response once the request completes
   876  // successfully.
   877  //
   878  // Use "Send" method on the returned Request to send the API call to the service.
   879  // the "output" return value is not valid until after Send returns without error.
   880  //
   881  // See CreateGroup for more information on using the CreateGroup
   882  // API call, and error handling.
   883  //
   884  // This method is useful when you want to inject custom logic or configuration
   885  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   886  //
   887  //
   888  //    // Example sending a request using the CreateGroupRequest method.
   889  //    req, resp := client.CreateGroupRequest(params)
   890  //
   891  //    err := req.Send()
   892  //    if err == nil { // resp is now filled
   893  //        fmt.Println(resp)
   894  //    }
   895  //
   896  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup
   897  func (c *QuickSight) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) {
   898  	op := &request.Operation{
   899  		Name:       opCreateGroup,
   900  		HTTPMethod: "POST",
   901  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
   902  	}
   903  
   904  	if input == nil {
   905  		input = &CreateGroupInput{}
   906  	}
   907  
   908  	output = &CreateGroupOutput{}
   909  	req = c.newRequest(op, input, output)
   910  	return
   911  }
   912  
   913  // CreateGroup API operation for Amazon QuickSight.
   914  //
   915  // Creates an Amazon QuickSight group.
   916  //
   917  // The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name> .
   918  //
   919  // The response is a group object.
   920  //
   921  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   922  // with awserr.Error's Code and Message methods to get detailed information about
   923  // the error.
   924  //
   925  // See the AWS API reference guide for Amazon QuickSight's
   926  // API operation CreateGroup for usage and error information.
   927  //
   928  // Returned Error Types:
   929  //   * AccessDeniedException
   930  //   You don't have access to this item. The provided credentials couldn't be
   931  //   validated. You might not be authorized to carry out the request. Make sure
   932  //   that your account is authorized to use the Amazon QuickSight service, that
   933  //   your policies have the correct permissions, and that you are using the correct
   934  //   access keys.
   935  //
   936  //   * InvalidParameterValueException
   937  //   One or more parameters has a value that isn't valid.
   938  //
   939  //   * ResourceExistsException
   940  //   The resource specified already exists.
   941  //
   942  //   * ResourceNotFoundException
   943  //   One or more resources can't be found.
   944  //
   945  //   * ThrottlingException
   946  //   Access is throttled.
   947  //
   948  //   * PreconditionNotMetException
   949  //   One or more preconditions aren't met.
   950  //
   951  //   * LimitExceededException
   952  //   A limit is exceeded.
   953  //
   954  //   * InternalFailureException
   955  //   An internal failure occurred.
   956  //
   957  //   * ResourceUnavailableException
   958  //   This resource is currently unavailable.
   959  //
   960  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup
   961  func (c *QuickSight) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) {
   962  	req, out := c.CreateGroupRequest(input)
   963  	return out, req.Send()
   964  }
   965  
   966  // CreateGroupWithContext is the same as CreateGroup with the addition of
   967  // the ability to pass a context and additional request options.
   968  //
   969  // See CreateGroup for details on how to use this API operation.
   970  //
   971  // The context must be non-nil and will be used for request cancellation. If
   972  // the context is nil a panic will occur. In the future the SDK may create
   973  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   974  // for more information on using Contexts.
   975  func (c *QuickSight) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInput, opts ...request.Option) (*CreateGroupOutput, error) {
   976  	req, out := c.CreateGroupRequest(input)
   977  	req.SetContext(ctx)
   978  	req.ApplyOptions(opts...)
   979  	return out, req.Send()
   980  }
   981  
   982  const opCreateGroupMembership = "CreateGroupMembership"
   983  
   984  // CreateGroupMembershipRequest generates a "aws/request.Request" representing the
   985  // client's request for the CreateGroupMembership operation. The "output" return
   986  // value will be populated with the request's response once the request completes
   987  // successfully.
   988  //
   989  // Use "Send" method on the returned Request to send the API call to the service.
   990  // the "output" return value is not valid until after Send returns without error.
   991  //
   992  // See CreateGroupMembership for more information on using the CreateGroupMembership
   993  // API call, and error handling.
   994  //
   995  // This method is useful when you want to inject custom logic or configuration
   996  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   997  //
   998  //
   999  //    // Example sending a request using the CreateGroupMembershipRequest method.
  1000  //    req, resp := client.CreateGroupMembershipRequest(params)
  1001  //
  1002  //    err := req.Send()
  1003  //    if err == nil { // resp is now filled
  1004  //        fmt.Println(resp)
  1005  //    }
  1006  //
  1007  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership
  1008  func (c *QuickSight) CreateGroupMembershipRequest(input *CreateGroupMembershipInput) (req *request.Request, output *CreateGroupMembershipOutput) {
  1009  	op := &request.Operation{
  1010  		Name:       opCreateGroupMembership,
  1011  		HTTPMethod: "PUT",
  1012  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
  1013  	}
  1014  
  1015  	if input == nil {
  1016  		input = &CreateGroupMembershipInput{}
  1017  	}
  1018  
  1019  	output = &CreateGroupMembershipOutput{}
  1020  	req = c.newRequest(op, input, output)
  1021  	return
  1022  }
  1023  
  1024  // CreateGroupMembership API operation for Amazon QuickSight.
  1025  //
  1026  // Adds an Amazon QuickSight user to an Amazon QuickSight group.
  1027  //
  1028  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1029  // with awserr.Error's Code and Message methods to get detailed information about
  1030  // the error.
  1031  //
  1032  // See the AWS API reference guide for Amazon QuickSight's
  1033  // API operation CreateGroupMembership for usage and error information.
  1034  //
  1035  // Returned Error Types:
  1036  //   * AccessDeniedException
  1037  //   You don't have access to this item. The provided credentials couldn't be
  1038  //   validated. You might not be authorized to carry out the request. Make sure
  1039  //   that your account is authorized to use the Amazon QuickSight service, that
  1040  //   your policies have the correct permissions, and that you are using the correct
  1041  //   access keys.
  1042  //
  1043  //   * InvalidParameterValueException
  1044  //   One or more parameters has a value that isn't valid.
  1045  //
  1046  //   * ResourceNotFoundException
  1047  //   One or more resources can't be found.
  1048  //
  1049  //   * ThrottlingException
  1050  //   Access is throttled.
  1051  //
  1052  //   * PreconditionNotMetException
  1053  //   One or more preconditions aren't met.
  1054  //
  1055  //   * InternalFailureException
  1056  //   An internal failure occurred.
  1057  //
  1058  //   * ResourceUnavailableException
  1059  //   This resource is currently unavailable.
  1060  //
  1061  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership
  1062  func (c *QuickSight) CreateGroupMembership(input *CreateGroupMembershipInput) (*CreateGroupMembershipOutput, error) {
  1063  	req, out := c.CreateGroupMembershipRequest(input)
  1064  	return out, req.Send()
  1065  }
  1066  
  1067  // CreateGroupMembershipWithContext is the same as CreateGroupMembership with the addition of
  1068  // the ability to pass a context and additional request options.
  1069  //
  1070  // See CreateGroupMembership for details on how to use this API operation.
  1071  //
  1072  // The context must be non-nil and will be used for request cancellation. If
  1073  // the context is nil a panic will occur. In the future the SDK may create
  1074  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1075  // for more information on using Contexts.
  1076  func (c *QuickSight) CreateGroupMembershipWithContext(ctx aws.Context, input *CreateGroupMembershipInput, opts ...request.Option) (*CreateGroupMembershipOutput, error) {
  1077  	req, out := c.CreateGroupMembershipRequest(input)
  1078  	req.SetContext(ctx)
  1079  	req.ApplyOptions(opts...)
  1080  	return out, req.Send()
  1081  }
  1082  
  1083  const opCreateIAMPolicyAssignment = "CreateIAMPolicyAssignment"
  1084  
  1085  // CreateIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
  1086  // client's request for the CreateIAMPolicyAssignment operation. The "output" return
  1087  // value will be populated with the request's response once the request completes
  1088  // successfully.
  1089  //
  1090  // Use "Send" method on the returned Request to send the API call to the service.
  1091  // the "output" return value is not valid until after Send returns without error.
  1092  //
  1093  // See CreateIAMPolicyAssignment for more information on using the CreateIAMPolicyAssignment
  1094  // API call, and error handling.
  1095  //
  1096  // This method is useful when you want to inject custom logic or configuration
  1097  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1098  //
  1099  //
  1100  //    // Example sending a request using the CreateIAMPolicyAssignmentRequest method.
  1101  //    req, resp := client.CreateIAMPolicyAssignmentRequest(params)
  1102  //
  1103  //    err := req.Send()
  1104  //    if err == nil { // resp is now filled
  1105  //        fmt.Println(resp)
  1106  //    }
  1107  //
  1108  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment
  1109  func (c *QuickSight) CreateIAMPolicyAssignmentRequest(input *CreateIAMPolicyAssignmentInput) (req *request.Request, output *CreateIAMPolicyAssignmentOutput) {
  1110  	op := &request.Operation{
  1111  		Name:       opCreateIAMPolicyAssignment,
  1112  		HTTPMethod: "POST",
  1113  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/",
  1114  	}
  1115  
  1116  	if input == nil {
  1117  		input = &CreateIAMPolicyAssignmentInput{}
  1118  	}
  1119  
  1120  	output = &CreateIAMPolicyAssignmentOutput{}
  1121  	req = c.newRequest(op, input, output)
  1122  	return
  1123  }
  1124  
  1125  // CreateIAMPolicyAssignment API operation for Amazon QuickSight.
  1126  //
  1127  // Creates an assignment with one specified IAMpolicy, identified by its Amazon
  1128  // Resource Name (ARN). This policy assignment is attached to the specified
  1129  // groups or users of Amazon QuickSight. Assignment names are unique per Amazon
  1130  // Web Services account. To avoid overwriting rules in other namespaces, use
  1131  // assignment names that are unique.
  1132  //
  1133  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1134  // with awserr.Error's Code and Message methods to get detailed information about
  1135  // the error.
  1136  //
  1137  // See the AWS API reference guide for Amazon QuickSight's
  1138  // API operation CreateIAMPolicyAssignment for usage and error information.
  1139  //
  1140  // Returned Error Types:
  1141  //   * AccessDeniedException
  1142  //   You don't have access to this item. The provided credentials couldn't be
  1143  //   validated. You might not be authorized to carry out the request. Make sure
  1144  //   that your account is authorized to use the Amazon QuickSight service, that
  1145  //   your policies have the correct permissions, and that you are using the correct
  1146  //   access keys.
  1147  //
  1148  //   * InvalidParameterValueException
  1149  //   One or more parameters has a value that isn't valid.
  1150  //
  1151  //   * ResourceExistsException
  1152  //   The resource specified already exists.
  1153  //
  1154  //   * ResourceNotFoundException
  1155  //   One or more resources can't be found.
  1156  //
  1157  //   * ThrottlingException
  1158  //   Access is throttled.
  1159  //
  1160  //   * ConcurrentUpdatingException
  1161  //   A resource is already in a state that indicates an operation is happening
  1162  //   that must complete before a new update can be applied.
  1163  //
  1164  //   * InternalFailureException
  1165  //   An internal failure occurred.
  1166  //
  1167  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment
  1168  func (c *QuickSight) CreateIAMPolicyAssignment(input *CreateIAMPolicyAssignmentInput) (*CreateIAMPolicyAssignmentOutput, error) {
  1169  	req, out := c.CreateIAMPolicyAssignmentRequest(input)
  1170  	return out, req.Send()
  1171  }
  1172  
  1173  // CreateIAMPolicyAssignmentWithContext is the same as CreateIAMPolicyAssignment with the addition of
  1174  // the ability to pass a context and additional request options.
  1175  //
  1176  // See CreateIAMPolicyAssignment for details on how to use this API operation.
  1177  //
  1178  // The context must be non-nil and will be used for request cancellation. If
  1179  // the context is nil a panic will occur. In the future the SDK may create
  1180  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1181  // for more information on using Contexts.
  1182  func (c *QuickSight) CreateIAMPolicyAssignmentWithContext(ctx aws.Context, input *CreateIAMPolicyAssignmentInput, opts ...request.Option) (*CreateIAMPolicyAssignmentOutput, error) {
  1183  	req, out := c.CreateIAMPolicyAssignmentRequest(input)
  1184  	req.SetContext(ctx)
  1185  	req.ApplyOptions(opts...)
  1186  	return out, req.Send()
  1187  }
  1188  
  1189  const opCreateIngestion = "CreateIngestion"
  1190  
  1191  // CreateIngestionRequest generates a "aws/request.Request" representing the
  1192  // client's request for the CreateIngestion operation. The "output" return
  1193  // value will be populated with the request's response once the request completes
  1194  // successfully.
  1195  //
  1196  // Use "Send" method on the returned Request to send the API call to the service.
  1197  // the "output" return value is not valid until after Send returns without error.
  1198  //
  1199  // See CreateIngestion for more information on using the CreateIngestion
  1200  // API call, and error handling.
  1201  //
  1202  // This method is useful when you want to inject custom logic or configuration
  1203  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1204  //
  1205  //
  1206  //    // Example sending a request using the CreateIngestionRequest method.
  1207  //    req, resp := client.CreateIngestionRequest(params)
  1208  //
  1209  //    err := req.Send()
  1210  //    if err == nil { // resp is now filled
  1211  //        fmt.Println(resp)
  1212  //    }
  1213  //
  1214  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion
  1215  func (c *QuickSight) CreateIngestionRequest(input *CreateIngestionInput) (req *request.Request, output *CreateIngestionOutput) {
  1216  	op := &request.Operation{
  1217  		Name:       opCreateIngestion,
  1218  		HTTPMethod: "PUT",
  1219  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
  1220  	}
  1221  
  1222  	if input == nil {
  1223  		input = &CreateIngestionInput{}
  1224  	}
  1225  
  1226  	output = &CreateIngestionOutput{}
  1227  	req = c.newRequest(op, input, output)
  1228  	return
  1229  }
  1230  
  1231  // CreateIngestion API operation for Amazon QuickSight.
  1232  //
  1233  // Creates and starts a new SPICE ingestion on a dataset
  1234  //
  1235  // Any ingestions operating on tagged datasets inherit the same tags automatically
  1236  // for use in access control. For an example, see How do I create an IAM policy
  1237  // to control access to Amazon EC2 resources using tags? (http://aws.amazon.com/premiumsupport/knowledge-center/iam-ec2-resource-tags/)
  1238  // in the Amazon Web Services Knowledge Center. Tags are visible on the tagged
  1239  // dataset, but not on the ingestion resource.
  1240  //
  1241  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1242  // with awserr.Error's Code and Message methods to get detailed information about
  1243  // the error.
  1244  //
  1245  // See the AWS API reference guide for Amazon QuickSight's
  1246  // API operation CreateIngestion for usage and error information.
  1247  //
  1248  // Returned Error Types:
  1249  //   * AccessDeniedException
  1250  //   You don't have access to this item. The provided credentials couldn't be
  1251  //   validated. You might not be authorized to carry out the request. Make sure
  1252  //   that your account is authorized to use the Amazon QuickSight service, that
  1253  //   your policies have the correct permissions, and that you are using the correct
  1254  //   access keys.
  1255  //
  1256  //   * InvalidParameterValueException
  1257  //   One or more parameters has a value that isn't valid.
  1258  //
  1259  //   * ResourceNotFoundException
  1260  //   One or more resources can't be found.
  1261  //
  1262  //   * ThrottlingException
  1263  //   Access is throttled.
  1264  //
  1265  //   * LimitExceededException
  1266  //   A limit is exceeded.
  1267  //
  1268  //   * ResourceExistsException
  1269  //   The resource specified already exists.
  1270  //
  1271  //   * InternalFailureException
  1272  //   An internal failure occurred.
  1273  //
  1274  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion
  1275  func (c *QuickSight) CreateIngestion(input *CreateIngestionInput) (*CreateIngestionOutput, error) {
  1276  	req, out := c.CreateIngestionRequest(input)
  1277  	return out, req.Send()
  1278  }
  1279  
  1280  // CreateIngestionWithContext is the same as CreateIngestion with the addition of
  1281  // the ability to pass a context and additional request options.
  1282  //
  1283  // See CreateIngestion for details on how to use this API operation.
  1284  //
  1285  // The context must be non-nil and will be used for request cancellation. If
  1286  // the context is nil a panic will occur. In the future the SDK may create
  1287  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1288  // for more information on using Contexts.
  1289  func (c *QuickSight) CreateIngestionWithContext(ctx aws.Context, input *CreateIngestionInput, opts ...request.Option) (*CreateIngestionOutput, error) {
  1290  	req, out := c.CreateIngestionRequest(input)
  1291  	req.SetContext(ctx)
  1292  	req.ApplyOptions(opts...)
  1293  	return out, req.Send()
  1294  }
  1295  
  1296  const opCreateNamespace = "CreateNamespace"
  1297  
  1298  // CreateNamespaceRequest generates a "aws/request.Request" representing the
  1299  // client's request for the CreateNamespace operation. The "output" return
  1300  // value will be populated with the request's response once the request completes
  1301  // successfully.
  1302  //
  1303  // Use "Send" method on the returned Request to send the API call to the service.
  1304  // the "output" return value is not valid until after Send returns without error.
  1305  //
  1306  // See CreateNamespace for more information on using the CreateNamespace
  1307  // API call, and error handling.
  1308  //
  1309  // This method is useful when you want to inject custom logic or configuration
  1310  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1311  //
  1312  //
  1313  //    // Example sending a request using the CreateNamespaceRequest method.
  1314  //    req, resp := client.CreateNamespaceRequest(params)
  1315  //
  1316  //    err := req.Send()
  1317  //    if err == nil { // resp is now filled
  1318  //        fmt.Println(resp)
  1319  //    }
  1320  //
  1321  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace
  1322  func (c *QuickSight) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput) {
  1323  	op := &request.Operation{
  1324  		Name:       opCreateNamespace,
  1325  		HTTPMethod: "POST",
  1326  		HTTPPath:   "/accounts/{AwsAccountId}",
  1327  	}
  1328  
  1329  	if input == nil {
  1330  		input = &CreateNamespaceInput{}
  1331  	}
  1332  
  1333  	output = &CreateNamespaceOutput{}
  1334  	req = c.newRequest(op, input, output)
  1335  	return
  1336  }
  1337  
  1338  // CreateNamespace API operation for Amazon QuickSight.
  1339  //
  1340  // (Enterprise edition only) Creates a new namespace for you to use with Amazon
  1341  // QuickSight.
  1342  //
  1343  // A namespace allows you to isolate the Amazon QuickSight users and groups
  1344  // that are registered for that namespace. Users that access the namespace can
  1345  // share assets only with other users or groups in the same namespace. They
  1346  // can't see users and groups in other namespaces. You can create a namespace
  1347  // after your Amazon Web Services account is subscribed to Amazon QuickSight.
  1348  // The namespace must be unique within the Amazon Web Services account. By default,
  1349  // there is a limit of 100 namespaces per Amazon Web Services account. To increase
  1350  // your limit, create a ticket with Amazon Web Services Support.
  1351  //
  1352  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1353  // with awserr.Error's Code and Message methods to get detailed information about
  1354  // the error.
  1355  //
  1356  // See the AWS API reference guide for Amazon QuickSight's
  1357  // API operation CreateNamespace for usage and error information.
  1358  //
  1359  // Returned Error Types:
  1360  //   * AccessDeniedException
  1361  //   You don't have access to this item. The provided credentials couldn't be
  1362  //   validated. You might not be authorized to carry out the request. Make sure
  1363  //   that your account is authorized to use the Amazon QuickSight service, that
  1364  //   your policies have the correct permissions, and that you are using the correct
  1365  //   access keys.
  1366  //
  1367  //   * InvalidParameterValueException
  1368  //   One or more parameters has a value that isn't valid.
  1369  //
  1370  //   * ResourceNotFoundException
  1371  //   One or more resources can't be found.
  1372  //
  1373  //   * ThrottlingException
  1374  //   Access is throttled.
  1375  //
  1376  //   * LimitExceededException
  1377  //   A limit is exceeded.
  1378  //
  1379  //   * ResourceExistsException
  1380  //   The resource specified already exists.
  1381  //
  1382  //   * PreconditionNotMetException
  1383  //   One or more preconditions aren't met.
  1384  //
  1385  //   * ConflictException
  1386  //   Updating or deleting a resource can cause an inconsistent state.
  1387  //
  1388  //   * InternalFailureException
  1389  //   An internal failure occurred.
  1390  //
  1391  //   * ResourceUnavailableException
  1392  //   This resource is currently unavailable.
  1393  //
  1394  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace
  1395  func (c *QuickSight) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error) {
  1396  	req, out := c.CreateNamespaceRequest(input)
  1397  	return out, req.Send()
  1398  }
  1399  
  1400  // CreateNamespaceWithContext is the same as CreateNamespace with the addition of
  1401  // the ability to pass a context and additional request options.
  1402  //
  1403  // See CreateNamespace for details on how to use this API operation.
  1404  //
  1405  // The context must be non-nil and will be used for request cancellation. If
  1406  // the context is nil a panic will occur. In the future the SDK may create
  1407  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1408  // for more information on using Contexts.
  1409  func (c *QuickSight) CreateNamespaceWithContext(ctx aws.Context, input *CreateNamespaceInput, opts ...request.Option) (*CreateNamespaceOutput, error) {
  1410  	req, out := c.CreateNamespaceRequest(input)
  1411  	req.SetContext(ctx)
  1412  	req.ApplyOptions(opts...)
  1413  	return out, req.Send()
  1414  }
  1415  
  1416  const opCreateTemplate = "CreateTemplate"
  1417  
  1418  // CreateTemplateRequest generates a "aws/request.Request" representing the
  1419  // client's request for the CreateTemplate operation. The "output" return
  1420  // value will be populated with the request's response once the request completes
  1421  // successfully.
  1422  //
  1423  // Use "Send" method on the returned Request to send the API call to the service.
  1424  // the "output" return value is not valid until after Send returns without error.
  1425  //
  1426  // See CreateTemplate for more information on using the CreateTemplate
  1427  // API call, and error handling.
  1428  //
  1429  // This method is useful when you want to inject custom logic or configuration
  1430  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1431  //
  1432  //
  1433  //    // Example sending a request using the CreateTemplateRequest method.
  1434  //    req, resp := client.CreateTemplateRequest(params)
  1435  //
  1436  //    err := req.Send()
  1437  //    if err == nil { // resp is now filled
  1438  //        fmt.Println(resp)
  1439  //    }
  1440  //
  1441  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate
  1442  func (c *QuickSight) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Request, output *CreateTemplateOutput) {
  1443  	op := &request.Operation{
  1444  		Name:       opCreateTemplate,
  1445  		HTTPMethod: "POST",
  1446  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
  1447  	}
  1448  
  1449  	if input == nil {
  1450  		input = &CreateTemplateInput{}
  1451  	}
  1452  
  1453  	output = &CreateTemplateOutput{}
  1454  	req = c.newRequest(op, input, output)
  1455  	return
  1456  }
  1457  
  1458  // CreateTemplate API operation for Amazon QuickSight.
  1459  //
  1460  // Creates a template from an existing Amazon QuickSight analysis or template.
  1461  // You can use the resulting template to create a dashboard.
  1462  //
  1463  // A template is an entity in Amazon QuickSight that encapsulates the metadata
  1464  // required to create an analysis and that you can use to create s dashboard.
  1465  // A template adds a layer of abstraction by using placeholders to replace the
  1466  // dataset associated with the analysis. You can use templates to create dashboards
  1467  // by replacing dataset placeholders with datasets that follow the same schema
  1468  // that was used to create the source analysis and template.
  1469  //
  1470  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1471  // with awserr.Error's Code and Message methods to get detailed information about
  1472  // the error.
  1473  //
  1474  // See the AWS API reference guide for Amazon QuickSight's
  1475  // API operation CreateTemplate for usage and error information.
  1476  //
  1477  // Returned Error Types:
  1478  //   * InvalidParameterValueException
  1479  //   One or more parameters has a value that isn't valid.
  1480  //
  1481  //   * AccessDeniedException
  1482  //   You don't have access to this item. The provided credentials couldn't be
  1483  //   validated. You might not be authorized to carry out the request. Make sure
  1484  //   that your account is authorized to use the Amazon QuickSight service, that
  1485  //   your policies have the correct permissions, and that you are using the correct
  1486  //   access keys.
  1487  //
  1488  //   * ResourceExistsException
  1489  //   The resource specified already exists.
  1490  //
  1491  //   * ResourceNotFoundException
  1492  //   One or more resources can't be found.
  1493  //
  1494  //   * ThrottlingException
  1495  //   Access is throttled.
  1496  //
  1497  //   * LimitExceededException
  1498  //   A limit is exceeded.
  1499  //
  1500  //   * UnsupportedUserEditionException
  1501  //   This error indicates that you are calling an operation on an Amazon QuickSight
  1502  //   subscription where the edition doesn't include support for that operation.
  1503  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  1504  //   Not every operation and capability is available in every edition.
  1505  //
  1506  //   * ConflictException
  1507  //   Updating or deleting a resource can cause an inconsistent state.
  1508  //
  1509  //   * InternalFailureException
  1510  //   An internal failure occurred.
  1511  //
  1512  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate
  1513  func (c *QuickSight) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error) {
  1514  	req, out := c.CreateTemplateRequest(input)
  1515  	return out, req.Send()
  1516  }
  1517  
  1518  // CreateTemplateWithContext is the same as CreateTemplate with the addition of
  1519  // the ability to pass a context and additional request options.
  1520  //
  1521  // See CreateTemplate for details on how to use this API operation.
  1522  //
  1523  // The context must be non-nil and will be used for request cancellation. If
  1524  // the context is nil a panic will occur. In the future the SDK may create
  1525  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1526  // for more information on using Contexts.
  1527  func (c *QuickSight) CreateTemplateWithContext(ctx aws.Context, input *CreateTemplateInput, opts ...request.Option) (*CreateTemplateOutput, error) {
  1528  	req, out := c.CreateTemplateRequest(input)
  1529  	req.SetContext(ctx)
  1530  	req.ApplyOptions(opts...)
  1531  	return out, req.Send()
  1532  }
  1533  
  1534  const opCreateTemplateAlias = "CreateTemplateAlias"
  1535  
  1536  // CreateTemplateAliasRequest generates a "aws/request.Request" representing the
  1537  // client's request for the CreateTemplateAlias operation. The "output" return
  1538  // value will be populated with the request's response once the request completes
  1539  // successfully.
  1540  //
  1541  // Use "Send" method on the returned Request to send the API call to the service.
  1542  // the "output" return value is not valid until after Send returns without error.
  1543  //
  1544  // See CreateTemplateAlias for more information on using the CreateTemplateAlias
  1545  // API call, and error handling.
  1546  //
  1547  // This method is useful when you want to inject custom logic or configuration
  1548  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1549  //
  1550  //
  1551  //    // Example sending a request using the CreateTemplateAliasRequest method.
  1552  //    req, resp := client.CreateTemplateAliasRequest(params)
  1553  //
  1554  //    err := req.Send()
  1555  //    if err == nil { // resp is now filled
  1556  //        fmt.Println(resp)
  1557  //    }
  1558  //
  1559  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias
  1560  func (c *QuickSight) CreateTemplateAliasRequest(input *CreateTemplateAliasInput) (req *request.Request, output *CreateTemplateAliasOutput) {
  1561  	op := &request.Operation{
  1562  		Name:       opCreateTemplateAlias,
  1563  		HTTPMethod: "POST",
  1564  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
  1565  	}
  1566  
  1567  	if input == nil {
  1568  		input = &CreateTemplateAliasInput{}
  1569  	}
  1570  
  1571  	output = &CreateTemplateAliasOutput{}
  1572  	req = c.newRequest(op, input, output)
  1573  	return
  1574  }
  1575  
  1576  // CreateTemplateAlias API operation for Amazon QuickSight.
  1577  //
  1578  // Creates a template alias for a template.
  1579  //
  1580  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1581  // with awserr.Error's Code and Message methods to get detailed information about
  1582  // the error.
  1583  //
  1584  // See the AWS API reference guide for Amazon QuickSight's
  1585  // API operation CreateTemplateAlias for usage and error information.
  1586  //
  1587  // Returned Error Types:
  1588  //   * ThrottlingException
  1589  //   Access is throttled.
  1590  //
  1591  //   * ResourceNotFoundException
  1592  //   One or more resources can't be found.
  1593  //
  1594  //   * ConflictException
  1595  //   Updating or deleting a resource can cause an inconsistent state.
  1596  //
  1597  //   * ResourceExistsException
  1598  //   The resource specified already exists.
  1599  //
  1600  //   * LimitExceededException
  1601  //   A limit is exceeded.
  1602  //
  1603  //   * UnsupportedUserEditionException
  1604  //   This error indicates that you are calling an operation on an Amazon QuickSight
  1605  //   subscription where the edition doesn't include support for that operation.
  1606  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  1607  //   Not every operation and capability is available in every edition.
  1608  //
  1609  //   * ConflictException
  1610  //   Updating or deleting a resource can cause an inconsistent state.
  1611  //
  1612  //   * InternalFailureException
  1613  //   An internal failure occurred.
  1614  //
  1615  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias
  1616  func (c *QuickSight) CreateTemplateAlias(input *CreateTemplateAliasInput) (*CreateTemplateAliasOutput, error) {
  1617  	req, out := c.CreateTemplateAliasRequest(input)
  1618  	return out, req.Send()
  1619  }
  1620  
  1621  // CreateTemplateAliasWithContext is the same as CreateTemplateAlias with the addition of
  1622  // the ability to pass a context and additional request options.
  1623  //
  1624  // See CreateTemplateAlias for details on how to use this API operation.
  1625  //
  1626  // The context must be non-nil and will be used for request cancellation. If
  1627  // the context is nil a panic will occur. In the future the SDK may create
  1628  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1629  // for more information on using Contexts.
  1630  func (c *QuickSight) CreateTemplateAliasWithContext(ctx aws.Context, input *CreateTemplateAliasInput, opts ...request.Option) (*CreateTemplateAliasOutput, error) {
  1631  	req, out := c.CreateTemplateAliasRequest(input)
  1632  	req.SetContext(ctx)
  1633  	req.ApplyOptions(opts...)
  1634  	return out, req.Send()
  1635  }
  1636  
  1637  const opCreateTheme = "CreateTheme"
  1638  
  1639  // CreateThemeRequest generates a "aws/request.Request" representing the
  1640  // client's request for the CreateTheme operation. The "output" return
  1641  // value will be populated with the request's response once the request completes
  1642  // successfully.
  1643  //
  1644  // Use "Send" method on the returned Request to send the API call to the service.
  1645  // the "output" return value is not valid until after Send returns without error.
  1646  //
  1647  // See CreateTheme for more information on using the CreateTheme
  1648  // API call, and error handling.
  1649  //
  1650  // This method is useful when you want to inject custom logic or configuration
  1651  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1652  //
  1653  //
  1654  //    // Example sending a request using the CreateThemeRequest method.
  1655  //    req, resp := client.CreateThemeRequest(params)
  1656  //
  1657  //    err := req.Send()
  1658  //    if err == nil { // resp is now filled
  1659  //        fmt.Println(resp)
  1660  //    }
  1661  //
  1662  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme
  1663  func (c *QuickSight) CreateThemeRequest(input *CreateThemeInput) (req *request.Request, output *CreateThemeOutput) {
  1664  	op := &request.Operation{
  1665  		Name:       opCreateTheme,
  1666  		HTTPMethod: "POST",
  1667  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
  1668  	}
  1669  
  1670  	if input == nil {
  1671  		input = &CreateThemeInput{}
  1672  	}
  1673  
  1674  	output = &CreateThemeOutput{}
  1675  	req = c.newRequest(op, input, output)
  1676  	return
  1677  }
  1678  
  1679  // CreateTheme API operation for Amazon QuickSight.
  1680  //
  1681  // Creates a theme.
  1682  //
  1683  // A theme is set of configuration options for color and layout. Themes apply
  1684  // to analyses and dashboards. For more information, see Using Themes in Amazon
  1685  // QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html)
  1686  // in the Amazon QuickSight User Guide.
  1687  //
  1688  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1689  // with awserr.Error's Code and Message methods to get detailed information about
  1690  // the error.
  1691  //
  1692  // See the AWS API reference guide for Amazon QuickSight's
  1693  // API operation CreateTheme for usage and error information.
  1694  //
  1695  // Returned Error Types:
  1696  //   * AccessDeniedException
  1697  //   You don't have access to this item. The provided credentials couldn't be
  1698  //   validated. You might not be authorized to carry out the request. Make sure
  1699  //   that your account is authorized to use the Amazon QuickSight service, that
  1700  //   your policies have the correct permissions, and that you are using the correct
  1701  //   access keys.
  1702  //
  1703  //   * InvalidParameterValueException
  1704  //   One or more parameters has a value that isn't valid.
  1705  //
  1706  //   * ResourceExistsException
  1707  //   The resource specified already exists.
  1708  //
  1709  //   * ResourceNotFoundException
  1710  //   One or more resources can't be found.
  1711  //
  1712  //   * ThrottlingException
  1713  //   Access is throttled.
  1714  //
  1715  //   * UnsupportedUserEditionException
  1716  //   This error indicates that you are calling an operation on an Amazon QuickSight
  1717  //   subscription where the edition doesn't include support for that operation.
  1718  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  1719  //   Not every operation and capability is available in every edition.
  1720  //
  1721  //   * LimitExceededException
  1722  //   A limit is exceeded.
  1723  //
  1724  //   * InternalFailureException
  1725  //   An internal failure occurred.
  1726  //
  1727  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme
  1728  func (c *QuickSight) CreateTheme(input *CreateThemeInput) (*CreateThemeOutput, error) {
  1729  	req, out := c.CreateThemeRequest(input)
  1730  	return out, req.Send()
  1731  }
  1732  
  1733  // CreateThemeWithContext is the same as CreateTheme with the addition of
  1734  // the ability to pass a context and additional request options.
  1735  //
  1736  // See CreateTheme for details on how to use this API operation.
  1737  //
  1738  // The context must be non-nil and will be used for request cancellation. If
  1739  // the context is nil a panic will occur. In the future the SDK may create
  1740  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1741  // for more information on using Contexts.
  1742  func (c *QuickSight) CreateThemeWithContext(ctx aws.Context, input *CreateThemeInput, opts ...request.Option) (*CreateThemeOutput, error) {
  1743  	req, out := c.CreateThemeRequest(input)
  1744  	req.SetContext(ctx)
  1745  	req.ApplyOptions(opts...)
  1746  	return out, req.Send()
  1747  }
  1748  
  1749  const opCreateThemeAlias = "CreateThemeAlias"
  1750  
  1751  // CreateThemeAliasRequest generates a "aws/request.Request" representing the
  1752  // client's request for the CreateThemeAlias operation. The "output" return
  1753  // value will be populated with the request's response once the request completes
  1754  // successfully.
  1755  //
  1756  // Use "Send" method on the returned Request to send the API call to the service.
  1757  // the "output" return value is not valid until after Send returns without error.
  1758  //
  1759  // See CreateThemeAlias for more information on using the CreateThemeAlias
  1760  // API call, and error handling.
  1761  //
  1762  // This method is useful when you want to inject custom logic or configuration
  1763  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1764  //
  1765  //
  1766  //    // Example sending a request using the CreateThemeAliasRequest method.
  1767  //    req, resp := client.CreateThemeAliasRequest(params)
  1768  //
  1769  //    err := req.Send()
  1770  //    if err == nil { // resp is now filled
  1771  //        fmt.Println(resp)
  1772  //    }
  1773  //
  1774  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias
  1775  func (c *QuickSight) CreateThemeAliasRequest(input *CreateThemeAliasInput) (req *request.Request, output *CreateThemeAliasOutput) {
  1776  	op := &request.Operation{
  1777  		Name:       opCreateThemeAlias,
  1778  		HTTPMethod: "POST",
  1779  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
  1780  	}
  1781  
  1782  	if input == nil {
  1783  		input = &CreateThemeAliasInput{}
  1784  	}
  1785  
  1786  	output = &CreateThemeAliasOutput{}
  1787  	req = c.newRequest(op, input, output)
  1788  	return
  1789  }
  1790  
  1791  // CreateThemeAlias API operation for Amazon QuickSight.
  1792  //
  1793  // Creates a theme alias for a theme.
  1794  //
  1795  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1796  // with awserr.Error's Code and Message methods to get detailed information about
  1797  // the error.
  1798  //
  1799  // See the AWS API reference guide for Amazon QuickSight's
  1800  // API operation CreateThemeAlias for usage and error information.
  1801  //
  1802  // Returned Error Types:
  1803  //   * ConflictException
  1804  //   Updating or deleting a resource can cause an inconsistent state.
  1805  //
  1806  //   * InvalidParameterValueException
  1807  //   One or more parameters has a value that isn't valid.
  1808  //
  1809  //   * LimitExceededException
  1810  //   A limit is exceeded.
  1811  //
  1812  //   * ResourceExistsException
  1813  //   The resource specified already exists.
  1814  //
  1815  //   * ResourceNotFoundException
  1816  //   One or more resources can't be found.
  1817  //
  1818  //   * ThrottlingException
  1819  //   Access is throttled.
  1820  //
  1821  //   * UnsupportedUserEditionException
  1822  //   This error indicates that you are calling an operation on an Amazon QuickSight
  1823  //   subscription where the edition doesn't include support for that operation.
  1824  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  1825  //   Not every operation and capability is available in every edition.
  1826  //
  1827  //   * InternalFailureException
  1828  //   An internal failure occurred.
  1829  //
  1830  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias
  1831  func (c *QuickSight) CreateThemeAlias(input *CreateThemeAliasInput) (*CreateThemeAliasOutput, error) {
  1832  	req, out := c.CreateThemeAliasRequest(input)
  1833  	return out, req.Send()
  1834  }
  1835  
  1836  // CreateThemeAliasWithContext is the same as CreateThemeAlias with the addition of
  1837  // the ability to pass a context and additional request options.
  1838  //
  1839  // See CreateThemeAlias for details on how to use this API operation.
  1840  //
  1841  // The context must be non-nil and will be used for request cancellation. If
  1842  // the context is nil a panic will occur. In the future the SDK may create
  1843  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1844  // for more information on using Contexts.
  1845  func (c *QuickSight) CreateThemeAliasWithContext(ctx aws.Context, input *CreateThemeAliasInput, opts ...request.Option) (*CreateThemeAliasOutput, error) {
  1846  	req, out := c.CreateThemeAliasRequest(input)
  1847  	req.SetContext(ctx)
  1848  	req.ApplyOptions(opts...)
  1849  	return out, req.Send()
  1850  }
  1851  
  1852  const opDeleteAccountCustomization = "DeleteAccountCustomization"
  1853  
  1854  // DeleteAccountCustomizationRequest generates a "aws/request.Request" representing the
  1855  // client's request for the DeleteAccountCustomization operation. The "output" return
  1856  // value will be populated with the request's response once the request completes
  1857  // successfully.
  1858  //
  1859  // Use "Send" method on the returned Request to send the API call to the service.
  1860  // the "output" return value is not valid until after Send returns without error.
  1861  //
  1862  // See DeleteAccountCustomization for more information on using the DeleteAccountCustomization
  1863  // API call, and error handling.
  1864  //
  1865  // This method is useful when you want to inject custom logic or configuration
  1866  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1867  //
  1868  //
  1869  //    // Example sending a request using the DeleteAccountCustomizationRequest method.
  1870  //    req, resp := client.DeleteAccountCustomizationRequest(params)
  1871  //
  1872  //    err := req.Send()
  1873  //    if err == nil { // resp is now filled
  1874  //        fmt.Println(resp)
  1875  //    }
  1876  //
  1877  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization
  1878  func (c *QuickSight) DeleteAccountCustomizationRequest(input *DeleteAccountCustomizationInput) (req *request.Request, output *DeleteAccountCustomizationOutput) {
  1879  	op := &request.Operation{
  1880  		Name:       opDeleteAccountCustomization,
  1881  		HTTPMethod: "DELETE",
  1882  		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
  1883  	}
  1884  
  1885  	if input == nil {
  1886  		input = &DeleteAccountCustomizationInput{}
  1887  	}
  1888  
  1889  	output = &DeleteAccountCustomizationOutput{}
  1890  	req = c.newRequest(op, input, output)
  1891  	return
  1892  }
  1893  
  1894  // DeleteAccountCustomization API operation for Amazon QuickSight.
  1895  //
  1896  // Deletes all Amazon QuickSight customizations in this Amazon Web Services
  1897  // Region; for the specified Amazon Web Services account and Amazon QuickSight
  1898  // namespace.
  1899  //
  1900  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1901  // with awserr.Error's Code and Message methods to get detailed information about
  1902  // the error.
  1903  //
  1904  // See the AWS API reference guide for Amazon QuickSight's
  1905  // API operation DeleteAccountCustomization for usage and error information.
  1906  //
  1907  // Returned Error Types:
  1908  //   * AccessDeniedException
  1909  //   You don't have access to this item. The provided credentials couldn't be
  1910  //   validated. You might not be authorized to carry out the request. Make sure
  1911  //   that your account is authorized to use the Amazon QuickSight service, that
  1912  //   your policies have the correct permissions, and that you are using the correct
  1913  //   access keys.
  1914  //
  1915  //   * InvalidParameterValueException
  1916  //   One or more parameters has a value that isn't valid.
  1917  //
  1918  //   * ResourceNotFoundException
  1919  //   One or more resources can't be found.
  1920  //
  1921  //   * ThrottlingException
  1922  //   Access is throttled.
  1923  //
  1924  //   * InternalFailureException
  1925  //   An internal failure occurred.
  1926  //
  1927  //   * ResourceUnavailableException
  1928  //   This resource is currently unavailable.
  1929  //
  1930  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization
  1931  func (c *QuickSight) DeleteAccountCustomization(input *DeleteAccountCustomizationInput) (*DeleteAccountCustomizationOutput, error) {
  1932  	req, out := c.DeleteAccountCustomizationRequest(input)
  1933  	return out, req.Send()
  1934  }
  1935  
  1936  // DeleteAccountCustomizationWithContext is the same as DeleteAccountCustomization with the addition of
  1937  // the ability to pass a context and additional request options.
  1938  //
  1939  // See DeleteAccountCustomization for details on how to use this API operation.
  1940  //
  1941  // The context must be non-nil and will be used for request cancellation. If
  1942  // the context is nil a panic will occur. In the future the SDK may create
  1943  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1944  // for more information on using Contexts.
  1945  func (c *QuickSight) DeleteAccountCustomizationWithContext(ctx aws.Context, input *DeleteAccountCustomizationInput, opts ...request.Option) (*DeleteAccountCustomizationOutput, error) {
  1946  	req, out := c.DeleteAccountCustomizationRequest(input)
  1947  	req.SetContext(ctx)
  1948  	req.ApplyOptions(opts...)
  1949  	return out, req.Send()
  1950  }
  1951  
  1952  const opDeleteAnalysis = "DeleteAnalysis"
  1953  
  1954  // DeleteAnalysisRequest generates a "aws/request.Request" representing the
  1955  // client's request for the DeleteAnalysis operation. The "output" return
  1956  // value will be populated with the request's response once the request completes
  1957  // successfully.
  1958  //
  1959  // Use "Send" method on the returned Request to send the API call to the service.
  1960  // the "output" return value is not valid until after Send returns without error.
  1961  //
  1962  // See DeleteAnalysis for more information on using the DeleteAnalysis
  1963  // API call, and error handling.
  1964  //
  1965  // This method is useful when you want to inject custom logic or configuration
  1966  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1967  //
  1968  //
  1969  //    // Example sending a request using the DeleteAnalysisRequest method.
  1970  //    req, resp := client.DeleteAnalysisRequest(params)
  1971  //
  1972  //    err := req.Send()
  1973  //    if err == nil { // resp is now filled
  1974  //        fmt.Println(resp)
  1975  //    }
  1976  //
  1977  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAnalysis
  1978  func (c *QuickSight) DeleteAnalysisRequest(input *DeleteAnalysisInput) (req *request.Request, output *DeleteAnalysisOutput) {
  1979  	op := &request.Operation{
  1980  		Name:       opDeleteAnalysis,
  1981  		HTTPMethod: "DELETE",
  1982  		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
  1983  	}
  1984  
  1985  	if input == nil {
  1986  		input = &DeleteAnalysisInput{}
  1987  	}
  1988  
  1989  	output = &DeleteAnalysisOutput{}
  1990  	req = c.newRequest(op, input, output)
  1991  	return
  1992  }
  1993  
  1994  // DeleteAnalysis API operation for Amazon QuickSight.
  1995  //
  1996  // Deletes an analysis from Amazon QuickSight. You can optionally include a
  1997  // recovery window during which you can restore the analysis. If you don't specify
  1998  // a recovery window value, the operation defaults to 30 days. Amazon QuickSight
  1999  // attaches a DeletionTime stamp to the response that specifies the end of the
  2000  // recovery window. At the end of the recovery window, Amazon QuickSight deletes
  2001  // the analysis permanently.
  2002  //
  2003  // At any time before recovery window ends, you can use the RestoreAnalysis
  2004  // API operation to remove the DeletionTime stamp and cancel the deletion of
  2005  // the analysis. The analysis remains visible in the API until it's deleted,
  2006  // so you can describe it but you can't make a template from it.
  2007  //
  2008  // An analysis that's scheduled for deletion isn't accessible in the Amazon
  2009  // QuickSight console. To access it in the console, restore it. Deleting an
  2010  // analysis doesn't delete the dashboards that you publish from it.
  2011  //
  2012  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2013  // with awserr.Error's Code and Message methods to get detailed information about
  2014  // the error.
  2015  //
  2016  // See the AWS API reference guide for Amazon QuickSight's
  2017  // API operation DeleteAnalysis for usage and error information.
  2018  //
  2019  // Returned Error Types:
  2020  //   * ThrottlingException
  2021  //   Access is throttled.
  2022  //
  2023  //   * InvalidParameterValueException
  2024  //   One or more parameters has a value that isn't valid.
  2025  //
  2026  //   * ConflictException
  2027  //   Updating or deleting a resource can cause an inconsistent state.
  2028  //
  2029  //   * ResourceNotFoundException
  2030  //   One or more resources can't be found.
  2031  //
  2032  //   * UnsupportedUserEditionException
  2033  //   This error indicates that you are calling an operation on an Amazon QuickSight
  2034  //   subscription where the edition doesn't include support for that operation.
  2035  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  2036  //   Not every operation and capability is available in every edition.
  2037  //
  2038  //   * InternalFailureException
  2039  //   An internal failure occurred.
  2040  //
  2041  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAnalysis
  2042  func (c *QuickSight) DeleteAnalysis(input *DeleteAnalysisInput) (*DeleteAnalysisOutput, error) {
  2043  	req, out := c.DeleteAnalysisRequest(input)
  2044  	return out, req.Send()
  2045  }
  2046  
  2047  // DeleteAnalysisWithContext is the same as DeleteAnalysis with the addition of
  2048  // the ability to pass a context and additional request options.
  2049  //
  2050  // See DeleteAnalysis for details on how to use this API operation.
  2051  //
  2052  // The context must be non-nil and will be used for request cancellation. If
  2053  // the context is nil a panic will occur. In the future the SDK may create
  2054  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2055  // for more information on using Contexts.
  2056  func (c *QuickSight) DeleteAnalysisWithContext(ctx aws.Context, input *DeleteAnalysisInput, opts ...request.Option) (*DeleteAnalysisOutput, error) {
  2057  	req, out := c.DeleteAnalysisRequest(input)
  2058  	req.SetContext(ctx)
  2059  	req.ApplyOptions(opts...)
  2060  	return out, req.Send()
  2061  }
  2062  
  2063  const opDeleteDashboard = "DeleteDashboard"
  2064  
  2065  // DeleteDashboardRequest generates a "aws/request.Request" representing the
  2066  // client's request for the DeleteDashboard operation. The "output" return
  2067  // value will be populated with the request's response once the request completes
  2068  // successfully.
  2069  //
  2070  // Use "Send" method on the returned Request to send the API call to the service.
  2071  // the "output" return value is not valid until after Send returns without error.
  2072  //
  2073  // See DeleteDashboard for more information on using the DeleteDashboard
  2074  // API call, and error handling.
  2075  //
  2076  // This method is useful when you want to inject custom logic or configuration
  2077  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2078  //
  2079  //
  2080  //    // Example sending a request using the DeleteDashboardRequest method.
  2081  //    req, resp := client.DeleteDashboardRequest(params)
  2082  //
  2083  //    err := req.Send()
  2084  //    if err == nil { // resp is now filled
  2085  //        fmt.Println(resp)
  2086  //    }
  2087  //
  2088  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard
  2089  func (c *QuickSight) DeleteDashboardRequest(input *DeleteDashboardInput) (req *request.Request, output *DeleteDashboardOutput) {
  2090  	op := &request.Operation{
  2091  		Name:       opDeleteDashboard,
  2092  		HTTPMethod: "DELETE",
  2093  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
  2094  	}
  2095  
  2096  	if input == nil {
  2097  		input = &DeleteDashboardInput{}
  2098  	}
  2099  
  2100  	output = &DeleteDashboardOutput{}
  2101  	req = c.newRequest(op, input, output)
  2102  	return
  2103  }
  2104  
  2105  // DeleteDashboard API operation for Amazon QuickSight.
  2106  //
  2107  // Deletes a dashboard.
  2108  //
  2109  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2110  // with awserr.Error's Code and Message methods to get detailed information about
  2111  // the error.
  2112  //
  2113  // See the AWS API reference guide for Amazon QuickSight's
  2114  // API operation DeleteDashboard for usage and error information.
  2115  //
  2116  // Returned Error Types:
  2117  //   * ThrottlingException
  2118  //   Access is throttled.
  2119  //
  2120  //   * InvalidParameterValueException
  2121  //   One or more parameters has a value that isn't valid.
  2122  //
  2123  //   * ConflictException
  2124  //   Updating or deleting a resource can cause an inconsistent state.
  2125  //
  2126  //   * ResourceNotFoundException
  2127  //   One or more resources can't be found.
  2128  //
  2129  //   * UnsupportedUserEditionException
  2130  //   This error indicates that you are calling an operation on an Amazon QuickSight
  2131  //   subscription where the edition doesn't include support for that operation.
  2132  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  2133  //   Not every operation and capability is available in every edition.
  2134  //
  2135  //   * InternalFailureException
  2136  //   An internal failure occurred.
  2137  //
  2138  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard
  2139  func (c *QuickSight) DeleteDashboard(input *DeleteDashboardInput) (*DeleteDashboardOutput, error) {
  2140  	req, out := c.DeleteDashboardRequest(input)
  2141  	return out, req.Send()
  2142  }
  2143  
  2144  // DeleteDashboardWithContext is the same as DeleteDashboard with the addition of
  2145  // the ability to pass a context and additional request options.
  2146  //
  2147  // See DeleteDashboard for details on how to use this API operation.
  2148  //
  2149  // The context must be non-nil and will be used for request cancellation. If
  2150  // the context is nil a panic will occur. In the future the SDK may create
  2151  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2152  // for more information on using Contexts.
  2153  func (c *QuickSight) DeleteDashboardWithContext(ctx aws.Context, input *DeleteDashboardInput, opts ...request.Option) (*DeleteDashboardOutput, error) {
  2154  	req, out := c.DeleteDashboardRequest(input)
  2155  	req.SetContext(ctx)
  2156  	req.ApplyOptions(opts...)
  2157  	return out, req.Send()
  2158  }
  2159  
  2160  const opDeleteDataSet = "DeleteDataSet"
  2161  
  2162  // DeleteDataSetRequest generates a "aws/request.Request" representing the
  2163  // client's request for the DeleteDataSet operation. The "output" return
  2164  // value will be populated with the request's response once the request completes
  2165  // successfully.
  2166  //
  2167  // Use "Send" method on the returned Request to send the API call to the service.
  2168  // the "output" return value is not valid until after Send returns without error.
  2169  //
  2170  // See DeleteDataSet for more information on using the DeleteDataSet
  2171  // API call, and error handling.
  2172  //
  2173  // This method is useful when you want to inject custom logic or configuration
  2174  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2175  //
  2176  //
  2177  //    // Example sending a request using the DeleteDataSetRequest method.
  2178  //    req, resp := client.DeleteDataSetRequest(params)
  2179  //
  2180  //    err := req.Send()
  2181  //    if err == nil { // resp is now filled
  2182  //        fmt.Println(resp)
  2183  //    }
  2184  //
  2185  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet
  2186  func (c *QuickSight) DeleteDataSetRequest(input *DeleteDataSetInput) (req *request.Request, output *DeleteDataSetOutput) {
  2187  	op := &request.Operation{
  2188  		Name:       opDeleteDataSet,
  2189  		HTTPMethod: "DELETE",
  2190  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
  2191  	}
  2192  
  2193  	if input == nil {
  2194  		input = &DeleteDataSetInput{}
  2195  	}
  2196  
  2197  	output = &DeleteDataSetOutput{}
  2198  	req = c.newRequest(op, input, output)
  2199  	return
  2200  }
  2201  
  2202  // DeleteDataSet API operation for Amazon QuickSight.
  2203  //
  2204  // Deletes a dataset.
  2205  //
  2206  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2207  // with awserr.Error's Code and Message methods to get detailed information about
  2208  // the error.
  2209  //
  2210  // See the AWS API reference guide for Amazon QuickSight's
  2211  // API operation DeleteDataSet for usage and error information.
  2212  //
  2213  // Returned Error Types:
  2214  //   * AccessDeniedException
  2215  //   You don't have access to this item. The provided credentials couldn't be
  2216  //   validated. You might not be authorized to carry out the request. Make sure
  2217  //   that your account is authorized to use the Amazon QuickSight service, that
  2218  //   your policies have the correct permissions, and that you are using the correct
  2219  //   access keys.
  2220  //
  2221  //   * InvalidParameterValueException
  2222  //   One or more parameters has a value that isn't valid.
  2223  //
  2224  //   * ThrottlingException
  2225  //   Access is throttled.
  2226  //
  2227  //   * ResourceNotFoundException
  2228  //   One or more resources can't be found.
  2229  //
  2230  //   * InternalFailureException
  2231  //   An internal failure occurred.
  2232  //
  2233  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet
  2234  func (c *QuickSight) DeleteDataSet(input *DeleteDataSetInput) (*DeleteDataSetOutput, error) {
  2235  	req, out := c.DeleteDataSetRequest(input)
  2236  	return out, req.Send()
  2237  }
  2238  
  2239  // DeleteDataSetWithContext is the same as DeleteDataSet with the addition of
  2240  // the ability to pass a context and additional request options.
  2241  //
  2242  // See DeleteDataSet for details on how to use this API operation.
  2243  //
  2244  // The context must be non-nil and will be used for request cancellation. If
  2245  // the context is nil a panic will occur. In the future the SDK may create
  2246  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2247  // for more information on using Contexts.
  2248  func (c *QuickSight) DeleteDataSetWithContext(ctx aws.Context, input *DeleteDataSetInput, opts ...request.Option) (*DeleteDataSetOutput, error) {
  2249  	req, out := c.DeleteDataSetRequest(input)
  2250  	req.SetContext(ctx)
  2251  	req.ApplyOptions(opts...)
  2252  	return out, req.Send()
  2253  }
  2254  
  2255  const opDeleteDataSource = "DeleteDataSource"
  2256  
  2257  // DeleteDataSourceRequest generates a "aws/request.Request" representing the
  2258  // client's request for the DeleteDataSource operation. The "output" return
  2259  // value will be populated with the request's response once the request completes
  2260  // successfully.
  2261  //
  2262  // Use "Send" method on the returned Request to send the API call to the service.
  2263  // the "output" return value is not valid until after Send returns without error.
  2264  //
  2265  // See DeleteDataSource for more information on using the DeleteDataSource
  2266  // API call, and error handling.
  2267  //
  2268  // This method is useful when you want to inject custom logic or configuration
  2269  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2270  //
  2271  //
  2272  //    // Example sending a request using the DeleteDataSourceRequest method.
  2273  //    req, resp := client.DeleteDataSourceRequest(params)
  2274  //
  2275  //    err := req.Send()
  2276  //    if err == nil { // resp is now filled
  2277  //        fmt.Println(resp)
  2278  //    }
  2279  //
  2280  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource
  2281  func (c *QuickSight) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) {
  2282  	op := &request.Operation{
  2283  		Name:       opDeleteDataSource,
  2284  		HTTPMethod: "DELETE",
  2285  		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
  2286  	}
  2287  
  2288  	if input == nil {
  2289  		input = &DeleteDataSourceInput{}
  2290  	}
  2291  
  2292  	output = &DeleteDataSourceOutput{}
  2293  	req = c.newRequest(op, input, output)
  2294  	return
  2295  }
  2296  
  2297  // DeleteDataSource API operation for Amazon QuickSight.
  2298  //
  2299  // Deletes the data source permanently. This operation breaks all the datasets
  2300  // that reference the deleted data source.
  2301  //
  2302  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2303  // with awserr.Error's Code and Message methods to get detailed information about
  2304  // the error.
  2305  //
  2306  // See the AWS API reference guide for Amazon QuickSight's
  2307  // API operation DeleteDataSource for usage and error information.
  2308  //
  2309  // Returned Error Types:
  2310  //   * AccessDeniedException
  2311  //   You don't have access to this item. The provided credentials couldn't be
  2312  //   validated. You might not be authorized to carry out the request. Make sure
  2313  //   that your account is authorized to use the Amazon QuickSight service, that
  2314  //   your policies have the correct permissions, and that you are using the correct
  2315  //   access keys.
  2316  //
  2317  //   * InvalidParameterValueException
  2318  //   One or more parameters has a value that isn't valid.
  2319  //
  2320  //   * ThrottlingException
  2321  //   Access is throttled.
  2322  //
  2323  //   * ResourceNotFoundException
  2324  //   One or more resources can't be found.
  2325  //
  2326  //   * InternalFailureException
  2327  //   An internal failure occurred.
  2328  //
  2329  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource
  2330  func (c *QuickSight) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) {
  2331  	req, out := c.DeleteDataSourceRequest(input)
  2332  	return out, req.Send()
  2333  }
  2334  
  2335  // DeleteDataSourceWithContext is the same as DeleteDataSource with the addition of
  2336  // the ability to pass a context and additional request options.
  2337  //
  2338  // See DeleteDataSource for details on how to use this API operation.
  2339  //
  2340  // The context must be non-nil and will be used for request cancellation. If
  2341  // the context is nil a panic will occur. In the future the SDK may create
  2342  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2343  // for more information on using Contexts.
  2344  func (c *QuickSight) DeleteDataSourceWithContext(ctx aws.Context, input *DeleteDataSourceInput, opts ...request.Option) (*DeleteDataSourceOutput, error) {
  2345  	req, out := c.DeleteDataSourceRequest(input)
  2346  	req.SetContext(ctx)
  2347  	req.ApplyOptions(opts...)
  2348  	return out, req.Send()
  2349  }
  2350  
  2351  const opDeleteFolder = "DeleteFolder"
  2352  
  2353  // DeleteFolderRequest generates a "aws/request.Request" representing the
  2354  // client's request for the DeleteFolder operation. The "output" return
  2355  // value will be populated with the request's response once the request completes
  2356  // successfully.
  2357  //
  2358  // Use "Send" method on the returned Request to send the API call to the service.
  2359  // the "output" return value is not valid until after Send returns without error.
  2360  //
  2361  // See DeleteFolder for more information on using the DeleteFolder
  2362  // API call, and error handling.
  2363  //
  2364  // This method is useful when you want to inject custom logic or configuration
  2365  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2366  //
  2367  //
  2368  //    // Example sending a request using the DeleteFolderRequest method.
  2369  //    req, resp := client.DeleteFolderRequest(params)
  2370  //
  2371  //    err := req.Send()
  2372  //    if err == nil { // resp is now filled
  2373  //        fmt.Println(resp)
  2374  //    }
  2375  //
  2376  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolder
  2377  func (c *QuickSight) DeleteFolderRequest(input *DeleteFolderInput) (req *request.Request, output *DeleteFolderOutput) {
  2378  	op := &request.Operation{
  2379  		Name:       opDeleteFolder,
  2380  		HTTPMethod: "DELETE",
  2381  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}",
  2382  	}
  2383  
  2384  	if input == nil {
  2385  		input = &DeleteFolderInput{}
  2386  	}
  2387  
  2388  	output = &DeleteFolderOutput{}
  2389  	req = c.newRequest(op, input, output)
  2390  	return
  2391  }
  2392  
  2393  // DeleteFolder API operation for Amazon QuickSight.
  2394  //
  2395  // Deletes an empty folder.
  2396  //
  2397  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2398  // with awserr.Error's Code and Message methods to get detailed information about
  2399  // the error.
  2400  //
  2401  // See the AWS API reference guide for Amazon QuickSight's
  2402  // API operation DeleteFolder for usage and error information.
  2403  //
  2404  // Returned Error Types:
  2405  //   * InvalidParameterValueException
  2406  //   One or more parameters has a value that isn't valid.
  2407  //
  2408  //   * PreconditionNotMetException
  2409  //   One or more preconditions aren't met.
  2410  //
  2411  //   * AccessDeniedException
  2412  //   You don't have access to this item. The provided credentials couldn't be
  2413  //   validated. You might not be authorized to carry out the request. Make sure
  2414  //   that your account is authorized to use the Amazon QuickSight service, that
  2415  //   your policies have the correct permissions, and that you are using the correct
  2416  //   access keys.
  2417  //
  2418  //   * ResourceNotFoundException
  2419  //   One or more resources can't be found.
  2420  //
  2421  //   * ConflictException
  2422  //   Updating or deleting a resource can cause an inconsistent state.
  2423  //
  2424  //   * ThrottlingException
  2425  //   Access is throttled.
  2426  //
  2427  //   * UnsupportedUserEditionException
  2428  //   This error indicates that you are calling an operation on an Amazon QuickSight
  2429  //   subscription where the edition doesn't include support for that operation.
  2430  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  2431  //   Not every operation and capability is available in every edition.
  2432  //
  2433  //   * InternalFailureException
  2434  //   An internal failure occurred.
  2435  //
  2436  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolder
  2437  func (c *QuickSight) DeleteFolder(input *DeleteFolderInput) (*DeleteFolderOutput, error) {
  2438  	req, out := c.DeleteFolderRequest(input)
  2439  	return out, req.Send()
  2440  }
  2441  
  2442  // DeleteFolderWithContext is the same as DeleteFolder with the addition of
  2443  // the ability to pass a context and additional request options.
  2444  //
  2445  // See DeleteFolder for details on how to use this API operation.
  2446  //
  2447  // The context must be non-nil and will be used for request cancellation. If
  2448  // the context is nil a panic will occur. In the future the SDK may create
  2449  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2450  // for more information on using Contexts.
  2451  func (c *QuickSight) DeleteFolderWithContext(ctx aws.Context, input *DeleteFolderInput, opts ...request.Option) (*DeleteFolderOutput, error) {
  2452  	req, out := c.DeleteFolderRequest(input)
  2453  	req.SetContext(ctx)
  2454  	req.ApplyOptions(opts...)
  2455  	return out, req.Send()
  2456  }
  2457  
  2458  const opDeleteFolderMembership = "DeleteFolderMembership"
  2459  
  2460  // DeleteFolderMembershipRequest generates a "aws/request.Request" representing the
  2461  // client's request for the DeleteFolderMembership operation. The "output" return
  2462  // value will be populated with the request's response once the request completes
  2463  // successfully.
  2464  //
  2465  // Use "Send" method on the returned Request to send the API call to the service.
  2466  // the "output" return value is not valid until after Send returns without error.
  2467  //
  2468  // See DeleteFolderMembership for more information on using the DeleteFolderMembership
  2469  // API call, and error handling.
  2470  //
  2471  // This method is useful when you want to inject custom logic or configuration
  2472  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2473  //
  2474  //
  2475  //    // Example sending a request using the DeleteFolderMembershipRequest method.
  2476  //    req, resp := client.DeleteFolderMembershipRequest(params)
  2477  //
  2478  //    err := req.Send()
  2479  //    if err == nil { // resp is now filled
  2480  //        fmt.Println(resp)
  2481  //    }
  2482  //
  2483  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolderMembership
  2484  func (c *QuickSight) DeleteFolderMembershipRequest(input *DeleteFolderMembershipInput) (req *request.Request, output *DeleteFolderMembershipOutput) {
  2485  	op := &request.Operation{
  2486  		Name:       opDeleteFolderMembership,
  2487  		HTTPMethod: "DELETE",
  2488  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}",
  2489  	}
  2490  
  2491  	if input == nil {
  2492  		input = &DeleteFolderMembershipInput{}
  2493  	}
  2494  
  2495  	output = &DeleteFolderMembershipOutput{}
  2496  	req = c.newRequest(op, input, output)
  2497  	return
  2498  }
  2499  
  2500  // DeleteFolderMembership API operation for Amazon QuickSight.
  2501  //
  2502  // Removes an asset, such as a dashboard, analysis, or dataset, from a folder.
  2503  //
  2504  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2505  // with awserr.Error's Code and Message methods to get detailed information about
  2506  // the error.
  2507  //
  2508  // See the AWS API reference guide for Amazon QuickSight's
  2509  // API operation DeleteFolderMembership for usage and error information.
  2510  //
  2511  // Returned Error Types:
  2512  //   * AccessDeniedException
  2513  //   You don't have access to this item. The provided credentials couldn't be
  2514  //   validated. You might not be authorized to carry out the request. Make sure
  2515  //   that your account is authorized to use the Amazon QuickSight service, that
  2516  //   your policies have the correct permissions, and that you are using the correct
  2517  //   access keys.
  2518  //
  2519  //   * InvalidParameterValueException
  2520  //   One or more parameters has a value that isn't valid.
  2521  //
  2522  //   * ResourceNotFoundException
  2523  //   One or more resources can't be found.
  2524  //
  2525  //   * ThrottlingException
  2526  //   Access is throttled.
  2527  //
  2528  //   * UnsupportedUserEditionException
  2529  //   This error indicates that you are calling an operation on an Amazon QuickSight
  2530  //   subscription where the edition doesn't include support for that operation.
  2531  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  2532  //   Not every operation and capability is available in every edition.
  2533  //
  2534  //   * InternalFailureException
  2535  //   An internal failure occurred.
  2536  //
  2537  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolderMembership
  2538  func (c *QuickSight) DeleteFolderMembership(input *DeleteFolderMembershipInput) (*DeleteFolderMembershipOutput, error) {
  2539  	req, out := c.DeleteFolderMembershipRequest(input)
  2540  	return out, req.Send()
  2541  }
  2542  
  2543  // DeleteFolderMembershipWithContext is the same as DeleteFolderMembership with the addition of
  2544  // the ability to pass a context and additional request options.
  2545  //
  2546  // See DeleteFolderMembership for details on how to use this API operation.
  2547  //
  2548  // The context must be non-nil and will be used for request cancellation. If
  2549  // the context is nil a panic will occur. In the future the SDK may create
  2550  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2551  // for more information on using Contexts.
  2552  func (c *QuickSight) DeleteFolderMembershipWithContext(ctx aws.Context, input *DeleteFolderMembershipInput, opts ...request.Option) (*DeleteFolderMembershipOutput, error) {
  2553  	req, out := c.DeleteFolderMembershipRequest(input)
  2554  	req.SetContext(ctx)
  2555  	req.ApplyOptions(opts...)
  2556  	return out, req.Send()
  2557  }
  2558  
  2559  const opDeleteGroup = "DeleteGroup"
  2560  
  2561  // DeleteGroupRequest generates a "aws/request.Request" representing the
  2562  // client's request for the DeleteGroup operation. The "output" return
  2563  // value will be populated with the request's response once the request completes
  2564  // successfully.
  2565  //
  2566  // Use "Send" method on the returned Request to send the API call to the service.
  2567  // the "output" return value is not valid until after Send returns without error.
  2568  //
  2569  // See DeleteGroup for more information on using the DeleteGroup
  2570  // API call, and error handling.
  2571  //
  2572  // This method is useful when you want to inject custom logic or configuration
  2573  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2574  //
  2575  //
  2576  //    // Example sending a request using the DeleteGroupRequest method.
  2577  //    req, resp := client.DeleteGroupRequest(params)
  2578  //
  2579  //    err := req.Send()
  2580  //    if err == nil { // resp is now filled
  2581  //        fmt.Println(resp)
  2582  //    }
  2583  //
  2584  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup
  2585  func (c *QuickSight) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) {
  2586  	op := &request.Operation{
  2587  		Name:       opDeleteGroup,
  2588  		HTTPMethod: "DELETE",
  2589  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
  2590  	}
  2591  
  2592  	if input == nil {
  2593  		input = &DeleteGroupInput{}
  2594  	}
  2595  
  2596  	output = &DeleteGroupOutput{}
  2597  	req = c.newRequest(op, input, output)
  2598  	return
  2599  }
  2600  
  2601  // DeleteGroup API operation for Amazon QuickSight.
  2602  //
  2603  // Removes a user group from Amazon QuickSight.
  2604  //
  2605  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2606  // with awserr.Error's Code and Message methods to get detailed information about
  2607  // the error.
  2608  //
  2609  // See the AWS API reference guide for Amazon QuickSight's
  2610  // API operation DeleteGroup for usage and error information.
  2611  //
  2612  // Returned Error Types:
  2613  //   * AccessDeniedException
  2614  //   You don't have access to this item. The provided credentials couldn't be
  2615  //   validated. You might not be authorized to carry out the request. Make sure
  2616  //   that your account is authorized to use the Amazon QuickSight service, that
  2617  //   your policies have the correct permissions, and that you are using the correct
  2618  //   access keys.
  2619  //
  2620  //   * InvalidParameterValueException
  2621  //   One or more parameters has a value that isn't valid.
  2622  //
  2623  //   * ResourceNotFoundException
  2624  //   One or more resources can't be found.
  2625  //
  2626  //   * ThrottlingException
  2627  //   Access is throttled.
  2628  //
  2629  //   * PreconditionNotMetException
  2630  //   One or more preconditions aren't met.
  2631  //
  2632  //   * InternalFailureException
  2633  //   An internal failure occurred.
  2634  //
  2635  //   * ResourceUnavailableException
  2636  //   This resource is currently unavailable.
  2637  //
  2638  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup
  2639  func (c *QuickSight) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) {
  2640  	req, out := c.DeleteGroupRequest(input)
  2641  	return out, req.Send()
  2642  }
  2643  
  2644  // DeleteGroupWithContext is the same as DeleteGroup with the addition of
  2645  // the ability to pass a context and additional request options.
  2646  //
  2647  // See DeleteGroup for details on how to use this API operation.
  2648  //
  2649  // The context must be non-nil and will be used for request cancellation. If
  2650  // the context is nil a panic will occur. In the future the SDK may create
  2651  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2652  // for more information on using Contexts.
  2653  func (c *QuickSight) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, opts ...request.Option) (*DeleteGroupOutput, error) {
  2654  	req, out := c.DeleteGroupRequest(input)
  2655  	req.SetContext(ctx)
  2656  	req.ApplyOptions(opts...)
  2657  	return out, req.Send()
  2658  }
  2659  
  2660  const opDeleteGroupMembership = "DeleteGroupMembership"
  2661  
  2662  // DeleteGroupMembershipRequest generates a "aws/request.Request" representing the
  2663  // client's request for the DeleteGroupMembership operation. The "output" return
  2664  // value will be populated with the request's response once the request completes
  2665  // successfully.
  2666  //
  2667  // Use "Send" method on the returned Request to send the API call to the service.
  2668  // the "output" return value is not valid until after Send returns without error.
  2669  //
  2670  // See DeleteGroupMembership for more information on using the DeleteGroupMembership
  2671  // API call, and error handling.
  2672  //
  2673  // This method is useful when you want to inject custom logic or configuration
  2674  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2675  //
  2676  //
  2677  //    // Example sending a request using the DeleteGroupMembershipRequest method.
  2678  //    req, resp := client.DeleteGroupMembershipRequest(params)
  2679  //
  2680  //    err := req.Send()
  2681  //    if err == nil { // resp is now filled
  2682  //        fmt.Println(resp)
  2683  //    }
  2684  //
  2685  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership
  2686  func (c *QuickSight) DeleteGroupMembershipRequest(input *DeleteGroupMembershipInput) (req *request.Request, output *DeleteGroupMembershipOutput) {
  2687  	op := &request.Operation{
  2688  		Name:       opDeleteGroupMembership,
  2689  		HTTPMethod: "DELETE",
  2690  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
  2691  	}
  2692  
  2693  	if input == nil {
  2694  		input = &DeleteGroupMembershipInput{}
  2695  	}
  2696  
  2697  	output = &DeleteGroupMembershipOutput{}
  2698  	req = c.newRequest(op, input, output)
  2699  	return
  2700  }
  2701  
  2702  // DeleteGroupMembership API operation for Amazon QuickSight.
  2703  //
  2704  // Removes a user from a group so that the user is no longer a member of the
  2705  // group.
  2706  //
  2707  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2708  // with awserr.Error's Code and Message methods to get detailed information about
  2709  // the error.
  2710  //
  2711  // See the AWS API reference guide for Amazon QuickSight's
  2712  // API operation DeleteGroupMembership for usage and error information.
  2713  //
  2714  // Returned Error Types:
  2715  //   * AccessDeniedException
  2716  //   You don't have access to this item. The provided credentials couldn't be
  2717  //   validated. You might not be authorized to carry out the request. Make sure
  2718  //   that your account is authorized to use the Amazon QuickSight service, that
  2719  //   your policies have the correct permissions, and that you are using the correct
  2720  //   access keys.
  2721  //
  2722  //   * InvalidParameterValueException
  2723  //   One or more parameters has a value that isn't valid.
  2724  //
  2725  //   * ResourceNotFoundException
  2726  //   One or more resources can't be found.
  2727  //
  2728  //   * ThrottlingException
  2729  //   Access is throttled.
  2730  //
  2731  //   * PreconditionNotMetException
  2732  //   One or more preconditions aren't met.
  2733  //
  2734  //   * InternalFailureException
  2735  //   An internal failure occurred.
  2736  //
  2737  //   * ResourceUnavailableException
  2738  //   This resource is currently unavailable.
  2739  //
  2740  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership
  2741  func (c *QuickSight) DeleteGroupMembership(input *DeleteGroupMembershipInput) (*DeleteGroupMembershipOutput, error) {
  2742  	req, out := c.DeleteGroupMembershipRequest(input)
  2743  	return out, req.Send()
  2744  }
  2745  
  2746  // DeleteGroupMembershipWithContext is the same as DeleteGroupMembership with the addition of
  2747  // the ability to pass a context and additional request options.
  2748  //
  2749  // See DeleteGroupMembership for details on how to use this API operation.
  2750  //
  2751  // The context must be non-nil and will be used for request cancellation. If
  2752  // the context is nil a panic will occur. In the future the SDK may create
  2753  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2754  // for more information on using Contexts.
  2755  func (c *QuickSight) DeleteGroupMembershipWithContext(ctx aws.Context, input *DeleteGroupMembershipInput, opts ...request.Option) (*DeleteGroupMembershipOutput, error) {
  2756  	req, out := c.DeleteGroupMembershipRequest(input)
  2757  	req.SetContext(ctx)
  2758  	req.ApplyOptions(opts...)
  2759  	return out, req.Send()
  2760  }
  2761  
  2762  const opDeleteIAMPolicyAssignment = "DeleteIAMPolicyAssignment"
  2763  
  2764  // DeleteIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
  2765  // client's request for the DeleteIAMPolicyAssignment operation. The "output" return
  2766  // value will be populated with the request's response once the request completes
  2767  // successfully.
  2768  //
  2769  // Use "Send" method on the returned Request to send the API call to the service.
  2770  // the "output" return value is not valid until after Send returns without error.
  2771  //
  2772  // See DeleteIAMPolicyAssignment for more information on using the DeleteIAMPolicyAssignment
  2773  // API call, and error handling.
  2774  //
  2775  // This method is useful when you want to inject custom logic or configuration
  2776  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2777  //
  2778  //
  2779  //    // Example sending a request using the DeleteIAMPolicyAssignmentRequest method.
  2780  //    req, resp := client.DeleteIAMPolicyAssignmentRequest(params)
  2781  //
  2782  //    err := req.Send()
  2783  //    if err == nil { // resp is now filled
  2784  //        fmt.Println(resp)
  2785  //    }
  2786  //
  2787  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment
  2788  func (c *QuickSight) DeleteIAMPolicyAssignmentRequest(input *DeleteIAMPolicyAssignmentInput) (req *request.Request, output *DeleteIAMPolicyAssignmentOutput) {
  2789  	op := &request.Operation{
  2790  		Name:       opDeleteIAMPolicyAssignment,
  2791  		HTTPMethod: "DELETE",
  2792  		HTTPPath:   "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}",
  2793  	}
  2794  
  2795  	if input == nil {
  2796  		input = &DeleteIAMPolicyAssignmentInput{}
  2797  	}
  2798  
  2799  	output = &DeleteIAMPolicyAssignmentOutput{}
  2800  	req = c.newRequest(op, input, output)
  2801  	return
  2802  }
  2803  
  2804  // DeleteIAMPolicyAssignment API operation for Amazon QuickSight.
  2805  //
  2806  // Deletes an existing IAMpolicy assignment.
  2807  //
  2808  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2809  // with awserr.Error's Code and Message methods to get detailed information about
  2810  // the error.
  2811  //
  2812  // See the AWS API reference guide for Amazon QuickSight's
  2813  // API operation DeleteIAMPolicyAssignment for usage and error information.
  2814  //
  2815  // Returned Error Types:
  2816  //   * AccessDeniedException
  2817  //   You don't have access to this item. The provided credentials couldn't be
  2818  //   validated. You might not be authorized to carry out the request. Make sure
  2819  //   that your account is authorized to use the Amazon QuickSight service, that
  2820  //   your policies have the correct permissions, and that you are using the correct
  2821  //   access keys.
  2822  //
  2823  //   * InvalidParameterValueException
  2824  //   One or more parameters has a value that isn't valid.
  2825  //
  2826  //   * ResourceExistsException
  2827  //   The resource specified already exists.
  2828  //
  2829  //   * ResourceNotFoundException
  2830  //   One or more resources can't be found.
  2831  //
  2832  //   * ThrottlingException
  2833  //   Access is throttled.
  2834  //
  2835  //   * ConcurrentUpdatingException
  2836  //   A resource is already in a state that indicates an operation is happening
  2837  //   that must complete before a new update can be applied.
  2838  //
  2839  //   * InternalFailureException
  2840  //   An internal failure occurred.
  2841  //
  2842  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment
  2843  func (c *QuickSight) DeleteIAMPolicyAssignment(input *DeleteIAMPolicyAssignmentInput) (*DeleteIAMPolicyAssignmentOutput, error) {
  2844  	req, out := c.DeleteIAMPolicyAssignmentRequest(input)
  2845  	return out, req.Send()
  2846  }
  2847  
  2848  // DeleteIAMPolicyAssignmentWithContext is the same as DeleteIAMPolicyAssignment with the addition of
  2849  // the ability to pass a context and additional request options.
  2850  //
  2851  // See DeleteIAMPolicyAssignment for details on how to use this API operation.
  2852  //
  2853  // The context must be non-nil and will be used for request cancellation. If
  2854  // the context is nil a panic will occur. In the future the SDK may create
  2855  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2856  // for more information on using Contexts.
  2857  func (c *QuickSight) DeleteIAMPolicyAssignmentWithContext(ctx aws.Context, input *DeleteIAMPolicyAssignmentInput, opts ...request.Option) (*DeleteIAMPolicyAssignmentOutput, error) {
  2858  	req, out := c.DeleteIAMPolicyAssignmentRequest(input)
  2859  	req.SetContext(ctx)
  2860  	req.ApplyOptions(opts...)
  2861  	return out, req.Send()
  2862  }
  2863  
  2864  const opDeleteNamespace = "DeleteNamespace"
  2865  
  2866  // DeleteNamespaceRequest generates a "aws/request.Request" representing the
  2867  // client's request for the DeleteNamespace operation. The "output" return
  2868  // value will be populated with the request's response once the request completes
  2869  // successfully.
  2870  //
  2871  // Use "Send" method on the returned Request to send the API call to the service.
  2872  // the "output" return value is not valid until after Send returns without error.
  2873  //
  2874  // See DeleteNamespace for more information on using the DeleteNamespace
  2875  // API call, and error handling.
  2876  //
  2877  // This method is useful when you want to inject custom logic or configuration
  2878  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2879  //
  2880  //
  2881  //    // Example sending a request using the DeleteNamespaceRequest method.
  2882  //    req, resp := client.DeleteNamespaceRequest(params)
  2883  //
  2884  //    err := req.Send()
  2885  //    if err == nil { // resp is now filled
  2886  //        fmt.Println(resp)
  2887  //    }
  2888  //
  2889  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace
  2890  func (c *QuickSight) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput) {
  2891  	op := &request.Operation{
  2892  		Name:       opDeleteNamespace,
  2893  		HTTPMethod: "DELETE",
  2894  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}",
  2895  	}
  2896  
  2897  	if input == nil {
  2898  		input = &DeleteNamespaceInput{}
  2899  	}
  2900  
  2901  	output = &DeleteNamespaceOutput{}
  2902  	req = c.newRequest(op, input, output)
  2903  	return
  2904  }
  2905  
  2906  // DeleteNamespace API operation for Amazon QuickSight.
  2907  //
  2908  // Deletes a namespace and the users and groups that are associated with the
  2909  // namespace. This is an asynchronous process. Assets including dashboards,
  2910  // analyses, datasets and data sources are not deleted. To delete these assets,
  2911  // you use the API operations for the relevant asset.
  2912  //
  2913  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2914  // with awserr.Error's Code and Message methods to get detailed information about
  2915  // the error.
  2916  //
  2917  // See the AWS API reference guide for Amazon QuickSight's
  2918  // API operation DeleteNamespace for usage and error information.
  2919  //
  2920  // Returned Error Types:
  2921  //   * AccessDeniedException
  2922  //   You don't have access to this item. The provided credentials couldn't be
  2923  //   validated. You might not be authorized to carry out the request. Make sure
  2924  //   that your account is authorized to use the Amazon QuickSight service, that
  2925  //   your policies have the correct permissions, and that you are using the correct
  2926  //   access keys.
  2927  //
  2928  //   * InvalidParameterValueException
  2929  //   One or more parameters has a value that isn't valid.
  2930  //
  2931  //   * ResourceNotFoundException
  2932  //   One or more resources can't be found.
  2933  //
  2934  //   * ThrottlingException
  2935  //   Access is throttled.
  2936  //
  2937  //   * PreconditionNotMetException
  2938  //   One or more preconditions aren't met.
  2939  //
  2940  //   * InternalFailureException
  2941  //   An internal failure occurred.
  2942  //
  2943  //   * ResourceUnavailableException
  2944  //   This resource is currently unavailable.
  2945  //
  2946  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace
  2947  func (c *QuickSight) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error) {
  2948  	req, out := c.DeleteNamespaceRequest(input)
  2949  	return out, req.Send()
  2950  }
  2951  
  2952  // DeleteNamespaceWithContext is the same as DeleteNamespace with the addition of
  2953  // the ability to pass a context and additional request options.
  2954  //
  2955  // See DeleteNamespace for details on how to use this API operation.
  2956  //
  2957  // The context must be non-nil and will be used for request cancellation. If
  2958  // the context is nil a panic will occur. In the future the SDK may create
  2959  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2960  // for more information on using Contexts.
  2961  func (c *QuickSight) DeleteNamespaceWithContext(ctx aws.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error) {
  2962  	req, out := c.DeleteNamespaceRequest(input)
  2963  	req.SetContext(ctx)
  2964  	req.ApplyOptions(opts...)
  2965  	return out, req.Send()
  2966  }
  2967  
  2968  const opDeleteTemplate = "DeleteTemplate"
  2969  
  2970  // DeleteTemplateRequest generates a "aws/request.Request" representing the
  2971  // client's request for the DeleteTemplate operation. The "output" return
  2972  // value will be populated with the request's response once the request completes
  2973  // successfully.
  2974  //
  2975  // Use "Send" method on the returned Request to send the API call to the service.
  2976  // the "output" return value is not valid until after Send returns without error.
  2977  //
  2978  // See DeleteTemplate for more information on using the DeleteTemplate
  2979  // API call, and error handling.
  2980  //
  2981  // This method is useful when you want to inject custom logic or configuration
  2982  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2983  //
  2984  //
  2985  //    // Example sending a request using the DeleteTemplateRequest method.
  2986  //    req, resp := client.DeleteTemplateRequest(params)
  2987  //
  2988  //    err := req.Send()
  2989  //    if err == nil { // resp is now filled
  2990  //        fmt.Println(resp)
  2991  //    }
  2992  //
  2993  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate
  2994  func (c *QuickSight) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) {
  2995  	op := &request.Operation{
  2996  		Name:       opDeleteTemplate,
  2997  		HTTPMethod: "DELETE",
  2998  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
  2999  	}
  3000  
  3001  	if input == nil {
  3002  		input = &DeleteTemplateInput{}
  3003  	}
  3004  
  3005  	output = &DeleteTemplateOutput{}
  3006  	req = c.newRequest(op, input, output)
  3007  	return
  3008  }
  3009  
  3010  // DeleteTemplate API operation for Amazon QuickSight.
  3011  //
  3012  // Deletes a template.
  3013  //
  3014  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3015  // with awserr.Error's Code and Message methods to get detailed information about
  3016  // the error.
  3017  //
  3018  // See the AWS API reference guide for Amazon QuickSight's
  3019  // API operation DeleteTemplate for usage and error information.
  3020  //
  3021  // Returned Error Types:
  3022  //   * InvalidParameterValueException
  3023  //   One or more parameters has a value that isn't valid.
  3024  //
  3025  //   * ResourceNotFoundException
  3026  //   One or more resources can't be found.
  3027  //
  3028  //   * ThrottlingException
  3029  //   Access is throttled.
  3030  //
  3031  //   * ConflictException
  3032  //   Updating or deleting a resource can cause an inconsistent state.
  3033  //
  3034  //   * LimitExceededException
  3035  //   A limit is exceeded.
  3036  //
  3037  //   * UnsupportedUserEditionException
  3038  //   This error indicates that you are calling an operation on an Amazon QuickSight
  3039  //   subscription where the edition doesn't include support for that operation.
  3040  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  3041  //   Not every operation and capability is available in every edition.
  3042  //
  3043  //   * InternalFailureException
  3044  //   An internal failure occurred.
  3045  //
  3046  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate
  3047  func (c *QuickSight) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error) {
  3048  	req, out := c.DeleteTemplateRequest(input)
  3049  	return out, req.Send()
  3050  }
  3051  
  3052  // DeleteTemplateWithContext is the same as DeleteTemplate with the addition of
  3053  // the ability to pass a context and additional request options.
  3054  //
  3055  // See DeleteTemplate for details on how to use this API operation.
  3056  //
  3057  // The context must be non-nil and will be used for request cancellation. If
  3058  // the context is nil a panic will occur. In the future the SDK may create
  3059  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3060  // for more information on using Contexts.
  3061  func (c *QuickSight) DeleteTemplateWithContext(ctx aws.Context, input *DeleteTemplateInput, opts ...request.Option) (*DeleteTemplateOutput, error) {
  3062  	req, out := c.DeleteTemplateRequest(input)
  3063  	req.SetContext(ctx)
  3064  	req.ApplyOptions(opts...)
  3065  	return out, req.Send()
  3066  }
  3067  
  3068  const opDeleteTemplateAlias = "DeleteTemplateAlias"
  3069  
  3070  // DeleteTemplateAliasRequest generates a "aws/request.Request" representing the
  3071  // client's request for the DeleteTemplateAlias operation. The "output" return
  3072  // value will be populated with the request's response once the request completes
  3073  // successfully.
  3074  //
  3075  // Use "Send" method on the returned Request to send the API call to the service.
  3076  // the "output" return value is not valid until after Send returns without error.
  3077  //
  3078  // See DeleteTemplateAlias for more information on using the DeleteTemplateAlias
  3079  // API call, and error handling.
  3080  //
  3081  // This method is useful when you want to inject custom logic or configuration
  3082  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3083  //
  3084  //
  3085  //    // Example sending a request using the DeleteTemplateAliasRequest method.
  3086  //    req, resp := client.DeleteTemplateAliasRequest(params)
  3087  //
  3088  //    err := req.Send()
  3089  //    if err == nil { // resp is now filled
  3090  //        fmt.Println(resp)
  3091  //    }
  3092  //
  3093  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias
  3094  func (c *QuickSight) DeleteTemplateAliasRequest(input *DeleteTemplateAliasInput) (req *request.Request, output *DeleteTemplateAliasOutput) {
  3095  	op := &request.Operation{
  3096  		Name:       opDeleteTemplateAlias,
  3097  		HTTPMethod: "DELETE",
  3098  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
  3099  	}
  3100  
  3101  	if input == nil {
  3102  		input = &DeleteTemplateAliasInput{}
  3103  	}
  3104  
  3105  	output = &DeleteTemplateAliasOutput{}
  3106  	req = c.newRequest(op, input, output)
  3107  	return
  3108  }
  3109  
  3110  // DeleteTemplateAlias API operation for Amazon QuickSight.
  3111  //
  3112  // Deletes the item that the specified template alias points to. If you provide
  3113  // a specific alias, you delete the version of the template that the alias points
  3114  // to.
  3115  //
  3116  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3117  // with awserr.Error's Code and Message methods to get detailed information about
  3118  // the error.
  3119  //
  3120  // See the AWS API reference guide for Amazon QuickSight's
  3121  // API operation DeleteTemplateAlias for usage and error information.
  3122  //
  3123  // Returned Error Types:
  3124  //   * ThrottlingException
  3125  //   Access is throttled.
  3126  //
  3127  //   * ResourceNotFoundException
  3128  //   One or more resources can't be found.
  3129  //
  3130  //   * UnsupportedUserEditionException
  3131  //   This error indicates that you are calling an operation on an Amazon QuickSight
  3132  //   subscription where the edition doesn't include support for that operation.
  3133  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  3134  //   Not every operation and capability is available in every edition.
  3135  //
  3136  //   * ConflictException
  3137  //   Updating or deleting a resource can cause an inconsistent state.
  3138  //
  3139  //   * InternalFailureException
  3140  //   An internal failure occurred.
  3141  //
  3142  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias
  3143  func (c *QuickSight) DeleteTemplateAlias(input *DeleteTemplateAliasInput) (*DeleteTemplateAliasOutput, error) {
  3144  	req, out := c.DeleteTemplateAliasRequest(input)
  3145  	return out, req.Send()
  3146  }
  3147  
  3148  // DeleteTemplateAliasWithContext is the same as DeleteTemplateAlias with the addition of
  3149  // the ability to pass a context and additional request options.
  3150  //
  3151  // See DeleteTemplateAlias for details on how to use this API operation.
  3152  //
  3153  // The context must be non-nil and will be used for request cancellation. If
  3154  // the context is nil a panic will occur. In the future the SDK may create
  3155  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3156  // for more information on using Contexts.
  3157  func (c *QuickSight) DeleteTemplateAliasWithContext(ctx aws.Context, input *DeleteTemplateAliasInput, opts ...request.Option) (*DeleteTemplateAliasOutput, error) {
  3158  	req, out := c.DeleteTemplateAliasRequest(input)
  3159  	req.SetContext(ctx)
  3160  	req.ApplyOptions(opts...)
  3161  	return out, req.Send()
  3162  }
  3163  
  3164  const opDeleteTheme = "DeleteTheme"
  3165  
  3166  // DeleteThemeRequest generates a "aws/request.Request" representing the
  3167  // client's request for the DeleteTheme operation. The "output" return
  3168  // value will be populated with the request's response once the request completes
  3169  // successfully.
  3170  //
  3171  // Use "Send" method on the returned Request to send the API call to the service.
  3172  // the "output" return value is not valid until after Send returns without error.
  3173  //
  3174  // See DeleteTheme for more information on using the DeleteTheme
  3175  // API call, and error handling.
  3176  //
  3177  // This method is useful when you want to inject custom logic or configuration
  3178  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3179  //
  3180  //
  3181  //    // Example sending a request using the DeleteThemeRequest method.
  3182  //    req, resp := client.DeleteThemeRequest(params)
  3183  //
  3184  //    err := req.Send()
  3185  //    if err == nil { // resp is now filled
  3186  //        fmt.Println(resp)
  3187  //    }
  3188  //
  3189  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme
  3190  func (c *QuickSight) DeleteThemeRequest(input *DeleteThemeInput) (req *request.Request, output *DeleteThemeOutput) {
  3191  	op := &request.Operation{
  3192  		Name:       opDeleteTheme,
  3193  		HTTPMethod: "DELETE",
  3194  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
  3195  	}
  3196  
  3197  	if input == nil {
  3198  		input = &DeleteThemeInput{}
  3199  	}
  3200  
  3201  	output = &DeleteThemeOutput{}
  3202  	req = c.newRequest(op, input, output)
  3203  	return
  3204  }
  3205  
  3206  // DeleteTheme API operation for Amazon QuickSight.
  3207  //
  3208  // Deletes a theme.
  3209  //
  3210  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3211  // with awserr.Error's Code and Message methods to get detailed information about
  3212  // the error.
  3213  //
  3214  // See the AWS API reference guide for Amazon QuickSight's
  3215  // API operation DeleteTheme for usage and error information.
  3216  //
  3217  // Returned Error Types:
  3218  //   * AccessDeniedException
  3219  //   You don't have access to this item. The provided credentials couldn't be
  3220  //   validated. You might not be authorized to carry out the request. Make sure
  3221  //   that your account is authorized to use the Amazon QuickSight service, that
  3222  //   your policies have the correct permissions, and that you are using the correct
  3223  //   access keys.
  3224  //
  3225  //   * ConflictException
  3226  //   Updating or deleting a resource can cause an inconsistent state.
  3227  //
  3228  //   * InvalidParameterValueException
  3229  //   One or more parameters has a value that isn't valid.
  3230  //
  3231  //   * ResourceNotFoundException
  3232  //   One or more resources can't be found.
  3233  //
  3234  //   * ThrottlingException
  3235  //   Access is throttled.
  3236  //
  3237  //   * UnsupportedUserEditionException
  3238  //   This error indicates that you are calling an operation on an Amazon QuickSight
  3239  //   subscription where the edition doesn't include support for that operation.
  3240  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  3241  //   Not every operation and capability is available in every edition.
  3242  //
  3243  //   * InternalFailureException
  3244  //   An internal failure occurred.
  3245  //
  3246  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme
  3247  func (c *QuickSight) DeleteTheme(input *DeleteThemeInput) (*DeleteThemeOutput, error) {
  3248  	req, out := c.DeleteThemeRequest(input)
  3249  	return out, req.Send()
  3250  }
  3251  
  3252  // DeleteThemeWithContext is the same as DeleteTheme with the addition of
  3253  // the ability to pass a context and additional request options.
  3254  //
  3255  // See DeleteTheme for details on how to use this API operation.
  3256  //
  3257  // The context must be non-nil and will be used for request cancellation. If
  3258  // the context is nil a panic will occur. In the future the SDK may create
  3259  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3260  // for more information on using Contexts.
  3261  func (c *QuickSight) DeleteThemeWithContext(ctx aws.Context, input *DeleteThemeInput, opts ...request.Option) (*DeleteThemeOutput, error) {
  3262  	req, out := c.DeleteThemeRequest(input)
  3263  	req.SetContext(ctx)
  3264  	req.ApplyOptions(opts...)
  3265  	return out, req.Send()
  3266  }
  3267  
  3268  const opDeleteThemeAlias = "DeleteThemeAlias"
  3269  
  3270  // DeleteThemeAliasRequest generates a "aws/request.Request" representing the
  3271  // client's request for the DeleteThemeAlias operation. The "output" return
  3272  // value will be populated with the request's response once the request completes
  3273  // successfully.
  3274  //
  3275  // Use "Send" method on the returned Request to send the API call to the service.
  3276  // the "output" return value is not valid until after Send returns without error.
  3277  //
  3278  // See DeleteThemeAlias for more information on using the DeleteThemeAlias
  3279  // API call, and error handling.
  3280  //
  3281  // This method is useful when you want to inject custom logic or configuration
  3282  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3283  //
  3284  //
  3285  //    // Example sending a request using the DeleteThemeAliasRequest method.
  3286  //    req, resp := client.DeleteThemeAliasRequest(params)
  3287  //
  3288  //    err := req.Send()
  3289  //    if err == nil { // resp is now filled
  3290  //        fmt.Println(resp)
  3291  //    }
  3292  //
  3293  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias
  3294  func (c *QuickSight) DeleteThemeAliasRequest(input *DeleteThemeAliasInput) (req *request.Request, output *DeleteThemeAliasOutput) {
  3295  	op := &request.Operation{
  3296  		Name:       opDeleteThemeAlias,
  3297  		HTTPMethod: "DELETE",
  3298  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
  3299  	}
  3300  
  3301  	if input == nil {
  3302  		input = &DeleteThemeAliasInput{}
  3303  	}
  3304  
  3305  	output = &DeleteThemeAliasOutput{}
  3306  	req = c.newRequest(op, input, output)
  3307  	return
  3308  }
  3309  
  3310  // DeleteThemeAlias API operation for Amazon QuickSight.
  3311  //
  3312  // Deletes the version of the theme that the specified theme alias points to.
  3313  // If you provide a specific alias, you delete the version of the theme that
  3314  // the alias points to.
  3315  //
  3316  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3317  // with awserr.Error's Code and Message methods to get detailed information about
  3318  // the error.
  3319  //
  3320  // See the AWS API reference guide for Amazon QuickSight's
  3321  // API operation DeleteThemeAlias for usage and error information.
  3322  //
  3323  // Returned Error Types:
  3324  //   * ConflictException
  3325  //   Updating or deleting a resource can cause an inconsistent state.
  3326  //
  3327  //   * InvalidParameterValueException
  3328  //   One or more parameters has a value that isn't valid.
  3329  //
  3330  //   * ResourceNotFoundException
  3331  //   One or more resources can't be found.
  3332  //
  3333  //   * ThrottlingException
  3334  //   Access is throttled.
  3335  //
  3336  //   * UnsupportedUserEditionException
  3337  //   This error indicates that you are calling an operation on an Amazon QuickSight
  3338  //   subscription where the edition doesn't include support for that operation.
  3339  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  3340  //   Not every operation and capability is available in every edition.
  3341  //
  3342  //   * InternalFailureException
  3343  //   An internal failure occurred.
  3344  //
  3345  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias
  3346  func (c *QuickSight) DeleteThemeAlias(input *DeleteThemeAliasInput) (*DeleteThemeAliasOutput, error) {
  3347  	req, out := c.DeleteThemeAliasRequest(input)
  3348  	return out, req.Send()
  3349  }
  3350  
  3351  // DeleteThemeAliasWithContext is the same as DeleteThemeAlias with the addition of
  3352  // the ability to pass a context and additional request options.
  3353  //
  3354  // See DeleteThemeAlias for details on how to use this API operation.
  3355  //
  3356  // The context must be non-nil and will be used for request cancellation. If
  3357  // the context is nil a panic will occur. In the future the SDK may create
  3358  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3359  // for more information on using Contexts.
  3360  func (c *QuickSight) DeleteThemeAliasWithContext(ctx aws.Context, input *DeleteThemeAliasInput, opts ...request.Option) (*DeleteThemeAliasOutput, error) {
  3361  	req, out := c.DeleteThemeAliasRequest(input)
  3362  	req.SetContext(ctx)
  3363  	req.ApplyOptions(opts...)
  3364  	return out, req.Send()
  3365  }
  3366  
  3367  const opDeleteUser = "DeleteUser"
  3368  
  3369  // DeleteUserRequest generates a "aws/request.Request" representing the
  3370  // client's request for the DeleteUser operation. The "output" return
  3371  // value will be populated with the request's response once the request completes
  3372  // successfully.
  3373  //
  3374  // Use "Send" method on the returned Request to send the API call to the service.
  3375  // the "output" return value is not valid until after Send returns without error.
  3376  //
  3377  // See DeleteUser for more information on using the DeleteUser
  3378  // API call, and error handling.
  3379  //
  3380  // This method is useful when you want to inject custom logic or configuration
  3381  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3382  //
  3383  //
  3384  //    // Example sending a request using the DeleteUserRequest method.
  3385  //    req, resp := client.DeleteUserRequest(params)
  3386  //
  3387  //    err := req.Send()
  3388  //    if err == nil { // resp is now filled
  3389  //        fmt.Println(resp)
  3390  //    }
  3391  //
  3392  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser
  3393  func (c *QuickSight) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) {
  3394  	op := &request.Operation{
  3395  		Name:       opDeleteUser,
  3396  		HTTPMethod: "DELETE",
  3397  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
  3398  	}
  3399  
  3400  	if input == nil {
  3401  		input = &DeleteUserInput{}
  3402  	}
  3403  
  3404  	output = &DeleteUserOutput{}
  3405  	req = c.newRequest(op, input, output)
  3406  	return
  3407  }
  3408  
  3409  // DeleteUser API operation for Amazon QuickSight.
  3410  //
  3411  // Deletes the Amazon QuickSight user that is associated with the identity of
  3412  // the Identity and Access Management (IAM) user or role that's making the call.
  3413  // The IAM user isn't deleted as a result of this call.
  3414  //
  3415  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3416  // with awserr.Error's Code and Message methods to get detailed information about
  3417  // the error.
  3418  //
  3419  // See the AWS API reference guide for Amazon QuickSight's
  3420  // API operation DeleteUser for usage and error information.
  3421  //
  3422  // Returned Error Types:
  3423  //   * AccessDeniedException
  3424  //   You don't have access to this item. The provided credentials couldn't be
  3425  //   validated. You might not be authorized to carry out the request. Make sure
  3426  //   that your account is authorized to use the Amazon QuickSight service, that
  3427  //   your policies have the correct permissions, and that you are using the correct
  3428  //   access keys.
  3429  //
  3430  //   * InvalidParameterValueException
  3431  //   One or more parameters has a value that isn't valid.
  3432  //
  3433  //   * ResourceNotFoundException
  3434  //   One or more resources can't be found.
  3435  //
  3436  //   * ThrottlingException
  3437  //   Access is throttled.
  3438  //
  3439  //   * PreconditionNotMetException
  3440  //   One or more preconditions aren't met.
  3441  //
  3442  //   * InternalFailureException
  3443  //   An internal failure occurred.
  3444  //
  3445  //   * ResourceUnavailableException
  3446  //   This resource is currently unavailable.
  3447  //
  3448  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser
  3449  func (c *QuickSight) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) {
  3450  	req, out := c.DeleteUserRequest(input)
  3451  	return out, req.Send()
  3452  }
  3453  
  3454  // DeleteUserWithContext is the same as DeleteUser with the addition of
  3455  // the ability to pass a context and additional request options.
  3456  //
  3457  // See DeleteUser for details on how to use this API operation.
  3458  //
  3459  // The context must be non-nil and will be used for request cancellation. If
  3460  // the context is nil a panic will occur. In the future the SDK may create
  3461  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3462  // for more information on using Contexts.
  3463  func (c *QuickSight) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error) {
  3464  	req, out := c.DeleteUserRequest(input)
  3465  	req.SetContext(ctx)
  3466  	req.ApplyOptions(opts...)
  3467  	return out, req.Send()
  3468  }
  3469  
  3470  const opDeleteUserByPrincipalId = "DeleteUserByPrincipalId"
  3471  
  3472  // DeleteUserByPrincipalIdRequest generates a "aws/request.Request" representing the
  3473  // client's request for the DeleteUserByPrincipalId operation. The "output" return
  3474  // value will be populated with the request's response once the request completes
  3475  // successfully.
  3476  //
  3477  // Use "Send" method on the returned Request to send the API call to the service.
  3478  // the "output" return value is not valid until after Send returns without error.
  3479  //
  3480  // See DeleteUserByPrincipalId for more information on using the DeleteUserByPrincipalId
  3481  // API call, and error handling.
  3482  //
  3483  // This method is useful when you want to inject custom logic or configuration
  3484  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3485  //
  3486  //
  3487  //    // Example sending a request using the DeleteUserByPrincipalIdRequest method.
  3488  //    req, resp := client.DeleteUserByPrincipalIdRequest(params)
  3489  //
  3490  //    err := req.Send()
  3491  //    if err == nil { // resp is now filled
  3492  //        fmt.Println(resp)
  3493  //    }
  3494  //
  3495  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId
  3496  func (c *QuickSight) DeleteUserByPrincipalIdRequest(input *DeleteUserByPrincipalIdInput) (req *request.Request, output *DeleteUserByPrincipalIdOutput) {
  3497  	op := &request.Operation{
  3498  		Name:       opDeleteUserByPrincipalId,
  3499  		HTTPMethod: "DELETE",
  3500  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}",
  3501  	}
  3502  
  3503  	if input == nil {
  3504  		input = &DeleteUserByPrincipalIdInput{}
  3505  	}
  3506  
  3507  	output = &DeleteUserByPrincipalIdOutput{}
  3508  	req = c.newRequest(op, input, output)
  3509  	return
  3510  }
  3511  
  3512  // DeleteUserByPrincipalId API operation for Amazon QuickSight.
  3513  //
  3514  // Deletes a user identified by its principal ID.
  3515  //
  3516  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3517  // with awserr.Error's Code and Message methods to get detailed information about
  3518  // the error.
  3519  //
  3520  // See the AWS API reference guide for Amazon QuickSight's
  3521  // API operation DeleteUserByPrincipalId for usage and error information.
  3522  //
  3523  // Returned Error Types:
  3524  //   * AccessDeniedException
  3525  //   You don't have access to this item. The provided credentials couldn't be
  3526  //   validated. You might not be authorized to carry out the request. Make sure
  3527  //   that your account is authorized to use the Amazon QuickSight service, that
  3528  //   your policies have the correct permissions, and that you are using the correct
  3529  //   access keys.
  3530  //
  3531  //   * InvalidParameterValueException
  3532  //   One or more parameters has a value that isn't valid.
  3533  //
  3534  //   * ResourceNotFoundException
  3535  //   One or more resources can't be found.
  3536  //
  3537  //   * ThrottlingException
  3538  //   Access is throttled.
  3539  //
  3540  //   * PreconditionNotMetException
  3541  //   One or more preconditions aren't met.
  3542  //
  3543  //   * InternalFailureException
  3544  //   An internal failure occurred.
  3545  //
  3546  //   * ResourceUnavailableException
  3547  //   This resource is currently unavailable.
  3548  //
  3549  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId
  3550  func (c *QuickSight) DeleteUserByPrincipalId(input *DeleteUserByPrincipalIdInput) (*DeleteUserByPrincipalIdOutput, error) {
  3551  	req, out := c.DeleteUserByPrincipalIdRequest(input)
  3552  	return out, req.Send()
  3553  }
  3554  
  3555  // DeleteUserByPrincipalIdWithContext is the same as DeleteUserByPrincipalId with the addition of
  3556  // the ability to pass a context and additional request options.
  3557  //
  3558  // See DeleteUserByPrincipalId for details on how to use this API operation.
  3559  //
  3560  // The context must be non-nil and will be used for request cancellation. If
  3561  // the context is nil a panic will occur. In the future the SDK may create
  3562  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3563  // for more information on using Contexts.
  3564  func (c *QuickSight) DeleteUserByPrincipalIdWithContext(ctx aws.Context, input *DeleteUserByPrincipalIdInput, opts ...request.Option) (*DeleteUserByPrincipalIdOutput, error) {
  3565  	req, out := c.DeleteUserByPrincipalIdRequest(input)
  3566  	req.SetContext(ctx)
  3567  	req.ApplyOptions(opts...)
  3568  	return out, req.Send()
  3569  }
  3570  
  3571  const opDescribeAccountCustomization = "DescribeAccountCustomization"
  3572  
  3573  // DescribeAccountCustomizationRequest generates a "aws/request.Request" representing the
  3574  // client's request for the DescribeAccountCustomization operation. The "output" return
  3575  // value will be populated with the request's response once the request completes
  3576  // successfully.
  3577  //
  3578  // Use "Send" method on the returned Request to send the API call to the service.
  3579  // the "output" return value is not valid until after Send returns without error.
  3580  //
  3581  // See DescribeAccountCustomization for more information on using the DescribeAccountCustomization
  3582  // API call, and error handling.
  3583  //
  3584  // This method is useful when you want to inject custom logic or configuration
  3585  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3586  //
  3587  //
  3588  //    // Example sending a request using the DescribeAccountCustomizationRequest method.
  3589  //    req, resp := client.DescribeAccountCustomizationRequest(params)
  3590  //
  3591  //    err := req.Send()
  3592  //    if err == nil { // resp is now filled
  3593  //        fmt.Println(resp)
  3594  //    }
  3595  //
  3596  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization
  3597  func (c *QuickSight) DescribeAccountCustomizationRequest(input *DescribeAccountCustomizationInput) (req *request.Request, output *DescribeAccountCustomizationOutput) {
  3598  	op := &request.Operation{
  3599  		Name:       opDescribeAccountCustomization,
  3600  		HTTPMethod: "GET",
  3601  		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
  3602  	}
  3603  
  3604  	if input == nil {
  3605  		input = &DescribeAccountCustomizationInput{}
  3606  	}
  3607  
  3608  	output = &DescribeAccountCustomizationOutput{}
  3609  	req = c.newRequest(op, input, output)
  3610  	return
  3611  }
  3612  
  3613  // DescribeAccountCustomization API operation for Amazon QuickSight.
  3614  //
  3615  // Describes the customizations associated with the provided Amazon Web Services
  3616  // account and Amazon Amazon QuickSight namespace in an Amazon Web Services
  3617  // Region;. The Amazon QuickSight console evaluates which customizations to
  3618  // apply by running this API operation with the Resolved flag included.
  3619  //
  3620  // To determine what customizations display when you run this command, it can
  3621  // help to visualize the relationship of the entities involved.
  3622  //
  3623  //    * Amazon Web Services account - The Amazon Web Services account exists
  3624  //    at the top of the hierarchy. It has the potential to use all of the Amazon
  3625  //    Web Services Regions; and AWS Services. When you subscribe to Amazon QuickSight,
  3626  //    you choose one Amazon Web Services Region; to use as your home Region.
  3627  //    That's where your free SPICE capacity is located. You can use Amazon QuickSight
  3628  //    in any supported Amazon Web Services Region;.
  3629  //
  3630  //    * Amazon Web Services Region; - In each Amazon Web Services Region; where
  3631  //    you sign in to Amazon QuickSight at least once, Amazon QuickSight acts
  3632  //    as a separate instance of the same service. If you have a user directory,
  3633  //    it resides in us-east-1, which is the US East (N. Virginia). Generally
  3634  //    speaking, these users have access to Amazon QuickSight in any Amazon Web
  3635  //    Services Region;, unless they are constrained to a namespace. To run the
  3636  //    command in a different Amazon Web Services Region;, you change your Region
  3637  //    settings. If you're using the AWS CLI, you can use one of the following
  3638  //    options: Use command line options (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-options.html).
  3639  //    Use named profiles (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html).
  3640  //    Run aws configure to change your default Amazon Web Services Region;.
  3641  //    Use Enter to key the same settings for your keys. For more information,
  3642  //    see Configuring the AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html).
  3643  //
  3644  //    * Namespace - A Amazon QuickSight namespace is a partition that contains
  3645  //    users and assets (data sources, datasets, dashboards, and so on). To access
  3646  //    assets that are in a specific namespace, users and groups must also be
  3647  //    part of the same namespace. People who share a namespace are completely
  3648  //    isolated from users and assets in other namespaces, even if they are in
  3649  //    the same Amazon Web Services account and Amazon Web Services Region;.
  3650  //
  3651  //    * Applied customizations - Within an Amazon Web Services Region;, a set
  3652  //    of Amazon QuickSight customizations can apply to an Amazon Web Services
  3653  //    account or to a namespace. Settings that you apply to a namespace override
  3654  //    settings that you apply to an Amazon Web Services account. All settings
  3655  //    are isolated to a single Amazon Web Services Region;. To apply them in
  3656  //    other Amazon Web Services Regions;, run the CreateAccountCustomization
  3657  //    command in each Amazon Web Services Region; where you want to apply the
  3658  //    same customizations.
  3659  //
  3660  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3661  // with awserr.Error's Code and Message methods to get detailed information about
  3662  // the error.
  3663  //
  3664  // See the AWS API reference guide for Amazon QuickSight's
  3665  // API operation DescribeAccountCustomization for usage and error information.
  3666  //
  3667  // Returned Error Types:
  3668  //   * AccessDeniedException
  3669  //   You don't have access to this item. The provided credentials couldn't be
  3670  //   validated. You might not be authorized to carry out the request. Make sure
  3671  //   that your account is authorized to use the Amazon QuickSight service, that
  3672  //   your policies have the correct permissions, and that you are using the correct
  3673  //   access keys.
  3674  //
  3675  //   * InvalidParameterValueException
  3676  //   One or more parameters has a value that isn't valid.
  3677  //
  3678  //   * ResourceNotFoundException
  3679  //   One or more resources can't be found.
  3680  //
  3681  //   * ThrottlingException
  3682  //   Access is throttled.
  3683  //
  3684  //   * InternalFailureException
  3685  //   An internal failure occurred.
  3686  //
  3687  //   * ResourceUnavailableException
  3688  //   This resource is currently unavailable.
  3689  //
  3690  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization
  3691  func (c *QuickSight) DescribeAccountCustomization(input *DescribeAccountCustomizationInput) (*DescribeAccountCustomizationOutput, error) {
  3692  	req, out := c.DescribeAccountCustomizationRequest(input)
  3693  	return out, req.Send()
  3694  }
  3695  
  3696  // DescribeAccountCustomizationWithContext is the same as DescribeAccountCustomization with the addition of
  3697  // the ability to pass a context and additional request options.
  3698  //
  3699  // See DescribeAccountCustomization for details on how to use this API operation.
  3700  //
  3701  // The context must be non-nil and will be used for request cancellation. If
  3702  // the context is nil a panic will occur. In the future the SDK may create
  3703  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3704  // for more information on using Contexts.
  3705  func (c *QuickSight) DescribeAccountCustomizationWithContext(ctx aws.Context, input *DescribeAccountCustomizationInput, opts ...request.Option) (*DescribeAccountCustomizationOutput, error) {
  3706  	req, out := c.DescribeAccountCustomizationRequest(input)
  3707  	req.SetContext(ctx)
  3708  	req.ApplyOptions(opts...)
  3709  	return out, req.Send()
  3710  }
  3711  
  3712  const opDescribeAccountSettings = "DescribeAccountSettings"
  3713  
  3714  // DescribeAccountSettingsRequest generates a "aws/request.Request" representing the
  3715  // client's request for the DescribeAccountSettings operation. The "output" return
  3716  // value will be populated with the request's response once the request completes
  3717  // successfully.
  3718  //
  3719  // Use "Send" method on the returned Request to send the API call to the service.
  3720  // the "output" return value is not valid until after Send returns without error.
  3721  //
  3722  // See DescribeAccountSettings for more information on using the DescribeAccountSettings
  3723  // API call, and error handling.
  3724  //
  3725  // This method is useful when you want to inject custom logic or configuration
  3726  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3727  //
  3728  //
  3729  //    // Example sending a request using the DescribeAccountSettingsRequest method.
  3730  //    req, resp := client.DescribeAccountSettingsRequest(params)
  3731  //
  3732  //    err := req.Send()
  3733  //    if err == nil { // resp is now filled
  3734  //        fmt.Println(resp)
  3735  //    }
  3736  //
  3737  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings
  3738  func (c *QuickSight) DescribeAccountSettingsRequest(input *DescribeAccountSettingsInput) (req *request.Request, output *DescribeAccountSettingsOutput) {
  3739  	op := &request.Operation{
  3740  		Name:       opDescribeAccountSettings,
  3741  		HTTPMethod: "GET",
  3742  		HTTPPath:   "/accounts/{AwsAccountId}/settings",
  3743  	}
  3744  
  3745  	if input == nil {
  3746  		input = &DescribeAccountSettingsInput{}
  3747  	}
  3748  
  3749  	output = &DescribeAccountSettingsOutput{}
  3750  	req = c.newRequest(op, input, output)
  3751  	return
  3752  }
  3753  
  3754  // DescribeAccountSettings API operation for Amazon QuickSight.
  3755  //
  3756  // Describes the settings that were used when your Amazon QuickSight subscription
  3757  // was first created in this Amazon Web Services account.
  3758  //
  3759  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3760  // with awserr.Error's Code and Message methods to get detailed information about
  3761  // the error.
  3762  //
  3763  // See the AWS API reference guide for Amazon QuickSight's
  3764  // API operation DescribeAccountSettings for usage and error information.
  3765  //
  3766  // Returned Error Types:
  3767  //   * AccessDeniedException
  3768  //   You don't have access to this item. The provided credentials couldn't be
  3769  //   validated. You might not be authorized to carry out the request. Make sure
  3770  //   that your account is authorized to use the Amazon QuickSight service, that
  3771  //   your policies have the correct permissions, and that you are using the correct
  3772  //   access keys.
  3773  //
  3774  //   * InvalidParameterValueException
  3775  //   One or more parameters has a value that isn't valid.
  3776  //
  3777  //   * ResourceNotFoundException
  3778  //   One or more resources can't be found.
  3779  //
  3780  //   * ThrottlingException
  3781  //   Access is throttled.
  3782  //
  3783  //   * InternalFailureException
  3784  //   An internal failure occurred.
  3785  //
  3786  //   * ResourceUnavailableException
  3787  //   This resource is currently unavailable.
  3788  //
  3789  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings
  3790  func (c *QuickSight) DescribeAccountSettings(input *DescribeAccountSettingsInput) (*DescribeAccountSettingsOutput, error) {
  3791  	req, out := c.DescribeAccountSettingsRequest(input)
  3792  	return out, req.Send()
  3793  }
  3794  
  3795  // DescribeAccountSettingsWithContext is the same as DescribeAccountSettings with the addition of
  3796  // the ability to pass a context and additional request options.
  3797  //
  3798  // See DescribeAccountSettings for details on how to use this API operation.
  3799  //
  3800  // The context must be non-nil and will be used for request cancellation. If
  3801  // the context is nil a panic will occur. In the future the SDK may create
  3802  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3803  // for more information on using Contexts.
  3804  func (c *QuickSight) DescribeAccountSettingsWithContext(ctx aws.Context, input *DescribeAccountSettingsInput, opts ...request.Option) (*DescribeAccountSettingsOutput, error) {
  3805  	req, out := c.DescribeAccountSettingsRequest(input)
  3806  	req.SetContext(ctx)
  3807  	req.ApplyOptions(opts...)
  3808  	return out, req.Send()
  3809  }
  3810  
  3811  const opDescribeAnalysis = "DescribeAnalysis"
  3812  
  3813  // DescribeAnalysisRequest generates a "aws/request.Request" representing the
  3814  // client's request for the DescribeAnalysis operation. The "output" return
  3815  // value will be populated with the request's response once the request completes
  3816  // successfully.
  3817  //
  3818  // Use "Send" method on the returned Request to send the API call to the service.
  3819  // the "output" return value is not valid until after Send returns without error.
  3820  //
  3821  // See DescribeAnalysis for more information on using the DescribeAnalysis
  3822  // API call, and error handling.
  3823  //
  3824  // This method is useful when you want to inject custom logic or configuration
  3825  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3826  //
  3827  //
  3828  //    // Example sending a request using the DescribeAnalysisRequest method.
  3829  //    req, resp := client.DescribeAnalysisRequest(params)
  3830  //
  3831  //    err := req.Send()
  3832  //    if err == nil { // resp is now filled
  3833  //        fmt.Println(resp)
  3834  //    }
  3835  //
  3836  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysis
  3837  func (c *QuickSight) DescribeAnalysisRequest(input *DescribeAnalysisInput) (req *request.Request, output *DescribeAnalysisOutput) {
  3838  	op := &request.Operation{
  3839  		Name:       opDescribeAnalysis,
  3840  		HTTPMethod: "GET",
  3841  		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
  3842  	}
  3843  
  3844  	if input == nil {
  3845  		input = &DescribeAnalysisInput{}
  3846  	}
  3847  
  3848  	output = &DescribeAnalysisOutput{}
  3849  	req = c.newRequest(op, input, output)
  3850  	return
  3851  }
  3852  
  3853  // DescribeAnalysis API operation for Amazon QuickSight.
  3854  //
  3855  // Provides a summary of the metadata for an analysis.
  3856  //
  3857  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3858  // with awserr.Error's Code and Message methods to get detailed information about
  3859  // the error.
  3860  //
  3861  // See the AWS API reference guide for Amazon QuickSight's
  3862  // API operation DescribeAnalysis for usage and error information.
  3863  //
  3864  // Returned Error Types:
  3865  //   * InvalidParameterValueException
  3866  //   One or more parameters has a value that isn't valid.
  3867  //
  3868  //   * ResourceNotFoundException
  3869  //   One or more resources can't be found.
  3870  //
  3871  //   * AccessDeniedException
  3872  //   You don't have access to this item. The provided credentials couldn't be
  3873  //   validated. You might not be authorized to carry out the request. Make sure
  3874  //   that your account is authorized to use the Amazon QuickSight service, that
  3875  //   your policies have the correct permissions, and that you are using the correct
  3876  //   access keys.
  3877  //
  3878  //   * ThrottlingException
  3879  //   Access is throttled.
  3880  //
  3881  //   * UnsupportedUserEditionException
  3882  //   This error indicates that you are calling an operation on an Amazon QuickSight
  3883  //   subscription where the edition doesn't include support for that operation.
  3884  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  3885  //   Not every operation and capability is available in every edition.
  3886  //
  3887  //   * InternalFailureException
  3888  //   An internal failure occurred.
  3889  //
  3890  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysis
  3891  func (c *QuickSight) DescribeAnalysis(input *DescribeAnalysisInput) (*DescribeAnalysisOutput, error) {
  3892  	req, out := c.DescribeAnalysisRequest(input)
  3893  	return out, req.Send()
  3894  }
  3895  
  3896  // DescribeAnalysisWithContext is the same as DescribeAnalysis with the addition of
  3897  // the ability to pass a context and additional request options.
  3898  //
  3899  // See DescribeAnalysis for details on how to use this API operation.
  3900  //
  3901  // The context must be non-nil and will be used for request cancellation. If
  3902  // the context is nil a panic will occur. In the future the SDK may create
  3903  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3904  // for more information on using Contexts.
  3905  func (c *QuickSight) DescribeAnalysisWithContext(ctx aws.Context, input *DescribeAnalysisInput, opts ...request.Option) (*DescribeAnalysisOutput, error) {
  3906  	req, out := c.DescribeAnalysisRequest(input)
  3907  	req.SetContext(ctx)
  3908  	req.ApplyOptions(opts...)
  3909  	return out, req.Send()
  3910  }
  3911  
  3912  const opDescribeAnalysisPermissions = "DescribeAnalysisPermissions"
  3913  
  3914  // DescribeAnalysisPermissionsRequest generates a "aws/request.Request" representing the
  3915  // client's request for the DescribeAnalysisPermissions operation. The "output" return
  3916  // value will be populated with the request's response once the request completes
  3917  // successfully.
  3918  //
  3919  // Use "Send" method on the returned Request to send the API call to the service.
  3920  // the "output" return value is not valid until after Send returns without error.
  3921  //
  3922  // See DescribeAnalysisPermissions for more information on using the DescribeAnalysisPermissions
  3923  // API call, and error handling.
  3924  //
  3925  // This method is useful when you want to inject custom logic or configuration
  3926  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  3927  //
  3928  //
  3929  //    // Example sending a request using the DescribeAnalysisPermissionsRequest method.
  3930  //    req, resp := client.DescribeAnalysisPermissionsRequest(params)
  3931  //
  3932  //    err := req.Send()
  3933  //    if err == nil { // resp is now filled
  3934  //        fmt.Println(resp)
  3935  //    }
  3936  //
  3937  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisPermissions
  3938  func (c *QuickSight) DescribeAnalysisPermissionsRequest(input *DescribeAnalysisPermissionsInput) (req *request.Request, output *DescribeAnalysisPermissionsOutput) {
  3939  	op := &request.Operation{
  3940  		Name:       opDescribeAnalysisPermissions,
  3941  		HTTPMethod: "GET",
  3942  		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions",
  3943  	}
  3944  
  3945  	if input == nil {
  3946  		input = &DescribeAnalysisPermissionsInput{}
  3947  	}
  3948  
  3949  	output = &DescribeAnalysisPermissionsOutput{}
  3950  	req = c.newRequest(op, input, output)
  3951  	return
  3952  }
  3953  
  3954  // DescribeAnalysisPermissions API operation for Amazon QuickSight.
  3955  //
  3956  // Provides the read and write permissions for an analysis.
  3957  //
  3958  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  3959  // with awserr.Error's Code and Message methods to get detailed information about
  3960  // the error.
  3961  //
  3962  // See the AWS API reference guide for Amazon QuickSight's
  3963  // API operation DescribeAnalysisPermissions for usage and error information.
  3964  //
  3965  // Returned Error Types:
  3966  //   * InvalidParameterValueException
  3967  //   One or more parameters has a value that isn't valid.
  3968  //
  3969  //   * ResourceNotFoundException
  3970  //   One or more resources can't be found.
  3971  //
  3972  //   * ThrottlingException
  3973  //   Access is throttled.
  3974  //
  3975  //   * UnsupportedUserEditionException
  3976  //   This error indicates that you are calling an operation on an Amazon QuickSight
  3977  //   subscription where the edition doesn't include support for that operation.
  3978  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  3979  //   Not every operation and capability is available in every edition.
  3980  //
  3981  //   * InternalFailureException
  3982  //   An internal failure occurred.
  3983  //
  3984  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisPermissions
  3985  func (c *QuickSight) DescribeAnalysisPermissions(input *DescribeAnalysisPermissionsInput) (*DescribeAnalysisPermissionsOutput, error) {
  3986  	req, out := c.DescribeAnalysisPermissionsRequest(input)
  3987  	return out, req.Send()
  3988  }
  3989  
  3990  // DescribeAnalysisPermissionsWithContext is the same as DescribeAnalysisPermissions with the addition of
  3991  // the ability to pass a context and additional request options.
  3992  //
  3993  // See DescribeAnalysisPermissions for details on how to use this API operation.
  3994  //
  3995  // The context must be non-nil and will be used for request cancellation. If
  3996  // the context is nil a panic will occur. In the future the SDK may create
  3997  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  3998  // for more information on using Contexts.
  3999  func (c *QuickSight) DescribeAnalysisPermissionsWithContext(ctx aws.Context, input *DescribeAnalysisPermissionsInput, opts ...request.Option) (*DescribeAnalysisPermissionsOutput, error) {
  4000  	req, out := c.DescribeAnalysisPermissionsRequest(input)
  4001  	req.SetContext(ctx)
  4002  	req.ApplyOptions(opts...)
  4003  	return out, req.Send()
  4004  }
  4005  
  4006  const opDescribeDashboard = "DescribeDashboard"
  4007  
  4008  // DescribeDashboardRequest generates a "aws/request.Request" representing the
  4009  // client's request for the DescribeDashboard operation. The "output" return
  4010  // value will be populated with the request's response once the request completes
  4011  // successfully.
  4012  //
  4013  // Use "Send" method on the returned Request to send the API call to the service.
  4014  // the "output" return value is not valid until after Send returns without error.
  4015  //
  4016  // See DescribeDashboard for more information on using the DescribeDashboard
  4017  // API call, and error handling.
  4018  //
  4019  // This method is useful when you want to inject custom logic or configuration
  4020  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4021  //
  4022  //
  4023  //    // Example sending a request using the DescribeDashboardRequest method.
  4024  //    req, resp := client.DescribeDashboardRequest(params)
  4025  //
  4026  //    err := req.Send()
  4027  //    if err == nil { // resp is now filled
  4028  //        fmt.Println(resp)
  4029  //    }
  4030  //
  4031  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard
  4032  func (c *QuickSight) DescribeDashboardRequest(input *DescribeDashboardInput) (req *request.Request, output *DescribeDashboardOutput) {
  4033  	op := &request.Operation{
  4034  		Name:       opDescribeDashboard,
  4035  		HTTPMethod: "GET",
  4036  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
  4037  	}
  4038  
  4039  	if input == nil {
  4040  		input = &DescribeDashboardInput{}
  4041  	}
  4042  
  4043  	output = &DescribeDashboardOutput{}
  4044  	req = c.newRequest(op, input, output)
  4045  	return
  4046  }
  4047  
  4048  // DescribeDashboard API operation for Amazon QuickSight.
  4049  //
  4050  // Provides a summary for a dashboard.
  4051  //
  4052  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4053  // with awserr.Error's Code and Message methods to get detailed information about
  4054  // the error.
  4055  //
  4056  // See the AWS API reference guide for Amazon QuickSight's
  4057  // API operation DescribeDashboard for usage and error information.
  4058  //
  4059  // Returned Error Types:
  4060  //   * InvalidParameterValueException
  4061  //   One or more parameters has a value that isn't valid.
  4062  //
  4063  //   * ResourceNotFoundException
  4064  //   One or more resources can't be found.
  4065  //
  4066  //   * AccessDeniedException
  4067  //   You don't have access to this item. The provided credentials couldn't be
  4068  //   validated. You might not be authorized to carry out the request. Make sure
  4069  //   that your account is authorized to use the Amazon QuickSight service, that
  4070  //   your policies have the correct permissions, and that you are using the correct
  4071  //   access keys.
  4072  //
  4073  //   * ThrottlingException
  4074  //   Access is throttled.
  4075  //
  4076  //   * UnsupportedUserEditionException
  4077  //   This error indicates that you are calling an operation on an Amazon QuickSight
  4078  //   subscription where the edition doesn't include support for that operation.
  4079  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  4080  //   Not every operation and capability is available in every edition.
  4081  //
  4082  //   * InternalFailureException
  4083  //   An internal failure occurred.
  4084  //
  4085  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard
  4086  func (c *QuickSight) DescribeDashboard(input *DescribeDashboardInput) (*DescribeDashboardOutput, error) {
  4087  	req, out := c.DescribeDashboardRequest(input)
  4088  	return out, req.Send()
  4089  }
  4090  
  4091  // DescribeDashboardWithContext is the same as DescribeDashboard with the addition of
  4092  // the ability to pass a context and additional request options.
  4093  //
  4094  // See DescribeDashboard for details on how to use this API operation.
  4095  //
  4096  // The context must be non-nil and will be used for request cancellation. If
  4097  // the context is nil a panic will occur. In the future the SDK may create
  4098  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4099  // for more information on using Contexts.
  4100  func (c *QuickSight) DescribeDashboardWithContext(ctx aws.Context, input *DescribeDashboardInput, opts ...request.Option) (*DescribeDashboardOutput, error) {
  4101  	req, out := c.DescribeDashboardRequest(input)
  4102  	req.SetContext(ctx)
  4103  	req.ApplyOptions(opts...)
  4104  	return out, req.Send()
  4105  }
  4106  
  4107  const opDescribeDashboardPermissions = "DescribeDashboardPermissions"
  4108  
  4109  // DescribeDashboardPermissionsRequest generates a "aws/request.Request" representing the
  4110  // client's request for the DescribeDashboardPermissions operation. The "output" return
  4111  // value will be populated with the request's response once the request completes
  4112  // successfully.
  4113  //
  4114  // Use "Send" method on the returned Request to send the API call to the service.
  4115  // the "output" return value is not valid until after Send returns without error.
  4116  //
  4117  // See DescribeDashboardPermissions for more information on using the DescribeDashboardPermissions
  4118  // API call, and error handling.
  4119  //
  4120  // This method is useful when you want to inject custom logic or configuration
  4121  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4122  //
  4123  //
  4124  //    // Example sending a request using the DescribeDashboardPermissionsRequest method.
  4125  //    req, resp := client.DescribeDashboardPermissionsRequest(params)
  4126  //
  4127  //    err := req.Send()
  4128  //    if err == nil { // resp is now filled
  4129  //        fmt.Println(resp)
  4130  //    }
  4131  //
  4132  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions
  4133  func (c *QuickSight) DescribeDashboardPermissionsRequest(input *DescribeDashboardPermissionsInput) (req *request.Request, output *DescribeDashboardPermissionsOutput) {
  4134  	op := &request.Operation{
  4135  		Name:       opDescribeDashboardPermissions,
  4136  		HTTPMethod: "GET",
  4137  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
  4138  	}
  4139  
  4140  	if input == nil {
  4141  		input = &DescribeDashboardPermissionsInput{}
  4142  	}
  4143  
  4144  	output = &DescribeDashboardPermissionsOutput{}
  4145  	req = c.newRequest(op, input, output)
  4146  	return
  4147  }
  4148  
  4149  // DescribeDashboardPermissions API operation for Amazon QuickSight.
  4150  //
  4151  // Describes read and write permissions for a dashboard.
  4152  //
  4153  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4154  // with awserr.Error's Code and Message methods to get detailed information about
  4155  // the error.
  4156  //
  4157  // See the AWS API reference guide for Amazon QuickSight's
  4158  // API operation DescribeDashboardPermissions for usage and error information.
  4159  //
  4160  // Returned Error Types:
  4161  //   * InvalidParameterValueException
  4162  //   One or more parameters has a value that isn't valid.
  4163  //
  4164  //   * ResourceNotFoundException
  4165  //   One or more resources can't be found.
  4166  //
  4167  //   * ThrottlingException
  4168  //   Access is throttled.
  4169  //
  4170  //   * UnsupportedUserEditionException
  4171  //   This error indicates that you are calling an operation on an Amazon QuickSight
  4172  //   subscription where the edition doesn't include support for that operation.
  4173  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  4174  //   Not every operation and capability is available in every edition.
  4175  //
  4176  //   * InternalFailureException
  4177  //   An internal failure occurred.
  4178  //
  4179  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions
  4180  func (c *QuickSight) DescribeDashboardPermissions(input *DescribeDashboardPermissionsInput) (*DescribeDashboardPermissionsOutput, error) {
  4181  	req, out := c.DescribeDashboardPermissionsRequest(input)
  4182  	return out, req.Send()
  4183  }
  4184  
  4185  // DescribeDashboardPermissionsWithContext is the same as DescribeDashboardPermissions with the addition of
  4186  // the ability to pass a context and additional request options.
  4187  //
  4188  // See DescribeDashboardPermissions for details on how to use this API operation.
  4189  //
  4190  // The context must be non-nil and will be used for request cancellation. If
  4191  // the context is nil a panic will occur. In the future the SDK may create
  4192  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4193  // for more information on using Contexts.
  4194  func (c *QuickSight) DescribeDashboardPermissionsWithContext(ctx aws.Context, input *DescribeDashboardPermissionsInput, opts ...request.Option) (*DescribeDashboardPermissionsOutput, error) {
  4195  	req, out := c.DescribeDashboardPermissionsRequest(input)
  4196  	req.SetContext(ctx)
  4197  	req.ApplyOptions(opts...)
  4198  	return out, req.Send()
  4199  }
  4200  
  4201  const opDescribeDataSet = "DescribeDataSet"
  4202  
  4203  // DescribeDataSetRequest generates a "aws/request.Request" representing the
  4204  // client's request for the DescribeDataSet operation. The "output" return
  4205  // value will be populated with the request's response once the request completes
  4206  // successfully.
  4207  //
  4208  // Use "Send" method on the returned Request to send the API call to the service.
  4209  // the "output" return value is not valid until after Send returns without error.
  4210  //
  4211  // See DescribeDataSet for more information on using the DescribeDataSet
  4212  // API call, and error handling.
  4213  //
  4214  // This method is useful when you want to inject custom logic or configuration
  4215  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4216  //
  4217  //
  4218  //    // Example sending a request using the DescribeDataSetRequest method.
  4219  //    req, resp := client.DescribeDataSetRequest(params)
  4220  //
  4221  //    err := req.Send()
  4222  //    if err == nil { // resp is now filled
  4223  //        fmt.Println(resp)
  4224  //    }
  4225  //
  4226  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet
  4227  func (c *QuickSight) DescribeDataSetRequest(input *DescribeDataSetInput) (req *request.Request, output *DescribeDataSetOutput) {
  4228  	op := &request.Operation{
  4229  		Name:       opDescribeDataSet,
  4230  		HTTPMethod: "GET",
  4231  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
  4232  	}
  4233  
  4234  	if input == nil {
  4235  		input = &DescribeDataSetInput{}
  4236  	}
  4237  
  4238  	output = &DescribeDataSetOutput{}
  4239  	req = c.newRequest(op, input, output)
  4240  	return
  4241  }
  4242  
  4243  // DescribeDataSet API operation for Amazon QuickSight.
  4244  //
  4245  // Describes a dataset.
  4246  //
  4247  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4248  // with awserr.Error's Code and Message methods to get detailed information about
  4249  // the error.
  4250  //
  4251  // See the AWS API reference guide for Amazon QuickSight's
  4252  // API operation DescribeDataSet for usage and error information.
  4253  //
  4254  // Returned Error Types:
  4255  //   * AccessDeniedException
  4256  //   You don't have access to this item. The provided credentials couldn't be
  4257  //   validated. You might not be authorized to carry out the request. Make sure
  4258  //   that your account is authorized to use the Amazon QuickSight service, that
  4259  //   your policies have the correct permissions, and that you are using the correct
  4260  //   access keys.
  4261  //
  4262  //   * InvalidParameterValueException
  4263  //   One or more parameters has a value that isn't valid.
  4264  //
  4265  //   * ThrottlingException
  4266  //   Access is throttled.
  4267  //
  4268  //   * ResourceNotFoundException
  4269  //   One or more resources can't be found.
  4270  //
  4271  //   * InternalFailureException
  4272  //   An internal failure occurred.
  4273  //
  4274  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet
  4275  func (c *QuickSight) DescribeDataSet(input *DescribeDataSetInput) (*DescribeDataSetOutput, error) {
  4276  	req, out := c.DescribeDataSetRequest(input)
  4277  	return out, req.Send()
  4278  }
  4279  
  4280  // DescribeDataSetWithContext is the same as DescribeDataSet with the addition of
  4281  // the ability to pass a context and additional request options.
  4282  //
  4283  // See DescribeDataSet for details on how to use this API operation.
  4284  //
  4285  // The context must be non-nil and will be used for request cancellation. If
  4286  // the context is nil a panic will occur. In the future the SDK may create
  4287  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4288  // for more information on using Contexts.
  4289  func (c *QuickSight) DescribeDataSetWithContext(ctx aws.Context, input *DescribeDataSetInput, opts ...request.Option) (*DescribeDataSetOutput, error) {
  4290  	req, out := c.DescribeDataSetRequest(input)
  4291  	req.SetContext(ctx)
  4292  	req.ApplyOptions(opts...)
  4293  	return out, req.Send()
  4294  }
  4295  
  4296  const opDescribeDataSetPermissions = "DescribeDataSetPermissions"
  4297  
  4298  // DescribeDataSetPermissionsRequest generates a "aws/request.Request" representing the
  4299  // client's request for the DescribeDataSetPermissions operation. The "output" return
  4300  // value will be populated with the request's response once the request completes
  4301  // successfully.
  4302  //
  4303  // Use "Send" method on the returned Request to send the API call to the service.
  4304  // the "output" return value is not valid until after Send returns without error.
  4305  //
  4306  // See DescribeDataSetPermissions for more information on using the DescribeDataSetPermissions
  4307  // API call, and error handling.
  4308  //
  4309  // This method is useful when you want to inject custom logic or configuration
  4310  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4311  //
  4312  //
  4313  //    // Example sending a request using the DescribeDataSetPermissionsRequest method.
  4314  //    req, resp := client.DescribeDataSetPermissionsRequest(params)
  4315  //
  4316  //    err := req.Send()
  4317  //    if err == nil { // resp is now filled
  4318  //        fmt.Println(resp)
  4319  //    }
  4320  //
  4321  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions
  4322  func (c *QuickSight) DescribeDataSetPermissionsRequest(input *DescribeDataSetPermissionsInput) (req *request.Request, output *DescribeDataSetPermissionsOutput) {
  4323  	op := &request.Operation{
  4324  		Name:       opDescribeDataSetPermissions,
  4325  		HTTPMethod: "GET",
  4326  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
  4327  	}
  4328  
  4329  	if input == nil {
  4330  		input = &DescribeDataSetPermissionsInput{}
  4331  	}
  4332  
  4333  	output = &DescribeDataSetPermissionsOutput{}
  4334  	req = c.newRequest(op, input, output)
  4335  	return
  4336  }
  4337  
  4338  // DescribeDataSetPermissions API operation for Amazon QuickSight.
  4339  //
  4340  // Describes the permissions on a dataset.
  4341  //
  4342  // The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
  4343  //
  4344  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4345  // with awserr.Error's Code and Message methods to get detailed information about
  4346  // the error.
  4347  //
  4348  // See the AWS API reference guide for Amazon QuickSight's
  4349  // API operation DescribeDataSetPermissions for usage and error information.
  4350  //
  4351  // Returned Error Types:
  4352  //   * AccessDeniedException
  4353  //   You don't have access to this item. The provided credentials couldn't be
  4354  //   validated. You might not be authorized to carry out the request. Make sure
  4355  //   that your account is authorized to use the Amazon QuickSight service, that
  4356  //   your policies have the correct permissions, and that you are using the correct
  4357  //   access keys.
  4358  //
  4359  //   * InvalidParameterValueException
  4360  //   One or more parameters has a value that isn't valid.
  4361  //
  4362  //   * ThrottlingException
  4363  //   Access is throttled.
  4364  //
  4365  //   * ResourceNotFoundException
  4366  //   One or more resources can't be found.
  4367  //
  4368  //   * InternalFailureException
  4369  //   An internal failure occurred.
  4370  //
  4371  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions
  4372  func (c *QuickSight) DescribeDataSetPermissions(input *DescribeDataSetPermissionsInput) (*DescribeDataSetPermissionsOutput, error) {
  4373  	req, out := c.DescribeDataSetPermissionsRequest(input)
  4374  	return out, req.Send()
  4375  }
  4376  
  4377  // DescribeDataSetPermissionsWithContext is the same as DescribeDataSetPermissions with the addition of
  4378  // the ability to pass a context and additional request options.
  4379  //
  4380  // See DescribeDataSetPermissions for details on how to use this API operation.
  4381  //
  4382  // The context must be non-nil and will be used for request cancellation. If
  4383  // the context is nil a panic will occur. In the future the SDK may create
  4384  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4385  // for more information on using Contexts.
  4386  func (c *QuickSight) DescribeDataSetPermissionsWithContext(ctx aws.Context, input *DescribeDataSetPermissionsInput, opts ...request.Option) (*DescribeDataSetPermissionsOutput, error) {
  4387  	req, out := c.DescribeDataSetPermissionsRequest(input)
  4388  	req.SetContext(ctx)
  4389  	req.ApplyOptions(opts...)
  4390  	return out, req.Send()
  4391  }
  4392  
  4393  const opDescribeDataSource = "DescribeDataSource"
  4394  
  4395  // DescribeDataSourceRequest generates a "aws/request.Request" representing the
  4396  // client's request for the DescribeDataSource operation. The "output" return
  4397  // value will be populated with the request's response once the request completes
  4398  // successfully.
  4399  //
  4400  // Use "Send" method on the returned Request to send the API call to the service.
  4401  // the "output" return value is not valid until after Send returns without error.
  4402  //
  4403  // See DescribeDataSource for more information on using the DescribeDataSource
  4404  // API call, and error handling.
  4405  //
  4406  // This method is useful when you want to inject custom logic or configuration
  4407  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4408  //
  4409  //
  4410  //    // Example sending a request using the DescribeDataSourceRequest method.
  4411  //    req, resp := client.DescribeDataSourceRequest(params)
  4412  //
  4413  //    err := req.Send()
  4414  //    if err == nil { // resp is now filled
  4415  //        fmt.Println(resp)
  4416  //    }
  4417  //
  4418  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource
  4419  func (c *QuickSight) DescribeDataSourceRequest(input *DescribeDataSourceInput) (req *request.Request, output *DescribeDataSourceOutput) {
  4420  	op := &request.Operation{
  4421  		Name:       opDescribeDataSource,
  4422  		HTTPMethod: "GET",
  4423  		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
  4424  	}
  4425  
  4426  	if input == nil {
  4427  		input = &DescribeDataSourceInput{}
  4428  	}
  4429  
  4430  	output = &DescribeDataSourceOutput{}
  4431  	req = c.newRequest(op, input, output)
  4432  	return
  4433  }
  4434  
  4435  // DescribeDataSource API operation for Amazon QuickSight.
  4436  //
  4437  // Describes a data source.
  4438  //
  4439  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4440  // with awserr.Error's Code and Message methods to get detailed information about
  4441  // the error.
  4442  //
  4443  // See the AWS API reference guide for Amazon QuickSight's
  4444  // API operation DescribeDataSource for usage and error information.
  4445  //
  4446  // Returned Error Types:
  4447  //   * AccessDeniedException
  4448  //   You don't have access to this item. The provided credentials couldn't be
  4449  //   validated. You might not be authorized to carry out the request. Make sure
  4450  //   that your account is authorized to use the Amazon QuickSight service, that
  4451  //   your policies have the correct permissions, and that you are using the correct
  4452  //   access keys.
  4453  //
  4454  //   * InvalidParameterValueException
  4455  //   One or more parameters has a value that isn't valid.
  4456  //
  4457  //   * ThrottlingException
  4458  //   Access is throttled.
  4459  //
  4460  //   * ResourceNotFoundException
  4461  //   One or more resources can't be found.
  4462  //
  4463  //   * InternalFailureException
  4464  //   An internal failure occurred.
  4465  //
  4466  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource
  4467  func (c *QuickSight) DescribeDataSource(input *DescribeDataSourceInput) (*DescribeDataSourceOutput, error) {
  4468  	req, out := c.DescribeDataSourceRequest(input)
  4469  	return out, req.Send()
  4470  }
  4471  
  4472  // DescribeDataSourceWithContext is the same as DescribeDataSource with the addition of
  4473  // the ability to pass a context and additional request options.
  4474  //
  4475  // See DescribeDataSource for details on how to use this API operation.
  4476  //
  4477  // The context must be non-nil and will be used for request cancellation. If
  4478  // the context is nil a panic will occur. In the future the SDK may create
  4479  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4480  // for more information on using Contexts.
  4481  func (c *QuickSight) DescribeDataSourceWithContext(ctx aws.Context, input *DescribeDataSourceInput, opts ...request.Option) (*DescribeDataSourceOutput, error) {
  4482  	req, out := c.DescribeDataSourceRequest(input)
  4483  	req.SetContext(ctx)
  4484  	req.ApplyOptions(opts...)
  4485  	return out, req.Send()
  4486  }
  4487  
  4488  const opDescribeDataSourcePermissions = "DescribeDataSourcePermissions"
  4489  
  4490  // DescribeDataSourcePermissionsRequest generates a "aws/request.Request" representing the
  4491  // client's request for the DescribeDataSourcePermissions operation. The "output" return
  4492  // value will be populated with the request's response once the request completes
  4493  // successfully.
  4494  //
  4495  // Use "Send" method on the returned Request to send the API call to the service.
  4496  // the "output" return value is not valid until after Send returns without error.
  4497  //
  4498  // See DescribeDataSourcePermissions for more information on using the DescribeDataSourcePermissions
  4499  // API call, and error handling.
  4500  //
  4501  // This method is useful when you want to inject custom logic or configuration
  4502  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4503  //
  4504  //
  4505  //    // Example sending a request using the DescribeDataSourcePermissionsRequest method.
  4506  //    req, resp := client.DescribeDataSourcePermissionsRequest(params)
  4507  //
  4508  //    err := req.Send()
  4509  //    if err == nil { // resp is now filled
  4510  //        fmt.Println(resp)
  4511  //    }
  4512  //
  4513  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions
  4514  func (c *QuickSight) DescribeDataSourcePermissionsRequest(input *DescribeDataSourcePermissionsInput) (req *request.Request, output *DescribeDataSourcePermissionsOutput) {
  4515  	op := &request.Operation{
  4516  		Name:       opDescribeDataSourcePermissions,
  4517  		HTTPMethod: "GET",
  4518  		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
  4519  	}
  4520  
  4521  	if input == nil {
  4522  		input = &DescribeDataSourcePermissionsInput{}
  4523  	}
  4524  
  4525  	output = &DescribeDataSourcePermissionsOutput{}
  4526  	req = c.newRequest(op, input, output)
  4527  	return
  4528  }
  4529  
  4530  // DescribeDataSourcePermissions API operation for Amazon QuickSight.
  4531  //
  4532  // Describes the resource permissions for a data source.
  4533  //
  4534  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4535  // with awserr.Error's Code and Message methods to get detailed information about
  4536  // the error.
  4537  //
  4538  // See the AWS API reference guide for Amazon QuickSight's
  4539  // API operation DescribeDataSourcePermissions for usage and error information.
  4540  //
  4541  // Returned Error Types:
  4542  //   * AccessDeniedException
  4543  //   You don't have access to this item. The provided credentials couldn't be
  4544  //   validated. You might not be authorized to carry out the request. Make sure
  4545  //   that your account is authorized to use the Amazon QuickSight service, that
  4546  //   your policies have the correct permissions, and that you are using the correct
  4547  //   access keys.
  4548  //
  4549  //   * InvalidParameterValueException
  4550  //   One or more parameters has a value that isn't valid.
  4551  //
  4552  //   * ThrottlingException
  4553  //   Access is throttled.
  4554  //
  4555  //   * ResourceNotFoundException
  4556  //   One or more resources can't be found.
  4557  //
  4558  //   * InternalFailureException
  4559  //   An internal failure occurred.
  4560  //
  4561  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions
  4562  func (c *QuickSight) DescribeDataSourcePermissions(input *DescribeDataSourcePermissionsInput) (*DescribeDataSourcePermissionsOutput, error) {
  4563  	req, out := c.DescribeDataSourcePermissionsRequest(input)
  4564  	return out, req.Send()
  4565  }
  4566  
  4567  // DescribeDataSourcePermissionsWithContext is the same as DescribeDataSourcePermissions with the addition of
  4568  // the ability to pass a context and additional request options.
  4569  //
  4570  // See DescribeDataSourcePermissions for details on how to use this API operation.
  4571  //
  4572  // The context must be non-nil and will be used for request cancellation. If
  4573  // the context is nil a panic will occur. In the future the SDK may create
  4574  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4575  // for more information on using Contexts.
  4576  func (c *QuickSight) DescribeDataSourcePermissionsWithContext(ctx aws.Context, input *DescribeDataSourcePermissionsInput, opts ...request.Option) (*DescribeDataSourcePermissionsOutput, error) {
  4577  	req, out := c.DescribeDataSourcePermissionsRequest(input)
  4578  	req.SetContext(ctx)
  4579  	req.ApplyOptions(opts...)
  4580  	return out, req.Send()
  4581  }
  4582  
  4583  const opDescribeFolder = "DescribeFolder"
  4584  
  4585  // DescribeFolderRequest generates a "aws/request.Request" representing the
  4586  // client's request for the DescribeFolder operation. The "output" return
  4587  // value will be populated with the request's response once the request completes
  4588  // successfully.
  4589  //
  4590  // Use "Send" method on the returned Request to send the API call to the service.
  4591  // the "output" return value is not valid until after Send returns without error.
  4592  //
  4593  // See DescribeFolder for more information on using the DescribeFolder
  4594  // API call, and error handling.
  4595  //
  4596  // This method is useful when you want to inject custom logic or configuration
  4597  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4598  //
  4599  //
  4600  //    // Example sending a request using the DescribeFolderRequest method.
  4601  //    req, resp := client.DescribeFolderRequest(params)
  4602  //
  4603  //    err := req.Send()
  4604  //    if err == nil { // resp is now filled
  4605  //        fmt.Println(resp)
  4606  //    }
  4607  //
  4608  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolder
  4609  func (c *QuickSight) DescribeFolderRequest(input *DescribeFolderInput) (req *request.Request, output *DescribeFolderOutput) {
  4610  	op := &request.Operation{
  4611  		Name:       opDescribeFolder,
  4612  		HTTPMethod: "GET",
  4613  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}",
  4614  	}
  4615  
  4616  	if input == nil {
  4617  		input = &DescribeFolderInput{}
  4618  	}
  4619  
  4620  	output = &DescribeFolderOutput{}
  4621  	req = c.newRequest(op, input, output)
  4622  	return
  4623  }
  4624  
  4625  // DescribeFolder API operation for Amazon QuickSight.
  4626  //
  4627  // Describes a folder.
  4628  //
  4629  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4630  // with awserr.Error's Code and Message methods to get detailed information about
  4631  // the error.
  4632  //
  4633  // See the AWS API reference guide for Amazon QuickSight's
  4634  // API operation DescribeFolder for usage and error information.
  4635  //
  4636  // Returned Error Types:
  4637  //   * InvalidParameterValueException
  4638  //   One or more parameters has a value that isn't valid.
  4639  //
  4640  //   * AccessDeniedException
  4641  //   You don't have access to this item. The provided credentials couldn't be
  4642  //   validated. You might not be authorized to carry out the request. Make sure
  4643  //   that your account is authorized to use the Amazon QuickSight service, that
  4644  //   your policies have the correct permissions, and that you are using the correct
  4645  //   access keys.
  4646  //
  4647  //   * ResourceNotFoundException
  4648  //   One or more resources can't be found.
  4649  //
  4650  //   * ThrottlingException
  4651  //   Access is throttled.
  4652  //
  4653  //   * UnsupportedUserEditionException
  4654  //   This error indicates that you are calling an operation on an Amazon QuickSight
  4655  //   subscription where the edition doesn't include support for that operation.
  4656  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  4657  //   Not every operation and capability is available in every edition.
  4658  //
  4659  //   * InternalFailureException
  4660  //   An internal failure occurred.
  4661  //
  4662  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolder
  4663  func (c *QuickSight) DescribeFolder(input *DescribeFolderInput) (*DescribeFolderOutput, error) {
  4664  	req, out := c.DescribeFolderRequest(input)
  4665  	return out, req.Send()
  4666  }
  4667  
  4668  // DescribeFolderWithContext is the same as DescribeFolder with the addition of
  4669  // the ability to pass a context and additional request options.
  4670  //
  4671  // See DescribeFolder for details on how to use this API operation.
  4672  //
  4673  // The context must be non-nil and will be used for request cancellation. If
  4674  // the context is nil a panic will occur. In the future the SDK may create
  4675  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4676  // for more information on using Contexts.
  4677  func (c *QuickSight) DescribeFolderWithContext(ctx aws.Context, input *DescribeFolderInput, opts ...request.Option) (*DescribeFolderOutput, error) {
  4678  	req, out := c.DescribeFolderRequest(input)
  4679  	req.SetContext(ctx)
  4680  	req.ApplyOptions(opts...)
  4681  	return out, req.Send()
  4682  }
  4683  
  4684  const opDescribeFolderPermissions = "DescribeFolderPermissions"
  4685  
  4686  // DescribeFolderPermissionsRequest generates a "aws/request.Request" representing the
  4687  // client's request for the DescribeFolderPermissions operation. The "output" return
  4688  // value will be populated with the request's response once the request completes
  4689  // successfully.
  4690  //
  4691  // Use "Send" method on the returned Request to send the API call to the service.
  4692  // the "output" return value is not valid until after Send returns without error.
  4693  //
  4694  // See DescribeFolderPermissions for more information on using the DescribeFolderPermissions
  4695  // API call, and error handling.
  4696  //
  4697  // This method is useful when you want to inject custom logic or configuration
  4698  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4699  //
  4700  //
  4701  //    // Example sending a request using the DescribeFolderPermissionsRequest method.
  4702  //    req, resp := client.DescribeFolderPermissionsRequest(params)
  4703  //
  4704  //    err := req.Send()
  4705  //    if err == nil { // resp is now filled
  4706  //        fmt.Println(resp)
  4707  //    }
  4708  //
  4709  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderPermissions
  4710  func (c *QuickSight) DescribeFolderPermissionsRequest(input *DescribeFolderPermissionsInput) (req *request.Request, output *DescribeFolderPermissionsOutput) {
  4711  	op := &request.Operation{
  4712  		Name:       opDescribeFolderPermissions,
  4713  		HTTPMethod: "GET",
  4714  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/permissions",
  4715  	}
  4716  
  4717  	if input == nil {
  4718  		input = &DescribeFolderPermissionsInput{}
  4719  	}
  4720  
  4721  	output = &DescribeFolderPermissionsOutput{}
  4722  	req = c.newRequest(op, input, output)
  4723  	return
  4724  }
  4725  
  4726  // DescribeFolderPermissions API operation for Amazon QuickSight.
  4727  //
  4728  // Describes permissions for a folder.
  4729  //
  4730  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4731  // with awserr.Error's Code and Message methods to get detailed information about
  4732  // the error.
  4733  //
  4734  // See the AWS API reference guide for Amazon QuickSight's
  4735  // API operation DescribeFolderPermissions for usage and error information.
  4736  //
  4737  // Returned Error Types:
  4738  //   * InvalidParameterValueException
  4739  //   One or more parameters has a value that isn't valid.
  4740  //
  4741  //   * AccessDeniedException
  4742  //   You don't have access to this item. The provided credentials couldn't be
  4743  //   validated. You might not be authorized to carry out the request. Make sure
  4744  //   that your account is authorized to use the Amazon QuickSight service, that
  4745  //   your policies have the correct permissions, and that you are using the correct
  4746  //   access keys.
  4747  //
  4748  //   * ResourceNotFoundException
  4749  //   One or more resources can't be found.
  4750  //
  4751  //   * ThrottlingException
  4752  //   Access is throttled.
  4753  //
  4754  //   * UnsupportedUserEditionException
  4755  //   This error indicates that you are calling an operation on an Amazon QuickSight
  4756  //   subscription where the edition doesn't include support for that operation.
  4757  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  4758  //   Not every operation and capability is available in every edition.
  4759  //
  4760  //   * InternalFailureException
  4761  //   An internal failure occurred.
  4762  //
  4763  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderPermissions
  4764  func (c *QuickSight) DescribeFolderPermissions(input *DescribeFolderPermissionsInput) (*DescribeFolderPermissionsOutput, error) {
  4765  	req, out := c.DescribeFolderPermissionsRequest(input)
  4766  	return out, req.Send()
  4767  }
  4768  
  4769  // DescribeFolderPermissionsWithContext is the same as DescribeFolderPermissions with the addition of
  4770  // the ability to pass a context and additional request options.
  4771  //
  4772  // See DescribeFolderPermissions for details on how to use this API operation.
  4773  //
  4774  // The context must be non-nil and will be used for request cancellation. If
  4775  // the context is nil a panic will occur. In the future the SDK may create
  4776  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4777  // for more information on using Contexts.
  4778  func (c *QuickSight) DescribeFolderPermissionsWithContext(ctx aws.Context, input *DescribeFolderPermissionsInput, opts ...request.Option) (*DescribeFolderPermissionsOutput, error) {
  4779  	req, out := c.DescribeFolderPermissionsRequest(input)
  4780  	req.SetContext(ctx)
  4781  	req.ApplyOptions(opts...)
  4782  	return out, req.Send()
  4783  }
  4784  
  4785  const opDescribeFolderResolvedPermissions = "DescribeFolderResolvedPermissions"
  4786  
  4787  // DescribeFolderResolvedPermissionsRequest generates a "aws/request.Request" representing the
  4788  // client's request for the DescribeFolderResolvedPermissions operation. The "output" return
  4789  // value will be populated with the request's response once the request completes
  4790  // successfully.
  4791  //
  4792  // Use "Send" method on the returned Request to send the API call to the service.
  4793  // the "output" return value is not valid until after Send returns without error.
  4794  //
  4795  // See DescribeFolderResolvedPermissions for more information on using the DescribeFolderResolvedPermissions
  4796  // API call, and error handling.
  4797  //
  4798  // This method is useful when you want to inject custom logic or configuration
  4799  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4800  //
  4801  //
  4802  //    // Example sending a request using the DescribeFolderResolvedPermissionsRequest method.
  4803  //    req, resp := client.DescribeFolderResolvedPermissionsRequest(params)
  4804  //
  4805  //    err := req.Send()
  4806  //    if err == nil { // resp is now filled
  4807  //        fmt.Println(resp)
  4808  //    }
  4809  //
  4810  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderResolvedPermissions
  4811  func (c *QuickSight) DescribeFolderResolvedPermissionsRequest(input *DescribeFolderResolvedPermissionsInput) (req *request.Request, output *DescribeFolderResolvedPermissionsOutput) {
  4812  	op := &request.Operation{
  4813  		Name:       opDescribeFolderResolvedPermissions,
  4814  		HTTPMethod: "GET",
  4815  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/resolved-permissions",
  4816  	}
  4817  
  4818  	if input == nil {
  4819  		input = &DescribeFolderResolvedPermissionsInput{}
  4820  	}
  4821  
  4822  	output = &DescribeFolderResolvedPermissionsOutput{}
  4823  	req = c.newRequest(op, input, output)
  4824  	return
  4825  }
  4826  
  4827  // DescribeFolderResolvedPermissions API operation for Amazon QuickSight.
  4828  //
  4829  // Describes the folder resolved permissions. Permissions consists of both folder
  4830  // direct permissions and the inherited permissions from the ancestor folders.
  4831  //
  4832  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4833  // with awserr.Error's Code and Message methods to get detailed information about
  4834  // the error.
  4835  //
  4836  // See the AWS API reference guide for Amazon QuickSight's
  4837  // API operation DescribeFolderResolvedPermissions for usage and error information.
  4838  //
  4839  // Returned Error Types:
  4840  //   * InvalidParameterValueException
  4841  //   One or more parameters has a value that isn't valid.
  4842  //
  4843  //   * AccessDeniedException
  4844  //   You don't have access to this item. The provided credentials couldn't be
  4845  //   validated. You might not be authorized to carry out the request. Make sure
  4846  //   that your account is authorized to use the Amazon QuickSight service, that
  4847  //   your policies have the correct permissions, and that you are using the correct
  4848  //   access keys.
  4849  //
  4850  //   * ResourceNotFoundException
  4851  //   One or more resources can't be found.
  4852  //
  4853  //   * ThrottlingException
  4854  //   Access is throttled.
  4855  //
  4856  //   * UnsupportedUserEditionException
  4857  //   This error indicates that you are calling an operation on an Amazon QuickSight
  4858  //   subscription where the edition doesn't include support for that operation.
  4859  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  4860  //   Not every operation and capability is available in every edition.
  4861  //
  4862  //   * InternalFailureException
  4863  //   An internal failure occurred.
  4864  //
  4865  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderResolvedPermissions
  4866  func (c *QuickSight) DescribeFolderResolvedPermissions(input *DescribeFolderResolvedPermissionsInput) (*DescribeFolderResolvedPermissionsOutput, error) {
  4867  	req, out := c.DescribeFolderResolvedPermissionsRequest(input)
  4868  	return out, req.Send()
  4869  }
  4870  
  4871  // DescribeFolderResolvedPermissionsWithContext is the same as DescribeFolderResolvedPermissions with the addition of
  4872  // the ability to pass a context and additional request options.
  4873  //
  4874  // See DescribeFolderResolvedPermissions for details on how to use this API operation.
  4875  //
  4876  // The context must be non-nil and will be used for request cancellation. If
  4877  // the context is nil a panic will occur. In the future the SDK may create
  4878  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4879  // for more information on using Contexts.
  4880  func (c *QuickSight) DescribeFolderResolvedPermissionsWithContext(ctx aws.Context, input *DescribeFolderResolvedPermissionsInput, opts ...request.Option) (*DescribeFolderResolvedPermissionsOutput, error) {
  4881  	req, out := c.DescribeFolderResolvedPermissionsRequest(input)
  4882  	req.SetContext(ctx)
  4883  	req.ApplyOptions(opts...)
  4884  	return out, req.Send()
  4885  }
  4886  
  4887  const opDescribeGroup = "DescribeGroup"
  4888  
  4889  // DescribeGroupRequest generates a "aws/request.Request" representing the
  4890  // client's request for the DescribeGroup operation. The "output" return
  4891  // value will be populated with the request's response once the request completes
  4892  // successfully.
  4893  //
  4894  // Use "Send" method on the returned Request to send the API call to the service.
  4895  // the "output" return value is not valid until after Send returns without error.
  4896  //
  4897  // See DescribeGroup for more information on using the DescribeGroup
  4898  // API call, and error handling.
  4899  //
  4900  // This method is useful when you want to inject custom logic or configuration
  4901  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  4902  //
  4903  //
  4904  //    // Example sending a request using the DescribeGroupRequest method.
  4905  //    req, resp := client.DescribeGroupRequest(params)
  4906  //
  4907  //    err := req.Send()
  4908  //    if err == nil { // resp is now filled
  4909  //        fmt.Println(resp)
  4910  //    }
  4911  //
  4912  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup
  4913  func (c *QuickSight) DescribeGroupRequest(input *DescribeGroupInput) (req *request.Request, output *DescribeGroupOutput) {
  4914  	op := &request.Operation{
  4915  		Name:       opDescribeGroup,
  4916  		HTTPMethod: "GET",
  4917  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
  4918  	}
  4919  
  4920  	if input == nil {
  4921  		input = &DescribeGroupInput{}
  4922  	}
  4923  
  4924  	output = &DescribeGroupOutput{}
  4925  	req = c.newRequest(op, input, output)
  4926  	return
  4927  }
  4928  
  4929  // DescribeGroup API operation for Amazon QuickSight.
  4930  //
  4931  // Returns an Amazon QuickSight group's description and Amazon Resource Name
  4932  // (ARN).
  4933  //
  4934  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  4935  // with awserr.Error's Code and Message methods to get detailed information about
  4936  // the error.
  4937  //
  4938  // See the AWS API reference guide for Amazon QuickSight's
  4939  // API operation DescribeGroup for usage and error information.
  4940  //
  4941  // Returned Error Types:
  4942  //   * AccessDeniedException
  4943  //   You don't have access to this item. The provided credentials couldn't be
  4944  //   validated. You might not be authorized to carry out the request. Make sure
  4945  //   that your account is authorized to use the Amazon QuickSight service, that
  4946  //   your policies have the correct permissions, and that you are using the correct
  4947  //   access keys.
  4948  //
  4949  //   * InvalidParameterValueException
  4950  //   One or more parameters has a value that isn't valid.
  4951  //
  4952  //   * ResourceNotFoundException
  4953  //   One or more resources can't be found.
  4954  //
  4955  //   * ThrottlingException
  4956  //   Access is throttled.
  4957  //
  4958  //   * PreconditionNotMetException
  4959  //   One or more preconditions aren't met.
  4960  //
  4961  //   * InternalFailureException
  4962  //   An internal failure occurred.
  4963  //
  4964  //   * ResourceUnavailableException
  4965  //   This resource is currently unavailable.
  4966  //
  4967  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup
  4968  func (c *QuickSight) DescribeGroup(input *DescribeGroupInput) (*DescribeGroupOutput, error) {
  4969  	req, out := c.DescribeGroupRequest(input)
  4970  	return out, req.Send()
  4971  }
  4972  
  4973  // DescribeGroupWithContext is the same as DescribeGroup with the addition of
  4974  // the ability to pass a context and additional request options.
  4975  //
  4976  // See DescribeGroup for details on how to use this API operation.
  4977  //
  4978  // The context must be non-nil and will be used for request cancellation. If
  4979  // the context is nil a panic will occur. In the future the SDK may create
  4980  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  4981  // for more information on using Contexts.
  4982  func (c *QuickSight) DescribeGroupWithContext(ctx aws.Context, input *DescribeGroupInput, opts ...request.Option) (*DescribeGroupOutput, error) {
  4983  	req, out := c.DescribeGroupRequest(input)
  4984  	req.SetContext(ctx)
  4985  	req.ApplyOptions(opts...)
  4986  	return out, req.Send()
  4987  }
  4988  
  4989  const opDescribeIAMPolicyAssignment = "DescribeIAMPolicyAssignment"
  4990  
  4991  // DescribeIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
  4992  // client's request for the DescribeIAMPolicyAssignment operation. The "output" return
  4993  // value will be populated with the request's response once the request completes
  4994  // successfully.
  4995  //
  4996  // Use "Send" method on the returned Request to send the API call to the service.
  4997  // the "output" return value is not valid until after Send returns without error.
  4998  //
  4999  // See DescribeIAMPolicyAssignment for more information on using the DescribeIAMPolicyAssignment
  5000  // API call, and error handling.
  5001  //
  5002  // This method is useful when you want to inject custom logic or configuration
  5003  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5004  //
  5005  //
  5006  //    // Example sending a request using the DescribeIAMPolicyAssignmentRequest method.
  5007  //    req, resp := client.DescribeIAMPolicyAssignmentRequest(params)
  5008  //
  5009  //    err := req.Send()
  5010  //    if err == nil { // resp is now filled
  5011  //        fmt.Println(resp)
  5012  //    }
  5013  //
  5014  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment
  5015  func (c *QuickSight) DescribeIAMPolicyAssignmentRequest(input *DescribeIAMPolicyAssignmentInput) (req *request.Request, output *DescribeIAMPolicyAssignmentOutput) {
  5016  	op := &request.Operation{
  5017  		Name:       opDescribeIAMPolicyAssignment,
  5018  		HTTPMethod: "GET",
  5019  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
  5020  	}
  5021  
  5022  	if input == nil {
  5023  		input = &DescribeIAMPolicyAssignmentInput{}
  5024  	}
  5025  
  5026  	output = &DescribeIAMPolicyAssignmentOutput{}
  5027  	req = c.newRequest(op, input, output)
  5028  	return
  5029  }
  5030  
  5031  // DescribeIAMPolicyAssignment API operation for Amazon QuickSight.
  5032  //
  5033  // Describes an existing IAMpolicy assignment, as specified by the assignment
  5034  // name.
  5035  //
  5036  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5037  // with awserr.Error's Code and Message methods to get detailed information about
  5038  // the error.
  5039  //
  5040  // See the AWS API reference guide for Amazon QuickSight's
  5041  // API operation DescribeIAMPolicyAssignment for usage and error information.
  5042  //
  5043  // Returned Error Types:
  5044  //   * AccessDeniedException
  5045  //   You don't have access to this item. The provided credentials couldn't be
  5046  //   validated. You might not be authorized to carry out the request. Make sure
  5047  //   that your account is authorized to use the Amazon QuickSight service, that
  5048  //   your policies have the correct permissions, and that you are using the correct
  5049  //   access keys.
  5050  //
  5051  //   * InvalidParameterValueException
  5052  //   One or more parameters has a value that isn't valid.
  5053  //
  5054  //   * ResourceNotFoundException
  5055  //   One or more resources can't be found.
  5056  //
  5057  //   * ThrottlingException
  5058  //   Access is throttled.
  5059  //
  5060  //   * InvalidNextTokenException
  5061  //   The NextToken value isn't valid.
  5062  //
  5063  //   * InternalFailureException
  5064  //   An internal failure occurred.
  5065  //
  5066  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment
  5067  func (c *QuickSight) DescribeIAMPolicyAssignment(input *DescribeIAMPolicyAssignmentInput) (*DescribeIAMPolicyAssignmentOutput, error) {
  5068  	req, out := c.DescribeIAMPolicyAssignmentRequest(input)
  5069  	return out, req.Send()
  5070  }
  5071  
  5072  // DescribeIAMPolicyAssignmentWithContext is the same as DescribeIAMPolicyAssignment with the addition of
  5073  // the ability to pass a context and additional request options.
  5074  //
  5075  // See DescribeIAMPolicyAssignment for details on how to use this API operation.
  5076  //
  5077  // The context must be non-nil and will be used for request cancellation. If
  5078  // the context is nil a panic will occur. In the future the SDK may create
  5079  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5080  // for more information on using Contexts.
  5081  func (c *QuickSight) DescribeIAMPolicyAssignmentWithContext(ctx aws.Context, input *DescribeIAMPolicyAssignmentInput, opts ...request.Option) (*DescribeIAMPolicyAssignmentOutput, error) {
  5082  	req, out := c.DescribeIAMPolicyAssignmentRequest(input)
  5083  	req.SetContext(ctx)
  5084  	req.ApplyOptions(opts...)
  5085  	return out, req.Send()
  5086  }
  5087  
  5088  const opDescribeIngestion = "DescribeIngestion"
  5089  
  5090  // DescribeIngestionRequest generates a "aws/request.Request" representing the
  5091  // client's request for the DescribeIngestion operation. The "output" return
  5092  // value will be populated with the request's response once the request completes
  5093  // successfully.
  5094  //
  5095  // Use "Send" method on the returned Request to send the API call to the service.
  5096  // the "output" return value is not valid until after Send returns without error.
  5097  //
  5098  // See DescribeIngestion for more information on using the DescribeIngestion
  5099  // API call, and error handling.
  5100  //
  5101  // This method is useful when you want to inject custom logic or configuration
  5102  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5103  //
  5104  //
  5105  //    // Example sending a request using the DescribeIngestionRequest method.
  5106  //    req, resp := client.DescribeIngestionRequest(params)
  5107  //
  5108  //    err := req.Send()
  5109  //    if err == nil { // resp is now filled
  5110  //        fmt.Println(resp)
  5111  //    }
  5112  //
  5113  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion
  5114  func (c *QuickSight) DescribeIngestionRequest(input *DescribeIngestionInput) (req *request.Request, output *DescribeIngestionOutput) {
  5115  	op := &request.Operation{
  5116  		Name:       opDescribeIngestion,
  5117  		HTTPMethod: "GET",
  5118  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
  5119  	}
  5120  
  5121  	if input == nil {
  5122  		input = &DescribeIngestionInput{}
  5123  	}
  5124  
  5125  	output = &DescribeIngestionOutput{}
  5126  	req = c.newRequest(op, input, output)
  5127  	return
  5128  }
  5129  
  5130  // DescribeIngestion API operation for Amazon QuickSight.
  5131  //
  5132  // Describes a SPICE ingestion.
  5133  //
  5134  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5135  // with awserr.Error's Code and Message methods to get detailed information about
  5136  // the error.
  5137  //
  5138  // See the AWS API reference guide for Amazon QuickSight's
  5139  // API operation DescribeIngestion for usage and error information.
  5140  //
  5141  // Returned Error Types:
  5142  //   * AccessDeniedException
  5143  //   You don't have access to this item. The provided credentials couldn't be
  5144  //   validated. You might not be authorized to carry out the request. Make sure
  5145  //   that your account is authorized to use the Amazon QuickSight service, that
  5146  //   your policies have the correct permissions, and that you are using the correct
  5147  //   access keys.
  5148  //
  5149  //   * InvalidParameterValueException
  5150  //   One or more parameters has a value that isn't valid.
  5151  //
  5152  //   * ResourceNotFoundException
  5153  //   One or more resources can't be found.
  5154  //
  5155  //   * ThrottlingException
  5156  //   Access is throttled.
  5157  //
  5158  //   * ResourceExistsException
  5159  //   The resource specified already exists.
  5160  //
  5161  //   * InternalFailureException
  5162  //   An internal failure occurred.
  5163  //
  5164  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion
  5165  func (c *QuickSight) DescribeIngestion(input *DescribeIngestionInput) (*DescribeIngestionOutput, error) {
  5166  	req, out := c.DescribeIngestionRequest(input)
  5167  	return out, req.Send()
  5168  }
  5169  
  5170  // DescribeIngestionWithContext is the same as DescribeIngestion with the addition of
  5171  // the ability to pass a context and additional request options.
  5172  //
  5173  // See DescribeIngestion for details on how to use this API operation.
  5174  //
  5175  // The context must be non-nil and will be used for request cancellation. If
  5176  // the context is nil a panic will occur. In the future the SDK may create
  5177  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5178  // for more information on using Contexts.
  5179  func (c *QuickSight) DescribeIngestionWithContext(ctx aws.Context, input *DescribeIngestionInput, opts ...request.Option) (*DescribeIngestionOutput, error) {
  5180  	req, out := c.DescribeIngestionRequest(input)
  5181  	req.SetContext(ctx)
  5182  	req.ApplyOptions(opts...)
  5183  	return out, req.Send()
  5184  }
  5185  
  5186  const opDescribeNamespace = "DescribeNamespace"
  5187  
  5188  // DescribeNamespaceRequest generates a "aws/request.Request" representing the
  5189  // client's request for the DescribeNamespace operation. The "output" return
  5190  // value will be populated with the request's response once the request completes
  5191  // successfully.
  5192  //
  5193  // Use "Send" method on the returned Request to send the API call to the service.
  5194  // the "output" return value is not valid until after Send returns without error.
  5195  //
  5196  // See DescribeNamespace for more information on using the DescribeNamespace
  5197  // API call, and error handling.
  5198  //
  5199  // This method is useful when you want to inject custom logic or configuration
  5200  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5201  //
  5202  //
  5203  //    // Example sending a request using the DescribeNamespaceRequest method.
  5204  //    req, resp := client.DescribeNamespaceRequest(params)
  5205  //
  5206  //    err := req.Send()
  5207  //    if err == nil { // resp is now filled
  5208  //        fmt.Println(resp)
  5209  //    }
  5210  //
  5211  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace
  5212  func (c *QuickSight) DescribeNamespaceRequest(input *DescribeNamespaceInput) (req *request.Request, output *DescribeNamespaceOutput) {
  5213  	op := &request.Operation{
  5214  		Name:       opDescribeNamespace,
  5215  		HTTPMethod: "GET",
  5216  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}",
  5217  	}
  5218  
  5219  	if input == nil {
  5220  		input = &DescribeNamespaceInput{}
  5221  	}
  5222  
  5223  	output = &DescribeNamespaceOutput{}
  5224  	req = c.newRequest(op, input, output)
  5225  	return
  5226  }
  5227  
  5228  // DescribeNamespace API operation for Amazon QuickSight.
  5229  //
  5230  // Describes the current namespace.
  5231  //
  5232  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5233  // with awserr.Error's Code and Message methods to get detailed information about
  5234  // the error.
  5235  //
  5236  // See the AWS API reference guide for Amazon QuickSight's
  5237  // API operation DescribeNamespace for usage and error information.
  5238  //
  5239  // Returned Error Types:
  5240  //   * AccessDeniedException
  5241  //   You don't have access to this item. The provided credentials couldn't be
  5242  //   validated. You might not be authorized to carry out the request. Make sure
  5243  //   that your account is authorized to use the Amazon QuickSight service, that
  5244  //   your policies have the correct permissions, and that you are using the correct
  5245  //   access keys.
  5246  //
  5247  //   * InvalidParameterValueException
  5248  //   One or more parameters has a value that isn't valid.
  5249  //
  5250  //   * ResourceNotFoundException
  5251  //   One or more resources can't be found.
  5252  //
  5253  //   * ThrottlingException
  5254  //   Access is throttled.
  5255  //
  5256  //   * InternalFailureException
  5257  //   An internal failure occurred.
  5258  //
  5259  //   * ResourceUnavailableException
  5260  //   This resource is currently unavailable.
  5261  //
  5262  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace
  5263  func (c *QuickSight) DescribeNamespace(input *DescribeNamespaceInput) (*DescribeNamespaceOutput, error) {
  5264  	req, out := c.DescribeNamespaceRequest(input)
  5265  	return out, req.Send()
  5266  }
  5267  
  5268  // DescribeNamespaceWithContext is the same as DescribeNamespace with the addition of
  5269  // the ability to pass a context and additional request options.
  5270  //
  5271  // See DescribeNamespace for details on how to use this API operation.
  5272  //
  5273  // The context must be non-nil and will be used for request cancellation. If
  5274  // the context is nil a panic will occur. In the future the SDK may create
  5275  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5276  // for more information on using Contexts.
  5277  func (c *QuickSight) DescribeNamespaceWithContext(ctx aws.Context, input *DescribeNamespaceInput, opts ...request.Option) (*DescribeNamespaceOutput, error) {
  5278  	req, out := c.DescribeNamespaceRequest(input)
  5279  	req.SetContext(ctx)
  5280  	req.ApplyOptions(opts...)
  5281  	return out, req.Send()
  5282  }
  5283  
  5284  const opDescribeTemplate = "DescribeTemplate"
  5285  
  5286  // DescribeTemplateRequest generates a "aws/request.Request" representing the
  5287  // client's request for the DescribeTemplate operation. The "output" return
  5288  // value will be populated with the request's response once the request completes
  5289  // successfully.
  5290  //
  5291  // Use "Send" method on the returned Request to send the API call to the service.
  5292  // the "output" return value is not valid until after Send returns without error.
  5293  //
  5294  // See DescribeTemplate for more information on using the DescribeTemplate
  5295  // API call, and error handling.
  5296  //
  5297  // This method is useful when you want to inject custom logic or configuration
  5298  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5299  //
  5300  //
  5301  //    // Example sending a request using the DescribeTemplateRequest method.
  5302  //    req, resp := client.DescribeTemplateRequest(params)
  5303  //
  5304  //    err := req.Send()
  5305  //    if err == nil { // resp is now filled
  5306  //        fmt.Println(resp)
  5307  //    }
  5308  //
  5309  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate
  5310  func (c *QuickSight) DescribeTemplateRequest(input *DescribeTemplateInput) (req *request.Request, output *DescribeTemplateOutput) {
  5311  	op := &request.Operation{
  5312  		Name:       opDescribeTemplate,
  5313  		HTTPMethod: "GET",
  5314  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
  5315  	}
  5316  
  5317  	if input == nil {
  5318  		input = &DescribeTemplateInput{}
  5319  	}
  5320  
  5321  	output = &DescribeTemplateOutput{}
  5322  	req = c.newRequest(op, input, output)
  5323  	return
  5324  }
  5325  
  5326  // DescribeTemplate API operation for Amazon QuickSight.
  5327  //
  5328  // Describes a template's metadata.
  5329  //
  5330  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5331  // with awserr.Error's Code and Message methods to get detailed information about
  5332  // the error.
  5333  //
  5334  // See the AWS API reference guide for Amazon QuickSight's
  5335  // API operation DescribeTemplate for usage and error information.
  5336  //
  5337  // Returned Error Types:
  5338  //   * InvalidParameterValueException
  5339  //   One or more parameters has a value that isn't valid.
  5340  //
  5341  //   * AccessDeniedException
  5342  //   You don't have access to this item. The provided credentials couldn't be
  5343  //   validated. You might not be authorized to carry out the request. Make sure
  5344  //   that your account is authorized to use the Amazon QuickSight service, that
  5345  //   your policies have the correct permissions, and that you are using the correct
  5346  //   access keys.
  5347  //
  5348  //   * ResourceExistsException
  5349  //   The resource specified already exists.
  5350  //
  5351  //   * ResourceNotFoundException
  5352  //   One or more resources can't be found.
  5353  //
  5354  //   * ThrottlingException
  5355  //   Access is throttled.
  5356  //
  5357  //   * ConflictException
  5358  //   Updating or deleting a resource can cause an inconsistent state.
  5359  //
  5360  //   * UnsupportedUserEditionException
  5361  //   This error indicates that you are calling an operation on an Amazon QuickSight
  5362  //   subscription where the edition doesn't include support for that operation.
  5363  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  5364  //   Not every operation and capability is available in every edition.
  5365  //
  5366  //   * InternalFailureException
  5367  //   An internal failure occurred.
  5368  //
  5369  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate
  5370  func (c *QuickSight) DescribeTemplate(input *DescribeTemplateInput) (*DescribeTemplateOutput, error) {
  5371  	req, out := c.DescribeTemplateRequest(input)
  5372  	return out, req.Send()
  5373  }
  5374  
  5375  // DescribeTemplateWithContext is the same as DescribeTemplate with the addition of
  5376  // the ability to pass a context and additional request options.
  5377  //
  5378  // See DescribeTemplate for details on how to use this API operation.
  5379  //
  5380  // The context must be non-nil and will be used for request cancellation. If
  5381  // the context is nil a panic will occur. In the future the SDK may create
  5382  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5383  // for more information on using Contexts.
  5384  func (c *QuickSight) DescribeTemplateWithContext(ctx aws.Context, input *DescribeTemplateInput, opts ...request.Option) (*DescribeTemplateOutput, error) {
  5385  	req, out := c.DescribeTemplateRequest(input)
  5386  	req.SetContext(ctx)
  5387  	req.ApplyOptions(opts...)
  5388  	return out, req.Send()
  5389  }
  5390  
  5391  const opDescribeTemplateAlias = "DescribeTemplateAlias"
  5392  
  5393  // DescribeTemplateAliasRequest generates a "aws/request.Request" representing the
  5394  // client's request for the DescribeTemplateAlias operation. The "output" return
  5395  // value will be populated with the request's response once the request completes
  5396  // successfully.
  5397  //
  5398  // Use "Send" method on the returned Request to send the API call to the service.
  5399  // the "output" return value is not valid until after Send returns without error.
  5400  //
  5401  // See DescribeTemplateAlias for more information on using the DescribeTemplateAlias
  5402  // API call, and error handling.
  5403  //
  5404  // This method is useful when you want to inject custom logic or configuration
  5405  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5406  //
  5407  //
  5408  //    // Example sending a request using the DescribeTemplateAliasRequest method.
  5409  //    req, resp := client.DescribeTemplateAliasRequest(params)
  5410  //
  5411  //    err := req.Send()
  5412  //    if err == nil { // resp is now filled
  5413  //        fmt.Println(resp)
  5414  //    }
  5415  //
  5416  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias
  5417  func (c *QuickSight) DescribeTemplateAliasRequest(input *DescribeTemplateAliasInput) (req *request.Request, output *DescribeTemplateAliasOutput) {
  5418  	op := &request.Operation{
  5419  		Name:       opDescribeTemplateAlias,
  5420  		HTTPMethod: "GET",
  5421  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
  5422  	}
  5423  
  5424  	if input == nil {
  5425  		input = &DescribeTemplateAliasInput{}
  5426  	}
  5427  
  5428  	output = &DescribeTemplateAliasOutput{}
  5429  	req = c.newRequest(op, input, output)
  5430  	return
  5431  }
  5432  
  5433  // DescribeTemplateAlias API operation for Amazon QuickSight.
  5434  //
  5435  // Describes the template alias for a template.
  5436  //
  5437  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5438  // with awserr.Error's Code and Message methods to get detailed information about
  5439  // the error.
  5440  //
  5441  // See the AWS API reference guide for Amazon QuickSight's
  5442  // API operation DescribeTemplateAlias for usage and error information.
  5443  //
  5444  // Returned Error Types:
  5445  //   * ThrottlingException
  5446  //   Access is throttled.
  5447  //
  5448  //   * ResourceNotFoundException
  5449  //   One or more resources can't be found.
  5450  //
  5451  //   * UnsupportedUserEditionException
  5452  //   This error indicates that you are calling an operation on an Amazon QuickSight
  5453  //   subscription where the edition doesn't include support for that operation.
  5454  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  5455  //   Not every operation and capability is available in every edition.
  5456  //
  5457  //   * InternalFailureException
  5458  //   An internal failure occurred.
  5459  //
  5460  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias
  5461  func (c *QuickSight) DescribeTemplateAlias(input *DescribeTemplateAliasInput) (*DescribeTemplateAliasOutput, error) {
  5462  	req, out := c.DescribeTemplateAliasRequest(input)
  5463  	return out, req.Send()
  5464  }
  5465  
  5466  // DescribeTemplateAliasWithContext is the same as DescribeTemplateAlias with the addition of
  5467  // the ability to pass a context and additional request options.
  5468  //
  5469  // See DescribeTemplateAlias for details on how to use this API operation.
  5470  //
  5471  // The context must be non-nil and will be used for request cancellation. If
  5472  // the context is nil a panic will occur. In the future the SDK may create
  5473  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5474  // for more information on using Contexts.
  5475  func (c *QuickSight) DescribeTemplateAliasWithContext(ctx aws.Context, input *DescribeTemplateAliasInput, opts ...request.Option) (*DescribeTemplateAliasOutput, error) {
  5476  	req, out := c.DescribeTemplateAliasRequest(input)
  5477  	req.SetContext(ctx)
  5478  	req.ApplyOptions(opts...)
  5479  	return out, req.Send()
  5480  }
  5481  
  5482  const opDescribeTemplatePermissions = "DescribeTemplatePermissions"
  5483  
  5484  // DescribeTemplatePermissionsRequest generates a "aws/request.Request" representing the
  5485  // client's request for the DescribeTemplatePermissions operation. The "output" return
  5486  // value will be populated with the request's response once the request completes
  5487  // successfully.
  5488  //
  5489  // Use "Send" method on the returned Request to send the API call to the service.
  5490  // the "output" return value is not valid until after Send returns without error.
  5491  //
  5492  // See DescribeTemplatePermissions for more information on using the DescribeTemplatePermissions
  5493  // API call, and error handling.
  5494  //
  5495  // This method is useful when you want to inject custom logic or configuration
  5496  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5497  //
  5498  //
  5499  //    // Example sending a request using the DescribeTemplatePermissionsRequest method.
  5500  //    req, resp := client.DescribeTemplatePermissionsRequest(params)
  5501  //
  5502  //    err := req.Send()
  5503  //    if err == nil { // resp is now filled
  5504  //        fmt.Println(resp)
  5505  //    }
  5506  //
  5507  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions
  5508  func (c *QuickSight) DescribeTemplatePermissionsRequest(input *DescribeTemplatePermissionsInput) (req *request.Request, output *DescribeTemplatePermissionsOutput) {
  5509  	op := &request.Operation{
  5510  		Name:       opDescribeTemplatePermissions,
  5511  		HTTPMethod: "GET",
  5512  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
  5513  	}
  5514  
  5515  	if input == nil {
  5516  		input = &DescribeTemplatePermissionsInput{}
  5517  	}
  5518  
  5519  	output = &DescribeTemplatePermissionsOutput{}
  5520  	req = c.newRequest(op, input, output)
  5521  	return
  5522  }
  5523  
  5524  // DescribeTemplatePermissions API operation for Amazon QuickSight.
  5525  //
  5526  // Describes read and write permissions on a template.
  5527  //
  5528  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5529  // with awserr.Error's Code and Message methods to get detailed information about
  5530  // the error.
  5531  //
  5532  // See the AWS API reference guide for Amazon QuickSight's
  5533  // API operation DescribeTemplatePermissions for usage and error information.
  5534  //
  5535  // Returned Error Types:
  5536  //   * ThrottlingException
  5537  //   Access is throttled.
  5538  //
  5539  //   * InvalidParameterValueException
  5540  //   One or more parameters has a value that isn't valid.
  5541  //
  5542  //   * ConflictException
  5543  //   Updating or deleting a resource can cause an inconsistent state.
  5544  //
  5545  //   * ResourceNotFoundException
  5546  //   One or more resources can't be found.
  5547  //
  5548  //   * UnsupportedUserEditionException
  5549  //   This error indicates that you are calling an operation on an Amazon QuickSight
  5550  //   subscription where the edition doesn't include support for that operation.
  5551  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  5552  //   Not every operation and capability is available in every edition.
  5553  //
  5554  //   * InternalFailureException
  5555  //   An internal failure occurred.
  5556  //
  5557  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions
  5558  func (c *QuickSight) DescribeTemplatePermissions(input *DescribeTemplatePermissionsInput) (*DescribeTemplatePermissionsOutput, error) {
  5559  	req, out := c.DescribeTemplatePermissionsRequest(input)
  5560  	return out, req.Send()
  5561  }
  5562  
  5563  // DescribeTemplatePermissionsWithContext is the same as DescribeTemplatePermissions with the addition of
  5564  // the ability to pass a context and additional request options.
  5565  //
  5566  // See DescribeTemplatePermissions for details on how to use this API operation.
  5567  //
  5568  // The context must be non-nil and will be used for request cancellation. If
  5569  // the context is nil a panic will occur. In the future the SDK may create
  5570  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5571  // for more information on using Contexts.
  5572  func (c *QuickSight) DescribeTemplatePermissionsWithContext(ctx aws.Context, input *DescribeTemplatePermissionsInput, opts ...request.Option) (*DescribeTemplatePermissionsOutput, error) {
  5573  	req, out := c.DescribeTemplatePermissionsRequest(input)
  5574  	req.SetContext(ctx)
  5575  	req.ApplyOptions(opts...)
  5576  	return out, req.Send()
  5577  }
  5578  
  5579  const opDescribeTheme = "DescribeTheme"
  5580  
  5581  // DescribeThemeRequest generates a "aws/request.Request" representing the
  5582  // client's request for the DescribeTheme operation. The "output" return
  5583  // value will be populated with the request's response once the request completes
  5584  // successfully.
  5585  //
  5586  // Use "Send" method on the returned Request to send the API call to the service.
  5587  // the "output" return value is not valid until after Send returns without error.
  5588  //
  5589  // See DescribeTheme for more information on using the DescribeTheme
  5590  // API call, and error handling.
  5591  //
  5592  // This method is useful when you want to inject custom logic or configuration
  5593  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5594  //
  5595  //
  5596  //    // Example sending a request using the DescribeThemeRequest method.
  5597  //    req, resp := client.DescribeThemeRequest(params)
  5598  //
  5599  //    err := req.Send()
  5600  //    if err == nil { // resp is now filled
  5601  //        fmt.Println(resp)
  5602  //    }
  5603  //
  5604  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme
  5605  func (c *QuickSight) DescribeThemeRequest(input *DescribeThemeInput) (req *request.Request, output *DescribeThemeOutput) {
  5606  	op := &request.Operation{
  5607  		Name:       opDescribeTheme,
  5608  		HTTPMethod: "GET",
  5609  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
  5610  	}
  5611  
  5612  	if input == nil {
  5613  		input = &DescribeThemeInput{}
  5614  	}
  5615  
  5616  	output = &DescribeThemeOutput{}
  5617  	req = c.newRequest(op, input, output)
  5618  	return
  5619  }
  5620  
  5621  // DescribeTheme API operation for Amazon QuickSight.
  5622  //
  5623  // Describes a theme.
  5624  //
  5625  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5626  // with awserr.Error's Code and Message methods to get detailed information about
  5627  // the error.
  5628  //
  5629  // See the AWS API reference guide for Amazon QuickSight's
  5630  // API operation DescribeTheme for usage and error information.
  5631  //
  5632  // Returned Error Types:
  5633  //   * AccessDeniedException
  5634  //   You don't have access to this item. The provided credentials couldn't be
  5635  //   validated. You might not be authorized to carry out the request. Make sure
  5636  //   that your account is authorized to use the Amazon QuickSight service, that
  5637  //   your policies have the correct permissions, and that you are using the correct
  5638  //   access keys.
  5639  //
  5640  //   * InvalidParameterValueException
  5641  //   One or more parameters has a value that isn't valid.
  5642  //
  5643  //   * ResourceExistsException
  5644  //   The resource specified already exists.
  5645  //
  5646  //   * ResourceNotFoundException
  5647  //   One or more resources can't be found.
  5648  //
  5649  //   * ThrottlingException
  5650  //   Access is throttled.
  5651  //
  5652  //   * UnsupportedUserEditionException
  5653  //   This error indicates that you are calling an operation on an Amazon QuickSight
  5654  //   subscription where the edition doesn't include support for that operation.
  5655  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  5656  //   Not every operation and capability is available in every edition.
  5657  //
  5658  //   * InternalFailureException
  5659  //   An internal failure occurred.
  5660  //
  5661  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme
  5662  func (c *QuickSight) DescribeTheme(input *DescribeThemeInput) (*DescribeThemeOutput, error) {
  5663  	req, out := c.DescribeThemeRequest(input)
  5664  	return out, req.Send()
  5665  }
  5666  
  5667  // DescribeThemeWithContext is the same as DescribeTheme with the addition of
  5668  // the ability to pass a context and additional request options.
  5669  //
  5670  // See DescribeTheme for details on how to use this API operation.
  5671  //
  5672  // The context must be non-nil and will be used for request cancellation. If
  5673  // the context is nil a panic will occur. In the future the SDK may create
  5674  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5675  // for more information on using Contexts.
  5676  func (c *QuickSight) DescribeThemeWithContext(ctx aws.Context, input *DescribeThemeInput, opts ...request.Option) (*DescribeThemeOutput, error) {
  5677  	req, out := c.DescribeThemeRequest(input)
  5678  	req.SetContext(ctx)
  5679  	req.ApplyOptions(opts...)
  5680  	return out, req.Send()
  5681  }
  5682  
  5683  const opDescribeThemeAlias = "DescribeThemeAlias"
  5684  
  5685  // DescribeThemeAliasRequest generates a "aws/request.Request" representing the
  5686  // client's request for the DescribeThemeAlias operation. The "output" return
  5687  // value will be populated with the request's response once the request completes
  5688  // successfully.
  5689  //
  5690  // Use "Send" method on the returned Request to send the API call to the service.
  5691  // the "output" return value is not valid until after Send returns without error.
  5692  //
  5693  // See DescribeThemeAlias for more information on using the DescribeThemeAlias
  5694  // API call, and error handling.
  5695  //
  5696  // This method is useful when you want to inject custom logic or configuration
  5697  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5698  //
  5699  //
  5700  //    // Example sending a request using the DescribeThemeAliasRequest method.
  5701  //    req, resp := client.DescribeThemeAliasRequest(params)
  5702  //
  5703  //    err := req.Send()
  5704  //    if err == nil { // resp is now filled
  5705  //        fmt.Println(resp)
  5706  //    }
  5707  //
  5708  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias
  5709  func (c *QuickSight) DescribeThemeAliasRequest(input *DescribeThemeAliasInput) (req *request.Request, output *DescribeThemeAliasOutput) {
  5710  	op := &request.Operation{
  5711  		Name:       opDescribeThemeAlias,
  5712  		HTTPMethod: "GET",
  5713  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
  5714  	}
  5715  
  5716  	if input == nil {
  5717  		input = &DescribeThemeAliasInput{}
  5718  	}
  5719  
  5720  	output = &DescribeThemeAliasOutput{}
  5721  	req = c.newRequest(op, input, output)
  5722  	return
  5723  }
  5724  
  5725  // DescribeThemeAlias API operation for Amazon QuickSight.
  5726  //
  5727  // Describes the alias for a theme.
  5728  //
  5729  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5730  // with awserr.Error's Code and Message methods to get detailed information about
  5731  // the error.
  5732  //
  5733  // See the AWS API reference guide for Amazon QuickSight's
  5734  // API operation DescribeThemeAlias for usage and error information.
  5735  //
  5736  // Returned Error Types:
  5737  //   * ConflictException
  5738  //   Updating or deleting a resource can cause an inconsistent state.
  5739  //
  5740  //   * InvalidParameterValueException
  5741  //   One or more parameters has a value that isn't valid.
  5742  //
  5743  //   * ResourceNotFoundException
  5744  //   One or more resources can't be found.
  5745  //
  5746  //   * ThrottlingException
  5747  //   Access is throttled.
  5748  //
  5749  //   * UnsupportedUserEditionException
  5750  //   This error indicates that you are calling an operation on an Amazon QuickSight
  5751  //   subscription where the edition doesn't include support for that operation.
  5752  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  5753  //   Not every operation and capability is available in every edition.
  5754  //
  5755  //   * InternalFailureException
  5756  //   An internal failure occurred.
  5757  //
  5758  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias
  5759  func (c *QuickSight) DescribeThemeAlias(input *DescribeThemeAliasInput) (*DescribeThemeAliasOutput, error) {
  5760  	req, out := c.DescribeThemeAliasRequest(input)
  5761  	return out, req.Send()
  5762  }
  5763  
  5764  // DescribeThemeAliasWithContext is the same as DescribeThemeAlias with the addition of
  5765  // the ability to pass a context and additional request options.
  5766  //
  5767  // See DescribeThemeAlias for details on how to use this API operation.
  5768  //
  5769  // The context must be non-nil and will be used for request cancellation. If
  5770  // the context is nil a panic will occur. In the future the SDK may create
  5771  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5772  // for more information on using Contexts.
  5773  func (c *QuickSight) DescribeThemeAliasWithContext(ctx aws.Context, input *DescribeThemeAliasInput, opts ...request.Option) (*DescribeThemeAliasOutput, error) {
  5774  	req, out := c.DescribeThemeAliasRequest(input)
  5775  	req.SetContext(ctx)
  5776  	req.ApplyOptions(opts...)
  5777  	return out, req.Send()
  5778  }
  5779  
  5780  const opDescribeThemePermissions = "DescribeThemePermissions"
  5781  
  5782  // DescribeThemePermissionsRequest generates a "aws/request.Request" representing the
  5783  // client's request for the DescribeThemePermissions operation. The "output" return
  5784  // value will be populated with the request's response once the request completes
  5785  // successfully.
  5786  //
  5787  // Use "Send" method on the returned Request to send the API call to the service.
  5788  // the "output" return value is not valid until after Send returns without error.
  5789  //
  5790  // See DescribeThemePermissions for more information on using the DescribeThemePermissions
  5791  // API call, and error handling.
  5792  //
  5793  // This method is useful when you want to inject custom logic or configuration
  5794  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5795  //
  5796  //
  5797  //    // Example sending a request using the DescribeThemePermissionsRequest method.
  5798  //    req, resp := client.DescribeThemePermissionsRequest(params)
  5799  //
  5800  //    err := req.Send()
  5801  //    if err == nil { // resp is now filled
  5802  //        fmt.Println(resp)
  5803  //    }
  5804  //
  5805  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions
  5806  func (c *QuickSight) DescribeThemePermissionsRequest(input *DescribeThemePermissionsInput) (req *request.Request, output *DescribeThemePermissionsOutput) {
  5807  	op := &request.Operation{
  5808  		Name:       opDescribeThemePermissions,
  5809  		HTTPMethod: "GET",
  5810  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions",
  5811  	}
  5812  
  5813  	if input == nil {
  5814  		input = &DescribeThemePermissionsInput{}
  5815  	}
  5816  
  5817  	output = &DescribeThemePermissionsOutput{}
  5818  	req = c.newRequest(op, input, output)
  5819  	return
  5820  }
  5821  
  5822  // DescribeThemePermissions API operation for Amazon QuickSight.
  5823  //
  5824  // Describes the read and write permissions for a theme.
  5825  //
  5826  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5827  // with awserr.Error's Code and Message methods to get detailed information about
  5828  // the error.
  5829  //
  5830  // See the AWS API reference guide for Amazon QuickSight's
  5831  // API operation DescribeThemePermissions for usage and error information.
  5832  //
  5833  // Returned Error Types:
  5834  //   * AccessDeniedException
  5835  //   You don't have access to this item. The provided credentials couldn't be
  5836  //   validated. You might not be authorized to carry out the request. Make sure
  5837  //   that your account is authorized to use the Amazon QuickSight service, that
  5838  //   your policies have the correct permissions, and that you are using the correct
  5839  //   access keys.
  5840  //
  5841  //   * InvalidParameterValueException
  5842  //   One or more parameters has a value that isn't valid.
  5843  //
  5844  //   * ResourceNotFoundException
  5845  //   One or more resources can't be found.
  5846  //
  5847  //   * ThrottlingException
  5848  //   Access is throttled.
  5849  //
  5850  //   * UnsupportedUserEditionException
  5851  //   This error indicates that you are calling an operation on an Amazon QuickSight
  5852  //   subscription where the edition doesn't include support for that operation.
  5853  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  5854  //   Not every operation and capability is available in every edition.
  5855  //
  5856  //   * InternalFailureException
  5857  //   An internal failure occurred.
  5858  //
  5859  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions
  5860  func (c *QuickSight) DescribeThemePermissions(input *DescribeThemePermissionsInput) (*DescribeThemePermissionsOutput, error) {
  5861  	req, out := c.DescribeThemePermissionsRequest(input)
  5862  	return out, req.Send()
  5863  }
  5864  
  5865  // DescribeThemePermissionsWithContext is the same as DescribeThemePermissions with the addition of
  5866  // the ability to pass a context and additional request options.
  5867  //
  5868  // See DescribeThemePermissions for details on how to use this API operation.
  5869  //
  5870  // The context must be non-nil and will be used for request cancellation. If
  5871  // the context is nil a panic will occur. In the future the SDK may create
  5872  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5873  // for more information on using Contexts.
  5874  func (c *QuickSight) DescribeThemePermissionsWithContext(ctx aws.Context, input *DescribeThemePermissionsInput, opts ...request.Option) (*DescribeThemePermissionsOutput, error) {
  5875  	req, out := c.DescribeThemePermissionsRequest(input)
  5876  	req.SetContext(ctx)
  5877  	req.ApplyOptions(opts...)
  5878  	return out, req.Send()
  5879  }
  5880  
  5881  const opDescribeUser = "DescribeUser"
  5882  
  5883  // DescribeUserRequest generates a "aws/request.Request" representing the
  5884  // client's request for the DescribeUser operation. The "output" return
  5885  // value will be populated with the request's response once the request completes
  5886  // successfully.
  5887  //
  5888  // Use "Send" method on the returned Request to send the API call to the service.
  5889  // the "output" return value is not valid until after Send returns without error.
  5890  //
  5891  // See DescribeUser for more information on using the DescribeUser
  5892  // API call, and error handling.
  5893  //
  5894  // This method is useful when you want to inject custom logic or configuration
  5895  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5896  //
  5897  //
  5898  //    // Example sending a request using the DescribeUserRequest method.
  5899  //    req, resp := client.DescribeUserRequest(params)
  5900  //
  5901  //    err := req.Send()
  5902  //    if err == nil { // resp is now filled
  5903  //        fmt.Println(resp)
  5904  //    }
  5905  //
  5906  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser
  5907  func (c *QuickSight) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) {
  5908  	op := &request.Operation{
  5909  		Name:       opDescribeUser,
  5910  		HTTPMethod: "GET",
  5911  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
  5912  	}
  5913  
  5914  	if input == nil {
  5915  		input = &DescribeUserInput{}
  5916  	}
  5917  
  5918  	output = &DescribeUserOutput{}
  5919  	req = c.newRequest(op, input, output)
  5920  	return
  5921  }
  5922  
  5923  // DescribeUser API operation for Amazon QuickSight.
  5924  //
  5925  // Returns information about a user, given the user name.
  5926  //
  5927  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  5928  // with awserr.Error's Code and Message methods to get detailed information about
  5929  // the error.
  5930  //
  5931  // See the AWS API reference guide for Amazon QuickSight's
  5932  // API operation DescribeUser for usage and error information.
  5933  //
  5934  // Returned Error Types:
  5935  //   * AccessDeniedException
  5936  //   You don't have access to this item. The provided credentials couldn't be
  5937  //   validated. You might not be authorized to carry out the request. Make sure
  5938  //   that your account is authorized to use the Amazon QuickSight service, that
  5939  //   your policies have the correct permissions, and that you are using the correct
  5940  //   access keys.
  5941  //
  5942  //   * InvalidParameterValueException
  5943  //   One or more parameters has a value that isn't valid.
  5944  //
  5945  //   * ResourceNotFoundException
  5946  //   One or more resources can't be found.
  5947  //
  5948  //   * ThrottlingException
  5949  //   Access is throttled.
  5950  //
  5951  //   * PreconditionNotMetException
  5952  //   One or more preconditions aren't met.
  5953  //
  5954  //   * InternalFailureException
  5955  //   An internal failure occurred.
  5956  //
  5957  //   * ResourceUnavailableException
  5958  //   This resource is currently unavailable.
  5959  //
  5960  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser
  5961  func (c *QuickSight) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) {
  5962  	req, out := c.DescribeUserRequest(input)
  5963  	return out, req.Send()
  5964  }
  5965  
  5966  // DescribeUserWithContext is the same as DescribeUser with the addition of
  5967  // the ability to pass a context and additional request options.
  5968  //
  5969  // See DescribeUser for details on how to use this API operation.
  5970  //
  5971  // The context must be non-nil and will be used for request cancellation. If
  5972  // the context is nil a panic will occur. In the future the SDK may create
  5973  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  5974  // for more information on using Contexts.
  5975  func (c *QuickSight) DescribeUserWithContext(ctx aws.Context, input *DescribeUserInput, opts ...request.Option) (*DescribeUserOutput, error) {
  5976  	req, out := c.DescribeUserRequest(input)
  5977  	req.SetContext(ctx)
  5978  	req.ApplyOptions(opts...)
  5979  	return out, req.Send()
  5980  }
  5981  
  5982  const opGenerateEmbedUrlForAnonymousUser = "GenerateEmbedUrlForAnonymousUser"
  5983  
  5984  // GenerateEmbedUrlForAnonymousUserRequest generates a "aws/request.Request" representing the
  5985  // client's request for the GenerateEmbedUrlForAnonymousUser operation. The "output" return
  5986  // value will be populated with the request's response once the request completes
  5987  // successfully.
  5988  //
  5989  // Use "Send" method on the returned Request to send the API call to the service.
  5990  // the "output" return value is not valid until after Send returns without error.
  5991  //
  5992  // See GenerateEmbedUrlForAnonymousUser for more information on using the GenerateEmbedUrlForAnonymousUser
  5993  // API call, and error handling.
  5994  //
  5995  // This method is useful when you want to inject custom logic or configuration
  5996  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  5997  //
  5998  //
  5999  //    // Example sending a request using the GenerateEmbedUrlForAnonymousUserRequest method.
  6000  //    req, resp := client.GenerateEmbedUrlForAnonymousUserRequest(params)
  6001  //
  6002  //    err := req.Send()
  6003  //    if err == nil { // resp is now filled
  6004  //        fmt.Println(resp)
  6005  //    }
  6006  //
  6007  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForAnonymousUser
  6008  func (c *QuickSight) GenerateEmbedUrlForAnonymousUserRequest(input *GenerateEmbedUrlForAnonymousUserInput) (req *request.Request, output *GenerateEmbedUrlForAnonymousUserOutput) {
  6009  	op := &request.Operation{
  6010  		Name:       opGenerateEmbedUrlForAnonymousUser,
  6011  		HTTPMethod: "POST",
  6012  		HTTPPath:   "/accounts/{AwsAccountId}/embed-url/anonymous-user",
  6013  	}
  6014  
  6015  	if input == nil {
  6016  		input = &GenerateEmbedUrlForAnonymousUserInput{}
  6017  	}
  6018  
  6019  	output = &GenerateEmbedUrlForAnonymousUserOutput{}
  6020  	req = c.newRequest(op, input, output)
  6021  	return
  6022  }
  6023  
  6024  // GenerateEmbedUrlForAnonymousUser API operation for Amazon QuickSight.
  6025  //
  6026  // Generates an embed URL that you can use to embed an Amazon QuickSight dashboard
  6027  // in your website, without having to register any reader users. Before you
  6028  // use this action, make sure that you have configured the dashboards and permissions.
  6029  //
  6030  // The following rules apply to the generated URL:
  6031  //
  6032  //    * It contains a temporary bearer token. It is valid for 5 minutes after
  6033  //    it is generated. Once redeemed within this period, it cannot be re-used
  6034  //    again.
  6035  //
  6036  //    * The URL validity period should not be confused with the actual session
  6037  //    lifetime that can be customized using the SessionLifetimeInMinutes (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes)
  6038  //    parameter. The resulting user session is valid for 15 minutes (default)
  6039  //    to 10 hours (maximum).
  6040  //
  6041  //    * You are charged only when the URL is used or there is interaction with
  6042  //    Amazon QuickSight.
  6043  //
  6044  // For more information, see Embedded Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
  6045  // in the Amazon QuickSight User Guide.
  6046  //
  6047  // For more information about the high-level steps for embedding and for an
  6048  // interactive demo of the ways you can customize embedding, visit the Amazon
  6049  // QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
  6050  //
  6051  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6052  // with awserr.Error's Code and Message methods to get detailed information about
  6053  // the error.
  6054  //
  6055  // See the AWS API reference guide for Amazon QuickSight's
  6056  // API operation GenerateEmbedUrlForAnonymousUser for usage and error information.
  6057  //
  6058  // Returned Error Types:
  6059  //   * AccessDeniedException
  6060  //   You don't have access to this item. The provided credentials couldn't be
  6061  //   validated. You might not be authorized to carry out the request. Make sure
  6062  //   that your account is authorized to use the Amazon QuickSight service, that
  6063  //   your policies have the correct permissions, and that you are using the correct
  6064  //   access keys.
  6065  //
  6066  //   * InvalidParameterValueException
  6067  //   One or more parameters has a value that isn't valid.
  6068  //
  6069  //   * ResourceNotFoundException
  6070  //   One or more resources can't be found.
  6071  //
  6072  //   * ThrottlingException
  6073  //   Access is throttled.
  6074  //
  6075  //   * SessionLifetimeInMinutesInvalidException
  6076  //   The number of minutes specified for the lifetime of a session isn't valid.
  6077  //   The session lifetime must be 15-600 minutes.
  6078  //
  6079  //   * UnsupportedUserEditionException
  6080  //   This error indicates that you are calling an operation on an Amazon QuickSight
  6081  //   subscription where the edition doesn't include support for that operation.
  6082  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  6083  //   Not every operation and capability is available in every edition.
  6084  //
  6085  //   * UnsupportedPricingPlanException
  6086  //   This error indicates that you are calling an embedding operation in Amazon
  6087  //   QuickSight without the required pricing plan on your Amazon Web Services
  6088  //   account. Before you can use embedding for anonymous users, a Amazon QuickSight
  6089  //   administrator needs to add capacity pricing to Amazon QuickSight. You can
  6090  //   do this on the Manage Amazon QuickSight page.
  6091  //
  6092  //   After capacity pricing is added, you can use the GetDashboardEmbedUrl API
  6093  //   operation with the --identity-type ANONYMOUS option.
  6094  //
  6095  //   * InternalFailureException
  6096  //   An internal failure occurred.
  6097  //
  6098  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForAnonymousUser
  6099  func (c *QuickSight) GenerateEmbedUrlForAnonymousUser(input *GenerateEmbedUrlForAnonymousUserInput) (*GenerateEmbedUrlForAnonymousUserOutput, error) {
  6100  	req, out := c.GenerateEmbedUrlForAnonymousUserRequest(input)
  6101  	return out, req.Send()
  6102  }
  6103  
  6104  // GenerateEmbedUrlForAnonymousUserWithContext is the same as GenerateEmbedUrlForAnonymousUser with the addition of
  6105  // the ability to pass a context and additional request options.
  6106  //
  6107  // See GenerateEmbedUrlForAnonymousUser for details on how to use this API operation.
  6108  //
  6109  // The context must be non-nil and will be used for request cancellation. If
  6110  // the context is nil a panic will occur. In the future the SDK may create
  6111  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6112  // for more information on using Contexts.
  6113  func (c *QuickSight) GenerateEmbedUrlForAnonymousUserWithContext(ctx aws.Context, input *GenerateEmbedUrlForAnonymousUserInput, opts ...request.Option) (*GenerateEmbedUrlForAnonymousUserOutput, error) {
  6114  	req, out := c.GenerateEmbedUrlForAnonymousUserRequest(input)
  6115  	req.SetContext(ctx)
  6116  	req.ApplyOptions(opts...)
  6117  	return out, req.Send()
  6118  }
  6119  
  6120  const opGenerateEmbedUrlForRegisteredUser = "GenerateEmbedUrlForRegisteredUser"
  6121  
  6122  // GenerateEmbedUrlForRegisteredUserRequest generates a "aws/request.Request" representing the
  6123  // client's request for the GenerateEmbedUrlForRegisteredUser operation. The "output" return
  6124  // value will be populated with the request's response once the request completes
  6125  // successfully.
  6126  //
  6127  // Use "Send" method on the returned Request to send the API call to the service.
  6128  // the "output" return value is not valid until after Send returns without error.
  6129  //
  6130  // See GenerateEmbedUrlForRegisteredUser for more information on using the GenerateEmbedUrlForRegisteredUser
  6131  // API call, and error handling.
  6132  //
  6133  // This method is useful when you want to inject custom logic or configuration
  6134  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6135  //
  6136  //
  6137  //    // Example sending a request using the GenerateEmbedUrlForRegisteredUserRequest method.
  6138  //    req, resp := client.GenerateEmbedUrlForRegisteredUserRequest(params)
  6139  //
  6140  //    err := req.Send()
  6141  //    if err == nil { // resp is now filled
  6142  //        fmt.Println(resp)
  6143  //    }
  6144  //
  6145  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForRegisteredUser
  6146  func (c *QuickSight) GenerateEmbedUrlForRegisteredUserRequest(input *GenerateEmbedUrlForRegisteredUserInput) (req *request.Request, output *GenerateEmbedUrlForRegisteredUserOutput) {
  6147  	op := &request.Operation{
  6148  		Name:       opGenerateEmbedUrlForRegisteredUser,
  6149  		HTTPMethod: "POST",
  6150  		HTTPPath:   "/accounts/{AwsAccountId}/embed-url/registered-user",
  6151  	}
  6152  
  6153  	if input == nil {
  6154  		input = &GenerateEmbedUrlForRegisteredUserInput{}
  6155  	}
  6156  
  6157  	output = &GenerateEmbedUrlForRegisteredUserOutput{}
  6158  	req = c.newRequest(op, input, output)
  6159  	return
  6160  }
  6161  
  6162  // GenerateEmbedUrlForRegisteredUser API operation for Amazon QuickSight.
  6163  //
  6164  // Generates an embed URL that you can use to embed an Amazon QuickSight experience
  6165  // in your website. This action can be used for any type of user registered
  6166  // in an Amazon QuickSight account. Before you use this action, make sure that
  6167  // you have configured the relevant Amazon QuickSight resource and permissions.
  6168  //
  6169  // The following rules apply to the generated URL:
  6170  //
  6171  //    * It contains a temporary bearer token. It is valid for 5 minutes after
  6172  //    it is generated. Once redeemed within this period, it cannot be re-used
  6173  //    again.
  6174  //
  6175  //    * The URL validity period should not be confused with the actual session
  6176  //    lifetime that can be customized using the SessionLifetimeInMinutes (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html#QS-GenerateEmbedUrlForRegisteredUser-request-SessionLifetimeInMinutes)
  6177  //    parameter. The resulting user session is valid for 15 minutes (default)
  6178  //    to 10 hours (maximum).
  6179  //
  6180  //    * You are charged only when the URL is used or there is interaction with
  6181  //    Amazon QuickSight.
  6182  //
  6183  // For more information, see Embedded Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
  6184  // in the Amazon QuickSight User Guide.
  6185  //
  6186  // For more information about the high-level steps for embedding and for an
  6187  // interactive demo of the ways you can customize embedding, visit the Amazon
  6188  // QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
  6189  //
  6190  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6191  // with awserr.Error's Code and Message methods to get detailed information about
  6192  // the error.
  6193  //
  6194  // See the AWS API reference guide for Amazon QuickSight's
  6195  // API operation GenerateEmbedUrlForRegisteredUser for usage and error information.
  6196  //
  6197  // Returned Error Types:
  6198  //   * AccessDeniedException
  6199  //   You don't have access to this item. The provided credentials couldn't be
  6200  //   validated. You might not be authorized to carry out the request. Make sure
  6201  //   that your account is authorized to use the Amazon QuickSight service, that
  6202  //   your policies have the correct permissions, and that you are using the correct
  6203  //   access keys.
  6204  //
  6205  //   * InvalidParameterValueException
  6206  //   One or more parameters has a value that isn't valid.
  6207  //
  6208  //   * UserNotFoundException
  6209  //   The user with the provided name isn't found. This error can happen in any
  6210  //   operation that requires finding a user based on a provided user name, such
  6211  //   as DeleteUser, DescribeUser, and so on.
  6212  //
  6213  //   * ResourceNotFoundException
  6214  //   One or more resources can't be found.
  6215  //
  6216  //   * SessionLifetimeInMinutesInvalidException
  6217  //   The number of minutes specified for the lifetime of a session isn't valid.
  6218  //   The session lifetime must be 15-600 minutes.
  6219  //
  6220  //   * ThrottlingException
  6221  //   Access is throttled.
  6222  //
  6223  //   * UnsupportedUserEditionException
  6224  //   This error indicates that you are calling an operation on an Amazon QuickSight
  6225  //   subscription where the edition doesn't include support for that operation.
  6226  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  6227  //   Not every operation and capability is available in every edition.
  6228  //
  6229  //   * UnsupportedPricingPlanException
  6230  //   This error indicates that you are calling an embedding operation in Amazon
  6231  //   QuickSight without the required pricing plan on your Amazon Web Services
  6232  //   account. Before you can use embedding for anonymous users, a Amazon QuickSight
  6233  //   administrator needs to add capacity pricing to Amazon QuickSight. You can
  6234  //   do this on the Manage Amazon QuickSight page.
  6235  //
  6236  //   After capacity pricing is added, you can use the GetDashboardEmbedUrl API
  6237  //   operation with the --identity-type ANONYMOUS option.
  6238  //
  6239  //   * InternalFailureException
  6240  //   An internal failure occurred.
  6241  //
  6242  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForRegisteredUser
  6243  func (c *QuickSight) GenerateEmbedUrlForRegisteredUser(input *GenerateEmbedUrlForRegisteredUserInput) (*GenerateEmbedUrlForRegisteredUserOutput, error) {
  6244  	req, out := c.GenerateEmbedUrlForRegisteredUserRequest(input)
  6245  	return out, req.Send()
  6246  }
  6247  
  6248  // GenerateEmbedUrlForRegisteredUserWithContext is the same as GenerateEmbedUrlForRegisteredUser with the addition of
  6249  // the ability to pass a context and additional request options.
  6250  //
  6251  // See GenerateEmbedUrlForRegisteredUser for details on how to use this API operation.
  6252  //
  6253  // The context must be non-nil and will be used for request cancellation. If
  6254  // the context is nil a panic will occur. In the future the SDK may create
  6255  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6256  // for more information on using Contexts.
  6257  func (c *QuickSight) GenerateEmbedUrlForRegisteredUserWithContext(ctx aws.Context, input *GenerateEmbedUrlForRegisteredUserInput, opts ...request.Option) (*GenerateEmbedUrlForRegisteredUserOutput, error) {
  6258  	req, out := c.GenerateEmbedUrlForRegisteredUserRequest(input)
  6259  	req.SetContext(ctx)
  6260  	req.ApplyOptions(opts...)
  6261  	return out, req.Send()
  6262  }
  6263  
  6264  const opGetDashboardEmbedUrl = "GetDashboardEmbedUrl"
  6265  
  6266  // GetDashboardEmbedUrlRequest generates a "aws/request.Request" representing the
  6267  // client's request for the GetDashboardEmbedUrl operation. The "output" return
  6268  // value will be populated with the request's response once the request completes
  6269  // successfully.
  6270  //
  6271  // Use "Send" method on the returned Request to send the API call to the service.
  6272  // the "output" return value is not valid until after Send returns without error.
  6273  //
  6274  // See GetDashboardEmbedUrl for more information on using the GetDashboardEmbedUrl
  6275  // API call, and error handling.
  6276  //
  6277  // This method is useful when you want to inject custom logic or configuration
  6278  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6279  //
  6280  //
  6281  //    // Example sending a request using the GetDashboardEmbedUrlRequest method.
  6282  //    req, resp := client.GetDashboardEmbedUrlRequest(params)
  6283  //
  6284  //    err := req.Send()
  6285  //    if err == nil { // resp is now filled
  6286  //        fmt.Println(resp)
  6287  //    }
  6288  //
  6289  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl
  6290  func (c *QuickSight) GetDashboardEmbedUrlRequest(input *GetDashboardEmbedUrlInput) (req *request.Request, output *GetDashboardEmbedUrlOutput) {
  6291  	op := &request.Operation{
  6292  		Name:       opGetDashboardEmbedUrl,
  6293  		HTTPMethod: "GET",
  6294  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url",
  6295  	}
  6296  
  6297  	if input == nil {
  6298  		input = &GetDashboardEmbedUrlInput{}
  6299  	}
  6300  
  6301  	output = &GetDashboardEmbedUrlOutput{}
  6302  	req = c.newRequest(op, input, output)
  6303  	return
  6304  }
  6305  
  6306  // GetDashboardEmbedUrl API operation for Amazon QuickSight.
  6307  //
  6308  // Generates a session URL and authorization code that you can use to embed
  6309  // an Amazon Amazon QuickSight read-only dashboard in your web server code.
  6310  // Before you use this command, make sure that you have configured the dashboards
  6311  // and permissions.
  6312  //
  6313  // Currently, you can use GetDashboardEmbedURL only from the server, not from
  6314  // the user's browser. The following rules apply to the combination of URL and
  6315  // authorization code:
  6316  //
  6317  //    * They must be used together.
  6318  //
  6319  //    * They can be used one time only.
  6320  //
  6321  //    * They are valid for 5 minutes after you run this command.
  6322  //
  6323  //    * The resulting user session is valid for 10 hours.
  6324  //
  6325  // For more information, see Embedding Analytics Using GetDashboardEmbedUrl
  6326  // (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-deprecated.html)
  6327  // in the Amazon QuickSight User Guide.
  6328  //
  6329  // For more information about the high-level steps for embedding and for an
  6330  // interactive demo of the ways you can customize embedding, visit the Amazon
  6331  // QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
  6332  //
  6333  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6334  // with awserr.Error's Code and Message methods to get detailed information about
  6335  // the error.
  6336  //
  6337  // See the AWS API reference guide for Amazon QuickSight's
  6338  // API operation GetDashboardEmbedUrl for usage and error information.
  6339  //
  6340  // Returned Error Types:
  6341  //   * AccessDeniedException
  6342  //   You don't have access to this item. The provided credentials couldn't be
  6343  //   validated. You might not be authorized to carry out the request. Make sure
  6344  //   that your account is authorized to use the Amazon QuickSight service, that
  6345  //   your policies have the correct permissions, and that you are using the correct
  6346  //   access keys.
  6347  //
  6348  //   * InvalidParameterValueException
  6349  //   One or more parameters has a value that isn't valid.
  6350  //
  6351  //   * ResourceExistsException
  6352  //   The resource specified already exists.
  6353  //
  6354  //   * ResourceNotFoundException
  6355  //   One or more resources can't be found.
  6356  //
  6357  //   * ThrottlingException
  6358  //   Access is throttled.
  6359  //
  6360  //   * DomainNotWhitelistedException
  6361  //   The domain specified isn't on the allow list. All domains for embedded dashboards
  6362  //   must be added to the approved list by an Amazon QuickSight admin.
  6363  //
  6364  //   * UserNotFoundException
  6365  //   The user with the provided name isn't found. This error can happen in any
  6366  //   operation that requires finding a user based on a provided user name, such
  6367  //   as DeleteUser, DescribeUser, and so on.
  6368  //
  6369  //   * IdentityTypeNotSupportedException
  6370  //   The identity type specified isn't supported. Supported identity types include
  6371  //   IAM and QUICKSIGHT.
  6372  //
  6373  //   * SessionLifetimeInMinutesInvalidException
  6374  //   The number of minutes specified for the lifetime of a session isn't valid.
  6375  //   The session lifetime must be 15-600 minutes.
  6376  //
  6377  //   * UnsupportedUserEditionException
  6378  //   This error indicates that you are calling an operation on an Amazon QuickSight
  6379  //   subscription where the edition doesn't include support for that operation.
  6380  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  6381  //   Not every operation and capability is available in every edition.
  6382  //
  6383  //   * UnsupportedPricingPlanException
  6384  //   This error indicates that you are calling an embedding operation in Amazon
  6385  //   QuickSight without the required pricing plan on your Amazon Web Services
  6386  //   account. Before you can use embedding for anonymous users, a Amazon QuickSight
  6387  //   administrator needs to add capacity pricing to Amazon QuickSight. You can
  6388  //   do this on the Manage Amazon QuickSight page.
  6389  //
  6390  //   After capacity pricing is added, you can use the GetDashboardEmbedUrl API
  6391  //   operation with the --identity-type ANONYMOUS option.
  6392  //
  6393  //   * InternalFailureException
  6394  //   An internal failure occurred.
  6395  //
  6396  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl
  6397  func (c *QuickSight) GetDashboardEmbedUrl(input *GetDashboardEmbedUrlInput) (*GetDashboardEmbedUrlOutput, error) {
  6398  	req, out := c.GetDashboardEmbedUrlRequest(input)
  6399  	return out, req.Send()
  6400  }
  6401  
  6402  // GetDashboardEmbedUrlWithContext is the same as GetDashboardEmbedUrl with the addition of
  6403  // the ability to pass a context and additional request options.
  6404  //
  6405  // See GetDashboardEmbedUrl for details on how to use this API operation.
  6406  //
  6407  // The context must be non-nil and will be used for request cancellation. If
  6408  // the context is nil a panic will occur. In the future the SDK may create
  6409  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6410  // for more information on using Contexts.
  6411  func (c *QuickSight) GetDashboardEmbedUrlWithContext(ctx aws.Context, input *GetDashboardEmbedUrlInput, opts ...request.Option) (*GetDashboardEmbedUrlOutput, error) {
  6412  	req, out := c.GetDashboardEmbedUrlRequest(input)
  6413  	req.SetContext(ctx)
  6414  	req.ApplyOptions(opts...)
  6415  	return out, req.Send()
  6416  }
  6417  
  6418  const opGetSessionEmbedUrl = "GetSessionEmbedUrl"
  6419  
  6420  // GetSessionEmbedUrlRequest generates a "aws/request.Request" representing the
  6421  // client's request for the GetSessionEmbedUrl operation. The "output" return
  6422  // value will be populated with the request's response once the request completes
  6423  // successfully.
  6424  //
  6425  // Use "Send" method on the returned Request to send the API call to the service.
  6426  // the "output" return value is not valid until after Send returns without error.
  6427  //
  6428  // See GetSessionEmbedUrl for more information on using the GetSessionEmbedUrl
  6429  // API call, and error handling.
  6430  //
  6431  // This method is useful when you want to inject custom logic or configuration
  6432  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6433  //
  6434  //
  6435  //    // Example sending a request using the GetSessionEmbedUrlRequest method.
  6436  //    req, resp := client.GetSessionEmbedUrlRequest(params)
  6437  //
  6438  //    err := req.Send()
  6439  //    if err == nil { // resp is now filled
  6440  //        fmt.Println(resp)
  6441  //    }
  6442  //
  6443  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetSessionEmbedUrl
  6444  func (c *QuickSight) GetSessionEmbedUrlRequest(input *GetSessionEmbedUrlInput) (req *request.Request, output *GetSessionEmbedUrlOutput) {
  6445  	op := &request.Operation{
  6446  		Name:       opGetSessionEmbedUrl,
  6447  		HTTPMethod: "GET",
  6448  		HTTPPath:   "/accounts/{AwsAccountId}/session-embed-url",
  6449  	}
  6450  
  6451  	if input == nil {
  6452  		input = &GetSessionEmbedUrlInput{}
  6453  	}
  6454  
  6455  	output = &GetSessionEmbedUrlOutput{}
  6456  	req = c.newRequest(op, input, output)
  6457  	return
  6458  }
  6459  
  6460  // GetSessionEmbedUrl API operation for Amazon QuickSight.
  6461  //
  6462  // Generates a session URL and authorization code that you can use to embed
  6463  // the Amazon Amazon QuickSight console in your web server code. Use GetSessionEmbedUrl
  6464  // where you want to provide an authoring portal that allows users to create
  6465  // data sources, datasets, analyses, and dashboards. The users who access an
  6466  // embedded Amazon QuickSight console need belong to the author or admin security
  6467  // cohort. If you want to restrict permissions to some of these features, add
  6468  // a custom permissions profile to the user with the UpdateUser API operation.
  6469  // Use RegisterUser API operation to add a new user with a custom permission
  6470  // profile attached. For more information, see the following sections in the
  6471  // Amazon QuickSight User Guide:
  6472  //
  6473  //    * Embedding Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
  6474  //
  6475  //    * Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
  6476  //
  6477  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6478  // with awserr.Error's Code and Message methods to get detailed information about
  6479  // the error.
  6480  //
  6481  // See the AWS API reference guide for Amazon QuickSight's
  6482  // API operation GetSessionEmbedUrl for usage and error information.
  6483  //
  6484  // Returned Error Types:
  6485  //   * AccessDeniedException
  6486  //   You don't have access to this item. The provided credentials couldn't be
  6487  //   validated. You might not be authorized to carry out the request. Make sure
  6488  //   that your account is authorized to use the Amazon QuickSight service, that
  6489  //   your policies have the correct permissions, and that you are using the correct
  6490  //   access keys.
  6491  //
  6492  //   * InvalidParameterValueException
  6493  //   One or more parameters has a value that isn't valid.
  6494  //
  6495  //   * ResourceExistsException
  6496  //   The resource specified already exists.
  6497  //
  6498  //   * ResourceNotFoundException
  6499  //   One or more resources can't be found.
  6500  //
  6501  //   * ThrottlingException
  6502  //   Access is throttled.
  6503  //
  6504  //   * UserNotFoundException
  6505  //   The user with the provided name isn't found. This error can happen in any
  6506  //   operation that requires finding a user based on a provided user name, such
  6507  //   as DeleteUser, DescribeUser, and so on.
  6508  //
  6509  //   * SessionLifetimeInMinutesInvalidException
  6510  //   The number of minutes specified for the lifetime of a session isn't valid.
  6511  //   The session lifetime must be 15-600 minutes.
  6512  //
  6513  //   * UnsupportedUserEditionException
  6514  //   This error indicates that you are calling an operation on an Amazon QuickSight
  6515  //   subscription where the edition doesn't include support for that operation.
  6516  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  6517  //   Not every operation and capability is available in every edition.
  6518  //
  6519  //   * InternalFailureException
  6520  //   An internal failure occurred.
  6521  //
  6522  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetSessionEmbedUrl
  6523  func (c *QuickSight) GetSessionEmbedUrl(input *GetSessionEmbedUrlInput) (*GetSessionEmbedUrlOutput, error) {
  6524  	req, out := c.GetSessionEmbedUrlRequest(input)
  6525  	return out, req.Send()
  6526  }
  6527  
  6528  // GetSessionEmbedUrlWithContext is the same as GetSessionEmbedUrl with the addition of
  6529  // the ability to pass a context and additional request options.
  6530  //
  6531  // See GetSessionEmbedUrl for details on how to use this API operation.
  6532  //
  6533  // The context must be non-nil and will be used for request cancellation. If
  6534  // the context is nil a panic will occur. In the future the SDK may create
  6535  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6536  // for more information on using Contexts.
  6537  func (c *QuickSight) GetSessionEmbedUrlWithContext(ctx aws.Context, input *GetSessionEmbedUrlInput, opts ...request.Option) (*GetSessionEmbedUrlOutput, error) {
  6538  	req, out := c.GetSessionEmbedUrlRequest(input)
  6539  	req.SetContext(ctx)
  6540  	req.ApplyOptions(opts...)
  6541  	return out, req.Send()
  6542  }
  6543  
  6544  const opListAnalyses = "ListAnalyses"
  6545  
  6546  // ListAnalysesRequest generates a "aws/request.Request" representing the
  6547  // client's request for the ListAnalyses operation. The "output" return
  6548  // value will be populated with the request's response once the request completes
  6549  // successfully.
  6550  //
  6551  // Use "Send" method on the returned Request to send the API call to the service.
  6552  // the "output" return value is not valid until after Send returns without error.
  6553  //
  6554  // See ListAnalyses for more information on using the ListAnalyses
  6555  // API call, and error handling.
  6556  //
  6557  // This method is useful when you want to inject custom logic or configuration
  6558  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6559  //
  6560  //
  6561  //    // Example sending a request using the ListAnalysesRequest method.
  6562  //    req, resp := client.ListAnalysesRequest(params)
  6563  //
  6564  //    err := req.Send()
  6565  //    if err == nil { // resp is now filled
  6566  //        fmt.Println(resp)
  6567  //    }
  6568  //
  6569  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListAnalyses
  6570  func (c *QuickSight) ListAnalysesRequest(input *ListAnalysesInput) (req *request.Request, output *ListAnalysesOutput) {
  6571  	op := &request.Operation{
  6572  		Name:       opListAnalyses,
  6573  		HTTPMethod: "GET",
  6574  		HTTPPath:   "/accounts/{AwsAccountId}/analyses",
  6575  		Paginator: &request.Paginator{
  6576  			InputTokens:     []string{"NextToken"},
  6577  			OutputTokens:    []string{"NextToken"},
  6578  			LimitToken:      "MaxResults",
  6579  			TruncationToken: "",
  6580  		},
  6581  	}
  6582  
  6583  	if input == nil {
  6584  		input = &ListAnalysesInput{}
  6585  	}
  6586  
  6587  	output = &ListAnalysesOutput{}
  6588  	req = c.newRequest(op, input, output)
  6589  	return
  6590  }
  6591  
  6592  // ListAnalyses API operation for Amazon QuickSight.
  6593  //
  6594  // Lists Amazon QuickSight analyses that exist in the specified Amazon Web Services
  6595  // account.
  6596  //
  6597  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6598  // with awserr.Error's Code and Message methods to get detailed information about
  6599  // the error.
  6600  //
  6601  // See the AWS API reference guide for Amazon QuickSight's
  6602  // API operation ListAnalyses for usage and error information.
  6603  //
  6604  // Returned Error Types:
  6605  //   * ThrottlingException
  6606  //   Access is throttled.
  6607  //
  6608  //   * InvalidNextTokenException
  6609  //   The NextToken value isn't valid.
  6610  //
  6611  //   * UnsupportedUserEditionException
  6612  //   This error indicates that you are calling an operation on an Amazon QuickSight
  6613  //   subscription where the edition doesn't include support for that operation.
  6614  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  6615  //   Not every operation and capability is available in every edition.
  6616  //
  6617  //   * InternalFailureException
  6618  //   An internal failure occurred.
  6619  //
  6620  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListAnalyses
  6621  func (c *QuickSight) ListAnalyses(input *ListAnalysesInput) (*ListAnalysesOutput, error) {
  6622  	req, out := c.ListAnalysesRequest(input)
  6623  	return out, req.Send()
  6624  }
  6625  
  6626  // ListAnalysesWithContext is the same as ListAnalyses with the addition of
  6627  // the ability to pass a context and additional request options.
  6628  //
  6629  // See ListAnalyses for details on how to use this API operation.
  6630  //
  6631  // The context must be non-nil and will be used for request cancellation. If
  6632  // the context is nil a panic will occur. In the future the SDK may create
  6633  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6634  // for more information on using Contexts.
  6635  func (c *QuickSight) ListAnalysesWithContext(ctx aws.Context, input *ListAnalysesInput, opts ...request.Option) (*ListAnalysesOutput, error) {
  6636  	req, out := c.ListAnalysesRequest(input)
  6637  	req.SetContext(ctx)
  6638  	req.ApplyOptions(opts...)
  6639  	return out, req.Send()
  6640  }
  6641  
  6642  // ListAnalysesPages iterates over the pages of a ListAnalyses operation,
  6643  // calling the "fn" function with the response data for each page. To stop
  6644  // iterating, return false from the fn function.
  6645  //
  6646  // See ListAnalyses method for more information on how to use this operation.
  6647  //
  6648  // Note: This operation can generate multiple requests to a service.
  6649  //
  6650  //    // Example iterating over at most 3 pages of a ListAnalyses operation.
  6651  //    pageNum := 0
  6652  //    err := client.ListAnalysesPages(params,
  6653  //        func(page *quicksight.ListAnalysesOutput, lastPage bool) bool {
  6654  //            pageNum++
  6655  //            fmt.Println(page)
  6656  //            return pageNum <= 3
  6657  //        })
  6658  //
  6659  func (c *QuickSight) ListAnalysesPages(input *ListAnalysesInput, fn func(*ListAnalysesOutput, bool) bool) error {
  6660  	return c.ListAnalysesPagesWithContext(aws.BackgroundContext(), input, fn)
  6661  }
  6662  
  6663  // ListAnalysesPagesWithContext same as ListAnalysesPages except
  6664  // it takes a Context and allows setting request options on the pages.
  6665  //
  6666  // The context must be non-nil and will be used for request cancellation. If
  6667  // the context is nil a panic will occur. In the future the SDK may create
  6668  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6669  // for more information on using Contexts.
  6670  func (c *QuickSight) ListAnalysesPagesWithContext(ctx aws.Context, input *ListAnalysesInput, fn func(*ListAnalysesOutput, bool) bool, opts ...request.Option) error {
  6671  	p := request.Pagination{
  6672  		NewRequest: func() (*request.Request, error) {
  6673  			var inCpy *ListAnalysesInput
  6674  			if input != nil {
  6675  				tmp := *input
  6676  				inCpy = &tmp
  6677  			}
  6678  			req, _ := c.ListAnalysesRequest(inCpy)
  6679  			req.SetContext(ctx)
  6680  			req.ApplyOptions(opts...)
  6681  			return req, nil
  6682  		},
  6683  	}
  6684  
  6685  	for p.Next() {
  6686  		if !fn(p.Page().(*ListAnalysesOutput), !p.HasNextPage()) {
  6687  			break
  6688  		}
  6689  	}
  6690  
  6691  	return p.Err()
  6692  }
  6693  
  6694  const opListDashboardVersions = "ListDashboardVersions"
  6695  
  6696  // ListDashboardVersionsRequest generates a "aws/request.Request" representing the
  6697  // client's request for the ListDashboardVersions operation. The "output" return
  6698  // value will be populated with the request's response once the request completes
  6699  // successfully.
  6700  //
  6701  // Use "Send" method on the returned Request to send the API call to the service.
  6702  // the "output" return value is not valid until after Send returns without error.
  6703  //
  6704  // See ListDashboardVersions for more information on using the ListDashboardVersions
  6705  // API call, and error handling.
  6706  //
  6707  // This method is useful when you want to inject custom logic or configuration
  6708  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6709  //
  6710  //
  6711  //    // Example sending a request using the ListDashboardVersionsRequest method.
  6712  //    req, resp := client.ListDashboardVersionsRequest(params)
  6713  //
  6714  //    err := req.Send()
  6715  //    if err == nil { // resp is now filled
  6716  //        fmt.Println(resp)
  6717  //    }
  6718  //
  6719  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions
  6720  func (c *QuickSight) ListDashboardVersionsRequest(input *ListDashboardVersionsInput) (req *request.Request, output *ListDashboardVersionsOutput) {
  6721  	op := &request.Operation{
  6722  		Name:       opListDashboardVersions,
  6723  		HTTPMethod: "GET",
  6724  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions",
  6725  		Paginator: &request.Paginator{
  6726  			InputTokens:     []string{"NextToken"},
  6727  			OutputTokens:    []string{"NextToken"},
  6728  			LimitToken:      "MaxResults",
  6729  			TruncationToken: "",
  6730  		},
  6731  	}
  6732  
  6733  	if input == nil {
  6734  		input = &ListDashboardVersionsInput{}
  6735  	}
  6736  
  6737  	output = &ListDashboardVersionsOutput{}
  6738  	req = c.newRequest(op, input, output)
  6739  	return
  6740  }
  6741  
  6742  // ListDashboardVersions API operation for Amazon QuickSight.
  6743  //
  6744  // Lists all the versions of the dashboards in the Amazon QuickSight subscription.
  6745  //
  6746  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6747  // with awserr.Error's Code and Message methods to get detailed information about
  6748  // the error.
  6749  //
  6750  // See the AWS API reference guide for Amazon QuickSight's
  6751  // API operation ListDashboardVersions for usage and error information.
  6752  //
  6753  // Returned Error Types:
  6754  //   * InvalidParameterValueException
  6755  //   One or more parameters has a value that isn't valid.
  6756  //
  6757  //   * ResourceNotFoundException
  6758  //   One or more resources can't be found.
  6759  //
  6760  //   * ThrottlingException
  6761  //   Access is throttled.
  6762  //
  6763  //   * InvalidNextTokenException
  6764  //   The NextToken value isn't valid.
  6765  //
  6766  //   * UnsupportedUserEditionException
  6767  //   This error indicates that you are calling an operation on an Amazon QuickSight
  6768  //   subscription where the edition doesn't include support for that operation.
  6769  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  6770  //   Not every operation and capability is available in every edition.
  6771  //
  6772  //   * InternalFailureException
  6773  //   An internal failure occurred.
  6774  //
  6775  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions
  6776  func (c *QuickSight) ListDashboardVersions(input *ListDashboardVersionsInput) (*ListDashboardVersionsOutput, error) {
  6777  	req, out := c.ListDashboardVersionsRequest(input)
  6778  	return out, req.Send()
  6779  }
  6780  
  6781  // ListDashboardVersionsWithContext is the same as ListDashboardVersions with the addition of
  6782  // the ability to pass a context and additional request options.
  6783  //
  6784  // See ListDashboardVersions for details on how to use this API operation.
  6785  //
  6786  // The context must be non-nil and will be used for request cancellation. If
  6787  // the context is nil a panic will occur. In the future the SDK may create
  6788  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6789  // for more information on using Contexts.
  6790  func (c *QuickSight) ListDashboardVersionsWithContext(ctx aws.Context, input *ListDashboardVersionsInput, opts ...request.Option) (*ListDashboardVersionsOutput, error) {
  6791  	req, out := c.ListDashboardVersionsRequest(input)
  6792  	req.SetContext(ctx)
  6793  	req.ApplyOptions(opts...)
  6794  	return out, req.Send()
  6795  }
  6796  
  6797  // ListDashboardVersionsPages iterates over the pages of a ListDashboardVersions operation,
  6798  // calling the "fn" function with the response data for each page. To stop
  6799  // iterating, return false from the fn function.
  6800  //
  6801  // See ListDashboardVersions method for more information on how to use this operation.
  6802  //
  6803  // Note: This operation can generate multiple requests to a service.
  6804  //
  6805  //    // Example iterating over at most 3 pages of a ListDashboardVersions operation.
  6806  //    pageNum := 0
  6807  //    err := client.ListDashboardVersionsPages(params,
  6808  //        func(page *quicksight.ListDashboardVersionsOutput, lastPage bool) bool {
  6809  //            pageNum++
  6810  //            fmt.Println(page)
  6811  //            return pageNum <= 3
  6812  //        })
  6813  //
  6814  func (c *QuickSight) ListDashboardVersionsPages(input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool) error {
  6815  	return c.ListDashboardVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
  6816  }
  6817  
  6818  // ListDashboardVersionsPagesWithContext same as ListDashboardVersionsPages except
  6819  // it takes a Context and allows setting request options on the pages.
  6820  //
  6821  // The context must be non-nil and will be used for request cancellation. If
  6822  // the context is nil a panic will occur. In the future the SDK may create
  6823  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6824  // for more information on using Contexts.
  6825  func (c *QuickSight) ListDashboardVersionsPagesWithContext(ctx aws.Context, input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool, opts ...request.Option) error {
  6826  	p := request.Pagination{
  6827  		NewRequest: func() (*request.Request, error) {
  6828  			var inCpy *ListDashboardVersionsInput
  6829  			if input != nil {
  6830  				tmp := *input
  6831  				inCpy = &tmp
  6832  			}
  6833  			req, _ := c.ListDashboardVersionsRequest(inCpy)
  6834  			req.SetContext(ctx)
  6835  			req.ApplyOptions(opts...)
  6836  			return req, nil
  6837  		},
  6838  	}
  6839  
  6840  	for p.Next() {
  6841  		if !fn(p.Page().(*ListDashboardVersionsOutput), !p.HasNextPage()) {
  6842  			break
  6843  		}
  6844  	}
  6845  
  6846  	return p.Err()
  6847  }
  6848  
  6849  const opListDashboards = "ListDashboards"
  6850  
  6851  // ListDashboardsRequest generates a "aws/request.Request" representing the
  6852  // client's request for the ListDashboards operation. The "output" return
  6853  // value will be populated with the request's response once the request completes
  6854  // successfully.
  6855  //
  6856  // Use "Send" method on the returned Request to send the API call to the service.
  6857  // the "output" return value is not valid until after Send returns without error.
  6858  //
  6859  // See ListDashboards for more information on using the ListDashboards
  6860  // API call, and error handling.
  6861  //
  6862  // This method is useful when you want to inject custom logic or configuration
  6863  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  6864  //
  6865  //
  6866  //    // Example sending a request using the ListDashboardsRequest method.
  6867  //    req, resp := client.ListDashboardsRequest(params)
  6868  //
  6869  //    err := req.Send()
  6870  //    if err == nil { // resp is now filled
  6871  //        fmt.Println(resp)
  6872  //    }
  6873  //
  6874  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards
  6875  func (c *QuickSight) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput) {
  6876  	op := &request.Operation{
  6877  		Name:       opListDashboards,
  6878  		HTTPMethod: "GET",
  6879  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards",
  6880  		Paginator: &request.Paginator{
  6881  			InputTokens:     []string{"NextToken"},
  6882  			OutputTokens:    []string{"NextToken"},
  6883  			LimitToken:      "MaxResults",
  6884  			TruncationToken: "",
  6885  		},
  6886  	}
  6887  
  6888  	if input == nil {
  6889  		input = &ListDashboardsInput{}
  6890  	}
  6891  
  6892  	output = &ListDashboardsOutput{}
  6893  	req = c.newRequest(op, input, output)
  6894  	return
  6895  }
  6896  
  6897  // ListDashboards API operation for Amazon QuickSight.
  6898  //
  6899  // Lists dashboards in an Amazon Web Services account.
  6900  //
  6901  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  6902  // with awserr.Error's Code and Message methods to get detailed information about
  6903  // the error.
  6904  //
  6905  // See the AWS API reference guide for Amazon QuickSight's
  6906  // API operation ListDashboards for usage and error information.
  6907  //
  6908  // Returned Error Types:
  6909  //   * ThrottlingException
  6910  //   Access is throttled.
  6911  //
  6912  //   * InvalidNextTokenException
  6913  //   The NextToken value isn't valid.
  6914  //
  6915  //   * UnsupportedUserEditionException
  6916  //   This error indicates that you are calling an operation on an Amazon QuickSight
  6917  //   subscription where the edition doesn't include support for that operation.
  6918  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  6919  //   Not every operation and capability is available in every edition.
  6920  //
  6921  //   * InternalFailureException
  6922  //   An internal failure occurred.
  6923  //
  6924  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards
  6925  func (c *QuickSight) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error) {
  6926  	req, out := c.ListDashboardsRequest(input)
  6927  	return out, req.Send()
  6928  }
  6929  
  6930  // ListDashboardsWithContext is the same as ListDashboards with the addition of
  6931  // the ability to pass a context and additional request options.
  6932  //
  6933  // See ListDashboards for details on how to use this API operation.
  6934  //
  6935  // The context must be non-nil and will be used for request cancellation. If
  6936  // the context is nil a panic will occur. In the future the SDK may create
  6937  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6938  // for more information on using Contexts.
  6939  func (c *QuickSight) ListDashboardsWithContext(ctx aws.Context, input *ListDashboardsInput, opts ...request.Option) (*ListDashboardsOutput, error) {
  6940  	req, out := c.ListDashboardsRequest(input)
  6941  	req.SetContext(ctx)
  6942  	req.ApplyOptions(opts...)
  6943  	return out, req.Send()
  6944  }
  6945  
  6946  // ListDashboardsPages iterates over the pages of a ListDashboards operation,
  6947  // calling the "fn" function with the response data for each page. To stop
  6948  // iterating, return false from the fn function.
  6949  //
  6950  // See ListDashboards method for more information on how to use this operation.
  6951  //
  6952  // Note: This operation can generate multiple requests to a service.
  6953  //
  6954  //    // Example iterating over at most 3 pages of a ListDashboards operation.
  6955  //    pageNum := 0
  6956  //    err := client.ListDashboardsPages(params,
  6957  //        func(page *quicksight.ListDashboardsOutput, lastPage bool) bool {
  6958  //            pageNum++
  6959  //            fmt.Println(page)
  6960  //            return pageNum <= 3
  6961  //        })
  6962  //
  6963  func (c *QuickSight) ListDashboardsPages(input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool) error {
  6964  	return c.ListDashboardsPagesWithContext(aws.BackgroundContext(), input, fn)
  6965  }
  6966  
  6967  // ListDashboardsPagesWithContext same as ListDashboardsPages except
  6968  // it takes a Context and allows setting request options on the pages.
  6969  //
  6970  // The context must be non-nil and will be used for request cancellation. If
  6971  // the context is nil a panic will occur. In the future the SDK may create
  6972  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  6973  // for more information on using Contexts.
  6974  func (c *QuickSight) ListDashboardsPagesWithContext(ctx aws.Context, input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool, opts ...request.Option) error {
  6975  	p := request.Pagination{
  6976  		NewRequest: func() (*request.Request, error) {
  6977  			var inCpy *ListDashboardsInput
  6978  			if input != nil {
  6979  				tmp := *input
  6980  				inCpy = &tmp
  6981  			}
  6982  			req, _ := c.ListDashboardsRequest(inCpy)
  6983  			req.SetContext(ctx)
  6984  			req.ApplyOptions(opts...)
  6985  			return req, nil
  6986  		},
  6987  	}
  6988  
  6989  	for p.Next() {
  6990  		if !fn(p.Page().(*ListDashboardsOutput), !p.HasNextPage()) {
  6991  			break
  6992  		}
  6993  	}
  6994  
  6995  	return p.Err()
  6996  }
  6997  
  6998  const opListDataSets = "ListDataSets"
  6999  
  7000  // ListDataSetsRequest generates a "aws/request.Request" representing the
  7001  // client's request for the ListDataSets operation. The "output" return
  7002  // value will be populated with the request's response once the request completes
  7003  // successfully.
  7004  //
  7005  // Use "Send" method on the returned Request to send the API call to the service.
  7006  // the "output" return value is not valid until after Send returns without error.
  7007  //
  7008  // See ListDataSets for more information on using the ListDataSets
  7009  // API call, and error handling.
  7010  //
  7011  // This method is useful when you want to inject custom logic or configuration
  7012  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7013  //
  7014  //
  7015  //    // Example sending a request using the ListDataSetsRequest method.
  7016  //    req, resp := client.ListDataSetsRequest(params)
  7017  //
  7018  //    err := req.Send()
  7019  //    if err == nil { // resp is now filled
  7020  //        fmt.Println(resp)
  7021  //    }
  7022  //
  7023  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets
  7024  func (c *QuickSight) ListDataSetsRequest(input *ListDataSetsInput) (req *request.Request, output *ListDataSetsOutput) {
  7025  	op := &request.Operation{
  7026  		Name:       opListDataSets,
  7027  		HTTPMethod: "GET",
  7028  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets",
  7029  		Paginator: &request.Paginator{
  7030  			InputTokens:     []string{"NextToken"},
  7031  			OutputTokens:    []string{"NextToken"},
  7032  			LimitToken:      "MaxResults",
  7033  			TruncationToken: "",
  7034  		},
  7035  	}
  7036  
  7037  	if input == nil {
  7038  		input = &ListDataSetsInput{}
  7039  	}
  7040  
  7041  	output = &ListDataSetsOutput{}
  7042  	req = c.newRequest(op, input, output)
  7043  	return
  7044  }
  7045  
  7046  // ListDataSets API operation for Amazon QuickSight.
  7047  //
  7048  // Lists all of the datasets belonging to the current Amazon Web Services account
  7049  // in an Amazon Web Services Region;.
  7050  //
  7051  // The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/*.
  7052  //
  7053  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7054  // with awserr.Error's Code and Message methods to get detailed information about
  7055  // the error.
  7056  //
  7057  // See the AWS API reference guide for Amazon QuickSight's
  7058  // API operation ListDataSets for usage and error information.
  7059  //
  7060  // Returned Error Types:
  7061  //   * AccessDeniedException
  7062  //   You don't have access to this item. The provided credentials couldn't be
  7063  //   validated. You might not be authorized to carry out the request. Make sure
  7064  //   that your account is authorized to use the Amazon QuickSight service, that
  7065  //   your policies have the correct permissions, and that you are using the correct
  7066  //   access keys.
  7067  //
  7068  //   * InvalidParameterValueException
  7069  //   One or more parameters has a value that isn't valid.
  7070  //
  7071  //   * ThrottlingException
  7072  //   Access is throttled.
  7073  //
  7074  //   * InvalidNextTokenException
  7075  //   The NextToken value isn't valid.
  7076  //
  7077  //   * InternalFailureException
  7078  //   An internal failure occurred.
  7079  //
  7080  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets
  7081  func (c *QuickSight) ListDataSets(input *ListDataSetsInput) (*ListDataSetsOutput, error) {
  7082  	req, out := c.ListDataSetsRequest(input)
  7083  	return out, req.Send()
  7084  }
  7085  
  7086  // ListDataSetsWithContext is the same as ListDataSets with the addition of
  7087  // the ability to pass a context and additional request options.
  7088  //
  7089  // See ListDataSets for details on how to use this API operation.
  7090  //
  7091  // The context must be non-nil and will be used for request cancellation. If
  7092  // the context is nil a panic will occur. In the future the SDK may create
  7093  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7094  // for more information on using Contexts.
  7095  func (c *QuickSight) ListDataSetsWithContext(ctx aws.Context, input *ListDataSetsInput, opts ...request.Option) (*ListDataSetsOutput, error) {
  7096  	req, out := c.ListDataSetsRequest(input)
  7097  	req.SetContext(ctx)
  7098  	req.ApplyOptions(opts...)
  7099  	return out, req.Send()
  7100  }
  7101  
  7102  // ListDataSetsPages iterates over the pages of a ListDataSets operation,
  7103  // calling the "fn" function with the response data for each page. To stop
  7104  // iterating, return false from the fn function.
  7105  //
  7106  // See ListDataSets method for more information on how to use this operation.
  7107  //
  7108  // Note: This operation can generate multiple requests to a service.
  7109  //
  7110  //    // Example iterating over at most 3 pages of a ListDataSets operation.
  7111  //    pageNum := 0
  7112  //    err := client.ListDataSetsPages(params,
  7113  //        func(page *quicksight.ListDataSetsOutput, lastPage bool) bool {
  7114  //            pageNum++
  7115  //            fmt.Println(page)
  7116  //            return pageNum <= 3
  7117  //        })
  7118  //
  7119  func (c *QuickSight) ListDataSetsPages(input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool) error {
  7120  	return c.ListDataSetsPagesWithContext(aws.BackgroundContext(), input, fn)
  7121  }
  7122  
  7123  // ListDataSetsPagesWithContext same as ListDataSetsPages except
  7124  // it takes a Context and allows setting request options on the pages.
  7125  //
  7126  // The context must be non-nil and will be used for request cancellation. If
  7127  // the context is nil a panic will occur. In the future the SDK may create
  7128  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7129  // for more information on using Contexts.
  7130  func (c *QuickSight) ListDataSetsPagesWithContext(ctx aws.Context, input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool, opts ...request.Option) error {
  7131  	p := request.Pagination{
  7132  		NewRequest: func() (*request.Request, error) {
  7133  			var inCpy *ListDataSetsInput
  7134  			if input != nil {
  7135  				tmp := *input
  7136  				inCpy = &tmp
  7137  			}
  7138  			req, _ := c.ListDataSetsRequest(inCpy)
  7139  			req.SetContext(ctx)
  7140  			req.ApplyOptions(opts...)
  7141  			return req, nil
  7142  		},
  7143  	}
  7144  
  7145  	for p.Next() {
  7146  		if !fn(p.Page().(*ListDataSetsOutput), !p.HasNextPage()) {
  7147  			break
  7148  		}
  7149  	}
  7150  
  7151  	return p.Err()
  7152  }
  7153  
  7154  const opListDataSources = "ListDataSources"
  7155  
  7156  // ListDataSourcesRequest generates a "aws/request.Request" representing the
  7157  // client's request for the ListDataSources operation. The "output" return
  7158  // value will be populated with the request's response once the request completes
  7159  // successfully.
  7160  //
  7161  // Use "Send" method on the returned Request to send the API call to the service.
  7162  // the "output" return value is not valid until after Send returns without error.
  7163  //
  7164  // See ListDataSources for more information on using the ListDataSources
  7165  // API call, and error handling.
  7166  //
  7167  // This method is useful when you want to inject custom logic or configuration
  7168  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7169  //
  7170  //
  7171  //    // Example sending a request using the ListDataSourcesRequest method.
  7172  //    req, resp := client.ListDataSourcesRequest(params)
  7173  //
  7174  //    err := req.Send()
  7175  //    if err == nil { // resp is now filled
  7176  //        fmt.Println(resp)
  7177  //    }
  7178  //
  7179  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources
  7180  func (c *QuickSight) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput) {
  7181  	op := &request.Operation{
  7182  		Name:       opListDataSources,
  7183  		HTTPMethod: "GET",
  7184  		HTTPPath:   "/accounts/{AwsAccountId}/data-sources",
  7185  		Paginator: &request.Paginator{
  7186  			InputTokens:     []string{"NextToken"},
  7187  			OutputTokens:    []string{"NextToken"},
  7188  			LimitToken:      "MaxResults",
  7189  			TruncationToken: "",
  7190  		},
  7191  	}
  7192  
  7193  	if input == nil {
  7194  		input = &ListDataSourcesInput{}
  7195  	}
  7196  
  7197  	output = &ListDataSourcesOutput{}
  7198  	req = c.newRequest(op, input, output)
  7199  	return
  7200  }
  7201  
  7202  // ListDataSources API operation for Amazon QuickSight.
  7203  //
  7204  // Lists data sources in current Amazon Web Services Region; that belong to
  7205  // this Amazon Web Services account.
  7206  //
  7207  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7208  // with awserr.Error's Code and Message methods to get detailed information about
  7209  // the error.
  7210  //
  7211  // See the AWS API reference guide for Amazon QuickSight's
  7212  // API operation ListDataSources for usage and error information.
  7213  //
  7214  // Returned Error Types:
  7215  //   * AccessDeniedException
  7216  //   You don't have access to this item. The provided credentials couldn't be
  7217  //   validated. You might not be authorized to carry out the request. Make sure
  7218  //   that your account is authorized to use the Amazon QuickSight service, that
  7219  //   your policies have the correct permissions, and that you are using the correct
  7220  //   access keys.
  7221  //
  7222  //   * InvalidParameterValueException
  7223  //   One or more parameters has a value that isn't valid.
  7224  //
  7225  //   * ThrottlingException
  7226  //   Access is throttled.
  7227  //
  7228  //   * InvalidNextTokenException
  7229  //   The NextToken value isn't valid.
  7230  //
  7231  //   * InternalFailureException
  7232  //   An internal failure occurred.
  7233  //
  7234  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources
  7235  func (c *QuickSight) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) {
  7236  	req, out := c.ListDataSourcesRequest(input)
  7237  	return out, req.Send()
  7238  }
  7239  
  7240  // ListDataSourcesWithContext is the same as ListDataSources with the addition of
  7241  // the ability to pass a context and additional request options.
  7242  //
  7243  // See ListDataSources for details on how to use this API operation.
  7244  //
  7245  // The context must be non-nil and will be used for request cancellation. If
  7246  // the context is nil a panic will occur. In the future the SDK may create
  7247  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7248  // for more information on using Contexts.
  7249  func (c *QuickSight) ListDataSourcesWithContext(ctx aws.Context, input *ListDataSourcesInput, opts ...request.Option) (*ListDataSourcesOutput, error) {
  7250  	req, out := c.ListDataSourcesRequest(input)
  7251  	req.SetContext(ctx)
  7252  	req.ApplyOptions(opts...)
  7253  	return out, req.Send()
  7254  }
  7255  
  7256  // ListDataSourcesPages iterates over the pages of a ListDataSources operation,
  7257  // calling the "fn" function with the response data for each page. To stop
  7258  // iterating, return false from the fn function.
  7259  //
  7260  // See ListDataSources method for more information on how to use this operation.
  7261  //
  7262  // Note: This operation can generate multiple requests to a service.
  7263  //
  7264  //    // Example iterating over at most 3 pages of a ListDataSources operation.
  7265  //    pageNum := 0
  7266  //    err := client.ListDataSourcesPages(params,
  7267  //        func(page *quicksight.ListDataSourcesOutput, lastPage bool) bool {
  7268  //            pageNum++
  7269  //            fmt.Println(page)
  7270  //            return pageNum <= 3
  7271  //        })
  7272  //
  7273  func (c *QuickSight) ListDataSourcesPages(input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool) error {
  7274  	return c.ListDataSourcesPagesWithContext(aws.BackgroundContext(), input, fn)
  7275  }
  7276  
  7277  // ListDataSourcesPagesWithContext same as ListDataSourcesPages except
  7278  // it takes a Context and allows setting request options on the pages.
  7279  //
  7280  // The context must be non-nil and will be used for request cancellation. If
  7281  // the context is nil a panic will occur. In the future the SDK may create
  7282  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7283  // for more information on using Contexts.
  7284  func (c *QuickSight) ListDataSourcesPagesWithContext(ctx aws.Context, input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool, opts ...request.Option) error {
  7285  	p := request.Pagination{
  7286  		NewRequest: func() (*request.Request, error) {
  7287  			var inCpy *ListDataSourcesInput
  7288  			if input != nil {
  7289  				tmp := *input
  7290  				inCpy = &tmp
  7291  			}
  7292  			req, _ := c.ListDataSourcesRequest(inCpy)
  7293  			req.SetContext(ctx)
  7294  			req.ApplyOptions(opts...)
  7295  			return req, nil
  7296  		},
  7297  	}
  7298  
  7299  	for p.Next() {
  7300  		if !fn(p.Page().(*ListDataSourcesOutput), !p.HasNextPage()) {
  7301  			break
  7302  		}
  7303  	}
  7304  
  7305  	return p.Err()
  7306  }
  7307  
  7308  const opListFolderMembers = "ListFolderMembers"
  7309  
  7310  // ListFolderMembersRequest generates a "aws/request.Request" representing the
  7311  // client's request for the ListFolderMembers operation. The "output" return
  7312  // value will be populated with the request's response once the request completes
  7313  // successfully.
  7314  //
  7315  // Use "Send" method on the returned Request to send the API call to the service.
  7316  // the "output" return value is not valid until after Send returns without error.
  7317  //
  7318  // See ListFolderMembers for more information on using the ListFolderMembers
  7319  // API call, and error handling.
  7320  //
  7321  // This method is useful when you want to inject custom logic or configuration
  7322  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7323  //
  7324  //
  7325  //    // Example sending a request using the ListFolderMembersRequest method.
  7326  //    req, resp := client.ListFolderMembersRequest(params)
  7327  //
  7328  //    err := req.Send()
  7329  //    if err == nil { // resp is now filled
  7330  //        fmt.Println(resp)
  7331  //    }
  7332  //
  7333  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolderMembers
  7334  func (c *QuickSight) ListFolderMembersRequest(input *ListFolderMembersInput) (req *request.Request, output *ListFolderMembersOutput) {
  7335  	op := &request.Operation{
  7336  		Name:       opListFolderMembers,
  7337  		HTTPMethod: "GET",
  7338  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/members",
  7339  	}
  7340  
  7341  	if input == nil {
  7342  		input = &ListFolderMembersInput{}
  7343  	}
  7344  
  7345  	output = &ListFolderMembersOutput{}
  7346  	req = c.newRequest(op, input, output)
  7347  	return
  7348  }
  7349  
  7350  // ListFolderMembers API operation for Amazon QuickSight.
  7351  //
  7352  // List all assets (DASHBOARD, ANALYSIS, and DATASET) in a folder.
  7353  //
  7354  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7355  // with awserr.Error's Code and Message methods to get detailed information about
  7356  // the error.
  7357  //
  7358  // See the AWS API reference guide for Amazon QuickSight's
  7359  // API operation ListFolderMembers for usage and error information.
  7360  //
  7361  // Returned Error Types:
  7362  //   * InvalidParameterValueException
  7363  //   One or more parameters has a value that isn't valid.
  7364  //
  7365  //   * AccessDeniedException
  7366  //   You don't have access to this item. The provided credentials couldn't be
  7367  //   validated. You might not be authorized to carry out the request. Make sure
  7368  //   that your account is authorized to use the Amazon QuickSight service, that
  7369  //   your policies have the correct permissions, and that you are using the correct
  7370  //   access keys.
  7371  //
  7372  //   * ResourceNotFoundException
  7373  //   One or more resources can't be found.
  7374  //
  7375  //   * ThrottlingException
  7376  //   Access is throttled.
  7377  //
  7378  //   * InvalidNextTokenException
  7379  //   The NextToken value isn't valid.
  7380  //
  7381  //   * UnsupportedUserEditionException
  7382  //   This error indicates that you are calling an operation on an Amazon QuickSight
  7383  //   subscription where the edition doesn't include support for that operation.
  7384  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  7385  //   Not every operation and capability is available in every edition.
  7386  //
  7387  //   * InternalFailureException
  7388  //   An internal failure occurred.
  7389  //
  7390  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolderMembers
  7391  func (c *QuickSight) ListFolderMembers(input *ListFolderMembersInput) (*ListFolderMembersOutput, error) {
  7392  	req, out := c.ListFolderMembersRequest(input)
  7393  	return out, req.Send()
  7394  }
  7395  
  7396  // ListFolderMembersWithContext is the same as ListFolderMembers with the addition of
  7397  // the ability to pass a context and additional request options.
  7398  //
  7399  // See ListFolderMembers for details on how to use this API operation.
  7400  //
  7401  // The context must be non-nil and will be used for request cancellation. If
  7402  // the context is nil a panic will occur. In the future the SDK may create
  7403  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7404  // for more information on using Contexts.
  7405  func (c *QuickSight) ListFolderMembersWithContext(ctx aws.Context, input *ListFolderMembersInput, opts ...request.Option) (*ListFolderMembersOutput, error) {
  7406  	req, out := c.ListFolderMembersRequest(input)
  7407  	req.SetContext(ctx)
  7408  	req.ApplyOptions(opts...)
  7409  	return out, req.Send()
  7410  }
  7411  
  7412  const opListFolders = "ListFolders"
  7413  
  7414  // ListFoldersRequest generates a "aws/request.Request" representing the
  7415  // client's request for the ListFolders operation. The "output" return
  7416  // value will be populated with the request's response once the request completes
  7417  // successfully.
  7418  //
  7419  // Use "Send" method on the returned Request to send the API call to the service.
  7420  // the "output" return value is not valid until after Send returns without error.
  7421  //
  7422  // See ListFolders for more information on using the ListFolders
  7423  // API call, and error handling.
  7424  //
  7425  // This method is useful when you want to inject custom logic or configuration
  7426  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7427  //
  7428  //
  7429  //    // Example sending a request using the ListFoldersRequest method.
  7430  //    req, resp := client.ListFoldersRequest(params)
  7431  //
  7432  //    err := req.Send()
  7433  //    if err == nil { // resp is now filled
  7434  //        fmt.Println(resp)
  7435  //    }
  7436  //
  7437  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolders
  7438  func (c *QuickSight) ListFoldersRequest(input *ListFoldersInput) (req *request.Request, output *ListFoldersOutput) {
  7439  	op := &request.Operation{
  7440  		Name:       opListFolders,
  7441  		HTTPMethod: "GET",
  7442  		HTTPPath:   "/accounts/{AwsAccountId}/folders",
  7443  	}
  7444  
  7445  	if input == nil {
  7446  		input = &ListFoldersInput{}
  7447  	}
  7448  
  7449  	output = &ListFoldersOutput{}
  7450  	req = c.newRequest(op, input, output)
  7451  	return
  7452  }
  7453  
  7454  // ListFolders API operation for Amazon QuickSight.
  7455  //
  7456  // Lists all folders in an account.
  7457  //
  7458  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7459  // with awserr.Error's Code and Message methods to get detailed information about
  7460  // the error.
  7461  //
  7462  // See the AWS API reference guide for Amazon QuickSight's
  7463  // API operation ListFolders for usage and error information.
  7464  //
  7465  // Returned Error Types:
  7466  //   * InvalidParameterValueException
  7467  //   One or more parameters has a value that isn't valid.
  7468  //
  7469  //   * AccessDeniedException
  7470  //   You don't have access to this item. The provided credentials couldn't be
  7471  //   validated. You might not be authorized to carry out the request. Make sure
  7472  //   that your account is authorized to use the Amazon QuickSight service, that
  7473  //   your policies have the correct permissions, and that you are using the correct
  7474  //   access keys.
  7475  //
  7476  //   * ResourceNotFoundException
  7477  //   One or more resources can't be found.
  7478  //
  7479  //   * ThrottlingException
  7480  //   Access is throttled.
  7481  //
  7482  //   * InvalidNextTokenException
  7483  //   The NextToken value isn't valid.
  7484  //
  7485  //   * UnsupportedUserEditionException
  7486  //   This error indicates that you are calling an operation on an Amazon QuickSight
  7487  //   subscription where the edition doesn't include support for that operation.
  7488  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  7489  //   Not every operation and capability is available in every edition.
  7490  //
  7491  //   * InternalFailureException
  7492  //   An internal failure occurred.
  7493  //
  7494  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolders
  7495  func (c *QuickSight) ListFolders(input *ListFoldersInput) (*ListFoldersOutput, error) {
  7496  	req, out := c.ListFoldersRequest(input)
  7497  	return out, req.Send()
  7498  }
  7499  
  7500  // ListFoldersWithContext is the same as ListFolders with the addition of
  7501  // the ability to pass a context and additional request options.
  7502  //
  7503  // See ListFolders for details on how to use this API operation.
  7504  //
  7505  // The context must be non-nil and will be used for request cancellation. If
  7506  // the context is nil a panic will occur. In the future the SDK may create
  7507  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7508  // for more information on using Contexts.
  7509  func (c *QuickSight) ListFoldersWithContext(ctx aws.Context, input *ListFoldersInput, opts ...request.Option) (*ListFoldersOutput, error) {
  7510  	req, out := c.ListFoldersRequest(input)
  7511  	req.SetContext(ctx)
  7512  	req.ApplyOptions(opts...)
  7513  	return out, req.Send()
  7514  }
  7515  
  7516  const opListGroupMemberships = "ListGroupMemberships"
  7517  
  7518  // ListGroupMembershipsRequest generates a "aws/request.Request" representing the
  7519  // client's request for the ListGroupMemberships operation. The "output" return
  7520  // value will be populated with the request's response once the request completes
  7521  // successfully.
  7522  //
  7523  // Use "Send" method on the returned Request to send the API call to the service.
  7524  // the "output" return value is not valid until after Send returns without error.
  7525  //
  7526  // See ListGroupMemberships for more information on using the ListGroupMemberships
  7527  // API call, and error handling.
  7528  //
  7529  // This method is useful when you want to inject custom logic or configuration
  7530  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7531  //
  7532  //
  7533  //    // Example sending a request using the ListGroupMembershipsRequest method.
  7534  //    req, resp := client.ListGroupMembershipsRequest(params)
  7535  //
  7536  //    err := req.Send()
  7537  //    if err == nil { // resp is now filled
  7538  //        fmt.Println(resp)
  7539  //    }
  7540  //
  7541  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships
  7542  func (c *QuickSight) ListGroupMembershipsRequest(input *ListGroupMembershipsInput) (req *request.Request, output *ListGroupMembershipsOutput) {
  7543  	op := &request.Operation{
  7544  		Name:       opListGroupMemberships,
  7545  		HTTPMethod: "GET",
  7546  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members",
  7547  	}
  7548  
  7549  	if input == nil {
  7550  		input = &ListGroupMembershipsInput{}
  7551  	}
  7552  
  7553  	output = &ListGroupMembershipsOutput{}
  7554  	req = c.newRequest(op, input, output)
  7555  	return
  7556  }
  7557  
  7558  // ListGroupMemberships API operation for Amazon QuickSight.
  7559  //
  7560  // Lists member users in a group.
  7561  //
  7562  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7563  // with awserr.Error's Code and Message methods to get detailed information about
  7564  // the error.
  7565  //
  7566  // See the AWS API reference guide for Amazon QuickSight's
  7567  // API operation ListGroupMemberships for usage and error information.
  7568  //
  7569  // Returned Error Types:
  7570  //   * AccessDeniedException
  7571  //   You don't have access to this item. The provided credentials couldn't be
  7572  //   validated. You might not be authorized to carry out the request. Make sure
  7573  //   that your account is authorized to use the Amazon QuickSight service, that
  7574  //   your policies have the correct permissions, and that you are using the correct
  7575  //   access keys.
  7576  //
  7577  //   * InvalidParameterValueException
  7578  //   One or more parameters has a value that isn't valid.
  7579  //
  7580  //   * ResourceNotFoundException
  7581  //   One or more resources can't be found.
  7582  //
  7583  //   * ThrottlingException
  7584  //   Access is throttled.
  7585  //
  7586  //   * InvalidNextTokenException
  7587  //   The NextToken value isn't valid.
  7588  //
  7589  //   * PreconditionNotMetException
  7590  //   One or more preconditions aren't met.
  7591  //
  7592  //   * InternalFailureException
  7593  //   An internal failure occurred.
  7594  //
  7595  //   * ResourceUnavailableException
  7596  //   This resource is currently unavailable.
  7597  //
  7598  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships
  7599  func (c *QuickSight) ListGroupMemberships(input *ListGroupMembershipsInput) (*ListGroupMembershipsOutput, error) {
  7600  	req, out := c.ListGroupMembershipsRequest(input)
  7601  	return out, req.Send()
  7602  }
  7603  
  7604  // ListGroupMembershipsWithContext is the same as ListGroupMemberships with the addition of
  7605  // the ability to pass a context and additional request options.
  7606  //
  7607  // See ListGroupMemberships for details on how to use this API operation.
  7608  //
  7609  // The context must be non-nil and will be used for request cancellation. If
  7610  // the context is nil a panic will occur. In the future the SDK may create
  7611  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7612  // for more information on using Contexts.
  7613  func (c *QuickSight) ListGroupMembershipsWithContext(ctx aws.Context, input *ListGroupMembershipsInput, opts ...request.Option) (*ListGroupMembershipsOutput, error) {
  7614  	req, out := c.ListGroupMembershipsRequest(input)
  7615  	req.SetContext(ctx)
  7616  	req.ApplyOptions(opts...)
  7617  	return out, req.Send()
  7618  }
  7619  
  7620  const opListGroups = "ListGroups"
  7621  
  7622  // ListGroupsRequest generates a "aws/request.Request" representing the
  7623  // client's request for the ListGroups operation. The "output" return
  7624  // value will be populated with the request's response once the request completes
  7625  // successfully.
  7626  //
  7627  // Use "Send" method on the returned Request to send the API call to the service.
  7628  // the "output" return value is not valid until after Send returns without error.
  7629  //
  7630  // See ListGroups for more information on using the ListGroups
  7631  // API call, and error handling.
  7632  //
  7633  // This method is useful when you want to inject custom logic or configuration
  7634  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7635  //
  7636  //
  7637  //    // Example sending a request using the ListGroupsRequest method.
  7638  //    req, resp := client.ListGroupsRequest(params)
  7639  //
  7640  //    err := req.Send()
  7641  //    if err == nil { // resp is now filled
  7642  //        fmt.Println(resp)
  7643  //    }
  7644  //
  7645  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups
  7646  func (c *QuickSight) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) {
  7647  	op := &request.Operation{
  7648  		Name:       opListGroups,
  7649  		HTTPMethod: "GET",
  7650  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
  7651  	}
  7652  
  7653  	if input == nil {
  7654  		input = &ListGroupsInput{}
  7655  	}
  7656  
  7657  	output = &ListGroupsOutput{}
  7658  	req = c.newRequest(op, input, output)
  7659  	return
  7660  }
  7661  
  7662  // ListGroups API operation for Amazon QuickSight.
  7663  //
  7664  // Lists all user groups in Amazon QuickSight.
  7665  //
  7666  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7667  // with awserr.Error's Code and Message methods to get detailed information about
  7668  // the error.
  7669  //
  7670  // See the AWS API reference guide for Amazon QuickSight's
  7671  // API operation ListGroups for usage and error information.
  7672  //
  7673  // Returned Error Types:
  7674  //   * AccessDeniedException
  7675  //   You don't have access to this item. The provided credentials couldn't be
  7676  //   validated. You might not be authorized to carry out the request. Make sure
  7677  //   that your account is authorized to use the Amazon QuickSight service, that
  7678  //   your policies have the correct permissions, and that you are using the correct
  7679  //   access keys.
  7680  //
  7681  //   * InvalidParameterValueException
  7682  //   One or more parameters has a value that isn't valid.
  7683  //
  7684  //   * ResourceNotFoundException
  7685  //   One or more resources can't be found.
  7686  //
  7687  //   * ThrottlingException
  7688  //   Access is throttled.
  7689  //
  7690  //   * InvalidNextTokenException
  7691  //   The NextToken value isn't valid.
  7692  //
  7693  //   * PreconditionNotMetException
  7694  //   One or more preconditions aren't met.
  7695  //
  7696  //   * InternalFailureException
  7697  //   An internal failure occurred.
  7698  //
  7699  //   * ResourceUnavailableException
  7700  //   This resource is currently unavailable.
  7701  //
  7702  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups
  7703  func (c *QuickSight) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) {
  7704  	req, out := c.ListGroupsRequest(input)
  7705  	return out, req.Send()
  7706  }
  7707  
  7708  // ListGroupsWithContext is the same as ListGroups with the addition of
  7709  // the ability to pass a context and additional request options.
  7710  //
  7711  // See ListGroups for details on how to use this API operation.
  7712  //
  7713  // The context must be non-nil and will be used for request cancellation. If
  7714  // the context is nil a panic will occur. In the future the SDK may create
  7715  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7716  // for more information on using Contexts.
  7717  func (c *QuickSight) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput, opts ...request.Option) (*ListGroupsOutput, error) {
  7718  	req, out := c.ListGroupsRequest(input)
  7719  	req.SetContext(ctx)
  7720  	req.ApplyOptions(opts...)
  7721  	return out, req.Send()
  7722  }
  7723  
  7724  const opListIAMPolicyAssignments = "ListIAMPolicyAssignments"
  7725  
  7726  // ListIAMPolicyAssignmentsRequest generates a "aws/request.Request" representing the
  7727  // client's request for the ListIAMPolicyAssignments operation. The "output" return
  7728  // value will be populated with the request's response once the request completes
  7729  // successfully.
  7730  //
  7731  // Use "Send" method on the returned Request to send the API call to the service.
  7732  // the "output" return value is not valid until after Send returns without error.
  7733  //
  7734  // See ListIAMPolicyAssignments for more information on using the ListIAMPolicyAssignments
  7735  // API call, and error handling.
  7736  //
  7737  // This method is useful when you want to inject custom logic or configuration
  7738  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7739  //
  7740  //
  7741  //    // Example sending a request using the ListIAMPolicyAssignmentsRequest method.
  7742  //    req, resp := client.ListIAMPolicyAssignmentsRequest(params)
  7743  //
  7744  //    err := req.Send()
  7745  //    if err == nil { // resp is now filled
  7746  //        fmt.Println(resp)
  7747  //    }
  7748  //
  7749  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments
  7750  func (c *QuickSight) ListIAMPolicyAssignmentsRequest(input *ListIAMPolicyAssignmentsInput) (req *request.Request, output *ListIAMPolicyAssignmentsOutput) {
  7751  	op := &request.Operation{
  7752  		Name:       opListIAMPolicyAssignments,
  7753  		HTTPMethod: "GET",
  7754  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments",
  7755  	}
  7756  
  7757  	if input == nil {
  7758  		input = &ListIAMPolicyAssignmentsInput{}
  7759  	}
  7760  
  7761  	output = &ListIAMPolicyAssignmentsOutput{}
  7762  	req = c.newRequest(op, input, output)
  7763  	return
  7764  }
  7765  
  7766  // ListIAMPolicyAssignments API operation for Amazon QuickSight.
  7767  //
  7768  // Lists IAMpolicy assignments in the current Amazon QuickSight account.
  7769  //
  7770  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7771  // with awserr.Error's Code and Message methods to get detailed information about
  7772  // the error.
  7773  //
  7774  // See the AWS API reference guide for Amazon QuickSight's
  7775  // API operation ListIAMPolicyAssignments for usage and error information.
  7776  //
  7777  // Returned Error Types:
  7778  //   * AccessDeniedException
  7779  //   You don't have access to this item. The provided credentials couldn't be
  7780  //   validated. You might not be authorized to carry out the request. Make sure
  7781  //   that your account is authorized to use the Amazon QuickSight service, that
  7782  //   your policies have the correct permissions, and that you are using the correct
  7783  //   access keys.
  7784  //
  7785  //   * InvalidParameterValueException
  7786  //   One or more parameters has a value that isn't valid.
  7787  //
  7788  //   * ResourceNotFoundException
  7789  //   One or more resources can't be found.
  7790  //
  7791  //   * ThrottlingException
  7792  //   Access is throttled.
  7793  //
  7794  //   * InvalidNextTokenException
  7795  //   The NextToken value isn't valid.
  7796  //
  7797  //   * InternalFailureException
  7798  //   An internal failure occurred.
  7799  //
  7800  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments
  7801  func (c *QuickSight) ListIAMPolicyAssignments(input *ListIAMPolicyAssignmentsInput) (*ListIAMPolicyAssignmentsOutput, error) {
  7802  	req, out := c.ListIAMPolicyAssignmentsRequest(input)
  7803  	return out, req.Send()
  7804  }
  7805  
  7806  // ListIAMPolicyAssignmentsWithContext is the same as ListIAMPolicyAssignments with the addition of
  7807  // the ability to pass a context and additional request options.
  7808  //
  7809  // See ListIAMPolicyAssignments for details on how to use this API operation.
  7810  //
  7811  // The context must be non-nil and will be used for request cancellation. If
  7812  // the context is nil a panic will occur. In the future the SDK may create
  7813  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7814  // for more information on using Contexts.
  7815  func (c *QuickSight) ListIAMPolicyAssignmentsWithContext(ctx aws.Context, input *ListIAMPolicyAssignmentsInput, opts ...request.Option) (*ListIAMPolicyAssignmentsOutput, error) {
  7816  	req, out := c.ListIAMPolicyAssignmentsRequest(input)
  7817  	req.SetContext(ctx)
  7818  	req.ApplyOptions(opts...)
  7819  	return out, req.Send()
  7820  }
  7821  
  7822  const opListIAMPolicyAssignmentsForUser = "ListIAMPolicyAssignmentsForUser"
  7823  
  7824  // ListIAMPolicyAssignmentsForUserRequest generates a "aws/request.Request" representing the
  7825  // client's request for the ListIAMPolicyAssignmentsForUser operation. The "output" return
  7826  // value will be populated with the request's response once the request completes
  7827  // successfully.
  7828  //
  7829  // Use "Send" method on the returned Request to send the API call to the service.
  7830  // the "output" return value is not valid until after Send returns without error.
  7831  //
  7832  // See ListIAMPolicyAssignmentsForUser for more information on using the ListIAMPolicyAssignmentsForUser
  7833  // API call, and error handling.
  7834  //
  7835  // This method is useful when you want to inject custom logic or configuration
  7836  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7837  //
  7838  //
  7839  //    // Example sending a request using the ListIAMPolicyAssignmentsForUserRequest method.
  7840  //    req, resp := client.ListIAMPolicyAssignmentsForUserRequest(params)
  7841  //
  7842  //    err := req.Send()
  7843  //    if err == nil { // resp is now filled
  7844  //        fmt.Println(resp)
  7845  //    }
  7846  //
  7847  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser
  7848  func (c *QuickSight) ListIAMPolicyAssignmentsForUserRequest(input *ListIAMPolicyAssignmentsForUserInput) (req *request.Request, output *ListIAMPolicyAssignmentsForUserOutput) {
  7849  	op := &request.Operation{
  7850  		Name:       opListIAMPolicyAssignmentsForUser,
  7851  		HTTPMethod: "GET",
  7852  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments",
  7853  	}
  7854  
  7855  	if input == nil {
  7856  		input = &ListIAMPolicyAssignmentsForUserInput{}
  7857  	}
  7858  
  7859  	output = &ListIAMPolicyAssignmentsForUserOutput{}
  7860  	req = c.newRequest(op, input, output)
  7861  	return
  7862  }
  7863  
  7864  // ListIAMPolicyAssignmentsForUser API operation for Amazon QuickSight.
  7865  //
  7866  // Lists all the IAMpolicy assignments, including the Amazon Resource Names
  7867  // (ARNs) for the IAM policies assigned to the specified user and group or groups
  7868  // that the user belongs to.
  7869  //
  7870  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7871  // with awserr.Error's Code and Message methods to get detailed information about
  7872  // the error.
  7873  //
  7874  // See the AWS API reference guide for Amazon QuickSight's
  7875  // API operation ListIAMPolicyAssignmentsForUser for usage and error information.
  7876  //
  7877  // Returned Error Types:
  7878  //   * AccessDeniedException
  7879  //   You don't have access to this item. The provided credentials couldn't be
  7880  //   validated. You might not be authorized to carry out the request. Make sure
  7881  //   that your account is authorized to use the Amazon QuickSight service, that
  7882  //   your policies have the correct permissions, and that you are using the correct
  7883  //   access keys.
  7884  //
  7885  //   * InvalidParameterValueException
  7886  //   One or more parameters has a value that isn't valid.
  7887  //
  7888  //   * ResourceExistsException
  7889  //   The resource specified already exists.
  7890  //
  7891  //   * ResourceNotFoundException
  7892  //   One or more resources can't be found.
  7893  //
  7894  //   * ThrottlingException
  7895  //   Access is throttled.
  7896  //
  7897  //   * ConcurrentUpdatingException
  7898  //   A resource is already in a state that indicates an operation is happening
  7899  //   that must complete before a new update can be applied.
  7900  //
  7901  //   * InternalFailureException
  7902  //   An internal failure occurred.
  7903  //
  7904  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser
  7905  func (c *QuickSight) ListIAMPolicyAssignmentsForUser(input *ListIAMPolicyAssignmentsForUserInput) (*ListIAMPolicyAssignmentsForUserOutput, error) {
  7906  	req, out := c.ListIAMPolicyAssignmentsForUserRequest(input)
  7907  	return out, req.Send()
  7908  }
  7909  
  7910  // ListIAMPolicyAssignmentsForUserWithContext is the same as ListIAMPolicyAssignmentsForUser with the addition of
  7911  // the ability to pass a context and additional request options.
  7912  //
  7913  // See ListIAMPolicyAssignmentsForUser for details on how to use this API operation.
  7914  //
  7915  // The context must be non-nil and will be used for request cancellation. If
  7916  // the context is nil a panic will occur. In the future the SDK may create
  7917  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  7918  // for more information on using Contexts.
  7919  func (c *QuickSight) ListIAMPolicyAssignmentsForUserWithContext(ctx aws.Context, input *ListIAMPolicyAssignmentsForUserInput, opts ...request.Option) (*ListIAMPolicyAssignmentsForUserOutput, error) {
  7920  	req, out := c.ListIAMPolicyAssignmentsForUserRequest(input)
  7921  	req.SetContext(ctx)
  7922  	req.ApplyOptions(opts...)
  7923  	return out, req.Send()
  7924  }
  7925  
  7926  const opListIngestions = "ListIngestions"
  7927  
  7928  // ListIngestionsRequest generates a "aws/request.Request" representing the
  7929  // client's request for the ListIngestions operation. The "output" return
  7930  // value will be populated with the request's response once the request completes
  7931  // successfully.
  7932  //
  7933  // Use "Send" method on the returned Request to send the API call to the service.
  7934  // the "output" return value is not valid until after Send returns without error.
  7935  //
  7936  // See ListIngestions for more information on using the ListIngestions
  7937  // API call, and error handling.
  7938  //
  7939  // This method is useful when you want to inject custom logic or configuration
  7940  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  7941  //
  7942  //
  7943  //    // Example sending a request using the ListIngestionsRequest method.
  7944  //    req, resp := client.ListIngestionsRequest(params)
  7945  //
  7946  //    err := req.Send()
  7947  //    if err == nil { // resp is now filled
  7948  //        fmt.Println(resp)
  7949  //    }
  7950  //
  7951  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions
  7952  func (c *QuickSight) ListIngestionsRequest(input *ListIngestionsInput) (req *request.Request, output *ListIngestionsOutput) {
  7953  	op := &request.Operation{
  7954  		Name:       opListIngestions,
  7955  		HTTPMethod: "GET",
  7956  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions",
  7957  		Paginator: &request.Paginator{
  7958  			InputTokens:     []string{"NextToken"},
  7959  			OutputTokens:    []string{"NextToken"},
  7960  			LimitToken:      "MaxResults",
  7961  			TruncationToken: "",
  7962  		},
  7963  	}
  7964  
  7965  	if input == nil {
  7966  		input = &ListIngestionsInput{}
  7967  	}
  7968  
  7969  	output = &ListIngestionsOutput{}
  7970  	req = c.newRequest(op, input, output)
  7971  	return
  7972  }
  7973  
  7974  // ListIngestions API operation for Amazon QuickSight.
  7975  //
  7976  // Lists the history of SPICE ingestions for a dataset.
  7977  //
  7978  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  7979  // with awserr.Error's Code and Message methods to get detailed information about
  7980  // the error.
  7981  //
  7982  // See the AWS API reference guide for Amazon QuickSight's
  7983  // API operation ListIngestions for usage and error information.
  7984  //
  7985  // Returned Error Types:
  7986  //   * AccessDeniedException
  7987  //   You don't have access to this item. The provided credentials couldn't be
  7988  //   validated. You might not be authorized to carry out the request. Make sure
  7989  //   that your account is authorized to use the Amazon QuickSight service, that
  7990  //   your policies have the correct permissions, and that you are using the correct
  7991  //   access keys.
  7992  //
  7993  //   * InvalidParameterValueException
  7994  //   One or more parameters has a value that isn't valid.
  7995  //
  7996  //   * ResourceNotFoundException
  7997  //   One or more resources can't be found.
  7998  //
  7999  //   * ThrottlingException
  8000  //   Access is throttled.
  8001  //
  8002  //   * ResourceExistsException
  8003  //   The resource specified already exists.
  8004  //
  8005  //   * InvalidNextTokenException
  8006  //   The NextToken value isn't valid.
  8007  //
  8008  //   * InternalFailureException
  8009  //   An internal failure occurred.
  8010  //
  8011  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions
  8012  func (c *QuickSight) ListIngestions(input *ListIngestionsInput) (*ListIngestionsOutput, error) {
  8013  	req, out := c.ListIngestionsRequest(input)
  8014  	return out, req.Send()
  8015  }
  8016  
  8017  // ListIngestionsWithContext is the same as ListIngestions with the addition of
  8018  // the ability to pass a context and additional request options.
  8019  //
  8020  // See ListIngestions for details on how to use this API operation.
  8021  //
  8022  // The context must be non-nil and will be used for request cancellation. If
  8023  // the context is nil a panic will occur. In the future the SDK may create
  8024  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8025  // for more information on using Contexts.
  8026  func (c *QuickSight) ListIngestionsWithContext(ctx aws.Context, input *ListIngestionsInput, opts ...request.Option) (*ListIngestionsOutput, error) {
  8027  	req, out := c.ListIngestionsRequest(input)
  8028  	req.SetContext(ctx)
  8029  	req.ApplyOptions(opts...)
  8030  	return out, req.Send()
  8031  }
  8032  
  8033  // ListIngestionsPages iterates over the pages of a ListIngestions operation,
  8034  // calling the "fn" function with the response data for each page. To stop
  8035  // iterating, return false from the fn function.
  8036  //
  8037  // See ListIngestions method for more information on how to use this operation.
  8038  //
  8039  // Note: This operation can generate multiple requests to a service.
  8040  //
  8041  //    // Example iterating over at most 3 pages of a ListIngestions operation.
  8042  //    pageNum := 0
  8043  //    err := client.ListIngestionsPages(params,
  8044  //        func(page *quicksight.ListIngestionsOutput, lastPage bool) bool {
  8045  //            pageNum++
  8046  //            fmt.Println(page)
  8047  //            return pageNum <= 3
  8048  //        })
  8049  //
  8050  func (c *QuickSight) ListIngestionsPages(input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool) error {
  8051  	return c.ListIngestionsPagesWithContext(aws.BackgroundContext(), input, fn)
  8052  }
  8053  
  8054  // ListIngestionsPagesWithContext same as ListIngestionsPages except
  8055  // it takes a Context and allows setting request options on the pages.
  8056  //
  8057  // The context must be non-nil and will be used for request cancellation. If
  8058  // the context is nil a panic will occur. In the future the SDK may create
  8059  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8060  // for more information on using Contexts.
  8061  func (c *QuickSight) ListIngestionsPagesWithContext(ctx aws.Context, input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool, opts ...request.Option) error {
  8062  	p := request.Pagination{
  8063  		NewRequest: func() (*request.Request, error) {
  8064  			var inCpy *ListIngestionsInput
  8065  			if input != nil {
  8066  				tmp := *input
  8067  				inCpy = &tmp
  8068  			}
  8069  			req, _ := c.ListIngestionsRequest(inCpy)
  8070  			req.SetContext(ctx)
  8071  			req.ApplyOptions(opts...)
  8072  			return req, nil
  8073  		},
  8074  	}
  8075  
  8076  	for p.Next() {
  8077  		if !fn(p.Page().(*ListIngestionsOutput), !p.HasNextPage()) {
  8078  			break
  8079  		}
  8080  	}
  8081  
  8082  	return p.Err()
  8083  }
  8084  
  8085  const opListNamespaces = "ListNamespaces"
  8086  
  8087  // ListNamespacesRequest generates a "aws/request.Request" representing the
  8088  // client's request for the ListNamespaces operation. The "output" return
  8089  // value will be populated with the request's response once the request completes
  8090  // successfully.
  8091  //
  8092  // Use "Send" method on the returned Request to send the API call to the service.
  8093  // the "output" return value is not valid until after Send returns without error.
  8094  //
  8095  // See ListNamespaces for more information on using the ListNamespaces
  8096  // API call, and error handling.
  8097  //
  8098  // This method is useful when you want to inject custom logic or configuration
  8099  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8100  //
  8101  //
  8102  //    // Example sending a request using the ListNamespacesRequest method.
  8103  //    req, resp := client.ListNamespacesRequest(params)
  8104  //
  8105  //    err := req.Send()
  8106  //    if err == nil { // resp is now filled
  8107  //        fmt.Println(resp)
  8108  //    }
  8109  //
  8110  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces
  8111  func (c *QuickSight) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput) {
  8112  	op := &request.Operation{
  8113  		Name:       opListNamespaces,
  8114  		HTTPMethod: "GET",
  8115  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces",
  8116  		Paginator: &request.Paginator{
  8117  			InputTokens:     []string{"NextToken"},
  8118  			OutputTokens:    []string{"NextToken"},
  8119  			LimitToken:      "MaxResults",
  8120  			TruncationToken: "",
  8121  		},
  8122  	}
  8123  
  8124  	if input == nil {
  8125  		input = &ListNamespacesInput{}
  8126  	}
  8127  
  8128  	output = &ListNamespacesOutput{}
  8129  	req = c.newRequest(op, input, output)
  8130  	return
  8131  }
  8132  
  8133  // ListNamespaces API operation for Amazon QuickSight.
  8134  //
  8135  // Lists the namespaces for the specified Amazon Web Services account.
  8136  //
  8137  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8138  // with awserr.Error's Code and Message methods to get detailed information about
  8139  // the error.
  8140  //
  8141  // See the AWS API reference guide for Amazon QuickSight's
  8142  // API operation ListNamespaces for usage and error information.
  8143  //
  8144  // Returned Error Types:
  8145  //   * AccessDeniedException
  8146  //   You don't have access to this item. The provided credentials couldn't be
  8147  //   validated. You might not be authorized to carry out the request. Make sure
  8148  //   that your account is authorized to use the Amazon QuickSight service, that
  8149  //   your policies have the correct permissions, and that you are using the correct
  8150  //   access keys.
  8151  //
  8152  //   * InvalidParameterValueException
  8153  //   One or more parameters has a value that isn't valid.
  8154  //
  8155  //   * ResourceNotFoundException
  8156  //   One or more resources can't be found.
  8157  //
  8158  //   * ThrottlingException
  8159  //   Access is throttled.
  8160  //
  8161  //   * InvalidNextTokenException
  8162  //   The NextToken value isn't valid.
  8163  //
  8164  //   * PreconditionNotMetException
  8165  //   One or more preconditions aren't met.
  8166  //
  8167  //   * InternalFailureException
  8168  //   An internal failure occurred.
  8169  //
  8170  //   * ResourceUnavailableException
  8171  //   This resource is currently unavailable.
  8172  //
  8173  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces
  8174  func (c *QuickSight) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error) {
  8175  	req, out := c.ListNamespacesRequest(input)
  8176  	return out, req.Send()
  8177  }
  8178  
  8179  // ListNamespacesWithContext is the same as ListNamespaces with the addition of
  8180  // the ability to pass a context and additional request options.
  8181  //
  8182  // See ListNamespaces for details on how to use this API operation.
  8183  //
  8184  // The context must be non-nil and will be used for request cancellation. If
  8185  // the context is nil a panic will occur. In the future the SDK may create
  8186  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8187  // for more information on using Contexts.
  8188  func (c *QuickSight) ListNamespacesWithContext(ctx aws.Context, input *ListNamespacesInput, opts ...request.Option) (*ListNamespacesOutput, error) {
  8189  	req, out := c.ListNamespacesRequest(input)
  8190  	req.SetContext(ctx)
  8191  	req.ApplyOptions(opts...)
  8192  	return out, req.Send()
  8193  }
  8194  
  8195  // ListNamespacesPages iterates over the pages of a ListNamespaces operation,
  8196  // calling the "fn" function with the response data for each page. To stop
  8197  // iterating, return false from the fn function.
  8198  //
  8199  // See ListNamespaces method for more information on how to use this operation.
  8200  //
  8201  // Note: This operation can generate multiple requests to a service.
  8202  //
  8203  //    // Example iterating over at most 3 pages of a ListNamespaces operation.
  8204  //    pageNum := 0
  8205  //    err := client.ListNamespacesPages(params,
  8206  //        func(page *quicksight.ListNamespacesOutput, lastPage bool) bool {
  8207  //            pageNum++
  8208  //            fmt.Println(page)
  8209  //            return pageNum <= 3
  8210  //        })
  8211  //
  8212  func (c *QuickSight) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error {
  8213  	return c.ListNamespacesPagesWithContext(aws.BackgroundContext(), input, fn)
  8214  }
  8215  
  8216  // ListNamespacesPagesWithContext same as ListNamespacesPages except
  8217  // it takes a Context and allows setting request options on the pages.
  8218  //
  8219  // The context must be non-nil and will be used for request cancellation. If
  8220  // the context is nil a panic will occur. In the future the SDK may create
  8221  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8222  // for more information on using Contexts.
  8223  func (c *QuickSight) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool, opts ...request.Option) error {
  8224  	p := request.Pagination{
  8225  		NewRequest: func() (*request.Request, error) {
  8226  			var inCpy *ListNamespacesInput
  8227  			if input != nil {
  8228  				tmp := *input
  8229  				inCpy = &tmp
  8230  			}
  8231  			req, _ := c.ListNamespacesRequest(inCpy)
  8232  			req.SetContext(ctx)
  8233  			req.ApplyOptions(opts...)
  8234  			return req, nil
  8235  		},
  8236  	}
  8237  
  8238  	for p.Next() {
  8239  		if !fn(p.Page().(*ListNamespacesOutput), !p.HasNextPage()) {
  8240  			break
  8241  		}
  8242  	}
  8243  
  8244  	return p.Err()
  8245  }
  8246  
  8247  const opListTagsForResource = "ListTagsForResource"
  8248  
  8249  // ListTagsForResourceRequest generates a "aws/request.Request" representing the
  8250  // client's request for the ListTagsForResource operation. The "output" return
  8251  // value will be populated with the request's response once the request completes
  8252  // successfully.
  8253  //
  8254  // Use "Send" method on the returned Request to send the API call to the service.
  8255  // the "output" return value is not valid until after Send returns without error.
  8256  //
  8257  // See ListTagsForResource for more information on using the ListTagsForResource
  8258  // API call, and error handling.
  8259  //
  8260  // This method is useful when you want to inject custom logic or configuration
  8261  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8262  //
  8263  //
  8264  //    // Example sending a request using the ListTagsForResourceRequest method.
  8265  //    req, resp := client.ListTagsForResourceRequest(params)
  8266  //
  8267  //    err := req.Send()
  8268  //    if err == nil { // resp is now filled
  8269  //        fmt.Println(resp)
  8270  //    }
  8271  //
  8272  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource
  8273  func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
  8274  	op := &request.Operation{
  8275  		Name:       opListTagsForResource,
  8276  		HTTPMethod: "GET",
  8277  		HTTPPath:   "/resources/{ResourceArn}/tags",
  8278  	}
  8279  
  8280  	if input == nil {
  8281  		input = &ListTagsForResourceInput{}
  8282  	}
  8283  
  8284  	output = &ListTagsForResourceOutput{}
  8285  	req = c.newRequest(op, input, output)
  8286  	return
  8287  }
  8288  
  8289  // ListTagsForResource API operation for Amazon QuickSight.
  8290  //
  8291  // Lists the tags assigned to a resource.
  8292  //
  8293  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8294  // with awserr.Error's Code and Message methods to get detailed information about
  8295  // the error.
  8296  //
  8297  // See the AWS API reference guide for Amazon QuickSight's
  8298  // API operation ListTagsForResource for usage and error information.
  8299  //
  8300  // Returned Error Types:
  8301  //   * AccessDeniedException
  8302  //   You don't have access to this item. The provided credentials couldn't be
  8303  //   validated. You might not be authorized to carry out the request. Make sure
  8304  //   that your account is authorized to use the Amazon QuickSight service, that
  8305  //   your policies have the correct permissions, and that you are using the correct
  8306  //   access keys.
  8307  //
  8308  //   * InvalidParameterValueException
  8309  //   One or more parameters has a value that isn't valid.
  8310  //
  8311  //   * ResourceNotFoundException
  8312  //   One or more resources can't be found.
  8313  //
  8314  //   * ThrottlingException
  8315  //   Access is throttled.
  8316  //
  8317  //   * InternalFailureException
  8318  //   An internal failure occurred.
  8319  //
  8320  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource
  8321  func (c *QuickSight) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
  8322  	req, out := c.ListTagsForResourceRequest(input)
  8323  	return out, req.Send()
  8324  }
  8325  
  8326  // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
  8327  // the ability to pass a context and additional request options.
  8328  //
  8329  // See ListTagsForResource for details on how to use this API operation.
  8330  //
  8331  // The context must be non-nil and will be used for request cancellation. If
  8332  // the context is nil a panic will occur. In the future the SDK may create
  8333  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8334  // for more information on using Contexts.
  8335  func (c *QuickSight) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
  8336  	req, out := c.ListTagsForResourceRequest(input)
  8337  	req.SetContext(ctx)
  8338  	req.ApplyOptions(opts...)
  8339  	return out, req.Send()
  8340  }
  8341  
  8342  const opListTemplateAliases = "ListTemplateAliases"
  8343  
  8344  // ListTemplateAliasesRequest generates a "aws/request.Request" representing the
  8345  // client's request for the ListTemplateAliases operation. The "output" return
  8346  // value will be populated with the request's response once the request completes
  8347  // successfully.
  8348  //
  8349  // Use "Send" method on the returned Request to send the API call to the service.
  8350  // the "output" return value is not valid until after Send returns without error.
  8351  //
  8352  // See ListTemplateAliases for more information on using the ListTemplateAliases
  8353  // API call, and error handling.
  8354  //
  8355  // This method is useful when you want to inject custom logic or configuration
  8356  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8357  //
  8358  //
  8359  //    // Example sending a request using the ListTemplateAliasesRequest method.
  8360  //    req, resp := client.ListTemplateAliasesRequest(params)
  8361  //
  8362  //    err := req.Send()
  8363  //    if err == nil { // resp is now filled
  8364  //        fmt.Println(resp)
  8365  //    }
  8366  //
  8367  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases
  8368  func (c *QuickSight) ListTemplateAliasesRequest(input *ListTemplateAliasesInput) (req *request.Request, output *ListTemplateAliasesOutput) {
  8369  	op := &request.Operation{
  8370  		Name:       opListTemplateAliases,
  8371  		HTTPMethod: "GET",
  8372  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases",
  8373  		Paginator: &request.Paginator{
  8374  			InputTokens:     []string{"NextToken"},
  8375  			OutputTokens:    []string{"NextToken"},
  8376  			LimitToken:      "MaxResults",
  8377  			TruncationToken: "",
  8378  		},
  8379  	}
  8380  
  8381  	if input == nil {
  8382  		input = &ListTemplateAliasesInput{}
  8383  	}
  8384  
  8385  	output = &ListTemplateAliasesOutput{}
  8386  	req = c.newRequest(op, input, output)
  8387  	return
  8388  }
  8389  
  8390  // ListTemplateAliases API operation for Amazon QuickSight.
  8391  //
  8392  // Lists all the aliases of a template.
  8393  //
  8394  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8395  // with awserr.Error's Code and Message methods to get detailed information about
  8396  // the error.
  8397  //
  8398  // See the AWS API reference guide for Amazon QuickSight's
  8399  // API operation ListTemplateAliases for usage and error information.
  8400  //
  8401  // Returned Error Types:
  8402  //   * InvalidNextTokenException
  8403  //   The NextToken value isn't valid.
  8404  //
  8405  //   * ThrottlingException
  8406  //   Access is throttled.
  8407  //
  8408  //   * ResourceNotFoundException
  8409  //   One or more resources can't be found.
  8410  //
  8411  //   * UnsupportedUserEditionException
  8412  //   This error indicates that you are calling an operation on an Amazon QuickSight
  8413  //   subscription where the edition doesn't include support for that operation.
  8414  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  8415  //   Not every operation and capability is available in every edition.
  8416  //
  8417  //   * InternalFailureException
  8418  //   An internal failure occurred.
  8419  //
  8420  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases
  8421  func (c *QuickSight) ListTemplateAliases(input *ListTemplateAliasesInput) (*ListTemplateAliasesOutput, error) {
  8422  	req, out := c.ListTemplateAliasesRequest(input)
  8423  	return out, req.Send()
  8424  }
  8425  
  8426  // ListTemplateAliasesWithContext is the same as ListTemplateAliases with the addition of
  8427  // the ability to pass a context and additional request options.
  8428  //
  8429  // See ListTemplateAliases for details on how to use this API operation.
  8430  //
  8431  // The context must be non-nil and will be used for request cancellation. If
  8432  // the context is nil a panic will occur. In the future the SDK may create
  8433  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8434  // for more information on using Contexts.
  8435  func (c *QuickSight) ListTemplateAliasesWithContext(ctx aws.Context, input *ListTemplateAliasesInput, opts ...request.Option) (*ListTemplateAliasesOutput, error) {
  8436  	req, out := c.ListTemplateAliasesRequest(input)
  8437  	req.SetContext(ctx)
  8438  	req.ApplyOptions(opts...)
  8439  	return out, req.Send()
  8440  }
  8441  
  8442  // ListTemplateAliasesPages iterates over the pages of a ListTemplateAliases operation,
  8443  // calling the "fn" function with the response data for each page. To stop
  8444  // iterating, return false from the fn function.
  8445  //
  8446  // See ListTemplateAliases method for more information on how to use this operation.
  8447  //
  8448  // Note: This operation can generate multiple requests to a service.
  8449  //
  8450  //    // Example iterating over at most 3 pages of a ListTemplateAliases operation.
  8451  //    pageNum := 0
  8452  //    err := client.ListTemplateAliasesPages(params,
  8453  //        func(page *quicksight.ListTemplateAliasesOutput, lastPage bool) bool {
  8454  //            pageNum++
  8455  //            fmt.Println(page)
  8456  //            return pageNum <= 3
  8457  //        })
  8458  //
  8459  func (c *QuickSight) ListTemplateAliasesPages(input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool) error {
  8460  	return c.ListTemplateAliasesPagesWithContext(aws.BackgroundContext(), input, fn)
  8461  }
  8462  
  8463  // ListTemplateAliasesPagesWithContext same as ListTemplateAliasesPages except
  8464  // it takes a Context and allows setting request options on the pages.
  8465  //
  8466  // The context must be non-nil and will be used for request cancellation. If
  8467  // the context is nil a panic will occur. In the future the SDK may create
  8468  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8469  // for more information on using Contexts.
  8470  func (c *QuickSight) ListTemplateAliasesPagesWithContext(ctx aws.Context, input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool, opts ...request.Option) error {
  8471  	p := request.Pagination{
  8472  		NewRequest: func() (*request.Request, error) {
  8473  			var inCpy *ListTemplateAliasesInput
  8474  			if input != nil {
  8475  				tmp := *input
  8476  				inCpy = &tmp
  8477  			}
  8478  			req, _ := c.ListTemplateAliasesRequest(inCpy)
  8479  			req.SetContext(ctx)
  8480  			req.ApplyOptions(opts...)
  8481  			return req, nil
  8482  		},
  8483  	}
  8484  
  8485  	for p.Next() {
  8486  		if !fn(p.Page().(*ListTemplateAliasesOutput), !p.HasNextPage()) {
  8487  			break
  8488  		}
  8489  	}
  8490  
  8491  	return p.Err()
  8492  }
  8493  
  8494  const opListTemplateVersions = "ListTemplateVersions"
  8495  
  8496  // ListTemplateVersionsRequest generates a "aws/request.Request" representing the
  8497  // client's request for the ListTemplateVersions operation. The "output" return
  8498  // value will be populated with the request's response once the request completes
  8499  // successfully.
  8500  //
  8501  // Use "Send" method on the returned Request to send the API call to the service.
  8502  // the "output" return value is not valid until after Send returns without error.
  8503  //
  8504  // See ListTemplateVersions for more information on using the ListTemplateVersions
  8505  // API call, and error handling.
  8506  //
  8507  // This method is useful when you want to inject custom logic or configuration
  8508  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8509  //
  8510  //
  8511  //    // Example sending a request using the ListTemplateVersionsRequest method.
  8512  //    req, resp := client.ListTemplateVersionsRequest(params)
  8513  //
  8514  //    err := req.Send()
  8515  //    if err == nil { // resp is now filled
  8516  //        fmt.Println(resp)
  8517  //    }
  8518  //
  8519  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions
  8520  func (c *QuickSight) ListTemplateVersionsRequest(input *ListTemplateVersionsInput) (req *request.Request, output *ListTemplateVersionsOutput) {
  8521  	op := &request.Operation{
  8522  		Name:       opListTemplateVersions,
  8523  		HTTPMethod: "GET",
  8524  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/versions",
  8525  		Paginator: &request.Paginator{
  8526  			InputTokens:     []string{"NextToken"},
  8527  			OutputTokens:    []string{"NextToken"},
  8528  			LimitToken:      "MaxResults",
  8529  			TruncationToken: "",
  8530  		},
  8531  	}
  8532  
  8533  	if input == nil {
  8534  		input = &ListTemplateVersionsInput{}
  8535  	}
  8536  
  8537  	output = &ListTemplateVersionsOutput{}
  8538  	req = c.newRequest(op, input, output)
  8539  	return
  8540  }
  8541  
  8542  // ListTemplateVersions API operation for Amazon QuickSight.
  8543  //
  8544  // Lists all the versions of the templates in the current Amazon QuickSight
  8545  // account.
  8546  //
  8547  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8548  // with awserr.Error's Code and Message methods to get detailed information about
  8549  // the error.
  8550  //
  8551  // See the AWS API reference guide for Amazon QuickSight's
  8552  // API operation ListTemplateVersions for usage and error information.
  8553  //
  8554  // Returned Error Types:
  8555  //   * ThrottlingException
  8556  //   Access is throttled.
  8557  //
  8558  //   * InvalidParameterValueException
  8559  //   One or more parameters has a value that isn't valid.
  8560  //
  8561  //   * ResourceNotFoundException
  8562  //   One or more resources can't be found.
  8563  //
  8564  //   * InvalidNextTokenException
  8565  //   The NextToken value isn't valid.
  8566  //
  8567  //   * UnsupportedUserEditionException
  8568  //   This error indicates that you are calling an operation on an Amazon QuickSight
  8569  //   subscription where the edition doesn't include support for that operation.
  8570  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  8571  //   Not every operation and capability is available in every edition.
  8572  //
  8573  //   * InternalFailureException
  8574  //   An internal failure occurred.
  8575  //
  8576  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions
  8577  func (c *QuickSight) ListTemplateVersions(input *ListTemplateVersionsInput) (*ListTemplateVersionsOutput, error) {
  8578  	req, out := c.ListTemplateVersionsRequest(input)
  8579  	return out, req.Send()
  8580  }
  8581  
  8582  // ListTemplateVersionsWithContext is the same as ListTemplateVersions with the addition of
  8583  // the ability to pass a context and additional request options.
  8584  //
  8585  // See ListTemplateVersions for details on how to use this API operation.
  8586  //
  8587  // The context must be non-nil and will be used for request cancellation. If
  8588  // the context is nil a panic will occur. In the future the SDK may create
  8589  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8590  // for more information on using Contexts.
  8591  func (c *QuickSight) ListTemplateVersionsWithContext(ctx aws.Context, input *ListTemplateVersionsInput, opts ...request.Option) (*ListTemplateVersionsOutput, error) {
  8592  	req, out := c.ListTemplateVersionsRequest(input)
  8593  	req.SetContext(ctx)
  8594  	req.ApplyOptions(opts...)
  8595  	return out, req.Send()
  8596  }
  8597  
  8598  // ListTemplateVersionsPages iterates over the pages of a ListTemplateVersions operation,
  8599  // calling the "fn" function with the response data for each page. To stop
  8600  // iterating, return false from the fn function.
  8601  //
  8602  // See ListTemplateVersions method for more information on how to use this operation.
  8603  //
  8604  // Note: This operation can generate multiple requests to a service.
  8605  //
  8606  //    // Example iterating over at most 3 pages of a ListTemplateVersions operation.
  8607  //    pageNum := 0
  8608  //    err := client.ListTemplateVersionsPages(params,
  8609  //        func(page *quicksight.ListTemplateVersionsOutput, lastPage bool) bool {
  8610  //            pageNum++
  8611  //            fmt.Println(page)
  8612  //            return pageNum <= 3
  8613  //        })
  8614  //
  8615  func (c *QuickSight) ListTemplateVersionsPages(input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool) error {
  8616  	return c.ListTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
  8617  }
  8618  
  8619  // ListTemplateVersionsPagesWithContext same as ListTemplateVersionsPages except
  8620  // it takes a Context and allows setting request options on the pages.
  8621  //
  8622  // The context must be non-nil and will be used for request cancellation. If
  8623  // the context is nil a panic will occur. In the future the SDK may create
  8624  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8625  // for more information on using Contexts.
  8626  func (c *QuickSight) ListTemplateVersionsPagesWithContext(ctx aws.Context, input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool, opts ...request.Option) error {
  8627  	p := request.Pagination{
  8628  		NewRequest: func() (*request.Request, error) {
  8629  			var inCpy *ListTemplateVersionsInput
  8630  			if input != nil {
  8631  				tmp := *input
  8632  				inCpy = &tmp
  8633  			}
  8634  			req, _ := c.ListTemplateVersionsRequest(inCpy)
  8635  			req.SetContext(ctx)
  8636  			req.ApplyOptions(opts...)
  8637  			return req, nil
  8638  		},
  8639  	}
  8640  
  8641  	for p.Next() {
  8642  		if !fn(p.Page().(*ListTemplateVersionsOutput), !p.HasNextPage()) {
  8643  			break
  8644  		}
  8645  	}
  8646  
  8647  	return p.Err()
  8648  }
  8649  
  8650  const opListTemplates = "ListTemplates"
  8651  
  8652  // ListTemplatesRequest generates a "aws/request.Request" representing the
  8653  // client's request for the ListTemplates operation. The "output" return
  8654  // value will be populated with the request's response once the request completes
  8655  // successfully.
  8656  //
  8657  // Use "Send" method on the returned Request to send the API call to the service.
  8658  // the "output" return value is not valid until after Send returns without error.
  8659  //
  8660  // See ListTemplates for more information on using the ListTemplates
  8661  // API call, and error handling.
  8662  //
  8663  // This method is useful when you want to inject custom logic or configuration
  8664  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8665  //
  8666  //
  8667  //    // Example sending a request using the ListTemplatesRequest method.
  8668  //    req, resp := client.ListTemplatesRequest(params)
  8669  //
  8670  //    err := req.Send()
  8671  //    if err == nil { // resp is now filled
  8672  //        fmt.Println(resp)
  8673  //    }
  8674  //
  8675  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates
  8676  func (c *QuickSight) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Request, output *ListTemplatesOutput) {
  8677  	op := &request.Operation{
  8678  		Name:       opListTemplates,
  8679  		HTTPMethod: "GET",
  8680  		HTTPPath:   "/accounts/{AwsAccountId}/templates",
  8681  		Paginator: &request.Paginator{
  8682  			InputTokens:     []string{"NextToken"},
  8683  			OutputTokens:    []string{"NextToken"},
  8684  			LimitToken:      "MaxResults",
  8685  			TruncationToken: "",
  8686  		},
  8687  	}
  8688  
  8689  	if input == nil {
  8690  		input = &ListTemplatesInput{}
  8691  	}
  8692  
  8693  	output = &ListTemplatesOutput{}
  8694  	req = c.newRequest(op, input, output)
  8695  	return
  8696  }
  8697  
  8698  // ListTemplates API operation for Amazon QuickSight.
  8699  //
  8700  // Lists all the templates in the current Amazon QuickSight account.
  8701  //
  8702  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8703  // with awserr.Error's Code and Message methods to get detailed information about
  8704  // the error.
  8705  //
  8706  // See the AWS API reference guide for Amazon QuickSight's
  8707  // API operation ListTemplates for usage and error information.
  8708  //
  8709  // Returned Error Types:
  8710  //   * ThrottlingException
  8711  //   Access is throttled.
  8712  //
  8713  //   * InvalidParameterValueException
  8714  //   One or more parameters has a value that isn't valid.
  8715  //
  8716  //   * ResourceNotFoundException
  8717  //   One or more resources can't be found.
  8718  //
  8719  //   * InvalidNextTokenException
  8720  //   The NextToken value isn't valid.
  8721  //
  8722  //   * UnsupportedUserEditionException
  8723  //   This error indicates that you are calling an operation on an Amazon QuickSight
  8724  //   subscription where the edition doesn't include support for that operation.
  8725  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  8726  //   Not every operation and capability is available in every edition.
  8727  //
  8728  //   * InternalFailureException
  8729  //   An internal failure occurred.
  8730  //
  8731  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates
  8732  func (c *QuickSight) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error) {
  8733  	req, out := c.ListTemplatesRequest(input)
  8734  	return out, req.Send()
  8735  }
  8736  
  8737  // ListTemplatesWithContext is the same as ListTemplates with the addition of
  8738  // the ability to pass a context and additional request options.
  8739  //
  8740  // See ListTemplates for details on how to use this API operation.
  8741  //
  8742  // The context must be non-nil and will be used for request cancellation. If
  8743  // the context is nil a panic will occur. In the future the SDK may create
  8744  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8745  // for more information on using Contexts.
  8746  func (c *QuickSight) ListTemplatesWithContext(ctx aws.Context, input *ListTemplatesInput, opts ...request.Option) (*ListTemplatesOutput, error) {
  8747  	req, out := c.ListTemplatesRequest(input)
  8748  	req.SetContext(ctx)
  8749  	req.ApplyOptions(opts...)
  8750  	return out, req.Send()
  8751  }
  8752  
  8753  // ListTemplatesPages iterates over the pages of a ListTemplates operation,
  8754  // calling the "fn" function with the response data for each page. To stop
  8755  // iterating, return false from the fn function.
  8756  //
  8757  // See ListTemplates method for more information on how to use this operation.
  8758  //
  8759  // Note: This operation can generate multiple requests to a service.
  8760  //
  8761  //    // Example iterating over at most 3 pages of a ListTemplates operation.
  8762  //    pageNum := 0
  8763  //    err := client.ListTemplatesPages(params,
  8764  //        func(page *quicksight.ListTemplatesOutput, lastPage bool) bool {
  8765  //            pageNum++
  8766  //            fmt.Println(page)
  8767  //            return pageNum <= 3
  8768  //        })
  8769  //
  8770  func (c *QuickSight) ListTemplatesPages(input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool) error {
  8771  	return c.ListTemplatesPagesWithContext(aws.BackgroundContext(), input, fn)
  8772  }
  8773  
  8774  // ListTemplatesPagesWithContext same as ListTemplatesPages except
  8775  // it takes a Context and allows setting request options on the pages.
  8776  //
  8777  // The context must be non-nil and will be used for request cancellation. If
  8778  // the context is nil a panic will occur. In the future the SDK may create
  8779  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8780  // for more information on using Contexts.
  8781  func (c *QuickSight) ListTemplatesPagesWithContext(ctx aws.Context, input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool, opts ...request.Option) error {
  8782  	p := request.Pagination{
  8783  		NewRequest: func() (*request.Request, error) {
  8784  			var inCpy *ListTemplatesInput
  8785  			if input != nil {
  8786  				tmp := *input
  8787  				inCpy = &tmp
  8788  			}
  8789  			req, _ := c.ListTemplatesRequest(inCpy)
  8790  			req.SetContext(ctx)
  8791  			req.ApplyOptions(opts...)
  8792  			return req, nil
  8793  		},
  8794  	}
  8795  
  8796  	for p.Next() {
  8797  		if !fn(p.Page().(*ListTemplatesOutput), !p.HasNextPage()) {
  8798  			break
  8799  		}
  8800  	}
  8801  
  8802  	return p.Err()
  8803  }
  8804  
  8805  const opListThemeAliases = "ListThemeAliases"
  8806  
  8807  // ListThemeAliasesRequest generates a "aws/request.Request" representing the
  8808  // client's request for the ListThemeAliases operation. The "output" return
  8809  // value will be populated with the request's response once the request completes
  8810  // successfully.
  8811  //
  8812  // Use "Send" method on the returned Request to send the API call to the service.
  8813  // the "output" return value is not valid until after Send returns without error.
  8814  //
  8815  // See ListThemeAliases for more information on using the ListThemeAliases
  8816  // API call, and error handling.
  8817  //
  8818  // This method is useful when you want to inject custom logic or configuration
  8819  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8820  //
  8821  //
  8822  //    // Example sending a request using the ListThemeAliasesRequest method.
  8823  //    req, resp := client.ListThemeAliasesRequest(params)
  8824  //
  8825  //    err := req.Send()
  8826  //    if err == nil { // resp is now filled
  8827  //        fmt.Println(resp)
  8828  //    }
  8829  //
  8830  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases
  8831  func (c *QuickSight) ListThemeAliasesRequest(input *ListThemeAliasesInput) (req *request.Request, output *ListThemeAliasesOutput) {
  8832  	op := &request.Operation{
  8833  		Name:       opListThemeAliases,
  8834  		HTTPMethod: "GET",
  8835  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases",
  8836  	}
  8837  
  8838  	if input == nil {
  8839  		input = &ListThemeAliasesInput{}
  8840  	}
  8841  
  8842  	output = &ListThemeAliasesOutput{}
  8843  	req = c.newRequest(op, input, output)
  8844  	return
  8845  }
  8846  
  8847  // ListThemeAliases API operation for Amazon QuickSight.
  8848  //
  8849  // Lists all the aliases of a theme.
  8850  //
  8851  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8852  // with awserr.Error's Code and Message methods to get detailed information about
  8853  // the error.
  8854  //
  8855  // See the AWS API reference guide for Amazon QuickSight's
  8856  // API operation ListThemeAliases for usage and error information.
  8857  //
  8858  // Returned Error Types:
  8859  //   * ConflictException
  8860  //   Updating or deleting a resource can cause an inconsistent state.
  8861  //
  8862  //   * InvalidNextTokenException
  8863  //   The NextToken value isn't valid.
  8864  //
  8865  //   * InvalidParameterValueException
  8866  //   One or more parameters has a value that isn't valid.
  8867  //
  8868  //   * ResourceNotFoundException
  8869  //   One or more resources can't be found.
  8870  //
  8871  //   * ThrottlingException
  8872  //   Access is throttled.
  8873  //
  8874  //   * UnsupportedUserEditionException
  8875  //   This error indicates that you are calling an operation on an Amazon QuickSight
  8876  //   subscription where the edition doesn't include support for that operation.
  8877  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  8878  //   Not every operation and capability is available in every edition.
  8879  //
  8880  //   * InternalFailureException
  8881  //   An internal failure occurred.
  8882  //
  8883  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases
  8884  func (c *QuickSight) ListThemeAliases(input *ListThemeAliasesInput) (*ListThemeAliasesOutput, error) {
  8885  	req, out := c.ListThemeAliasesRequest(input)
  8886  	return out, req.Send()
  8887  }
  8888  
  8889  // ListThemeAliasesWithContext is the same as ListThemeAliases with the addition of
  8890  // the ability to pass a context and additional request options.
  8891  //
  8892  // See ListThemeAliases for details on how to use this API operation.
  8893  //
  8894  // The context must be non-nil and will be used for request cancellation. If
  8895  // the context is nil a panic will occur. In the future the SDK may create
  8896  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  8897  // for more information on using Contexts.
  8898  func (c *QuickSight) ListThemeAliasesWithContext(ctx aws.Context, input *ListThemeAliasesInput, opts ...request.Option) (*ListThemeAliasesOutput, error) {
  8899  	req, out := c.ListThemeAliasesRequest(input)
  8900  	req.SetContext(ctx)
  8901  	req.ApplyOptions(opts...)
  8902  	return out, req.Send()
  8903  }
  8904  
  8905  const opListThemeVersions = "ListThemeVersions"
  8906  
  8907  // ListThemeVersionsRequest generates a "aws/request.Request" representing the
  8908  // client's request for the ListThemeVersions operation. The "output" return
  8909  // value will be populated with the request's response once the request completes
  8910  // successfully.
  8911  //
  8912  // Use "Send" method on the returned Request to send the API call to the service.
  8913  // the "output" return value is not valid until after Send returns without error.
  8914  //
  8915  // See ListThemeVersions for more information on using the ListThemeVersions
  8916  // API call, and error handling.
  8917  //
  8918  // This method is useful when you want to inject custom logic or configuration
  8919  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  8920  //
  8921  //
  8922  //    // Example sending a request using the ListThemeVersionsRequest method.
  8923  //    req, resp := client.ListThemeVersionsRequest(params)
  8924  //
  8925  //    err := req.Send()
  8926  //    if err == nil { // resp is now filled
  8927  //        fmt.Println(resp)
  8928  //    }
  8929  //
  8930  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions
  8931  func (c *QuickSight) ListThemeVersionsRequest(input *ListThemeVersionsInput) (req *request.Request, output *ListThemeVersionsOutput) {
  8932  	op := &request.Operation{
  8933  		Name:       opListThemeVersions,
  8934  		HTTPMethod: "GET",
  8935  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/versions",
  8936  		Paginator: &request.Paginator{
  8937  			InputTokens:     []string{"NextToken"},
  8938  			OutputTokens:    []string{"NextToken"},
  8939  			LimitToken:      "MaxResults",
  8940  			TruncationToken: "",
  8941  		},
  8942  	}
  8943  
  8944  	if input == nil {
  8945  		input = &ListThemeVersionsInput{}
  8946  	}
  8947  
  8948  	output = &ListThemeVersionsOutput{}
  8949  	req = c.newRequest(op, input, output)
  8950  	return
  8951  }
  8952  
  8953  // ListThemeVersions API operation for Amazon QuickSight.
  8954  //
  8955  // Lists all the versions of the themes in the current Amazon Web Services account.
  8956  //
  8957  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  8958  // with awserr.Error's Code and Message methods to get detailed information about
  8959  // the error.
  8960  //
  8961  // See the AWS API reference guide for Amazon QuickSight's
  8962  // API operation ListThemeVersions for usage and error information.
  8963  //
  8964  // Returned Error Types:
  8965  //   * AccessDeniedException
  8966  //   You don't have access to this item. The provided credentials couldn't be
  8967  //   validated. You might not be authorized to carry out the request. Make sure
  8968  //   that your account is authorized to use the Amazon QuickSight service, that
  8969  //   your policies have the correct permissions, and that you are using the correct
  8970  //   access keys.
  8971  //
  8972  //   * InvalidNextTokenException
  8973  //   The NextToken value isn't valid.
  8974  //
  8975  //   * InvalidParameterValueException
  8976  //   One or more parameters has a value that isn't valid.
  8977  //
  8978  //   * ResourceNotFoundException
  8979  //   One or more resources can't be found.
  8980  //
  8981  //   * ThrottlingException
  8982  //   Access is throttled.
  8983  //
  8984  //   * UnsupportedUserEditionException
  8985  //   This error indicates that you are calling an operation on an Amazon QuickSight
  8986  //   subscription where the edition doesn't include support for that operation.
  8987  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  8988  //   Not every operation and capability is available in every edition.
  8989  //
  8990  //   * InternalFailureException
  8991  //   An internal failure occurred.
  8992  //
  8993  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions
  8994  func (c *QuickSight) ListThemeVersions(input *ListThemeVersionsInput) (*ListThemeVersionsOutput, error) {
  8995  	req, out := c.ListThemeVersionsRequest(input)
  8996  	return out, req.Send()
  8997  }
  8998  
  8999  // ListThemeVersionsWithContext is the same as ListThemeVersions with the addition of
  9000  // the ability to pass a context and additional request options.
  9001  //
  9002  // See ListThemeVersions for details on how to use this API operation.
  9003  //
  9004  // The context must be non-nil and will be used for request cancellation. If
  9005  // the context is nil a panic will occur. In the future the SDK may create
  9006  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9007  // for more information on using Contexts.
  9008  func (c *QuickSight) ListThemeVersionsWithContext(ctx aws.Context, input *ListThemeVersionsInput, opts ...request.Option) (*ListThemeVersionsOutput, error) {
  9009  	req, out := c.ListThemeVersionsRequest(input)
  9010  	req.SetContext(ctx)
  9011  	req.ApplyOptions(opts...)
  9012  	return out, req.Send()
  9013  }
  9014  
  9015  // ListThemeVersionsPages iterates over the pages of a ListThemeVersions operation,
  9016  // calling the "fn" function with the response data for each page. To stop
  9017  // iterating, return false from the fn function.
  9018  //
  9019  // See ListThemeVersions method for more information on how to use this operation.
  9020  //
  9021  // Note: This operation can generate multiple requests to a service.
  9022  //
  9023  //    // Example iterating over at most 3 pages of a ListThemeVersions operation.
  9024  //    pageNum := 0
  9025  //    err := client.ListThemeVersionsPages(params,
  9026  //        func(page *quicksight.ListThemeVersionsOutput, lastPage bool) bool {
  9027  //            pageNum++
  9028  //            fmt.Println(page)
  9029  //            return pageNum <= 3
  9030  //        })
  9031  //
  9032  func (c *QuickSight) ListThemeVersionsPages(input *ListThemeVersionsInput, fn func(*ListThemeVersionsOutput, bool) bool) error {
  9033  	return c.ListThemeVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
  9034  }
  9035  
  9036  // ListThemeVersionsPagesWithContext same as ListThemeVersionsPages except
  9037  // it takes a Context and allows setting request options on the pages.
  9038  //
  9039  // The context must be non-nil and will be used for request cancellation. If
  9040  // the context is nil a panic will occur. In the future the SDK may create
  9041  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9042  // for more information on using Contexts.
  9043  func (c *QuickSight) ListThemeVersionsPagesWithContext(ctx aws.Context, input *ListThemeVersionsInput, fn func(*ListThemeVersionsOutput, bool) bool, opts ...request.Option) error {
  9044  	p := request.Pagination{
  9045  		NewRequest: func() (*request.Request, error) {
  9046  			var inCpy *ListThemeVersionsInput
  9047  			if input != nil {
  9048  				tmp := *input
  9049  				inCpy = &tmp
  9050  			}
  9051  			req, _ := c.ListThemeVersionsRequest(inCpy)
  9052  			req.SetContext(ctx)
  9053  			req.ApplyOptions(opts...)
  9054  			return req, nil
  9055  		},
  9056  	}
  9057  
  9058  	for p.Next() {
  9059  		if !fn(p.Page().(*ListThemeVersionsOutput), !p.HasNextPage()) {
  9060  			break
  9061  		}
  9062  	}
  9063  
  9064  	return p.Err()
  9065  }
  9066  
  9067  const opListThemes = "ListThemes"
  9068  
  9069  // ListThemesRequest generates a "aws/request.Request" representing the
  9070  // client's request for the ListThemes operation. The "output" return
  9071  // value will be populated with the request's response once the request completes
  9072  // successfully.
  9073  //
  9074  // Use "Send" method on the returned Request to send the API call to the service.
  9075  // the "output" return value is not valid until after Send returns without error.
  9076  //
  9077  // See ListThemes for more information on using the ListThemes
  9078  // API call, and error handling.
  9079  //
  9080  // This method is useful when you want to inject custom logic or configuration
  9081  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9082  //
  9083  //
  9084  //    // Example sending a request using the ListThemesRequest method.
  9085  //    req, resp := client.ListThemesRequest(params)
  9086  //
  9087  //    err := req.Send()
  9088  //    if err == nil { // resp is now filled
  9089  //        fmt.Println(resp)
  9090  //    }
  9091  //
  9092  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes
  9093  func (c *QuickSight) ListThemesRequest(input *ListThemesInput) (req *request.Request, output *ListThemesOutput) {
  9094  	op := &request.Operation{
  9095  		Name:       opListThemes,
  9096  		HTTPMethod: "GET",
  9097  		HTTPPath:   "/accounts/{AwsAccountId}/themes",
  9098  		Paginator: &request.Paginator{
  9099  			InputTokens:     []string{"NextToken"},
  9100  			OutputTokens:    []string{"NextToken"},
  9101  			LimitToken:      "MaxResults",
  9102  			TruncationToken: "",
  9103  		},
  9104  	}
  9105  
  9106  	if input == nil {
  9107  		input = &ListThemesInput{}
  9108  	}
  9109  
  9110  	output = &ListThemesOutput{}
  9111  	req = c.newRequest(op, input, output)
  9112  	return
  9113  }
  9114  
  9115  // ListThemes API operation for Amazon QuickSight.
  9116  //
  9117  // Lists all the themes in the current Amazon Web Services account.
  9118  //
  9119  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9120  // with awserr.Error's Code and Message methods to get detailed information about
  9121  // the error.
  9122  //
  9123  // See the AWS API reference guide for Amazon QuickSight's
  9124  // API operation ListThemes for usage and error information.
  9125  //
  9126  // Returned Error Types:
  9127  //   * AccessDeniedException
  9128  //   You don't have access to this item. The provided credentials couldn't be
  9129  //   validated. You might not be authorized to carry out the request. Make sure
  9130  //   that your account is authorized to use the Amazon QuickSight service, that
  9131  //   your policies have the correct permissions, and that you are using the correct
  9132  //   access keys.
  9133  //
  9134  //   * InvalidParameterValueException
  9135  //   One or more parameters has a value that isn't valid.
  9136  //
  9137  //   * InvalidNextTokenException
  9138  //   The NextToken value isn't valid.
  9139  //
  9140  //   * ResourceNotFoundException
  9141  //   One or more resources can't be found.
  9142  //
  9143  //   * ThrottlingException
  9144  //   Access is throttled.
  9145  //
  9146  //   * UnsupportedUserEditionException
  9147  //   This error indicates that you are calling an operation on an Amazon QuickSight
  9148  //   subscription where the edition doesn't include support for that operation.
  9149  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  9150  //   Not every operation and capability is available in every edition.
  9151  //
  9152  //   * InternalFailureException
  9153  //   An internal failure occurred.
  9154  //
  9155  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes
  9156  func (c *QuickSight) ListThemes(input *ListThemesInput) (*ListThemesOutput, error) {
  9157  	req, out := c.ListThemesRequest(input)
  9158  	return out, req.Send()
  9159  }
  9160  
  9161  // ListThemesWithContext is the same as ListThemes with the addition of
  9162  // the ability to pass a context and additional request options.
  9163  //
  9164  // See ListThemes for details on how to use this API operation.
  9165  //
  9166  // The context must be non-nil and will be used for request cancellation. If
  9167  // the context is nil a panic will occur. In the future the SDK may create
  9168  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9169  // for more information on using Contexts.
  9170  func (c *QuickSight) ListThemesWithContext(ctx aws.Context, input *ListThemesInput, opts ...request.Option) (*ListThemesOutput, error) {
  9171  	req, out := c.ListThemesRequest(input)
  9172  	req.SetContext(ctx)
  9173  	req.ApplyOptions(opts...)
  9174  	return out, req.Send()
  9175  }
  9176  
  9177  // ListThemesPages iterates over the pages of a ListThemes operation,
  9178  // calling the "fn" function with the response data for each page. To stop
  9179  // iterating, return false from the fn function.
  9180  //
  9181  // See ListThemes method for more information on how to use this operation.
  9182  //
  9183  // Note: This operation can generate multiple requests to a service.
  9184  //
  9185  //    // Example iterating over at most 3 pages of a ListThemes operation.
  9186  //    pageNum := 0
  9187  //    err := client.ListThemesPages(params,
  9188  //        func(page *quicksight.ListThemesOutput, lastPage bool) bool {
  9189  //            pageNum++
  9190  //            fmt.Println(page)
  9191  //            return pageNum <= 3
  9192  //        })
  9193  //
  9194  func (c *QuickSight) ListThemesPages(input *ListThemesInput, fn func(*ListThemesOutput, bool) bool) error {
  9195  	return c.ListThemesPagesWithContext(aws.BackgroundContext(), input, fn)
  9196  }
  9197  
  9198  // ListThemesPagesWithContext same as ListThemesPages except
  9199  // it takes a Context and allows setting request options on the pages.
  9200  //
  9201  // The context must be non-nil and will be used for request cancellation. If
  9202  // the context is nil a panic will occur. In the future the SDK may create
  9203  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9204  // for more information on using Contexts.
  9205  func (c *QuickSight) ListThemesPagesWithContext(ctx aws.Context, input *ListThemesInput, fn func(*ListThemesOutput, bool) bool, opts ...request.Option) error {
  9206  	p := request.Pagination{
  9207  		NewRequest: func() (*request.Request, error) {
  9208  			var inCpy *ListThemesInput
  9209  			if input != nil {
  9210  				tmp := *input
  9211  				inCpy = &tmp
  9212  			}
  9213  			req, _ := c.ListThemesRequest(inCpy)
  9214  			req.SetContext(ctx)
  9215  			req.ApplyOptions(opts...)
  9216  			return req, nil
  9217  		},
  9218  	}
  9219  
  9220  	for p.Next() {
  9221  		if !fn(p.Page().(*ListThemesOutput), !p.HasNextPage()) {
  9222  			break
  9223  		}
  9224  	}
  9225  
  9226  	return p.Err()
  9227  }
  9228  
  9229  const opListUserGroups = "ListUserGroups"
  9230  
  9231  // ListUserGroupsRequest generates a "aws/request.Request" representing the
  9232  // client's request for the ListUserGroups operation. The "output" return
  9233  // value will be populated with the request's response once the request completes
  9234  // successfully.
  9235  //
  9236  // Use "Send" method on the returned Request to send the API call to the service.
  9237  // the "output" return value is not valid until after Send returns without error.
  9238  //
  9239  // See ListUserGroups for more information on using the ListUserGroups
  9240  // API call, and error handling.
  9241  //
  9242  // This method is useful when you want to inject custom logic or configuration
  9243  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9244  //
  9245  //
  9246  //    // Example sending a request using the ListUserGroupsRequest method.
  9247  //    req, resp := client.ListUserGroupsRequest(params)
  9248  //
  9249  //    err := req.Send()
  9250  //    if err == nil { // resp is now filled
  9251  //        fmt.Println(resp)
  9252  //    }
  9253  //
  9254  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups
  9255  func (c *QuickSight) ListUserGroupsRequest(input *ListUserGroupsInput) (req *request.Request, output *ListUserGroupsOutput) {
  9256  	op := &request.Operation{
  9257  		Name:       opListUserGroups,
  9258  		HTTPMethod: "GET",
  9259  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups",
  9260  	}
  9261  
  9262  	if input == nil {
  9263  		input = &ListUserGroupsInput{}
  9264  	}
  9265  
  9266  	output = &ListUserGroupsOutput{}
  9267  	req = c.newRequest(op, input, output)
  9268  	return
  9269  }
  9270  
  9271  // ListUserGroups API operation for Amazon QuickSight.
  9272  //
  9273  // Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member
  9274  // of.
  9275  //
  9276  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9277  // with awserr.Error's Code and Message methods to get detailed information about
  9278  // the error.
  9279  //
  9280  // See the AWS API reference guide for Amazon QuickSight's
  9281  // API operation ListUserGroups for usage and error information.
  9282  //
  9283  // Returned Error Types:
  9284  //   * AccessDeniedException
  9285  //   You don't have access to this item. The provided credentials couldn't be
  9286  //   validated. You might not be authorized to carry out the request. Make sure
  9287  //   that your account is authorized to use the Amazon QuickSight service, that
  9288  //   your policies have the correct permissions, and that you are using the correct
  9289  //   access keys.
  9290  //
  9291  //   * InvalidParameterValueException
  9292  //   One or more parameters has a value that isn't valid.
  9293  //
  9294  //   * ResourceNotFoundException
  9295  //   One or more resources can't be found.
  9296  //
  9297  //   * ThrottlingException
  9298  //   Access is throttled.
  9299  //
  9300  //   * PreconditionNotMetException
  9301  //   One or more preconditions aren't met.
  9302  //
  9303  //   * InternalFailureException
  9304  //   An internal failure occurred.
  9305  //
  9306  //   * ResourceUnavailableException
  9307  //   This resource is currently unavailable.
  9308  //
  9309  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups
  9310  func (c *QuickSight) ListUserGroups(input *ListUserGroupsInput) (*ListUserGroupsOutput, error) {
  9311  	req, out := c.ListUserGroupsRequest(input)
  9312  	return out, req.Send()
  9313  }
  9314  
  9315  // ListUserGroupsWithContext is the same as ListUserGroups with the addition of
  9316  // the ability to pass a context and additional request options.
  9317  //
  9318  // See ListUserGroups for details on how to use this API operation.
  9319  //
  9320  // The context must be non-nil and will be used for request cancellation. If
  9321  // the context is nil a panic will occur. In the future the SDK may create
  9322  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9323  // for more information on using Contexts.
  9324  func (c *QuickSight) ListUserGroupsWithContext(ctx aws.Context, input *ListUserGroupsInput, opts ...request.Option) (*ListUserGroupsOutput, error) {
  9325  	req, out := c.ListUserGroupsRequest(input)
  9326  	req.SetContext(ctx)
  9327  	req.ApplyOptions(opts...)
  9328  	return out, req.Send()
  9329  }
  9330  
  9331  const opListUsers = "ListUsers"
  9332  
  9333  // ListUsersRequest generates a "aws/request.Request" representing the
  9334  // client's request for the ListUsers operation. The "output" return
  9335  // value will be populated with the request's response once the request completes
  9336  // successfully.
  9337  //
  9338  // Use "Send" method on the returned Request to send the API call to the service.
  9339  // the "output" return value is not valid until after Send returns without error.
  9340  //
  9341  // See ListUsers for more information on using the ListUsers
  9342  // API call, and error handling.
  9343  //
  9344  // This method is useful when you want to inject custom logic or configuration
  9345  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9346  //
  9347  //
  9348  //    // Example sending a request using the ListUsersRequest method.
  9349  //    req, resp := client.ListUsersRequest(params)
  9350  //
  9351  //    err := req.Send()
  9352  //    if err == nil { // resp is now filled
  9353  //        fmt.Println(resp)
  9354  //    }
  9355  //
  9356  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers
  9357  func (c *QuickSight) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) {
  9358  	op := &request.Operation{
  9359  		Name:       opListUsers,
  9360  		HTTPMethod: "GET",
  9361  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
  9362  	}
  9363  
  9364  	if input == nil {
  9365  		input = &ListUsersInput{}
  9366  	}
  9367  
  9368  	output = &ListUsersOutput{}
  9369  	req = c.newRequest(op, input, output)
  9370  	return
  9371  }
  9372  
  9373  // ListUsers API operation for Amazon QuickSight.
  9374  //
  9375  // Returns a list of all of the Amazon QuickSight users belonging to this account.
  9376  //
  9377  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9378  // with awserr.Error's Code and Message methods to get detailed information about
  9379  // the error.
  9380  //
  9381  // See the AWS API reference guide for Amazon QuickSight's
  9382  // API operation ListUsers for usage and error information.
  9383  //
  9384  // Returned Error Types:
  9385  //   * AccessDeniedException
  9386  //   You don't have access to this item. The provided credentials couldn't be
  9387  //   validated. You might not be authorized to carry out the request. Make sure
  9388  //   that your account is authorized to use the Amazon QuickSight service, that
  9389  //   your policies have the correct permissions, and that you are using the correct
  9390  //   access keys.
  9391  //
  9392  //   * InvalidParameterValueException
  9393  //   One or more parameters has a value that isn't valid.
  9394  //
  9395  //   * ResourceNotFoundException
  9396  //   One or more resources can't be found.
  9397  //
  9398  //   * ThrottlingException
  9399  //   Access is throttled.
  9400  //
  9401  //   * InvalidNextTokenException
  9402  //   The NextToken value isn't valid.
  9403  //
  9404  //   * PreconditionNotMetException
  9405  //   One or more preconditions aren't met.
  9406  //
  9407  //   * InternalFailureException
  9408  //   An internal failure occurred.
  9409  //
  9410  //   * ResourceUnavailableException
  9411  //   This resource is currently unavailable.
  9412  //
  9413  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers
  9414  func (c *QuickSight) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) {
  9415  	req, out := c.ListUsersRequest(input)
  9416  	return out, req.Send()
  9417  }
  9418  
  9419  // ListUsersWithContext is the same as ListUsers with the addition of
  9420  // the ability to pass a context and additional request options.
  9421  //
  9422  // See ListUsers for details on how to use this API operation.
  9423  //
  9424  // The context must be non-nil and will be used for request cancellation. If
  9425  // the context is nil a panic will occur. In the future the SDK may create
  9426  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9427  // for more information on using Contexts.
  9428  func (c *QuickSight) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error) {
  9429  	req, out := c.ListUsersRequest(input)
  9430  	req.SetContext(ctx)
  9431  	req.ApplyOptions(opts...)
  9432  	return out, req.Send()
  9433  }
  9434  
  9435  const opRegisterUser = "RegisterUser"
  9436  
  9437  // RegisterUserRequest generates a "aws/request.Request" representing the
  9438  // client's request for the RegisterUser operation. The "output" return
  9439  // value will be populated with the request's response once the request completes
  9440  // successfully.
  9441  //
  9442  // Use "Send" method on the returned Request to send the API call to the service.
  9443  // the "output" return value is not valid until after Send returns without error.
  9444  //
  9445  // See RegisterUser for more information on using the RegisterUser
  9446  // API call, and error handling.
  9447  //
  9448  // This method is useful when you want to inject custom logic or configuration
  9449  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9450  //
  9451  //
  9452  //    // Example sending a request using the RegisterUserRequest method.
  9453  //    req, resp := client.RegisterUserRequest(params)
  9454  //
  9455  //    err := req.Send()
  9456  //    if err == nil { // resp is now filled
  9457  //        fmt.Println(resp)
  9458  //    }
  9459  //
  9460  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser
  9461  func (c *QuickSight) RegisterUserRequest(input *RegisterUserInput) (req *request.Request, output *RegisterUserOutput) {
  9462  	op := &request.Operation{
  9463  		Name:       opRegisterUser,
  9464  		HTTPMethod: "POST",
  9465  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
  9466  	}
  9467  
  9468  	if input == nil {
  9469  		input = &RegisterUserInput{}
  9470  	}
  9471  
  9472  	output = &RegisterUserOutput{}
  9473  	req = c.newRequest(op, input, output)
  9474  	return
  9475  }
  9476  
  9477  // RegisterUser API operation for Amazon QuickSight.
  9478  //
  9479  // Creates an Amazon QuickSight user, whose identity is associated with the
  9480  // AWS Identity and Access Management (IAM) identity or role specified in the
  9481  // request.
  9482  //
  9483  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9484  // with awserr.Error's Code and Message methods to get detailed information about
  9485  // the error.
  9486  //
  9487  // See the AWS API reference guide for Amazon QuickSight's
  9488  // API operation RegisterUser for usage and error information.
  9489  //
  9490  // Returned Error Types:
  9491  //   * AccessDeniedException
  9492  //   You don't have access to this item. The provided credentials couldn't be
  9493  //   validated. You might not be authorized to carry out the request. Make sure
  9494  //   that your account is authorized to use the Amazon QuickSight service, that
  9495  //   your policies have the correct permissions, and that you are using the correct
  9496  //   access keys.
  9497  //
  9498  //   * InvalidParameterValueException
  9499  //   One or more parameters has a value that isn't valid.
  9500  //
  9501  //   * ResourceNotFoundException
  9502  //   One or more resources can't be found.
  9503  //
  9504  //   * ThrottlingException
  9505  //   Access is throttled.
  9506  //
  9507  //   * LimitExceededException
  9508  //   A limit is exceeded.
  9509  //
  9510  //   * ResourceExistsException
  9511  //   The resource specified already exists.
  9512  //
  9513  //   * PreconditionNotMetException
  9514  //   One or more preconditions aren't met.
  9515  //
  9516  //   * InternalFailureException
  9517  //   An internal failure occurred.
  9518  //
  9519  //   * ResourceUnavailableException
  9520  //   This resource is currently unavailable.
  9521  //
  9522  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser
  9523  func (c *QuickSight) RegisterUser(input *RegisterUserInput) (*RegisterUserOutput, error) {
  9524  	req, out := c.RegisterUserRequest(input)
  9525  	return out, req.Send()
  9526  }
  9527  
  9528  // RegisterUserWithContext is the same as RegisterUser with the addition of
  9529  // the ability to pass a context and additional request options.
  9530  //
  9531  // See RegisterUser for details on how to use this API operation.
  9532  //
  9533  // The context must be non-nil and will be used for request cancellation. If
  9534  // the context is nil a panic will occur. In the future the SDK may create
  9535  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9536  // for more information on using Contexts.
  9537  func (c *QuickSight) RegisterUserWithContext(ctx aws.Context, input *RegisterUserInput, opts ...request.Option) (*RegisterUserOutput, error) {
  9538  	req, out := c.RegisterUserRequest(input)
  9539  	req.SetContext(ctx)
  9540  	req.ApplyOptions(opts...)
  9541  	return out, req.Send()
  9542  }
  9543  
  9544  const opRestoreAnalysis = "RestoreAnalysis"
  9545  
  9546  // RestoreAnalysisRequest generates a "aws/request.Request" representing the
  9547  // client's request for the RestoreAnalysis operation. The "output" return
  9548  // value will be populated with the request's response once the request completes
  9549  // successfully.
  9550  //
  9551  // Use "Send" method on the returned Request to send the API call to the service.
  9552  // the "output" return value is not valid until after Send returns without error.
  9553  //
  9554  // See RestoreAnalysis for more information on using the RestoreAnalysis
  9555  // API call, and error handling.
  9556  //
  9557  // This method is useful when you want to inject custom logic or configuration
  9558  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9559  //
  9560  //
  9561  //    // Example sending a request using the RestoreAnalysisRequest method.
  9562  //    req, resp := client.RestoreAnalysisRequest(params)
  9563  //
  9564  //    err := req.Send()
  9565  //    if err == nil { // resp is now filled
  9566  //        fmt.Println(resp)
  9567  //    }
  9568  //
  9569  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis
  9570  func (c *QuickSight) RestoreAnalysisRequest(input *RestoreAnalysisInput) (req *request.Request, output *RestoreAnalysisOutput) {
  9571  	op := &request.Operation{
  9572  		Name:       opRestoreAnalysis,
  9573  		HTTPMethod: "POST",
  9574  		HTTPPath:   "/accounts/{AwsAccountId}/restore/analyses/{AnalysisId}",
  9575  	}
  9576  
  9577  	if input == nil {
  9578  		input = &RestoreAnalysisInput{}
  9579  	}
  9580  
  9581  	output = &RestoreAnalysisOutput{}
  9582  	req = c.newRequest(op, input, output)
  9583  	return
  9584  }
  9585  
  9586  // RestoreAnalysis API operation for Amazon QuickSight.
  9587  //
  9588  // Restores an analysis.
  9589  //
  9590  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9591  // with awserr.Error's Code and Message methods to get detailed information about
  9592  // the error.
  9593  //
  9594  // See the AWS API reference guide for Amazon QuickSight's
  9595  // API operation RestoreAnalysis for usage and error information.
  9596  //
  9597  // Returned Error Types:
  9598  //   * ThrottlingException
  9599  //   Access is throttled.
  9600  //
  9601  //   * InvalidParameterValueException
  9602  //   One or more parameters has a value that isn't valid.
  9603  //
  9604  //   * ConflictException
  9605  //   Updating or deleting a resource can cause an inconsistent state.
  9606  //
  9607  //   * ResourceNotFoundException
  9608  //   One or more resources can't be found.
  9609  //
  9610  //   * UnsupportedUserEditionException
  9611  //   This error indicates that you are calling an operation on an Amazon QuickSight
  9612  //   subscription where the edition doesn't include support for that operation.
  9613  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  9614  //   Not every operation and capability is available in every edition.
  9615  //
  9616  //   * InternalFailureException
  9617  //   An internal failure occurred.
  9618  //
  9619  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis
  9620  func (c *QuickSight) RestoreAnalysis(input *RestoreAnalysisInput) (*RestoreAnalysisOutput, error) {
  9621  	req, out := c.RestoreAnalysisRequest(input)
  9622  	return out, req.Send()
  9623  }
  9624  
  9625  // RestoreAnalysisWithContext is the same as RestoreAnalysis with the addition of
  9626  // the ability to pass a context and additional request options.
  9627  //
  9628  // See RestoreAnalysis for details on how to use this API operation.
  9629  //
  9630  // The context must be non-nil and will be used for request cancellation. If
  9631  // the context is nil a panic will occur. In the future the SDK may create
  9632  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9633  // for more information on using Contexts.
  9634  func (c *QuickSight) RestoreAnalysisWithContext(ctx aws.Context, input *RestoreAnalysisInput, opts ...request.Option) (*RestoreAnalysisOutput, error) {
  9635  	req, out := c.RestoreAnalysisRequest(input)
  9636  	req.SetContext(ctx)
  9637  	req.ApplyOptions(opts...)
  9638  	return out, req.Send()
  9639  }
  9640  
  9641  const opSearchAnalyses = "SearchAnalyses"
  9642  
  9643  // SearchAnalysesRequest generates a "aws/request.Request" representing the
  9644  // client's request for the SearchAnalyses operation. The "output" return
  9645  // value will be populated with the request's response once the request completes
  9646  // successfully.
  9647  //
  9648  // Use "Send" method on the returned Request to send the API call to the service.
  9649  // the "output" return value is not valid until after Send returns without error.
  9650  //
  9651  // See SearchAnalyses for more information on using the SearchAnalyses
  9652  // API call, and error handling.
  9653  //
  9654  // This method is useful when you want to inject custom logic or configuration
  9655  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9656  //
  9657  //
  9658  //    // Example sending a request using the SearchAnalysesRequest method.
  9659  //    req, resp := client.SearchAnalysesRequest(params)
  9660  //
  9661  //    err := req.Send()
  9662  //    if err == nil { // resp is now filled
  9663  //        fmt.Println(resp)
  9664  //    }
  9665  //
  9666  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchAnalyses
  9667  func (c *QuickSight) SearchAnalysesRequest(input *SearchAnalysesInput) (req *request.Request, output *SearchAnalysesOutput) {
  9668  	op := &request.Operation{
  9669  		Name:       opSearchAnalyses,
  9670  		HTTPMethod: "POST",
  9671  		HTTPPath:   "/accounts/{AwsAccountId}/search/analyses",
  9672  		Paginator: &request.Paginator{
  9673  			InputTokens:     []string{"NextToken"},
  9674  			OutputTokens:    []string{"NextToken"},
  9675  			LimitToken:      "MaxResults",
  9676  			TruncationToken: "",
  9677  		},
  9678  	}
  9679  
  9680  	if input == nil {
  9681  		input = &SearchAnalysesInput{}
  9682  	}
  9683  
  9684  	output = &SearchAnalysesOutput{}
  9685  	req = c.newRequest(op, input, output)
  9686  	return
  9687  }
  9688  
  9689  // SearchAnalyses API operation for Amazon QuickSight.
  9690  //
  9691  // Searches for analyses that belong to the user specified in the filter.
  9692  //
  9693  // This operation is eventually consistent. The results are best effort and
  9694  // may not reflect very recent updates and changes.
  9695  //
  9696  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9697  // with awserr.Error's Code and Message methods to get detailed information about
  9698  // the error.
  9699  //
  9700  // See the AWS API reference guide for Amazon QuickSight's
  9701  // API operation SearchAnalyses for usage and error information.
  9702  //
  9703  // Returned Error Types:
  9704  //   * ThrottlingException
  9705  //   Access is throttled.
  9706  //
  9707  //   * ResourceNotFoundException
  9708  //   One or more resources can't be found.
  9709  //
  9710  //   * InvalidParameterValueException
  9711  //   One or more parameters has a value that isn't valid.
  9712  //
  9713  //   * UnsupportedUserEditionException
  9714  //   This error indicates that you are calling an operation on an Amazon QuickSight
  9715  //   subscription where the edition doesn't include support for that operation.
  9716  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  9717  //   Not every operation and capability is available in every edition.
  9718  //
  9719  //   * InvalidNextTokenException
  9720  //   The NextToken value isn't valid.
  9721  //
  9722  //   * InternalFailureException
  9723  //   An internal failure occurred.
  9724  //
  9725  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchAnalyses
  9726  func (c *QuickSight) SearchAnalyses(input *SearchAnalysesInput) (*SearchAnalysesOutput, error) {
  9727  	req, out := c.SearchAnalysesRequest(input)
  9728  	return out, req.Send()
  9729  }
  9730  
  9731  // SearchAnalysesWithContext is the same as SearchAnalyses with the addition of
  9732  // the ability to pass a context and additional request options.
  9733  //
  9734  // See SearchAnalyses for details on how to use this API operation.
  9735  //
  9736  // The context must be non-nil and will be used for request cancellation. If
  9737  // the context is nil a panic will occur. In the future the SDK may create
  9738  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9739  // for more information on using Contexts.
  9740  func (c *QuickSight) SearchAnalysesWithContext(ctx aws.Context, input *SearchAnalysesInput, opts ...request.Option) (*SearchAnalysesOutput, error) {
  9741  	req, out := c.SearchAnalysesRequest(input)
  9742  	req.SetContext(ctx)
  9743  	req.ApplyOptions(opts...)
  9744  	return out, req.Send()
  9745  }
  9746  
  9747  // SearchAnalysesPages iterates over the pages of a SearchAnalyses operation,
  9748  // calling the "fn" function with the response data for each page. To stop
  9749  // iterating, return false from the fn function.
  9750  //
  9751  // See SearchAnalyses method for more information on how to use this operation.
  9752  //
  9753  // Note: This operation can generate multiple requests to a service.
  9754  //
  9755  //    // Example iterating over at most 3 pages of a SearchAnalyses operation.
  9756  //    pageNum := 0
  9757  //    err := client.SearchAnalysesPages(params,
  9758  //        func(page *quicksight.SearchAnalysesOutput, lastPage bool) bool {
  9759  //            pageNum++
  9760  //            fmt.Println(page)
  9761  //            return pageNum <= 3
  9762  //        })
  9763  //
  9764  func (c *QuickSight) SearchAnalysesPages(input *SearchAnalysesInput, fn func(*SearchAnalysesOutput, bool) bool) error {
  9765  	return c.SearchAnalysesPagesWithContext(aws.BackgroundContext(), input, fn)
  9766  }
  9767  
  9768  // SearchAnalysesPagesWithContext same as SearchAnalysesPages except
  9769  // it takes a Context and allows setting request options on the pages.
  9770  //
  9771  // The context must be non-nil and will be used for request cancellation. If
  9772  // the context is nil a panic will occur. In the future the SDK may create
  9773  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9774  // for more information on using Contexts.
  9775  func (c *QuickSight) SearchAnalysesPagesWithContext(ctx aws.Context, input *SearchAnalysesInput, fn func(*SearchAnalysesOutput, bool) bool, opts ...request.Option) error {
  9776  	p := request.Pagination{
  9777  		NewRequest: func() (*request.Request, error) {
  9778  			var inCpy *SearchAnalysesInput
  9779  			if input != nil {
  9780  				tmp := *input
  9781  				inCpy = &tmp
  9782  			}
  9783  			req, _ := c.SearchAnalysesRequest(inCpy)
  9784  			req.SetContext(ctx)
  9785  			req.ApplyOptions(opts...)
  9786  			return req, nil
  9787  		},
  9788  	}
  9789  
  9790  	for p.Next() {
  9791  		if !fn(p.Page().(*SearchAnalysesOutput), !p.HasNextPage()) {
  9792  			break
  9793  		}
  9794  	}
  9795  
  9796  	return p.Err()
  9797  }
  9798  
  9799  const opSearchDashboards = "SearchDashboards"
  9800  
  9801  // SearchDashboardsRequest generates a "aws/request.Request" representing the
  9802  // client's request for the SearchDashboards operation. The "output" return
  9803  // value will be populated with the request's response once the request completes
  9804  // successfully.
  9805  //
  9806  // Use "Send" method on the returned Request to send the API call to the service.
  9807  // the "output" return value is not valid until after Send returns without error.
  9808  //
  9809  // See SearchDashboards for more information on using the SearchDashboards
  9810  // API call, and error handling.
  9811  //
  9812  // This method is useful when you want to inject custom logic or configuration
  9813  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9814  //
  9815  //
  9816  //    // Example sending a request using the SearchDashboardsRequest method.
  9817  //    req, resp := client.SearchDashboardsRequest(params)
  9818  //
  9819  //    err := req.Send()
  9820  //    if err == nil { // resp is now filled
  9821  //        fmt.Println(resp)
  9822  //    }
  9823  //
  9824  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards
  9825  func (c *QuickSight) SearchDashboardsRequest(input *SearchDashboardsInput) (req *request.Request, output *SearchDashboardsOutput) {
  9826  	op := &request.Operation{
  9827  		Name:       opSearchDashboards,
  9828  		HTTPMethod: "POST",
  9829  		HTTPPath:   "/accounts/{AwsAccountId}/search/dashboards",
  9830  		Paginator: &request.Paginator{
  9831  			InputTokens:     []string{"NextToken"},
  9832  			OutputTokens:    []string{"NextToken"},
  9833  			LimitToken:      "MaxResults",
  9834  			TruncationToken: "",
  9835  		},
  9836  	}
  9837  
  9838  	if input == nil {
  9839  		input = &SearchDashboardsInput{}
  9840  	}
  9841  
  9842  	output = &SearchDashboardsOutput{}
  9843  	req = c.newRequest(op, input, output)
  9844  	return
  9845  }
  9846  
  9847  // SearchDashboards API operation for Amazon QuickSight.
  9848  //
  9849  // Searches for dashboards that belong to a user.
  9850  //
  9851  // This operation is eventually consistent. The results are best effort and
  9852  // may not reflect very recent updates and changes.
  9853  //
  9854  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  9855  // with awserr.Error's Code and Message methods to get detailed information about
  9856  // the error.
  9857  //
  9858  // See the AWS API reference guide for Amazon QuickSight's
  9859  // API operation SearchDashboards for usage and error information.
  9860  //
  9861  // Returned Error Types:
  9862  //   * ThrottlingException
  9863  //   Access is throttled.
  9864  //
  9865  //   * ResourceNotFoundException
  9866  //   One or more resources can't be found.
  9867  //
  9868  //   * InvalidParameterValueException
  9869  //   One or more parameters has a value that isn't valid.
  9870  //
  9871  //   * UnsupportedUserEditionException
  9872  //   This error indicates that you are calling an operation on an Amazon QuickSight
  9873  //   subscription where the edition doesn't include support for that operation.
  9874  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
  9875  //   Not every operation and capability is available in every edition.
  9876  //
  9877  //   * InvalidNextTokenException
  9878  //   The NextToken value isn't valid.
  9879  //
  9880  //   * InternalFailureException
  9881  //   An internal failure occurred.
  9882  //
  9883  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards
  9884  func (c *QuickSight) SearchDashboards(input *SearchDashboardsInput) (*SearchDashboardsOutput, error) {
  9885  	req, out := c.SearchDashboardsRequest(input)
  9886  	return out, req.Send()
  9887  }
  9888  
  9889  // SearchDashboardsWithContext is the same as SearchDashboards with the addition of
  9890  // the ability to pass a context and additional request options.
  9891  //
  9892  // See SearchDashboards for details on how to use this API operation.
  9893  //
  9894  // The context must be non-nil and will be used for request cancellation. If
  9895  // the context is nil a panic will occur. In the future the SDK may create
  9896  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9897  // for more information on using Contexts.
  9898  func (c *QuickSight) SearchDashboardsWithContext(ctx aws.Context, input *SearchDashboardsInput, opts ...request.Option) (*SearchDashboardsOutput, error) {
  9899  	req, out := c.SearchDashboardsRequest(input)
  9900  	req.SetContext(ctx)
  9901  	req.ApplyOptions(opts...)
  9902  	return out, req.Send()
  9903  }
  9904  
  9905  // SearchDashboardsPages iterates over the pages of a SearchDashboards operation,
  9906  // calling the "fn" function with the response data for each page. To stop
  9907  // iterating, return false from the fn function.
  9908  //
  9909  // See SearchDashboards method for more information on how to use this operation.
  9910  //
  9911  // Note: This operation can generate multiple requests to a service.
  9912  //
  9913  //    // Example iterating over at most 3 pages of a SearchDashboards operation.
  9914  //    pageNum := 0
  9915  //    err := client.SearchDashboardsPages(params,
  9916  //        func(page *quicksight.SearchDashboardsOutput, lastPage bool) bool {
  9917  //            pageNum++
  9918  //            fmt.Println(page)
  9919  //            return pageNum <= 3
  9920  //        })
  9921  //
  9922  func (c *QuickSight) SearchDashboardsPages(input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool) error {
  9923  	return c.SearchDashboardsPagesWithContext(aws.BackgroundContext(), input, fn)
  9924  }
  9925  
  9926  // SearchDashboardsPagesWithContext same as SearchDashboardsPages except
  9927  // it takes a Context and allows setting request options on the pages.
  9928  //
  9929  // The context must be non-nil and will be used for request cancellation. If
  9930  // the context is nil a panic will occur. In the future the SDK may create
  9931  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  9932  // for more information on using Contexts.
  9933  func (c *QuickSight) SearchDashboardsPagesWithContext(ctx aws.Context, input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool, opts ...request.Option) error {
  9934  	p := request.Pagination{
  9935  		NewRequest: func() (*request.Request, error) {
  9936  			var inCpy *SearchDashboardsInput
  9937  			if input != nil {
  9938  				tmp := *input
  9939  				inCpy = &tmp
  9940  			}
  9941  			req, _ := c.SearchDashboardsRequest(inCpy)
  9942  			req.SetContext(ctx)
  9943  			req.ApplyOptions(opts...)
  9944  			return req, nil
  9945  		},
  9946  	}
  9947  
  9948  	for p.Next() {
  9949  		if !fn(p.Page().(*SearchDashboardsOutput), !p.HasNextPage()) {
  9950  			break
  9951  		}
  9952  	}
  9953  
  9954  	return p.Err()
  9955  }
  9956  
  9957  const opSearchFolders = "SearchFolders"
  9958  
  9959  // SearchFoldersRequest generates a "aws/request.Request" representing the
  9960  // client's request for the SearchFolders operation. The "output" return
  9961  // value will be populated with the request's response once the request completes
  9962  // successfully.
  9963  //
  9964  // Use "Send" method on the returned Request to send the API call to the service.
  9965  // the "output" return value is not valid until after Send returns without error.
  9966  //
  9967  // See SearchFolders for more information on using the SearchFolders
  9968  // API call, and error handling.
  9969  //
  9970  // This method is useful when you want to inject custom logic or configuration
  9971  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  9972  //
  9973  //
  9974  //    // Example sending a request using the SearchFoldersRequest method.
  9975  //    req, resp := client.SearchFoldersRequest(params)
  9976  //
  9977  //    err := req.Send()
  9978  //    if err == nil { // resp is now filled
  9979  //        fmt.Println(resp)
  9980  //    }
  9981  //
  9982  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchFolders
  9983  func (c *QuickSight) SearchFoldersRequest(input *SearchFoldersInput) (req *request.Request, output *SearchFoldersOutput) {
  9984  	op := &request.Operation{
  9985  		Name:       opSearchFolders,
  9986  		HTTPMethod: "POST",
  9987  		HTTPPath:   "/accounts/{AwsAccountId}/search/folders",
  9988  	}
  9989  
  9990  	if input == nil {
  9991  		input = &SearchFoldersInput{}
  9992  	}
  9993  
  9994  	output = &SearchFoldersOutput{}
  9995  	req = c.newRequest(op, input, output)
  9996  	return
  9997  }
  9998  
  9999  // SearchFolders API operation for Amazon QuickSight.
 10000  //
 10001  // Searches the subfolders in a folder.
 10002  //
 10003  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10004  // with awserr.Error's Code and Message methods to get detailed information about
 10005  // the error.
 10006  //
 10007  // See the AWS API reference guide for Amazon QuickSight's
 10008  // API operation SearchFolders for usage and error information.
 10009  //
 10010  // Returned Error Types:
 10011  //   * InvalidParameterValueException
 10012  //   One or more parameters has a value that isn't valid.
 10013  //
 10014  //   * AccessDeniedException
 10015  //   You don't have access to this item. The provided credentials couldn't be
 10016  //   validated. You might not be authorized to carry out the request. Make sure
 10017  //   that your account is authorized to use the Amazon QuickSight service, that
 10018  //   your policies have the correct permissions, and that you are using the correct
 10019  //   access keys.
 10020  //
 10021  //   * ResourceNotFoundException
 10022  //   One or more resources can't be found.
 10023  //
 10024  //   * ThrottlingException
 10025  //   Access is throttled.
 10026  //
 10027  //   * InvalidNextTokenException
 10028  //   The NextToken value isn't valid.
 10029  //
 10030  //   * UnsupportedUserEditionException
 10031  //   This error indicates that you are calling an operation on an Amazon QuickSight
 10032  //   subscription where the edition doesn't include support for that operation.
 10033  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 10034  //   Not every operation and capability is available in every edition.
 10035  //
 10036  //   * InternalFailureException
 10037  //   An internal failure occurred.
 10038  //
 10039  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchFolders
 10040  func (c *QuickSight) SearchFolders(input *SearchFoldersInput) (*SearchFoldersOutput, error) {
 10041  	req, out := c.SearchFoldersRequest(input)
 10042  	return out, req.Send()
 10043  }
 10044  
 10045  // SearchFoldersWithContext is the same as SearchFolders with the addition of
 10046  // the ability to pass a context and additional request options.
 10047  //
 10048  // See SearchFolders for details on how to use this API operation.
 10049  //
 10050  // The context must be non-nil and will be used for request cancellation. If
 10051  // the context is nil a panic will occur. In the future the SDK may create
 10052  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10053  // for more information on using Contexts.
 10054  func (c *QuickSight) SearchFoldersWithContext(ctx aws.Context, input *SearchFoldersInput, opts ...request.Option) (*SearchFoldersOutput, error) {
 10055  	req, out := c.SearchFoldersRequest(input)
 10056  	req.SetContext(ctx)
 10057  	req.ApplyOptions(opts...)
 10058  	return out, req.Send()
 10059  }
 10060  
 10061  const opTagResource = "TagResource"
 10062  
 10063  // TagResourceRequest generates a "aws/request.Request" representing the
 10064  // client's request for the TagResource operation. The "output" return
 10065  // value will be populated with the request's response once the request completes
 10066  // successfully.
 10067  //
 10068  // Use "Send" method on the returned Request to send the API call to the service.
 10069  // the "output" return value is not valid until after Send returns without error.
 10070  //
 10071  // See TagResource for more information on using the TagResource
 10072  // API call, and error handling.
 10073  //
 10074  // This method is useful when you want to inject custom logic or configuration
 10075  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10076  //
 10077  //
 10078  //    // Example sending a request using the TagResourceRequest method.
 10079  //    req, resp := client.TagResourceRequest(params)
 10080  //
 10081  //    err := req.Send()
 10082  //    if err == nil { // resp is now filled
 10083  //        fmt.Println(resp)
 10084  //    }
 10085  //
 10086  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource
 10087  func (c *QuickSight) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
 10088  	op := &request.Operation{
 10089  		Name:       opTagResource,
 10090  		HTTPMethod: "POST",
 10091  		HTTPPath:   "/resources/{ResourceArn}/tags",
 10092  	}
 10093  
 10094  	if input == nil {
 10095  		input = &TagResourceInput{}
 10096  	}
 10097  
 10098  	output = &TagResourceOutput{}
 10099  	req = c.newRequest(op, input, output)
 10100  	return
 10101  }
 10102  
 10103  // TagResource API operation for Amazon QuickSight.
 10104  //
 10105  // Assigns one or more tags (key-value pairs) to the specified Amazon QuickSight
 10106  // resource.
 10107  //
 10108  // Tags can help you organize and categorize your resources. You can also use
 10109  // them to scope user permissions, by granting a user permission to access or
 10110  // change only resources with certain tag values. You can use the TagResource
 10111  // operation with a resource that already has tags. If you specify a new tag
 10112  // key for the resource, this tag is appended to the list of tags associated
 10113  // with the resource. If you specify a tag key that is already associated with
 10114  // the resource, the new tag value that you specify replaces the previous value
 10115  // for that tag.
 10116  //
 10117  // You can associate as many as 50 tags with a resource. Amazon QuickSight supports
 10118  // tagging on data set, data source, dashboard, and template.
 10119  //
 10120  // Tagging for Amazon QuickSight works in a similar way to tagging for other
 10121  // AWS services, except for the following:
 10122  //
 10123  //    * You can't use tags to track AWS costs for Amazon QuickSight. This restriction
 10124  //    is because Amazon QuickSight costs are based on users and SPICE capacity,
 10125  //    which aren't taggable resources.
 10126  //
 10127  //    * Amazon QuickSight doesn't currently support the Tag Editor for Resource
 10128  //    Groups.
 10129  //
 10130  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10131  // with awserr.Error's Code and Message methods to get detailed information about
 10132  // the error.
 10133  //
 10134  // See the AWS API reference guide for Amazon QuickSight's
 10135  // API operation TagResource for usage and error information.
 10136  //
 10137  // Returned Error Types:
 10138  //   * LimitExceededException
 10139  //   A limit is exceeded.
 10140  //
 10141  //   * AccessDeniedException
 10142  //   You don't have access to this item. The provided credentials couldn't be
 10143  //   validated. You might not be authorized to carry out the request. Make sure
 10144  //   that your account is authorized to use the Amazon QuickSight service, that
 10145  //   your policies have the correct permissions, and that you are using the correct
 10146  //   access keys.
 10147  //
 10148  //   * InvalidParameterValueException
 10149  //   One or more parameters has a value that isn't valid.
 10150  //
 10151  //   * ResourceNotFoundException
 10152  //   One or more resources can't be found.
 10153  //
 10154  //   * ThrottlingException
 10155  //   Access is throttled.
 10156  //
 10157  //   * InternalFailureException
 10158  //   An internal failure occurred.
 10159  //
 10160  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource
 10161  func (c *QuickSight) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
 10162  	req, out := c.TagResourceRequest(input)
 10163  	return out, req.Send()
 10164  }
 10165  
 10166  // TagResourceWithContext is the same as TagResource with the addition of
 10167  // the ability to pass a context and additional request options.
 10168  //
 10169  // See TagResource for details on how to use this API operation.
 10170  //
 10171  // The context must be non-nil and will be used for request cancellation. If
 10172  // the context is nil a panic will occur. In the future the SDK may create
 10173  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10174  // for more information on using Contexts.
 10175  func (c *QuickSight) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
 10176  	req, out := c.TagResourceRequest(input)
 10177  	req.SetContext(ctx)
 10178  	req.ApplyOptions(opts...)
 10179  	return out, req.Send()
 10180  }
 10181  
 10182  const opUntagResource = "UntagResource"
 10183  
 10184  // UntagResourceRequest generates a "aws/request.Request" representing the
 10185  // client's request for the UntagResource operation. The "output" return
 10186  // value will be populated with the request's response once the request completes
 10187  // successfully.
 10188  //
 10189  // Use "Send" method on the returned Request to send the API call to the service.
 10190  // the "output" return value is not valid until after Send returns without error.
 10191  //
 10192  // See UntagResource for more information on using the UntagResource
 10193  // API call, and error handling.
 10194  //
 10195  // This method is useful when you want to inject custom logic or configuration
 10196  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10197  //
 10198  //
 10199  //    // Example sending a request using the UntagResourceRequest method.
 10200  //    req, resp := client.UntagResourceRequest(params)
 10201  //
 10202  //    err := req.Send()
 10203  //    if err == nil { // resp is now filled
 10204  //        fmt.Println(resp)
 10205  //    }
 10206  //
 10207  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource
 10208  func (c *QuickSight) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
 10209  	op := &request.Operation{
 10210  		Name:       opUntagResource,
 10211  		HTTPMethod: "DELETE",
 10212  		HTTPPath:   "/resources/{ResourceArn}/tags",
 10213  	}
 10214  
 10215  	if input == nil {
 10216  		input = &UntagResourceInput{}
 10217  	}
 10218  
 10219  	output = &UntagResourceOutput{}
 10220  	req = c.newRequest(op, input, output)
 10221  	return
 10222  }
 10223  
 10224  // UntagResource API operation for Amazon QuickSight.
 10225  //
 10226  // Removes a tag or tags from a resource.
 10227  //
 10228  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10229  // with awserr.Error's Code and Message methods to get detailed information about
 10230  // the error.
 10231  //
 10232  // See the AWS API reference guide for Amazon QuickSight's
 10233  // API operation UntagResource for usage and error information.
 10234  //
 10235  // Returned Error Types:
 10236  //   * AccessDeniedException
 10237  //   You don't have access to this item. The provided credentials couldn't be
 10238  //   validated. You might not be authorized to carry out the request. Make sure
 10239  //   that your account is authorized to use the Amazon QuickSight service, that
 10240  //   your policies have the correct permissions, and that you are using the correct
 10241  //   access keys.
 10242  //
 10243  //   * InvalidParameterValueException
 10244  //   One or more parameters has a value that isn't valid.
 10245  //
 10246  //   * ResourceNotFoundException
 10247  //   One or more resources can't be found.
 10248  //
 10249  //   * ThrottlingException
 10250  //   Access is throttled.
 10251  //
 10252  //   * InternalFailureException
 10253  //   An internal failure occurred.
 10254  //
 10255  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource
 10256  func (c *QuickSight) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
 10257  	req, out := c.UntagResourceRequest(input)
 10258  	return out, req.Send()
 10259  }
 10260  
 10261  // UntagResourceWithContext is the same as UntagResource with the addition of
 10262  // the ability to pass a context and additional request options.
 10263  //
 10264  // See UntagResource for details on how to use this API operation.
 10265  //
 10266  // The context must be non-nil and will be used for request cancellation. If
 10267  // the context is nil a panic will occur. In the future the SDK may create
 10268  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10269  // for more information on using Contexts.
 10270  func (c *QuickSight) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
 10271  	req, out := c.UntagResourceRequest(input)
 10272  	req.SetContext(ctx)
 10273  	req.ApplyOptions(opts...)
 10274  	return out, req.Send()
 10275  }
 10276  
 10277  const opUpdateAccountCustomization = "UpdateAccountCustomization"
 10278  
 10279  // UpdateAccountCustomizationRequest generates a "aws/request.Request" representing the
 10280  // client's request for the UpdateAccountCustomization operation. The "output" return
 10281  // value will be populated with the request's response once the request completes
 10282  // successfully.
 10283  //
 10284  // Use "Send" method on the returned Request to send the API call to the service.
 10285  // the "output" return value is not valid until after Send returns without error.
 10286  //
 10287  // See UpdateAccountCustomization for more information on using the UpdateAccountCustomization
 10288  // API call, and error handling.
 10289  //
 10290  // This method is useful when you want to inject custom logic or configuration
 10291  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10292  //
 10293  //
 10294  //    // Example sending a request using the UpdateAccountCustomizationRequest method.
 10295  //    req, resp := client.UpdateAccountCustomizationRequest(params)
 10296  //
 10297  //    err := req.Send()
 10298  //    if err == nil { // resp is now filled
 10299  //        fmt.Println(resp)
 10300  //    }
 10301  //
 10302  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization
 10303  func (c *QuickSight) UpdateAccountCustomizationRequest(input *UpdateAccountCustomizationInput) (req *request.Request, output *UpdateAccountCustomizationOutput) {
 10304  	op := &request.Operation{
 10305  		Name:       opUpdateAccountCustomization,
 10306  		HTTPMethod: "PUT",
 10307  		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
 10308  	}
 10309  
 10310  	if input == nil {
 10311  		input = &UpdateAccountCustomizationInput{}
 10312  	}
 10313  
 10314  	output = &UpdateAccountCustomizationOutput{}
 10315  	req = c.newRequest(op, input, output)
 10316  	return
 10317  }
 10318  
 10319  // UpdateAccountCustomization API operation for Amazon QuickSight.
 10320  //
 10321  // Updates Amazon QuickSight customizations the current Amazon Web Services
 10322  // Region;. Currently, the only customization you can use is a theme.
 10323  //
 10324  // You can use customizations for your Amazon Web Services account or, if you
 10325  // specify a namespace, for a Amazon QuickSight namespace instead. Customizations
 10326  // that apply to a namespace override customizations that apply to an Amazon
 10327  // Web Services account. To find out which customizations apply, use the DescribeAccountCustomization
 10328  // API operation.
 10329  //
 10330  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10331  // with awserr.Error's Code and Message methods to get detailed information about
 10332  // the error.
 10333  //
 10334  // See the AWS API reference guide for Amazon QuickSight's
 10335  // API operation UpdateAccountCustomization for usage and error information.
 10336  //
 10337  // Returned Error Types:
 10338  //   * AccessDeniedException
 10339  //   You don't have access to this item. The provided credentials couldn't be
 10340  //   validated. You might not be authorized to carry out the request. Make sure
 10341  //   that your account is authorized to use the Amazon QuickSight service, that
 10342  //   your policies have the correct permissions, and that you are using the correct
 10343  //   access keys.
 10344  //
 10345  //   * InvalidParameterValueException
 10346  //   One or more parameters has a value that isn't valid.
 10347  //
 10348  //   * ResourceNotFoundException
 10349  //   One or more resources can't be found.
 10350  //
 10351  //   * ThrottlingException
 10352  //   Access is throttled.
 10353  //
 10354  //   * InternalFailureException
 10355  //   An internal failure occurred.
 10356  //
 10357  //   * ResourceUnavailableException
 10358  //   This resource is currently unavailable.
 10359  //
 10360  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization
 10361  func (c *QuickSight) UpdateAccountCustomization(input *UpdateAccountCustomizationInput) (*UpdateAccountCustomizationOutput, error) {
 10362  	req, out := c.UpdateAccountCustomizationRequest(input)
 10363  	return out, req.Send()
 10364  }
 10365  
 10366  // UpdateAccountCustomizationWithContext is the same as UpdateAccountCustomization with the addition of
 10367  // the ability to pass a context and additional request options.
 10368  //
 10369  // See UpdateAccountCustomization for details on how to use this API operation.
 10370  //
 10371  // The context must be non-nil and will be used for request cancellation. If
 10372  // the context is nil a panic will occur. In the future the SDK may create
 10373  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10374  // for more information on using Contexts.
 10375  func (c *QuickSight) UpdateAccountCustomizationWithContext(ctx aws.Context, input *UpdateAccountCustomizationInput, opts ...request.Option) (*UpdateAccountCustomizationOutput, error) {
 10376  	req, out := c.UpdateAccountCustomizationRequest(input)
 10377  	req.SetContext(ctx)
 10378  	req.ApplyOptions(opts...)
 10379  	return out, req.Send()
 10380  }
 10381  
 10382  const opUpdateAccountSettings = "UpdateAccountSettings"
 10383  
 10384  // UpdateAccountSettingsRequest generates a "aws/request.Request" representing the
 10385  // client's request for the UpdateAccountSettings operation. The "output" return
 10386  // value will be populated with the request's response once the request completes
 10387  // successfully.
 10388  //
 10389  // Use "Send" method on the returned Request to send the API call to the service.
 10390  // the "output" return value is not valid until after Send returns without error.
 10391  //
 10392  // See UpdateAccountSettings for more information on using the UpdateAccountSettings
 10393  // API call, and error handling.
 10394  //
 10395  // This method is useful when you want to inject custom logic or configuration
 10396  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10397  //
 10398  //
 10399  //    // Example sending a request using the UpdateAccountSettingsRequest method.
 10400  //    req, resp := client.UpdateAccountSettingsRequest(params)
 10401  //
 10402  //    err := req.Send()
 10403  //    if err == nil { // resp is now filled
 10404  //        fmt.Println(resp)
 10405  //    }
 10406  //
 10407  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings
 10408  func (c *QuickSight) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) {
 10409  	op := &request.Operation{
 10410  		Name:       opUpdateAccountSettings,
 10411  		HTTPMethod: "PUT",
 10412  		HTTPPath:   "/accounts/{AwsAccountId}/settings",
 10413  	}
 10414  
 10415  	if input == nil {
 10416  		input = &UpdateAccountSettingsInput{}
 10417  	}
 10418  
 10419  	output = &UpdateAccountSettingsOutput{}
 10420  	req = c.newRequest(op, input, output)
 10421  	return
 10422  }
 10423  
 10424  // UpdateAccountSettings API operation for Amazon QuickSight.
 10425  //
 10426  // Updates the Amazon QuickSight settings in your Amazon Web Services account.
 10427  //
 10428  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10429  // with awserr.Error's Code and Message methods to get detailed information about
 10430  // the error.
 10431  //
 10432  // See the AWS API reference guide for Amazon QuickSight's
 10433  // API operation UpdateAccountSettings for usage and error information.
 10434  //
 10435  // Returned Error Types:
 10436  //   * AccessDeniedException
 10437  //   You don't have access to this item. The provided credentials couldn't be
 10438  //   validated. You might not be authorized to carry out the request. Make sure
 10439  //   that your account is authorized to use the Amazon QuickSight service, that
 10440  //   your policies have the correct permissions, and that you are using the correct
 10441  //   access keys.
 10442  //
 10443  //   * InvalidParameterValueException
 10444  //   One or more parameters has a value that isn't valid.
 10445  //
 10446  //   * ResourceNotFoundException
 10447  //   One or more resources can't be found.
 10448  //
 10449  //   * ThrottlingException
 10450  //   Access is throttled.
 10451  //
 10452  //   * InternalFailureException
 10453  //   An internal failure occurred.
 10454  //
 10455  //   * ResourceUnavailableException
 10456  //   This resource is currently unavailable.
 10457  //
 10458  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings
 10459  func (c *QuickSight) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) {
 10460  	req, out := c.UpdateAccountSettingsRequest(input)
 10461  	return out, req.Send()
 10462  }
 10463  
 10464  // UpdateAccountSettingsWithContext is the same as UpdateAccountSettings with the addition of
 10465  // the ability to pass a context and additional request options.
 10466  //
 10467  // See UpdateAccountSettings for details on how to use this API operation.
 10468  //
 10469  // The context must be non-nil and will be used for request cancellation. If
 10470  // the context is nil a panic will occur. In the future the SDK may create
 10471  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10472  // for more information on using Contexts.
 10473  func (c *QuickSight) UpdateAccountSettingsWithContext(ctx aws.Context, input *UpdateAccountSettingsInput, opts ...request.Option) (*UpdateAccountSettingsOutput, error) {
 10474  	req, out := c.UpdateAccountSettingsRequest(input)
 10475  	req.SetContext(ctx)
 10476  	req.ApplyOptions(opts...)
 10477  	return out, req.Send()
 10478  }
 10479  
 10480  const opUpdateAnalysis = "UpdateAnalysis"
 10481  
 10482  // UpdateAnalysisRequest generates a "aws/request.Request" representing the
 10483  // client's request for the UpdateAnalysis operation. The "output" return
 10484  // value will be populated with the request's response once the request completes
 10485  // successfully.
 10486  //
 10487  // Use "Send" method on the returned Request to send the API call to the service.
 10488  // the "output" return value is not valid until after Send returns without error.
 10489  //
 10490  // See UpdateAnalysis for more information on using the UpdateAnalysis
 10491  // API call, and error handling.
 10492  //
 10493  // This method is useful when you want to inject custom logic or configuration
 10494  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10495  //
 10496  //
 10497  //    // Example sending a request using the UpdateAnalysisRequest method.
 10498  //    req, resp := client.UpdateAnalysisRequest(params)
 10499  //
 10500  //    err := req.Send()
 10501  //    if err == nil { // resp is now filled
 10502  //        fmt.Println(resp)
 10503  //    }
 10504  //
 10505  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysis
 10506  func (c *QuickSight) UpdateAnalysisRequest(input *UpdateAnalysisInput) (req *request.Request, output *UpdateAnalysisOutput) {
 10507  	op := &request.Operation{
 10508  		Name:       opUpdateAnalysis,
 10509  		HTTPMethod: "PUT",
 10510  		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
 10511  	}
 10512  
 10513  	if input == nil {
 10514  		input = &UpdateAnalysisInput{}
 10515  	}
 10516  
 10517  	output = &UpdateAnalysisOutput{}
 10518  	req = c.newRequest(op, input, output)
 10519  	return
 10520  }
 10521  
 10522  // UpdateAnalysis API operation for Amazon QuickSight.
 10523  //
 10524  // Updates an analysis in Amazon QuickSight
 10525  //
 10526  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10527  // with awserr.Error's Code and Message methods to get detailed information about
 10528  // the error.
 10529  //
 10530  // See the AWS API reference guide for Amazon QuickSight's
 10531  // API operation UpdateAnalysis for usage and error information.
 10532  //
 10533  // Returned Error Types:
 10534  //   * ResourceNotFoundException
 10535  //   One or more resources can't be found.
 10536  //
 10537  //   * InvalidParameterValueException
 10538  //   One or more parameters has a value that isn't valid.
 10539  //
 10540  //   * ThrottlingException
 10541  //   Access is throttled.
 10542  //
 10543  //   * ResourceExistsException
 10544  //   The resource specified already exists.
 10545  //
 10546  //   * ConflictException
 10547  //   Updating or deleting a resource can cause an inconsistent state.
 10548  //
 10549  //   * UnsupportedUserEditionException
 10550  //   This error indicates that you are calling an operation on an Amazon QuickSight
 10551  //   subscription where the edition doesn't include support for that operation.
 10552  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 10553  //   Not every operation and capability is available in every edition.
 10554  //
 10555  //   * InternalFailureException
 10556  //   An internal failure occurred.
 10557  //
 10558  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysis
 10559  func (c *QuickSight) UpdateAnalysis(input *UpdateAnalysisInput) (*UpdateAnalysisOutput, error) {
 10560  	req, out := c.UpdateAnalysisRequest(input)
 10561  	return out, req.Send()
 10562  }
 10563  
 10564  // UpdateAnalysisWithContext is the same as UpdateAnalysis with the addition of
 10565  // the ability to pass a context and additional request options.
 10566  //
 10567  // See UpdateAnalysis for details on how to use this API operation.
 10568  //
 10569  // The context must be non-nil and will be used for request cancellation. If
 10570  // the context is nil a panic will occur. In the future the SDK may create
 10571  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10572  // for more information on using Contexts.
 10573  func (c *QuickSight) UpdateAnalysisWithContext(ctx aws.Context, input *UpdateAnalysisInput, opts ...request.Option) (*UpdateAnalysisOutput, error) {
 10574  	req, out := c.UpdateAnalysisRequest(input)
 10575  	req.SetContext(ctx)
 10576  	req.ApplyOptions(opts...)
 10577  	return out, req.Send()
 10578  }
 10579  
 10580  const opUpdateAnalysisPermissions = "UpdateAnalysisPermissions"
 10581  
 10582  // UpdateAnalysisPermissionsRequest generates a "aws/request.Request" representing the
 10583  // client's request for the UpdateAnalysisPermissions operation. The "output" return
 10584  // value will be populated with the request's response once the request completes
 10585  // successfully.
 10586  //
 10587  // Use "Send" method on the returned Request to send the API call to the service.
 10588  // the "output" return value is not valid until after Send returns without error.
 10589  //
 10590  // See UpdateAnalysisPermissions for more information on using the UpdateAnalysisPermissions
 10591  // API call, and error handling.
 10592  //
 10593  // This method is useful when you want to inject custom logic or configuration
 10594  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10595  //
 10596  //
 10597  //    // Example sending a request using the UpdateAnalysisPermissionsRequest method.
 10598  //    req, resp := client.UpdateAnalysisPermissionsRequest(params)
 10599  //
 10600  //    err := req.Send()
 10601  //    if err == nil { // resp is now filled
 10602  //        fmt.Println(resp)
 10603  //    }
 10604  //
 10605  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysisPermissions
 10606  func (c *QuickSight) UpdateAnalysisPermissionsRequest(input *UpdateAnalysisPermissionsInput) (req *request.Request, output *UpdateAnalysisPermissionsOutput) {
 10607  	op := &request.Operation{
 10608  		Name:       opUpdateAnalysisPermissions,
 10609  		HTTPMethod: "PUT",
 10610  		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions",
 10611  	}
 10612  
 10613  	if input == nil {
 10614  		input = &UpdateAnalysisPermissionsInput{}
 10615  	}
 10616  
 10617  	output = &UpdateAnalysisPermissionsOutput{}
 10618  	req = c.newRequest(op, input, output)
 10619  	return
 10620  }
 10621  
 10622  // UpdateAnalysisPermissions API operation for Amazon QuickSight.
 10623  //
 10624  // Updates the read and write permissions for an analysis.
 10625  //
 10626  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10627  // with awserr.Error's Code and Message methods to get detailed information about
 10628  // the error.
 10629  //
 10630  // See the AWS API reference guide for Amazon QuickSight's
 10631  // API operation UpdateAnalysisPermissions for usage and error information.
 10632  //
 10633  // Returned Error Types:
 10634  //   * ThrottlingException
 10635  //   Access is throttled.
 10636  //
 10637  //   * InvalidParameterValueException
 10638  //   One or more parameters has a value that isn't valid.
 10639  //
 10640  //   * ResourceNotFoundException
 10641  //   One or more resources can't be found.
 10642  //
 10643  //   * UnsupportedUserEditionException
 10644  //   This error indicates that you are calling an operation on an Amazon QuickSight
 10645  //   subscription where the edition doesn't include support for that operation.
 10646  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 10647  //   Not every operation and capability is available in every edition.
 10648  //
 10649  //   * ConflictException
 10650  //   Updating or deleting a resource can cause an inconsistent state.
 10651  //
 10652  //   * InternalFailureException
 10653  //   An internal failure occurred.
 10654  //
 10655  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysisPermissions
 10656  func (c *QuickSight) UpdateAnalysisPermissions(input *UpdateAnalysisPermissionsInput) (*UpdateAnalysisPermissionsOutput, error) {
 10657  	req, out := c.UpdateAnalysisPermissionsRequest(input)
 10658  	return out, req.Send()
 10659  }
 10660  
 10661  // UpdateAnalysisPermissionsWithContext is the same as UpdateAnalysisPermissions with the addition of
 10662  // the ability to pass a context and additional request options.
 10663  //
 10664  // See UpdateAnalysisPermissions for details on how to use this API operation.
 10665  //
 10666  // The context must be non-nil and will be used for request cancellation. If
 10667  // the context is nil a panic will occur. In the future the SDK may create
 10668  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10669  // for more information on using Contexts.
 10670  func (c *QuickSight) UpdateAnalysisPermissionsWithContext(ctx aws.Context, input *UpdateAnalysisPermissionsInput, opts ...request.Option) (*UpdateAnalysisPermissionsOutput, error) {
 10671  	req, out := c.UpdateAnalysisPermissionsRequest(input)
 10672  	req.SetContext(ctx)
 10673  	req.ApplyOptions(opts...)
 10674  	return out, req.Send()
 10675  }
 10676  
 10677  const opUpdateDashboard = "UpdateDashboard"
 10678  
 10679  // UpdateDashboardRequest generates a "aws/request.Request" representing the
 10680  // client's request for the UpdateDashboard operation. The "output" return
 10681  // value will be populated with the request's response once the request completes
 10682  // successfully.
 10683  //
 10684  // Use "Send" method on the returned Request to send the API call to the service.
 10685  // the "output" return value is not valid until after Send returns without error.
 10686  //
 10687  // See UpdateDashboard for more information on using the UpdateDashboard
 10688  // API call, and error handling.
 10689  //
 10690  // This method is useful when you want to inject custom logic or configuration
 10691  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10692  //
 10693  //
 10694  //    // Example sending a request using the UpdateDashboardRequest method.
 10695  //    req, resp := client.UpdateDashboardRequest(params)
 10696  //
 10697  //    err := req.Send()
 10698  //    if err == nil { // resp is now filled
 10699  //        fmt.Println(resp)
 10700  //    }
 10701  //
 10702  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard
 10703  func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput) {
 10704  	op := &request.Operation{
 10705  		Name:       opUpdateDashboard,
 10706  		HTTPMethod: "PUT",
 10707  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
 10708  	}
 10709  
 10710  	if input == nil {
 10711  		input = &UpdateDashboardInput{}
 10712  	}
 10713  
 10714  	output = &UpdateDashboardOutput{}
 10715  	req = c.newRequest(op, input, output)
 10716  	return
 10717  }
 10718  
 10719  // UpdateDashboard API operation for Amazon QuickSight.
 10720  //
 10721  // Updates a dashboard in an Amazon Web Services account.
 10722  //
 10723  // Updating a Dashboard creates a new dashboard version but does not immediately
 10724  // publish the new version. You can update the published version of a dashboard
 10725  // by using the UpdateDashboardPublishedVersion API operation.
 10726  //
 10727  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10728  // with awserr.Error's Code and Message methods to get detailed information about
 10729  // the error.
 10730  //
 10731  // See the AWS API reference guide for Amazon QuickSight's
 10732  // API operation UpdateDashboard for usage and error information.
 10733  //
 10734  // Returned Error Types:
 10735  //   * ThrottlingException
 10736  //   Access is throttled.
 10737  //
 10738  //   * InvalidParameterValueException
 10739  //   One or more parameters has a value that isn't valid.
 10740  //
 10741  //   * ResourceNotFoundException
 10742  //   One or more resources can't be found.
 10743  //
 10744  //   * ConflictException
 10745  //   Updating or deleting a resource can cause an inconsistent state.
 10746  //
 10747  //   * LimitExceededException
 10748  //   A limit is exceeded.
 10749  //
 10750  //   * UnsupportedUserEditionException
 10751  //   This error indicates that you are calling an operation on an Amazon QuickSight
 10752  //   subscription where the edition doesn't include support for that operation.
 10753  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 10754  //   Not every operation and capability is available in every edition.
 10755  //
 10756  //   * InternalFailureException
 10757  //   An internal failure occurred.
 10758  //
 10759  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard
 10760  func (c *QuickSight) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error) {
 10761  	req, out := c.UpdateDashboardRequest(input)
 10762  	return out, req.Send()
 10763  }
 10764  
 10765  // UpdateDashboardWithContext is the same as UpdateDashboard with the addition of
 10766  // the ability to pass a context and additional request options.
 10767  //
 10768  // See UpdateDashboard for details on how to use this API operation.
 10769  //
 10770  // The context must be non-nil and will be used for request cancellation. If
 10771  // the context is nil a panic will occur. In the future the SDK may create
 10772  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10773  // for more information on using Contexts.
 10774  func (c *QuickSight) UpdateDashboardWithContext(ctx aws.Context, input *UpdateDashboardInput, opts ...request.Option) (*UpdateDashboardOutput, error) {
 10775  	req, out := c.UpdateDashboardRequest(input)
 10776  	req.SetContext(ctx)
 10777  	req.ApplyOptions(opts...)
 10778  	return out, req.Send()
 10779  }
 10780  
 10781  const opUpdateDashboardPermissions = "UpdateDashboardPermissions"
 10782  
 10783  // UpdateDashboardPermissionsRequest generates a "aws/request.Request" representing the
 10784  // client's request for the UpdateDashboardPermissions operation. The "output" return
 10785  // value will be populated with the request's response once the request completes
 10786  // successfully.
 10787  //
 10788  // Use "Send" method on the returned Request to send the API call to the service.
 10789  // the "output" return value is not valid until after Send returns without error.
 10790  //
 10791  // See UpdateDashboardPermissions for more information on using the UpdateDashboardPermissions
 10792  // API call, and error handling.
 10793  //
 10794  // This method is useful when you want to inject custom logic or configuration
 10795  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10796  //
 10797  //
 10798  //    // Example sending a request using the UpdateDashboardPermissionsRequest method.
 10799  //    req, resp := client.UpdateDashboardPermissionsRequest(params)
 10800  //
 10801  //    err := req.Send()
 10802  //    if err == nil { // resp is now filled
 10803  //        fmt.Println(resp)
 10804  //    }
 10805  //
 10806  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions
 10807  func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPermissionsInput) (req *request.Request, output *UpdateDashboardPermissionsOutput) {
 10808  	op := &request.Operation{
 10809  		Name:       opUpdateDashboardPermissions,
 10810  		HTTPMethod: "PUT",
 10811  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
 10812  	}
 10813  
 10814  	if input == nil {
 10815  		input = &UpdateDashboardPermissionsInput{}
 10816  	}
 10817  
 10818  	output = &UpdateDashboardPermissionsOutput{}
 10819  	req = c.newRequest(op, input, output)
 10820  	return
 10821  }
 10822  
 10823  // UpdateDashboardPermissions API operation for Amazon QuickSight.
 10824  //
 10825  // Updates read and write permissions on a dashboard.
 10826  //
 10827  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10828  // with awserr.Error's Code and Message methods to get detailed information about
 10829  // the error.
 10830  //
 10831  // See the AWS API reference guide for Amazon QuickSight's
 10832  // API operation UpdateDashboardPermissions for usage and error information.
 10833  //
 10834  // Returned Error Types:
 10835  //   * ThrottlingException
 10836  //   Access is throttled.
 10837  //
 10838  //   * InvalidParameterValueException
 10839  //   One or more parameters has a value that isn't valid.
 10840  //
 10841  //   * ResourceNotFoundException
 10842  //   One or more resources can't be found.
 10843  //
 10844  //   * UnsupportedUserEditionException
 10845  //   This error indicates that you are calling an operation on an Amazon QuickSight
 10846  //   subscription where the edition doesn't include support for that operation.
 10847  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 10848  //   Not every operation and capability is available in every edition.
 10849  //
 10850  //   * ConflictException
 10851  //   Updating or deleting a resource can cause an inconsistent state.
 10852  //
 10853  //   * InternalFailureException
 10854  //   An internal failure occurred.
 10855  //
 10856  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions
 10857  func (c *QuickSight) UpdateDashboardPermissions(input *UpdateDashboardPermissionsInput) (*UpdateDashboardPermissionsOutput, error) {
 10858  	req, out := c.UpdateDashboardPermissionsRequest(input)
 10859  	return out, req.Send()
 10860  }
 10861  
 10862  // UpdateDashboardPermissionsWithContext is the same as UpdateDashboardPermissions with the addition of
 10863  // the ability to pass a context and additional request options.
 10864  //
 10865  // See UpdateDashboardPermissions for details on how to use this API operation.
 10866  //
 10867  // The context must be non-nil and will be used for request cancellation. If
 10868  // the context is nil a panic will occur. In the future the SDK may create
 10869  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10870  // for more information on using Contexts.
 10871  func (c *QuickSight) UpdateDashboardPermissionsWithContext(ctx aws.Context, input *UpdateDashboardPermissionsInput, opts ...request.Option) (*UpdateDashboardPermissionsOutput, error) {
 10872  	req, out := c.UpdateDashboardPermissionsRequest(input)
 10873  	req.SetContext(ctx)
 10874  	req.ApplyOptions(opts...)
 10875  	return out, req.Send()
 10876  }
 10877  
 10878  const opUpdateDashboardPublishedVersion = "UpdateDashboardPublishedVersion"
 10879  
 10880  // UpdateDashboardPublishedVersionRequest generates a "aws/request.Request" representing the
 10881  // client's request for the UpdateDashboardPublishedVersion operation. The "output" return
 10882  // value will be populated with the request's response once the request completes
 10883  // successfully.
 10884  //
 10885  // Use "Send" method on the returned Request to send the API call to the service.
 10886  // the "output" return value is not valid until after Send returns without error.
 10887  //
 10888  // See UpdateDashboardPublishedVersion for more information on using the UpdateDashboardPublishedVersion
 10889  // API call, and error handling.
 10890  //
 10891  // This method is useful when you want to inject custom logic or configuration
 10892  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10893  //
 10894  //
 10895  //    // Example sending a request using the UpdateDashboardPublishedVersionRequest method.
 10896  //    req, resp := client.UpdateDashboardPublishedVersionRequest(params)
 10897  //
 10898  //    err := req.Send()
 10899  //    if err == nil { // resp is now filled
 10900  //        fmt.Println(resp)
 10901  //    }
 10902  //
 10903  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion
 10904  func (c *QuickSight) UpdateDashboardPublishedVersionRequest(input *UpdateDashboardPublishedVersionInput) (req *request.Request, output *UpdateDashboardPublishedVersionOutput) {
 10905  	op := &request.Operation{
 10906  		Name:       opUpdateDashboardPublishedVersion,
 10907  		HTTPMethod: "PUT",
 10908  		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}",
 10909  	}
 10910  
 10911  	if input == nil {
 10912  		input = &UpdateDashboardPublishedVersionInput{}
 10913  	}
 10914  
 10915  	output = &UpdateDashboardPublishedVersionOutput{}
 10916  	req = c.newRequest(op, input, output)
 10917  	return
 10918  }
 10919  
 10920  // UpdateDashboardPublishedVersion API operation for Amazon QuickSight.
 10921  //
 10922  // Updates the published version of a dashboard.
 10923  //
 10924  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 10925  // with awserr.Error's Code and Message methods to get detailed information about
 10926  // the error.
 10927  //
 10928  // See the AWS API reference guide for Amazon QuickSight's
 10929  // API operation UpdateDashboardPublishedVersion for usage and error information.
 10930  //
 10931  // Returned Error Types:
 10932  //   * InvalidParameterValueException
 10933  //   One or more parameters has a value that isn't valid.
 10934  //
 10935  //   * ThrottlingException
 10936  //   Access is throttled.
 10937  //
 10938  //   * ConflictException
 10939  //   Updating or deleting a resource can cause an inconsistent state.
 10940  //
 10941  //   * ResourceNotFoundException
 10942  //   One or more resources can't be found.
 10943  //
 10944  //   * UnsupportedUserEditionException
 10945  //   This error indicates that you are calling an operation on an Amazon QuickSight
 10946  //   subscription where the edition doesn't include support for that operation.
 10947  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 10948  //   Not every operation and capability is available in every edition.
 10949  //
 10950  //   * InternalFailureException
 10951  //   An internal failure occurred.
 10952  //
 10953  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion
 10954  func (c *QuickSight) UpdateDashboardPublishedVersion(input *UpdateDashboardPublishedVersionInput) (*UpdateDashboardPublishedVersionOutput, error) {
 10955  	req, out := c.UpdateDashboardPublishedVersionRequest(input)
 10956  	return out, req.Send()
 10957  }
 10958  
 10959  // UpdateDashboardPublishedVersionWithContext is the same as UpdateDashboardPublishedVersion with the addition of
 10960  // the ability to pass a context and additional request options.
 10961  //
 10962  // See UpdateDashboardPublishedVersion for details on how to use this API operation.
 10963  //
 10964  // The context must be non-nil and will be used for request cancellation. If
 10965  // the context is nil a panic will occur. In the future the SDK may create
 10966  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 10967  // for more information on using Contexts.
 10968  func (c *QuickSight) UpdateDashboardPublishedVersionWithContext(ctx aws.Context, input *UpdateDashboardPublishedVersionInput, opts ...request.Option) (*UpdateDashboardPublishedVersionOutput, error) {
 10969  	req, out := c.UpdateDashboardPublishedVersionRequest(input)
 10970  	req.SetContext(ctx)
 10971  	req.ApplyOptions(opts...)
 10972  	return out, req.Send()
 10973  }
 10974  
 10975  const opUpdateDataSet = "UpdateDataSet"
 10976  
 10977  // UpdateDataSetRequest generates a "aws/request.Request" representing the
 10978  // client's request for the UpdateDataSet operation. The "output" return
 10979  // value will be populated with the request's response once the request completes
 10980  // successfully.
 10981  //
 10982  // Use "Send" method on the returned Request to send the API call to the service.
 10983  // the "output" return value is not valid until after Send returns without error.
 10984  //
 10985  // See UpdateDataSet for more information on using the UpdateDataSet
 10986  // API call, and error handling.
 10987  //
 10988  // This method is useful when you want to inject custom logic or configuration
 10989  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 10990  //
 10991  //
 10992  //    // Example sending a request using the UpdateDataSetRequest method.
 10993  //    req, resp := client.UpdateDataSetRequest(params)
 10994  //
 10995  //    err := req.Send()
 10996  //    if err == nil { // resp is now filled
 10997  //        fmt.Println(resp)
 10998  //    }
 10999  //
 11000  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet
 11001  func (c *QuickSight) UpdateDataSetRequest(input *UpdateDataSetInput) (req *request.Request, output *UpdateDataSetOutput) {
 11002  	op := &request.Operation{
 11003  		Name:       opUpdateDataSet,
 11004  		HTTPMethod: "PUT",
 11005  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
 11006  	}
 11007  
 11008  	if input == nil {
 11009  		input = &UpdateDataSetInput{}
 11010  	}
 11011  
 11012  	output = &UpdateDataSetOutput{}
 11013  	req = c.newRequest(op, input, output)
 11014  	return
 11015  }
 11016  
 11017  // UpdateDataSet API operation for Amazon QuickSight.
 11018  //
 11019  // Updates a dataset.
 11020  //
 11021  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11022  // with awserr.Error's Code and Message methods to get detailed information about
 11023  // the error.
 11024  //
 11025  // See the AWS API reference guide for Amazon QuickSight's
 11026  // API operation UpdateDataSet for usage and error information.
 11027  //
 11028  // Returned Error Types:
 11029  //   * AccessDeniedException
 11030  //   You don't have access to this item. The provided credentials couldn't be
 11031  //   validated. You might not be authorized to carry out the request. Make sure
 11032  //   that your account is authorized to use the Amazon QuickSight service, that
 11033  //   your policies have the correct permissions, and that you are using the correct
 11034  //   access keys.
 11035  //
 11036  //   * ConflictException
 11037  //   Updating or deleting a resource can cause an inconsistent state.
 11038  //
 11039  //   * InvalidParameterValueException
 11040  //   One or more parameters has a value that isn't valid.
 11041  //
 11042  //   * LimitExceededException
 11043  //   A limit is exceeded.
 11044  //
 11045  //   * ThrottlingException
 11046  //   Access is throttled.
 11047  //
 11048  //   * ResourceNotFoundException
 11049  //   One or more resources can't be found.
 11050  //
 11051  //   * UnsupportedUserEditionException
 11052  //   This error indicates that you are calling an operation on an Amazon QuickSight
 11053  //   subscription where the edition doesn't include support for that operation.
 11054  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 11055  //   Not every operation and capability is available in every edition.
 11056  //
 11057  //   * InternalFailureException
 11058  //   An internal failure occurred.
 11059  //
 11060  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet
 11061  func (c *QuickSight) UpdateDataSet(input *UpdateDataSetInput) (*UpdateDataSetOutput, error) {
 11062  	req, out := c.UpdateDataSetRequest(input)
 11063  	return out, req.Send()
 11064  }
 11065  
 11066  // UpdateDataSetWithContext is the same as UpdateDataSet with the addition of
 11067  // the ability to pass a context and additional request options.
 11068  //
 11069  // See UpdateDataSet for details on how to use this API operation.
 11070  //
 11071  // The context must be non-nil and will be used for request cancellation. If
 11072  // the context is nil a panic will occur. In the future the SDK may create
 11073  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11074  // for more information on using Contexts.
 11075  func (c *QuickSight) UpdateDataSetWithContext(ctx aws.Context, input *UpdateDataSetInput, opts ...request.Option) (*UpdateDataSetOutput, error) {
 11076  	req, out := c.UpdateDataSetRequest(input)
 11077  	req.SetContext(ctx)
 11078  	req.ApplyOptions(opts...)
 11079  	return out, req.Send()
 11080  }
 11081  
 11082  const opUpdateDataSetPermissions = "UpdateDataSetPermissions"
 11083  
 11084  // UpdateDataSetPermissionsRequest generates a "aws/request.Request" representing the
 11085  // client's request for the UpdateDataSetPermissions operation. The "output" return
 11086  // value will be populated with the request's response once the request completes
 11087  // successfully.
 11088  //
 11089  // Use "Send" method on the returned Request to send the API call to the service.
 11090  // the "output" return value is not valid until after Send returns without error.
 11091  //
 11092  // See UpdateDataSetPermissions for more information on using the UpdateDataSetPermissions
 11093  // API call, and error handling.
 11094  //
 11095  // This method is useful when you want to inject custom logic or configuration
 11096  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11097  //
 11098  //
 11099  //    // Example sending a request using the UpdateDataSetPermissionsRequest method.
 11100  //    req, resp := client.UpdateDataSetPermissionsRequest(params)
 11101  //
 11102  //    err := req.Send()
 11103  //    if err == nil { // resp is now filled
 11104  //        fmt.Println(resp)
 11105  //    }
 11106  //
 11107  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions
 11108  func (c *QuickSight) UpdateDataSetPermissionsRequest(input *UpdateDataSetPermissionsInput) (req *request.Request, output *UpdateDataSetPermissionsOutput) {
 11109  	op := &request.Operation{
 11110  		Name:       opUpdateDataSetPermissions,
 11111  		HTTPMethod: "POST",
 11112  		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
 11113  	}
 11114  
 11115  	if input == nil {
 11116  		input = &UpdateDataSetPermissionsInput{}
 11117  	}
 11118  
 11119  	output = &UpdateDataSetPermissionsOutput{}
 11120  	req = c.newRequest(op, input, output)
 11121  	return
 11122  }
 11123  
 11124  // UpdateDataSetPermissions API operation for Amazon QuickSight.
 11125  //
 11126  // Updates the permissions on a dataset.
 11127  //
 11128  // The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
 11129  //
 11130  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11131  // with awserr.Error's Code and Message methods to get detailed information about
 11132  // the error.
 11133  //
 11134  // See the AWS API reference guide for Amazon QuickSight's
 11135  // API operation UpdateDataSetPermissions for usage and error information.
 11136  //
 11137  // Returned Error Types:
 11138  //   * AccessDeniedException
 11139  //   You don't have access to this item. The provided credentials couldn't be
 11140  //   validated. You might not be authorized to carry out the request. Make sure
 11141  //   that your account is authorized to use the Amazon QuickSight service, that
 11142  //   your policies have the correct permissions, and that you are using the correct
 11143  //   access keys.
 11144  //
 11145  //   * ConflictException
 11146  //   Updating or deleting a resource can cause an inconsistent state.
 11147  //
 11148  //   * InvalidParameterValueException
 11149  //   One or more parameters has a value that isn't valid.
 11150  //
 11151  //   * ResourceNotFoundException
 11152  //   One or more resources can't be found.
 11153  //
 11154  //   * ThrottlingException
 11155  //   Access is throttled.
 11156  //
 11157  //   * InternalFailureException
 11158  //   An internal failure occurred.
 11159  //
 11160  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions
 11161  func (c *QuickSight) UpdateDataSetPermissions(input *UpdateDataSetPermissionsInput) (*UpdateDataSetPermissionsOutput, error) {
 11162  	req, out := c.UpdateDataSetPermissionsRequest(input)
 11163  	return out, req.Send()
 11164  }
 11165  
 11166  // UpdateDataSetPermissionsWithContext is the same as UpdateDataSetPermissions with the addition of
 11167  // the ability to pass a context and additional request options.
 11168  //
 11169  // See UpdateDataSetPermissions for details on how to use this API operation.
 11170  //
 11171  // The context must be non-nil and will be used for request cancellation. If
 11172  // the context is nil a panic will occur. In the future the SDK may create
 11173  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11174  // for more information on using Contexts.
 11175  func (c *QuickSight) UpdateDataSetPermissionsWithContext(ctx aws.Context, input *UpdateDataSetPermissionsInput, opts ...request.Option) (*UpdateDataSetPermissionsOutput, error) {
 11176  	req, out := c.UpdateDataSetPermissionsRequest(input)
 11177  	req.SetContext(ctx)
 11178  	req.ApplyOptions(opts...)
 11179  	return out, req.Send()
 11180  }
 11181  
 11182  const opUpdateDataSource = "UpdateDataSource"
 11183  
 11184  // UpdateDataSourceRequest generates a "aws/request.Request" representing the
 11185  // client's request for the UpdateDataSource operation. The "output" return
 11186  // value will be populated with the request's response once the request completes
 11187  // successfully.
 11188  //
 11189  // Use "Send" method on the returned Request to send the API call to the service.
 11190  // the "output" return value is not valid until after Send returns without error.
 11191  //
 11192  // See UpdateDataSource for more information on using the UpdateDataSource
 11193  // API call, and error handling.
 11194  //
 11195  // This method is useful when you want to inject custom logic or configuration
 11196  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11197  //
 11198  //
 11199  //    // Example sending a request using the UpdateDataSourceRequest method.
 11200  //    req, resp := client.UpdateDataSourceRequest(params)
 11201  //
 11202  //    err := req.Send()
 11203  //    if err == nil { // resp is now filled
 11204  //        fmt.Println(resp)
 11205  //    }
 11206  //
 11207  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource
 11208  func (c *QuickSight) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) {
 11209  	op := &request.Operation{
 11210  		Name:       opUpdateDataSource,
 11211  		HTTPMethod: "PUT",
 11212  		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
 11213  	}
 11214  
 11215  	if input == nil {
 11216  		input = &UpdateDataSourceInput{}
 11217  	}
 11218  
 11219  	output = &UpdateDataSourceOutput{}
 11220  	req = c.newRequest(op, input, output)
 11221  	return
 11222  }
 11223  
 11224  // UpdateDataSource API operation for Amazon QuickSight.
 11225  //
 11226  // Updates a data source.
 11227  //
 11228  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11229  // with awserr.Error's Code and Message methods to get detailed information about
 11230  // the error.
 11231  //
 11232  // See the AWS API reference guide for Amazon QuickSight's
 11233  // API operation UpdateDataSource for usage and error information.
 11234  //
 11235  // Returned Error Types:
 11236  //   * AccessDeniedException
 11237  //   You don't have access to this item. The provided credentials couldn't be
 11238  //   validated. You might not be authorized to carry out the request. Make sure
 11239  //   that your account is authorized to use the Amazon QuickSight service, that
 11240  //   your policies have the correct permissions, and that you are using the correct
 11241  //   access keys.
 11242  //
 11243  //   * ConflictException
 11244  //   Updating or deleting a resource can cause an inconsistent state.
 11245  //
 11246  //   * InvalidParameterValueException
 11247  //   One or more parameters has a value that isn't valid.
 11248  //
 11249  //   * ThrottlingException
 11250  //   Access is throttled.
 11251  //
 11252  //   * ResourceNotFoundException
 11253  //   One or more resources can't be found.
 11254  //
 11255  //   * InternalFailureException
 11256  //   An internal failure occurred.
 11257  //
 11258  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource
 11259  func (c *QuickSight) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) {
 11260  	req, out := c.UpdateDataSourceRequest(input)
 11261  	return out, req.Send()
 11262  }
 11263  
 11264  // UpdateDataSourceWithContext is the same as UpdateDataSource with the addition of
 11265  // the ability to pass a context and additional request options.
 11266  //
 11267  // See UpdateDataSource for details on how to use this API operation.
 11268  //
 11269  // The context must be non-nil and will be used for request cancellation. If
 11270  // the context is nil a panic will occur. In the future the SDK may create
 11271  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11272  // for more information on using Contexts.
 11273  func (c *QuickSight) UpdateDataSourceWithContext(ctx aws.Context, input *UpdateDataSourceInput, opts ...request.Option) (*UpdateDataSourceOutput, error) {
 11274  	req, out := c.UpdateDataSourceRequest(input)
 11275  	req.SetContext(ctx)
 11276  	req.ApplyOptions(opts...)
 11277  	return out, req.Send()
 11278  }
 11279  
 11280  const opUpdateDataSourcePermissions = "UpdateDataSourcePermissions"
 11281  
 11282  // UpdateDataSourcePermissionsRequest generates a "aws/request.Request" representing the
 11283  // client's request for the UpdateDataSourcePermissions operation. The "output" return
 11284  // value will be populated with the request's response once the request completes
 11285  // successfully.
 11286  //
 11287  // Use "Send" method on the returned Request to send the API call to the service.
 11288  // the "output" return value is not valid until after Send returns without error.
 11289  //
 11290  // See UpdateDataSourcePermissions for more information on using the UpdateDataSourcePermissions
 11291  // API call, and error handling.
 11292  //
 11293  // This method is useful when you want to inject custom logic or configuration
 11294  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11295  //
 11296  //
 11297  //    // Example sending a request using the UpdateDataSourcePermissionsRequest method.
 11298  //    req, resp := client.UpdateDataSourcePermissionsRequest(params)
 11299  //
 11300  //    err := req.Send()
 11301  //    if err == nil { // resp is now filled
 11302  //        fmt.Println(resp)
 11303  //    }
 11304  //
 11305  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions
 11306  func (c *QuickSight) UpdateDataSourcePermissionsRequest(input *UpdateDataSourcePermissionsInput) (req *request.Request, output *UpdateDataSourcePermissionsOutput) {
 11307  	op := &request.Operation{
 11308  		Name:       opUpdateDataSourcePermissions,
 11309  		HTTPMethod: "POST",
 11310  		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
 11311  	}
 11312  
 11313  	if input == nil {
 11314  		input = &UpdateDataSourcePermissionsInput{}
 11315  	}
 11316  
 11317  	output = &UpdateDataSourcePermissionsOutput{}
 11318  	req = c.newRequest(op, input, output)
 11319  	return
 11320  }
 11321  
 11322  // UpdateDataSourcePermissions API operation for Amazon QuickSight.
 11323  //
 11324  // Updates the permissions to a data source.
 11325  //
 11326  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11327  // with awserr.Error's Code and Message methods to get detailed information about
 11328  // the error.
 11329  //
 11330  // See the AWS API reference guide for Amazon QuickSight's
 11331  // API operation UpdateDataSourcePermissions for usage and error information.
 11332  //
 11333  // Returned Error Types:
 11334  //   * AccessDeniedException
 11335  //   You don't have access to this item. The provided credentials couldn't be
 11336  //   validated. You might not be authorized to carry out the request. Make sure
 11337  //   that your account is authorized to use the Amazon QuickSight service, that
 11338  //   your policies have the correct permissions, and that you are using the correct
 11339  //   access keys.
 11340  //
 11341  //   * ConflictException
 11342  //   Updating or deleting a resource can cause an inconsistent state.
 11343  //
 11344  //   * InvalidParameterValueException
 11345  //   One or more parameters has a value that isn't valid.
 11346  //
 11347  //   * ResourceNotFoundException
 11348  //   One or more resources can't be found.
 11349  //
 11350  //   * ThrottlingException
 11351  //   Access is throttled.
 11352  //
 11353  //   * InternalFailureException
 11354  //   An internal failure occurred.
 11355  //
 11356  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions
 11357  func (c *QuickSight) UpdateDataSourcePermissions(input *UpdateDataSourcePermissionsInput) (*UpdateDataSourcePermissionsOutput, error) {
 11358  	req, out := c.UpdateDataSourcePermissionsRequest(input)
 11359  	return out, req.Send()
 11360  }
 11361  
 11362  // UpdateDataSourcePermissionsWithContext is the same as UpdateDataSourcePermissions with the addition of
 11363  // the ability to pass a context and additional request options.
 11364  //
 11365  // See UpdateDataSourcePermissions for details on how to use this API operation.
 11366  //
 11367  // The context must be non-nil and will be used for request cancellation. If
 11368  // the context is nil a panic will occur. In the future the SDK may create
 11369  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11370  // for more information on using Contexts.
 11371  func (c *QuickSight) UpdateDataSourcePermissionsWithContext(ctx aws.Context, input *UpdateDataSourcePermissionsInput, opts ...request.Option) (*UpdateDataSourcePermissionsOutput, error) {
 11372  	req, out := c.UpdateDataSourcePermissionsRequest(input)
 11373  	req.SetContext(ctx)
 11374  	req.ApplyOptions(opts...)
 11375  	return out, req.Send()
 11376  }
 11377  
 11378  const opUpdateFolder = "UpdateFolder"
 11379  
 11380  // UpdateFolderRequest generates a "aws/request.Request" representing the
 11381  // client's request for the UpdateFolder operation. The "output" return
 11382  // value will be populated with the request's response once the request completes
 11383  // successfully.
 11384  //
 11385  // Use "Send" method on the returned Request to send the API call to the service.
 11386  // the "output" return value is not valid until after Send returns without error.
 11387  //
 11388  // See UpdateFolder for more information on using the UpdateFolder
 11389  // API call, and error handling.
 11390  //
 11391  // This method is useful when you want to inject custom logic or configuration
 11392  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11393  //
 11394  //
 11395  //    // Example sending a request using the UpdateFolderRequest method.
 11396  //    req, resp := client.UpdateFolderRequest(params)
 11397  //
 11398  //    err := req.Send()
 11399  //    if err == nil { // resp is now filled
 11400  //        fmt.Println(resp)
 11401  //    }
 11402  //
 11403  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolder
 11404  func (c *QuickSight) UpdateFolderRequest(input *UpdateFolderInput) (req *request.Request, output *UpdateFolderOutput) {
 11405  	op := &request.Operation{
 11406  		Name:       opUpdateFolder,
 11407  		HTTPMethod: "PUT",
 11408  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}",
 11409  	}
 11410  
 11411  	if input == nil {
 11412  		input = &UpdateFolderInput{}
 11413  	}
 11414  
 11415  	output = &UpdateFolderOutput{}
 11416  	req = c.newRequest(op, input, output)
 11417  	return
 11418  }
 11419  
 11420  // UpdateFolder API operation for Amazon QuickSight.
 11421  //
 11422  // Updates the name of a folder.
 11423  //
 11424  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11425  // with awserr.Error's Code and Message methods to get detailed information about
 11426  // the error.
 11427  //
 11428  // See the AWS API reference guide for Amazon QuickSight's
 11429  // API operation UpdateFolder for usage and error information.
 11430  //
 11431  // Returned Error Types:
 11432  //   * InvalidParameterValueException
 11433  //   One or more parameters has a value that isn't valid.
 11434  //
 11435  //   * AccessDeniedException
 11436  //   You don't have access to this item. The provided credentials couldn't be
 11437  //   validated. You might not be authorized to carry out the request. Make sure
 11438  //   that your account is authorized to use the Amazon QuickSight service, that
 11439  //   your policies have the correct permissions, and that you are using the correct
 11440  //   access keys.
 11441  //
 11442  //   * ResourceExistsException
 11443  //   The resource specified already exists.
 11444  //
 11445  //   * ResourceNotFoundException
 11446  //   One or more resources can't be found.
 11447  //
 11448  //   * ConflictException
 11449  //   Updating or deleting a resource can cause an inconsistent state.
 11450  //
 11451  //   * ThrottlingException
 11452  //   Access is throttled.
 11453  //
 11454  //   * UnsupportedUserEditionException
 11455  //   This error indicates that you are calling an operation on an Amazon QuickSight
 11456  //   subscription where the edition doesn't include support for that operation.
 11457  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 11458  //   Not every operation and capability is available in every edition.
 11459  //
 11460  //   * InternalFailureException
 11461  //   An internal failure occurred.
 11462  //
 11463  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolder
 11464  func (c *QuickSight) UpdateFolder(input *UpdateFolderInput) (*UpdateFolderOutput, error) {
 11465  	req, out := c.UpdateFolderRequest(input)
 11466  	return out, req.Send()
 11467  }
 11468  
 11469  // UpdateFolderWithContext is the same as UpdateFolder with the addition of
 11470  // the ability to pass a context and additional request options.
 11471  //
 11472  // See UpdateFolder for details on how to use this API operation.
 11473  //
 11474  // The context must be non-nil and will be used for request cancellation. If
 11475  // the context is nil a panic will occur. In the future the SDK may create
 11476  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11477  // for more information on using Contexts.
 11478  func (c *QuickSight) UpdateFolderWithContext(ctx aws.Context, input *UpdateFolderInput, opts ...request.Option) (*UpdateFolderOutput, error) {
 11479  	req, out := c.UpdateFolderRequest(input)
 11480  	req.SetContext(ctx)
 11481  	req.ApplyOptions(opts...)
 11482  	return out, req.Send()
 11483  }
 11484  
 11485  const opUpdateFolderPermissions = "UpdateFolderPermissions"
 11486  
 11487  // UpdateFolderPermissionsRequest generates a "aws/request.Request" representing the
 11488  // client's request for the UpdateFolderPermissions operation. The "output" return
 11489  // value will be populated with the request's response once the request completes
 11490  // successfully.
 11491  //
 11492  // Use "Send" method on the returned Request to send the API call to the service.
 11493  // the "output" return value is not valid until after Send returns without error.
 11494  //
 11495  // See UpdateFolderPermissions for more information on using the UpdateFolderPermissions
 11496  // API call, and error handling.
 11497  //
 11498  // This method is useful when you want to inject custom logic or configuration
 11499  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11500  //
 11501  //
 11502  //    // Example sending a request using the UpdateFolderPermissionsRequest method.
 11503  //    req, resp := client.UpdateFolderPermissionsRequest(params)
 11504  //
 11505  //    err := req.Send()
 11506  //    if err == nil { // resp is now filled
 11507  //        fmt.Println(resp)
 11508  //    }
 11509  //
 11510  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolderPermissions
 11511  func (c *QuickSight) UpdateFolderPermissionsRequest(input *UpdateFolderPermissionsInput) (req *request.Request, output *UpdateFolderPermissionsOutput) {
 11512  	op := &request.Operation{
 11513  		Name:       opUpdateFolderPermissions,
 11514  		HTTPMethod: "PUT",
 11515  		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/permissions",
 11516  	}
 11517  
 11518  	if input == nil {
 11519  		input = &UpdateFolderPermissionsInput{}
 11520  	}
 11521  
 11522  	output = &UpdateFolderPermissionsOutput{}
 11523  	req = c.newRequest(op, input, output)
 11524  	return
 11525  }
 11526  
 11527  // UpdateFolderPermissions API operation for Amazon QuickSight.
 11528  //
 11529  // Updates permissions of a folder.
 11530  //
 11531  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11532  // with awserr.Error's Code and Message methods to get detailed information about
 11533  // the error.
 11534  //
 11535  // See the AWS API reference guide for Amazon QuickSight's
 11536  // API operation UpdateFolderPermissions for usage and error information.
 11537  //
 11538  // Returned Error Types:
 11539  //   * InvalidParameterValueException
 11540  //   One or more parameters has a value that isn't valid.
 11541  //
 11542  //   * AccessDeniedException
 11543  //   You don't have access to this item. The provided credentials couldn't be
 11544  //   validated. You might not be authorized to carry out the request. Make sure
 11545  //   that your account is authorized to use the Amazon QuickSight service, that
 11546  //   your policies have the correct permissions, and that you are using the correct
 11547  //   access keys.
 11548  //
 11549  //   * LimitExceededException
 11550  //   A limit is exceeded.
 11551  //
 11552  //   * ResourceNotFoundException
 11553  //   One or more resources can't be found.
 11554  //
 11555  //   * ThrottlingException
 11556  //   Access is throttled.
 11557  //
 11558  //   * UnsupportedUserEditionException
 11559  //   This error indicates that you are calling an operation on an Amazon QuickSight
 11560  //   subscription where the edition doesn't include support for that operation.
 11561  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 11562  //   Not every operation and capability is available in every edition.
 11563  //
 11564  //   * InternalFailureException
 11565  //   An internal failure occurred.
 11566  //
 11567  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolderPermissions
 11568  func (c *QuickSight) UpdateFolderPermissions(input *UpdateFolderPermissionsInput) (*UpdateFolderPermissionsOutput, error) {
 11569  	req, out := c.UpdateFolderPermissionsRequest(input)
 11570  	return out, req.Send()
 11571  }
 11572  
 11573  // UpdateFolderPermissionsWithContext is the same as UpdateFolderPermissions with the addition of
 11574  // the ability to pass a context and additional request options.
 11575  //
 11576  // See UpdateFolderPermissions for details on how to use this API operation.
 11577  //
 11578  // The context must be non-nil and will be used for request cancellation. If
 11579  // the context is nil a panic will occur. In the future the SDK may create
 11580  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11581  // for more information on using Contexts.
 11582  func (c *QuickSight) UpdateFolderPermissionsWithContext(ctx aws.Context, input *UpdateFolderPermissionsInput, opts ...request.Option) (*UpdateFolderPermissionsOutput, error) {
 11583  	req, out := c.UpdateFolderPermissionsRequest(input)
 11584  	req.SetContext(ctx)
 11585  	req.ApplyOptions(opts...)
 11586  	return out, req.Send()
 11587  }
 11588  
 11589  const opUpdateGroup = "UpdateGroup"
 11590  
 11591  // UpdateGroupRequest generates a "aws/request.Request" representing the
 11592  // client's request for the UpdateGroup operation. The "output" return
 11593  // value will be populated with the request's response once the request completes
 11594  // successfully.
 11595  //
 11596  // Use "Send" method on the returned Request to send the API call to the service.
 11597  // the "output" return value is not valid until after Send returns without error.
 11598  //
 11599  // See UpdateGroup for more information on using the UpdateGroup
 11600  // API call, and error handling.
 11601  //
 11602  // This method is useful when you want to inject custom logic or configuration
 11603  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11604  //
 11605  //
 11606  //    // Example sending a request using the UpdateGroupRequest method.
 11607  //    req, resp := client.UpdateGroupRequest(params)
 11608  //
 11609  //    err := req.Send()
 11610  //    if err == nil { // resp is now filled
 11611  //        fmt.Println(resp)
 11612  //    }
 11613  //
 11614  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup
 11615  func (c *QuickSight) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) {
 11616  	op := &request.Operation{
 11617  		Name:       opUpdateGroup,
 11618  		HTTPMethod: "PUT",
 11619  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
 11620  	}
 11621  
 11622  	if input == nil {
 11623  		input = &UpdateGroupInput{}
 11624  	}
 11625  
 11626  	output = &UpdateGroupOutput{}
 11627  	req = c.newRequest(op, input, output)
 11628  	return
 11629  }
 11630  
 11631  // UpdateGroup API operation for Amazon QuickSight.
 11632  //
 11633  // Changes a group description.
 11634  //
 11635  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11636  // with awserr.Error's Code and Message methods to get detailed information about
 11637  // the error.
 11638  //
 11639  // See the AWS API reference guide for Amazon QuickSight's
 11640  // API operation UpdateGroup for usage and error information.
 11641  //
 11642  // Returned Error Types:
 11643  //   * AccessDeniedException
 11644  //   You don't have access to this item. The provided credentials couldn't be
 11645  //   validated. You might not be authorized to carry out the request. Make sure
 11646  //   that your account is authorized to use the Amazon QuickSight service, that
 11647  //   your policies have the correct permissions, and that you are using the correct
 11648  //   access keys.
 11649  //
 11650  //   * InvalidParameterValueException
 11651  //   One or more parameters has a value that isn't valid.
 11652  //
 11653  //   * ResourceNotFoundException
 11654  //   One or more resources can't be found.
 11655  //
 11656  //   * ThrottlingException
 11657  //   Access is throttled.
 11658  //
 11659  //   * PreconditionNotMetException
 11660  //   One or more preconditions aren't met.
 11661  //
 11662  //   * InternalFailureException
 11663  //   An internal failure occurred.
 11664  //
 11665  //   * ResourceUnavailableException
 11666  //   This resource is currently unavailable.
 11667  //
 11668  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup
 11669  func (c *QuickSight) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) {
 11670  	req, out := c.UpdateGroupRequest(input)
 11671  	return out, req.Send()
 11672  }
 11673  
 11674  // UpdateGroupWithContext is the same as UpdateGroup with the addition of
 11675  // the ability to pass a context and additional request options.
 11676  //
 11677  // See UpdateGroup for details on how to use this API operation.
 11678  //
 11679  // The context must be non-nil and will be used for request cancellation. If
 11680  // the context is nil a panic will occur. In the future the SDK may create
 11681  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11682  // for more information on using Contexts.
 11683  func (c *QuickSight) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error) {
 11684  	req, out := c.UpdateGroupRequest(input)
 11685  	req.SetContext(ctx)
 11686  	req.ApplyOptions(opts...)
 11687  	return out, req.Send()
 11688  }
 11689  
 11690  const opUpdateIAMPolicyAssignment = "UpdateIAMPolicyAssignment"
 11691  
 11692  // UpdateIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
 11693  // client's request for the UpdateIAMPolicyAssignment operation. The "output" return
 11694  // value will be populated with the request's response once the request completes
 11695  // successfully.
 11696  //
 11697  // Use "Send" method on the returned Request to send the API call to the service.
 11698  // the "output" return value is not valid until after Send returns without error.
 11699  //
 11700  // See UpdateIAMPolicyAssignment for more information on using the UpdateIAMPolicyAssignment
 11701  // API call, and error handling.
 11702  //
 11703  // This method is useful when you want to inject custom logic or configuration
 11704  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11705  //
 11706  //
 11707  //    // Example sending a request using the UpdateIAMPolicyAssignmentRequest method.
 11708  //    req, resp := client.UpdateIAMPolicyAssignmentRequest(params)
 11709  //
 11710  //    err := req.Send()
 11711  //    if err == nil { // resp is now filled
 11712  //        fmt.Println(resp)
 11713  //    }
 11714  //
 11715  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment
 11716  func (c *QuickSight) UpdateIAMPolicyAssignmentRequest(input *UpdateIAMPolicyAssignmentInput) (req *request.Request, output *UpdateIAMPolicyAssignmentOutput) {
 11717  	op := &request.Operation{
 11718  		Name:       opUpdateIAMPolicyAssignment,
 11719  		HTTPMethod: "PUT",
 11720  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
 11721  	}
 11722  
 11723  	if input == nil {
 11724  		input = &UpdateIAMPolicyAssignmentInput{}
 11725  	}
 11726  
 11727  	output = &UpdateIAMPolicyAssignmentOutput{}
 11728  	req = c.newRequest(op, input, output)
 11729  	return
 11730  }
 11731  
 11732  // UpdateIAMPolicyAssignment API operation for Amazon QuickSight.
 11733  //
 11734  // Updates an existing IAMpolicy assignment. This operation updates only the
 11735  // optional parameter or parameters that are specified in the request. This
 11736  // overwrites all of the users included in Identities.
 11737  //
 11738  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11739  // with awserr.Error's Code and Message methods to get detailed information about
 11740  // the error.
 11741  //
 11742  // See the AWS API reference guide for Amazon QuickSight's
 11743  // API operation UpdateIAMPolicyAssignment for usage and error information.
 11744  //
 11745  // Returned Error Types:
 11746  //   * AccessDeniedException
 11747  //   You don't have access to this item. The provided credentials couldn't be
 11748  //   validated. You might not be authorized to carry out the request. Make sure
 11749  //   that your account is authorized to use the Amazon QuickSight service, that
 11750  //   your policies have the correct permissions, and that you are using the correct
 11751  //   access keys.
 11752  //
 11753  //   * InvalidParameterValueException
 11754  //   One or more parameters has a value that isn't valid.
 11755  //
 11756  //   * ResourceExistsException
 11757  //   The resource specified already exists.
 11758  //
 11759  //   * ResourceNotFoundException
 11760  //   One or more resources can't be found.
 11761  //
 11762  //   * ThrottlingException
 11763  //   Access is throttled.
 11764  //
 11765  //   * ConcurrentUpdatingException
 11766  //   A resource is already in a state that indicates an operation is happening
 11767  //   that must complete before a new update can be applied.
 11768  //
 11769  //   * InternalFailureException
 11770  //   An internal failure occurred.
 11771  //
 11772  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment
 11773  func (c *QuickSight) UpdateIAMPolicyAssignment(input *UpdateIAMPolicyAssignmentInput) (*UpdateIAMPolicyAssignmentOutput, error) {
 11774  	req, out := c.UpdateIAMPolicyAssignmentRequest(input)
 11775  	return out, req.Send()
 11776  }
 11777  
 11778  // UpdateIAMPolicyAssignmentWithContext is the same as UpdateIAMPolicyAssignment with the addition of
 11779  // the ability to pass a context and additional request options.
 11780  //
 11781  // See UpdateIAMPolicyAssignment for details on how to use this API operation.
 11782  //
 11783  // The context must be non-nil and will be used for request cancellation. If
 11784  // the context is nil a panic will occur. In the future the SDK may create
 11785  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11786  // for more information on using Contexts.
 11787  func (c *QuickSight) UpdateIAMPolicyAssignmentWithContext(ctx aws.Context, input *UpdateIAMPolicyAssignmentInput, opts ...request.Option) (*UpdateIAMPolicyAssignmentOutput, error) {
 11788  	req, out := c.UpdateIAMPolicyAssignmentRequest(input)
 11789  	req.SetContext(ctx)
 11790  	req.ApplyOptions(opts...)
 11791  	return out, req.Send()
 11792  }
 11793  
 11794  const opUpdateTemplate = "UpdateTemplate"
 11795  
 11796  // UpdateTemplateRequest generates a "aws/request.Request" representing the
 11797  // client's request for the UpdateTemplate operation. The "output" return
 11798  // value will be populated with the request's response once the request completes
 11799  // successfully.
 11800  //
 11801  // Use "Send" method on the returned Request to send the API call to the service.
 11802  // the "output" return value is not valid until after Send returns without error.
 11803  //
 11804  // See UpdateTemplate for more information on using the UpdateTemplate
 11805  // API call, and error handling.
 11806  //
 11807  // This method is useful when you want to inject custom logic or configuration
 11808  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11809  //
 11810  //
 11811  //    // Example sending a request using the UpdateTemplateRequest method.
 11812  //    req, resp := client.UpdateTemplateRequest(params)
 11813  //
 11814  //    err := req.Send()
 11815  //    if err == nil { // resp is now filled
 11816  //        fmt.Println(resp)
 11817  //    }
 11818  //
 11819  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate
 11820  func (c *QuickSight) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Request, output *UpdateTemplateOutput) {
 11821  	op := &request.Operation{
 11822  		Name:       opUpdateTemplate,
 11823  		HTTPMethod: "PUT",
 11824  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
 11825  	}
 11826  
 11827  	if input == nil {
 11828  		input = &UpdateTemplateInput{}
 11829  	}
 11830  
 11831  	output = &UpdateTemplateOutput{}
 11832  	req = c.newRequest(op, input, output)
 11833  	return
 11834  }
 11835  
 11836  // UpdateTemplate API operation for Amazon QuickSight.
 11837  //
 11838  // Updates a template from an existing Amazon QuickSight analysis or another
 11839  // template.
 11840  //
 11841  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11842  // with awserr.Error's Code and Message methods to get detailed information about
 11843  // the error.
 11844  //
 11845  // See the AWS API reference guide for Amazon QuickSight's
 11846  // API operation UpdateTemplate for usage and error information.
 11847  //
 11848  // Returned Error Types:
 11849  //   * InvalidParameterValueException
 11850  //   One or more parameters has a value that isn't valid.
 11851  //
 11852  //   * ResourceExistsException
 11853  //   The resource specified already exists.
 11854  //
 11855  //   * ResourceNotFoundException
 11856  //   One or more resources can't be found.
 11857  //
 11858  //   * ThrottlingException
 11859  //   Access is throttled.
 11860  //
 11861  //   * ConflictException
 11862  //   Updating or deleting a resource can cause an inconsistent state.
 11863  //
 11864  //   * LimitExceededException
 11865  //   A limit is exceeded.
 11866  //
 11867  //   * UnsupportedUserEditionException
 11868  //   This error indicates that you are calling an operation on an Amazon QuickSight
 11869  //   subscription where the edition doesn't include support for that operation.
 11870  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 11871  //   Not every operation and capability is available in every edition.
 11872  //
 11873  //   * InternalFailureException
 11874  //   An internal failure occurred.
 11875  //
 11876  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate
 11877  func (c *QuickSight) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error) {
 11878  	req, out := c.UpdateTemplateRequest(input)
 11879  	return out, req.Send()
 11880  }
 11881  
 11882  // UpdateTemplateWithContext is the same as UpdateTemplate with the addition of
 11883  // the ability to pass a context and additional request options.
 11884  //
 11885  // See UpdateTemplate for details on how to use this API operation.
 11886  //
 11887  // The context must be non-nil and will be used for request cancellation. If
 11888  // the context is nil a panic will occur. In the future the SDK may create
 11889  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11890  // for more information on using Contexts.
 11891  func (c *QuickSight) UpdateTemplateWithContext(ctx aws.Context, input *UpdateTemplateInput, opts ...request.Option) (*UpdateTemplateOutput, error) {
 11892  	req, out := c.UpdateTemplateRequest(input)
 11893  	req.SetContext(ctx)
 11894  	req.ApplyOptions(opts...)
 11895  	return out, req.Send()
 11896  }
 11897  
 11898  const opUpdateTemplateAlias = "UpdateTemplateAlias"
 11899  
 11900  // UpdateTemplateAliasRequest generates a "aws/request.Request" representing the
 11901  // client's request for the UpdateTemplateAlias operation. The "output" return
 11902  // value will be populated with the request's response once the request completes
 11903  // successfully.
 11904  //
 11905  // Use "Send" method on the returned Request to send the API call to the service.
 11906  // the "output" return value is not valid until after Send returns without error.
 11907  //
 11908  // See UpdateTemplateAlias for more information on using the UpdateTemplateAlias
 11909  // API call, and error handling.
 11910  //
 11911  // This method is useful when you want to inject custom logic or configuration
 11912  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 11913  //
 11914  //
 11915  //    // Example sending a request using the UpdateTemplateAliasRequest method.
 11916  //    req, resp := client.UpdateTemplateAliasRequest(params)
 11917  //
 11918  //    err := req.Send()
 11919  //    if err == nil { // resp is now filled
 11920  //        fmt.Println(resp)
 11921  //    }
 11922  //
 11923  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias
 11924  func (c *QuickSight) UpdateTemplateAliasRequest(input *UpdateTemplateAliasInput) (req *request.Request, output *UpdateTemplateAliasOutput) {
 11925  	op := &request.Operation{
 11926  		Name:       opUpdateTemplateAlias,
 11927  		HTTPMethod: "PUT",
 11928  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
 11929  	}
 11930  
 11931  	if input == nil {
 11932  		input = &UpdateTemplateAliasInput{}
 11933  	}
 11934  
 11935  	output = &UpdateTemplateAliasOutput{}
 11936  	req = c.newRequest(op, input, output)
 11937  	return
 11938  }
 11939  
 11940  // UpdateTemplateAlias API operation for Amazon QuickSight.
 11941  //
 11942  // Updates the template alias of a template.
 11943  //
 11944  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 11945  // with awserr.Error's Code and Message methods to get detailed information about
 11946  // the error.
 11947  //
 11948  // See the AWS API reference guide for Amazon QuickSight's
 11949  // API operation UpdateTemplateAlias for usage and error information.
 11950  //
 11951  // Returned Error Types:
 11952  //   * ThrottlingException
 11953  //   Access is throttled.
 11954  //
 11955  //   * ResourceNotFoundException
 11956  //   One or more resources can't be found.
 11957  //
 11958  //   * ConflictException
 11959  //   Updating or deleting a resource can cause an inconsistent state.
 11960  //
 11961  //   * UnsupportedUserEditionException
 11962  //   This error indicates that you are calling an operation on an Amazon QuickSight
 11963  //   subscription where the edition doesn't include support for that operation.
 11964  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 11965  //   Not every operation and capability is available in every edition.
 11966  //
 11967  //   * ConflictException
 11968  //   Updating or deleting a resource can cause an inconsistent state.
 11969  //
 11970  //   * InternalFailureException
 11971  //   An internal failure occurred.
 11972  //
 11973  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias
 11974  func (c *QuickSight) UpdateTemplateAlias(input *UpdateTemplateAliasInput) (*UpdateTemplateAliasOutput, error) {
 11975  	req, out := c.UpdateTemplateAliasRequest(input)
 11976  	return out, req.Send()
 11977  }
 11978  
 11979  // UpdateTemplateAliasWithContext is the same as UpdateTemplateAlias with the addition of
 11980  // the ability to pass a context and additional request options.
 11981  //
 11982  // See UpdateTemplateAlias for details on how to use this API operation.
 11983  //
 11984  // The context must be non-nil and will be used for request cancellation. If
 11985  // the context is nil a panic will occur. In the future the SDK may create
 11986  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 11987  // for more information on using Contexts.
 11988  func (c *QuickSight) UpdateTemplateAliasWithContext(ctx aws.Context, input *UpdateTemplateAliasInput, opts ...request.Option) (*UpdateTemplateAliasOutput, error) {
 11989  	req, out := c.UpdateTemplateAliasRequest(input)
 11990  	req.SetContext(ctx)
 11991  	req.ApplyOptions(opts...)
 11992  	return out, req.Send()
 11993  }
 11994  
 11995  const opUpdateTemplatePermissions = "UpdateTemplatePermissions"
 11996  
 11997  // UpdateTemplatePermissionsRequest generates a "aws/request.Request" representing the
 11998  // client's request for the UpdateTemplatePermissions operation. The "output" return
 11999  // value will be populated with the request's response once the request completes
 12000  // successfully.
 12001  //
 12002  // Use "Send" method on the returned Request to send the API call to the service.
 12003  // the "output" return value is not valid until after Send returns without error.
 12004  //
 12005  // See UpdateTemplatePermissions for more information on using the UpdateTemplatePermissions
 12006  // API call, and error handling.
 12007  //
 12008  // This method is useful when you want to inject custom logic or configuration
 12009  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12010  //
 12011  //
 12012  //    // Example sending a request using the UpdateTemplatePermissionsRequest method.
 12013  //    req, resp := client.UpdateTemplatePermissionsRequest(params)
 12014  //
 12015  //    err := req.Send()
 12016  //    if err == nil { // resp is now filled
 12017  //        fmt.Println(resp)
 12018  //    }
 12019  //
 12020  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions
 12021  func (c *QuickSight) UpdateTemplatePermissionsRequest(input *UpdateTemplatePermissionsInput) (req *request.Request, output *UpdateTemplatePermissionsOutput) {
 12022  	op := &request.Operation{
 12023  		Name:       opUpdateTemplatePermissions,
 12024  		HTTPMethod: "PUT",
 12025  		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
 12026  	}
 12027  
 12028  	if input == nil {
 12029  		input = &UpdateTemplatePermissionsInput{}
 12030  	}
 12031  
 12032  	output = &UpdateTemplatePermissionsOutput{}
 12033  	req = c.newRequest(op, input, output)
 12034  	return
 12035  }
 12036  
 12037  // UpdateTemplatePermissions API operation for Amazon QuickSight.
 12038  //
 12039  // Updates the resource permissions for a template.
 12040  //
 12041  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12042  // with awserr.Error's Code and Message methods to get detailed information about
 12043  // the error.
 12044  //
 12045  // See the AWS API reference guide for Amazon QuickSight's
 12046  // API operation UpdateTemplatePermissions for usage and error information.
 12047  //
 12048  // Returned Error Types:
 12049  //   * ThrottlingException
 12050  //   Access is throttled.
 12051  //
 12052  //   * InvalidParameterValueException
 12053  //   One or more parameters has a value that isn't valid.
 12054  //
 12055  //   * ConflictException
 12056  //   Updating or deleting a resource can cause an inconsistent state.
 12057  //
 12058  //   * ResourceNotFoundException
 12059  //   One or more resources can't be found.
 12060  //
 12061  //   * UnsupportedUserEditionException
 12062  //   This error indicates that you are calling an operation on an Amazon QuickSight
 12063  //   subscription where the edition doesn't include support for that operation.
 12064  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 12065  //   Not every operation and capability is available in every edition.
 12066  //
 12067  //   * InternalFailureException
 12068  //   An internal failure occurred.
 12069  //
 12070  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions
 12071  func (c *QuickSight) UpdateTemplatePermissions(input *UpdateTemplatePermissionsInput) (*UpdateTemplatePermissionsOutput, error) {
 12072  	req, out := c.UpdateTemplatePermissionsRequest(input)
 12073  	return out, req.Send()
 12074  }
 12075  
 12076  // UpdateTemplatePermissionsWithContext is the same as UpdateTemplatePermissions with the addition of
 12077  // the ability to pass a context and additional request options.
 12078  //
 12079  // See UpdateTemplatePermissions for details on how to use this API operation.
 12080  //
 12081  // The context must be non-nil and will be used for request cancellation. If
 12082  // the context is nil a panic will occur. In the future the SDK may create
 12083  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12084  // for more information on using Contexts.
 12085  func (c *QuickSight) UpdateTemplatePermissionsWithContext(ctx aws.Context, input *UpdateTemplatePermissionsInput, opts ...request.Option) (*UpdateTemplatePermissionsOutput, error) {
 12086  	req, out := c.UpdateTemplatePermissionsRequest(input)
 12087  	req.SetContext(ctx)
 12088  	req.ApplyOptions(opts...)
 12089  	return out, req.Send()
 12090  }
 12091  
 12092  const opUpdateTheme = "UpdateTheme"
 12093  
 12094  // UpdateThemeRequest generates a "aws/request.Request" representing the
 12095  // client's request for the UpdateTheme operation. The "output" return
 12096  // value will be populated with the request's response once the request completes
 12097  // successfully.
 12098  //
 12099  // Use "Send" method on the returned Request to send the API call to the service.
 12100  // the "output" return value is not valid until after Send returns without error.
 12101  //
 12102  // See UpdateTheme for more information on using the UpdateTheme
 12103  // API call, and error handling.
 12104  //
 12105  // This method is useful when you want to inject custom logic or configuration
 12106  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12107  //
 12108  //
 12109  //    // Example sending a request using the UpdateThemeRequest method.
 12110  //    req, resp := client.UpdateThemeRequest(params)
 12111  //
 12112  //    err := req.Send()
 12113  //    if err == nil { // resp is now filled
 12114  //        fmt.Println(resp)
 12115  //    }
 12116  //
 12117  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme
 12118  func (c *QuickSight) UpdateThemeRequest(input *UpdateThemeInput) (req *request.Request, output *UpdateThemeOutput) {
 12119  	op := &request.Operation{
 12120  		Name:       opUpdateTheme,
 12121  		HTTPMethod: "PUT",
 12122  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
 12123  	}
 12124  
 12125  	if input == nil {
 12126  		input = &UpdateThemeInput{}
 12127  	}
 12128  
 12129  	output = &UpdateThemeOutput{}
 12130  	req = c.newRequest(op, input, output)
 12131  	return
 12132  }
 12133  
 12134  // UpdateTheme API operation for Amazon QuickSight.
 12135  //
 12136  // Updates a theme.
 12137  //
 12138  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12139  // with awserr.Error's Code and Message methods to get detailed information about
 12140  // the error.
 12141  //
 12142  // See the AWS API reference guide for Amazon QuickSight's
 12143  // API operation UpdateTheme for usage and error information.
 12144  //
 12145  // Returned Error Types:
 12146  //   * AccessDeniedException
 12147  //   You don't have access to this item. The provided credentials couldn't be
 12148  //   validated. You might not be authorized to carry out the request. Make sure
 12149  //   that your account is authorized to use the Amazon QuickSight service, that
 12150  //   your policies have the correct permissions, and that you are using the correct
 12151  //   access keys.
 12152  //
 12153  //   * InvalidParameterValueException
 12154  //   One or more parameters has a value that isn't valid.
 12155  //
 12156  //   * LimitExceededException
 12157  //   A limit is exceeded.
 12158  //
 12159  //   * ResourceExistsException
 12160  //   The resource specified already exists.
 12161  //
 12162  //   * ResourceNotFoundException
 12163  //   One or more resources can't be found.
 12164  //
 12165  //   * ThrottlingException
 12166  //   Access is throttled.
 12167  //
 12168  //   * UnsupportedUserEditionException
 12169  //   This error indicates that you are calling an operation on an Amazon QuickSight
 12170  //   subscription where the edition doesn't include support for that operation.
 12171  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 12172  //   Not every operation and capability is available in every edition.
 12173  //
 12174  //   * InternalFailureException
 12175  //   An internal failure occurred.
 12176  //
 12177  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme
 12178  func (c *QuickSight) UpdateTheme(input *UpdateThemeInput) (*UpdateThemeOutput, error) {
 12179  	req, out := c.UpdateThemeRequest(input)
 12180  	return out, req.Send()
 12181  }
 12182  
 12183  // UpdateThemeWithContext is the same as UpdateTheme with the addition of
 12184  // the ability to pass a context and additional request options.
 12185  //
 12186  // See UpdateTheme for details on how to use this API operation.
 12187  //
 12188  // The context must be non-nil and will be used for request cancellation. If
 12189  // the context is nil a panic will occur. In the future the SDK may create
 12190  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12191  // for more information on using Contexts.
 12192  func (c *QuickSight) UpdateThemeWithContext(ctx aws.Context, input *UpdateThemeInput, opts ...request.Option) (*UpdateThemeOutput, error) {
 12193  	req, out := c.UpdateThemeRequest(input)
 12194  	req.SetContext(ctx)
 12195  	req.ApplyOptions(opts...)
 12196  	return out, req.Send()
 12197  }
 12198  
 12199  const opUpdateThemeAlias = "UpdateThemeAlias"
 12200  
 12201  // UpdateThemeAliasRequest generates a "aws/request.Request" representing the
 12202  // client's request for the UpdateThemeAlias operation. The "output" return
 12203  // value will be populated with the request's response once the request completes
 12204  // successfully.
 12205  //
 12206  // Use "Send" method on the returned Request to send the API call to the service.
 12207  // the "output" return value is not valid until after Send returns without error.
 12208  //
 12209  // See UpdateThemeAlias for more information on using the UpdateThemeAlias
 12210  // API call, and error handling.
 12211  //
 12212  // This method is useful when you want to inject custom logic or configuration
 12213  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12214  //
 12215  //
 12216  //    // Example sending a request using the UpdateThemeAliasRequest method.
 12217  //    req, resp := client.UpdateThemeAliasRequest(params)
 12218  //
 12219  //    err := req.Send()
 12220  //    if err == nil { // resp is now filled
 12221  //        fmt.Println(resp)
 12222  //    }
 12223  //
 12224  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias
 12225  func (c *QuickSight) UpdateThemeAliasRequest(input *UpdateThemeAliasInput) (req *request.Request, output *UpdateThemeAliasOutput) {
 12226  	op := &request.Operation{
 12227  		Name:       opUpdateThemeAlias,
 12228  		HTTPMethod: "PUT",
 12229  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
 12230  	}
 12231  
 12232  	if input == nil {
 12233  		input = &UpdateThemeAliasInput{}
 12234  	}
 12235  
 12236  	output = &UpdateThemeAliasOutput{}
 12237  	req = c.newRequest(op, input, output)
 12238  	return
 12239  }
 12240  
 12241  // UpdateThemeAlias API operation for Amazon QuickSight.
 12242  //
 12243  // Updates an alias of a theme.
 12244  //
 12245  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12246  // with awserr.Error's Code and Message methods to get detailed information about
 12247  // the error.
 12248  //
 12249  // See the AWS API reference guide for Amazon QuickSight's
 12250  // API operation UpdateThemeAlias for usage and error information.
 12251  //
 12252  // Returned Error Types:
 12253  //   * ConflictException
 12254  //   Updating or deleting a resource can cause an inconsistent state.
 12255  //
 12256  //   * InvalidParameterValueException
 12257  //   One or more parameters has a value that isn't valid.
 12258  //
 12259  //   * ResourceExistsException
 12260  //   The resource specified already exists.
 12261  //
 12262  //   * ResourceNotFoundException
 12263  //   One or more resources can't be found.
 12264  //
 12265  //   * ThrottlingException
 12266  //   Access is throttled.
 12267  //
 12268  //   * UnsupportedUserEditionException
 12269  //   This error indicates that you are calling an operation on an Amazon QuickSight
 12270  //   subscription where the edition doesn't include support for that operation.
 12271  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 12272  //   Not every operation and capability is available in every edition.
 12273  //
 12274  //   * InternalFailureException
 12275  //   An internal failure occurred.
 12276  //
 12277  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias
 12278  func (c *QuickSight) UpdateThemeAlias(input *UpdateThemeAliasInput) (*UpdateThemeAliasOutput, error) {
 12279  	req, out := c.UpdateThemeAliasRequest(input)
 12280  	return out, req.Send()
 12281  }
 12282  
 12283  // UpdateThemeAliasWithContext is the same as UpdateThemeAlias with the addition of
 12284  // the ability to pass a context and additional request options.
 12285  //
 12286  // See UpdateThemeAlias for details on how to use this API operation.
 12287  //
 12288  // The context must be non-nil and will be used for request cancellation. If
 12289  // the context is nil a panic will occur. In the future the SDK may create
 12290  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12291  // for more information on using Contexts.
 12292  func (c *QuickSight) UpdateThemeAliasWithContext(ctx aws.Context, input *UpdateThemeAliasInput, opts ...request.Option) (*UpdateThemeAliasOutput, error) {
 12293  	req, out := c.UpdateThemeAliasRequest(input)
 12294  	req.SetContext(ctx)
 12295  	req.ApplyOptions(opts...)
 12296  	return out, req.Send()
 12297  }
 12298  
 12299  const opUpdateThemePermissions = "UpdateThemePermissions"
 12300  
 12301  // UpdateThemePermissionsRequest generates a "aws/request.Request" representing the
 12302  // client's request for the UpdateThemePermissions operation. The "output" return
 12303  // value will be populated with the request's response once the request completes
 12304  // successfully.
 12305  //
 12306  // Use "Send" method on the returned Request to send the API call to the service.
 12307  // the "output" return value is not valid until after Send returns without error.
 12308  //
 12309  // See UpdateThemePermissions for more information on using the UpdateThemePermissions
 12310  // API call, and error handling.
 12311  //
 12312  // This method is useful when you want to inject custom logic or configuration
 12313  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12314  //
 12315  //
 12316  //    // Example sending a request using the UpdateThemePermissionsRequest method.
 12317  //    req, resp := client.UpdateThemePermissionsRequest(params)
 12318  //
 12319  //    err := req.Send()
 12320  //    if err == nil { // resp is now filled
 12321  //        fmt.Println(resp)
 12322  //    }
 12323  //
 12324  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions
 12325  func (c *QuickSight) UpdateThemePermissionsRequest(input *UpdateThemePermissionsInput) (req *request.Request, output *UpdateThemePermissionsOutput) {
 12326  	op := &request.Operation{
 12327  		Name:       opUpdateThemePermissions,
 12328  		HTTPMethod: "PUT",
 12329  		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions",
 12330  	}
 12331  
 12332  	if input == nil {
 12333  		input = &UpdateThemePermissionsInput{}
 12334  	}
 12335  
 12336  	output = &UpdateThemePermissionsOutput{}
 12337  	req = c.newRequest(op, input, output)
 12338  	return
 12339  }
 12340  
 12341  // UpdateThemePermissions API operation for Amazon QuickSight.
 12342  //
 12343  // Updates the resource permissions for a theme. Permissions apply to the action
 12344  // to grant or revoke permissions on, for example "quicksight:DescribeTheme".
 12345  //
 12346  // Theme permissions apply in groupings. Valid groupings include the following
 12347  // for the three levels of permissions, which are user, owner, or no permissions:
 12348  //
 12349  //    * User "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases"
 12350  //    "quicksight:ListThemeVersions"
 12351  //
 12352  //    * Owner "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases"
 12353  //    "quicksight:ListThemeVersions" "quicksight:DeleteTheme" "quicksight:UpdateTheme"
 12354  //    "quicksight:CreateThemeAlias" "quicksight:DeleteThemeAlias" "quicksight:UpdateThemeAlias"
 12355  //    "quicksight:UpdateThemePermissions" "quicksight:DescribeThemePermissions"
 12356  //
 12357  //    * To specify no permissions, omit the permissions list.
 12358  //
 12359  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12360  // with awserr.Error's Code and Message methods to get detailed information about
 12361  // the error.
 12362  //
 12363  // See the AWS API reference guide for Amazon QuickSight's
 12364  // API operation UpdateThemePermissions for usage and error information.
 12365  //
 12366  // Returned Error Types:
 12367  //   * AccessDeniedException
 12368  //   You don't have access to this item. The provided credentials couldn't be
 12369  //   validated. You might not be authorized to carry out the request. Make sure
 12370  //   that your account is authorized to use the Amazon QuickSight service, that
 12371  //   your policies have the correct permissions, and that you are using the correct
 12372  //   access keys.
 12373  //
 12374  //   * InvalidParameterValueException
 12375  //   One or more parameters has a value that isn't valid.
 12376  //
 12377  //   * ResourceNotFoundException
 12378  //   One or more resources can't be found.
 12379  //
 12380  //   * ThrottlingException
 12381  //   Access is throttled.
 12382  //
 12383  //   * UnsupportedUserEditionException
 12384  //   This error indicates that you are calling an operation on an Amazon QuickSight
 12385  //   subscription where the edition doesn't include support for that operation.
 12386  //   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 12387  //   Not every operation and capability is available in every edition.
 12388  //
 12389  //   * InternalFailureException
 12390  //   An internal failure occurred.
 12391  //
 12392  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions
 12393  func (c *QuickSight) UpdateThemePermissions(input *UpdateThemePermissionsInput) (*UpdateThemePermissionsOutput, error) {
 12394  	req, out := c.UpdateThemePermissionsRequest(input)
 12395  	return out, req.Send()
 12396  }
 12397  
 12398  // UpdateThemePermissionsWithContext is the same as UpdateThemePermissions with the addition of
 12399  // the ability to pass a context and additional request options.
 12400  //
 12401  // See UpdateThemePermissions for details on how to use this API operation.
 12402  //
 12403  // The context must be non-nil and will be used for request cancellation. If
 12404  // the context is nil a panic will occur. In the future the SDK may create
 12405  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12406  // for more information on using Contexts.
 12407  func (c *QuickSight) UpdateThemePermissionsWithContext(ctx aws.Context, input *UpdateThemePermissionsInput, opts ...request.Option) (*UpdateThemePermissionsOutput, error) {
 12408  	req, out := c.UpdateThemePermissionsRequest(input)
 12409  	req.SetContext(ctx)
 12410  	req.ApplyOptions(opts...)
 12411  	return out, req.Send()
 12412  }
 12413  
 12414  const opUpdateUser = "UpdateUser"
 12415  
 12416  // UpdateUserRequest generates a "aws/request.Request" representing the
 12417  // client's request for the UpdateUser operation. The "output" return
 12418  // value will be populated with the request's response once the request completes
 12419  // successfully.
 12420  //
 12421  // Use "Send" method on the returned Request to send the API call to the service.
 12422  // the "output" return value is not valid until after Send returns without error.
 12423  //
 12424  // See UpdateUser for more information on using the UpdateUser
 12425  // API call, and error handling.
 12426  //
 12427  // This method is useful when you want to inject custom logic or configuration
 12428  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
 12429  //
 12430  //
 12431  //    // Example sending a request using the UpdateUserRequest method.
 12432  //    req, resp := client.UpdateUserRequest(params)
 12433  //
 12434  //    err := req.Send()
 12435  //    if err == nil { // resp is now filled
 12436  //        fmt.Println(resp)
 12437  //    }
 12438  //
 12439  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser
 12440  func (c *QuickSight) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) {
 12441  	op := &request.Operation{
 12442  		Name:       opUpdateUser,
 12443  		HTTPMethod: "PUT",
 12444  		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
 12445  	}
 12446  
 12447  	if input == nil {
 12448  		input = &UpdateUserInput{}
 12449  	}
 12450  
 12451  	output = &UpdateUserOutput{}
 12452  	req = c.newRequest(op, input, output)
 12453  	return
 12454  }
 12455  
 12456  // UpdateUser API operation for Amazon QuickSight.
 12457  //
 12458  // Updates an Amazon QuickSight user.
 12459  //
 12460  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
 12461  // with awserr.Error's Code and Message methods to get detailed information about
 12462  // the error.
 12463  //
 12464  // See the AWS API reference guide for Amazon QuickSight's
 12465  // API operation UpdateUser for usage and error information.
 12466  //
 12467  // Returned Error Types:
 12468  //   * AccessDeniedException
 12469  //   You don't have access to this item. The provided credentials couldn't be
 12470  //   validated. You might not be authorized to carry out the request. Make sure
 12471  //   that your account is authorized to use the Amazon QuickSight service, that
 12472  //   your policies have the correct permissions, and that you are using the correct
 12473  //   access keys.
 12474  //
 12475  //   * InvalidParameterValueException
 12476  //   One or more parameters has a value that isn't valid.
 12477  //
 12478  //   * ResourceNotFoundException
 12479  //   One or more resources can't be found.
 12480  //
 12481  //   * ThrottlingException
 12482  //   Access is throttled.
 12483  //
 12484  //   * PreconditionNotMetException
 12485  //   One or more preconditions aren't met.
 12486  //
 12487  //   * InternalFailureException
 12488  //   An internal failure occurred.
 12489  //
 12490  //   * ResourceUnavailableException
 12491  //   This resource is currently unavailable.
 12492  //
 12493  // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser
 12494  func (c *QuickSight) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) {
 12495  	req, out := c.UpdateUserRequest(input)
 12496  	return out, req.Send()
 12497  }
 12498  
 12499  // UpdateUserWithContext is the same as UpdateUser with the addition of
 12500  // the ability to pass a context and additional request options.
 12501  //
 12502  // See UpdateUser for details on how to use this API operation.
 12503  //
 12504  // The context must be non-nil and will be used for request cancellation. If
 12505  // the context is nil a panic will occur. In the future the SDK may create
 12506  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
 12507  // for more information on using Contexts.
 12508  func (c *QuickSight) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error) {
 12509  	req, out := c.UpdateUserRequest(input)
 12510  	req.SetContext(ctx)
 12511  	req.ApplyOptions(opts...)
 12512  	return out, req.Send()
 12513  }
 12514  
 12515  // You don't have access to this item. The provided credentials couldn't be
 12516  // validated. You might not be authorized to carry out the request. Make sure
 12517  // that your account is authorized to use the Amazon QuickSight service, that
 12518  // your policies have the correct permissions, and that you are using the correct
 12519  // access keys.
 12520  type AccessDeniedException struct {
 12521  	_            struct{}                  `type:"structure"`
 12522  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 12523  
 12524  	Message_ *string `locationName:"Message" type:"string"`
 12525  
 12526  	// The Amazon Web Services request ID for this request.
 12527  	RequestId *string `type:"string"`
 12528  }
 12529  
 12530  // String returns the string representation.
 12531  //
 12532  // API parameter values that are decorated as "sensitive" in the API will not
 12533  // be included in the string output. The member name will be present, but the
 12534  // value will be replaced with "sensitive".
 12535  func (s AccessDeniedException) String() string {
 12536  	return awsutil.Prettify(s)
 12537  }
 12538  
 12539  // GoString returns the string representation.
 12540  //
 12541  // API parameter values that are decorated as "sensitive" in the API will not
 12542  // be included in the string output. The member name will be present, but the
 12543  // value will be replaced with "sensitive".
 12544  func (s AccessDeniedException) GoString() string {
 12545  	return s.String()
 12546  }
 12547  
 12548  func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
 12549  	return &AccessDeniedException{
 12550  		RespMetadata: v,
 12551  	}
 12552  }
 12553  
 12554  // Code returns the exception type name.
 12555  func (s *AccessDeniedException) Code() string {
 12556  	return "AccessDeniedException"
 12557  }
 12558  
 12559  // Message returns the exception's message.
 12560  func (s *AccessDeniedException) Message() string {
 12561  	if s.Message_ != nil {
 12562  		return *s.Message_
 12563  	}
 12564  	return ""
 12565  }
 12566  
 12567  // OrigErr always returns nil, satisfies awserr.Error interface.
 12568  func (s *AccessDeniedException) OrigErr() error {
 12569  	return nil
 12570  }
 12571  
 12572  func (s *AccessDeniedException) Error() string {
 12573  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 12574  }
 12575  
 12576  // Status code returns the HTTP status code for the request's response error.
 12577  func (s *AccessDeniedException) StatusCode() int {
 12578  	return s.RespMetadata.StatusCode
 12579  }
 12580  
 12581  // RequestID returns the service's response RequestID for request.
 12582  func (s *AccessDeniedException) RequestID() string {
 12583  	return s.RespMetadata.RequestID
 12584  }
 12585  
 12586  // The Amazon QuickSight customizations associated with your Amazon Web Services
 12587  // account or a Amazon QuickSight namespace in a specific Amazon Web Services
 12588  // Region;.
 12589  type AccountCustomization struct {
 12590  	_ struct{} `type:"structure"`
 12591  
 12592  	// The default theme for this Amazon QuickSight subscription.
 12593  	DefaultTheme *string `type:"string"`
 12594  }
 12595  
 12596  // String returns the string representation.
 12597  //
 12598  // API parameter values that are decorated as "sensitive" in the API will not
 12599  // be included in the string output. The member name will be present, but the
 12600  // value will be replaced with "sensitive".
 12601  func (s AccountCustomization) String() string {
 12602  	return awsutil.Prettify(s)
 12603  }
 12604  
 12605  // GoString returns the string representation.
 12606  //
 12607  // API parameter values that are decorated as "sensitive" in the API will not
 12608  // be included in the string output. The member name will be present, but the
 12609  // value will be replaced with "sensitive".
 12610  func (s AccountCustomization) GoString() string {
 12611  	return s.String()
 12612  }
 12613  
 12614  // SetDefaultTheme sets the DefaultTheme field's value.
 12615  func (s *AccountCustomization) SetDefaultTheme(v string) *AccountCustomization {
 12616  	s.DefaultTheme = &v
 12617  	return s
 12618  }
 12619  
 12620  // The Amazon QuickSight settings associated with your Amazon Web Services account.
 12621  type AccountSettings struct {
 12622  	_ struct{} `type:"structure"`
 12623  
 12624  	// The "account name" you provided for the Amazon QuickSight subscription in
 12625  	// your Amazon Web Services account. You create this name when you sign up for
 12626  	// Amazon QuickSight. It is unique in all of Amazon Web Services and it appears
 12627  	// only when users sign in.
 12628  	AccountName *string `type:"string"`
 12629  
 12630  	// The default Amazon QuickSight namespace for your Amazon Web Services account.
 12631  	DefaultNamespace *string `type:"string"`
 12632  
 12633  	// The edition of Amazon QuickSight that you're currently subscribed to: Enterprise
 12634  	// edition or Standard edition.
 12635  	Edition *string `type:"string" enum:"Edition"`
 12636  
 12637  	// The main notification email for your Amazon QuickSight subscription.
 12638  	NotificationEmail *string `type:"string"`
 12639  }
 12640  
 12641  // String returns the string representation.
 12642  //
 12643  // API parameter values that are decorated as "sensitive" in the API will not
 12644  // be included in the string output. The member name will be present, but the
 12645  // value will be replaced with "sensitive".
 12646  func (s AccountSettings) String() string {
 12647  	return awsutil.Prettify(s)
 12648  }
 12649  
 12650  // GoString returns the string representation.
 12651  //
 12652  // API parameter values that are decorated as "sensitive" in the API will not
 12653  // be included in the string output. The member name will be present, but the
 12654  // value will be replaced with "sensitive".
 12655  func (s AccountSettings) GoString() string {
 12656  	return s.String()
 12657  }
 12658  
 12659  // SetAccountName sets the AccountName field's value.
 12660  func (s *AccountSettings) SetAccountName(v string) *AccountSettings {
 12661  	s.AccountName = &v
 12662  	return s
 12663  }
 12664  
 12665  // SetDefaultNamespace sets the DefaultNamespace field's value.
 12666  func (s *AccountSettings) SetDefaultNamespace(v string) *AccountSettings {
 12667  	s.DefaultNamespace = &v
 12668  	return s
 12669  }
 12670  
 12671  // SetEdition sets the Edition field's value.
 12672  func (s *AccountSettings) SetEdition(v string) *AccountSettings {
 12673  	s.Edition = &v
 12674  	return s
 12675  }
 12676  
 12677  // SetNotificationEmail sets the NotificationEmail field's value.
 12678  func (s *AccountSettings) SetNotificationEmail(v string) *AccountSettings {
 12679  	s.NotificationEmail = &v
 12680  	return s
 12681  }
 12682  
 12683  // The active Identity and Access Management (IAM) policy assignment.
 12684  type ActiveIAMPolicyAssignment struct {
 12685  	_ struct{} `type:"structure"`
 12686  
 12687  	// A name for the IAMpolicy assignment.
 12688  	AssignmentName *string `min:"1" type:"string"`
 12689  
 12690  	// The Amazon Resource Name (ARN) of the resource.
 12691  	PolicyArn *string `type:"string"`
 12692  }
 12693  
 12694  // String returns the string representation.
 12695  //
 12696  // API parameter values that are decorated as "sensitive" in the API will not
 12697  // be included in the string output. The member name will be present, but the
 12698  // value will be replaced with "sensitive".
 12699  func (s ActiveIAMPolicyAssignment) String() string {
 12700  	return awsutil.Prettify(s)
 12701  }
 12702  
 12703  // GoString returns the string representation.
 12704  //
 12705  // API parameter values that are decorated as "sensitive" in the API will not
 12706  // be included in the string output. The member name will be present, but the
 12707  // value will be replaced with "sensitive".
 12708  func (s ActiveIAMPolicyAssignment) GoString() string {
 12709  	return s.String()
 12710  }
 12711  
 12712  // SetAssignmentName sets the AssignmentName field's value.
 12713  func (s *ActiveIAMPolicyAssignment) SetAssignmentName(v string) *ActiveIAMPolicyAssignment {
 12714  	s.AssignmentName = &v
 12715  	return s
 12716  }
 12717  
 12718  // SetPolicyArn sets the PolicyArn field's value.
 12719  func (s *ActiveIAMPolicyAssignment) SetPolicyArn(v string) *ActiveIAMPolicyAssignment {
 12720  	s.PolicyArn = &v
 12721  	return s
 12722  }
 12723  
 12724  // Ad hoc (one-time) filtering option.
 12725  type AdHocFilteringOption struct {
 12726  	_ struct{} `type:"structure"`
 12727  
 12728  	// Availability status.
 12729  	AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"`
 12730  }
 12731  
 12732  // String returns the string representation.
 12733  //
 12734  // API parameter values that are decorated as "sensitive" in the API will not
 12735  // be included in the string output. The member name will be present, but the
 12736  // value will be replaced with "sensitive".
 12737  func (s AdHocFilteringOption) String() string {
 12738  	return awsutil.Prettify(s)
 12739  }
 12740  
 12741  // GoString returns the string representation.
 12742  //
 12743  // API parameter values that are decorated as "sensitive" in the API will not
 12744  // be included in the string output. The member name will be present, but the
 12745  // value will be replaced with "sensitive".
 12746  func (s AdHocFilteringOption) GoString() string {
 12747  	return s.String()
 12748  }
 12749  
 12750  // SetAvailabilityStatus sets the AvailabilityStatus field's value.
 12751  func (s *AdHocFilteringOption) SetAvailabilityStatus(v string) *AdHocFilteringOption {
 12752  	s.AvailabilityStatus = &v
 12753  	return s
 12754  }
 12755  
 12756  // The parameters for Elasticsearch.
 12757  type AmazonElasticsearchParameters struct {
 12758  	_ struct{} `type:"structure"`
 12759  
 12760  	// The Elasticsearch domain.
 12761  	//
 12762  	// Domain is a required field
 12763  	Domain *string `min:"1" type:"string" required:"true"`
 12764  }
 12765  
 12766  // String returns the string representation.
 12767  //
 12768  // API parameter values that are decorated as "sensitive" in the API will not
 12769  // be included in the string output. The member name will be present, but the
 12770  // value will be replaced with "sensitive".
 12771  func (s AmazonElasticsearchParameters) String() string {
 12772  	return awsutil.Prettify(s)
 12773  }
 12774  
 12775  // GoString returns the string representation.
 12776  //
 12777  // API parameter values that are decorated as "sensitive" in the API will not
 12778  // be included in the string output. The member name will be present, but the
 12779  // value will be replaced with "sensitive".
 12780  func (s AmazonElasticsearchParameters) GoString() string {
 12781  	return s.String()
 12782  }
 12783  
 12784  // Validate inspects the fields of the type to determine if they are valid.
 12785  func (s *AmazonElasticsearchParameters) Validate() error {
 12786  	invalidParams := request.ErrInvalidParams{Context: "AmazonElasticsearchParameters"}
 12787  	if s.Domain == nil {
 12788  		invalidParams.Add(request.NewErrParamRequired("Domain"))
 12789  	}
 12790  	if s.Domain != nil && len(*s.Domain) < 1 {
 12791  		invalidParams.Add(request.NewErrParamMinLen("Domain", 1))
 12792  	}
 12793  
 12794  	if invalidParams.Len() > 0 {
 12795  		return invalidParams
 12796  	}
 12797  	return nil
 12798  }
 12799  
 12800  // SetDomain sets the Domain field's value.
 12801  func (s *AmazonElasticsearchParameters) SetDomain(v string) *AmazonElasticsearchParameters {
 12802  	s.Domain = &v
 12803  	return s
 12804  }
 12805  
 12806  type AmazonOpenSearchParameters struct {
 12807  	_ struct{} `type:"structure"`
 12808  
 12809  	// Domain is a required field
 12810  	Domain *string `min:"1" type:"string" required:"true"`
 12811  }
 12812  
 12813  // String returns the string representation.
 12814  //
 12815  // API parameter values that are decorated as "sensitive" in the API will not
 12816  // be included in the string output. The member name will be present, but the
 12817  // value will be replaced with "sensitive".
 12818  func (s AmazonOpenSearchParameters) String() string {
 12819  	return awsutil.Prettify(s)
 12820  }
 12821  
 12822  // GoString returns the string representation.
 12823  //
 12824  // API parameter values that are decorated as "sensitive" in the API will not
 12825  // be included in the string output. The member name will be present, but the
 12826  // value will be replaced with "sensitive".
 12827  func (s AmazonOpenSearchParameters) GoString() string {
 12828  	return s.String()
 12829  }
 12830  
 12831  // Validate inspects the fields of the type to determine if they are valid.
 12832  func (s *AmazonOpenSearchParameters) Validate() error {
 12833  	invalidParams := request.ErrInvalidParams{Context: "AmazonOpenSearchParameters"}
 12834  	if s.Domain == nil {
 12835  		invalidParams.Add(request.NewErrParamRequired("Domain"))
 12836  	}
 12837  	if s.Domain != nil && len(*s.Domain) < 1 {
 12838  		invalidParams.Add(request.NewErrParamMinLen("Domain", 1))
 12839  	}
 12840  
 12841  	if invalidParams.Len() > 0 {
 12842  		return invalidParams
 12843  	}
 12844  	return nil
 12845  }
 12846  
 12847  // SetDomain sets the Domain field's value.
 12848  func (s *AmazonOpenSearchParameters) SetDomain(v string) *AmazonOpenSearchParameters {
 12849  	s.Domain = &v
 12850  	return s
 12851  }
 12852  
 12853  // Metadata structure for an analysis in Amazon QuickSight
 12854  type Analysis struct {
 12855  	_ struct{} `type:"structure"`
 12856  
 12857  	// The ID of the analysis.
 12858  	AnalysisId *string `min:"1" type:"string"`
 12859  
 12860  	// The Amazon Resource Name (ARN) of the analysis.
 12861  	Arn *string `type:"string"`
 12862  
 12863  	// The time that the analysis was created.
 12864  	CreatedTime *time.Time `type:"timestamp"`
 12865  
 12866  	// The ARNs of the datasets of the analysis.
 12867  	DataSetArns []*string `type:"list"`
 12868  
 12869  	// Errors associated with the analysis.
 12870  	Errors []*AnalysisError `min:"1" type:"list"`
 12871  
 12872  	// The time that the analysis was last updated.
 12873  	LastUpdatedTime *time.Time `type:"timestamp"`
 12874  
 12875  	// The descriptive name of the analysis.
 12876  	Name *string `min:"1" type:"string"`
 12877  
 12878  	// A list of the associated sheets with the unique identifier and name of each
 12879  	// sheet.
 12880  	Sheets []*Sheet `type:"list"`
 12881  
 12882  	// Status associated with the analysis.
 12883  	Status *string `type:"string" enum:"ResourceStatus"`
 12884  
 12885  	// The ARN of the theme of the analysis.
 12886  	ThemeArn *string `type:"string"`
 12887  }
 12888  
 12889  // String returns the string representation.
 12890  //
 12891  // API parameter values that are decorated as "sensitive" in the API will not
 12892  // be included in the string output. The member name will be present, but the
 12893  // value will be replaced with "sensitive".
 12894  func (s Analysis) String() string {
 12895  	return awsutil.Prettify(s)
 12896  }
 12897  
 12898  // GoString returns the string representation.
 12899  //
 12900  // API parameter values that are decorated as "sensitive" in the API will not
 12901  // be included in the string output. The member name will be present, but the
 12902  // value will be replaced with "sensitive".
 12903  func (s Analysis) GoString() string {
 12904  	return s.String()
 12905  }
 12906  
 12907  // SetAnalysisId sets the AnalysisId field's value.
 12908  func (s *Analysis) SetAnalysisId(v string) *Analysis {
 12909  	s.AnalysisId = &v
 12910  	return s
 12911  }
 12912  
 12913  // SetArn sets the Arn field's value.
 12914  func (s *Analysis) SetArn(v string) *Analysis {
 12915  	s.Arn = &v
 12916  	return s
 12917  }
 12918  
 12919  // SetCreatedTime sets the CreatedTime field's value.
 12920  func (s *Analysis) SetCreatedTime(v time.Time) *Analysis {
 12921  	s.CreatedTime = &v
 12922  	return s
 12923  }
 12924  
 12925  // SetDataSetArns sets the DataSetArns field's value.
 12926  func (s *Analysis) SetDataSetArns(v []*string) *Analysis {
 12927  	s.DataSetArns = v
 12928  	return s
 12929  }
 12930  
 12931  // SetErrors sets the Errors field's value.
 12932  func (s *Analysis) SetErrors(v []*AnalysisError) *Analysis {
 12933  	s.Errors = v
 12934  	return s
 12935  }
 12936  
 12937  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 12938  func (s *Analysis) SetLastUpdatedTime(v time.Time) *Analysis {
 12939  	s.LastUpdatedTime = &v
 12940  	return s
 12941  }
 12942  
 12943  // SetName sets the Name field's value.
 12944  func (s *Analysis) SetName(v string) *Analysis {
 12945  	s.Name = &v
 12946  	return s
 12947  }
 12948  
 12949  // SetSheets sets the Sheets field's value.
 12950  func (s *Analysis) SetSheets(v []*Sheet) *Analysis {
 12951  	s.Sheets = v
 12952  	return s
 12953  }
 12954  
 12955  // SetStatus sets the Status field's value.
 12956  func (s *Analysis) SetStatus(v string) *Analysis {
 12957  	s.Status = &v
 12958  	return s
 12959  }
 12960  
 12961  // SetThemeArn sets the ThemeArn field's value.
 12962  func (s *Analysis) SetThemeArn(v string) *Analysis {
 12963  	s.ThemeArn = &v
 12964  	return s
 12965  }
 12966  
 12967  // Analysis error.
 12968  type AnalysisError struct {
 12969  	_ struct{} `type:"structure"`
 12970  
 12971  	// The message associated with the analysis error.
 12972  	Message *string `type:"string"`
 12973  
 12974  	// The type of the analysis error.
 12975  	Type *string `type:"string" enum:"AnalysisErrorType"`
 12976  }
 12977  
 12978  // String returns the string representation.
 12979  //
 12980  // API parameter values that are decorated as "sensitive" in the API will not
 12981  // be included in the string output. The member name will be present, but the
 12982  // value will be replaced with "sensitive".
 12983  func (s AnalysisError) String() string {
 12984  	return awsutil.Prettify(s)
 12985  }
 12986  
 12987  // GoString returns the string representation.
 12988  //
 12989  // API parameter values that are decorated as "sensitive" in the API will not
 12990  // be included in the string output. The member name will be present, but the
 12991  // value will be replaced with "sensitive".
 12992  func (s AnalysisError) GoString() string {
 12993  	return s.String()
 12994  }
 12995  
 12996  // SetMessage sets the Message field's value.
 12997  func (s *AnalysisError) SetMessage(v string) *AnalysisError {
 12998  	s.Message = &v
 12999  	return s
 13000  }
 13001  
 13002  // SetType sets the Type field's value.
 13003  func (s *AnalysisError) SetType(v string) *AnalysisError {
 13004  	s.Type = &v
 13005  	return s
 13006  }
 13007  
 13008  // A filter that you apply when searching for one or more analyses.
 13009  type AnalysisSearchFilter struct {
 13010  	_ struct{} `type:"structure"`
 13011  
 13012  	// The name of the value that you want to use as a filter, for example "Name":
 13013  	// "QUICKSIGHT_USER".
 13014  	Name *string `type:"string" enum:"AnalysisFilterAttribute"`
 13015  
 13016  	// The comparison operator that you want to use as a filter, for example "Operator":
 13017  	// "StringEquals".
 13018  	Operator *string `type:"string" enum:"FilterOperator"`
 13019  
 13020  	// The value of the named item, in this case QUICKSIGHT_USER, that you want
 13021  	// to use as a filter, for example "Value". An example is "arn:aws:quicksight:us-east-1:1:user/default/UserName1".
 13022  	Value *string `type:"string"`
 13023  }
 13024  
 13025  // String returns the string representation.
 13026  //
 13027  // API parameter values that are decorated as "sensitive" in the API will not
 13028  // be included in the string output. The member name will be present, but the
 13029  // value will be replaced with "sensitive".
 13030  func (s AnalysisSearchFilter) String() string {
 13031  	return awsutil.Prettify(s)
 13032  }
 13033  
 13034  // GoString returns the string representation.
 13035  //
 13036  // API parameter values that are decorated as "sensitive" in the API will not
 13037  // be included in the string output. The member name will be present, but the
 13038  // value will be replaced with "sensitive".
 13039  func (s AnalysisSearchFilter) GoString() string {
 13040  	return s.String()
 13041  }
 13042  
 13043  // SetName sets the Name field's value.
 13044  func (s *AnalysisSearchFilter) SetName(v string) *AnalysisSearchFilter {
 13045  	s.Name = &v
 13046  	return s
 13047  }
 13048  
 13049  // SetOperator sets the Operator field's value.
 13050  func (s *AnalysisSearchFilter) SetOperator(v string) *AnalysisSearchFilter {
 13051  	s.Operator = &v
 13052  	return s
 13053  }
 13054  
 13055  // SetValue sets the Value field's value.
 13056  func (s *AnalysisSearchFilter) SetValue(v string) *AnalysisSearchFilter {
 13057  	s.Value = &v
 13058  	return s
 13059  }
 13060  
 13061  // The source entity of an analysis.
 13062  type AnalysisSourceEntity struct {
 13063  	_ struct{} `type:"structure"`
 13064  
 13065  	// The source template for the source entity of the analysis.
 13066  	SourceTemplate *AnalysisSourceTemplate `type:"structure"`
 13067  }
 13068  
 13069  // String returns the string representation.
 13070  //
 13071  // API parameter values that are decorated as "sensitive" in the API will not
 13072  // be included in the string output. The member name will be present, but the
 13073  // value will be replaced with "sensitive".
 13074  func (s AnalysisSourceEntity) String() string {
 13075  	return awsutil.Prettify(s)
 13076  }
 13077  
 13078  // GoString returns the string representation.
 13079  //
 13080  // API parameter values that are decorated as "sensitive" in the API will not
 13081  // be included in the string output. The member name will be present, but the
 13082  // value will be replaced with "sensitive".
 13083  func (s AnalysisSourceEntity) GoString() string {
 13084  	return s.String()
 13085  }
 13086  
 13087  // Validate inspects the fields of the type to determine if they are valid.
 13088  func (s *AnalysisSourceEntity) Validate() error {
 13089  	invalidParams := request.ErrInvalidParams{Context: "AnalysisSourceEntity"}
 13090  	if s.SourceTemplate != nil {
 13091  		if err := s.SourceTemplate.Validate(); err != nil {
 13092  			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
 13093  		}
 13094  	}
 13095  
 13096  	if invalidParams.Len() > 0 {
 13097  		return invalidParams
 13098  	}
 13099  	return nil
 13100  }
 13101  
 13102  // SetSourceTemplate sets the SourceTemplate field's value.
 13103  func (s *AnalysisSourceEntity) SetSourceTemplate(v *AnalysisSourceTemplate) *AnalysisSourceEntity {
 13104  	s.SourceTemplate = v
 13105  	return s
 13106  }
 13107  
 13108  // The source template of an analysis.
 13109  type AnalysisSourceTemplate struct {
 13110  	_ struct{} `type:"structure"`
 13111  
 13112  	// The Amazon Resource Name (ARN) of the source template of an analysis.
 13113  	//
 13114  	// Arn is a required field
 13115  	Arn *string `type:"string" required:"true"`
 13116  
 13117  	// The dataset references of the source template of an analysis.
 13118  	//
 13119  	// DataSetReferences is a required field
 13120  	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
 13121  }
 13122  
 13123  // String returns the string representation.
 13124  //
 13125  // API parameter values that are decorated as "sensitive" in the API will not
 13126  // be included in the string output. The member name will be present, but the
 13127  // value will be replaced with "sensitive".
 13128  func (s AnalysisSourceTemplate) String() string {
 13129  	return awsutil.Prettify(s)
 13130  }
 13131  
 13132  // GoString returns the string representation.
 13133  //
 13134  // API parameter values that are decorated as "sensitive" in the API will not
 13135  // be included in the string output. The member name will be present, but the
 13136  // value will be replaced with "sensitive".
 13137  func (s AnalysisSourceTemplate) GoString() string {
 13138  	return s.String()
 13139  }
 13140  
 13141  // Validate inspects the fields of the type to determine if they are valid.
 13142  func (s *AnalysisSourceTemplate) Validate() error {
 13143  	invalidParams := request.ErrInvalidParams{Context: "AnalysisSourceTemplate"}
 13144  	if s.Arn == nil {
 13145  		invalidParams.Add(request.NewErrParamRequired("Arn"))
 13146  	}
 13147  	if s.DataSetReferences == nil {
 13148  		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
 13149  	}
 13150  	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
 13151  		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
 13152  	}
 13153  	if s.DataSetReferences != nil {
 13154  		for i, v := range s.DataSetReferences {
 13155  			if v == nil {
 13156  				continue
 13157  			}
 13158  			if err := v.Validate(); err != nil {
 13159  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
 13160  			}
 13161  		}
 13162  	}
 13163  
 13164  	if invalidParams.Len() > 0 {
 13165  		return invalidParams
 13166  	}
 13167  	return nil
 13168  }
 13169  
 13170  // SetArn sets the Arn field's value.
 13171  func (s *AnalysisSourceTemplate) SetArn(v string) *AnalysisSourceTemplate {
 13172  	s.Arn = &v
 13173  	return s
 13174  }
 13175  
 13176  // SetDataSetReferences sets the DataSetReferences field's value.
 13177  func (s *AnalysisSourceTemplate) SetDataSetReferences(v []*DataSetReference) *AnalysisSourceTemplate {
 13178  	s.DataSetReferences = v
 13179  	return s
 13180  }
 13181  
 13182  // The summary metadata that describes an analysis.
 13183  type AnalysisSummary struct {
 13184  	_ struct{} `type:"structure"`
 13185  
 13186  	// The ID of the analysis. This ID displays in the URL.
 13187  	AnalysisId *string `min:"1" type:"string"`
 13188  
 13189  	// The Amazon Resource Name (ARN) for the analysis.
 13190  	Arn *string `type:"string"`
 13191  
 13192  	// The time that the analysis was created.
 13193  	CreatedTime *time.Time `type:"timestamp"`
 13194  
 13195  	// The time that the analysis was last updated.
 13196  	LastUpdatedTime *time.Time `type:"timestamp"`
 13197  
 13198  	// The name of the analysis. This name is displayed in the Amazon QuickSight
 13199  	// console.
 13200  	Name *string `min:"1" type:"string"`
 13201  
 13202  	// The last known status for the analysis.
 13203  	Status *string `type:"string" enum:"ResourceStatus"`
 13204  }
 13205  
 13206  // String returns the string representation.
 13207  //
 13208  // API parameter values that are decorated as "sensitive" in the API will not
 13209  // be included in the string output. The member name will be present, but the
 13210  // value will be replaced with "sensitive".
 13211  func (s AnalysisSummary) String() string {
 13212  	return awsutil.Prettify(s)
 13213  }
 13214  
 13215  // GoString returns the string representation.
 13216  //
 13217  // API parameter values that are decorated as "sensitive" in the API will not
 13218  // be included in the string output. The member name will be present, but the
 13219  // value will be replaced with "sensitive".
 13220  func (s AnalysisSummary) GoString() string {
 13221  	return s.String()
 13222  }
 13223  
 13224  // SetAnalysisId sets the AnalysisId field's value.
 13225  func (s *AnalysisSummary) SetAnalysisId(v string) *AnalysisSummary {
 13226  	s.AnalysisId = &v
 13227  	return s
 13228  }
 13229  
 13230  // SetArn sets the Arn field's value.
 13231  func (s *AnalysisSummary) SetArn(v string) *AnalysisSummary {
 13232  	s.Arn = &v
 13233  	return s
 13234  }
 13235  
 13236  // SetCreatedTime sets the CreatedTime field's value.
 13237  func (s *AnalysisSummary) SetCreatedTime(v time.Time) *AnalysisSummary {
 13238  	s.CreatedTime = &v
 13239  	return s
 13240  }
 13241  
 13242  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 13243  func (s *AnalysisSummary) SetLastUpdatedTime(v time.Time) *AnalysisSummary {
 13244  	s.LastUpdatedTime = &v
 13245  	return s
 13246  }
 13247  
 13248  // SetName sets the Name field's value.
 13249  func (s *AnalysisSummary) SetName(v string) *AnalysisSummary {
 13250  	s.Name = &v
 13251  	return s
 13252  }
 13253  
 13254  // SetStatus sets the Status field's value.
 13255  func (s *AnalysisSummary) SetStatus(v string) *AnalysisSummary {
 13256  	s.Status = &v
 13257  	return s
 13258  }
 13259  
 13260  // Information about the dashboard that you want to embed.
 13261  type AnonymousUserDashboardEmbeddingConfiguration struct {
 13262  	_ struct{} `type:"structure"`
 13263  
 13264  	// The dashboard ID for the dashboard that you want the user to see first. This
 13265  	// ID is included in the output URL. When the URL in response is accessed, Amazon
 13266  	// QuickSight renders this dashboard.
 13267  	//
 13268  	// The Amazon Resource Name (ARN) of this dashboard must be included in the
 13269  	// AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.
 13270  	//
 13271  	// InitialDashboardId is a required field
 13272  	InitialDashboardId *string `min:"1" type:"string" required:"true"`
 13273  }
 13274  
 13275  // String returns the string representation.
 13276  //
 13277  // API parameter values that are decorated as "sensitive" in the API will not
 13278  // be included in the string output. The member name will be present, but the
 13279  // value will be replaced with "sensitive".
 13280  func (s AnonymousUserDashboardEmbeddingConfiguration) String() string {
 13281  	return awsutil.Prettify(s)
 13282  }
 13283  
 13284  // GoString returns the string representation.
 13285  //
 13286  // API parameter values that are decorated as "sensitive" in the API will not
 13287  // be included in the string output. The member name will be present, but the
 13288  // value will be replaced with "sensitive".
 13289  func (s AnonymousUserDashboardEmbeddingConfiguration) GoString() string {
 13290  	return s.String()
 13291  }
 13292  
 13293  // Validate inspects the fields of the type to determine if they are valid.
 13294  func (s *AnonymousUserDashboardEmbeddingConfiguration) Validate() error {
 13295  	invalidParams := request.ErrInvalidParams{Context: "AnonymousUserDashboardEmbeddingConfiguration"}
 13296  	if s.InitialDashboardId == nil {
 13297  		invalidParams.Add(request.NewErrParamRequired("InitialDashboardId"))
 13298  	}
 13299  	if s.InitialDashboardId != nil && len(*s.InitialDashboardId) < 1 {
 13300  		invalidParams.Add(request.NewErrParamMinLen("InitialDashboardId", 1))
 13301  	}
 13302  
 13303  	if invalidParams.Len() > 0 {
 13304  		return invalidParams
 13305  	}
 13306  	return nil
 13307  }
 13308  
 13309  // SetInitialDashboardId sets the InitialDashboardId field's value.
 13310  func (s *AnonymousUserDashboardEmbeddingConfiguration) SetInitialDashboardId(v string) *AnonymousUserDashboardEmbeddingConfiguration {
 13311  	s.InitialDashboardId = &v
 13312  	return s
 13313  }
 13314  
 13315  // The type of experience you want to embed. For anonymous users, you can embed
 13316  // an Amazon QuickSight dashboard.
 13317  type AnonymousUserEmbeddingExperienceConfiguration struct {
 13318  	_ struct{} `type:"structure"`
 13319  
 13320  	// The type of embedding experience. In this case, an Amazon QuickSight dashboard.
 13321  	Dashboard *AnonymousUserDashboardEmbeddingConfiguration `type:"structure"`
 13322  }
 13323  
 13324  // String returns the string representation.
 13325  //
 13326  // API parameter values that are decorated as "sensitive" in the API will not
 13327  // be included in the string output. The member name will be present, but the
 13328  // value will be replaced with "sensitive".
 13329  func (s AnonymousUserEmbeddingExperienceConfiguration) String() string {
 13330  	return awsutil.Prettify(s)
 13331  }
 13332  
 13333  // GoString returns the string representation.
 13334  //
 13335  // API parameter values that are decorated as "sensitive" in the API will not
 13336  // be included in the string output. The member name will be present, but the
 13337  // value will be replaced with "sensitive".
 13338  func (s AnonymousUserEmbeddingExperienceConfiguration) GoString() string {
 13339  	return s.String()
 13340  }
 13341  
 13342  // Validate inspects the fields of the type to determine if they are valid.
 13343  func (s *AnonymousUserEmbeddingExperienceConfiguration) Validate() error {
 13344  	invalidParams := request.ErrInvalidParams{Context: "AnonymousUserEmbeddingExperienceConfiguration"}
 13345  	if s.Dashboard != nil {
 13346  		if err := s.Dashboard.Validate(); err != nil {
 13347  			invalidParams.AddNested("Dashboard", err.(request.ErrInvalidParams))
 13348  		}
 13349  	}
 13350  
 13351  	if invalidParams.Len() > 0 {
 13352  		return invalidParams
 13353  	}
 13354  	return nil
 13355  }
 13356  
 13357  // SetDashboard sets the Dashboard field's value.
 13358  func (s *AnonymousUserEmbeddingExperienceConfiguration) SetDashboard(v *AnonymousUserDashboardEmbeddingConfiguration) *AnonymousUserEmbeddingExperienceConfiguration {
 13359  	s.Dashboard = v
 13360  	return s
 13361  }
 13362  
 13363  // Parameters for Amazon Athena.
 13364  type AthenaParameters struct {
 13365  	_ struct{} `type:"structure"`
 13366  
 13367  	// The workgroup that Amazon Athena uses.
 13368  	WorkGroup *string `min:"1" type:"string"`
 13369  }
 13370  
 13371  // String returns the string representation.
 13372  //
 13373  // API parameter values that are decorated as "sensitive" in the API will not
 13374  // be included in the string output. The member name will be present, but the
 13375  // value will be replaced with "sensitive".
 13376  func (s AthenaParameters) String() string {
 13377  	return awsutil.Prettify(s)
 13378  }
 13379  
 13380  // GoString returns the string representation.
 13381  //
 13382  // API parameter values that are decorated as "sensitive" in the API will not
 13383  // be included in the string output. The member name will be present, but the
 13384  // value will be replaced with "sensitive".
 13385  func (s AthenaParameters) GoString() string {
 13386  	return s.String()
 13387  }
 13388  
 13389  // Validate inspects the fields of the type to determine if they are valid.
 13390  func (s *AthenaParameters) Validate() error {
 13391  	invalidParams := request.ErrInvalidParams{Context: "AthenaParameters"}
 13392  	if s.WorkGroup != nil && len(*s.WorkGroup) < 1 {
 13393  		invalidParams.Add(request.NewErrParamMinLen("WorkGroup", 1))
 13394  	}
 13395  
 13396  	if invalidParams.Len() > 0 {
 13397  		return invalidParams
 13398  	}
 13399  	return nil
 13400  }
 13401  
 13402  // SetWorkGroup sets the WorkGroup field's value.
 13403  func (s *AthenaParameters) SetWorkGroup(v string) *AthenaParameters {
 13404  	s.WorkGroup = &v
 13405  	return s
 13406  }
 13407  
 13408  // Parameters for Amazon Aurora.
 13409  type AuroraParameters struct {
 13410  	_ struct{} `type:"structure"`
 13411  
 13412  	// Database.
 13413  	//
 13414  	// Database is a required field
 13415  	Database *string `min:"1" type:"string" required:"true"`
 13416  
 13417  	// Host.
 13418  	//
 13419  	// Host is a required field
 13420  	Host *string `min:"1" type:"string" required:"true"`
 13421  
 13422  	// Port.
 13423  	//
 13424  	// Port is a required field
 13425  	Port *int64 `min:"1" type:"integer" required:"true"`
 13426  }
 13427  
 13428  // String returns the string representation.
 13429  //
 13430  // API parameter values that are decorated as "sensitive" in the API will not
 13431  // be included in the string output. The member name will be present, but the
 13432  // value will be replaced with "sensitive".
 13433  func (s AuroraParameters) String() string {
 13434  	return awsutil.Prettify(s)
 13435  }
 13436  
 13437  // GoString returns the string representation.
 13438  //
 13439  // API parameter values that are decorated as "sensitive" in the API will not
 13440  // be included in the string output. The member name will be present, but the
 13441  // value will be replaced with "sensitive".
 13442  func (s AuroraParameters) GoString() string {
 13443  	return s.String()
 13444  }
 13445  
 13446  // Validate inspects the fields of the type to determine if they are valid.
 13447  func (s *AuroraParameters) Validate() error {
 13448  	invalidParams := request.ErrInvalidParams{Context: "AuroraParameters"}
 13449  	if s.Database == nil {
 13450  		invalidParams.Add(request.NewErrParamRequired("Database"))
 13451  	}
 13452  	if s.Database != nil && len(*s.Database) < 1 {
 13453  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 13454  	}
 13455  	if s.Host == nil {
 13456  		invalidParams.Add(request.NewErrParamRequired("Host"))
 13457  	}
 13458  	if s.Host != nil && len(*s.Host) < 1 {
 13459  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 13460  	}
 13461  	if s.Port == nil {
 13462  		invalidParams.Add(request.NewErrParamRequired("Port"))
 13463  	}
 13464  	if s.Port != nil && *s.Port < 1 {
 13465  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 13466  	}
 13467  
 13468  	if invalidParams.Len() > 0 {
 13469  		return invalidParams
 13470  	}
 13471  	return nil
 13472  }
 13473  
 13474  // SetDatabase sets the Database field's value.
 13475  func (s *AuroraParameters) SetDatabase(v string) *AuroraParameters {
 13476  	s.Database = &v
 13477  	return s
 13478  }
 13479  
 13480  // SetHost sets the Host field's value.
 13481  func (s *AuroraParameters) SetHost(v string) *AuroraParameters {
 13482  	s.Host = &v
 13483  	return s
 13484  }
 13485  
 13486  // SetPort sets the Port field's value.
 13487  func (s *AuroraParameters) SetPort(v int64) *AuroraParameters {
 13488  	s.Port = &v
 13489  	return s
 13490  }
 13491  
 13492  // Parameters for Amazon Aurora PostgreSQL-Compatible Edition.
 13493  type AuroraPostgreSqlParameters struct {
 13494  	_ struct{} `type:"structure"`
 13495  
 13496  	// The Amazon Aurora PostgreSQL database to connect to.
 13497  	//
 13498  	// Database is a required field
 13499  	Database *string `min:"1" type:"string" required:"true"`
 13500  
 13501  	// The Amazon Aurora PostgreSQL-Compatible host to connect to.
 13502  	//
 13503  	// Host is a required field
 13504  	Host *string `min:"1" type:"string" required:"true"`
 13505  
 13506  	// The port that Amazon Aurora PostgreSQL is listening on.
 13507  	//
 13508  	// Port is a required field
 13509  	Port *int64 `min:"1" type:"integer" required:"true"`
 13510  }
 13511  
 13512  // String returns the string representation.
 13513  //
 13514  // API parameter values that are decorated as "sensitive" in the API will not
 13515  // be included in the string output. The member name will be present, but the
 13516  // value will be replaced with "sensitive".
 13517  func (s AuroraPostgreSqlParameters) String() string {
 13518  	return awsutil.Prettify(s)
 13519  }
 13520  
 13521  // GoString returns the string representation.
 13522  //
 13523  // API parameter values that are decorated as "sensitive" in the API will not
 13524  // be included in the string output. The member name will be present, but the
 13525  // value will be replaced with "sensitive".
 13526  func (s AuroraPostgreSqlParameters) GoString() string {
 13527  	return s.String()
 13528  }
 13529  
 13530  // Validate inspects the fields of the type to determine if they are valid.
 13531  func (s *AuroraPostgreSqlParameters) Validate() error {
 13532  	invalidParams := request.ErrInvalidParams{Context: "AuroraPostgreSqlParameters"}
 13533  	if s.Database == nil {
 13534  		invalidParams.Add(request.NewErrParamRequired("Database"))
 13535  	}
 13536  	if s.Database != nil && len(*s.Database) < 1 {
 13537  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 13538  	}
 13539  	if s.Host == nil {
 13540  		invalidParams.Add(request.NewErrParamRequired("Host"))
 13541  	}
 13542  	if s.Host != nil && len(*s.Host) < 1 {
 13543  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 13544  	}
 13545  	if s.Port == nil {
 13546  		invalidParams.Add(request.NewErrParamRequired("Port"))
 13547  	}
 13548  	if s.Port != nil && *s.Port < 1 {
 13549  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 13550  	}
 13551  
 13552  	if invalidParams.Len() > 0 {
 13553  		return invalidParams
 13554  	}
 13555  	return nil
 13556  }
 13557  
 13558  // SetDatabase sets the Database field's value.
 13559  func (s *AuroraPostgreSqlParameters) SetDatabase(v string) *AuroraPostgreSqlParameters {
 13560  	s.Database = &v
 13561  	return s
 13562  }
 13563  
 13564  // SetHost sets the Host field's value.
 13565  func (s *AuroraPostgreSqlParameters) SetHost(v string) *AuroraPostgreSqlParameters {
 13566  	s.Host = &v
 13567  	return s
 13568  }
 13569  
 13570  // SetPort sets the Port field's value.
 13571  func (s *AuroraPostgreSqlParameters) SetPort(v int64) *AuroraPostgreSqlParameters {
 13572  	s.Port = &v
 13573  	return s
 13574  }
 13575  
 13576  // The parameters for IoT Analytics.
 13577  type AwsIotAnalyticsParameters struct {
 13578  	_ struct{} `type:"structure"`
 13579  
 13580  	// Dataset name.
 13581  	//
 13582  	// DataSetName is a required field
 13583  	DataSetName *string `min:"1" type:"string" required:"true"`
 13584  }
 13585  
 13586  // String returns the string representation.
 13587  //
 13588  // API parameter values that are decorated as "sensitive" in the API will not
 13589  // be included in the string output. The member name will be present, but the
 13590  // value will be replaced with "sensitive".
 13591  func (s AwsIotAnalyticsParameters) String() string {
 13592  	return awsutil.Prettify(s)
 13593  }
 13594  
 13595  // GoString returns the string representation.
 13596  //
 13597  // API parameter values that are decorated as "sensitive" in the API will not
 13598  // be included in the string output. The member name will be present, but the
 13599  // value will be replaced with "sensitive".
 13600  func (s AwsIotAnalyticsParameters) GoString() string {
 13601  	return s.String()
 13602  }
 13603  
 13604  // Validate inspects the fields of the type to determine if they are valid.
 13605  func (s *AwsIotAnalyticsParameters) Validate() error {
 13606  	invalidParams := request.ErrInvalidParams{Context: "AwsIotAnalyticsParameters"}
 13607  	if s.DataSetName == nil {
 13608  		invalidParams.Add(request.NewErrParamRequired("DataSetName"))
 13609  	}
 13610  	if s.DataSetName != nil && len(*s.DataSetName) < 1 {
 13611  		invalidParams.Add(request.NewErrParamMinLen("DataSetName", 1))
 13612  	}
 13613  
 13614  	if invalidParams.Len() > 0 {
 13615  		return invalidParams
 13616  	}
 13617  	return nil
 13618  }
 13619  
 13620  // SetDataSetName sets the DataSetName field's value.
 13621  func (s *AwsIotAnalyticsParameters) SetDataSetName(v string) *AwsIotAnalyticsParameters {
 13622  	s.DataSetName = &v
 13623  	return s
 13624  }
 13625  
 13626  // The display options for tile borders for visuals.
 13627  type BorderStyle struct {
 13628  	_ struct{} `type:"structure"`
 13629  
 13630  	// The option to enable display of borders for visuals.
 13631  	Show *bool `type:"boolean"`
 13632  }
 13633  
 13634  // String returns the string representation.
 13635  //
 13636  // API parameter values that are decorated as "sensitive" in the API will not
 13637  // be included in the string output. The member name will be present, but the
 13638  // value will be replaced with "sensitive".
 13639  func (s BorderStyle) String() string {
 13640  	return awsutil.Prettify(s)
 13641  }
 13642  
 13643  // GoString returns the string representation.
 13644  //
 13645  // API parameter values that are decorated as "sensitive" in the API will not
 13646  // be included in the string output. The member name will be present, but the
 13647  // value will be replaced with "sensitive".
 13648  func (s BorderStyle) GoString() string {
 13649  	return s.String()
 13650  }
 13651  
 13652  // SetShow sets the Show field's value.
 13653  func (s *BorderStyle) SetShow(v bool) *BorderStyle {
 13654  	s.Show = &v
 13655  	return s
 13656  }
 13657  
 13658  // A calculated column for a dataset.
 13659  type CalculatedColumn struct {
 13660  	_ struct{} `type:"structure"`
 13661  
 13662  	// A unique ID to identify a calculated column. During a dataset update, if
 13663  	// the column ID of a calculated column matches that of an existing calculated
 13664  	// column, Amazon QuickSight preserves the existing calculated column.
 13665  	//
 13666  	// ColumnId is a required field
 13667  	ColumnId *string `min:"1" type:"string" required:"true"`
 13668  
 13669  	// Column name.
 13670  	//
 13671  	// ColumnName is a required field
 13672  	ColumnName *string `min:"1" type:"string" required:"true"`
 13673  
 13674  	// An expression that defines the calculated column.
 13675  	//
 13676  	// Expression is a required field
 13677  	Expression *string `min:"1" type:"string" required:"true"`
 13678  }
 13679  
 13680  // String returns the string representation.
 13681  //
 13682  // API parameter values that are decorated as "sensitive" in the API will not
 13683  // be included in the string output. The member name will be present, but the
 13684  // value will be replaced with "sensitive".
 13685  func (s CalculatedColumn) String() string {
 13686  	return awsutil.Prettify(s)
 13687  }
 13688  
 13689  // GoString returns the string representation.
 13690  //
 13691  // API parameter values that are decorated as "sensitive" in the API will not
 13692  // be included in the string output. The member name will be present, but the
 13693  // value will be replaced with "sensitive".
 13694  func (s CalculatedColumn) GoString() string {
 13695  	return s.String()
 13696  }
 13697  
 13698  // Validate inspects the fields of the type to determine if they are valid.
 13699  func (s *CalculatedColumn) Validate() error {
 13700  	invalidParams := request.ErrInvalidParams{Context: "CalculatedColumn"}
 13701  	if s.ColumnId == nil {
 13702  		invalidParams.Add(request.NewErrParamRequired("ColumnId"))
 13703  	}
 13704  	if s.ColumnId != nil && len(*s.ColumnId) < 1 {
 13705  		invalidParams.Add(request.NewErrParamMinLen("ColumnId", 1))
 13706  	}
 13707  	if s.ColumnName == nil {
 13708  		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
 13709  	}
 13710  	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
 13711  		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
 13712  	}
 13713  	if s.Expression == nil {
 13714  		invalidParams.Add(request.NewErrParamRequired("Expression"))
 13715  	}
 13716  	if s.Expression != nil && len(*s.Expression) < 1 {
 13717  		invalidParams.Add(request.NewErrParamMinLen("Expression", 1))
 13718  	}
 13719  
 13720  	if invalidParams.Len() > 0 {
 13721  		return invalidParams
 13722  	}
 13723  	return nil
 13724  }
 13725  
 13726  // SetColumnId sets the ColumnId field's value.
 13727  func (s *CalculatedColumn) SetColumnId(v string) *CalculatedColumn {
 13728  	s.ColumnId = &v
 13729  	return s
 13730  }
 13731  
 13732  // SetColumnName sets the ColumnName field's value.
 13733  func (s *CalculatedColumn) SetColumnName(v string) *CalculatedColumn {
 13734  	s.ColumnName = &v
 13735  	return s
 13736  }
 13737  
 13738  // SetExpression sets the Expression field's value.
 13739  func (s *CalculatedColumn) SetExpression(v string) *CalculatedColumn {
 13740  	s.Expression = &v
 13741  	return s
 13742  }
 13743  
 13744  type CancelIngestionInput struct {
 13745  	_ struct{} `type:"structure" nopayload:"true"`
 13746  
 13747  	// The Amazon Web Services account ID.
 13748  	//
 13749  	// AwsAccountId is a required field
 13750  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 13751  
 13752  	// The ID of the dataset used in the ingestion.
 13753  	//
 13754  	// DataSetId is a required field
 13755  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 13756  
 13757  	// An ID for the ingestion.
 13758  	//
 13759  	// IngestionId is a required field
 13760  	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
 13761  }
 13762  
 13763  // String returns the string representation.
 13764  //
 13765  // API parameter values that are decorated as "sensitive" in the API will not
 13766  // be included in the string output. The member name will be present, but the
 13767  // value will be replaced with "sensitive".
 13768  func (s CancelIngestionInput) String() string {
 13769  	return awsutil.Prettify(s)
 13770  }
 13771  
 13772  // GoString returns the string representation.
 13773  //
 13774  // API parameter values that are decorated as "sensitive" in the API will not
 13775  // be included in the string output. The member name will be present, but the
 13776  // value will be replaced with "sensitive".
 13777  func (s CancelIngestionInput) GoString() string {
 13778  	return s.String()
 13779  }
 13780  
 13781  // Validate inspects the fields of the type to determine if they are valid.
 13782  func (s *CancelIngestionInput) Validate() error {
 13783  	invalidParams := request.ErrInvalidParams{Context: "CancelIngestionInput"}
 13784  	if s.AwsAccountId == nil {
 13785  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 13786  	}
 13787  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 13788  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 13789  	}
 13790  	if s.DataSetId == nil {
 13791  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 13792  	}
 13793  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 13794  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 13795  	}
 13796  	if s.IngestionId == nil {
 13797  		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
 13798  	}
 13799  	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
 13800  		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
 13801  	}
 13802  
 13803  	if invalidParams.Len() > 0 {
 13804  		return invalidParams
 13805  	}
 13806  	return nil
 13807  }
 13808  
 13809  // SetAwsAccountId sets the AwsAccountId field's value.
 13810  func (s *CancelIngestionInput) SetAwsAccountId(v string) *CancelIngestionInput {
 13811  	s.AwsAccountId = &v
 13812  	return s
 13813  }
 13814  
 13815  // SetDataSetId sets the DataSetId field's value.
 13816  func (s *CancelIngestionInput) SetDataSetId(v string) *CancelIngestionInput {
 13817  	s.DataSetId = &v
 13818  	return s
 13819  }
 13820  
 13821  // SetIngestionId sets the IngestionId field's value.
 13822  func (s *CancelIngestionInput) SetIngestionId(v string) *CancelIngestionInput {
 13823  	s.IngestionId = &v
 13824  	return s
 13825  }
 13826  
 13827  type CancelIngestionOutput struct {
 13828  	_ struct{} `type:"structure"`
 13829  
 13830  	// The Amazon Resource Name (ARN) for the data ingestion.
 13831  	Arn *string `type:"string"`
 13832  
 13833  	// An ID for the ingestion.
 13834  	IngestionId *string `min:"1" type:"string"`
 13835  
 13836  	// The Amazon Web Services request ID for this operation.
 13837  	RequestId *string `type:"string"`
 13838  
 13839  	// The HTTP status of the request.
 13840  	Status *int64 `location:"statusCode" type:"integer"`
 13841  }
 13842  
 13843  // String returns the string representation.
 13844  //
 13845  // API parameter values that are decorated as "sensitive" in the API will not
 13846  // be included in the string output. The member name will be present, but the
 13847  // value will be replaced with "sensitive".
 13848  func (s CancelIngestionOutput) String() string {
 13849  	return awsutil.Prettify(s)
 13850  }
 13851  
 13852  // GoString returns the string representation.
 13853  //
 13854  // API parameter values that are decorated as "sensitive" in the API will not
 13855  // be included in the string output. The member name will be present, but the
 13856  // value will be replaced with "sensitive".
 13857  func (s CancelIngestionOutput) GoString() string {
 13858  	return s.String()
 13859  }
 13860  
 13861  // SetArn sets the Arn field's value.
 13862  func (s *CancelIngestionOutput) SetArn(v string) *CancelIngestionOutput {
 13863  	s.Arn = &v
 13864  	return s
 13865  }
 13866  
 13867  // SetIngestionId sets the IngestionId field's value.
 13868  func (s *CancelIngestionOutput) SetIngestionId(v string) *CancelIngestionOutput {
 13869  	s.IngestionId = &v
 13870  	return s
 13871  }
 13872  
 13873  // SetRequestId sets the RequestId field's value.
 13874  func (s *CancelIngestionOutput) SetRequestId(v string) *CancelIngestionOutput {
 13875  	s.RequestId = &v
 13876  	return s
 13877  }
 13878  
 13879  // SetStatus sets the Status field's value.
 13880  func (s *CancelIngestionOutput) SetStatus(v int64) *CancelIngestionOutput {
 13881  	s.Status = &v
 13882  	return s
 13883  }
 13884  
 13885  // A transform operation that casts a column to a different type.
 13886  type CastColumnTypeOperation struct {
 13887  	_ struct{} `type:"structure"`
 13888  
 13889  	// Column name.
 13890  	//
 13891  	// ColumnName is a required field
 13892  	ColumnName *string `min:"1" type:"string" required:"true"`
 13893  
 13894  	// When casting a column from string to datetime type, you can supply a string
 13895  	// in a format supported by Amazon QuickSight to denote the source data format.
 13896  	Format *string `type:"string"`
 13897  
 13898  	// New column data type.
 13899  	//
 13900  	// NewColumnType is a required field
 13901  	NewColumnType *string `type:"string" required:"true" enum:"ColumnDataType"`
 13902  }
 13903  
 13904  // String returns the string representation.
 13905  //
 13906  // API parameter values that are decorated as "sensitive" in the API will not
 13907  // be included in the string output. The member name will be present, but the
 13908  // value will be replaced with "sensitive".
 13909  func (s CastColumnTypeOperation) String() string {
 13910  	return awsutil.Prettify(s)
 13911  }
 13912  
 13913  // GoString returns the string representation.
 13914  //
 13915  // API parameter values that are decorated as "sensitive" in the API will not
 13916  // be included in the string output. The member name will be present, but the
 13917  // value will be replaced with "sensitive".
 13918  func (s CastColumnTypeOperation) GoString() string {
 13919  	return s.String()
 13920  }
 13921  
 13922  // Validate inspects the fields of the type to determine if they are valid.
 13923  func (s *CastColumnTypeOperation) Validate() error {
 13924  	invalidParams := request.ErrInvalidParams{Context: "CastColumnTypeOperation"}
 13925  	if s.ColumnName == nil {
 13926  		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
 13927  	}
 13928  	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
 13929  		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
 13930  	}
 13931  	if s.NewColumnType == nil {
 13932  		invalidParams.Add(request.NewErrParamRequired("NewColumnType"))
 13933  	}
 13934  
 13935  	if invalidParams.Len() > 0 {
 13936  		return invalidParams
 13937  	}
 13938  	return nil
 13939  }
 13940  
 13941  // SetColumnName sets the ColumnName field's value.
 13942  func (s *CastColumnTypeOperation) SetColumnName(v string) *CastColumnTypeOperation {
 13943  	s.ColumnName = &v
 13944  	return s
 13945  }
 13946  
 13947  // SetFormat sets the Format field's value.
 13948  func (s *CastColumnTypeOperation) SetFormat(v string) *CastColumnTypeOperation {
 13949  	s.Format = &v
 13950  	return s
 13951  }
 13952  
 13953  // SetNewColumnType sets the NewColumnType field's value.
 13954  func (s *CastColumnTypeOperation) SetNewColumnType(v string) *CastColumnTypeOperation {
 13955  	s.NewColumnType = &v
 13956  	return s
 13957  }
 13958  
 13959  // Metadata that contains a description for a column.
 13960  type ColumnDescription struct {
 13961  	_ struct{} `type:"structure"`
 13962  
 13963  	// The text of a description for a column.
 13964  	Text *string `type:"string"`
 13965  }
 13966  
 13967  // String returns the string representation.
 13968  //
 13969  // API parameter values that are decorated as "sensitive" in the API will not
 13970  // be included in the string output. The member name will be present, but the
 13971  // value will be replaced with "sensitive".
 13972  func (s ColumnDescription) String() string {
 13973  	return awsutil.Prettify(s)
 13974  }
 13975  
 13976  // GoString returns the string representation.
 13977  //
 13978  // API parameter values that are decorated as "sensitive" in the API will not
 13979  // be included in the string output. The member name will be present, but the
 13980  // value will be replaced with "sensitive".
 13981  func (s ColumnDescription) GoString() string {
 13982  	return s.String()
 13983  }
 13984  
 13985  // SetText sets the Text field's value.
 13986  func (s *ColumnDescription) SetText(v string) *ColumnDescription {
 13987  	s.Text = &v
 13988  	return s
 13989  }
 13990  
 13991  // Groupings of columns that work together in certain Amazon QuickSight features.
 13992  // This is a variant type structure. For this structure to be valid, only one
 13993  // of the attributes can be non-null.
 13994  type ColumnGroup struct {
 13995  	_ struct{} `type:"structure"`
 13996  
 13997  	// Geospatial column group that denotes a hierarchy.
 13998  	GeoSpatialColumnGroup *GeoSpatialColumnGroup `type:"structure"`
 13999  }
 14000  
 14001  // String returns the string representation.
 14002  //
 14003  // API parameter values that are decorated as "sensitive" in the API will not
 14004  // be included in the string output. The member name will be present, but the
 14005  // value will be replaced with "sensitive".
 14006  func (s ColumnGroup) String() string {
 14007  	return awsutil.Prettify(s)
 14008  }
 14009  
 14010  // GoString returns the string representation.
 14011  //
 14012  // API parameter values that are decorated as "sensitive" in the API will not
 14013  // be included in the string output. The member name will be present, but the
 14014  // value will be replaced with "sensitive".
 14015  func (s ColumnGroup) GoString() string {
 14016  	return s.String()
 14017  }
 14018  
 14019  // Validate inspects the fields of the type to determine if they are valid.
 14020  func (s *ColumnGroup) Validate() error {
 14021  	invalidParams := request.ErrInvalidParams{Context: "ColumnGroup"}
 14022  	if s.GeoSpatialColumnGroup != nil {
 14023  		if err := s.GeoSpatialColumnGroup.Validate(); err != nil {
 14024  			invalidParams.AddNested("GeoSpatialColumnGroup", err.(request.ErrInvalidParams))
 14025  		}
 14026  	}
 14027  
 14028  	if invalidParams.Len() > 0 {
 14029  		return invalidParams
 14030  	}
 14031  	return nil
 14032  }
 14033  
 14034  // SetGeoSpatialColumnGroup sets the GeoSpatialColumnGroup field's value.
 14035  func (s *ColumnGroup) SetGeoSpatialColumnGroup(v *GeoSpatialColumnGroup) *ColumnGroup {
 14036  	s.GeoSpatialColumnGroup = v
 14037  	return s
 14038  }
 14039  
 14040  // A structure describing the name, data type, and geographic role of the columns.
 14041  type ColumnGroupColumnSchema struct {
 14042  	_ struct{} `type:"structure"`
 14043  
 14044  	// The name of the column group's column schema.
 14045  	Name *string `type:"string"`
 14046  }
 14047  
 14048  // String returns the string representation.
 14049  //
 14050  // API parameter values that are decorated as "sensitive" in the API will not
 14051  // be included in the string output. The member name will be present, but the
 14052  // value will be replaced with "sensitive".
 14053  func (s ColumnGroupColumnSchema) String() string {
 14054  	return awsutil.Prettify(s)
 14055  }
 14056  
 14057  // GoString returns the string representation.
 14058  //
 14059  // API parameter values that are decorated as "sensitive" in the API will not
 14060  // be included in the string output. The member name will be present, but the
 14061  // value will be replaced with "sensitive".
 14062  func (s ColumnGroupColumnSchema) GoString() string {
 14063  	return s.String()
 14064  }
 14065  
 14066  // SetName sets the Name field's value.
 14067  func (s *ColumnGroupColumnSchema) SetName(v string) *ColumnGroupColumnSchema {
 14068  	s.Name = &v
 14069  	return s
 14070  }
 14071  
 14072  // The column group schema.
 14073  type ColumnGroupSchema struct {
 14074  	_ struct{} `type:"structure"`
 14075  
 14076  	// A structure containing the list of schemas for column group columns.
 14077  	ColumnGroupColumnSchemaList []*ColumnGroupColumnSchema `type:"list"`
 14078  
 14079  	// The name of the column group schema.
 14080  	Name *string `type:"string"`
 14081  }
 14082  
 14083  // String returns the string representation.
 14084  //
 14085  // API parameter values that are decorated as "sensitive" in the API will not
 14086  // be included in the string output. The member name will be present, but the
 14087  // value will be replaced with "sensitive".
 14088  func (s ColumnGroupSchema) String() string {
 14089  	return awsutil.Prettify(s)
 14090  }
 14091  
 14092  // GoString returns the string representation.
 14093  //
 14094  // API parameter values that are decorated as "sensitive" in the API will not
 14095  // be included in the string output. The member name will be present, but the
 14096  // value will be replaced with "sensitive".
 14097  func (s ColumnGroupSchema) GoString() string {
 14098  	return s.String()
 14099  }
 14100  
 14101  // SetColumnGroupColumnSchemaList sets the ColumnGroupColumnSchemaList field's value.
 14102  func (s *ColumnGroupSchema) SetColumnGroupColumnSchemaList(v []*ColumnGroupColumnSchema) *ColumnGroupSchema {
 14103  	s.ColumnGroupColumnSchemaList = v
 14104  	return s
 14105  }
 14106  
 14107  // SetName sets the Name field's value.
 14108  func (s *ColumnGroupSchema) SetName(v string) *ColumnGroupSchema {
 14109  	s.Name = &v
 14110  	return s
 14111  }
 14112  
 14113  // A rule defined to grant access on one or more restricted columns. Each dataset
 14114  // can have multiple rules. To create a restricted column, you add it to one
 14115  // or more rules. Each rule must contain at least one column and at least one
 14116  // user or group. To be able to see a restricted column, a user or group needs
 14117  // to be added to a rule for that column.
 14118  type ColumnLevelPermissionRule struct {
 14119  	_ struct{} `type:"structure"`
 14120  
 14121  	// An array of column names.
 14122  	ColumnNames []*string `min:"1" type:"list"`
 14123  
 14124  	// An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.
 14125  	Principals []*string `min:"1" type:"list"`
 14126  }
 14127  
 14128  // String returns the string representation.
 14129  //
 14130  // API parameter values that are decorated as "sensitive" in the API will not
 14131  // be included in the string output. The member name will be present, but the
 14132  // value will be replaced with "sensitive".
 14133  func (s ColumnLevelPermissionRule) String() string {
 14134  	return awsutil.Prettify(s)
 14135  }
 14136  
 14137  // GoString returns the string representation.
 14138  //
 14139  // API parameter values that are decorated as "sensitive" in the API will not
 14140  // be included in the string output. The member name will be present, but the
 14141  // value will be replaced with "sensitive".
 14142  func (s ColumnLevelPermissionRule) GoString() string {
 14143  	return s.String()
 14144  }
 14145  
 14146  // Validate inspects the fields of the type to determine if they are valid.
 14147  func (s *ColumnLevelPermissionRule) Validate() error {
 14148  	invalidParams := request.ErrInvalidParams{Context: "ColumnLevelPermissionRule"}
 14149  	if s.ColumnNames != nil && len(s.ColumnNames) < 1 {
 14150  		invalidParams.Add(request.NewErrParamMinLen("ColumnNames", 1))
 14151  	}
 14152  	if s.Principals != nil && len(s.Principals) < 1 {
 14153  		invalidParams.Add(request.NewErrParamMinLen("Principals", 1))
 14154  	}
 14155  
 14156  	if invalidParams.Len() > 0 {
 14157  		return invalidParams
 14158  	}
 14159  	return nil
 14160  }
 14161  
 14162  // SetColumnNames sets the ColumnNames field's value.
 14163  func (s *ColumnLevelPermissionRule) SetColumnNames(v []*string) *ColumnLevelPermissionRule {
 14164  	s.ColumnNames = v
 14165  	return s
 14166  }
 14167  
 14168  // SetPrincipals sets the Principals field's value.
 14169  func (s *ColumnLevelPermissionRule) SetPrincipals(v []*string) *ColumnLevelPermissionRule {
 14170  	s.Principals = v
 14171  	return s
 14172  }
 14173  
 14174  // The column schema.
 14175  type ColumnSchema struct {
 14176  	_ struct{} `type:"structure"`
 14177  
 14178  	// The data type of the column schema.
 14179  	DataType *string `type:"string"`
 14180  
 14181  	// The geographic role of the column schema.
 14182  	GeographicRole *string `type:"string"`
 14183  
 14184  	// The name of the column schema.
 14185  	Name *string `type:"string"`
 14186  }
 14187  
 14188  // String returns the string representation.
 14189  //
 14190  // API parameter values that are decorated as "sensitive" in the API will not
 14191  // be included in the string output. The member name will be present, but the
 14192  // value will be replaced with "sensitive".
 14193  func (s ColumnSchema) String() string {
 14194  	return awsutil.Prettify(s)
 14195  }
 14196  
 14197  // GoString returns the string representation.
 14198  //
 14199  // API parameter values that are decorated as "sensitive" in the API will not
 14200  // be included in the string output. The member name will be present, but the
 14201  // value will be replaced with "sensitive".
 14202  func (s ColumnSchema) GoString() string {
 14203  	return s.String()
 14204  }
 14205  
 14206  // SetDataType sets the DataType field's value.
 14207  func (s *ColumnSchema) SetDataType(v string) *ColumnSchema {
 14208  	s.DataType = &v
 14209  	return s
 14210  }
 14211  
 14212  // SetGeographicRole sets the GeographicRole field's value.
 14213  func (s *ColumnSchema) SetGeographicRole(v string) *ColumnSchema {
 14214  	s.GeographicRole = &v
 14215  	return s
 14216  }
 14217  
 14218  // SetName sets the Name field's value.
 14219  func (s *ColumnSchema) SetName(v string) *ColumnSchema {
 14220  	s.Name = &v
 14221  	return s
 14222  }
 14223  
 14224  // A tag for a column in a TagColumnOperation structure. This is a variant type
 14225  // structure. For this structure to be valid, only one of the attributes can
 14226  // be non-null.
 14227  type ColumnTag struct {
 14228  	_ struct{} `type:"structure"`
 14229  
 14230  	// A description for a column.
 14231  	ColumnDescription *ColumnDescription `type:"structure"`
 14232  
 14233  	// A geospatial role for a column.
 14234  	ColumnGeographicRole *string `type:"string" enum:"GeoSpatialDataRole"`
 14235  }
 14236  
 14237  // String returns the string representation.
 14238  //
 14239  // API parameter values that are decorated as "sensitive" in the API will not
 14240  // be included in the string output. The member name will be present, but the
 14241  // value will be replaced with "sensitive".
 14242  func (s ColumnTag) String() string {
 14243  	return awsutil.Prettify(s)
 14244  }
 14245  
 14246  // GoString returns the string representation.
 14247  //
 14248  // API parameter values that are decorated as "sensitive" in the API will not
 14249  // be included in the string output. The member name will be present, but the
 14250  // value will be replaced with "sensitive".
 14251  func (s ColumnTag) GoString() string {
 14252  	return s.String()
 14253  }
 14254  
 14255  // SetColumnDescription sets the ColumnDescription field's value.
 14256  func (s *ColumnTag) SetColumnDescription(v *ColumnDescription) *ColumnTag {
 14257  	s.ColumnDescription = v
 14258  	return s
 14259  }
 14260  
 14261  // SetColumnGeographicRole sets the ColumnGeographicRole field's value.
 14262  func (s *ColumnTag) SetColumnGeographicRole(v string) *ColumnTag {
 14263  	s.ColumnGeographicRole = &v
 14264  	return s
 14265  }
 14266  
 14267  // A resource is already in a state that indicates an operation is happening
 14268  // that must complete before a new update can be applied.
 14269  type ConcurrentUpdatingException struct {
 14270  	_            struct{}                  `type:"structure"`
 14271  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14272  
 14273  	Message_ *string `locationName:"Message" type:"string"`
 14274  
 14275  	RequestId *string `type:"string"`
 14276  }
 14277  
 14278  // String returns the string representation.
 14279  //
 14280  // API parameter values that are decorated as "sensitive" in the API will not
 14281  // be included in the string output. The member name will be present, but the
 14282  // value will be replaced with "sensitive".
 14283  func (s ConcurrentUpdatingException) String() string {
 14284  	return awsutil.Prettify(s)
 14285  }
 14286  
 14287  // GoString returns the string representation.
 14288  //
 14289  // API parameter values that are decorated as "sensitive" in the API will not
 14290  // be included in the string output. The member name will be present, but the
 14291  // value will be replaced with "sensitive".
 14292  func (s ConcurrentUpdatingException) GoString() string {
 14293  	return s.String()
 14294  }
 14295  
 14296  func newErrorConcurrentUpdatingException(v protocol.ResponseMetadata) error {
 14297  	return &ConcurrentUpdatingException{
 14298  		RespMetadata: v,
 14299  	}
 14300  }
 14301  
 14302  // Code returns the exception type name.
 14303  func (s *ConcurrentUpdatingException) Code() string {
 14304  	return "ConcurrentUpdatingException"
 14305  }
 14306  
 14307  // Message returns the exception's message.
 14308  func (s *ConcurrentUpdatingException) Message() string {
 14309  	if s.Message_ != nil {
 14310  		return *s.Message_
 14311  	}
 14312  	return ""
 14313  }
 14314  
 14315  // OrigErr always returns nil, satisfies awserr.Error interface.
 14316  func (s *ConcurrentUpdatingException) OrigErr() error {
 14317  	return nil
 14318  }
 14319  
 14320  func (s *ConcurrentUpdatingException) Error() string {
 14321  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 14322  }
 14323  
 14324  // Status code returns the HTTP status code for the request's response error.
 14325  func (s *ConcurrentUpdatingException) StatusCode() int {
 14326  	return s.RespMetadata.StatusCode
 14327  }
 14328  
 14329  // RequestID returns the service's response RequestID for request.
 14330  func (s *ConcurrentUpdatingException) RequestID() string {
 14331  	return s.RespMetadata.RequestID
 14332  }
 14333  
 14334  // Updating or deleting a resource can cause an inconsistent state.
 14335  type ConflictException struct {
 14336  	_            struct{}                  `type:"structure"`
 14337  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 14338  
 14339  	Message_ *string `locationName:"Message" type:"string"`
 14340  
 14341  	// The Amazon Web Services request ID for this request.
 14342  	RequestId *string `type:"string"`
 14343  }
 14344  
 14345  // String returns the string representation.
 14346  //
 14347  // API parameter values that are decorated as "sensitive" in the API will not
 14348  // be included in the string output. The member name will be present, but the
 14349  // value will be replaced with "sensitive".
 14350  func (s ConflictException) String() string {
 14351  	return awsutil.Prettify(s)
 14352  }
 14353  
 14354  // GoString returns the string representation.
 14355  //
 14356  // API parameter values that are decorated as "sensitive" in the API will not
 14357  // be included in the string output. The member name will be present, but the
 14358  // value will be replaced with "sensitive".
 14359  func (s ConflictException) GoString() string {
 14360  	return s.String()
 14361  }
 14362  
 14363  func newErrorConflictException(v protocol.ResponseMetadata) error {
 14364  	return &ConflictException{
 14365  		RespMetadata: v,
 14366  	}
 14367  }
 14368  
 14369  // Code returns the exception type name.
 14370  func (s *ConflictException) Code() string {
 14371  	return "ConflictException"
 14372  }
 14373  
 14374  // Message returns the exception's message.
 14375  func (s *ConflictException) Message() string {
 14376  	if s.Message_ != nil {
 14377  		return *s.Message_
 14378  	}
 14379  	return ""
 14380  }
 14381  
 14382  // OrigErr always returns nil, satisfies awserr.Error interface.
 14383  func (s *ConflictException) OrigErr() error {
 14384  	return nil
 14385  }
 14386  
 14387  func (s *ConflictException) Error() string {
 14388  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 14389  }
 14390  
 14391  // Status code returns the HTTP status code for the request's response error.
 14392  func (s *ConflictException) StatusCode() int {
 14393  	return s.RespMetadata.StatusCode
 14394  }
 14395  
 14396  // RequestID returns the service's response RequestID for request.
 14397  func (s *ConflictException) RequestID() string {
 14398  	return s.RespMetadata.RequestID
 14399  }
 14400  
 14401  type CreateAccountCustomizationInput struct {
 14402  	_ struct{} `type:"structure"`
 14403  
 14404  	// The Amazon QuickSight customizations you're adding in the current Amazon
 14405  	// Web Services Region;. You can add these to an Amazon Web Services account
 14406  	// and a Amazon QuickSight namespace.
 14407  	//
 14408  	// For example, you can add a default theme by setting AccountCustomization
 14409  	// to the midnight theme: "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT"
 14410  	// }. Or, you can add a custom theme by specifying "AccountCustomization": {
 14411  	// "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639"
 14412  	// }.
 14413  	//
 14414  	// AccountCustomization is a required field
 14415  	AccountCustomization *AccountCustomization `type:"structure" required:"true"`
 14416  
 14417  	// The ID for the Amazon Web Services account that you want to customize Amazon
 14418  	// QuickSight for.
 14419  	//
 14420  	// AwsAccountId is a required field
 14421  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 14422  
 14423  	// The Amazon QuickSight namespace that you want to add customizations to.
 14424  	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
 14425  
 14426  	// A list of the tags that you want to attach to this resource.
 14427  	Tags []*Tag `min:"1" type:"list"`
 14428  }
 14429  
 14430  // String returns the string representation.
 14431  //
 14432  // API parameter values that are decorated as "sensitive" in the API will not
 14433  // be included in the string output. The member name will be present, but the
 14434  // value will be replaced with "sensitive".
 14435  func (s CreateAccountCustomizationInput) String() string {
 14436  	return awsutil.Prettify(s)
 14437  }
 14438  
 14439  // GoString returns the string representation.
 14440  //
 14441  // API parameter values that are decorated as "sensitive" in the API will not
 14442  // be included in the string output. The member name will be present, but the
 14443  // value will be replaced with "sensitive".
 14444  func (s CreateAccountCustomizationInput) GoString() string {
 14445  	return s.String()
 14446  }
 14447  
 14448  // Validate inspects the fields of the type to determine if they are valid.
 14449  func (s *CreateAccountCustomizationInput) Validate() error {
 14450  	invalidParams := request.ErrInvalidParams{Context: "CreateAccountCustomizationInput"}
 14451  	if s.AccountCustomization == nil {
 14452  		invalidParams.Add(request.NewErrParamRequired("AccountCustomization"))
 14453  	}
 14454  	if s.AwsAccountId == nil {
 14455  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 14456  	}
 14457  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 14458  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 14459  	}
 14460  	if s.Tags != nil && len(s.Tags) < 1 {
 14461  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 14462  	}
 14463  	if s.Tags != nil {
 14464  		for i, v := range s.Tags {
 14465  			if v == nil {
 14466  				continue
 14467  			}
 14468  			if err := v.Validate(); err != nil {
 14469  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 14470  			}
 14471  		}
 14472  	}
 14473  
 14474  	if invalidParams.Len() > 0 {
 14475  		return invalidParams
 14476  	}
 14477  	return nil
 14478  }
 14479  
 14480  // SetAccountCustomization sets the AccountCustomization field's value.
 14481  func (s *CreateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationInput {
 14482  	s.AccountCustomization = v
 14483  	return s
 14484  }
 14485  
 14486  // SetAwsAccountId sets the AwsAccountId field's value.
 14487  func (s *CreateAccountCustomizationInput) SetAwsAccountId(v string) *CreateAccountCustomizationInput {
 14488  	s.AwsAccountId = &v
 14489  	return s
 14490  }
 14491  
 14492  // SetNamespace sets the Namespace field's value.
 14493  func (s *CreateAccountCustomizationInput) SetNamespace(v string) *CreateAccountCustomizationInput {
 14494  	s.Namespace = &v
 14495  	return s
 14496  }
 14497  
 14498  // SetTags sets the Tags field's value.
 14499  func (s *CreateAccountCustomizationInput) SetTags(v []*Tag) *CreateAccountCustomizationInput {
 14500  	s.Tags = v
 14501  	return s
 14502  }
 14503  
 14504  type CreateAccountCustomizationOutput struct {
 14505  	_ struct{} `type:"structure"`
 14506  
 14507  	// The Amazon QuickSight customizations you're adding in the current Amazon
 14508  	// Web Services Region;.
 14509  	AccountCustomization *AccountCustomization `type:"structure"`
 14510  
 14511  	// The Amazon Resource Name (ARN) for the customization that you created for
 14512  	// this Amazon Web Services account.
 14513  	Arn *string `type:"string"`
 14514  
 14515  	// The ID for the Amazon Web Services account that you want to customize Amazon
 14516  	// QuickSight for.
 14517  	AwsAccountId *string `min:"12" type:"string"`
 14518  
 14519  	// The namespace associated with the customization you're creating.
 14520  	Namespace *string `type:"string"`
 14521  
 14522  	// The Amazon Web Services request ID for this operation.
 14523  	RequestId *string `type:"string"`
 14524  
 14525  	// The HTTP status of the request.
 14526  	Status *int64 `location:"statusCode" type:"integer"`
 14527  }
 14528  
 14529  // String returns the string representation.
 14530  //
 14531  // API parameter values that are decorated as "sensitive" in the API will not
 14532  // be included in the string output. The member name will be present, but the
 14533  // value will be replaced with "sensitive".
 14534  func (s CreateAccountCustomizationOutput) String() string {
 14535  	return awsutil.Prettify(s)
 14536  }
 14537  
 14538  // GoString returns the string representation.
 14539  //
 14540  // API parameter values that are decorated as "sensitive" in the API will not
 14541  // be included in the string output. The member name will be present, but the
 14542  // value will be replaced with "sensitive".
 14543  func (s CreateAccountCustomizationOutput) GoString() string {
 14544  	return s.String()
 14545  }
 14546  
 14547  // SetAccountCustomization sets the AccountCustomization field's value.
 14548  func (s *CreateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationOutput {
 14549  	s.AccountCustomization = v
 14550  	return s
 14551  }
 14552  
 14553  // SetArn sets the Arn field's value.
 14554  func (s *CreateAccountCustomizationOutput) SetArn(v string) *CreateAccountCustomizationOutput {
 14555  	s.Arn = &v
 14556  	return s
 14557  }
 14558  
 14559  // SetAwsAccountId sets the AwsAccountId field's value.
 14560  func (s *CreateAccountCustomizationOutput) SetAwsAccountId(v string) *CreateAccountCustomizationOutput {
 14561  	s.AwsAccountId = &v
 14562  	return s
 14563  }
 14564  
 14565  // SetNamespace sets the Namespace field's value.
 14566  func (s *CreateAccountCustomizationOutput) SetNamespace(v string) *CreateAccountCustomizationOutput {
 14567  	s.Namespace = &v
 14568  	return s
 14569  }
 14570  
 14571  // SetRequestId sets the RequestId field's value.
 14572  func (s *CreateAccountCustomizationOutput) SetRequestId(v string) *CreateAccountCustomizationOutput {
 14573  	s.RequestId = &v
 14574  	return s
 14575  }
 14576  
 14577  // SetStatus sets the Status field's value.
 14578  func (s *CreateAccountCustomizationOutput) SetStatus(v int64) *CreateAccountCustomizationOutput {
 14579  	s.Status = &v
 14580  	return s
 14581  }
 14582  
 14583  type CreateAnalysisInput struct {
 14584  	_ struct{} `type:"structure"`
 14585  
 14586  	// The ID for the analysis that you're creating. This ID displays in the URL
 14587  	// of the analysis.
 14588  	//
 14589  	// AnalysisId is a required field
 14590  	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
 14591  
 14592  	// The ID of the Amazon Web Services account where you are creating an analysis.
 14593  	//
 14594  	// AwsAccountId is a required field
 14595  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 14596  
 14597  	// A descriptive name for the analysis that you're creating. This name displays
 14598  	// for the analysis in the Amazon QuickSight console.
 14599  	//
 14600  	// Name is a required field
 14601  	Name *string `min:"1" type:"string" required:"true"`
 14602  
 14603  	// The parameter names and override values that you want to use. An analysis
 14604  	// can have any parameter type, and some parameters might accept multiple values.
 14605  	Parameters *Parameters `type:"structure"`
 14606  
 14607  	// A structure that describes the principals and the resource-level permissions
 14608  	// on an analysis. You can use the Permissions structure to grant permissions
 14609  	// by providing a list of Identity and Access Management (IAM) action information
 14610  	// for each principal listed by Amazon Resource Name (ARN).
 14611  	//
 14612  	// To specify no permissions, omit Permissions.
 14613  	Permissions []*ResourcePermission `min:"1" type:"list"`
 14614  
 14615  	// A source entity to use for the analysis that you're creating. This metadata
 14616  	// structure contains details that describe a source template and one or more
 14617  	// datasets.
 14618  	//
 14619  	// SourceEntity is a required field
 14620  	SourceEntity *AnalysisSourceEntity `type:"structure" required:"true"`
 14621  
 14622  	// Contains a map of the key-value pairs for the resource tag or tags assigned
 14623  	// to the analysis.
 14624  	Tags []*Tag `min:"1" type:"list"`
 14625  
 14626  	// The ARN for the theme to apply to the analysis that you're creating. To see
 14627  	// the theme in the Amazon QuickSight console, make sure that you have access
 14628  	// to it.
 14629  	ThemeArn *string `type:"string"`
 14630  }
 14631  
 14632  // String returns the string representation.
 14633  //
 14634  // API parameter values that are decorated as "sensitive" in the API will not
 14635  // be included in the string output. The member name will be present, but the
 14636  // value will be replaced with "sensitive".
 14637  func (s CreateAnalysisInput) String() string {
 14638  	return awsutil.Prettify(s)
 14639  }
 14640  
 14641  // GoString returns the string representation.
 14642  //
 14643  // API parameter values that are decorated as "sensitive" in the API will not
 14644  // be included in the string output. The member name will be present, but the
 14645  // value will be replaced with "sensitive".
 14646  func (s CreateAnalysisInput) GoString() string {
 14647  	return s.String()
 14648  }
 14649  
 14650  // Validate inspects the fields of the type to determine if they are valid.
 14651  func (s *CreateAnalysisInput) Validate() error {
 14652  	invalidParams := request.ErrInvalidParams{Context: "CreateAnalysisInput"}
 14653  	if s.AnalysisId == nil {
 14654  		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
 14655  	}
 14656  	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
 14657  		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
 14658  	}
 14659  	if s.AwsAccountId == nil {
 14660  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 14661  	}
 14662  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 14663  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 14664  	}
 14665  	if s.Name == nil {
 14666  		invalidParams.Add(request.NewErrParamRequired("Name"))
 14667  	}
 14668  	if s.Name != nil && len(*s.Name) < 1 {
 14669  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 14670  	}
 14671  	if s.Permissions != nil && len(s.Permissions) < 1 {
 14672  		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
 14673  	}
 14674  	if s.SourceEntity == nil {
 14675  		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
 14676  	}
 14677  	if s.Tags != nil && len(s.Tags) < 1 {
 14678  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 14679  	}
 14680  	if s.Parameters != nil {
 14681  		if err := s.Parameters.Validate(); err != nil {
 14682  			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
 14683  		}
 14684  	}
 14685  	if s.Permissions != nil {
 14686  		for i, v := range s.Permissions {
 14687  			if v == nil {
 14688  				continue
 14689  			}
 14690  			if err := v.Validate(); err != nil {
 14691  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
 14692  			}
 14693  		}
 14694  	}
 14695  	if s.SourceEntity != nil {
 14696  		if err := s.SourceEntity.Validate(); err != nil {
 14697  			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
 14698  		}
 14699  	}
 14700  	if s.Tags != nil {
 14701  		for i, v := range s.Tags {
 14702  			if v == nil {
 14703  				continue
 14704  			}
 14705  			if err := v.Validate(); err != nil {
 14706  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 14707  			}
 14708  		}
 14709  	}
 14710  
 14711  	if invalidParams.Len() > 0 {
 14712  		return invalidParams
 14713  	}
 14714  	return nil
 14715  }
 14716  
 14717  // SetAnalysisId sets the AnalysisId field's value.
 14718  func (s *CreateAnalysisInput) SetAnalysisId(v string) *CreateAnalysisInput {
 14719  	s.AnalysisId = &v
 14720  	return s
 14721  }
 14722  
 14723  // SetAwsAccountId sets the AwsAccountId field's value.
 14724  func (s *CreateAnalysisInput) SetAwsAccountId(v string) *CreateAnalysisInput {
 14725  	s.AwsAccountId = &v
 14726  	return s
 14727  }
 14728  
 14729  // SetName sets the Name field's value.
 14730  func (s *CreateAnalysisInput) SetName(v string) *CreateAnalysisInput {
 14731  	s.Name = &v
 14732  	return s
 14733  }
 14734  
 14735  // SetParameters sets the Parameters field's value.
 14736  func (s *CreateAnalysisInput) SetParameters(v *Parameters) *CreateAnalysisInput {
 14737  	s.Parameters = v
 14738  	return s
 14739  }
 14740  
 14741  // SetPermissions sets the Permissions field's value.
 14742  func (s *CreateAnalysisInput) SetPermissions(v []*ResourcePermission) *CreateAnalysisInput {
 14743  	s.Permissions = v
 14744  	return s
 14745  }
 14746  
 14747  // SetSourceEntity sets the SourceEntity field's value.
 14748  func (s *CreateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *CreateAnalysisInput {
 14749  	s.SourceEntity = v
 14750  	return s
 14751  }
 14752  
 14753  // SetTags sets the Tags field's value.
 14754  func (s *CreateAnalysisInput) SetTags(v []*Tag) *CreateAnalysisInput {
 14755  	s.Tags = v
 14756  	return s
 14757  }
 14758  
 14759  // SetThemeArn sets the ThemeArn field's value.
 14760  func (s *CreateAnalysisInput) SetThemeArn(v string) *CreateAnalysisInput {
 14761  	s.ThemeArn = &v
 14762  	return s
 14763  }
 14764  
 14765  type CreateAnalysisOutput struct {
 14766  	_ struct{} `type:"structure"`
 14767  
 14768  	// The ID of the analysis.
 14769  	AnalysisId *string `min:"1" type:"string"`
 14770  
 14771  	// The ARN for the analysis.
 14772  	Arn *string `type:"string"`
 14773  
 14774  	// The status of the creation of the analysis.
 14775  	CreationStatus *string `type:"string" enum:"ResourceStatus"`
 14776  
 14777  	// The Amazon Web Services request ID for this operation.
 14778  	RequestId *string `type:"string"`
 14779  
 14780  	// The HTTP status of the request.
 14781  	Status *int64 `location:"statusCode" type:"integer"`
 14782  }
 14783  
 14784  // String returns the string representation.
 14785  //
 14786  // API parameter values that are decorated as "sensitive" in the API will not
 14787  // be included in the string output. The member name will be present, but the
 14788  // value will be replaced with "sensitive".
 14789  func (s CreateAnalysisOutput) String() string {
 14790  	return awsutil.Prettify(s)
 14791  }
 14792  
 14793  // GoString returns the string representation.
 14794  //
 14795  // API parameter values that are decorated as "sensitive" in the API will not
 14796  // be included in the string output. The member name will be present, but the
 14797  // value will be replaced with "sensitive".
 14798  func (s CreateAnalysisOutput) GoString() string {
 14799  	return s.String()
 14800  }
 14801  
 14802  // SetAnalysisId sets the AnalysisId field's value.
 14803  func (s *CreateAnalysisOutput) SetAnalysisId(v string) *CreateAnalysisOutput {
 14804  	s.AnalysisId = &v
 14805  	return s
 14806  }
 14807  
 14808  // SetArn sets the Arn field's value.
 14809  func (s *CreateAnalysisOutput) SetArn(v string) *CreateAnalysisOutput {
 14810  	s.Arn = &v
 14811  	return s
 14812  }
 14813  
 14814  // SetCreationStatus sets the CreationStatus field's value.
 14815  func (s *CreateAnalysisOutput) SetCreationStatus(v string) *CreateAnalysisOutput {
 14816  	s.CreationStatus = &v
 14817  	return s
 14818  }
 14819  
 14820  // SetRequestId sets the RequestId field's value.
 14821  func (s *CreateAnalysisOutput) SetRequestId(v string) *CreateAnalysisOutput {
 14822  	s.RequestId = &v
 14823  	return s
 14824  }
 14825  
 14826  // SetStatus sets the Status field's value.
 14827  func (s *CreateAnalysisOutput) SetStatus(v int64) *CreateAnalysisOutput {
 14828  	s.Status = &v
 14829  	return s
 14830  }
 14831  
 14832  // A transform operation that creates calculated columns. Columns created in
 14833  // one such operation form a lexical closure.
 14834  type CreateColumnsOperation struct {
 14835  	_ struct{} `type:"structure"`
 14836  
 14837  	// Calculated columns to create.
 14838  	//
 14839  	// Columns is a required field
 14840  	Columns []*CalculatedColumn `min:"1" type:"list" required:"true"`
 14841  }
 14842  
 14843  // String returns the string representation.
 14844  //
 14845  // API parameter values that are decorated as "sensitive" in the API will not
 14846  // be included in the string output. The member name will be present, but the
 14847  // value will be replaced with "sensitive".
 14848  func (s CreateColumnsOperation) String() string {
 14849  	return awsutil.Prettify(s)
 14850  }
 14851  
 14852  // GoString returns the string representation.
 14853  //
 14854  // API parameter values that are decorated as "sensitive" in the API will not
 14855  // be included in the string output. The member name will be present, but the
 14856  // value will be replaced with "sensitive".
 14857  func (s CreateColumnsOperation) GoString() string {
 14858  	return s.String()
 14859  }
 14860  
 14861  // Validate inspects the fields of the type to determine if they are valid.
 14862  func (s *CreateColumnsOperation) Validate() error {
 14863  	invalidParams := request.ErrInvalidParams{Context: "CreateColumnsOperation"}
 14864  	if s.Columns == nil {
 14865  		invalidParams.Add(request.NewErrParamRequired("Columns"))
 14866  	}
 14867  	if s.Columns != nil && len(s.Columns) < 1 {
 14868  		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
 14869  	}
 14870  	if s.Columns != nil {
 14871  		for i, v := range s.Columns {
 14872  			if v == nil {
 14873  				continue
 14874  			}
 14875  			if err := v.Validate(); err != nil {
 14876  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
 14877  			}
 14878  		}
 14879  	}
 14880  
 14881  	if invalidParams.Len() > 0 {
 14882  		return invalidParams
 14883  	}
 14884  	return nil
 14885  }
 14886  
 14887  // SetColumns sets the Columns field's value.
 14888  func (s *CreateColumnsOperation) SetColumns(v []*CalculatedColumn) *CreateColumnsOperation {
 14889  	s.Columns = v
 14890  	return s
 14891  }
 14892  
 14893  type CreateDashboardInput struct {
 14894  	_ struct{} `type:"structure"`
 14895  
 14896  	// The ID of the Amazon Web Services account where you want to create the dashboard.
 14897  	//
 14898  	// AwsAccountId is a required field
 14899  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 14900  
 14901  	// The ID for the dashboard, also added to the IAMpolicy.
 14902  	//
 14903  	// DashboardId is a required field
 14904  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 14905  
 14906  	// Options for publishing the dashboard when you create it:
 14907  	//
 14908  	//    * AvailabilityStatus for AdHocFilteringOption - This status can be either
 14909  	//    ENABLED or DISABLED. When this is set to DISABLED, Amazon QuickSight disables
 14910  	//    the left filter pane on the published dashboard, which can be used for
 14911  	//    ad hoc (one-time) filtering. This option is ENABLED by default.
 14912  	//
 14913  	//    * AvailabilityStatus for ExportToCSVOption - This status can be either
 14914  	//    ENABLED or DISABLED. The visual option to export data to .CSV format isn't
 14915  	//    enabled when this is set to DISABLED. This option is ENABLED by default.
 14916  	//
 14917  	//    * VisibilityState for SheetControlsOption - This visibility state can
 14918  	//    be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.
 14919  	DashboardPublishOptions *DashboardPublishOptions `type:"structure"`
 14920  
 14921  	// The display name of the dashboard.
 14922  	//
 14923  	// Name is a required field
 14924  	Name *string `min:"1" type:"string" required:"true"`
 14925  
 14926  	// The parameters for the creation of the dashboard, which you want to use to
 14927  	// override the default settings. A dashboard can have any type of parameters,
 14928  	// and some parameters might accept multiple values.
 14929  	Parameters *Parameters `type:"structure"`
 14930  
 14931  	// A structure that contains the permissions of the dashboard. You can use this
 14932  	// structure for granting permissions by providing a list of IAMaction information
 14933  	// for each principal ARN.
 14934  	//
 14935  	// To specify no permissions, omit the permissions list.
 14936  	Permissions []*ResourcePermission `min:"1" type:"list"`
 14937  
 14938  	// The entity that you are using as a source when you create the dashboard.
 14939  	// In SourceEntity, you specify the type of object you're using as source. You
 14940  	// can only create a dashboard from a template, so you use a SourceTemplate
 14941  	// entity. If you need to create a dashboard from an analysis, first convert
 14942  	// the analysis to a template by using the CreateTemplate API operation. For
 14943  	// SourceTemplate, specify the Amazon Resource Name (ARN) of the source template.
 14944  	// The SourceTemplateARN can contain any Amazon Web Services account and any
 14945  	// Amazon QuickSight-supported Amazon Web Services Region;.
 14946  	//
 14947  	// Use the DataSetReferences entity within SourceTemplate to list the replacement
 14948  	// datasets for the placeholders listed in the original. The schema in each
 14949  	// dataset must match its placeholder.
 14950  	//
 14951  	// SourceEntity is a required field
 14952  	SourceEntity *DashboardSourceEntity `type:"structure" required:"true"`
 14953  
 14954  	// Contains a map of the key-value pairs for the resource tag or tags assigned
 14955  	// to the dashboard.
 14956  	Tags []*Tag `min:"1" type:"list"`
 14957  
 14958  	// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
 14959  	// If you add a value for this field, it overrides the value that is used in
 14960  	// the source entity. The theme ARN must exist in the same Amazon Web Services
 14961  	// account where you create the dashboard.
 14962  	ThemeArn *string `type:"string"`
 14963  
 14964  	// A description for the first version of the dashboard being created.
 14965  	VersionDescription *string `min:"1" type:"string"`
 14966  }
 14967  
 14968  // String returns the string representation.
 14969  //
 14970  // API parameter values that are decorated as "sensitive" in the API will not
 14971  // be included in the string output. The member name will be present, but the
 14972  // value will be replaced with "sensitive".
 14973  func (s CreateDashboardInput) String() string {
 14974  	return awsutil.Prettify(s)
 14975  }
 14976  
 14977  // GoString returns the string representation.
 14978  //
 14979  // API parameter values that are decorated as "sensitive" in the API will not
 14980  // be included in the string output. The member name will be present, but the
 14981  // value will be replaced with "sensitive".
 14982  func (s CreateDashboardInput) GoString() string {
 14983  	return s.String()
 14984  }
 14985  
 14986  // Validate inspects the fields of the type to determine if they are valid.
 14987  func (s *CreateDashboardInput) Validate() error {
 14988  	invalidParams := request.ErrInvalidParams{Context: "CreateDashboardInput"}
 14989  	if s.AwsAccountId == nil {
 14990  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 14991  	}
 14992  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 14993  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 14994  	}
 14995  	if s.DashboardId == nil {
 14996  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 14997  	}
 14998  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 14999  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 15000  	}
 15001  	if s.Name == nil {
 15002  		invalidParams.Add(request.NewErrParamRequired("Name"))
 15003  	}
 15004  	if s.Name != nil && len(*s.Name) < 1 {
 15005  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 15006  	}
 15007  	if s.Permissions != nil && len(s.Permissions) < 1 {
 15008  		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
 15009  	}
 15010  	if s.SourceEntity == nil {
 15011  		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
 15012  	}
 15013  	if s.Tags != nil && len(s.Tags) < 1 {
 15014  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 15015  	}
 15016  	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
 15017  		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
 15018  	}
 15019  	if s.Parameters != nil {
 15020  		if err := s.Parameters.Validate(); err != nil {
 15021  			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
 15022  		}
 15023  	}
 15024  	if s.Permissions != nil {
 15025  		for i, v := range s.Permissions {
 15026  			if v == nil {
 15027  				continue
 15028  			}
 15029  			if err := v.Validate(); err != nil {
 15030  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
 15031  			}
 15032  		}
 15033  	}
 15034  	if s.SourceEntity != nil {
 15035  		if err := s.SourceEntity.Validate(); err != nil {
 15036  			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
 15037  		}
 15038  	}
 15039  	if s.Tags != nil {
 15040  		for i, v := range s.Tags {
 15041  			if v == nil {
 15042  				continue
 15043  			}
 15044  			if err := v.Validate(); err != nil {
 15045  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 15046  			}
 15047  		}
 15048  	}
 15049  
 15050  	if invalidParams.Len() > 0 {
 15051  		return invalidParams
 15052  	}
 15053  	return nil
 15054  }
 15055  
 15056  // SetAwsAccountId sets the AwsAccountId field's value.
 15057  func (s *CreateDashboardInput) SetAwsAccountId(v string) *CreateDashboardInput {
 15058  	s.AwsAccountId = &v
 15059  	return s
 15060  }
 15061  
 15062  // SetDashboardId sets the DashboardId field's value.
 15063  func (s *CreateDashboardInput) SetDashboardId(v string) *CreateDashboardInput {
 15064  	s.DashboardId = &v
 15065  	return s
 15066  }
 15067  
 15068  // SetDashboardPublishOptions sets the DashboardPublishOptions field's value.
 15069  func (s *CreateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *CreateDashboardInput {
 15070  	s.DashboardPublishOptions = v
 15071  	return s
 15072  }
 15073  
 15074  // SetName sets the Name field's value.
 15075  func (s *CreateDashboardInput) SetName(v string) *CreateDashboardInput {
 15076  	s.Name = &v
 15077  	return s
 15078  }
 15079  
 15080  // SetParameters sets the Parameters field's value.
 15081  func (s *CreateDashboardInput) SetParameters(v *Parameters) *CreateDashboardInput {
 15082  	s.Parameters = v
 15083  	return s
 15084  }
 15085  
 15086  // SetPermissions sets the Permissions field's value.
 15087  func (s *CreateDashboardInput) SetPermissions(v []*ResourcePermission) *CreateDashboardInput {
 15088  	s.Permissions = v
 15089  	return s
 15090  }
 15091  
 15092  // SetSourceEntity sets the SourceEntity field's value.
 15093  func (s *CreateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *CreateDashboardInput {
 15094  	s.SourceEntity = v
 15095  	return s
 15096  }
 15097  
 15098  // SetTags sets the Tags field's value.
 15099  func (s *CreateDashboardInput) SetTags(v []*Tag) *CreateDashboardInput {
 15100  	s.Tags = v
 15101  	return s
 15102  }
 15103  
 15104  // SetThemeArn sets the ThemeArn field's value.
 15105  func (s *CreateDashboardInput) SetThemeArn(v string) *CreateDashboardInput {
 15106  	s.ThemeArn = &v
 15107  	return s
 15108  }
 15109  
 15110  // SetVersionDescription sets the VersionDescription field's value.
 15111  func (s *CreateDashboardInput) SetVersionDescription(v string) *CreateDashboardInput {
 15112  	s.VersionDescription = &v
 15113  	return s
 15114  }
 15115  
 15116  type CreateDashboardOutput struct {
 15117  	_ struct{} `type:"structure"`
 15118  
 15119  	// The ARN of the dashboard.
 15120  	Arn *string `type:"string"`
 15121  
 15122  	// The status of the dashboard creation request.
 15123  	CreationStatus *string `type:"string" enum:"ResourceStatus"`
 15124  
 15125  	// The ID for the dashboard.
 15126  	DashboardId *string `min:"1" type:"string"`
 15127  
 15128  	// The Amazon Web Services request ID for this operation.
 15129  	RequestId *string `type:"string"`
 15130  
 15131  	// The HTTP status of the request.
 15132  	Status *int64 `location:"statusCode" type:"integer"`
 15133  
 15134  	// The ARN of the dashboard, including the version number of the first version
 15135  	// that is created.
 15136  	VersionArn *string `type:"string"`
 15137  }
 15138  
 15139  // String returns the string representation.
 15140  //
 15141  // API parameter values that are decorated as "sensitive" in the API will not
 15142  // be included in the string output. The member name will be present, but the
 15143  // value will be replaced with "sensitive".
 15144  func (s CreateDashboardOutput) String() string {
 15145  	return awsutil.Prettify(s)
 15146  }
 15147  
 15148  // GoString returns the string representation.
 15149  //
 15150  // API parameter values that are decorated as "sensitive" in the API will not
 15151  // be included in the string output. The member name will be present, but the
 15152  // value will be replaced with "sensitive".
 15153  func (s CreateDashboardOutput) GoString() string {
 15154  	return s.String()
 15155  }
 15156  
 15157  // SetArn sets the Arn field's value.
 15158  func (s *CreateDashboardOutput) SetArn(v string) *CreateDashboardOutput {
 15159  	s.Arn = &v
 15160  	return s
 15161  }
 15162  
 15163  // SetCreationStatus sets the CreationStatus field's value.
 15164  func (s *CreateDashboardOutput) SetCreationStatus(v string) *CreateDashboardOutput {
 15165  	s.CreationStatus = &v
 15166  	return s
 15167  }
 15168  
 15169  // SetDashboardId sets the DashboardId field's value.
 15170  func (s *CreateDashboardOutput) SetDashboardId(v string) *CreateDashboardOutput {
 15171  	s.DashboardId = &v
 15172  	return s
 15173  }
 15174  
 15175  // SetRequestId sets the RequestId field's value.
 15176  func (s *CreateDashboardOutput) SetRequestId(v string) *CreateDashboardOutput {
 15177  	s.RequestId = &v
 15178  	return s
 15179  }
 15180  
 15181  // SetStatus sets the Status field's value.
 15182  func (s *CreateDashboardOutput) SetStatus(v int64) *CreateDashboardOutput {
 15183  	s.Status = &v
 15184  	return s
 15185  }
 15186  
 15187  // SetVersionArn sets the VersionArn field's value.
 15188  func (s *CreateDashboardOutput) SetVersionArn(v string) *CreateDashboardOutput {
 15189  	s.VersionArn = &v
 15190  	return s
 15191  }
 15192  
 15193  type CreateDataSetInput struct {
 15194  	_ struct{} `type:"structure"`
 15195  
 15196  	// The Amazon Web Services account ID.
 15197  	//
 15198  	// AwsAccountId is a required field
 15199  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 15200  
 15201  	// Groupings of columns that work together in certain Amazon QuickSight features.
 15202  	// Currently, only geospatial hierarchy is supported.
 15203  	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
 15204  
 15205  	// A set of one or more definitions of a ColumnLevelPermissionRule .
 15206  	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
 15207  
 15208  	// An ID for the dataset that you want to create. This ID is unique per Amazon
 15209  	// Web Services Region; for each Amazon Web Services account.
 15210  	//
 15211  	// DataSetId is a required field
 15212  	DataSetId *string `type:"string" required:"true"`
 15213  
 15214  	// The usage configuration to apply to child datasets that reference this dataset
 15215  	// as a source.
 15216  	DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"`
 15217  
 15218  	// The folder that contains fields and nested subfolders for your dataset.
 15219  	FieldFolders map[string]*FieldFolder `type:"map"`
 15220  
 15221  	// Indicates whether you want to import the data into SPICE.
 15222  	//
 15223  	// ImportMode is a required field
 15224  	ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"`
 15225  
 15226  	// Configures the combination and transformation of the data from the physical
 15227  	// tables.
 15228  	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
 15229  
 15230  	// The display name for the dataset.
 15231  	//
 15232  	// Name is a required field
 15233  	Name *string `min:"1" type:"string" required:"true"`
 15234  
 15235  	// A list of resource permissions on the dataset.
 15236  	Permissions []*ResourcePermission `min:"1" type:"list"`
 15237  
 15238  	// Declares the physical tables that are available in the underlying data sources.
 15239  	//
 15240  	// PhysicalTableMap is a required field
 15241  	PhysicalTableMap map[string]*PhysicalTable `type:"map" required:"true"`
 15242  
 15243  	// The row-level security configuration for the data that you want to create.
 15244  	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
 15245  
 15246  	// The configuration of tags on a dataset to set row-level security. Row-level
 15247  	// security tags are currently supported for anonymous embedding only.
 15248  	RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"`
 15249  
 15250  	// Contains a map of the key-value pairs for the resource tag or tags assigned
 15251  	// to the dataset.
 15252  	Tags []*Tag `min:"1" type:"list"`
 15253  }
 15254  
 15255  // String returns the string representation.
 15256  //
 15257  // API parameter values that are decorated as "sensitive" in the API will not
 15258  // be included in the string output. The member name will be present, but the
 15259  // value will be replaced with "sensitive".
 15260  func (s CreateDataSetInput) String() string {
 15261  	return awsutil.Prettify(s)
 15262  }
 15263  
 15264  // GoString returns the string representation.
 15265  //
 15266  // API parameter values that are decorated as "sensitive" in the API will not
 15267  // be included in the string output. The member name will be present, but the
 15268  // value will be replaced with "sensitive".
 15269  func (s CreateDataSetInput) GoString() string {
 15270  	return s.String()
 15271  }
 15272  
 15273  // Validate inspects the fields of the type to determine if they are valid.
 15274  func (s *CreateDataSetInput) Validate() error {
 15275  	invalidParams := request.ErrInvalidParams{Context: "CreateDataSetInput"}
 15276  	if s.AwsAccountId == nil {
 15277  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 15278  	}
 15279  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 15280  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 15281  	}
 15282  	if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 {
 15283  		invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1))
 15284  	}
 15285  	if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 {
 15286  		invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1))
 15287  	}
 15288  	if s.DataSetId == nil {
 15289  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 15290  	}
 15291  	if s.ImportMode == nil {
 15292  		invalidParams.Add(request.NewErrParamRequired("ImportMode"))
 15293  	}
 15294  	if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 {
 15295  		invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1))
 15296  	}
 15297  	if s.Name == nil {
 15298  		invalidParams.Add(request.NewErrParamRequired("Name"))
 15299  	}
 15300  	if s.Name != nil && len(*s.Name) < 1 {
 15301  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 15302  	}
 15303  	if s.Permissions != nil && len(s.Permissions) < 1 {
 15304  		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
 15305  	}
 15306  	if s.PhysicalTableMap == nil {
 15307  		invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap"))
 15308  	}
 15309  	if s.Tags != nil && len(s.Tags) < 1 {
 15310  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 15311  	}
 15312  	if s.ColumnGroups != nil {
 15313  		for i, v := range s.ColumnGroups {
 15314  			if v == nil {
 15315  				continue
 15316  			}
 15317  			if err := v.Validate(); err != nil {
 15318  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams))
 15319  			}
 15320  		}
 15321  	}
 15322  	if s.ColumnLevelPermissionRules != nil {
 15323  		for i, v := range s.ColumnLevelPermissionRules {
 15324  			if v == nil {
 15325  				continue
 15326  			}
 15327  			if err := v.Validate(); err != nil {
 15328  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams))
 15329  			}
 15330  		}
 15331  	}
 15332  	if s.LogicalTableMap != nil {
 15333  		for i, v := range s.LogicalTableMap {
 15334  			if v == nil {
 15335  				continue
 15336  			}
 15337  			if err := v.Validate(); err != nil {
 15338  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams))
 15339  			}
 15340  		}
 15341  	}
 15342  	if s.Permissions != nil {
 15343  		for i, v := range s.Permissions {
 15344  			if v == nil {
 15345  				continue
 15346  			}
 15347  			if err := v.Validate(); err != nil {
 15348  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
 15349  			}
 15350  		}
 15351  	}
 15352  	if s.PhysicalTableMap != nil {
 15353  		for i, v := range s.PhysicalTableMap {
 15354  			if v == nil {
 15355  				continue
 15356  			}
 15357  			if err := v.Validate(); err != nil {
 15358  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams))
 15359  			}
 15360  		}
 15361  	}
 15362  	if s.RowLevelPermissionDataSet != nil {
 15363  		if err := s.RowLevelPermissionDataSet.Validate(); err != nil {
 15364  			invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams))
 15365  		}
 15366  	}
 15367  	if s.RowLevelPermissionTagConfiguration != nil {
 15368  		if err := s.RowLevelPermissionTagConfiguration.Validate(); err != nil {
 15369  			invalidParams.AddNested("RowLevelPermissionTagConfiguration", err.(request.ErrInvalidParams))
 15370  		}
 15371  	}
 15372  	if s.Tags != nil {
 15373  		for i, v := range s.Tags {
 15374  			if v == nil {
 15375  				continue
 15376  			}
 15377  			if err := v.Validate(); err != nil {
 15378  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 15379  			}
 15380  		}
 15381  	}
 15382  
 15383  	if invalidParams.Len() > 0 {
 15384  		return invalidParams
 15385  	}
 15386  	return nil
 15387  }
 15388  
 15389  // SetAwsAccountId sets the AwsAccountId field's value.
 15390  func (s *CreateDataSetInput) SetAwsAccountId(v string) *CreateDataSetInput {
 15391  	s.AwsAccountId = &v
 15392  	return s
 15393  }
 15394  
 15395  // SetColumnGroups sets the ColumnGroups field's value.
 15396  func (s *CreateDataSetInput) SetColumnGroups(v []*ColumnGroup) *CreateDataSetInput {
 15397  	s.ColumnGroups = v
 15398  	return s
 15399  }
 15400  
 15401  // SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
 15402  func (s *CreateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *CreateDataSetInput {
 15403  	s.ColumnLevelPermissionRules = v
 15404  	return s
 15405  }
 15406  
 15407  // SetDataSetId sets the DataSetId field's value.
 15408  func (s *CreateDataSetInput) SetDataSetId(v string) *CreateDataSetInput {
 15409  	s.DataSetId = &v
 15410  	return s
 15411  }
 15412  
 15413  // SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value.
 15414  func (s *CreateDataSetInput) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *CreateDataSetInput {
 15415  	s.DataSetUsageConfiguration = v
 15416  	return s
 15417  }
 15418  
 15419  // SetFieldFolders sets the FieldFolders field's value.
 15420  func (s *CreateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *CreateDataSetInput {
 15421  	s.FieldFolders = v
 15422  	return s
 15423  }
 15424  
 15425  // SetImportMode sets the ImportMode field's value.
 15426  func (s *CreateDataSetInput) SetImportMode(v string) *CreateDataSetInput {
 15427  	s.ImportMode = &v
 15428  	return s
 15429  }
 15430  
 15431  // SetLogicalTableMap sets the LogicalTableMap field's value.
 15432  func (s *CreateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *CreateDataSetInput {
 15433  	s.LogicalTableMap = v
 15434  	return s
 15435  }
 15436  
 15437  // SetName sets the Name field's value.
 15438  func (s *CreateDataSetInput) SetName(v string) *CreateDataSetInput {
 15439  	s.Name = &v
 15440  	return s
 15441  }
 15442  
 15443  // SetPermissions sets the Permissions field's value.
 15444  func (s *CreateDataSetInput) SetPermissions(v []*ResourcePermission) *CreateDataSetInput {
 15445  	s.Permissions = v
 15446  	return s
 15447  }
 15448  
 15449  // SetPhysicalTableMap sets the PhysicalTableMap field's value.
 15450  func (s *CreateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *CreateDataSetInput {
 15451  	s.PhysicalTableMap = v
 15452  	return s
 15453  }
 15454  
 15455  // SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
 15456  func (s *CreateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *CreateDataSetInput {
 15457  	s.RowLevelPermissionDataSet = v
 15458  	return s
 15459  }
 15460  
 15461  // SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value.
 15462  func (s *CreateDataSetInput) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *CreateDataSetInput {
 15463  	s.RowLevelPermissionTagConfiguration = v
 15464  	return s
 15465  }
 15466  
 15467  // SetTags sets the Tags field's value.
 15468  func (s *CreateDataSetInput) SetTags(v []*Tag) *CreateDataSetInput {
 15469  	s.Tags = v
 15470  	return s
 15471  }
 15472  
 15473  type CreateDataSetOutput struct {
 15474  	_ struct{} `type:"structure"`
 15475  
 15476  	// The Amazon Resource Name (ARN) of the dataset.
 15477  	Arn *string `type:"string"`
 15478  
 15479  	// The ID for the dataset that you want to create. This ID is unique per Amazon
 15480  	// Web Services Region; for each Amazon Web Services account.
 15481  	DataSetId *string `type:"string"`
 15482  
 15483  	// The ARN for the ingestion, which is triggered as a result of dataset creation
 15484  	// if the import mode is SPICE.
 15485  	IngestionArn *string `type:"string"`
 15486  
 15487  	// The ID of the ingestion, which is triggered as a result of dataset creation
 15488  	// if the import mode is SPICE.
 15489  	IngestionId *string `type:"string"`
 15490  
 15491  	// The Amazon Web Services request ID for this operation.
 15492  	RequestId *string `type:"string"`
 15493  
 15494  	// The HTTP status of the request.
 15495  	Status *int64 `location:"statusCode" type:"integer"`
 15496  }
 15497  
 15498  // String returns the string representation.
 15499  //
 15500  // API parameter values that are decorated as "sensitive" in the API will not
 15501  // be included in the string output. The member name will be present, but the
 15502  // value will be replaced with "sensitive".
 15503  func (s CreateDataSetOutput) String() string {
 15504  	return awsutil.Prettify(s)
 15505  }
 15506  
 15507  // GoString returns the string representation.
 15508  //
 15509  // API parameter values that are decorated as "sensitive" in the API will not
 15510  // be included in the string output. The member name will be present, but the
 15511  // value will be replaced with "sensitive".
 15512  func (s CreateDataSetOutput) GoString() string {
 15513  	return s.String()
 15514  }
 15515  
 15516  // SetArn sets the Arn field's value.
 15517  func (s *CreateDataSetOutput) SetArn(v string) *CreateDataSetOutput {
 15518  	s.Arn = &v
 15519  	return s
 15520  }
 15521  
 15522  // SetDataSetId sets the DataSetId field's value.
 15523  func (s *CreateDataSetOutput) SetDataSetId(v string) *CreateDataSetOutput {
 15524  	s.DataSetId = &v
 15525  	return s
 15526  }
 15527  
 15528  // SetIngestionArn sets the IngestionArn field's value.
 15529  func (s *CreateDataSetOutput) SetIngestionArn(v string) *CreateDataSetOutput {
 15530  	s.IngestionArn = &v
 15531  	return s
 15532  }
 15533  
 15534  // SetIngestionId sets the IngestionId field's value.
 15535  func (s *CreateDataSetOutput) SetIngestionId(v string) *CreateDataSetOutput {
 15536  	s.IngestionId = &v
 15537  	return s
 15538  }
 15539  
 15540  // SetRequestId sets the RequestId field's value.
 15541  func (s *CreateDataSetOutput) SetRequestId(v string) *CreateDataSetOutput {
 15542  	s.RequestId = &v
 15543  	return s
 15544  }
 15545  
 15546  // SetStatus sets the Status field's value.
 15547  func (s *CreateDataSetOutput) SetStatus(v int64) *CreateDataSetOutput {
 15548  	s.Status = &v
 15549  	return s
 15550  }
 15551  
 15552  type CreateDataSourceInput struct {
 15553  	_ struct{} `type:"structure"`
 15554  
 15555  	// The Amazon Web Services account ID.
 15556  	//
 15557  	// AwsAccountId is a required field
 15558  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 15559  
 15560  	// The credentials Amazon QuickSight that uses to connect to your underlying
 15561  	// source. Currently, only credentials based on user name and password are supported.
 15562  	//
 15563  	// Credentials is a sensitive parameter and its value will be
 15564  	// replaced with "sensitive" in string returned by CreateDataSourceInput's
 15565  	// String and GoString methods.
 15566  	Credentials *DataSourceCredentials `type:"structure" sensitive:"true"`
 15567  
 15568  	// An ID for the data source. This ID is unique per Amazon Web Services Region;
 15569  	// for each Amazon Web Services account.
 15570  	//
 15571  	// DataSourceId is a required field
 15572  	DataSourceId *string `type:"string" required:"true"`
 15573  
 15574  	// The parameters that Amazon QuickSight uses to connect to your underlying
 15575  	// source.
 15576  	DataSourceParameters *DataSourceParameters `type:"structure"`
 15577  
 15578  	// A display name for the data source.
 15579  	//
 15580  	// Name is a required field
 15581  	Name *string `min:"1" type:"string" required:"true"`
 15582  
 15583  	// A list of resource permissions on the data source.
 15584  	Permissions []*ResourcePermission `min:"1" type:"list"`
 15585  
 15586  	// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects
 15587  	// to your underlying source.
 15588  	SslProperties *SslProperties `type:"structure"`
 15589  
 15590  	// Contains a map of the key-value pairs for the resource tag or tags assigned
 15591  	// to the data source.
 15592  	Tags []*Tag `min:"1" type:"list"`
 15593  
 15594  	// The type of the data source. To return a list of all data sources, use ListDataSources.
 15595  	//
 15596  	// Use AMAZON_ELASTICSEARCH for Amazon Elasticsearch Service.
 15597  	//
 15598  	// Type is a required field
 15599  	Type *string `type:"string" required:"true" enum:"DataSourceType"`
 15600  
 15601  	// Use this parameter only when you want Amazon QuickSight to use a VPC connection
 15602  	// when connecting to your underlying source.
 15603  	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
 15604  }
 15605  
 15606  // String returns the string representation.
 15607  //
 15608  // API parameter values that are decorated as "sensitive" in the API will not
 15609  // be included in the string output. The member name will be present, but the
 15610  // value will be replaced with "sensitive".
 15611  func (s CreateDataSourceInput) String() string {
 15612  	return awsutil.Prettify(s)
 15613  }
 15614  
 15615  // GoString returns the string representation.
 15616  //
 15617  // API parameter values that are decorated as "sensitive" in the API will not
 15618  // be included in the string output. The member name will be present, but the
 15619  // value will be replaced with "sensitive".
 15620  func (s CreateDataSourceInput) GoString() string {
 15621  	return s.String()
 15622  }
 15623  
 15624  // Validate inspects the fields of the type to determine if they are valid.
 15625  func (s *CreateDataSourceInput) Validate() error {
 15626  	invalidParams := request.ErrInvalidParams{Context: "CreateDataSourceInput"}
 15627  	if s.AwsAccountId == nil {
 15628  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 15629  	}
 15630  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 15631  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 15632  	}
 15633  	if s.DataSourceId == nil {
 15634  		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
 15635  	}
 15636  	if s.Name == nil {
 15637  		invalidParams.Add(request.NewErrParamRequired("Name"))
 15638  	}
 15639  	if s.Name != nil && len(*s.Name) < 1 {
 15640  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 15641  	}
 15642  	if s.Permissions != nil && len(s.Permissions) < 1 {
 15643  		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
 15644  	}
 15645  	if s.Tags != nil && len(s.Tags) < 1 {
 15646  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 15647  	}
 15648  	if s.Type == nil {
 15649  		invalidParams.Add(request.NewErrParamRequired("Type"))
 15650  	}
 15651  	if s.Credentials != nil {
 15652  		if err := s.Credentials.Validate(); err != nil {
 15653  			invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams))
 15654  		}
 15655  	}
 15656  	if s.DataSourceParameters != nil {
 15657  		if err := s.DataSourceParameters.Validate(); err != nil {
 15658  			invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams))
 15659  		}
 15660  	}
 15661  	if s.Permissions != nil {
 15662  		for i, v := range s.Permissions {
 15663  			if v == nil {
 15664  				continue
 15665  			}
 15666  			if err := v.Validate(); err != nil {
 15667  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
 15668  			}
 15669  		}
 15670  	}
 15671  	if s.Tags != nil {
 15672  		for i, v := range s.Tags {
 15673  			if v == nil {
 15674  				continue
 15675  			}
 15676  			if err := v.Validate(); err != nil {
 15677  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 15678  			}
 15679  		}
 15680  	}
 15681  	if s.VpcConnectionProperties != nil {
 15682  		if err := s.VpcConnectionProperties.Validate(); err != nil {
 15683  			invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams))
 15684  		}
 15685  	}
 15686  
 15687  	if invalidParams.Len() > 0 {
 15688  		return invalidParams
 15689  	}
 15690  	return nil
 15691  }
 15692  
 15693  // SetAwsAccountId sets the AwsAccountId field's value.
 15694  func (s *CreateDataSourceInput) SetAwsAccountId(v string) *CreateDataSourceInput {
 15695  	s.AwsAccountId = &v
 15696  	return s
 15697  }
 15698  
 15699  // SetCredentials sets the Credentials field's value.
 15700  func (s *CreateDataSourceInput) SetCredentials(v *DataSourceCredentials) *CreateDataSourceInput {
 15701  	s.Credentials = v
 15702  	return s
 15703  }
 15704  
 15705  // SetDataSourceId sets the DataSourceId field's value.
 15706  func (s *CreateDataSourceInput) SetDataSourceId(v string) *CreateDataSourceInput {
 15707  	s.DataSourceId = &v
 15708  	return s
 15709  }
 15710  
 15711  // SetDataSourceParameters sets the DataSourceParameters field's value.
 15712  func (s *CreateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *CreateDataSourceInput {
 15713  	s.DataSourceParameters = v
 15714  	return s
 15715  }
 15716  
 15717  // SetName sets the Name field's value.
 15718  func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput {
 15719  	s.Name = &v
 15720  	return s
 15721  }
 15722  
 15723  // SetPermissions sets the Permissions field's value.
 15724  func (s *CreateDataSourceInput) SetPermissions(v []*ResourcePermission) *CreateDataSourceInput {
 15725  	s.Permissions = v
 15726  	return s
 15727  }
 15728  
 15729  // SetSslProperties sets the SslProperties field's value.
 15730  func (s *CreateDataSourceInput) SetSslProperties(v *SslProperties) *CreateDataSourceInput {
 15731  	s.SslProperties = v
 15732  	return s
 15733  }
 15734  
 15735  // SetTags sets the Tags field's value.
 15736  func (s *CreateDataSourceInput) SetTags(v []*Tag) *CreateDataSourceInput {
 15737  	s.Tags = v
 15738  	return s
 15739  }
 15740  
 15741  // SetType sets the Type field's value.
 15742  func (s *CreateDataSourceInput) SetType(v string) *CreateDataSourceInput {
 15743  	s.Type = &v
 15744  	return s
 15745  }
 15746  
 15747  // SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
 15748  func (s *CreateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *CreateDataSourceInput {
 15749  	s.VpcConnectionProperties = v
 15750  	return s
 15751  }
 15752  
 15753  type CreateDataSourceOutput struct {
 15754  	_ struct{} `type:"structure"`
 15755  
 15756  	// The Amazon Resource Name (ARN) of the data source.
 15757  	Arn *string `type:"string"`
 15758  
 15759  	// The status of creating the data source.
 15760  	CreationStatus *string `type:"string" enum:"ResourceStatus"`
 15761  
 15762  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 15763  	// for each Amazon Web Services account.
 15764  	DataSourceId *string `type:"string"`
 15765  
 15766  	// The Amazon Web Services request ID for this operation.
 15767  	RequestId *string `type:"string"`
 15768  
 15769  	// The HTTP status of the request.
 15770  	Status *int64 `location:"statusCode" type:"integer"`
 15771  }
 15772  
 15773  // String returns the string representation.
 15774  //
 15775  // API parameter values that are decorated as "sensitive" in the API will not
 15776  // be included in the string output. The member name will be present, but the
 15777  // value will be replaced with "sensitive".
 15778  func (s CreateDataSourceOutput) String() string {
 15779  	return awsutil.Prettify(s)
 15780  }
 15781  
 15782  // GoString returns the string representation.
 15783  //
 15784  // API parameter values that are decorated as "sensitive" in the API will not
 15785  // be included in the string output. The member name will be present, but the
 15786  // value will be replaced with "sensitive".
 15787  func (s CreateDataSourceOutput) GoString() string {
 15788  	return s.String()
 15789  }
 15790  
 15791  // SetArn sets the Arn field's value.
 15792  func (s *CreateDataSourceOutput) SetArn(v string) *CreateDataSourceOutput {
 15793  	s.Arn = &v
 15794  	return s
 15795  }
 15796  
 15797  // SetCreationStatus sets the CreationStatus field's value.
 15798  func (s *CreateDataSourceOutput) SetCreationStatus(v string) *CreateDataSourceOutput {
 15799  	s.CreationStatus = &v
 15800  	return s
 15801  }
 15802  
 15803  // SetDataSourceId sets the DataSourceId field's value.
 15804  func (s *CreateDataSourceOutput) SetDataSourceId(v string) *CreateDataSourceOutput {
 15805  	s.DataSourceId = &v
 15806  	return s
 15807  }
 15808  
 15809  // SetRequestId sets the RequestId field's value.
 15810  func (s *CreateDataSourceOutput) SetRequestId(v string) *CreateDataSourceOutput {
 15811  	s.RequestId = &v
 15812  	return s
 15813  }
 15814  
 15815  // SetStatus sets the Status field's value.
 15816  func (s *CreateDataSourceOutput) SetStatus(v int64) *CreateDataSourceOutput {
 15817  	s.Status = &v
 15818  	return s
 15819  }
 15820  
 15821  type CreateFolderInput struct {
 15822  	_ struct{} `type:"structure"`
 15823  
 15824  	// The AWS Account ID.
 15825  	//
 15826  	// AwsAccountId is a required field
 15827  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 15828  
 15829  	// The folder ID.
 15830  	//
 15831  	// FolderId is a required field
 15832  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 15833  
 15834  	// The type of folder. By default, folderType is SHARED.
 15835  	FolderType *string `type:"string" enum:"FolderType"`
 15836  
 15837  	// The name of the folder.
 15838  	Name *string `min:"1" type:"string"`
 15839  
 15840  	// The Amazon Resource Name (ARN) for the parent folder.
 15841  	//
 15842  	// ParentFolderArn can be null. An empty parentFolderArn creates a root-level
 15843  	// folder.
 15844  	ParentFolderArn *string `type:"string"`
 15845  
 15846  	// A structure that describes the principals and the resource-level permissions
 15847  	// of a folder.
 15848  	//
 15849  	// To specify no permissions, omit Permissions.
 15850  	Permissions []*ResourcePermission `min:"1" type:"list"`
 15851  
 15852  	// Tags for the folder.
 15853  	Tags []*Tag `min:"1" type:"list"`
 15854  }
 15855  
 15856  // String returns the string representation.
 15857  //
 15858  // API parameter values that are decorated as "sensitive" in the API will not
 15859  // be included in the string output. The member name will be present, but the
 15860  // value will be replaced with "sensitive".
 15861  func (s CreateFolderInput) String() string {
 15862  	return awsutil.Prettify(s)
 15863  }
 15864  
 15865  // GoString returns the string representation.
 15866  //
 15867  // API parameter values that are decorated as "sensitive" in the API will not
 15868  // be included in the string output. The member name will be present, but the
 15869  // value will be replaced with "sensitive".
 15870  func (s CreateFolderInput) GoString() string {
 15871  	return s.String()
 15872  }
 15873  
 15874  // Validate inspects the fields of the type to determine if they are valid.
 15875  func (s *CreateFolderInput) Validate() error {
 15876  	invalidParams := request.ErrInvalidParams{Context: "CreateFolderInput"}
 15877  	if s.AwsAccountId == nil {
 15878  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 15879  	}
 15880  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 15881  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 15882  	}
 15883  	if s.FolderId == nil {
 15884  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 15885  	}
 15886  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 15887  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 15888  	}
 15889  	if s.Name != nil && len(*s.Name) < 1 {
 15890  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 15891  	}
 15892  	if s.Permissions != nil && len(s.Permissions) < 1 {
 15893  		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
 15894  	}
 15895  	if s.Tags != nil && len(s.Tags) < 1 {
 15896  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 15897  	}
 15898  	if s.Permissions != nil {
 15899  		for i, v := range s.Permissions {
 15900  			if v == nil {
 15901  				continue
 15902  			}
 15903  			if err := v.Validate(); err != nil {
 15904  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
 15905  			}
 15906  		}
 15907  	}
 15908  	if s.Tags != nil {
 15909  		for i, v := range s.Tags {
 15910  			if v == nil {
 15911  				continue
 15912  			}
 15913  			if err := v.Validate(); err != nil {
 15914  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 15915  			}
 15916  		}
 15917  	}
 15918  
 15919  	if invalidParams.Len() > 0 {
 15920  		return invalidParams
 15921  	}
 15922  	return nil
 15923  }
 15924  
 15925  // SetAwsAccountId sets the AwsAccountId field's value.
 15926  func (s *CreateFolderInput) SetAwsAccountId(v string) *CreateFolderInput {
 15927  	s.AwsAccountId = &v
 15928  	return s
 15929  }
 15930  
 15931  // SetFolderId sets the FolderId field's value.
 15932  func (s *CreateFolderInput) SetFolderId(v string) *CreateFolderInput {
 15933  	s.FolderId = &v
 15934  	return s
 15935  }
 15936  
 15937  // SetFolderType sets the FolderType field's value.
 15938  func (s *CreateFolderInput) SetFolderType(v string) *CreateFolderInput {
 15939  	s.FolderType = &v
 15940  	return s
 15941  }
 15942  
 15943  // SetName sets the Name field's value.
 15944  func (s *CreateFolderInput) SetName(v string) *CreateFolderInput {
 15945  	s.Name = &v
 15946  	return s
 15947  }
 15948  
 15949  // SetParentFolderArn sets the ParentFolderArn field's value.
 15950  func (s *CreateFolderInput) SetParentFolderArn(v string) *CreateFolderInput {
 15951  	s.ParentFolderArn = &v
 15952  	return s
 15953  }
 15954  
 15955  // SetPermissions sets the Permissions field's value.
 15956  func (s *CreateFolderInput) SetPermissions(v []*ResourcePermission) *CreateFolderInput {
 15957  	s.Permissions = v
 15958  	return s
 15959  }
 15960  
 15961  // SetTags sets the Tags field's value.
 15962  func (s *CreateFolderInput) SetTags(v []*Tag) *CreateFolderInput {
 15963  	s.Tags = v
 15964  	return s
 15965  }
 15966  
 15967  type CreateFolderMembershipInput struct {
 15968  	_ struct{} `type:"structure" nopayload:"true"`
 15969  
 15970  	// The AWS Account ID.
 15971  	//
 15972  	// AwsAccountId is a required field
 15973  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 15974  
 15975  	// The folder ID.
 15976  	//
 15977  	// FolderId is a required field
 15978  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 15979  
 15980  	// The ID of the asset (the dashboard, analysis, or dataset).
 15981  	//
 15982  	// MemberId is a required field
 15983  	MemberId *string `location:"uri" locationName:"MemberId" min:"1" type:"string" required:"true"`
 15984  
 15985  	// The type of the member, including DASHBOARD, ANALYSIS, and DATASET.
 15986  	//
 15987  	// MemberType is a required field
 15988  	MemberType *string `location:"uri" locationName:"MemberType" type:"string" required:"true" enum:"MemberType"`
 15989  }
 15990  
 15991  // String returns the string representation.
 15992  //
 15993  // API parameter values that are decorated as "sensitive" in the API will not
 15994  // be included in the string output. The member name will be present, but the
 15995  // value will be replaced with "sensitive".
 15996  func (s CreateFolderMembershipInput) String() string {
 15997  	return awsutil.Prettify(s)
 15998  }
 15999  
 16000  // GoString returns the string representation.
 16001  //
 16002  // API parameter values that are decorated as "sensitive" in the API will not
 16003  // be included in the string output. The member name will be present, but the
 16004  // value will be replaced with "sensitive".
 16005  func (s CreateFolderMembershipInput) GoString() string {
 16006  	return s.String()
 16007  }
 16008  
 16009  // Validate inspects the fields of the type to determine if they are valid.
 16010  func (s *CreateFolderMembershipInput) Validate() error {
 16011  	invalidParams := request.ErrInvalidParams{Context: "CreateFolderMembershipInput"}
 16012  	if s.AwsAccountId == nil {
 16013  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 16014  	}
 16015  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 16016  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 16017  	}
 16018  	if s.FolderId == nil {
 16019  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 16020  	}
 16021  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 16022  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 16023  	}
 16024  	if s.MemberId == nil {
 16025  		invalidParams.Add(request.NewErrParamRequired("MemberId"))
 16026  	}
 16027  	if s.MemberId != nil && len(*s.MemberId) < 1 {
 16028  		invalidParams.Add(request.NewErrParamMinLen("MemberId", 1))
 16029  	}
 16030  	if s.MemberType == nil {
 16031  		invalidParams.Add(request.NewErrParamRequired("MemberType"))
 16032  	}
 16033  	if s.MemberType != nil && len(*s.MemberType) < 1 {
 16034  		invalidParams.Add(request.NewErrParamMinLen("MemberType", 1))
 16035  	}
 16036  
 16037  	if invalidParams.Len() > 0 {
 16038  		return invalidParams
 16039  	}
 16040  	return nil
 16041  }
 16042  
 16043  // SetAwsAccountId sets the AwsAccountId field's value.
 16044  func (s *CreateFolderMembershipInput) SetAwsAccountId(v string) *CreateFolderMembershipInput {
 16045  	s.AwsAccountId = &v
 16046  	return s
 16047  }
 16048  
 16049  // SetFolderId sets the FolderId field's value.
 16050  func (s *CreateFolderMembershipInput) SetFolderId(v string) *CreateFolderMembershipInput {
 16051  	s.FolderId = &v
 16052  	return s
 16053  }
 16054  
 16055  // SetMemberId sets the MemberId field's value.
 16056  func (s *CreateFolderMembershipInput) SetMemberId(v string) *CreateFolderMembershipInput {
 16057  	s.MemberId = &v
 16058  	return s
 16059  }
 16060  
 16061  // SetMemberType sets the MemberType field's value.
 16062  func (s *CreateFolderMembershipInput) SetMemberType(v string) *CreateFolderMembershipInput {
 16063  	s.MemberType = &v
 16064  	return s
 16065  }
 16066  
 16067  type CreateFolderMembershipOutput struct {
 16068  	_ struct{} `type:"structure"`
 16069  
 16070  	// Information about the member in the folder.
 16071  	FolderMember *FolderMember `type:"structure"`
 16072  
 16073  	// The request ID.
 16074  	RequestId *string `type:"string"`
 16075  
 16076  	// The status of the folder membership. If succeeded, the status is SC_OK (200).
 16077  	Status *int64 `type:"integer"`
 16078  }
 16079  
 16080  // String returns the string representation.
 16081  //
 16082  // API parameter values that are decorated as "sensitive" in the API will not
 16083  // be included in the string output. The member name will be present, but the
 16084  // value will be replaced with "sensitive".
 16085  func (s CreateFolderMembershipOutput) String() string {
 16086  	return awsutil.Prettify(s)
 16087  }
 16088  
 16089  // GoString returns the string representation.
 16090  //
 16091  // API parameter values that are decorated as "sensitive" in the API will not
 16092  // be included in the string output. The member name will be present, but the
 16093  // value will be replaced with "sensitive".
 16094  func (s CreateFolderMembershipOutput) GoString() string {
 16095  	return s.String()
 16096  }
 16097  
 16098  // SetFolderMember sets the FolderMember field's value.
 16099  func (s *CreateFolderMembershipOutput) SetFolderMember(v *FolderMember) *CreateFolderMembershipOutput {
 16100  	s.FolderMember = v
 16101  	return s
 16102  }
 16103  
 16104  // SetRequestId sets the RequestId field's value.
 16105  func (s *CreateFolderMembershipOutput) SetRequestId(v string) *CreateFolderMembershipOutput {
 16106  	s.RequestId = &v
 16107  	return s
 16108  }
 16109  
 16110  // SetStatus sets the Status field's value.
 16111  func (s *CreateFolderMembershipOutput) SetStatus(v int64) *CreateFolderMembershipOutput {
 16112  	s.Status = &v
 16113  	return s
 16114  }
 16115  
 16116  type CreateFolderOutput struct {
 16117  	_ struct{} `type:"structure"`
 16118  
 16119  	// The Amazon Resource Name (ARN) for the newly created folder.
 16120  	Arn *string `type:"string"`
 16121  
 16122  	// The folder ID for the newly created folder.
 16123  	FolderId *string `min:"1" type:"string"`
 16124  
 16125  	// The request ID for the newly created folder.
 16126  	RequestId *string `type:"string"`
 16127  
 16128  	// The status of the newly created folder. If succeeded, the status is SC_OK
 16129  	// (200).
 16130  	Status *int64 `location:"statusCode" type:"integer"`
 16131  }
 16132  
 16133  // String returns the string representation.
 16134  //
 16135  // API parameter values that are decorated as "sensitive" in the API will not
 16136  // be included in the string output. The member name will be present, but the
 16137  // value will be replaced with "sensitive".
 16138  func (s CreateFolderOutput) String() string {
 16139  	return awsutil.Prettify(s)
 16140  }
 16141  
 16142  // GoString returns the string representation.
 16143  //
 16144  // API parameter values that are decorated as "sensitive" in the API will not
 16145  // be included in the string output. The member name will be present, but the
 16146  // value will be replaced with "sensitive".
 16147  func (s CreateFolderOutput) GoString() string {
 16148  	return s.String()
 16149  }
 16150  
 16151  // SetArn sets the Arn field's value.
 16152  func (s *CreateFolderOutput) SetArn(v string) *CreateFolderOutput {
 16153  	s.Arn = &v
 16154  	return s
 16155  }
 16156  
 16157  // SetFolderId sets the FolderId field's value.
 16158  func (s *CreateFolderOutput) SetFolderId(v string) *CreateFolderOutput {
 16159  	s.FolderId = &v
 16160  	return s
 16161  }
 16162  
 16163  // SetRequestId sets the RequestId field's value.
 16164  func (s *CreateFolderOutput) SetRequestId(v string) *CreateFolderOutput {
 16165  	s.RequestId = &v
 16166  	return s
 16167  }
 16168  
 16169  // SetStatus sets the Status field's value.
 16170  func (s *CreateFolderOutput) SetStatus(v int64) *CreateFolderOutput {
 16171  	s.Status = &v
 16172  	return s
 16173  }
 16174  
 16175  // The request object for this operation.
 16176  type CreateGroupInput struct {
 16177  	_ struct{} `type:"structure"`
 16178  
 16179  	// The ID for the Amazon Web Services account that the group is in. Currently,
 16180  	// you use the ID for the Amazon Web Services account that contains your Amazon
 16181  	// QuickSight account.
 16182  	//
 16183  	// AwsAccountId is a required field
 16184  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 16185  
 16186  	// A description for the group that you want to create.
 16187  	Description *string `min:"1" type:"string"`
 16188  
 16189  	// A name for the group that you want to create.
 16190  	//
 16191  	// GroupName is a required field
 16192  	GroupName *string `min:"1" type:"string" required:"true"`
 16193  
 16194  	// The namespace. Currently, you should set this to default.
 16195  	//
 16196  	// Namespace is a required field
 16197  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 16198  }
 16199  
 16200  // String returns the string representation.
 16201  //
 16202  // API parameter values that are decorated as "sensitive" in the API will not
 16203  // be included in the string output. The member name will be present, but the
 16204  // value will be replaced with "sensitive".
 16205  func (s CreateGroupInput) String() string {
 16206  	return awsutil.Prettify(s)
 16207  }
 16208  
 16209  // GoString returns the string representation.
 16210  //
 16211  // API parameter values that are decorated as "sensitive" in the API will not
 16212  // be included in the string output. The member name will be present, but the
 16213  // value will be replaced with "sensitive".
 16214  func (s CreateGroupInput) GoString() string {
 16215  	return s.String()
 16216  }
 16217  
 16218  // Validate inspects the fields of the type to determine if they are valid.
 16219  func (s *CreateGroupInput) Validate() error {
 16220  	invalidParams := request.ErrInvalidParams{Context: "CreateGroupInput"}
 16221  	if s.AwsAccountId == nil {
 16222  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 16223  	}
 16224  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 16225  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 16226  	}
 16227  	if s.Description != nil && len(*s.Description) < 1 {
 16228  		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
 16229  	}
 16230  	if s.GroupName == nil {
 16231  		invalidParams.Add(request.NewErrParamRequired("GroupName"))
 16232  	}
 16233  	if s.GroupName != nil && len(*s.GroupName) < 1 {
 16234  		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
 16235  	}
 16236  	if s.Namespace == nil {
 16237  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 16238  	}
 16239  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 16240  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 16241  	}
 16242  
 16243  	if invalidParams.Len() > 0 {
 16244  		return invalidParams
 16245  	}
 16246  	return nil
 16247  }
 16248  
 16249  // SetAwsAccountId sets the AwsAccountId field's value.
 16250  func (s *CreateGroupInput) SetAwsAccountId(v string) *CreateGroupInput {
 16251  	s.AwsAccountId = &v
 16252  	return s
 16253  }
 16254  
 16255  // SetDescription sets the Description field's value.
 16256  func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput {
 16257  	s.Description = &v
 16258  	return s
 16259  }
 16260  
 16261  // SetGroupName sets the GroupName field's value.
 16262  func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput {
 16263  	s.GroupName = &v
 16264  	return s
 16265  }
 16266  
 16267  // SetNamespace sets the Namespace field's value.
 16268  func (s *CreateGroupInput) SetNamespace(v string) *CreateGroupInput {
 16269  	s.Namespace = &v
 16270  	return s
 16271  }
 16272  
 16273  type CreateGroupMembershipInput struct {
 16274  	_ struct{} `type:"structure" nopayload:"true"`
 16275  
 16276  	// The ID for the Amazon Web Services account that the group is in. Currently,
 16277  	// you use the ID for the Amazon Web Services account that contains your Amazon
 16278  	// QuickSight account.
 16279  	//
 16280  	// AwsAccountId is a required field
 16281  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 16282  
 16283  	// The name of the group that you want to add the user to.
 16284  	//
 16285  	// GroupName is a required field
 16286  	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
 16287  
 16288  	// The name of the user that you want to add to the group membership.
 16289  	//
 16290  	// MemberName is a required field
 16291  	MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
 16292  
 16293  	// The namespace. Currently, you should set this to default.
 16294  	//
 16295  	// Namespace is a required field
 16296  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 16297  }
 16298  
 16299  // String returns the string representation.
 16300  //
 16301  // API parameter values that are decorated as "sensitive" in the API will not
 16302  // be included in the string output. The member name will be present, but the
 16303  // value will be replaced with "sensitive".
 16304  func (s CreateGroupMembershipInput) String() string {
 16305  	return awsutil.Prettify(s)
 16306  }
 16307  
 16308  // GoString returns the string representation.
 16309  //
 16310  // API parameter values that are decorated as "sensitive" in the API will not
 16311  // be included in the string output. The member name will be present, but the
 16312  // value will be replaced with "sensitive".
 16313  func (s CreateGroupMembershipInput) GoString() string {
 16314  	return s.String()
 16315  }
 16316  
 16317  // Validate inspects the fields of the type to determine if they are valid.
 16318  func (s *CreateGroupMembershipInput) Validate() error {
 16319  	invalidParams := request.ErrInvalidParams{Context: "CreateGroupMembershipInput"}
 16320  	if s.AwsAccountId == nil {
 16321  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 16322  	}
 16323  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 16324  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 16325  	}
 16326  	if s.GroupName == nil {
 16327  		invalidParams.Add(request.NewErrParamRequired("GroupName"))
 16328  	}
 16329  	if s.GroupName != nil && len(*s.GroupName) < 1 {
 16330  		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
 16331  	}
 16332  	if s.MemberName == nil {
 16333  		invalidParams.Add(request.NewErrParamRequired("MemberName"))
 16334  	}
 16335  	if s.MemberName != nil && len(*s.MemberName) < 1 {
 16336  		invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
 16337  	}
 16338  	if s.Namespace == nil {
 16339  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 16340  	}
 16341  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 16342  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 16343  	}
 16344  
 16345  	if invalidParams.Len() > 0 {
 16346  		return invalidParams
 16347  	}
 16348  	return nil
 16349  }
 16350  
 16351  // SetAwsAccountId sets the AwsAccountId field's value.
 16352  func (s *CreateGroupMembershipInput) SetAwsAccountId(v string) *CreateGroupMembershipInput {
 16353  	s.AwsAccountId = &v
 16354  	return s
 16355  }
 16356  
 16357  // SetGroupName sets the GroupName field's value.
 16358  func (s *CreateGroupMembershipInput) SetGroupName(v string) *CreateGroupMembershipInput {
 16359  	s.GroupName = &v
 16360  	return s
 16361  }
 16362  
 16363  // SetMemberName sets the MemberName field's value.
 16364  func (s *CreateGroupMembershipInput) SetMemberName(v string) *CreateGroupMembershipInput {
 16365  	s.MemberName = &v
 16366  	return s
 16367  }
 16368  
 16369  // SetNamespace sets the Namespace field's value.
 16370  func (s *CreateGroupMembershipInput) SetNamespace(v string) *CreateGroupMembershipInput {
 16371  	s.Namespace = &v
 16372  	return s
 16373  }
 16374  
 16375  type CreateGroupMembershipOutput struct {
 16376  	_ struct{} `type:"structure"`
 16377  
 16378  	// The group member.
 16379  	GroupMember *GroupMember `type:"structure"`
 16380  
 16381  	// The Amazon Web Services request ID for this operation.
 16382  	RequestId *string `type:"string"`
 16383  
 16384  	// The HTTP status of the request.
 16385  	Status *int64 `location:"statusCode" type:"integer"`
 16386  }
 16387  
 16388  // String returns the string representation.
 16389  //
 16390  // API parameter values that are decorated as "sensitive" in the API will not
 16391  // be included in the string output. The member name will be present, but the
 16392  // value will be replaced with "sensitive".
 16393  func (s CreateGroupMembershipOutput) String() string {
 16394  	return awsutil.Prettify(s)
 16395  }
 16396  
 16397  // GoString returns the string representation.
 16398  //
 16399  // API parameter values that are decorated as "sensitive" in the API will not
 16400  // be included in the string output. The member name will be present, but the
 16401  // value will be replaced with "sensitive".
 16402  func (s CreateGroupMembershipOutput) GoString() string {
 16403  	return s.String()
 16404  }
 16405  
 16406  // SetGroupMember sets the GroupMember field's value.
 16407  func (s *CreateGroupMembershipOutput) SetGroupMember(v *GroupMember) *CreateGroupMembershipOutput {
 16408  	s.GroupMember = v
 16409  	return s
 16410  }
 16411  
 16412  // SetRequestId sets the RequestId field's value.
 16413  func (s *CreateGroupMembershipOutput) SetRequestId(v string) *CreateGroupMembershipOutput {
 16414  	s.RequestId = &v
 16415  	return s
 16416  }
 16417  
 16418  // SetStatus sets the Status field's value.
 16419  func (s *CreateGroupMembershipOutput) SetStatus(v int64) *CreateGroupMembershipOutput {
 16420  	s.Status = &v
 16421  	return s
 16422  }
 16423  
 16424  // The response object for this operation.
 16425  type CreateGroupOutput struct {
 16426  	_ struct{} `type:"structure"`
 16427  
 16428  	// The name of the group.
 16429  	Group *Group `type:"structure"`
 16430  
 16431  	// The Amazon Web Services request ID for this operation.
 16432  	RequestId *string `type:"string"`
 16433  
 16434  	// The HTTP status of the request.
 16435  	Status *int64 `location:"statusCode" type:"integer"`
 16436  }
 16437  
 16438  // String returns the string representation.
 16439  //
 16440  // API parameter values that are decorated as "sensitive" in the API will not
 16441  // be included in the string output. The member name will be present, but the
 16442  // value will be replaced with "sensitive".
 16443  func (s CreateGroupOutput) String() string {
 16444  	return awsutil.Prettify(s)
 16445  }
 16446  
 16447  // GoString returns the string representation.
 16448  //
 16449  // API parameter values that are decorated as "sensitive" in the API will not
 16450  // be included in the string output. The member name will be present, but the
 16451  // value will be replaced with "sensitive".
 16452  func (s CreateGroupOutput) GoString() string {
 16453  	return s.String()
 16454  }
 16455  
 16456  // SetGroup sets the Group field's value.
 16457  func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput {
 16458  	s.Group = v
 16459  	return s
 16460  }
 16461  
 16462  // SetRequestId sets the RequestId field's value.
 16463  func (s *CreateGroupOutput) SetRequestId(v string) *CreateGroupOutput {
 16464  	s.RequestId = &v
 16465  	return s
 16466  }
 16467  
 16468  // SetStatus sets the Status field's value.
 16469  func (s *CreateGroupOutput) SetStatus(v int64) *CreateGroupOutput {
 16470  	s.Status = &v
 16471  	return s
 16472  }
 16473  
 16474  type CreateIAMPolicyAssignmentInput struct {
 16475  	_ struct{} `type:"structure"`
 16476  
 16477  	// The name of the assignment, also called a rule. It must be unique within
 16478  	// an Amazon Web Services account.
 16479  	//
 16480  	// AssignmentName is a required field
 16481  	AssignmentName *string `min:"1" type:"string" required:"true"`
 16482  
 16483  	// The status of the assignment. Possible values are as follows:
 16484  	//
 16485  	//    * ENABLED - Anything specified in this assignment is used when creating
 16486  	//    the data source.
 16487  	//
 16488  	//    * DISABLED - This assignment isn't used when creating the data source.
 16489  	//
 16490  	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
 16491  	//    the data source.
 16492  	//
 16493  	// AssignmentStatus is a required field
 16494  	AssignmentStatus *string `type:"string" required:"true" enum:"AssignmentStatus"`
 16495  
 16496  	// The ID of the Amazon Web Services account where you want to assign an IAMpolicy
 16497  	// to Amazon QuickSight users or groups.
 16498  	//
 16499  	// AwsAccountId is a required field
 16500  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 16501  
 16502  	// The Amazon QuickSight users, groups, or both that you want to assign the
 16503  	// policy to.
 16504  	Identities map[string][]*string `type:"map"`
 16505  
 16506  	// The namespace that contains the assignment.
 16507  	//
 16508  	// Namespace is a required field
 16509  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 16510  
 16511  	// The ARN for the IAMpolicy to apply to the Amazon QuickSight users and groups
 16512  	// specified in this assignment.
 16513  	PolicyArn *string `type:"string"`
 16514  }
 16515  
 16516  // String returns the string representation.
 16517  //
 16518  // API parameter values that are decorated as "sensitive" in the API will not
 16519  // be included in the string output. The member name will be present, but the
 16520  // value will be replaced with "sensitive".
 16521  func (s CreateIAMPolicyAssignmentInput) String() string {
 16522  	return awsutil.Prettify(s)
 16523  }
 16524  
 16525  // GoString returns the string representation.
 16526  //
 16527  // API parameter values that are decorated as "sensitive" in the API will not
 16528  // be included in the string output. The member name will be present, but the
 16529  // value will be replaced with "sensitive".
 16530  func (s CreateIAMPolicyAssignmentInput) GoString() string {
 16531  	return s.String()
 16532  }
 16533  
 16534  // Validate inspects the fields of the type to determine if they are valid.
 16535  func (s *CreateIAMPolicyAssignmentInput) Validate() error {
 16536  	invalidParams := request.ErrInvalidParams{Context: "CreateIAMPolicyAssignmentInput"}
 16537  	if s.AssignmentName == nil {
 16538  		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
 16539  	}
 16540  	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
 16541  		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
 16542  	}
 16543  	if s.AssignmentStatus == nil {
 16544  		invalidParams.Add(request.NewErrParamRequired("AssignmentStatus"))
 16545  	}
 16546  	if s.AwsAccountId == nil {
 16547  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 16548  	}
 16549  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 16550  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 16551  	}
 16552  	if s.Namespace == nil {
 16553  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 16554  	}
 16555  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 16556  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 16557  	}
 16558  
 16559  	if invalidParams.Len() > 0 {
 16560  		return invalidParams
 16561  	}
 16562  	return nil
 16563  }
 16564  
 16565  // SetAssignmentName sets the AssignmentName field's value.
 16566  func (s *CreateIAMPolicyAssignmentInput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentInput {
 16567  	s.AssignmentName = &v
 16568  	return s
 16569  }
 16570  
 16571  // SetAssignmentStatus sets the AssignmentStatus field's value.
 16572  func (s *CreateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentInput {
 16573  	s.AssignmentStatus = &v
 16574  	return s
 16575  }
 16576  
 16577  // SetAwsAccountId sets the AwsAccountId field's value.
 16578  func (s *CreateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *CreateIAMPolicyAssignmentInput {
 16579  	s.AwsAccountId = &v
 16580  	return s
 16581  }
 16582  
 16583  // SetIdentities sets the Identities field's value.
 16584  func (s *CreateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentInput {
 16585  	s.Identities = v
 16586  	return s
 16587  }
 16588  
 16589  // SetNamespace sets the Namespace field's value.
 16590  func (s *CreateIAMPolicyAssignmentInput) SetNamespace(v string) *CreateIAMPolicyAssignmentInput {
 16591  	s.Namespace = &v
 16592  	return s
 16593  }
 16594  
 16595  // SetPolicyArn sets the PolicyArn field's value.
 16596  func (s *CreateIAMPolicyAssignmentInput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentInput {
 16597  	s.PolicyArn = &v
 16598  	return s
 16599  }
 16600  
 16601  type CreateIAMPolicyAssignmentOutput struct {
 16602  	_ struct{} `type:"structure"`
 16603  
 16604  	// The ID for the assignment.
 16605  	AssignmentId *string `type:"string"`
 16606  
 16607  	// The name of the assignment. This name must be unique within the Amazon Web
 16608  	// Services account.
 16609  	AssignmentName *string `min:"1" type:"string"`
 16610  
 16611  	// The status of the assignment. Possible values are as follows:
 16612  	//
 16613  	//    * ENABLED - Anything specified in this assignment is used when creating
 16614  	//    the data source.
 16615  	//
 16616  	//    * DISABLED - This assignment isn't used when creating the data source.
 16617  	//
 16618  	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
 16619  	//    the data source.
 16620  	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
 16621  
 16622  	// The Amazon QuickSight users, groups, or both that the IAMpolicy is assigned
 16623  	// to.
 16624  	Identities map[string][]*string `type:"map"`
 16625  
 16626  	// The ARN for the IAMpolicy that is applied to the Amazon QuickSight users
 16627  	// and groups specified in this assignment.
 16628  	PolicyArn *string `type:"string"`
 16629  
 16630  	// The Amazon Web Services request ID for this operation.
 16631  	RequestId *string `type:"string"`
 16632  
 16633  	// The HTTP status of the request.
 16634  	Status *int64 `location:"statusCode" type:"integer"`
 16635  }
 16636  
 16637  // String returns the string representation.
 16638  //
 16639  // API parameter values that are decorated as "sensitive" in the API will not
 16640  // be included in the string output. The member name will be present, but the
 16641  // value will be replaced with "sensitive".
 16642  func (s CreateIAMPolicyAssignmentOutput) String() string {
 16643  	return awsutil.Prettify(s)
 16644  }
 16645  
 16646  // GoString returns the string representation.
 16647  //
 16648  // API parameter values that are decorated as "sensitive" in the API will not
 16649  // be included in the string output. The member name will be present, but the
 16650  // value will be replaced with "sensitive".
 16651  func (s CreateIAMPolicyAssignmentOutput) GoString() string {
 16652  	return s.String()
 16653  }
 16654  
 16655  // SetAssignmentId sets the AssignmentId field's value.
 16656  func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *CreateIAMPolicyAssignmentOutput {
 16657  	s.AssignmentId = &v
 16658  	return s
 16659  }
 16660  
 16661  // SetAssignmentName sets the AssignmentName field's value.
 16662  func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentOutput {
 16663  	s.AssignmentName = &v
 16664  	return s
 16665  }
 16666  
 16667  // SetAssignmentStatus sets the AssignmentStatus field's value.
 16668  func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentOutput {
 16669  	s.AssignmentStatus = &v
 16670  	return s
 16671  }
 16672  
 16673  // SetIdentities sets the Identities field's value.
 16674  func (s *CreateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentOutput {
 16675  	s.Identities = v
 16676  	return s
 16677  }
 16678  
 16679  // SetPolicyArn sets the PolicyArn field's value.
 16680  func (s *CreateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentOutput {
 16681  	s.PolicyArn = &v
 16682  	return s
 16683  }
 16684  
 16685  // SetRequestId sets the RequestId field's value.
 16686  func (s *CreateIAMPolicyAssignmentOutput) SetRequestId(v string) *CreateIAMPolicyAssignmentOutput {
 16687  	s.RequestId = &v
 16688  	return s
 16689  }
 16690  
 16691  // SetStatus sets the Status field's value.
 16692  func (s *CreateIAMPolicyAssignmentOutput) SetStatus(v int64) *CreateIAMPolicyAssignmentOutput {
 16693  	s.Status = &v
 16694  	return s
 16695  }
 16696  
 16697  type CreateIngestionInput struct {
 16698  	_ struct{} `type:"structure" nopayload:"true"`
 16699  
 16700  	// The Amazon Web Services account ID.
 16701  	//
 16702  	// AwsAccountId is a required field
 16703  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 16704  
 16705  	// The ID of the dataset used in the ingestion.
 16706  	//
 16707  	// DataSetId is a required field
 16708  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 16709  
 16710  	// An ID for the ingestion.
 16711  	//
 16712  	// IngestionId is a required field
 16713  	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
 16714  }
 16715  
 16716  // String returns the string representation.
 16717  //
 16718  // API parameter values that are decorated as "sensitive" in the API will not
 16719  // be included in the string output. The member name will be present, but the
 16720  // value will be replaced with "sensitive".
 16721  func (s CreateIngestionInput) String() string {
 16722  	return awsutil.Prettify(s)
 16723  }
 16724  
 16725  // GoString returns the string representation.
 16726  //
 16727  // API parameter values that are decorated as "sensitive" in the API will not
 16728  // be included in the string output. The member name will be present, but the
 16729  // value will be replaced with "sensitive".
 16730  func (s CreateIngestionInput) GoString() string {
 16731  	return s.String()
 16732  }
 16733  
 16734  // Validate inspects the fields of the type to determine if they are valid.
 16735  func (s *CreateIngestionInput) Validate() error {
 16736  	invalidParams := request.ErrInvalidParams{Context: "CreateIngestionInput"}
 16737  	if s.AwsAccountId == nil {
 16738  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 16739  	}
 16740  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 16741  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 16742  	}
 16743  	if s.DataSetId == nil {
 16744  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 16745  	}
 16746  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 16747  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 16748  	}
 16749  	if s.IngestionId == nil {
 16750  		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
 16751  	}
 16752  	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
 16753  		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
 16754  	}
 16755  
 16756  	if invalidParams.Len() > 0 {
 16757  		return invalidParams
 16758  	}
 16759  	return nil
 16760  }
 16761  
 16762  // SetAwsAccountId sets the AwsAccountId field's value.
 16763  func (s *CreateIngestionInput) SetAwsAccountId(v string) *CreateIngestionInput {
 16764  	s.AwsAccountId = &v
 16765  	return s
 16766  }
 16767  
 16768  // SetDataSetId sets the DataSetId field's value.
 16769  func (s *CreateIngestionInput) SetDataSetId(v string) *CreateIngestionInput {
 16770  	s.DataSetId = &v
 16771  	return s
 16772  }
 16773  
 16774  // SetIngestionId sets the IngestionId field's value.
 16775  func (s *CreateIngestionInput) SetIngestionId(v string) *CreateIngestionInput {
 16776  	s.IngestionId = &v
 16777  	return s
 16778  }
 16779  
 16780  type CreateIngestionOutput struct {
 16781  	_ struct{} `type:"structure"`
 16782  
 16783  	// The Amazon Resource Name (ARN) for the data ingestion.
 16784  	Arn *string `type:"string"`
 16785  
 16786  	// An ID for the ingestion.
 16787  	IngestionId *string `min:"1" type:"string"`
 16788  
 16789  	// The ingestion status.
 16790  	IngestionStatus *string `type:"string" enum:"IngestionStatus"`
 16791  
 16792  	// The Amazon Web Services request ID for this operation.
 16793  	RequestId *string `type:"string"`
 16794  
 16795  	// The HTTP status of the request.
 16796  	Status *int64 `location:"statusCode" type:"integer"`
 16797  }
 16798  
 16799  // String returns the string representation.
 16800  //
 16801  // API parameter values that are decorated as "sensitive" in the API will not
 16802  // be included in the string output. The member name will be present, but the
 16803  // value will be replaced with "sensitive".
 16804  func (s CreateIngestionOutput) String() string {
 16805  	return awsutil.Prettify(s)
 16806  }
 16807  
 16808  // GoString returns the string representation.
 16809  //
 16810  // API parameter values that are decorated as "sensitive" in the API will not
 16811  // be included in the string output. The member name will be present, but the
 16812  // value will be replaced with "sensitive".
 16813  func (s CreateIngestionOutput) GoString() string {
 16814  	return s.String()
 16815  }
 16816  
 16817  // SetArn sets the Arn field's value.
 16818  func (s *CreateIngestionOutput) SetArn(v string) *CreateIngestionOutput {
 16819  	s.Arn = &v
 16820  	return s
 16821  }
 16822  
 16823  // SetIngestionId sets the IngestionId field's value.
 16824  func (s *CreateIngestionOutput) SetIngestionId(v string) *CreateIngestionOutput {
 16825  	s.IngestionId = &v
 16826  	return s
 16827  }
 16828  
 16829  // SetIngestionStatus sets the IngestionStatus field's value.
 16830  func (s *CreateIngestionOutput) SetIngestionStatus(v string) *CreateIngestionOutput {
 16831  	s.IngestionStatus = &v
 16832  	return s
 16833  }
 16834  
 16835  // SetRequestId sets the RequestId field's value.
 16836  func (s *CreateIngestionOutput) SetRequestId(v string) *CreateIngestionOutput {
 16837  	s.RequestId = &v
 16838  	return s
 16839  }
 16840  
 16841  // SetStatus sets the Status field's value.
 16842  func (s *CreateIngestionOutput) SetStatus(v int64) *CreateIngestionOutput {
 16843  	s.Status = &v
 16844  	return s
 16845  }
 16846  
 16847  type CreateNamespaceInput struct {
 16848  	_ struct{} `type:"structure"`
 16849  
 16850  	// The ID for the Amazon Web Services account that you want to create the Amazon
 16851  	// QuickSight namespace in.
 16852  	//
 16853  	// AwsAccountId is a required field
 16854  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 16855  
 16856  	// Specifies the type of your user identity directory. Currently, this supports
 16857  	// users with an identity type of QUICKSIGHT.
 16858  	//
 16859  	// IdentityStore is a required field
 16860  	IdentityStore *string `type:"string" required:"true" enum:"IdentityStore"`
 16861  
 16862  	// The name that you want to use to describe the new namespace.
 16863  	//
 16864  	// Namespace is a required field
 16865  	Namespace *string `type:"string" required:"true"`
 16866  
 16867  	// The tags that you want to associate with the namespace that you're creating.
 16868  	Tags []*Tag `min:"1" type:"list"`
 16869  }
 16870  
 16871  // String returns the string representation.
 16872  //
 16873  // API parameter values that are decorated as "sensitive" in the API will not
 16874  // be included in the string output. The member name will be present, but the
 16875  // value will be replaced with "sensitive".
 16876  func (s CreateNamespaceInput) String() string {
 16877  	return awsutil.Prettify(s)
 16878  }
 16879  
 16880  // GoString returns the string representation.
 16881  //
 16882  // API parameter values that are decorated as "sensitive" in the API will not
 16883  // be included in the string output. The member name will be present, but the
 16884  // value will be replaced with "sensitive".
 16885  func (s CreateNamespaceInput) GoString() string {
 16886  	return s.String()
 16887  }
 16888  
 16889  // Validate inspects the fields of the type to determine if they are valid.
 16890  func (s *CreateNamespaceInput) Validate() error {
 16891  	invalidParams := request.ErrInvalidParams{Context: "CreateNamespaceInput"}
 16892  	if s.AwsAccountId == nil {
 16893  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 16894  	}
 16895  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 16896  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 16897  	}
 16898  	if s.IdentityStore == nil {
 16899  		invalidParams.Add(request.NewErrParamRequired("IdentityStore"))
 16900  	}
 16901  	if s.Namespace == nil {
 16902  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 16903  	}
 16904  	if s.Tags != nil && len(s.Tags) < 1 {
 16905  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 16906  	}
 16907  	if s.Tags != nil {
 16908  		for i, v := range s.Tags {
 16909  			if v == nil {
 16910  				continue
 16911  			}
 16912  			if err := v.Validate(); err != nil {
 16913  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 16914  			}
 16915  		}
 16916  	}
 16917  
 16918  	if invalidParams.Len() > 0 {
 16919  		return invalidParams
 16920  	}
 16921  	return nil
 16922  }
 16923  
 16924  // SetAwsAccountId sets the AwsAccountId field's value.
 16925  func (s *CreateNamespaceInput) SetAwsAccountId(v string) *CreateNamespaceInput {
 16926  	s.AwsAccountId = &v
 16927  	return s
 16928  }
 16929  
 16930  // SetIdentityStore sets the IdentityStore field's value.
 16931  func (s *CreateNamespaceInput) SetIdentityStore(v string) *CreateNamespaceInput {
 16932  	s.IdentityStore = &v
 16933  	return s
 16934  }
 16935  
 16936  // SetNamespace sets the Namespace field's value.
 16937  func (s *CreateNamespaceInput) SetNamespace(v string) *CreateNamespaceInput {
 16938  	s.Namespace = &v
 16939  	return s
 16940  }
 16941  
 16942  // SetTags sets the Tags field's value.
 16943  func (s *CreateNamespaceInput) SetTags(v []*Tag) *CreateNamespaceInput {
 16944  	s.Tags = v
 16945  	return s
 16946  }
 16947  
 16948  type CreateNamespaceOutput struct {
 16949  	_ struct{} `type:"structure"`
 16950  
 16951  	// The ARN of the Amazon QuickSight namespace you created.
 16952  	Arn *string `type:"string"`
 16953  
 16954  	// The Amazon Web Services Region; that you want to use for the free SPICE capacity
 16955  	// for the new namespace. This is set to the region that you run CreateNamespace
 16956  	// in.
 16957  	CapacityRegion *string `type:"string"`
 16958  
 16959  	// The status of the creation of the namespace. This is an asynchronous process.
 16960  	// A status of CREATED means that your namespace is ready to use. If an error
 16961  	// occurs, it indicates if the process is retryable or non-retryable. In the
 16962  	// case of a non-retryable error, refer to the error message for follow-up tasks.
 16963  	CreationStatus *string `type:"string" enum:"NamespaceStatus"`
 16964  
 16965  	// Specifies the type of your user identity directory. Currently, this supports
 16966  	// users with an identity type of QUICKSIGHT.
 16967  	IdentityStore *string `type:"string" enum:"IdentityStore"`
 16968  
 16969  	// The name of the new namespace that you created.
 16970  	Name *string `type:"string"`
 16971  
 16972  	// The Amazon Web Services request ID for this operation.
 16973  	RequestId *string `type:"string"`
 16974  
 16975  	// The HTTP status of the request.
 16976  	Status *int64 `location:"statusCode" type:"integer"`
 16977  }
 16978  
 16979  // String returns the string representation.
 16980  //
 16981  // API parameter values that are decorated as "sensitive" in the API will not
 16982  // be included in the string output. The member name will be present, but the
 16983  // value will be replaced with "sensitive".
 16984  func (s CreateNamespaceOutput) String() string {
 16985  	return awsutil.Prettify(s)
 16986  }
 16987  
 16988  // GoString returns the string representation.
 16989  //
 16990  // API parameter values that are decorated as "sensitive" in the API will not
 16991  // be included in the string output. The member name will be present, but the
 16992  // value will be replaced with "sensitive".
 16993  func (s CreateNamespaceOutput) GoString() string {
 16994  	return s.String()
 16995  }
 16996  
 16997  // SetArn sets the Arn field's value.
 16998  func (s *CreateNamespaceOutput) SetArn(v string) *CreateNamespaceOutput {
 16999  	s.Arn = &v
 17000  	return s
 17001  }
 17002  
 17003  // SetCapacityRegion sets the CapacityRegion field's value.
 17004  func (s *CreateNamespaceOutput) SetCapacityRegion(v string) *CreateNamespaceOutput {
 17005  	s.CapacityRegion = &v
 17006  	return s
 17007  }
 17008  
 17009  // SetCreationStatus sets the CreationStatus field's value.
 17010  func (s *CreateNamespaceOutput) SetCreationStatus(v string) *CreateNamespaceOutput {
 17011  	s.CreationStatus = &v
 17012  	return s
 17013  }
 17014  
 17015  // SetIdentityStore sets the IdentityStore field's value.
 17016  func (s *CreateNamespaceOutput) SetIdentityStore(v string) *CreateNamespaceOutput {
 17017  	s.IdentityStore = &v
 17018  	return s
 17019  }
 17020  
 17021  // SetName sets the Name field's value.
 17022  func (s *CreateNamespaceOutput) SetName(v string) *CreateNamespaceOutput {
 17023  	s.Name = &v
 17024  	return s
 17025  }
 17026  
 17027  // SetRequestId sets the RequestId field's value.
 17028  func (s *CreateNamespaceOutput) SetRequestId(v string) *CreateNamespaceOutput {
 17029  	s.RequestId = &v
 17030  	return s
 17031  }
 17032  
 17033  // SetStatus sets the Status field's value.
 17034  func (s *CreateNamespaceOutput) SetStatus(v int64) *CreateNamespaceOutput {
 17035  	s.Status = &v
 17036  	return s
 17037  }
 17038  
 17039  type CreateTemplateAliasInput struct {
 17040  	_ struct{} `type:"structure"`
 17041  
 17042  	// The name that you want to give to the template alias that you're creating.
 17043  	// Don't start the alias name with the $ character. Alias names that start with
 17044  	// $ are reserved by Amazon QuickSight.
 17045  	//
 17046  	// AliasName is a required field
 17047  	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
 17048  
 17049  	// The ID of the Amazon Web Services account that contains the template that
 17050  	// you creating an alias for.
 17051  	//
 17052  	// AwsAccountId is a required field
 17053  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 17054  
 17055  	// An ID for the template.
 17056  	//
 17057  	// TemplateId is a required field
 17058  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 17059  
 17060  	// The version number of the template.
 17061  	//
 17062  	// TemplateVersionNumber is a required field
 17063  	TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"`
 17064  }
 17065  
 17066  // String returns the string representation.
 17067  //
 17068  // API parameter values that are decorated as "sensitive" in the API will not
 17069  // be included in the string output. The member name will be present, but the
 17070  // value will be replaced with "sensitive".
 17071  func (s CreateTemplateAliasInput) String() string {
 17072  	return awsutil.Prettify(s)
 17073  }
 17074  
 17075  // GoString returns the string representation.
 17076  //
 17077  // API parameter values that are decorated as "sensitive" in the API will not
 17078  // be included in the string output. The member name will be present, but the
 17079  // value will be replaced with "sensitive".
 17080  func (s CreateTemplateAliasInput) GoString() string {
 17081  	return s.String()
 17082  }
 17083  
 17084  // Validate inspects the fields of the type to determine if they are valid.
 17085  func (s *CreateTemplateAliasInput) Validate() error {
 17086  	invalidParams := request.ErrInvalidParams{Context: "CreateTemplateAliasInput"}
 17087  	if s.AliasName == nil {
 17088  		invalidParams.Add(request.NewErrParamRequired("AliasName"))
 17089  	}
 17090  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 17091  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 17092  	}
 17093  	if s.AwsAccountId == nil {
 17094  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 17095  	}
 17096  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 17097  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 17098  	}
 17099  	if s.TemplateId == nil {
 17100  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 17101  	}
 17102  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 17103  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 17104  	}
 17105  	if s.TemplateVersionNumber == nil {
 17106  		invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber"))
 17107  	}
 17108  	if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 {
 17109  		invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1))
 17110  	}
 17111  
 17112  	if invalidParams.Len() > 0 {
 17113  		return invalidParams
 17114  	}
 17115  	return nil
 17116  }
 17117  
 17118  // SetAliasName sets the AliasName field's value.
 17119  func (s *CreateTemplateAliasInput) SetAliasName(v string) *CreateTemplateAliasInput {
 17120  	s.AliasName = &v
 17121  	return s
 17122  }
 17123  
 17124  // SetAwsAccountId sets the AwsAccountId field's value.
 17125  func (s *CreateTemplateAliasInput) SetAwsAccountId(v string) *CreateTemplateAliasInput {
 17126  	s.AwsAccountId = &v
 17127  	return s
 17128  }
 17129  
 17130  // SetTemplateId sets the TemplateId field's value.
 17131  func (s *CreateTemplateAliasInput) SetTemplateId(v string) *CreateTemplateAliasInput {
 17132  	s.TemplateId = &v
 17133  	return s
 17134  }
 17135  
 17136  // SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
 17137  func (s *CreateTemplateAliasInput) SetTemplateVersionNumber(v int64) *CreateTemplateAliasInput {
 17138  	s.TemplateVersionNumber = &v
 17139  	return s
 17140  }
 17141  
 17142  type CreateTemplateAliasOutput struct {
 17143  	_ struct{} `type:"structure"`
 17144  
 17145  	// The Amazon Web Services request ID for this operation.
 17146  	RequestId *string `type:"string"`
 17147  
 17148  	// The HTTP status of the request.
 17149  	Status *int64 `location:"statusCode" type:"integer"`
 17150  
 17151  	// Information about the template alias.
 17152  	TemplateAlias *TemplateAlias `type:"structure"`
 17153  }
 17154  
 17155  // String returns the string representation.
 17156  //
 17157  // API parameter values that are decorated as "sensitive" in the API will not
 17158  // be included in the string output. The member name will be present, but the
 17159  // value will be replaced with "sensitive".
 17160  func (s CreateTemplateAliasOutput) String() string {
 17161  	return awsutil.Prettify(s)
 17162  }
 17163  
 17164  // GoString returns the string representation.
 17165  //
 17166  // API parameter values that are decorated as "sensitive" in the API will not
 17167  // be included in the string output. The member name will be present, but the
 17168  // value will be replaced with "sensitive".
 17169  func (s CreateTemplateAliasOutput) GoString() string {
 17170  	return s.String()
 17171  }
 17172  
 17173  // SetRequestId sets the RequestId field's value.
 17174  func (s *CreateTemplateAliasOutput) SetRequestId(v string) *CreateTemplateAliasOutput {
 17175  	s.RequestId = &v
 17176  	return s
 17177  }
 17178  
 17179  // SetStatus sets the Status field's value.
 17180  func (s *CreateTemplateAliasOutput) SetStatus(v int64) *CreateTemplateAliasOutput {
 17181  	s.Status = &v
 17182  	return s
 17183  }
 17184  
 17185  // SetTemplateAlias sets the TemplateAlias field's value.
 17186  func (s *CreateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *CreateTemplateAliasOutput {
 17187  	s.TemplateAlias = v
 17188  	return s
 17189  }
 17190  
 17191  type CreateTemplateInput struct {
 17192  	_ struct{} `type:"structure"`
 17193  
 17194  	// The ID for the Amazon Web Services account that the group is in. You use
 17195  	// the ID for the Amazon Web Services account that contains your Amazon QuickSight
 17196  	// account.
 17197  	//
 17198  	// AwsAccountId is a required field
 17199  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 17200  
 17201  	// A display name for the template.
 17202  	Name *string `min:"1" type:"string"`
 17203  
 17204  	// A list of resource permissions to be set on the template.
 17205  	Permissions []*ResourcePermission `min:"1" type:"list"`
 17206  
 17207  	// The entity that you are using as a source when you create the template. In
 17208  	// SourceEntity, you specify the type of object you're using as source: SourceTemplate
 17209  	// for a template or SourceAnalysis for an analysis. Both of these require an
 17210  	// Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source
 17211  	// template. For SourceAnalysis, specify the ARN of the source analysis. The
 17212  	// SourceTemplate ARN can contain any Amazon Web Services account and any Amazon
 17213  	// QuickSight-supported Amazon Web Services Region;.
 17214  	//
 17215  	// Use the DataSetReferences entity within SourceTemplate or SourceAnalysis
 17216  	// to list the replacement datasets for the placeholders listed in the original.
 17217  	// The schema in each dataset must match its placeholder.
 17218  	//
 17219  	// SourceEntity is a required field
 17220  	SourceEntity *TemplateSourceEntity `type:"structure" required:"true"`
 17221  
 17222  	// Contains a map of the key-value pairs for the resource tag or tags assigned
 17223  	// to the resource.
 17224  	Tags []*Tag `min:"1" type:"list"`
 17225  
 17226  	// An ID for the template that you want to create. This template is unique per
 17227  	// Amazon Web Services Region; in each Amazon Web Services account.
 17228  	//
 17229  	// TemplateId is a required field
 17230  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 17231  
 17232  	// A description of the current template version being created. This API operation
 17233  	// creates the first version of the template. Every time UpdateTemplate is called,
 17234  	// a new version is created. Each version of the template maintains a description
 17235  	// of the version in the VersionDescription field.
 17236  	VersionDescription *string `min:"1" type:"string"`
 17237  }
 17238  
 17239  // String returns the string representation.
 17240  //
 17241  // API parameter values that are decorated as "sensitive" in the API will not
 17242  // be included in the string output. The member name will be present, but the
 17243  // value will be replaced with "sensitive".
 17244  func (s CreateTemplateInput) String() string {
 17245  	return awsutil.Prettify(s)
 17246  }
 17247  
 17248  // GoString returns the string representation.
 17249  //
 17250  // API parameter values that are decorated as "sensitive" in the API will not
 17251  // be included in the string output. The member name will be present, but the
 17252  // value will be replaced with "sensitive".
 17253  func (s CreateTemplateInput) GoString() string {
 17254  	return s.String()
 17255  }
 17256  
 17257  // Validate inspects the fields of the type to determine if they are valid.
 17258  func (s *CreateTemplateInput) Validate() error {
 17259  	invalidParams := request.ErrInvalidParams{Context: "CreateTemplateInput"}
 17260  	if s.AwsAccountId == nil {
 17261  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 17262  	}
 17263  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 17264  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 17265  	}
 17266  	if s.Name != nil && len(*s.Name) < 1 {
 17267  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 17268  	}
 17269  	if s.Permissions != nil && len(s.Permissions) < 1 {
 17270  		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
 17271  	}
 17272  	if s.SourceEntity == nil {
 17273  		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
 17274  	}
 17275  	if s.Tags != nil && len(s.Tags) < 1 {
 17276  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 17277  	}
 17278  	if s.TemplateId == nil {
 17279  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 17280  	}
 17281  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 17282  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 17283  	}
 17284  	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
 17285  		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
 17286  	}
 17287  	if s.Permissions != nil {
 17288  		for i, v := range s.Permissions {
 17289  			if v == nil {
 17290  				continue
 17291  			}
 17292  			if err := v.Validate(); err != nil {
 17293  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
 17294  			}
 17295  		}
 17296  	}
 17297  	if s.SourceEntity != nil {
 17298  		if err := s.SourceEntity.Validate(); err != nil {
 17299  			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
 17300  		}
 17301  	}
 17302  	if s.Tags != nil {
 17303  		for i, v := range s.Tags {
 17304  			if v == nil {
 17305  				continue
 17306  			}
 17307  			if err := v.Validate(); err != nil {
 17308  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 17309  			}
 17310  		}
 17311  	}
 17312  
 17313  	if invalidParams.Len() > 0 {
 17314  		return invalidParams
 17315  	}
 17316  	return nil
 17317  }
 17318  
 17319  // SetAwsAccountId sets the AwsAccountId field's value.
 17320  func (s *CreateTemplateInput) SetAwsAccountId(v string) *CreateTemplateInput {
 17321  	s.AwsAccountId = &v
 17322  	return s
 17323  }
 17324  
 17325  // SetName sets the Name field's value.
 17326  func (s *CreateTemplateInput) SetName(v string) *CreateTemplateInput {
 17327  	s.Name = &v
 17328  	return s
 17329  }
 17330  
 17331  // SetPermissions sets the Permissions field's value.
 17332  func (s *CreateTemplateInput) SetPermissions(v []*ResourcePermission) *CreateTemplateInput {
 17333  	s.Permissions = v
 17334  	return s
 17335  }
 17336  
 17337  // SetSourceEntity sets the SourceEntity field's value.
 17338  func (s *CreateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *CreateTemplateInput {
 17339  	s.SourceEntity = v
 17340  	return s
 17341  }
 17342  
 17343  // SetTags sets the Tags field's value.
 17344  func (s *CreateTemplateInput) SetTags(v []*Tag) *CreateTemplateInput {
 17345  	s.Tags = v
 17346  	return s
 17347  }
 17348  
 17349  // SetTemplateId sets the TemplateId field's value.
 17350  func (s *CreateTemplateInput) SetTemplateId(v string) *CreateTemplateInput {
 17351  	s.TemplateId = &v
 17352  	return s
 17353  }
 17354  
 17355  // SetVersionDescription sets the VersionDescription field's value.
 17356  func (s *CreateTemplateInput) SetVersionDescription(v string) *CreateTemplateInput {
 17357  	s.VersionDescription = &v
 17358  	return s
 17359  }
 17360  
 17361  type CreateTemplateOutput struct {
 17362  	_ struct{} `type:"structure"`
 17363  
 17364  	// The ARN for the template.
 17365  	Arn *string `type:"string"`
 17366  
 17367  	// The template creation status.
 17368  	CreationStatus *string `type:"string" enum:"ResourceStatus"`
 17369  
 17370  	// The Amazon Web Services request ID for this operation.
 17371  	RequestId *string `type:"string"`
 17372  
 17373  	// The HTTP status of the request.
 17374  	Status *int64 `location:"statusCode" type:"integer"`
 17375  
 17376  	// The ID of the template.
 17377  	TemplateId *string `min:"1" type:"string"`
 17378  
 17379  	// The ARN for the template, including the version information of the first
 17380  	// version.
 17381  	VersionArn *string `type:"string"`
 17382  }
 17383  
 17384  // String returns the string representation.
 17385  //
 17386  // API parameter values that are decorated as "sensitive" in the API will not
 17387  // be included in the string output. The member name will be present, but the
 17388  // value will be replaced with "sensitive".
 17389  func (s CreateTemplateOutput) String() string {
 17390  	return awsutil.Prettify(s)
 17391  }
 17392  
 17393  // GoString returns the string representation.
 17394  //
 17395  // API parameter values that are decorated as "sensitive" in the API will not
 17396  // be included in the string output. The member name will be present, but the
 17397  // value will be replaced with "sensitive".
 17398  func (s CreateTemplateOutput) GoString() string {
 17399  	return s.String()
 17400  }
 17401  
 17402  // SetArn sets the Arn field's value.
 17403  func (s *CreateTemplateOutput) SetArn(v string) *CreateTemplateOutput {
 17404  	s.Arn = &v
 17405  	return s
 17406  }
 17407  
 17408  // SetCreationStatus sets the CreationStatus field's value.
 17409  func (s *CreateTemplateOutput) SetCreationStatus(v string) *CreateTemplateOutput {
 17410  	s.CreationStatus = &v
 17411  	return s
 17412  }
 17413  
 17414  // SetRequestId sets the RequestId field's value.
 17415  func (s *CreateTemplateOutput) SetRequestId(v string) *CreateTemplateOutput {
 17416  	s.RequestId = &v
 17417  	return s
 17418  }
 17419  
 17420  // SetStatus sets the Status field's value.
 17421  func (s *CreateTemplateOutput) SetStatus(v int64) *CreateTemplateOutput {
 17422  	s.Status = &v
 17423  	return s
 17424  }
 17425  
 17426  // SetTemplateId sets the TemplateId field's value.
 17427  func (s *CreateTemplateOutput) SetTemplateId(v string) *CreateTemplateOutput {
 17428  	s.TemplateId = &v
 17429  	return s
 17430  }
 17431  
 17432  // SetVersionArn sets the VersionArn field's value.
 17433  func (s *CreateTemplateOutput) SetVersionArn(v string) *CreateTemplateOutput {
 17434  	s.VersionArn = &v
 17435  	return s
 17436  }
 17437  
 17438  type CreateThemeAliasInput struct {
 17439  	_ struct{} `type:"structure"`
 17440  
 17441  	// The name that you want to give to the theme alias that you are creating.
 17442  	// The alias name can't begin with a $. Alias names that start with $ are reserved
 17443  	// by Amazon QuickSight.
 17444  	//
 17445  	// AliasName is a required field
 17446  	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
 17447  
 17448  	// The ID of the Amazon Web Services account that contains the theme for the
 17449  	// new theme alias.
 17450  	//
 17451  	// AwsAccountId is a required field
 17452  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 17453  
 17454  	// An ID for the theme alias.
 17455  	//
 17456  	// ThemeId is a required field
 17457  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 17458  
 17459  	// The version number of the theme.
 17460  	//
 17461  	// ThemeVersionNumber is a required field
 17462  	ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"`
 17463  }
 17464  
 17465  // String returns the string representation.
 17466  //
 17467  // API parameter values that are decorated as "sensitive" in the API will not
 17468  // be included in the string output. The member name will be present, but the
 17469  // value will be replaced with "sensitive".
 17470  func (s CreateThemeAliasInput) String() string {
 17471  	return awsutil.Prettify(s)
 17472  }
 17473  
 17474  // GoString returns the string representation.
 17475  //
 17476  // API parameter values that are decorated as "sensitive" in the API will not
 17477  // be included in the string output. The member name will be present, but the
 17478  // value will be replaced with "sensitive".
 17479  func (s CreateThemeAliasInput) GoString() string {
 17480  	return s.String()
 17481  }
 17482  
 17483  // Validate inspects the fields of the type to determine if they are valid.
 17484  func (s *CreateThemeAliasInput) Validate() error {
 17485  	invalidParams := request.ErrInvalidParams{Context: "CreateThemeAliasInput"}
 17486  	if s.AliasName == nil {
 17487  		invalidParams.Add(request.NewErrParamRequired("AliasName"))
 17488  	}
 17489  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 17490  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 17491  	}
 17492  	if s.AwsAccountId == nil {
 17493  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 17494  	}
 17495  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 17496  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 17497  	}
 17498  	if s.ThemeId == nil {
 17499  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 17500  	}
 17501  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 17502  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 17503  	}
 17504  	if s.ThemeVersionNumber == nil {
 17505  		invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber"))
 17506  	}
 17507  	if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 {
 17508  		invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1))
 17509  	}
 17510  
 17511  	if invalidParams.Len() > 0 {
 17512  		return invalidParams
 17513  	}
 17514  	return nil
 17515  }
 17516  
 17517  // SetAliasName sets the AliasName field's value.
 17518  func (s *CreateThemeAliasInput) SetAliasName(v string) *CreateThemeAliasInput {
 17519  	s.AliasName = &v
 17520  	return s
 17521  }
 17522  
 17523  // SetAwsAccountId sets the AwsAccountId field's value.
 17524  func (s *CreateThemeAliasInput) SetAwsAccountId(v string) *CreateThemeAliasInput {
 17525  	s.AwsAccountId = &v
 17526  	return s
 17527  }
 17528  
 17529  // SetThemeId sets the ThemeId field's value.
 17530  func (s *CreateThemeAliasInput) SetThemeId(v string) *CreateThemeAliasInput {
 17531  	s.ThemeId = &v
 17532  	return s
 17533  }
 17534  
 17535  // SetThemeVersionNumber sets the ThemeVersionNumber field's value.
 17536  func (s *CreateThemeAliasInput) SetThemeVersionNumber(v int64) *CreateThemeAliasInput {
 17537  	s.ThemeVersionNumber = &v
 17538  	return s
 17539  }
 17540  
 17541  type CreateThemeAliasOutput struct {
 17542  	_ struct{} `type:"structure"`
 17543  
 17544  	// The Amazon Web Services request ID for this operation.
 17545  	RequestId *string `type:"string"`
 17546  
 17547  	// The HTTP status of the request.
 17548  	Status *int64 `location:"statusCode" type:"integer"`
 17549  
 17550  	// Information about the theme alias.
 17551  	ThemeAlias *ThemeAlias `type:"structure"`
 17552  }
 17553  
 17554  // String returns the string representation.
 17555  //
 17556  // API parameter values that are decorated as "sensitive" in the API will not
 17557  // be included in the string output. The member name will be present, but the
 17558  // value will be replaced with "sensitive".
 17559  func (s CreateThemeAliasOutput) String() string {
 17560  	return awsutil.Prettify(s)
 17561  }
 17562  
 17563  // GoString returns the string representation.
 17564  //
 17565  // API parameter values that are decorated as "sensitive" in the API will not
 17566  // be included in the string output. The member name will be present, but the
 17567  // value will be replaced with "sensitive".
 17568  func (s CreateThemeAliasOutput) GoString() string {
 17569  	return s.String()
 17570  }
 17571  
 17572  // SetRequestId sets the RequestId field's value.
 17573  func (s *CreateThemeAliasOutput) SetRequestId(v string) *CreateThemeAliasOutput {
 17574  	s.RequestId = &v
 17575  	return s
 17576  }
 17577  
 17578  // SetStatus sets the Status field's value.
 17579  func (s *CreateThemeAliasOutput) SetStatus(v int64) *CreateThemeAliasOutput {
 17580  	s.Status = &v
 17581  	return s
 17582  }
 17583  
 17584  // SetThemeAlias sets the ThemeAlias field's value.
 17585  func (s *CreateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *CreateThemeAliasOutput {
 17586  	s.ThemeAlias = v
 17587  	return s
 17588  }
 17589  
 17590  type CreateThemeInput struct {
 17591  	_ struct{} `type:"structure"`
 17592  
 17593  	// The ID of the Amazon Web Services account where you want to store the new
 17594  	// theme.
 17595  	//
 17596  	// AwsAccountId is a required field
 17597  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 17598  
 17599  	// The ID of the theme that a custom theme will inherit from. All themes inherit
 17600  	// from one of the starting themes defined by Amazon QuickSight. For a list
 17601  	// of the starting themes, use ListThemes or choose Themes from within a Amazon
 17602  	// QuickSight analysis.
 17603  	//
 17604  	// BaseThemeId is a required field
 17605  	BaseThemeId *string `min:"1" type:"string" required:"true"`
 17606  
 17607  	// The theme configuration, which contains the theme display properties.
 17608  	//
 17609  	// Configuration is a required field
 17610  	Configuration *ThemeConfiguration `type:"structure" required:"true"`
 17611  
 17612  	// A display name for the theme.
 17613  	//
 17614  	// Name is a required field
 17615  	Name *string `min:"1" type:"string" required:"true"`
 17616  
 17617  	// A valid grouping of resource permissions to apply to the new theme.
 17618  	Permissions []*ResourcePermission `min:"1" type:"list"`
 17619  
 17620  	// A map of the key-value pairs for the resource tag or tags that you want to
 17621  	// add to the resource.
 17622  	Tags []*Tag `min:"1" type:"list"`
 17623  
 17624  	// An ID for the theme that you want to create. The theme ID is unique per Amazon
 17625  	// Web Services Region in each Amazon Web Services account.
 17626  	//
 17627  	// ThemeId is a required field
 17628  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 17629  
 17630  	// A description of the first version of the theme that you're creating. Every
 17631  	// time UpdateTheme is called, a new version is created. Each version of the
 17632  	// theme has a description of the version in the VersionDescription field.
 17633  	VersionDescription *string `min:"1" type:"string"`
 17634  }
 17635  
 17636  // String returns the string representation.
 17637  //
 17638  // API parameter values that are decorated as "sensitive" in the API will not
 17639  // be included in the string output. The member name will be present, but the
 17640  // value will be replaced with "sensitive".
 17641  func (s CreateThemeInput) String() string {
 17642  	return awsutil.Prettify(s)
 17643  }
 17644  
 17645  // GoString returns the string representation.
 17646  //
 17647  // API parameter values that are decorated as "sensitive" in the API will not
 17648  // be included in the string output. The member name will be present, but the
 17649  // value will be replaced with "sensitive".
 17650  func (s CreateThemeInput) GoString() string {
 17651  	return s.String()
 17652  }
 17653  
 17654  // Validate inspects the fields of the type to determine if they are valid.
 17655  func (s *CreateThemeInput) Validate() error {
 17656  	invalidParams := request.ErrInvalidParams{Context: "CreateThemeInput"}
 17657  	if s.AwsAccountId == nil {
 17658  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 17659  	}
 17660  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 17661  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 17662  	}
 17663  	if s.BaseThemeId == nil {
 17664  		invalidParams.Add(request.NewErrParamRequired("BaseThemeId"))
 17665  	}
 17666  	if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 {
 17667  		invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1))
 17668  	}
 17669  	if s.Configuration == nil {
 17670  		invalidParams.Add(request.NewErrParamRequired("Configuration"))
 17671  	}
 17672  	if s.Name == nil {
 17673  		invalidParams.Add(request.NewErrParamRequired("Name"))
 17674  	}
 17675  	if s.Name != nil && len(*s.Name) < 1 {
 17676  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 17677  	}
 17678  	if s.Permissions != nil && len(s.Permissions) < 1 {
 17679  		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
 17680  	}
 17681  	if s.Tags != nil && len(s.Tags) < 1 {
 17682  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 17683  	}
 17684  	if s.ThemeId == nil {
 17685  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 17686  	}
 17687  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 17688  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 17689  	}
 17690  	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
 17691  		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
 17692  	}
 17693  	if s.Permissions != nil {
 17694  		for i, v := range s.Permissions {
 17695  			if v == nil {
 17696  				continue
 17697  			}
 17698  			if err := v.Validate(); err != nil {
 17699  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
 17700  			}
 17701  		}
 17702  	}
 17703  	if s.Tags != nil {
 17704  		for i, v := range s.Tags {
 17705  			if v == nil {
 17706  				continue
 17707  			}
 17708  			if err := v.Validate(); err != nil {
 17709  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 17710  			}
 17711  		}
 17712  	}
 17713  
 17714  	if invalidParams.Len() > 0 {
 17715  		return invalidParams
 17716  	}
 17717  	return nil
 17718  }
 17719  
 17720  // SetAwsAccountId sets the AwsAccountId field's value.
 17721  func (s *CreateThemeInput) SetAwsAccountId(v string) *CreateThemeInput {
 17722  	s.AwsAccountId = &v
 17723  	return s
 17724  }
 17725  
 17726  // SetBaseThemeId sets the BaseThemeId field's value.
 17727  func (s *CreateThemeInput) SetBaseThemeId(v string) *CreateThemeInput {
 17728  	s.BaseThemeId = &v
 17729  	return s
 17730  }
 17731  
 17732  // SetConfiguration sets the Configuration field's value.
 17733  func (s *CreateThemeInput) SetConfiguration(v *ThemeConfiguration) *CreateThemeInput {
 17734  	s.Configuration = v
 17735  	return s
 17736  }
 17737  
 17738  // SetName sets the Name field's value.
 17739  func (s *CreateThemeInput) SetName(v string) *CreateThemeInput {
 17740  	s.Name = &v
 17741  	return s
 17742  }
 17743  
 17744  // SetPermissions sets the Permissions field's value.
 17745  func (s *CreateThemeInput) SetPermissions(v []*ResourcePermission) *CreateThemeInput {
 17746  	s.Permissions = v
 17747  	return s
 17748  }
 17749  
 17750  // SetTags sets the Tags field's value.
 17751  func (s *CreateThemeInput) SetTags(v []*Tag) *CreateThemeInput {
 17752  	s.Tags = v
 17753  	return s
 17754  }
 17755  
 17756  // SetThemeId sets the ThemeId field's value.
 17757  func (s *CreateThemeInput) SetThemeId(v string) *CreateThemeInput {
 17758  	s.ThemeId = &v
 17759  	return s
 17760  }
 17761  
 17762  // SetVersionDescription sets the VersionDescription field's value.
 17763  func (s *CreateThemeInput) SetVersionDescription(v string) *CreateThemeInput {
 17764  	s.VersionDescription = &v
 17765  	return s
 17766  }
 17767  
 17768  type CreateThemeOutput struct {
 17769  	_ struct{} `type:"structure"`
 17770  
 17771  	// The Amazon Resource Name (ARN) for the theme.
 17772  	Arn *string `type:"string"`
 17773  
 17774  	// The theme creation status.
 17775  	CreationStatus *string `type:"string" enum:"ResourceStatus"`
 17776  
 17777  	// The Amazon Web Services request ID for this operation.
 17778  	RequestId *string `type:"string"`
 17779  
 17780  	// The HTTP status of the request.
 17781  	Status *int64 `location:"statusCode" type:"integer"`
 17782  
 17783  	// The ID of the theme.
 17784  	ThemeId *string `min:"1" type:"string"`
 17785  
 17786  	// The Amazon Resource Name (ARN) for the new theme.
 17787  	VersionArn *string `type:"string"`
 17788  }
 17789  
 17790  // String returns the string representation.
 17791  //
 17792  // API parameter values that are decorated as "sensitive" in the API will not
 17793  // be included in the string output. The member name will be present, but the
 17794  // value will be replaced with "sensitive".
 17795  func (s CreateThemeOutput) String() string {
 17796  	return awsutil.Prettify(s)
 17797  }
 17798  
 17799  // GoString returns the string representation.
 17800  //
 17801  // API parameter values that are decorated as "sensitive" in the API will not
 17802  // be included in the string output. The member name will be present, but the
 17803  // value will be replaced with "sensitive".
 17804  func (s CreateThemeOutput) GoString() string {
 17805  	return s.String()
 17806  }
 17807  
 17808  // SetArn sets the Arn field's value.
 17809  func (s *CreateThemeOutput) SetArn(v string) *CreateThemeOutput {
 17810  	s.Arn = &v
 17811  	return s
 17812  }
 17813  
 17814  // SetCreationStatus sets the CreationStatus field's value.
 17815  func (s *CreateThemeOutput) SetCreationStatus(v string) *CreateThemeOutput {
 17816  	s.CreationStatus = &v
 17817  	return s
 17818  }
 17819  
 17820  // SetRequestId sets the RequestId field's value.
 17821  func (s *CreateThemeOutput) SetRequestId(v string) *CreateThemeOutput {
 17822  	s.RequestId = &v
 17823  	return s
 17824  }
 17825  
 17826  // SetStatus sets the Status field's value.
 17827  func (s *CreateThemeOutput) SetStatus(v int64) *CreateThemeOutput {
 17828  	s.Status = &v
 17829  	return s
 17830  }
 17831  
 17832  // SetThemeId sets the ThemeId field's value.
 17833  func (s *CreateThemeOutput) SetThemeId(v string) *CreateThemeOutput {
 17834  	s.ThemeId = &v
 17835  	return s
 17836  }
 17837  
 17838  // SetVersionArn sets the VersionArn field's value.
 17839  func (s *CreateThemeOutput) SetVersionArn(v string) *CreateThemeOutput {
 17840  	s.VersionArn = &v
 17841  	return s
 17842  }
 17843  
 17844  // The combination of user name and password that are used as credentials.
 17845  type CredentialPair struct {
 17846  	_ struct{} `type:"structure"`
 17847  
 17848  	// A set of alternate data source parameters that you want to share for these
 17849  	// credentials. The credentials are applied in tandem with the data source parameters
 17850  	// when you copy a data source by using a create or update request. The API
 17851  	// operation compares the DataSourceParameters structure that's in the request
 17852  	// with the structures in the AlternateDataSourceParameters allow list. If the
 17853  	// structures are an exact match, the request is allowed to use the new data
 17854  	// source with the existing credentials. If the AlternateDataSourceParameters
 17855  	// list is null, the DataSourceParameters originally used with these Credentials
 17856  	// is automatically allowed.
 17857  	AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"`
 17858  
 17859  	// Password.
 17860  	//
 17861  	// Password is a required field
 17862  	Password *string `min:"1" type:"string" required:"true"`
 17863  
 17864  	// User name.
 17865  	//
 17866  	// Username is a required field
 17867  	Username *string `min:"1" type:"string" required:"true"`
 17868  }
 17869  
 17870  // String returns the string representation.
 17871  //
 17872  // API parameter values that are decorated as "sensitive" in the API will not
 17873  // be included in the string output. The member name will be present, but the
 17874  // value will be replaced with "sensitive".
 17875  func (s CredentialPair) String() string {
 17876  	return awsutil.Prettify(s)
 17877  }
 17878  
 17879  // GoString returns the string representation.
 17880  //
 17881  // API parameter values that are decorated as "sensitive" in the API will not
 17882  // be included in the string output. The member name will be present, but the
 17883  // value will be replaced with "sensitive".
 17884  func (s CredentialPair) GoString() string {
 17885  	return s.String()
 17886  }
 17887  
 17888  // Validate inspects the fields of the type to determine if they are valid.
 17889  func (s *CredentialPair) Validate() error {
 17890  	invalidParams := request.ErrInvalidParams{Context: "CredentialPair"}
 17891  	if s.AlternateDataSourceParameters != nil && len(s.AlternateDataSourceParameters) < 1 {
 17892  		invalidParams.Add(request.NewErrParamMinLen("AlternateDataSourceParameters", 1))
 17893  	}
 17894  	if s.Password == nil {
 17895  		invalidParams.Add(request.NewErrParamRequired("Password"))
 17896  	}
 17897  	if s.Password != nil && len(*s.Password) < 1 {
 17898  		invalidParams.Add(request.NewErrParamMinLen("Password", 1))
 17899  	}
 17900  	if s.Username == nil {
 17901  		invalidParams.Add(request.NewErrParamRequired("Username"))
 17902  	}
 17903  	if s.Username != nil && len(*s.Username) < 1 {
 17904  		invalidParams.Add(request.NewErrParamMinLen("Username", 1))
 17905  	}
 17906  	if s.AlternateDataSourceParameters != nil {
 17907  		for i, v := range s.AlternateDataSourceParameters {
 17908  			if v == nil {
 17909  				continue
 17910  			}
 17911  			if err := v.Validate(); err != nil {
 17912  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AlternateDataSourceParameters", i), err.(request.ErrInvalidParams))
 17913  			}
 17914  		}
 17915  	}
 17916  
 17917  	if invalidParams.Len() > 0 {
 17918  		return invalidParams
 17919  	}
 17920  	return nil
 17921  }
 17922  
 17923  // SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value.
 17924  func (s *CredentialPair) SetAlternateDataSourceParameters(v []*DataSourceParameters) *CredentialPair {
 17925  	s.AlternateDataSourceParameters = v
 17926  	return s
 17927  }
 17928  
 17929  // SetPassword sets the Password field's value.
 17930  func (s *CredentialPair) SetPassword(v string) *CredentialPair {
 17931  	s.Password = &v
 17932  	return s
 17933  }
 17934  
 17935  // SetUsername sets the Username field's value.
 17936  func (s *CredentialPair) SetUsername(v string) *CredentialPair {
 17937  	s.Username = &v
 17938  	return s
 17939  }
 17940  
 17941  // A physical table type built from the results of the custom SQL query.
 17942  type CustomSql struct {
 17943  	_ struct{} `type:"structure"`
 17944  
 17945  	// The column schema from the SQL query result set.
 17946  	Columns []*InputColumn `min:"1" type:"list"`
 17947  
 17948  	// The Amazon Resource Name (ARN) of the data source.
 17949  	//
 17950  	// DataSourceArn is a required field
 17951  	DataSourceArn *string `type:"string" required:"true"`
 17952  
 17953  	// A display name for the SQL query result.
 17954  	//
 17955  	// Name is a required field
 17956  	Name *string `min:"1" type:"string" required:"true"`
 17957  
 17958  	// The SQL query.
 17959  	//
 17960  	// SqlQuery is a required field
 17961  	SqlQuery *string `min:"1" type:"string" required:"true"`
 17962  }
 17963  
 17964  // String returns the string representation.
 17965  //
 17966  // API parameter values that are decorated as "sensitive" in the API will not
 17967  // be included in the string output. The member name will be present, but the
 17968  // value will be replaced with "sensitive".
 17969  func (s CustomSql) String() string {
 17970  	return awsutil.Prettify(s)
 17971  }
 17972  
 17973  // GoString returns the string representation.
 17974  //
 17975  // API parameter values that are decorated as "sensitive" in the API will not
 17976  // be included in the string output. The member name will be present, but the
 17977  // value will be replaced with "sensitive".
 17978  func (s CustomSql) GoString() string {
 17979  	return s.String()
 17980  }
 17981  
 17982  // Validate inspects the fields of the type to determine if they are valid.
 17983  func (s *CustomSql) Validate() error {
 17984  	invalidParams := request.ErrInvalidParams{Context: "CustomSql"}
 17985  	if s.Columns != nil && len(s.Columns) < 1 {
 17986  		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
 17987  	}
 17988  	if s.DataSourceArn == nil {
 17989  		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
 17990  	}
 17991  	if s.Name == nil {
 17992  		invalidParams.Add(request.NewErrParamRequired("Name"))
 17993  	}
 17994  	if s.Name != nil && len(*s.Name) < 1 {
 17995  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 17996  	}
 17997  	if s.SqlQuery == nil {
 17998  		invalidParams.Add(request.NewErrParamRequired("SqlQuery"))
 17999  	}
 18000  	if s.SqlQuery != nil && len(*s.SqlQuery) < 1 {
 18001  		invalidParams.Add(request.NewErrParamMinLen("SqlQuery", 1))
 18002  	}
 18003  	if s.Columns != nil {
 18004  		for i, v := range s.Columns {
 18005  			if v == nil {
 18006  				continue
 18007  			}
 18008  			if err := v.Validate(); err != nil {
 18009  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
 18010  			}
 18011  		}
 18012  	}
 18013  
 18014  	if invalidParams.Len() > 0 {
 18015  		return invalidParams
 18016  	}
 18017  	return nil
 18018  }
 18019  
 18020  // SetColumns sets the Columns field's value.
 18021  func (s *CustomSql) SetColumns(v []*InputColumn) *CustomSql {
 18022  	s.Columns = v
 18023  	return s
 18024  }
 18025  
 18026  // SetDataSourceArn sets the DataSourceArn field's value.
 18027  func (s *CustomSql) SetDataSourceArn(v string) *CustomSql {
 18028  	s.DataSourceArn = &v
 18029  	return s
 18030  }
 18031  
 18032  // SetName sets the Name field's value.
 18033  func (s *CustomSql) SetName(v string) *CustomSql {
 18034  	s.Name = &v
 18035  	return s
 18036  }
 18037  
 18038  // SetSqlQuery sets the SqlQuery field's value.
 18039  func (s *CustomSql) SetSqlQuery(v string) *CustomSql {
 18040  	s.SqlQuery = &v
 18041  	return s
 18042  }
 18043  
 18044  // Dashboard.
 18045  type Dashboard struct {
 18046  	_ struct{} `type:"structure"`
 18047  
 18048  	// The Amazon Resource Name (ARN) of the resource.
 18049  	Arn *string `type:"string"`
 18050  
 18051  	// The time that this dataset was created.
 18052  	CreatedTime *time.Time `type:"timestamp"`
 18053  
 18054  	// Dashboard ID.
 18055  	DashboardId *string `min:"1" type:"string"`
 18056  
 18057  	// The last time that this dataset was published.
 18058  	LastPublishedTime *time.Time `type:"timestamp"`
 18059  
 18060  	// The last time that this dataset was updated.
 18061  	LastUpdatedTime *time.Time `type:"timestamp"`
 18062  
 18063  	// A display name for the dashboard.
 18064  	Name *string `min:"1" type:"string"`
 18065  
 18066  	// Version.
 18067  	Version *DashboardVersion `type:"structure"`
 18068  }
 18069  
 18070  // String returns the string representation.
 18071  //
 18072  // API parameter values that are decorated as "sensitive" in the API will not
 18073  // be included in the string output. The member name will be present, but the
 18074  // value will be replaced with "sensitive".
 18075  func (s Dashboard) String() string {
 18076  	return awsutil.Prettify(s)
 18077  }
 18078  
 18079  // GoString returns the string representation.
 18080  //
 18081  // API parameter values that are decorated as "sensitive" in the API will not
 18082  // be included in the string output. The member name will be present, but the
 18083  // value will be replaced with "sensitive".
 18084  func (s Dashboard) GoString() string {
 18085  	return s.String()
 18086  }
 18087  
 18088  // SetArn sets the Arn field's value.
 18089  func (s *Dashboard) SetArn(v string) *Dashboard {
 18090  	s.Arn = &v
 18091  	return s
 18092  }
 18093  
 18094  // SetCreatedTime sets the CreatedTime field's value.
 18095  func (s *Dashboard) SetCreatedTime(v time.Time) *Dashboard {
 18096  	s.CreatedTime = &v
 18097  	return s
 18098  }
 18099  
 18100  // SetDashboardId sets the DashboardId field's value.
 18101  func (s *Dashboard) SetDashboardId(v string) *Dashboard {
 18102  	s.DashboardId = &v
 18103  	return s
 18104  }
 18105  
 18106  // SetLastPublishedTime sets the LastPublishedTime field's value.
 18107  func (s *Dashboard) SetLastPublishedTime(v time.Time) *Dashboard {
 18108  	s.LastPublishedTime = &v
 18109  	return s
 18110  }
 18111  
 18112  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 18113  func (s *Dashboard) SetLastUpdatedTime(v time.Time) *Dashboard {
 18114  	s.LastUpdatedTime = &v
 18115  	return s
 18116  }
 18117  
 18118  // SetName sets the Name field's value.
 18119  func (s *Dashboard) SetName(v string) *Dashboard {
 18120  	s.Name = &v
 18121  	return s
 18122  }
 18123  
 18124  // SetVersion sets the Version field's value.
 18125  func (s *Dashboard) SetVersion(v *DashboardVersion) *Dashboard {
 18126  	s.Version = v
 18127  	return s
 18128  }
 18129  
 18130  // Dashboard error.
 18131  type DashboardError struct {
 18132  	_ struct{} `type:"structure"`
 18133  
 18134  	// Message.
 18135  	Message *string `type:"string"`
 18136  
 18137  	// Type.
 18138  	Type *string `type:"string" enum:"DashboardErrorType"`
 18139  }
 18140  
 18141  // String returns the string representation.
 18142  //
 18143  // API parameter values that are decorated as "sensitive" in the API will not
 18144  // be included in the string output. The member name will be present, but the
 18145  // value will be replaced with "sensitive".
 18146  func (s DashboardError) String() string {
 18147  	return awsutil.Prettify(s)
 18148  }
 18149  
 18150  // GoString returns the string representation.
 18151  //
 18152  // API parameter values that are decorated as "sensitive" in the API will not
 18153  // be included in the string output. The member name will be present, but the
 18154  // value will be replaced with "sensitive".
 18155  func (s DashboardError) GoString() string {
 18156  	return s.String()
 18157  }
 18158  
 18159  // SetMessage sets the Message field's value.
 18160  func (s *DashboardError) SetMessage(v string) *DashboardError {
 18161  	s.Message = &v
 18162  	return s
 18163  }
 18164  
 18165  // SetType sets the Type field's value.
 18166  func (s *DashboardError) SetType(v string) *DashboardError {
 18167  	s.Type = &v
 18168  	return s
 18169  }
 18170  
 18171  // Dashboard publish options.
 18172  type DashboardPublishOptions struct {
 18173  	_ struct{} `type:"structure"`
 18174  
 18175  	// Ad hoc (one-time) filtering option.
 18176  	AdHocFilteringOption *AdHocFilteringOption `type:"structure"`
 18177  
 18178  	// Export to .csv option.
 18179  	ExportToCSVOption *ExportToCSVOption `type:"structure"`
 18180  
 18181  	// Sheet controls option.
 18182  	SheetControlsOption *SheetControlsOption `type:"structure"`
 18183  }
 18184  
 18185  // String returns the string representation.
 18186  //
 18187  // API parameter values that are decorated as "sensitive" in the API will not
 18188  // be included in the string output. The member name will be present, but the
 18189  // value will be replaced with "sensitive".
 18190  func (s DashboardPublishOptions) String() string {
 18191  	return awsutil.Prettify(s)
 18192  }
 18193  
 18194  // GoString returns the string representation.
 18195  //
 18196  // API parameter values that are decorated as "sensitive" in the API will not
 18197  // be included in the string output. The member name will be present, but the
 18198  // value will be replaced with "sensitive".
 18199  func (s DashboardPublishOptions) GoString() string {
 18200  	return s.String()
 18201  }
 18202  
 18203  // SetAdHocFilteringOption sets the AdHocFilteringOption field's value.
 18204  func (s *DashboardPublishOptions) SetAdHocFilteringOption(v *AdHocFilteringOption) *DashboardPublishOptions {
 18205  	s.AdHocFilteringOption = v
 18206  	return s
 18207  }
 18208  
 18209  // SetExportToCSVOption sets the ExportToCSVOption field's value.
 18210  func (s *DashboardPublishOptions) SetExportToCSVOption(v *ExportToCSVOption) *DashboardPublishOptions {
 18211  	s.ExportToCSVOption = v
 18212  	return s
 18213  }
 18214  
 18215  // SetSheetControlsOption sets the SheetControlsOption field's value.
 18216  func (s *DashboardPublishOptions) SetSheetControlsOption(v *SheetControlsOption) *DashboardPublishOptions {
 18217  	s.SheetControlsOption = v
 18218  	return s
 18219  }
 18220  
 18221  // A filter that you apply when searching for dashboards.
 18222  type DashboardSearchFilter struct {
 18223  	_ struct{} `type:"structure"`
 18224  
 18225  	// The name of the value that you want to use as a filter, for example, "Name":
 18226  	// "QUICKSIGHT_USER".
 18227  	Name *string `type:"string" enum:"DashboardFilterAttribute"`
 18228  
 18229  	// The comparison operator that you want to use as a filter, for example, "Operator":
 18230  	// "StringEquals".
 18231  	//
 18232  	// Operator is a required field
 18233  	Operator *string `type:"string" required:"true" enum:"FilterOperator"`
 18234  
 18235  	// The value of the named item, in this case QUICKSIGHT_USER, that you want
 18236  	// to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1".
 18237  	Value *string `type:"string"`
 18238  }
 18239  
 18240  // String returns the string representation.
 18241  //
 18242  // API parameter values that are decorated as "sensitive" in the API will not
 18243  // be included in the string output. The member name will be present, but the
 18244  // value will be replaced with "sensitive".
 18245  func (s DashboardSearchFilter) String() string {
 18246  	return awsutil.Prettify(s)
 18247  }
 18248  
 18249  // GoString returns the string representation.
 18250  //
 18251  // API parameter values that are decorated as "sensitive" in the API will not
 18252  // be included in the string output. The member name will be present, but the
 18253  // value will be replaced with "sensitive".
 18254  func (s DashboardSearchFilter) GoString() string {
 18255  	return s.String()
 18256  }
 18257  
 18258  // Validate inspects the fields of the type to determine if they are valid.
 18259  func (s *DashboardSearchFilter) Validate() error {
 18260  	invalidParams := request.ErrInvalidParams{Context: "DashboardSearchFilter"}
 18261  	if s.Operator == nil {
 18262  		invalidParams.Add(request.NewErrParamRequired("Operator"))
 18263  	}
 18264  
 18265  	if invalidParams.Len() > 0 {
 18266  		return invalidParams
 18267  	}
 18268  	return nil
 18269  }
 18270  
 18271  // SetName sets the Name field's value.
 18272  func (s *DashboardSearchFilter) SetName(v string) *DashboardSearchFilter {
 18273  	s.Name = &v
 18274  	return s
 18275  }
 18276  
 18277  // SetOperator sets the Operator field's value.
 18278  func (s *DashboardSearchFilter) SetOperator(v string) *DashboardSearchFilter {
 18279  	s.Operator = &v
 18280  	return s
 18281  }
 18282  
 18283  // SetValue sets the Value field's value.
 18284  func (s *DashboardSearchFilter) SetValue(v string) *DashboardSearchFilter {
 18285  	s.Value = &v
 18286  	return s
 18287  }
 18288  
 18289  // Dashboard source entity.
 18290  type DashboardSourceEntity struct {
 18291  	_ struct{} `type:"structure"`
 18292  
 18293  	// Source template.
 18294  	SourceTemplate *DashboardSourceTemplate `type:"structure"`
 18295  }
 18296  
 18297  // String returns the string representation.
 18298  //
 18299  // API parameter values that are decorated as "sensitive" in the API will not
 18300  // be included in the string output. The member name will be present, but the
 18301  // value will be replaced with "sensitive".
 18302  func (s DashboardSourceEntity) String() string {
 18303  	return awsutil.Prettify(s)
 18304  }
 18305  
 18306  // GoString returns the string representation.
 18307  //
 18308  // API parameter values that are decorated as "sensitive" in the API will not
 18309  // be included in the string output. The member name will be present, but the
 18310  // value will be replaced with "sensitive".
 18311  func (s DashboardSourceEntity) GoString() string {
 18312  	return s.String()
 18313  }
 18314  
 18315  // Validate inspects the fields of the type to determine if they are valid.
 18316  func (s *DashboardSourceEntity) Validate() error {
 18317  	invalidParams := request.ErrInvalidParams{Context: "DashboardSourceEntity"}
 18318  	if s.SourceTemplate != nil {
 18319  		if err := s.SourceTemplate.Validate(); err != nil {
 18320  			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
 18321  		}
 18322  	}
 18323  
 18324  	if invalidParams.Len() > 0 {
 18325  		return invalidParams
 18326  	}
 18327  	return nil
 18328  }
 18329  
 18330  // SetSourceTemplate sets the SourceTemplate field's value.
 18331  func (s *DashboardSourceEntity) SetSourceTemplate(v *DashboardSourceTemplate) *DashboardSourceEntity {
 18332  	s.SourceTemplate = v
 18333  	return s
 18334  }
 18335  
 18336  // Dashboard source template.
 18337  type DashboardSourceTemplate struct {
 18338  	_ struct{} `type:"structure"`
 18339  
 18340  	// The Amazon Resource Name (ARN) of the resource.
 18341  	//
 18342  	// Arn is a required field
 18343  	Arn *string `type:"string" required:"true"`
 18344  
 18345  	// Dataset references.
 18346  	//
 18347  	// DataSetReferences is a required field
 18348  	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
 18349  }
 18350  
 18351  // String returns the string representation.
 18352  //
 18353  // API parameter values that are decorated as "sensitive" in the API will not
 18354  // be included in the string output. The member name will be present, but the
 18355  // value will be replaced with "sensitive".
 18356  func (s DashboardSourceTemplate) String() string {
 18357  	return awsutil.Prettify(s)
 18358  }
 18359  
 18360  // GoString returns the string representation.
 18361  //
 18362  // API parameter values that are decorated as "sensitive" in the API will not
 18363  // be included in the string output. The member name will be present, but the
 18364  // value will be replaced with "sensitive".
 18365  func (s DashboardSourceTemplate) GoString() string {
 18366  	return s.String()
 18367  }
 18368  
 18369  // Validate inspects the fields of the type to determine if they are valid.
 18370  func (s *DashboardSourceTemplate) Validate() error {
 18371  	invalidParams := request.ErrInvalidParams{Context: "DashboardSourceTemplate"}
 18372  	if s.Arn == nil {
 18373  		invalidParams.Add(request.NewErrParamRequired("Arn"))
 18374  	}
 18375  	if s.DataSetReferences == nil {
 18376  		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
 18377  	}
 18378  	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
 18379  		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
 18380  	}
 18381  	if s.DataSetReferences != nil {
 18382  		for i, v := range s.DataSetReferences {
 18383  			if v == nil {
 18384  				continue
 18385  			}
 18386  			if err := v.Validate(); err != nil {
 18387  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
 18388  			}
 18389  		}
 18390  	}
 18391  
 18392  	if invalidParams.Len() > 0 {
 18393  		return invalidParams
 18394  	}
 18395  	return nil
 18396  }
 18397  
 18398  // SetArn sets the Arn field's value.
 18399  func (s *DashboardSourceTemplate) SetArn(v string) *DashboardSourceTemplate {
 18400  	s.Arn = &v
 18401  	return s
 18402  }
 18403  
 18404  // SetDataSetReferences sets the DataSetReferences field's value.
 18405  func (s *DashboardSourceTemplate) SetDataSetReferences(v []*DataSetReference) *DashboardSourceTemplate {
 18406  	s.DataSetReferences = v
 18407  	return s
 18408  }
 18409  
 18410  // Dashboard summary.
 18411  type DashboardSummary struct {
 18412  	_ struct{} `type:"structure"`
 18413  
 18414  	// The Amazon Resource Name (ARN) of the resource.
 18415  	Arn *string `type:"string"`
 18416  
 18417  	// The time that this dashboard was created.
 18418  	CreatedTime *time.Time `type:"timestamp"`
 18419  
 18420  	// Dashboard ID.
 18421  	DashboardId *string `min:"1" type:"string"`
 18422  
 18423  	// The last time that this dashboard was published.
 18424  	LastPublishedTime *time.Time `type:"timestamp"`
 18425  
 18426  	// The last time that this dashboard was updated.
 18427  	LastUpdatedTime *time.Time `type:"timestamp"`
 18428  
 18429  	// A display name for the dashboard.
 18430  	Name *string `min:"1" type:"string"`
 18431  
 18432  	// Published version number.
 18433  	PublishedVersionNumber *int64 `min:"1" type:"long"`
 18434  }
 18435  
 18436  // String returns the string representation.
 18437  //
 18438  // API parameter values that are decorated as "sensitive" in the API will not
 18439  // be included in the string output. The member name will be present, but the
 18440  // value will be replaced with "sensitive".
 18441  func (s DashboardSummary) String() string {
 18442  	return awsutil.Prettify(s)
 18443  }
 18444  
 18445  // GoString returns the string representation.
 18446  //
 18447  // API parameter values that are decorated as "sensitive" in the API will not
 18448  // be included in the string output. The member name will be present, but the
 18449  // value will be replaced with "sensitive".
 18450  func (s DashboardSummary) GoString() string {
 18451  	return s.String()
 18452  }
 18453  
 18454  // SetArn sets the Arn field's value.
 18455  func (s *DashboardSummary) SetArn(v string) *DashboardSummary {
 18456  	s.Arn = &v
 18457  	return s
 18458  }
 18459  
 18460  // SetCreatedTime sets the CreatedTime field's value.
 18461  func (s *DashboardSummary) SetCreatedTime(v time.Time) *DashboardSummary {
 18462  	s.CreatedTime = &v
 18463  	return s
 18464  }
 18465  
 18466  // SetDashboardId sets the DashboardId field's value.
 18467  func (s *DashboardSummary) SetDashboardId(v string) *DashboardSummary {
 18468  	s.DashboardId = &v
 18469  	return s
 18470  }
 18471  
 18472  // SetLastPublishedTime sets the LastPublishedTime field's value.
 18473  func (s *DashboardSummary) SetLastPublishedTime(v time.Time) *DashboardSummary {
 18474  	s.LastPublishedTime = &v
 18475  	return s
 18476  }
 18477  
 18478  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 18479  func (s *DashboardSummary) SetLastUpdatedTime(v time.Time) *DashboardSummary {
 18480  	s.LastUpdatedTime = &v
 18481  	return s
 18482  }
 18483  
 18484  // SetName sets the Name field's value.
 18485  func (s *DashboardSummary) SetName(v string) *DashboardSummary {
 18486  	s.Name = &v
 18487  	return s
 18488  }
 18489  
 18490  // SetPublishedVersionNumber sets the PublishedVersionNumber field's value.
 18491  func (s *DashboardSummary) SetPublishedVersionNumber(v int64) *DashboardSummary {
 18492  	s.PublishedVersionNumber = &v
 18493  	return s
 18494  }
 18495  
 18496  // Dashboard version.
 18497  type DashboardVersion struct {
 18498  	_ struct{} `type:"structure"`
 18499  
 18500  	// The Amazon Resource Name (ARN) of the resource.
 18501  	Arn *string `type:"string"`
 18502  
 18503  	// The time that this dashboard version was created.
 18504  	CreatedTime *time.Time `type:"timestamp"`
 18505  
 18506  	// The Amazon Resource Numbers (ARNs) for the datasets that are associated with
 18507  	// this version of the dashboard.
 18508  	DataSetArns []*string `type:"list"`
 18509  
 18510  	// Description.
 18511  	Description *string `min:"1" type:"string"`
 18512  
 18513  	// Errors associated with this dashboard version.
 18514  	Errors []*DashboardError `min:"1" type:"list"`
 18515  
 18516  	// A list of the associated sheets with the unique identifier and name of each
 18517  	// sheet.
 18518  	Sheets []*Sheet `type:"list"`
 18519  
 18520  	// Source entity ARN.
 18521  	SourceEntityArn *string `type:"string"`
 18522  
 18523  	// The HTTP status of the request.
 18524  	Status *string `type:"string" enum:"ResourceStatus"`
 18525  
 18526  	// The ARN of the theme associated with a version of the dashboard.
 18527  	ThemeArn *string `type:"string"`
 18528  
 18529  	// Version number for this version of the dashboard.
 18530  	VersionNumber *int64 `min:"1" type:"long"`
 18531  }
 18532  
 18533  // String returns the string representation.
 18534  //
 18535  // API parameter values that are decorated as "sensitive" in the API will not
 18536  // be included in the string output. The member name will be present, but the
 18537  // value will be replaced with "sensitive".
 18538  func (s DashboardVersion) String() string {
 18539  	return awsutil.Prettify(s)
 18540  }
 18541  
 18542  // GoString returns the string representation.
 18543  //
 18544  // API parameter values that are decorated as "sensitive" in the API will not
 18545  // be included in the string output. The member name will be present, but the
 18546  // value will be replaced with "sensitive".
 18547  func (s DashboardVersion) GoString() string {
 18548  	return s.String()
 18549  }
 18550  
 18551  // SetArn sets the Arn field's value.
 18552  func (s *DashboardVersion) SetArn(v string) *DashboardVersion {
 18553  	s.Arn = &v
 18554  	return s
 18555  }
 18556  
 18557  // SetCreatedTime sets the CreatedTime field's value.
 18558  func (s *DashboardVersion) SetCreatedTime(v time.Time) *DashboardVersion {
 18559  	s.CreatedTime = &v
 18560  	return s
 18561  }
 18562  
 18563  // SetDataSetArns sets the DataSetArns field's value.
 18564  func (s *DashboardVersion) SetDataSetArns(v []*string) *DashboardVersion {
 18565  	s.DataSetArns = v
 18566  	return s
 18567  }
 18568  
 18569  // SetDescription sets the Description field's value.
 18570  func (s *DashboardVersion) SetDescription(v string) *DashboardVersion {
 18571  	s.Description = &v
 18572  	return s
 18573  }
 18574  
 18575  // SetErrors sets the Errors field's value.
 18576  func (s *DashboardVersion) SetErrors(v []*DashboardError) *DashboardVersion {
 18577  	s.Errors = v
 18578  	return s
 18579  }
 18580  
 18581  // SetSheets sets the Sheets field's value.
 18582  func (s *DashboardVersion) SetSheets(v []*Sheet) *DashboardVersion {
 18583  	s.Sheets = v
 18584  	return s
 18585  }
 18586  
 18587  // SetSourceEntityArn sets the SourceEntityArn field's value.
 18588  func (s *DashboardVersion) SetSourceEntityArn(v string) *DashboardVersion {
 18589  	s.SourceEntityArn = &v
 18590  	return s
 18591  }
 18592  
 18593  // SetStatus sets the Status field's value.
 18594  func (s *DashboardVersion) SetStatus(v string) *DashboardVersion {
 18595  	s.Status = &v
 18596  	return s
 18597  }
 18598  
 18599  // SetThemeArn sets the ThemeArn field's value.
 18600  func (s *DashboardVersion) SetThemeArn(v string) *DashboardVersion {
 18601  	s.ThemeArn = &v
 18602  	return s
 18603  }
 18604  
 18605  // SetVersionNumber sets the VersionNumber field's value.
 18606  func (s *DashboardVersion) SetVersionNumber(v int64) *DashboardVersion {
 18607  	s.VersionNumber = &v
 18608  	return s
 18609  }
 18610  
 18611  // Dashboard version summary.
 18612  type DashboardVersionSummary struct {
 18613  	_ struct{} `type:"structure"`
 18614  
 18615  	// The Amazon Resource Name (ARN) of the resource.
 18616  	Arn *string `type:"string"`
 18617  
 18618  	// The time that this dashboard version was created.
 18619  	CreatedTime *time.Time `type:"timestamp"`
 18620  
 18621  	// Description.
 18622  	Description *string `min:"1" type:"string"`
 18623  
 18624  	// Source entity ARN.
 18625  	SourceEntityArn *string `type:"string"`
 18626  
 18627  	// The HTTP status of the request.
 18628  	Status *string `type:"string" enum:"ResourceStatus"`
 18629  
 18630  	// Version number.
 18631  	VersionNumber *int64 `min:"1" type:"long"`
 18632  }
 18633  
 18634  // String returns the string representation.
 18635  //
 18636  // API parameter values that are decorated as "sensitive" in the API will not
 18637  // be included in the string output. The member name will be present, but the
 18638  // value will be replaced with "sensitive".
 18639  func (s DashboardVersionSummary) String() string {
 18640  	return awsutil.Prettify(s)
 18641  }
 18642  
 18643  // GoString returns the string representation.
 18644  //
 18645  // API parameter values that are decorated as "sensitive" in the API will not
 18646  // be included in the string output. The member name will be present, but the
 18647  // value will be replaced with "sensitive".
 18648  func (s DashboardVersionSummary) GoString() string {
 18649  	return s.String()
 18650  }
 18651  
 18652  // SetArn sets the Arn field's value.
 18653  func (s *DashboardVersionSummary) SetArn(v string) *DashboardVersionSummary {
 18654  	s.Arn = &v
 18655  	return s
 18656  }
 18657  
 18658  // SetCreatedTime sets the CreatedTime field's value.
 18659  func (s *DashboardVersionSummary) SetCreatedTime(v time.Time) *DashboardVersionSummary {
 18660  	s.CreatedTime = &v
 18661  	return s
 18662  }
 18663  
 18664  // SetDescription sets the Description field's value.
 18665  func (s *DashboardVersionSummary) SetDescription(v string) *DashboardVersionSummary {
 18666  	s.Description = &v
 18667  	return s
 18668  }
 18669  
 18670  // SetSourceEntityArn sets the SourceEntityArn field's value.
 18671  func (s *DashboardVersionSummary) SetSourceEntityArn(v string) *DashboardVersionSummary {
 18672  	s.SourceEntityArn = &v
 18673  	return s
 18674  }
 18675  
 18676  // SetStatus sets the Status field's value.
 18677  func (s *DashboardVersionSummary) SetStatus(v string) *DashboardVersionSummary {
 18678  	s.Status = &v
 18679  	return s
 18680  }
 18681  
 18682  // SetVersionNumber sets the VersionNumber field's value.
 18683  func (s *DashboardVersionSummary) SetVersionNumber(v int64) *DashboardVersionSummary {
 18684  	s.VersionNumber = &v
 18685  	return s
 18686  }
 18687  
 18688  // The theme colors that are used for data colors in charts. The colors description
 18689  // is a hexadecimal color code that consists of six alphanumerical characters,
 18690  // prefixed with #, for example #37BFF5.
 18691  type DataColorPalette struct {
 18692  	_ struct{} `type:"structure"`
 18693  
 18694  	// The hexadecimal codes for the colors.
 18695  	Colors []*string `type:"list"`
 18696  
 18697  	// The hexadecimal code of a color that applies to charts where a lack of data
 18698  	// is highlighted.
 18699  	EmptyFillColor *string `type:"string"`
 18700  
 18701  	// The minimum and maximum hexadecimal codes that describe a color gradient.
 18702  	MinMaxGradient []*string `type:"list"`
 18703  }
 18704  
 18705  // String returns the string representation.
 18706  //
 18707  // API parameter values that are decorated as "sensitive" in the API will not
 18708  // be included in the string output. The member name will be present, but the
 18709  // value will be replaced with "sensitive".
 18710  func (s DataColorPalette) String() string {
 18711  	return awsutil.Prettify(s)
 18712  }
 18713  
 18714  // GoString returns the string representation.
 18715  //
 18716  // API parameter values that are decorated as "sensitive" in the API will not
 18717  // be included in the string output. The member name will be present, but the
 18718  // value will be replaced with "sensitive".
 18719  func (s DataColorPalette) GoString() string {
 18720  	return s.String()
 18721  }
 18722  
 18723  // SetColors sets the Colors field's value.
 18724  func (s *DataColorPalette) SetColors(v []*string) *DataColorPalette {
 18725  	s.Colors = v
 18726  	return s
 18727  }
 18728  
 18729  // SetEmptyFillColor sets the EmptyFillColor field's value.
 18730  func (s *DataColorPalette) SetEmptyFillColor(v string) *DataColorPalette {
 18731  	s.EmptyFillColor = &v
 18732  	return s
 18733  }
 18734  
 18735  // SetMinMaxGradient sets the MinMaxGradient field's value.
 18736  func (s *DataColorPalette) SetMinMaxGradient(v []*string) *DataColorPalette {
 18737  	s.MinMaxGradient = v
 18738  	return s
 18739  }
 18740  
 18741  // Dataset.
 18742  type DataSet struct {
 18743  	_ struct{} `type:"structure"`
 18744  
 18745  	// The Amazon Resource Name (ARN) of the resource.
 18746  	Arn *string `type:"string"`
 18747  
 18748  	// Groupings of columns that work together in certain Amazon QuickSight features.
 18749  	// Currently, only geospatial hierarchy is supported.
 18750  	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
 18751  
 18752  	// A set of one or more definitions of a ColumnLevelPermissionRule .
 18753  	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
 18754  
 18755  	// The amount of SPICE capacity used by this dataset. This is 0 if the dataset
 18756  	// isn't imported into SPICE.
 18757  	ConsumedSpiceCapacityInBytes *int64 `type:"long"`
 18758  
 18759  	// The time that this dataset was created.
 18760  	CreatedTime *time.Time `type:"timestamp"`
 18761  
 18762  	// The ID of the dataset.
 18763  	DataSetId *string `type:"string"`
 18764  
 18765  	// The usage configuration to apply to child datasets that reference this dataset
 18766  	// as a source.
 18767  	DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"`
 18768  
 18769  	// The folder that contains fields and nested subfolders for your dataset.
 18770  	FieldFolders map[string]*FieldFolder `type:"map"`
 18771  
 18772  	// A value that indicates whether you want to import the data into SPICE.
 18773  	ImportMode *string `type:"string" enum:"DataSetImportMode"`
 18774  
 18775  	// The last time that this dataset was updated.
 18776  	LastUpdatedTime *time.Time `type:"timestamp"`
 18777  
 18778  	// Configures the combination and transformation of the data from the physical
 18779  	// tables.
 18780  	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
 18781  
 18782  	// A display name for the dataset.
 18783  	Name *string `min:"1" type:"string"`
 18784  
 18785  	// The list of columns after all transforms. These columns are available in
 18786  	// templates, analyses, and dashboards.
 18787  	OutputColumns []*OutputColumn `type:"list"`
 18788  
 18789  	// Declares the physical tables that are available in the underlying data sources.
 18790  	PhysicalTableMap map[string]*PhysicalTable `type:"map"`
 18791  
 18792  	// The row-level security configuration for the dataset.
 18793  	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
 18794  
 18795  	// The element you can use to define tags for row-level security.
 18796  	RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"`
 18797  }
 18798  
 18799  // String returns the string representation.
 18800  //
 18801  // API parameter values that are decorated as "sensitive" in the API will not
 18802  // be included in the string output. The member name will be present, but the
 18803  // value will be replaced with "sensitive".
 18804  func (s DataSet) String() string {
 18805  	return awsutil.Prettify(s)
 18806  }
 18807  
 18808  // GoString returns the string representation.
 18809  //
 18810  // API parameter values that are decorated as "sensitive" in the API will not
 18811  // be included in the string output. The member name will be present, but the
 18812  // value will be replaced with "sensitive".
 18813  func (s DataSet) GoString() string {
 18814  	return s.String()
 18815  }
 18816  
 18817  // SetArn sets the Arn field's value.
 18818  func (s *DataSet) SetArn(v string) *DataSet {
 18819  	s.Arn = &v
 18820  	return s
 18821  }
 18822  
 18823  // SetColumnGroups sets the ColumnGroups field's value.
 18824  func (s *DataSet) SetColumnGroups(v []*ColumnGroup) *DataSet {
 18825  	s.ColumnGroups = v
 18826  	return s
 18827  }
 18828  
 18829  // SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
 18830  func (s *DataSet) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *DataSet {
 18831  	s.ColumnLevelPermissionRules = v
 18832  	return s
 18833  }
 18834  
 18835  // SetConsumedSpiceCapacityInBytes sets the ConsumedSpiceCapacityInBytes field's value.
 18836  func (s *DataSet) SetConsumedSpiceCapacityInBytes(v int64) *DataSet {
 18837  	s.ConsumedSpiceCapacityInBytes = &v
 18838  	return s
 18839  }
 18840  
 18841  // SetCreatedTime sets the CreatedTime field's value.
 18842  func (s *DataSet) SetCreatedTime(v time.Time) *DataSet {
 18843  	s.CreatedTime = &v
 18844  	return s
 18845  }
 18846  
 18847  // SetDataSetId sets the DataSetId field's value.
 18848  func (s *DataSet) SetDataSetId(v string) *DataSet {
 18849  	s.DataSetId = &v
 18850  	return s
 18851  }
 18852  
 18853  // SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value.
 18854  func (s *DataSet) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *DataSet {
 18855  	s.DataSetUsageConfiguration = v
 18856  	return s
 18857  }
 18858  
 18859  // SetFieldFolders sets the FieldFolders field's value.
 18860  func (s *DataSet) SetFieldFolders(v map[string]*FieldFolder) *DataSet {
 18861  	s.FieldFolders = v
 18862  	return s
 18863  }
 18864  
 18865  // SetImportMode sets the ImportMode field's value.
 18866  func (s *DataSet) SetImportMode(v string) *DataSet {
 18867  	s.ImportMode = &v
 18868  	return s
 18869  }
 18870  
 18871  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 18872  func (s *DataSet) SetLastUpdatedTime(v time.Time) *DataSet {
 18873  	s.LastUpdatedTime = &v
 18874  	return s
 18875  }
 18876  
 18877  // SetLogicalTableMap sets the LogicalTableMap field's value.
 18878  func (s *DataSet) SetLogicalTableMap(v map[string]*LogicalTable) *DataSet {
 18879  	s.LogicalTableMap = v
 18880  	return s
 18881  }
 18882  
 18883  // SetName sets the Name field's value.
 18884  func (s *DataSet) SetName(v string) *DataSet {
 18885  	s.Name = &v
 18886  	return s
 18887  }
 18888  
 18889  // SetOutputColumns sets the OutputColumns field's value.
 18890  func (s *DataSet) SetOutputColumns(v []*OutputColumn) *DataSet {
 18891  	s.OutputColumns = v
 18892  	return s
 18893  }
 18894  
 18895  // SetPhysicalTableMap sets the PhysicalTableMap field's value.
 18896  func (s *DataSet) SetPhysicalTableMap(v map[string]*PhysicalTable) *DataSet {
 18897  	s.PhysicalTableMap = v
 18898  	return s
 18899  }
 18900  
 18901  // SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
 18902  func (s *DataSet) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSet {
 18903  	s.RowLevelPermissionDataSet = v
 18904  	return s
 18905  }
 18906  
 18907  // SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value.
 18908  func (s *DataSet) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *DataSet {
 18909  	s.RowLevelPermissionTagConfiguration = v
 18910  	return s
 18911  }
 18912  
 18913  // Dataset configuration.
 18914  type DataSetConfiguration struct {
 18915  	_ struct{} `type:"structure"`
 18916  
 18917  	// A structure containing the list of column group schemas.
 18918  	ColumnGroupSchemaList []*ColumnGroupSchema `type:"list"`
 18919  
 18920  	// Dataset schema.
 18921  	DataSetSchema *DataSetSchema `type:"structure"`
 18922  
 18923  	// Placeholder.
 18924  	Placeholder *string `type:"string"`
 18925  }
 18926  
 18927  // String returns the string representation.
 18928  //
 18929  // API parameter values that are decorated as "sensitive" in the API will not
 18930  // be included in the string output. The member name will be present, but the
 18931  // value will be replaced with "sensitive".
 18932  func (s DataSetConfiguration) String() string {
 18933  	return awsutil.Prettify(s)
 18934  }
 18935  
 18936  // GoString returns the string representation.
 18937  //
 18938  // API parameter values that are decorated as "sensitive" in the API will not
 18939  // be included in the string output. The member name will be present, but the
 18940  // value will be replaced with "sensitive".
 18941  func (s DataSetConfiguration) GoString() string {
 18942  	return s.String()
 18943  }
 18944  
 18945  // SetColumnGroupSchemaList sets the ColumnGroupSchemaList field's value.
 18946  func (s *DataSetConfiguration) SetColumnGroupSchemaList(v []*ColumnGroupSchema) *DataSetConfiguration {
 18947  	s.ColumnGroupSchemaList = v
 18948  	return s
 18949  }
 18950  
 18951  // SetDataSetSchema sets the DataSetSchema field's value.
 18952  func (s *DataSetConfiguration) SetDataSetSchema(v *DataSetSchema) *DataSetConfiguration {
 18953  	s.DataSetSchema = v
 18954  	return s
 18955  }
 18956  
 18957  // SetPlaceholder sets the Placeholder field's value.
 18958  func (s *DataSetConfiguration) SetPlaceholder(v string) *DataSetConfiguration {
 18959  	s.Placeholder = &v
 18960  	return s
 18961  }
 18962  
 18963  // Dataset reference.
 18964  type DataSetReference struct {
 18965  	_ struct{} `type:"structure"`
 18966  
 18967  	// Dataset Amazon Resource Name (ARN).
 18968  	//
 18969  	// DataSetArn is a required field
 18970  	DataSetArn *string `type:"string" required:"true"`
 18971  
 18972  	// Dataset placeholder.
 18973  	//
 18974  	// DataSetPlaceholder is a required field
 18975  	DataSetPlaceholder *string `type:"string" required:"true"`
 18976  }
 18977  
 18978  // String returns the string representation.
 18979  //
 18980  // API parameter values that are decorated as "sensitive" in the API will not
 18981  // be included in the string output. The member name will be present, but the
 18982  // value will be replaced with "sensitive".
 18983  func (s DataSetReference) String() string {
 18984  	return awsutil.Prettify(s)
 18985  }
 18986  
 18987  // GoString returns the string representation.
 18988  //
 18989  // API parameter values that are decorated as "sensitive" in the API will not
 18990  // be included in the string output. The member name will be present, but the
 18991  // value will be replaced with "sensitive".
 18992  func (s DataSetReference) GoString() string {
 18993  	return s.String()
 18994  }
 18995  
 18996  // Validate inspects the fields of the type to determine if they are valid.
 18997  func (s *DataSetReference) Validate() error {
 18998  	invalidParams := request.ErrInvalidParams{Context: "DataSetReference"}
 18999  	if s.DataSetArn == nil {
 19000  		invalidParams.Add(request.NewErrParamRequired("DataSetArn"))
 19001  	}
 19002  	if s.DataSetPlaceholder == nil {
 19003  		invalidParams.Add(request.NewErrParamRequired("DataSetPlaceholder"))
 19004  	}
 19005  
 19006  	if invalidParams.Len() > 0 {
 19007  		return invalidParams
 19008  	}
 19009  	return nil
 19010  }
 19011  
 19012  // SetDataSetArn sets the DataSetArn field's value.
 19013  func (s *DataSetReference) SetDataSetArn(v string) *DataSetReference {
 19014  	s.DataSetArn = &v
 19015  	return s
 19016  }
 19017  
 19018  // SetDataSetPlaceholder sets the DataSetPlaceholder field's value.
 19019  func (s *DataSetReference) SetDataSetPlaceholder(v string) *DataSetReference {
 19020  	s.DataSetPlaceholder = &v
 19021  	return s
 19022  }
 19023  
 19024  // Dataset schema.
 19025  type DataSetSchema struct {
 19026  	_ struct{} `type:"structure"`
 19027  
 19028  	// A structure containing the list of column schemas.
 19029  	ColumnSchemaList []*ColumnSchema `type:"list"`
 19030  }
 19031  
 19032  // String returns the string representation.
 19033  //
 19034  // API parameter values that are decorated as "sensitive" in the API will not
 19035  // be included in the string output. The member name will be present, but the
 19036  // value will be replaced with "sensitive".
 19037  func (s DataSetSchema) String() string {
 19038  	return awsutil.Prettify(s)
 19039  }
 19040  
 19041  // GoString returns the string representation.
 19042  //
 19043  // API parameter values that are decorated as "sensitive" in the API will not
 19044  // be included in the string output. The member name will be present, but the
 19045  // value will be replaced with "sensitive".
 19046  func (s DataSetSchema) GoString() string {
 19047  	return s.String()
 19048  }
 19049  
 19050  // SetColumnSchemaList sets the ColumnSchemaList field's value.
 19051  func (s *DataSetSchema) SetColumnSchemaList(v []*ColumnSchema) *DataSetSchema {
 19052  	s.ColumnSchemaList = v
 19053  	return s
 19054  }
 19055  
 19056  // Dataset summary.
 19057  type DataSetSummary struct {
 19058  	_ struct{} `type:"structure"`
 19059  
 19060  	// The Amazon Resource Name (ARN) of the dataset.
 19061  	Arn *string `type:"string"`
 19062  
 19063  	// A value that indicates if the dataset has column level permission configured.
 19064  	ColumnLevelPermissionRulesApplied *bool `type:"boolean"`
 19065  
 19066  	// The time that this dataset was created.
 19067  	CreatedTime *time.Time `type:"timestamp"`
 19068  
 19069  	// The ID of the dataset.
 19070  	DataSetId *string `type:"string"`
 19071  
 19072  	// A value that indicates whether you want to import the data into SPICE.
 19073  	ImportMode *string `type:"string" enum:"DataSetImportMode"`
 19074  
 19075  	// The last time that this dataset was updated.
 19076  	LastUpdatedTime *time.Time `type:"timestamp"`
 19077  
 19078  	// A display name for the dataset.
 19079  	Name *string `min:"1" type:"string"`
 19080  
 19081  	// The row-level security configuration for the dataset.
 19082  	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
 19083  
 19084  	// Whether or not the row level permission tags are applied.
 19085  	RowLevelPermissionTagConfigurationApplied *bool `type:"boolean"`
 19086  }
 19087  
 19088  // String returns the string representation.
 19089  //
 19090  // API parameter values that are decorated as "sensitive" in the API will not
 19091  // be included in the string output. The member name will be present, but the
 19092  // value will be replaced with "sensitive".
 19093  func (s DataSetSummary) String() string {
 19094  	return awsutil.Prettify(s)
 19095  }
 19096  
 19097  // GoString returns the string representation.
 19098  //
 19099  // API parameter values that are decorated as "sensitive" in the API will not
 19100  // be included in the string output. The member name will be present, but the
 19101  // value will be replaced with "sensitive".
 19102  func (s DataSetSummary) GoString() string {
 19103  	return s.String()
 19104  }
 19105  
 19106  // SetArn sets the Arn field's value.
 19107  func (s *DataSetSummary) SetArn(v string) *DataSetSummary {
 19108  	s.Arn = &v
 19109  	return s
 19110  }
 19111  
 19112  // SetColumnLevelPermissionRulesApplied sets the ColumnLevelPermissionRulesApplied field's value.
 19113  func (s *DataSetSummary) SetColumnLevelPermissionRulesApplied(v bool) *DataSetSummary {
 19114  	s.ColumnLevelPermissionRulesApplied = &v
 19115  	return s
 19116  }
 19117  
 19118  // SetCreatedTime sets the CreatedTime field's value.
 19119  func (s *DataSetSummary) SetCreatedTime(v time.Time) *DataSetSummary {
 19120  	s.CreatedTime = &v
 19121  	return s
 19122  }
 19123  
 19124  // SetDataSetId sets the DataSetId field's value.
 19125  func (s *DataSetSummary) SetDataSetId(v string) *DataSetSummary {
 19126  	s.DataSetId = &v
 19127  	return s
 19128  }
 19129  
 19130  // SetImportMode sets the ImportMode field's value.
 19131  func (s *DataSetSummary) SetImportMode(v string) *DataSetSummary {
 19132  	s.ImportMode = &v
 19133  	return s
 19134  }
 19135  
 19136  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 19137  func (s *DataSetSummary) SetLastUpdatedTime(v time.Time) *DataSetSummary {
 19138  	s.LastUpdatedTime = &v
 19139  	return s
 19140  }
 19141  
 19142  // SetName sets the Name field's value.
 19143  func (s *DataSetSummary) SetName(v string) *DataSetSummary {
 19144  	s.Name = &v
 19145  	return s
 19146  }
 19147  
 19148  // SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
 19149  func (s *DataSetSummary) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSetSummary {
 19150  	s.RowLevelPermissionDataSet = v
 19151  	return s
 19152  }
 19153  
 19154  // SetRowLevelPermissionTagConfigurationApplied sets the RowLevelPermissionTagConfigurationApplied field's value.
 19155  func (s *DataSetSummary) SetRowLevelPermissionTagConfigurationApplied(v bool) *DataSetSummary {
 19156  	s.RowLevelPermissionTagConfigurationApplied = &v
 19157  	return s
 19158  }
 19159  
 19160  // The usage configuration to apply to child datasets that reference this dataset
 19161  // as a source.
 19162  type DataSetUsageConfiguration struct {
 19163  	_ struct{} `type:"structure"`
 19164  
 19165  	// An option that controls whether a child dataset of a direct query can use
 19166  	// this dataset as a source.
 19167  	DisableUseAsDirectQuerySource *bool `type:"boolean"`
 19168  
 19169  	// An option that controls whether a child dataset that's stored in QuickSight
 19170  	// can use this dataset as a source.
 19171  	DisableUseAsImportedSource *bool `type:"boolean"`
 19172  }
 19173  
 19174  // String returns the string representation.
 19175  //
 19176  // API parameter values that are decorated as "sensitive" in the API will not
 19177  // be included in the string output. The member name will be present, but the
 19178  // value will be replaced with "sensitive".
 19179  func (s DataSetUsageConfiguration) String() string {
 19180  	return awsutil.Prettify(s)
 19181  }
 19182  
 19183  // GoString returns the string representation.
 19184  //
 19185  // API parameter values that are decorated as "sensitive" in the API will not
 19186  // be included in the string output. The member name will be present, but the
 19187  // value will be replaced with "sensitive".
 19188  func (s DataSetUsageConfiguration) GoString() string {
 19189  	return s.String()
 19190  }
 19191  
 19192  // SetDisableUseAsDirectQuerySource sets the DisableUseAsDirectQuerySource field's value.
 19193  func (s *DataSetUsageConfiguration) SetDisableUseAsDirectQuerySource(v bool) *DataSetUsageConfiguration {
 19194  	s.DisableUseAsDirectQuerySource = &v
 19195  	return s
 19196  }
 19197  
 19198  // SetDisableUseAsImportedSource sets the DisableUseAsImportedSource field's value.
 19199  func (s *DataSetUsageConfiguration) SetDisableUseAsImportedSource(v bool) *DataSetUsageConfiguration {
 19200  	s.DisableUseAsImportedSource = &v
 19201  	return s
 19202  }
 19203  
 19204  // The structure of a data source.
 19205  type DataSource struct {
 19206  	_ struct{} `type:"structure"`
 19207  
 19208  	// A set of alternate data source parameters that you want to share for the
 19209  	// credentials stored with this data source. The credentials are applied in
 19210  	// tandem with the data source parameters when you copy a data source by using
 19211  	// a create or update request. The API operation compares the DataSourceParameters
 19212  	// structure that's in the request with the structures in the AlternateDataSourceParameters
 19213  	// allow list. If the structures are an exact match, the request is allowed
 19214  	// to use the credentials from this existing data source. If the AlternateDataSourceParameters
 19215  	// list is null, the Credentials originally used with this DataSourceParameters
 19216  	// are automatically allowed.
 19217  	AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"`
 19218  
 19219  	// The Amazon Resource Name (ARN) of the data source.
 19220  	Arn *string `type:"string"`
 19221  
 19222  	// The time that this data source was created.
 19223  	CreatedTime *time.Time `type:"timestamp"`
 19224  
 19225  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 19226  	// for each Amazon Web Services account.
 19227  	DataSourceId *string `type:"string"`
 19228  
 19229  	// The parameters that Amazon QuickSight uses to connect to your underlying
 19230  	// source. This is a variant type structure. For this structure to be valid,
 19231  	// only one of the attributes can be non-null.
 19232  	DataSourceParameters *DataSourceParameters `type:"structure"`
 19233  
 19234  	// Error information from the last update or the creation of the data source.
 19235  	ErrorInfo *DataSourceErrorInfo `type:"structure"`
 19236  
 19237  	// The last time that this data source was updated.
 19238  	LastUpdatedTime *time.Time `type:"timestamp"`
 19239  
 19240  	// A display name for the data source.
 19241  	Name *string `min:"1" type:"string"`
 19242  
 19243  	// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects
 19244  	// to your underlying source.
 19245  	SslProperties *SslProperties `type:"structure"`
 19246  
 19247  	// The HTTP status of the request.
 19248  	Status *string `type:"string" enum:"ResourceStatus"`
 19249  
 19250  	// The type of the data source. This type indicates which database engine the
 19251  	// data source connects to.
 19252  	Type *string `type:"string" enum:"DataSourceType"`
 19253  
 19254  	// The VPC connection information. You need to use this parameter only when
 19255  	// you want Amazon QuickSight to use a VPC connection when connecting to your
 19256  	// underlying source.
 19257  	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
 19258  }
 19259  
 19260  // String returns the string representation.
 19261  //
 19262  // API parameter values that are decorated as "sensitive" in the API will not
 19263  // be included in the string output. The member name will be present, but the
 19264  // value will be replaced with "sensitive".
 19265  func (s DataSource) String() string {
 19266  	return awsutil.Prettify(s)
 19267  }
 19268  
 19269  // GoString returns the string representation.
 19270  //
 19271  // API parameter values that are decorated as "sensitive" in the API will not
 19272  // be included in the string output. The member name will be present, but the
 19273  // value will be replaced with "sensitive".
 19274  func (s DataSource) GoString() string {
 19275  	return s.String()
 19276  }
 19277  
 19278  // SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value.
 19279  func (s *DataSource) SetAlternateDataSourceParameters(v []*DataSourceParameters) *DataSource {
 19280  	s.AlternateDataSourceParameters = v
 19281  	return s
 19282  }
 19283  
 19284  // SetArn sets the Arn field's value.
 19285  func (s *DataSource) SetArn(v string) *DataSource {
 19286  	s.Arn = &v
 19287  	return s
 19288  }
 19289  
 19290  // SetCreatedTime sets the CreatedTime field's value.
 19291  func (s *DataSource) SetCreatedTime(v time.Time) *DataSource {
 19292  	s.CreatedTime = &v
 19293  	return s
 19294  }
 19295  
 19296  // SetDataSourceId sets the DataSourceId field's value.
 19297  func (s *DataSource) SetDataSourceId(v string) *DataSource {
 19298  	s.DataSourceId = &v
 19299  	return s
 19300  }
 19301  
 19302  // SetDataSourceParameters sets the DataSourceParameters field's value.
 19303  func (s *DataSource) SetDataSourceParameters(v *DataSourceParameters) *DataSource {
 19304  	s.DataSourceParameters = v
 19305  	return s
 19306  }
 19307  
 19308  // SetErrorInfo sets the ErrorInfo field's value.
 19309  func (s *DataSource) SetErrorInfo(v *DataSourceErrorInfo) *DataSource {
 19310  	s.ErrorInfo = v
 19311  	return s
 19312  }
 19313  
 19314  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 19315  func (s *DataSource) SetLastUpdatedTime(v time.Time) *DataSource {
 19316  	s.LastUpdatedTime = &v
 19317  	return s
 19318  }
 19319  
 19320  // SetName sets the Name field's value.
 19321  func (s *DataSource) SetName(v string) *DataSource {
 19322  	s.Name = &v
 19323  	return s
 19324  }
 19325  
 19326  // SetSslProperties sets the SslProperties field's value.
 19327  func (s *DataSource) SetSslProperties(v *SslProperties) *DataSource {
 19328  	s.SslProperties = v
 19329  	return s
 19330  }
 19331  
 19332  // SetStatus sets the Status field's value.
 19333  func (s *DataSource) SetStatus(v string) *DataSource {
 19334  	s.Status = &v
 19335  	return s
 19336  }
 19337  
 19338  // SetType sets the Type field's value.
 19339  func (s *DataSource) SetType(v string) *DataSource {
 19340  	s.Type = &v
 19341  	return s
 19342  }
 19343  
 19344  // SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
 19345  func (s *DataSource) SetVpcConnectionProperties(v *VpcConnectionProperties) *DataSource {
 19346  	s.VpcConnectionProperties = v
 19347  	return s
 19348  }
 19349  
 19350  // Data source credentials. This is a variant type structure. For this structure
 19351  // to be valid, only one of the attributes can be non-null.
 19352  type DataSourceCredentials struct {
 19353  	_ struct{} `type:"structure" sensitive:"true"`
 19354  
 19355  	// The Amazon Resource Name (ARN) of a data source that has the credential pair
 19356  	// that you want to use. When CopySourceArn is not null, the credential pair
 19357  	// from the data source in the ARN is used as the credentials for the DataSourceCredentials
 19358  	// structure.
 19359  	CopySourceArn *string `type:"string"`
 19360  
 19361  	// Credential pair. For more information, see CredentialPair.
 19362  	CredentialPair *CredentialPair `type:"structure"`
 19363  }
 19364  
 19365  // String returns the string representation.
 19366  //
 19367  // API parameter values that are decorated as "sensitive" in the API will not
 19368  // be included in the string output. The member name will be present, but the
 19369  // value will be replaced with "sensitive".
 19370  func (s DataSourceCredentials) String() string {
 19371  	return awsutil.Prettify(s)
 19372  }
 19373  
 19374  // GoString returns the string representation.
 19375  //
 19376  // API parameter values that are decorated as "sensitive" in the API will not
 19377  // be included in the string output. The member name will be present, but the
 19378  // value will be replaced with "sensitive".
 19379  func (s DataSourceCredentials) GoString() string {
 19380  	return s.String()
 19381  }
 19382  
 19383  // Validate inspects the fields of the type to determine if they are valid.
 19384  func (s *DataSourceCredentials) Validate() error {
 19385  	invalidParams := request.ErrInvalidParams{Context: "DataSourceCredentials"}
 19386  	if s.CredentialPair != nil {
 19387  		if err := s.CredentialPair.Validate(); err != nil {
 19388  			invalidParams.AddNested("CredentialPair", err.(request.ErrInvalidParams))
 19389  		}
 19390  	}
 19391  
 19392  	if invalidParams.Len() > 0 {
 19393  		return invalidParams
 19394  	}
 19395  	return nil
 19396  }
 19397  
 19398  // SetCopySourceArn sets the CopySourceArn field's value.
 19399  func (s *DataSourceCredentials) SetCopySourceArn(v string) *DataSourceCredentials {
 19400  	s.CopySourceArn = &v
 19401  	return s
 19402  }
 19403  
 19404  // SetCredentialPair sets the CredentialPair field's value.
 19405  func (s *DataSourceCredentials) SetCredentialPair(v *CredentialPair) *DataSourceCredentials {
 19406  	s.CredentialPair = v
 19407  	return s
 19408  }
 19409  
 19410  // Error information for the data source creation or update.
 19411  type DataSourceErrorInfo struct {
 19412  	_ struct{} `type:"structure"`
 19413  
 19414  	// Error message.
 19415  	Message *string `type:"string"`
 19416  
 19417  	// Error type.
 19418  	Type *string `type:"string" enum:"DataSourceErrorInfoType"`
 19419  }
 19420  
 19421  // String returns the string representation.
 19422  //
 19423  // API parameter values that are decorated as "sensitive" in the API will not
 19424  // be included in the string output. The member name will be present, but the
 19425  // value will be replaced with "sensitive".
 19426  func (s DataSourceErrorInfo) String() string {
 19427  	return awsutil.Prettify(s)
 19428  }
 19429  
 19430  // GoString returns the string representation.
 19431  //
 19432  // API parameter values that are decorated as "sensitive" in the API will not
 19433  // be included in the string output. The member name will be present, but the
 19434  // value will be replaced with "sensitive".
 19435  func (s DataSourceErrorInfo) GoString() string {
 19436  	return s.String()
 19437  }
 19438  
 19439  // SetMessage sets the Message field's value.
 19440  func (s *DataSourceErrorInfo) SetMessage(v string) *DataSourceErrorInfo {
 19441  	s.Message = &v
 19442  	return s
 19443  }
 19444  
 19445  // SetType sets the Type field's value.
 19446  func (s *DataSourceErrorInfo) SetType(v string) *DataSourceErrorInfo {
 19447  	s.Type = &v
 19448  	return s
 19449  }
 19450  
 19451  // The parameters that Amazon QuickSight uses to connect to your underlying
 19452  // data source. This is a variant type structure. For this structure to be valid,
 19453  // only one of the attributes can be non-null.
 19454  type DataSourceParameters struct {
 19455  	_ struct{} `type:"structure"`
 19456  
 19457  	// The parameters for Elasticsearch.
 19458  	AmazonElasticsearchParameters *AmazonElasticsearchParameters `type:"structure"`
 19459  
 19460  	AmazonOpenSearchParameters *AmazonOpenSearchParameters `type:"structure"`
 19461  
 19462  	// The parameters for Amazon Athena.
 19463  	AthenaParameters *AthenaParameters `type:"structure"`
 19464  
 19465  	// The parameters for Amazon Aurora MySQL.
 19466  	AuroraParameters *AuroraParameters `type:"structure"`
 19467  
 19468  	// The parameters for Amazon Aurora.
 19469  	AuroraPostgreSqlParameters *AuroraPostgreSqlParameters `type:"structure"`
 19470  
 19471  	// The parameters for IoT Analytics.
 19472  	AwsIotAnalyticsParameters *AwsIotAnalyticsParameters `type:"structure"`
 19473  
 19474  	// The parameters for Jira.
 19475  	JiraParameters *JiraParameters `type:"structure"`
 19476  
 19477  	// The parameters for MariaDB.
 19478  	MariaDbParameters *MariaDbParameters `type:"structure"`
 19479  
 19480  	// The parameters for MySQL.
 19481  	MySqlParameters *MySqlParameters `type:"structure"`
 19482  
 19483  	// The parameters for Oracle.
 19484  	OracleParameters *OracleParameters `type:"structure"`
 19485  
 19486  	// The parameters for PostgreSQL.
 19487  	PostgreSqlParameters *PostgreSqlParameters `type:"structure"`
 19488  
 19489  	// The parameters for Presto.
 19490  	PrestoParameters *PrestoParameters `type:"structure"`
 19491  
 19492  	// The parameters for Amazon RDS.
 19493  	RdsParameters *RdsParameters `type:"structure"`
 19494  
 19495  	// The parameters for Amazon Redshift.
 19496  	RedshiftParameters *RedshiftParameters `type:"structure"`
 19497  
 19498  	// The parameters for S3.
 19499  	S3Parameters *S3Parameters `type:"structure"`
 19500  
 19501  	// The parameters for ServiceNow.
 19502  	ServiceNowParameters *ServiceNowParameters `type:"structure"`
 19503  
 19504  	// The parameters for Snowflake.
 19505  	SnowflakeParameters *SnowflakeParameters `type:"structure"`
 19506  
 19507  	// The parameters for Spark.
 19508  	SparkParameters *SparkParameters `type:"structure"`
 19509  
 19510  	// The parameters for SQL Server.
 19511  	SqlServerParameters *SqlServerParameters `type:"structure"`
 19512  
 19513  	// The parameters for Teradata.
 19514  	TeradataParameters *TeradataParameters `type:"structure"`
 19515  
 19516  	// The parameters for Twitter.
 19517  	TwitterParameters *TwitterParameters `type:"structure"`
 19518  }
 19519  
 19520  // String returns the string representation.
 19521  //
 19522  // API parameter values that are decorated as "sensitive" in the API will not
 19523  // be included in the string output. The member name will be present, but the
 19524  // value will be replaced with "sensitive".
 19525  func (s DataSourceParameters) String() string {
 19526  	return awsutil.Prettify(s)
 19527  }
 19528  
 19529  // GoString returns the string representation.
 19530  //
 19531  // API parameter values that are decorated as "sensitive" in the API will not
 19532  // be included in the string output. The member name will be present, but the
 19533  // value will be replaced with "sensitive".
 19534  func (s DataSourceParameters) GoString() string {
 19535  	return s.String()
 19536  }
 19537  
 19538  // Validate inspects the fields of the type to determine if they are valid.
 19539  func (s *DataSourceParameters) Validate() error {
 19540  	invalidParams := request.ErrInvalidParams{Context: "DataSourceParameters"}
 19541  	if s.AmazonElasticsearchParameters != nil {
 19542  		if err := s.AmazonElasticsearchParameters.Validate(); err != nil {
 19543  			invalidParams.AddNested("AmazonElasticsearchParameters", err.(request.ErrInvalidParams))
 19544  		}
 19545  	}
 19546  	if s.AmazonOpenSearchParameters != nil {
 19547  		if err := s.AmazonOpenSearchParameters.Validate(); err != nil {
 19548  			invalidParams.AddNested("AmazonOpenSearchParameters", err.(request.ErrInvalidParams))
 19549  		}
 19550  	}
 19551  	if s.AthenaParameters != nil {
 19552  		if err := s.AthenaParameters.Validate(); err != nil {
 19553  			invalidParams.AddNested("AthenaParameters", err.(request.ErrInvalidParams))
 19554  		}
 19555  	}
 19556  	if s.AuroraParameters != nil {
 19557  		if err := s.AuroraParameters.Validate(); err != nil {
 19558  			invalidParams.AddNested("AuroraParameters", err.(request.ErrInvalidParams))
 19559  		}
 19560  	}
 19561  	if s.AuroraPostgreSqlParameters != nil {
 19562  		if err := s.AuroraPostgreSqlParameters.Validate(); err != nil {
 19563  			invalidParams.AddNested("AuroraPostgreSqlParameters", err.(request.ErrInvalidParams))
 19564  		}
 19565  	}
 19566  	if s.AwsIotAnalyticsParameters != nil {
 19567  		if err := s.AwsIotAnalyticsParameters.Validate(); err != nil {
 19568  			invalidParams.AddNested("AwsIotAnalyticsParameters", err.(request.ErrInvalidParams))
 19569  		}
 19570  	}
 19571  	if s.JiraParameters != nil {
 19572  		if err := s.JiraParameters.Validate(); err != nil {
 19573  			invalidParams.AddNested("JiraParameters", err.(request.ErrInvalidParams))
 19574  		}
 19575  	}
 19576  	if s.MariaDbParameters != nil {
 19577  		if err := s.MariaDbParameters.Validate(); err != nil {
 19578  			invalidParams.AddNested("MariaDbParameters", err.(request.ErrInvalidParams))
 19579  		}
 19580  	}
 19581  	if s.MySqlParameters != nil {
 19582  		if err := s.MySqlParameters.Validate(); err != nil {
 19583  			invalidParams.AddNested("MySqlParameters", err.(request.ErrInvalidParams))
 19584  		}
 19585  	}
 19586  	if s.OracleParameters != nil {
 19587  		if err := s.OracleParameters.Validate(); err != nil {
 19588  			invalidParams.AddNested("OracleParameters", err.(request.ErrInvalidParams))
 19589  		}
 19590  	}
 19591  	if s.PostgreSqlParameters != nil {
 19592  		if err := s.PostgreSqlParameters.Validate(); err != nil {
 19593  			invalidParams.AddNested("PostgreSqlParameters", err.(request.ErrInvalidParams))
 19594  		}
 19595  	}
 19596  	if s.PrestoParameters != nil {
 19597  		if err := s.PrestoParameters.Validate(); err != nil {
 19598  			invalidParams.AddNested("PrestoParameters", err.(request.ErrInvalidParams))
 19599  		}
 19600  	}
 19601  	if s.RdsParameters != nil {
 19602  		if err := s.RdsParameters.Validate(); err != nil {
 19603  			invalidParams.AddNested("RdsParameters", err.(request.ErrInvalidParams))
 19604  		}
 19605  	}
 19606  	if s.RedshiftParameters != nil {
 19607  		if err := s.RedshiftParameters.Validate(); err != nil {
 19608  			invalidParams.AddNested("RedshiftParameters", err.(request.ErrInvalidParams))
 19609  		}
 19610  	}
 19611  	if s.S3Parameters != nil {
 19612  		if err := s.S3Parameters.Validate(); err != nil {
 19613  			invalidParams.AddNested("S3Parameters", err.(request.ErrInvalidParams))
 19614  		}
 19615  	}
 19616  	if s.ServiceNowParameters != nil {
 19617  		if err := s.ServiceNowParameters.Validate(); err != nil {
 19618  			invalidParams.AddNested("ServiceNowParameters", err.(request.ErrInvalidParams))
 19619  		}
 19620  	}
 19621  	if s.SnowflakeParameters != nil {
 19622  		if err := s.SnowflakeParameters.Validate(); err != nil {
 19623  			invalidParams.AddNested("SnowflakeParameters", err.(request.ErrInvalidParams))
 19624  		}
 19625  	}
 19626  	if s.SparkParameters != nil {
 19627  		if err := s.SparkParameters.Validate(); err != nil {
 19628  			invalidParams.AddNested("SparkParameters", err.(request.ErrInvalidParams))
 19629  		}
 19630  	}
 19631  	if s.SqlServerParameters != nil {
 19632  		if err := s.SqlServerParameters.Validate(); err != nil {
 19633  			invalidParams.AddNested("SqlServerParameters", err.(request.ErrInvalidParams))
 19634  		}
 19635  	}
 19636  	if s.TeradataParameters != nil {
 19637  		if err := s.TeradataParameters.Validate(); err != nil {
 19638  			invalidParams.AddNested("TeradataParameters", err.(request.ErrInvalidParams))
 19639  		}
 19640  	}
 19641  	if s.TwitterParameters != nil {
 19642  		if err := s.TwitterParameters.Validate(); err != nil {
 19643  			invalidParams.AddNested("TwitterParameters", err.(request.ErrInvalidParams))
 19644  		}
 19645  	}
 19646  
 19647  	if invalidParams.Len() > 0 {
 19648  		return invalidParams
 19649  	}
 19650  	return nil
 19651  }
 19652  
 19653  // SetAmazonElasticsearchParameters sets the AmazonElasticsearchParameters field's value.
 19654  func (s *DataSourceParameters) SetAmazonElasticsearchParameters(v *AmazonElasticsearchParameters) *DataSourceParameters {
 19655  	s.AmazonElasticsearchParameters = v
 19656  	return s
 19657  }
 19658  
 19659  // SetAmazonOpenSearchParameters sets the AmazonOpenSearchParameters field's value.
 19660  func (s *DataSourceParameters) SetAmazonOpenSearchParameters(v *AmazonOpenSearchParameters) *DataSourceParameters {
 19661  	s.AmazonOpenSearchParameters = v
 19662  	return s
 19663  }
 19664  
 19665  // SetAthenaParameters sets the AthenaParameters field's value.
 19666  func (s *DataSourceParameters) SetAthenaParameters(v *AthenaParameters) *DataSourceParameters {
 19667  	s.AthenaParameters = v
 19668  	return s
 19669  }
 19670  
 19671  // SetAuroraParameters sets the AuroraParameters field's value.
 19672  func (s *DataSourceParameters) SetAuroraParameters(v *AuroraParameters) *DataSourceParameters {
 19673  	s.AuroraParameters = v
 19674  	return s
 19675  }
 19676  
 19677  // SetAuroraPostgreSqlParameters sets the AuroraPostgreSqlParameters field's value.
 19678  func (s *DataSourceParameters) SetAuroraPostgreSqlParameters(v *AuroraPostgreSqlParameters) *DataSourceParameters {
 19679  	s.AuroraPostgreSqlParameters = v
 19680  	return s
 19681  }
 19682  
 19683  // SetAwsIotAnalyticsParameters sets the AwsIotAnalyticsParameters field's value.
 19684  func (s *DataSourceParameters) SetAwsIotAnalyticsParameters(v *AwsIotAnalyticsParameters) *DataSourceParameters {
 19685  	s.AwsIotAnalyticsParameters = v
 19686  	return s
 19687  }
 19688  
 19689  // SetJiraParameters sets the JiraParameters field's value.
 19690  func (s *DataSourceParameters) SetJiraParameters(v *JiraParameters) *DataSourceParameters {
 19691  	s.JiraParameters = v
 19692  	return s
 19693  }
 19694  
 19695  // SetMariaDbParameters sets the MariaDbParameters field's value.
 19696  func (s *DataSourceParameters) SetMariaDbParameters(v *MariaDbParameters) *DataSourceParameters {
 19697  	s.MariaDbParameters = v
 19698  	return s
 19699  }
 19700  
 19701  // SetMySqlParameters sets the MySqlParameters field's value.
 19702  func (s *DataSourceParameters) SetMySqlParameters(v *MySqlParameters) *DataSourceParameters {
 19703  	s.MySqlParameters = v
 19704  	return s
 19705  }
 19706  
 19707  // SetOracleParameters sets the OracleParameters field's value.
 19708  func (s *DataSourceParameters) SetOracleParameters(v *OracleParameters) *DataSourceParameters {
 19709  	s.OracleParameters = v
 19710  	return s
 19711  }
 19712  
 19713  // SetPostgreSqlParameters sets the PostgreSqlParameters field's value.
 19714  func (s *DataSourceParameters) SetPostgreSqlParameters(v *PostgreSqlParameters) *DataSourceParameters {
 19715  	s.PostgreSqlParameters = v
 19716  	return s
 19717  }
 19718  
 19719  // SetPrestoParameters sets the PrestoParameters field's value.
 19720  func (s *DataSourceParameters) SetPrestoParameters(v *PrestoParameters) *DataSourceParameters {
 19721  	s.PrestoParameters = v
 19722  	return s
 19723  }
 19724  
 19725  // SetRdsParameters sets the RdsParameters field's value.
 19726  func (s *DataSourceParameters) SetRdsParameters(v *RdsParameters) *DataSourceParameters {
 19727  	s.RdsParameters = v
 19728  	return s
 19729  }
 19730  
 19731  // SetRedshiftParameters sets the RedshiftParameters field's value.
 19732  func (s *DataSourceParameters) SetRedshiftParameters(v *RedshiftParameters) *DataSourceParameters {
 19733  	s.RedshiftParameters = v
 19734  	return s
 19735  }
 19736  
 19737  // SetS3Parameters sets the S3Parameters field's value.
 19738  func (s *DataSourceParameters) SetS3Parameters(v *S3Parameters) *DataSourceParameters {
 19739  	s.S3Parameters = v
 19740  	return s
 19741  }
 19742  
 19743  // SetServiceNowParameters sets the ServiceNowParameters field's value.
 19744  func (s *DataSourceParameters) SetServiceNowParameters(v *ServiceNowParameters) *DataSourceParameters {
 19745  	s.ServiceNowParameters = v
 19746  	return s
 19747  }
 19748  
 19749  // SetSnowflakeParameters sets the SnowflakeParameters field's value.
 19750  func (s *DataSourceParameters) SetSnowflakeParameters(v *SnowflakeParameters) *DataSourceParameters {
 19751  	s.SnowflakeParameters = v
 19752  	return s
 19753  }
 19754  
 19755  // SetSparkParameters sets the SparkParameters field's value.
 19756  func (s *DataSourceParameters) SetSparkParameters(v *SparkParameters) *DataSourceParameters {
 19757  	s.SparkParameters = v
 19758  	return s
 19759  }
 19760  
 19761  // SetSqlServerParameters sets the SqlServerParameters field's value.
 19762  func (s *DataSourceParameters) SetSqlServerParameters(v *SqlServerParameters) *DataSourceParameters {
 19763  	s.SqlServerParameters = v
 19764  	return s
 19765  }
 19766  
 19767  // SetTeradataParameters sets the TeradataParameters field's value.
 19768  func (s *DataSourceParameters) SetTeradataParameters(v *TeradataParameters) *DataSourceParameters {
 19769  	s.TeradataParameters = v
 19770  	return s
 19771  }
 19772  
 19773  // SetTwitterParameters sets the TwitterParameters field's value.
 19774  func (s *DataSourceParameters) SetTwitterParameters(v *TwitterParameters) *DataSourceParameters {
 19775  	s.TwitterParameters = v
 19776  	return s
 19777  }
 19778  
 19779  // A date-time parameter.
 19780  type DateTimeParameter struct {
 19781  	_ struct{} `type:"structure"`
 19782  
 19783  	// A display name for the date-time parameter.
 19784  	//
 19785  	// Name is a required field
 19786  	Name *string `type:"string" required:"true"`
 19787  
 19788  	// The values for the date-time parameter.
 19789  	//
 19790  	// Values is a required field
 19791  	Values []*time.Time `type:"list" required:"true"`
 19792  }
 19793  
 19794  // String returns the string representation.
 19795  //
 19796  // API parameter values that are decorated as "sensitive" in the API will not
 19797  // be included in the string output. The member name will be present, but the
 19798  // value will be replaced with "sensitive".
 19799  func (s DateTimeParameter) String() string {
 19800  	return awsutil.Prettify(s)
 19801  }
 19802  
 19803  // GoString returns the string representation.
 19804  //
 19805  // API parameter values that are decorated as "sensitive" in the API will not
 19806  // be included in the string output. The member name will be present, but the
 19807  // value will be replaced with "sensitive".
 19808  func (s DateTimeParameter) GoString() string {
 19809  	return s.String()
 19810  }
 19811  
 19812  // Validate inspects the fields of the type to determine if they are valid.
 19813  func (s *DateTimeParameter) Validate() error {
 19814  	invalidParams := request.ErrInvalidParams{Context: "DateTimeParameter"}
 19815  	if s.Name == nil {
 19816  		invalidParams.Add(request.NewErrParamRequired("Name"))
 19817  	}
 19818  	if s.Values == nil {
 19819  		invalidParams.Add(request.NewErrParamRequired("Values"))
 19820  	}
 19821  
 19822  	if invalidParams.Len() > 0 {
 19823  		return invalidParams
 19824  	}
 19825  	return nil
 19826  }
 19827  
 19828  // SetName sets the Name field's value.
 19829  func (s *DateTimeParameter) SetName(v string) *DateTimeParameter {
 19830  	s.Name = &v
 19831  	return s
 19832  }
 19833  
 19834  // SetValues sets the Values field's value.
 19835  func (s *DateTimeParameter) SetValues(v []*time.Time) *DateTimeParameter {
 19836  	s.Values = v
 19837  	return s
 19838  }
 19839  
 19840  // A decimal parameter.
 19841  type DecimalParameter struct {
 19842  	_ struct{} `type:"structure"`
 19843  
 19844  	// A display name for the decimal parameter.
 19845  	//
 19846  	// Name is a required field
 19847  	Name *string `type:"string" required:"true"`
 19848  
 19849  	// The values for the decimal parameter.
 19850  	//
 19851  	// Values is a required field
 19852  	Values []*float64 `type:"list" required:"true"`
 19853  }
 19854  
 19855  // String returns the string representation.
 19856  //
 19857  // API parameter values that are decorated as "sensitive" in the API will not
 19858  // be included in the string output. The member name will be present, but the
 19859  // value will be replaced with "sensitive".
 19860  func (s DecimalParameter) String() string {
 19861  	return awsutil.Prettify(s)
 19862  }
 19863  
 19864  // GoString returns the string representation.
 19865  //
 19866  // API parameter values that are decorated as "sensitive" in the API will not
 19867  // be included in the string output. The member name will be present, but the
 19868  // value will be replaced with "sensitive".
 19869  func (s DecimalParameter) GoString() string {
 19870  	return s.String()
 19871  }
 19872  
 19873  // Validate inspects the fields of the type to determine if they are valid.
 19874  func (s *DecimalParameter) Validate() error {
 19875  	invalidParams := request.ErrInvalidParams{Context: "DecimalParameter"}
 19876  	if s.Name == nil {
 19877  		invalidParams.Add(request.NewErrParamRequired("Name"))
 19878  	}
 19879  	if s.Values == nil {
 19880  		invalidParams.Add(request.NewErrParamRequired("Values"))
 19881  	}
 19882  
 19883  	if invalidParams.Len() > 0 {
 19884  		return invalidParams
 19885  	}
 19886  	return nil
 19887  }
 19888  
 19889  // SetName sets the Name field's value.
 19890  func (s *DecimalParameter) SetName(v string) *DecimalParameter {
 19891  	s.Name = &v
 19892  	return s
 19893  }
 19894  
 19895  // SetValues sets the Values field's value.
 19896  func (s *DecimalParameter) SetValues(v []*float64) *DecimalParameter {
 19897  	s.Values = v
 19898  	return s
 19899  }
 19900  
 19901  type DeleteAccountCustomizationInput struct {
 19902  	_ struct{} `type:"structure" nopayload:"true"`
 19903  
 19904  	// The ID for the Amazon Web Services account that you want to delete Amazon
 19905  	// QuickSight customizations from in this Amazon Web Services Region;.
 19906  	//
 19907  	// AwsAccountId is a required field
 19908  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 19909  
 19910  	// The Amazon QuickSight namespace that you're deleting the customizations from.
 19911  	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
 19912  }
 19913  
 19914  // String returns the string representation.
 19915  //
 19916  // API parameter values that are decorated as "sensitive" in the API will not
 19917  // be included in the string output. The member name will be present, but the
 19918  // value will be replaced with "sensitive".
 19919  func (s DeleteAccountCustomizationInput) String() string {
 19920  	return awsutil.Prettify(s)
 19921  }
 19922  
 19923  // GoString returns the string representation.
 19924  //
 19925  // API parameter values that are decorated as "sensitive" in the API will not
 19926  // be included in the string output. The member name will be present, but the
 19927  // value will be replaced with "sensitive".
 19928  func (s DeleteAccountCustomizationInput) GoString() string {
 19929  	return s.String()
 19930  }
 19931  
 19932  // Validate inspects the fields of the type to determine if they are valid.
 19933  func (s *DeleteAccountCustomizationInput) Validate() error {
 19934  	invalidParams := request.ErrInvalidParams{Context: "DeleteAccountCustomizationInput"}
 19935  	if s.AwsAccountId == nil {
 19936  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 19937  	}
 19938  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 19939  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 19940  	}
 19941  
 19942  	if invalidParams.Len() > 0 {
 19943  		return invalidParams
 19944  	}
 19945  	return nil
 19946  }
 19947  
 19948  // SetAwsAccountId sets the AwsAccountId field's value.
 19949  func (s *DeleteAccountCustomizationInput) SetAwsAccountId(v string) *DeleteAccountCustomizationInput {
 19950  	s.AwsAccountId = &v
 19951  	return s
 19952  }
 19953  
 19954  // SetNamespace sets the Namespace field's value.
 19955  func (s *DeleteAccountCustomizationInput) SetNamespace(v string) *DeleteAccountCustomizationInput {
 19956  	s.Namespace = &v
 19957  	return s
 19958  }
 19959  
 19960  type DeleteAccountCustomizationOutput struct {
 19961  	_ struct{} `type:"structure"`
 19962  
 19963  	// The Amazon Web Services request ID for this operation.
 19964  	RequestId *string `type:"string"`
 19965  
 19966  	// The HTTP status of the request.
 19967  	Status *int64 `location:"statusCode" type:"integer"`
 19968  }
 19969  
 19970  // String returns the string representation.
 19971  //
 19972  // API parameter values that are decorated as "sensitive" in the API will not
 19973  // be included in the string output. The member name will be present, but the
 19974  // value will be replaced with "sensitive".
 19975  func (s DeleteAccountCustomizationOutput) String() string {
 19976  	return awsutil.Prettify(s)
 19977  }
 19978  
 19979  // GoString returns the string representation.
 19980  //
 19981  // API parameter values that are decorated as "sensitive" in the API will not
 19982  // be included in the string output. The member name will be present, but the
 19983  // value will be replaced with "sensitive".
 19984  func (s DeleteAccountCustomizationOutput) GoString() string {
 19985  	return s.String()
 19986  }
 19987  
 19988  // SetRequestId sets the RequestId field's value.
 19989  func (s *DeleteAccountCustomizationOutput) SetRequestId(v string) *DeleteAccountCustomizationOutput {
 19990  	s.RequestId = &v
 19991  	return s
 19992  }
 19993  
 19994  // SetStatus sets the Status field's value.
 19995  func (s *DeleteAccountCustomizationOutput) SetStatus(v int64) *DeleteAccountCustomizationOutput {
 19996  	s.Status = &v
 19997  	return s
 19998  }
 19999  
 20000  type DeleteAnalysisInput struct {
 20001  	_ struct{} `type:"structure" nopayload:"true"`
 20002  
 20003  	// The ID of the analysis that you're deleting.
 20004  	//
 20005  	// AnalysisId is a required field
 20006  	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
 20007  
 20008  	// The ID of the Amazon Web Services account where you want to delete an analysis.
 20009  	//
 20010  	// AwsAccountId is a required field
 20011  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 20012  
 20013  	// This option defaults to the value NoForceDeleteWithoutRecovery. To immediately
 20014  	// delete the analysis, add the ForceDeleteWithoutRecovery option. You can't
 20015  	// restore an analysis after it's deleted.
 20016  	ForceDeleteWithoutRecovery *bool `location:"querystring" locationName:"force-delete-without-recovery" type:"boolean"`
 20017  
 20018  	// A value that specifies the number of days that Amazon QuickSight waits before
 20019  	// it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery
 20020  	// option in the same API call. The default value is 30.
 20021  	RecoveryWindowInDays *int64 `location:"querystring" locationName:"recovery-window-in-days" min:"7" type:"long"`
 20022  }
 20023  
 20024  // String returns the string representation.
 20025  //
 20026  // API parameter values that are decorated as "sensitive" in the API will not
 20027  // be included in the string output. The member name will be present, but the
 20028  // value will be replaced with "sensitive".
 20029  func (s DeleteAnalysisInput) String() string {
 20030  	return awsutil.Prettify(s)
 20031  }
 20032  
 20033  // GoString returns the string representation.
 20034  //
 20035  // API parameter values that are decorated as "sensitive" in the API will not
 20036  // be included in the string output. The member name will be present, but the
 20037  // value will be replaced with "sensitive".
 20038  func (s DeleteAnalysisInput) GoString() string {
 20039  	return s.String()
 20040  }
 20041  
 20042  // Validate inspects the fields of the type to determine if they are valid.
 20043  func (s *DeleteAnalysisInput) Validate() error {
 20044  	invalidParams := request.ErrInvalidParams{Context: "DeleteAnalysisInput"}
 20045  	if s.AnalysisId == nil {
 20046  		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
 20047  	}
 20048  	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
 20049  		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
 20050  	}
 20051  	if s.AwsAccountId == nil {
 20052  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 20053  	}
 20054  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 20055  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 20056  	}
 20057  	if s.RecoveryWindowInDays != nil && *s.RecoveryWindowInDays < 7 {
 20058  		invalidParams.Add(request.NewErrParamMinValue("RecoveryWindowInDays", 7))
 20059  	}
 20060  
 20061  	if invalidParams.Len() > 0 {
 20062  		return invalidParams
 20063  	}
 20064  	return nil
 20065  }
 20066  
 20067  // SetAnalysisId sets the AnalysisId field's value.
 20068  func (s *DeleteAnalysisInput) SetAnalysisId(v string) *DeleteAnalysisInput {
 20069  	s.AnalysisId = &v
 20070  	return s
 20071  }
 20072  
 20073  // SetAwsAccountId sets the AwsAccountId field's value.
 20074  func (s *DeleteAnalysisInput) SetAwsAccountId(v string) *DeleteAnalysisInput {
 20075  	s.AwsAccountId = &v
 20076  	return s
 20077  }
 20078  
 20079  // SetForceDeleteWithoutRecovery sets the ForceDeleteWithoutRecovery field's value.
 20080  func (s *DeleteAnalysisInput) SetForceDeleteWithoutRecovery(v bool) *DeleteAnalysisInput {
 20081  	s.ForceDeleteWithoutRecovery = &v
 20082  	return s
 20083  }
 20084  
 20085  // SetRecoveryWindowInDays sets the RecoveryWindowInDays field's value.
 20086  func (s *DeleteAnalysisInput) SetRecoveryWindowInDays(v int64) *DeleteAnalysisInput {
 20087  	s.RecoveryWindowInDays = &v
 20088  	return s
 20089  }
 20090  
 20091  type DeleteAnalysisOutput struct {
 20092  	_ struct{} `type:"structure"`
 20093  
 20094  	// The ID of the deleted analysis.
 20095  	AnalysisId *string `min:"1" type:"string"`
 20096  
 20097  	// The Amazon Resource Name (ARN) of the deleted analysis.
 20098  	Arn *string `type:"string"`
 20099  
 20100  	// The date and time that the analysis is scheduled to be deleted.
 20101  	DeletionTime *time.Time `type:"timestamp"`
 20102  
 20103  	// The Amazon Web Services request ID for this operation.
 20104  	RequestId *string `type:"string"`
 20105  
 20106  	// The HTTP status of the request.
 20107  	Status *int64 `location:"statusCode" type:"integer"`
 20108  }
 20109  
 20110  // String returns the string representation.
 20111  //
 20112  // API parameter values that are decorated as "sensitive" in the API will not
 20113  // be included in the string output. The member name will be present, but the
 20114  // value will be replaced with "sensitive".
 20115  func (s DeleteAnalysisOutput) String() string {
 20116  	return awsutil.Prettify(s)
 20117  }
 20118  
 20119  // GoString returns the string representation.
 20120  //
 20121  // API parameter values that are decorated as "sensitive" in the API will not
 20122  // be included in the string output. The member name will be present, but the
 20123  // value will be replaced with "sensitive".
 20124  func (s DeleteAnalysisOutput) GoString() string {
 20125  	return s.String()
 20126  }
 20127  
 20128  // SetAnalysisId sets the AnalysisId field's value.
 20129  func (s *DeleteAnalysisOutput) SetAnalysisId(v string) *DeleteAnalysisOutput {
 20130  	s.AnalysisId = &v
 20131  	return s
 20132  }
 20133  
 20134  // SetArn sets the Arn field's value.
 20135  func (s *DeleteAnalysisOutput) SetArn(v string) *DeleteAnalysisOutput {
 20136  	s.Arn = &v
 20137  	return s
 20138  }
 20139  
 20140  // SetDeletionTime sets the DeletionTime field's value.
 20141  func (s *DeleteAnalysisOutput) SetDeletionTime(v time.Time) *DeleteAnalysisOutput {
 20142  	s.DeletionTime = &v
 20143  	return s
 20144  }
 20145  
 20146  // SetRequestId sets the RequestId field's value.
 20147  func (s *DeleteAnalysisOutput) SetRequestId(v string) *DeleteAnalysisOutput {
 20148  	s.RequestId = &v
 20149  	return s
 20150  }
 20151  
 20152  // SetStatus sets the Status field's value.
 20153  func (s *DeleteAnalysisOutput) SetStatus(v int64) *DeleteAnalysisOutput {
 20154  	s.Status = &v
 20155  	return s
 20156  }
 20157  
 20158  type DeleteDashboardInput struct {
 20159  	_ struct{} `type:"structure" nopayload:"true"`
 20160  
 20161  	// The ID of the Amazon Web Services account that contains the dashboard that
 20162  	// you're deleting.
 20163  	//
 20164  	// AwsAccountId is a required field
 20165  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 20166  
 20167  	// The ID for the dashboard.
 20168  	//
 20169  	// DashboardId is a required field
 20170  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 20171  
 20172  	// The version number of the dashboard. If the version number property is provided,
 20173  	// only the specified version of the dashboard is deleted.
 20174  	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
 20175  }
 20176  
 20177  // String returns the string representation.
 20178  //
 20179  // API parameter values that are decorated as "sensitive" in the API will not
 20180  // be included in the string output. The member name will be present, but the
 20181  // value will be replaced with "sensitive".
 20182  func (s DeleteDashboardInput) String() string {
 20183  	return awsutil.Prettify(s)
 20184  }
 20185  
 20186  // GoString returns the string representation.
 20187  //
 20188  // API parameter values that are decorated as "sensitive" in the API will not
 20189  // be included in the string output. The member name will be present, but the
 20190  // value will be replaced with "sensitive".
 20191  func (s DeleteDashboardInput) GoString() string {
 20192  	return s.String()
 20193  }
 20194  
 20195  // Validate inspects the fields of the type to determine if they are valid.
 20196  func (s *DeleteDashboardInput) Validate() error {
 20197  	invalidParams := request.ErrInvalidParams{Context: "DeleteDashboardInput"}
 20198  	if s.AwsAccountId == nil {
 20199  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 20200  	}
 20201  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 20202  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 20203  	}
 20204  	if s.DashboardId == nil {
 20205  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 20206  	}
 20207  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 20208  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 20209  	}
 20210  	if s.VersionNumber != nil && *s.VersionNumber < 1 {
 20211  		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
 20212  	}
 20213  
 20214  	if invalidParams.Len() > 0 {
 20215  		return invalidParams
 20216  	}
 20217  	return nil
 20218  }
 20219  
 20220  // SetAwsAccountId sets the AwsAccountId field's value.
 20221  func (s *DeleteDashboardInput) SetAwsAccountId(v string) *DeleteDashboardInput {
 20222  	s.AwsAccountId = &v
 20223  	return s
 20224  }
 20225  
 20226  // SetDashboardId sets the DashboardId field's value.
 20227  func (s *DeleteDashboardInput) SetDashboardId(v string) *DeleteDashboardInput {
 20228  	s.DashboardId = &v
 20229  	return s
 20230  }
 20231  
 20232  // SetVersionNumber sets the VersionNumber field's value.
 20233  func (s *DeleteDashboardInput) SetVersionNumber(v int64) *DeleteDashboardInput {
 20234  	s.VersionNumber = &v
 20235  	return s
 20236  }
 20237  
 20238  type DeleteDashboardOutput struct {
 20239  	_ struct{} `type:"structure"`
 20240  
 20241  	// The Secure Socket Layer (SSL) properties that apply for the resource.
 20242  	Arn *string `type:"string"`
 20243  
 20244  	// The ID of the dashboard.
 20245  	DashboardId *string `min:"1" type:"string"`
 20246  
 20247  	// The Amazon Web Services request ID for this operation.
 20248  	RequestId *string `type:"string"`
 20249  
 20250  	// The HTTP status of the request.
 20251  	Status *int64 `location:"statusCode" type:"integer"`
 20252  }
 20253  
 20254  // String returns the string representation.
 20255  //
 20256  // API parameter values that are decorated as "sensitive" in the API will not
 20257  // be included in the string output. The member name will be present, but the
 20258  // value will be replaced with "sensitive".
 20259  func (s DeleteDashboardOutput) String() string {
 20260  	return awsutil.Prettify(s)
 20261  }
 20262  
 20263  // GoString returns the string representation.
 20264  //
 20265  // API parameter values that are decorated as "sensitive" in the API will not
 20266  // be included in the string output. The member name will be present, but the
 20267  // value will be replaced with "sensitive".
 20268  func (s DeleteDashboardOutput) GoString() string {
 20269  	return s.String()
 20270  }
 20271  
 20272  // SetArn sets the Arn field's value.
 20273  func (s *DeleteDashboardOutput) SetArn(v string) *DeleteDashboardOutput {
 20274  	s.Arn = &v
 20275  	return s
 20276  }
 20277  
 20278  // SetDashboardId sets the DashboardId field's value.
 20279  func (s *DeleteDashboardOutput) SetDashboardId(v string) *DeleteDashboardOutput {
 20280  	s.DashboardId = &v
 20281  	return s
 20282  }
 20283  
 20284  // SetRequestId sets the RequestId field's value.
 20285  func (s *DeleteDashboardOutput) SetRequestId(v string) *DeleteDashboardOutput {
 20286  	s.RequestId = &v
 20287  	return s
 20288  }
 20289  
 20290  // SetStatus sets the Status field's value.
 20291  func (s *DeleteDashboardOutput) SetStatus(v int64) *DeleteDashboardOutput {
 20292  	s.Status = &v
 20293  	return s
 20294  }
 20295  
 20296  type DeleteDataSetInput struct {
 20297  	_ struct{} `type:"structure" nopayload:"true"`
 20298  
 20299  	// The Amazon Web Services account ID.
 20300  	//
 20301  	// AwsAccountId is a required field
 20302  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 20303  
 20304  	// The ID for the dataset that you want to create. This ID is unique per Amazon
 20305  	// Web Services Region; for each Amazon Web Services account.
 20306  	//
 20307  	// DataSetId is a required field
 20308  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 20309  }
 20310  
 20311  // String returns the string representation.
 20312  //
 20313  // API parameter values that are decorated as "sensitive" in the API will not
 20314  // be included in the string output. The member name will be present, but the
 20315  // value will be replaced with "sensitive".
 20316  func (s DeleteDataSetInput) String() string {
 20317  	return awsutil.Prettify(s)
 20318  }
 20319  
 20320  // GoString returns the string representation.
 20321  //
 20322  // API parameter values that are decorated as "sensitive" in the API will not
 20323  // be included in the string output. The member name will be present, but the
 20324  // value will be replaced with "sensitive".
 20325  func (s DeleteDataSetInput) GoString() string {
 20326  	return s.String()
 20327  }
 20328  
 20329  // Validate inspects the fields of the type to determine if they are valid.
 20330  func (s *DeleteDataSetInput) Validate() error {
 20331  	invalidParams := request.ErrInvalidParams{Context: "DeleteDataSetInput"}
 20332  	if s.AwsAccountId == nil {
 20333  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 20334  	}
 20335  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 20336  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 20337  	}
 20338  	if s.DataSetId == nil {
 20339  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 20340  	}
 20341  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 20342  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 20343  	}
 20344  
 20345  	if invalidParams.Len() > 0 {
 20346  		return invalidParams
 20347  	}
 20348  	return nil
 20349  }
 20350  
 20351  // SetAwsAccountId sets the AwsAccountId field's value.
 20352  func (s *DeleteDataSetInput) SetAwsAccountId(v string) *DeleteDataSetInput {
 20353  	s.AwsAccountId = &v
 20354  	return s
 20355  }
 20356  
 20357  // SetDataSetId sets the DataSetId field's value.
 20358  func (s *DeleteDataSetInput) SetDataSetId(v string) *DeleteDataSetInput {
 20359  	s.DataSetId = &v
 20360  	return s
 20361  }
 20362  
 20363  type DeleteDataSetOutput struct {
 20364  	_ struct{} `type:"structure"`
 20365  
 20366  	// The Amazon Resource Name (ARN) of the dataset.
 20367  	Arn *string `type:"string"`
 20368  
 20369  	// The ID for the dataset that you want to create. This ID is unique per Amazon
 20370  	// Web Services Region; for each Amazon Web Services account.
 20371  	DataSetId *string `type:"string"`
 20372  
 20373  	// The Amazon Web Services request ID for this operation.
 20374  	RequestId *string `type:"string"`
 20375  
 20376  	// The HTTP status of the request.
 20377  	Status *int64 `location:"statusCode" type:"integer"`
 20378  }
 20379  
 20380  // String returns the string representation.
 20381  //
 20382  // API parameter values that are decorated as "sensitive" in the API will not
 20383  // be included in the string output. The member name will be present, but the
 20384  // value will be replaced with "sensitive".
 20385  func (s DeleteDataSetOutput) String() string {
 20386  	return awsutil.Prettify(s)
 20387  }
 20388  
 20389  // GoString returns the string representation.
 20390  //
 20391  // API parameter values that are decorated as "sensitive" in the API will not
 20392  // be included in the string output. The member name will be present, but the
 20393  // value will be replaced with "sensitive".
 20394  func (s DeleteDataSetOutput) GoString() string {
 20395  	return s.String()
 20396  }
 20397  
 20398  // SetArn sets the Arn field's value.
 20399  func (s *DeleteDataSetOutput) SetArn(v string) *DeleteDataSetOutput {
 20400  	s.Arn = &v
 20401  	return s
 20402  }
 20403  
 20404  // SetDataSetId sets the DataSetId field's value.
 20405  func (s *DeleteDataSetOutput) SetDataSetId(v string) *DeleteDataSetOutput {
 20406  	s.DataSetId = &v
 20407  	return s
 20408  }
 20409  
 20410  // SetRequestId sets the RequestId field's value.
 20411  func (s *DeleteDataSetOutput) SetRequestId(v string) *DeleteDataSetOutput {
 20412  	s.RequestId = &v
 20413  	return s
 20414  }
 20415  
 20416  // SetStatus sets the Status field's value.
 20417  func (s *DeleteDataSetOutput) SetStatus(v int64) *DeleteDataSetOutput {
 20418  	s.Status = &v
 20419  	return s
 20420  }
 20421  
 20422  type DeleteDataSourceInput struct {
 20423  	_ struct{} `type:"structure" nopayload:"true"`
 20424  
 20425  	// The Amazon Web Services account ID.
 20426  	//
 20427  	// AwsAccountId is a required field
 20428  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 20429  
 20430  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 20431  	// for each Amazon Web Services account.
 20432  	//
 20433  	// DataSourceId is a required field
 20434  	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
 20435  }
 20436  
 20437  // String returns the string representation.
 20438  //
 20439  // API parameter values that are decorated as "sensitive" in the API will not
 20440  // be included in the string output. The member name will be present, but the
 20441  // value will be replaced with "sensitive".
 20442  func (s DeleteDataSourceInput) String() string {
 20443  	return awsutil.Prettify(s)
 20444  }
 20445  
 20446  // GoString returns the string representation.
 20447  //
 20448  // API parameter values that are decorated as "sensitive" in the API will not
 20449  // be included in the string output. The member name will be present, but the
 20450  // value will be replaced with "sensitive".
 20451  func (s DeleteDataSourceInput) GoString() string {
 20452  	return s.String()
 20453  }
 20454  
 20455  // Validate inspects the fields of the type to determine if they are valid.
 20456  func (s *DeleteDataSourceInput) Validate() error {
 20457  	invalidParams := request.ErrInvalidParams{Context: "DeleteDataSourceInput"}
 20458  	if s.AwsAccountId == nil {
 20459  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 20460  	}
 20461  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 20462  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 20463  	}
 20464  	if s.DataSourceId == nil {
 20465  		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
 20466  	}
 20467  	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
 20468  		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
 20469  	}
 20470  
 20471  	if invalidParams.Len() > 0 {
 20472  		return invalidParams
 20473  	}
 20474  	return nil
 20475  }
 20476  
 20477  // SetAwsAccountId sets the AwsAccountId field's value.
 20478  func (s *DeleteDataSourceInput) SetAwsAccountId(v string) *DeleteDataSourceInput {
 20479  	s.AwsAccountId = &v
 20480  	return s
 20481  }
 20482  
 20483  // SetDataSourceId sets the DataSourceId field's value.
 20484  func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput {
 20485  	s.DataSourceId = &v
 20486  	return s
 20487  }
 20488  
 20489  type DeleteDataSourceOutput struct {
 20490  	_ struct{} `type:"structure"`
 20491  
 20492  	// The Amazon Resource Name (ARN) of the data source that you deleted.
 20493  	Arn *string `type:"string"`
 20494  
 20495  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 20496  	// for each Amazon Web Services account.
 20497  	DataSourceId *string `type:"string"`
 20498  
 20499  	// The Amazon Web Services request ID for this operation.
 20500  	RequestId *string `type:"string"`
 20501  
 20502  	// The HTTP status of the request.
 20503  	Status *int64 `location:"statusCode" type:"integer"`
 20504  }
 20505  
 20506  // String returns the string representation.
 20507  //
 20508  // API parameter values that are decorated as "sensitive" in the API will not
 20509  // be included in the string output. The member name will be present, but the
 20510  // value will be replaced with "sensitive".
 20511  func (s DeleteDataSourceOutput) String() string {
 20512  	return awsutil.Prettify(s)
 20513  }
 20514  
 20515  // GoString returns the string representation.
 20516  //
 20517  // API parameter values that are decorated as "sensitive" in the API will not
 20518  // be included in the string output. The member name will be present, but the
 20519  // value will be replaced with "sensitive".
 20520  func (s DeleteDataSourceOutput) GoString() string {
 20521  	return s.String()
 20522  }
 20523  
 20524  // SetArn sets the Arn field's value.
 20525  func (s *DeleteDataSourceOutput) SetArn(v string) *DeleteDataSourceOutput {
 20526  	s.Arn = &v
 20527  	return s
 20528  }
 20529  
 20530  // SetDataSourceId sets the DataSourceId field's value.
 20531  func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput {
 20532  	s.DataSourceId = &v
 20533  	return s
 20534  }
 20535  
 20536  // SetRequestId sets the RequestId field's value.
 20537  func (s *DeleteDataSourceOutput) SetRequestId(v string) *DeleteDataSourceOutput {
 20538  	s.RequestId = &v
 20539  	return s
 20540  }
 20541  
 20542  // SetStatus sets the Status field's value.
 20543  func (s *DeleteDataSourceOutput) SetStatus(v int64) *DeleteDataSourceOutput {
 20544  	s.Status = &v
 20545  	return s
 20546  }
 20547  
 20548  type DeleteFolderInput struct {
 20549  	_ struct{} `type:"structure" nopayload:"true"`
 20550  
 20551  	// The AWS Account ID for the folder.
 20552  	//
 20553  	// AwsAccountId is a required field
 20554  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 20555  
 20556  	// The folder ID.
 20557  	//
 20558  	// FolderId is a required field
 20559  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 20560  }
 20561  
 20562  // String returns the string representation.
 20563  //
 20564  // API parameter values that are decorated as "sensitive" in the API will not
 20565  // be included in the string output. The member name will be present, but the
 20566  // value will be replaced with "sensitive".
 20567  func (s DeleteFolderInput) String() string {
 20568  	return awsutil.Prettify(s)
 20569  }
 20570  
 20571  // GoString returns the string representation.
 20572  //
 20573  // API parameter values that are decorated as "sensitive" in the API will not
 20574  // be included in the string output. The member name will be present, but the
 20575  // value will be replaced with "sensitive".
 20576  func (s DeleteFolderInput) GoString() string {
 20577  	return s.String()
 20578  }
 20579  
 20580  // Validate inspects the fields of the type to determine if they are valid.
 20581  func (s *DeleteFolderInput) Validate() error {
 20582  	invalidParams := request.ErrInvalidParams{Context: "DeleteFolderInput"}
 20583  	if s.AwsAccountId == nil {
 20584  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 20585  	}
 20586  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 20587  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 20588  	}
 20589  	if s.FolderId == nil {
 20590  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 20591  	}
 20592  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 20593  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 20594  	}
 20595  
 20596  	if invalidParams.Len() > 0 {
 20597  		return invalidParams
 20598  	}
 20599  	return nil
 20600  }
 20601  
 20602  // SetAwsAccountId sets the AwsAccountId field's value.
 20603  func (s *DeleteFolderInput) SetAwsAccountId(v string) *DeleteFolderInput {
 20604  	s.AwsAccountId = &v
 20605  	return s
 20606  }
 20607  
 20608  // SetFolderId sets the FolderId field's value.
 20609  func (s *DeleteFolderInput) SetFolderId(v string) *DeleteFolderInput {
 20610  	s.FolderId = &v
 20611  	return s
 20612  }
 20613  
 20614  type DeleteFolderMembershipInput struct {
 20615  	_ struct{} `type:"structure" nopayload:"true"`
 20616  
 20617  	// The AWS Account ID.
 20618  	//
 20619  	// AwsAccountId is a required field
 20620  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 20621  
 20622  	// The Folder ID.
 20623  	//
 20624  	// FolderId is a required field
 20625  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 20626  
 20627  	// The ID of the asset (the dashboard, analysis, or dataset) that you want to
 20628  	// delete.
 20629  	//
 20630  	// MemberId is a required field
 20631  	MemberId *string `location:"uri" locationName:"MemberId" min:"1" type:"string" required:"true"`
 20632  
 20633  	// The type of the member, including DASHBOARD, ANALYSIS, and DATASET
 20634  	//
 20635  	// MemberType is a required field
 20636  	MemberType *string `location:"uri" locationName:"MemberType" type:"string" required:"true" enum:"MemberType"`
 20637  }
 20638  
 20639  // String returns the string representation.
 20640  //
 20641  // API parameter values that are decorated as "sensitive" in the API will not
 20642  // be included in the string output. The member name will be present, but the
 20643  // value will be replaced with "sensitive".
 20644  func (s DeleteFolderMembershipInput) String() string {
 20645  	return awsutil.Prettify(s)
 20646  }
 20647  
 20648  // GoString returns the string representation.
 20649  //
 20650  // API parameter values that are decorated as "sensitive" in the API will not
 20651  // be included in the string output. The member name will be present, but the
 20652  // value will be replaced with "sensitive".
 20653  func (s DeleteFolderMembershipInput) GoString() string {
 20654  	return s.String()
 20655  }
 20656  
 20657  // Validate inspects the fields of the type to determine if they are valid.
 20658  func (s *DeleteFolderMembershipInput) Validate() error {
 20659  	invalidParams := request.ErrInvalidParams{Context: "DeleteFolderMembershipInput"}
 20660  	if s.AwsAccountId == nil {
 20661  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 20662  	}
 20663  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 20664  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 20665  	}
 20666  	if s.FolderId == nil {
 20667  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 20668  	}
 20669  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 20670  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 20671  	}
 20672  	if s.MemberId == nil {
 20673  		invalidParams.Add(request.NewErrParamRequired("MemberId"))
 20674  	}
 20675  	if s.MemberId != nil && len(*s.MemberId) < 1 {
 20676  		invalidParams.Add(request.NewErrParamMinLen("MemberId", 1))
 20677  	}
 20678  	if s.MemberType == nil {
 20679  		invalidParams.Add(request.NewErrParamRequired("MemberType"))
 20680  	}
 20681  	if s.MemberType != nil && len(*s.MemberType) < 1 {
 20682  		invalidParams.Add(request.NewErrParamMinLen("MemberType", 1))
 20683  	}
 20684  
 20685  	if invalidParams.Len() > 0 {
 20686  		return invalidParams
 20687  	}
 20688  	return nil
 20689  }
 20690  
 20691  // SetAwsAccountId sets the AwsAccountId field's value.
 20692  func (s *DeleteFolderMembershipInput) SetAwsAccountId(v string) *DeleteFolderMembershipInput {
 20693  	s.AwsAccountId = &v
 20694  	return s
 20695  }
 20696  
 20697  // SetFolderId sets the FolderId field's value.
 20698  func (s *DeleteFolderMembershipInput) SetFolderId(v string) *DeleteFolderMembershipInput {
 20699  	s.FolderId = &v
 20700  	return s
 20701  }
 20702  
 20703  // SetMemberId sets the MemberId field's value.
 20704  func (s *DeleteFolderMembershipInput) SetMemberId(v string) *DeleteFolderMembershipInput {
 20705  	s.MemberId = &v
 20706  	return s
 20707  }
 20708  
 20709  // SetMemberType sets the MemberType field's value.
 20710  func (s *DeleteFolderMembershipInput) SetMemberType(v string) *DeleteFolderMembershipInput {
 20711  	s.MemberType = &v
 20712  	return s
 20713  }
 20714  
 20715  type DeleteFolderMembershipOutput struct {
 20716  	_ struct{} `type:"structure"`
 20717  
 20718  	// The request ID.
 20719  	RequestId *string `type:"string"`
 20720  
 20721  	// The status of deleting the asset. If succeeded, the status is SC_OK (200).
 20722  	Status *int64 `type:"integer"`
 20723  }
 20724  
 20725  // String returns the string representation.
 20726  //
 20727  // API parameter values that are decorated as "sensitive" in the API will not
 20728  // be included in the string output. The member name will be present, but the
 20729  // value will be replaced with "sensitive".
 20730  func (s DeleteFolderMembershipOutput) String() string {
 20731  	return awsutil.Prettify(s)
 20732  }
 20733  
 20734  // GoString returns the string representation.
 20735  //
 20736  // API parameter values that are decorated as "sensitive" in the API will not
 20737  // be included in the string output. The member name will be present, but the
 20738  // value will be replaced with "sensitive".
 20739  func (s DeleteFolderMembershipOutput) GoString() string {
 20740  	return s.String()
 20741  }
 20742  
 20743  // SetRequestId sets the RequestId field's value.
 20744  func (s *DeleteFolderMembershipOutput) SetRequestId(v string) *DeleteFolderMembershipOutput {
 20745  	s.RequestId = &v
 20746  	return s
 20747  }
 20748  
 20749  // SetStatus sets the Status field's value.
 20750  func (s *DeleteFolderMembershipOutput) SetStatus(v int64) *DeleteFolderMembershipOutput {
 20751  	s.Status = &v
 20752  	return s
 20753  }
 20754  
 20755  type DeleteFolderOutput struct {
 20756  	_ struct{} `type:"structure"`
 20757  
 20758  	// The Amazon Resource Name of the deleted folder.
 20759  	Arn *string `type:"string"`
 20760  
 20761  	// The folder ID.
 20762  	FolderId *string `min:"1" type:"string"`
 20763  
 20764  	// The request ID.
 20765  	RequestId *string `type:"string"`
 20766  
 20767  	// The status of deleting the folder. If succeeded, the status is SC_OK (200).
 20768  	Status *int64 `location:"statusCode" type:"integer"`
 20769  }
 20770  
 20771  // String returns the string representation.
 20772  //
 20773  // API parameter values that are decorated as "sensitive" in the API will not
 20774  // be included in the string output. The member name will be present, but the
 20775  // value will be replaced with "sensitive".
 20776  func (s DeleteFolderOutput) String() string {
 20777  	return awsutil.Prettify(s)
 20778  }
 20779  
 20780  // GoString returns the string representation.
 20781  //
 20782  // API parameter values that are decorated as "sensitive" in the API will not
 20783  // be included in the string output. The member name will be present, but the
 20784  // value will be replaced with "sensitive".
 20785  func (s DeleteFolderOutput) GoString() string {
 20786  	return s.String()
 20787  }
 20788  
 20789  // SetArn sets the Arn field's value.
 20790  func (s *DeleteFolderOutput) SetArn(v string) *DeleteFolderOutput {
 20791  	s.Arn = &v
 20792  	return s
 20793  }
 20794  
 20795  // SetFolderId sets the FolderId field's value.
 20796  func (s *DeleteFolderOutput) SetFolderId(v string) *DeleteFolderOutput {
 20797  	s.FolderId = &v
 20798  	return s
 20799  }
 20800  
 20801  // SetRequestId sets the RequestId field's value.
 20802  func (s *DeleteFolderOutput) SetRequestId(v string) *DeleteFolderOutput {
 20803  	s.RequestId = &v
 20804  	return s
 20805  }
 20806  
 20807  // SetStatus sets the Status field's value.
 20808  func (s *DeleteFolderOutput) SetStatus(v int64) *DeleteFolderOutput {
 20809  	s.Status = &v
 20810  	return s
 20811  }
 20812  
 20813  type DeleteGroupInput struct {
 20814  	_ struct{} `type:"structure" nopayload:"true"`
 20815  
 20816  	// The ID for the Amazon Web Services account that the group is in. Currently,
 20817  	// you use the ID for the Amazon Web Services account that contains your Amazon
 20818  	// QuickSight account.
 20819  	//
 20820  	// AwsAccountId is a required field
 20821  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 20822  
 20823  	// The name of the group that you want to delete.
 20824  	//
 20825  	// GroupName is a required field
 20826  	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
 20827  
 20828  	// The namespace. Currently, you should set this to default.
 20829  	//
 20830  	// Namespace is a required field
 20831  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 20832  }
 20833  
 20834  // String returns the string representation.
 20835  //
 20836  // API parameter values that are decorated as "sensitive" in the API will not
 20837  // be included in the string output. The member name will be present, but the
 20838  // value will be replaced with "sensitive".
 20839  func (s DeleteGroupInput) String() string {
 20840  	return awsutil.Prettify(s)
 20841  }
 20842  
 20843  // GoString returns the string representation.
 20844  //
 20845  // API parameter values that are decorated as "sensitive" in the API will not
 20846  // be included in the string output. The member name will be present, but the
 20847  // value will be replaced with "sensitive".
 20848  func (s DeleteGroupInput) GoString() string {
 20849  	return s.String()
 20850  }
 20851  
 20852  // Validate inspects the fields of the type to determine if they are valid.
 20853  func (s *DeleteGroupInput) Validate() error {
 20854  	invalidParams := request.ErrInvalidParams{Context: "DeleteGroupInput"}
 20855  	if s.AwsAccountId == nil {
 20856  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 20857  	}
 20858  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 20859  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 20860  	}
 20861  	if s.GroupName == nil {
 20862  		invalidParams.Add(request.NewErrParamRequired("GroupName"))
 20863  	}
 20864  	if s.GroupName != nil && len(*s.GroupName) < 1 {
 20865  		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
 20866  	}
 20867  	if s.Namespace == nil {
 20868  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 20869  	}
 20870  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 20871  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 20872  	}
 20873  
 20874  	if invalidParams.Len() > 0 {
 20875  		return invalidParams
 20876  	}
 20877  	return nil
 20878  }
 20879  
 20880  // SetAwsAccountId sets the AwsAccountId field's value.
 20881  func (s *DeleteGroupInput) SetAwsAccountId(v string) *DeleteGroupInput {
 20882  	s.AwsAccountId = &v
 20883  	return s
 20884  }
 20885  
 20886  // SetGroupName sets the GroupName field's value.
 20887  func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput {
 20888  	s.GroupName = &v
 20889  	return s
 20890  }
 20891  
 20892  // SetNamespace sets the Namespace field's value.
 20893  func (s *DeleteGroupInput) SetNamespace(v string) *DeleteGroupInput {
 20894  	s.Namespace = &v
 20895  	return s
 20896  }
 20897  
 20898  type DeleteGroupMembershipInput struct {
 20899  	_ struct{} `type:"structure" nopayload:"true"`
 20900  
 20901  	// The ID for the Amazon Web Services account that the group is in. Currently,
 20902  	// you use the ID for the Amazon Web Services account that contains your Amazon
 20903  	// QuickSight account.
 20904  	//
 20905  	// AwsAccountId is a required field
 20906  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 20907  
 20908  	// The name of the group that you want to delete the user from.
 20909  	//
 20910  	// GroupName is a required field
 20911  	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
 20912  
 20913  	// The name of the user that you want to delete from the group membership.
 20914  	//
 20915  	// MemberName is a required field
 20916  	MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
 20917  
 20918  	// The namespace. Currently, you should set this to default.
 20919  	//
 20920  	// Namespace is a required field
 20921  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 20922  }
 20923  
 20924  // String returns the string representation.
 20925  //
 20926  // API parameter values that are decorated as "sensitive" in the API will not
 20927  // be included in the string output. The member name will be present, but the
 20928  // value will be replaced with "sensitive".
 20929  func (s DeleteGroupMembershipInput) String() string {
 20930  	return awsutil.Prettify(s)
 20931  }
 20932  
 20933  // GoString returns the string representation.
 20934  //
 20935  // API parameter values that are decorated as "sensitive" in the API will not
 20936  // be included in the string output. The member name will be present, but the
 20937  // value will be replaced with "sensitive".
 20938  func (s DeleteGroupMembershipInput) GoString() string {
 20939  	return s.String()
 20940  }
 20941  
 20942  // Validate inspects the fields of the type to determine if they are valid.
 20943  func (s *DeleteGroupMembershipInput) Validate() error {
 20944  	invalidParams := request.ErrInvalidParams{Context: "DeleteGroupMembershipInput"}
 20945  	if s.AwsAccountId == nil {
 20946  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 20947  	}
 20948  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 20949  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 20950  	}
 20951  	if s.GroupName == nil {
 20952  		invalidParams.Add(request.NewErrParamRequired("GroupName"))
 20953  	}
 20954  	if s.GroupName != nil && len(*s.GroupName) < 1 {
 20955  		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
 20956  	}
 20957  	if s.MemberName == nil {
 20958  		invalidParams.Add(request.NewErrParamRequired("MemberName"))
 20959  	}
 20960  	if s.MemberName != nil && len(*s.MemberName) < 1 {
 20961  		invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
 20962  	}
 20963  	if s.Namespace == nil {
 20964  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 20965  	}
 20966  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 20967  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 20968  	}
 20969  
 20970  	if invalidParams.Len() > 0 {
 20971  		return invalidParams
 20972  	}
 20973  	return nil
 20974  }
 20975  
 20976  // SetAwsAccountId sets the AwsAccountId field's value.
 20977  func (s *DeleteGroupMembershipInput) SetAwsAccountId(v string) *DeleteGroupMembershipInput {
 20978  	s.AwsAccountId = &v
 20979  	return s
 20980  }
 20981  
 20982  // SetGroupName sets the GroupName field's value.
 20983  func (s *DeleteGroupMembershipInput) SetGroupName(v string) *DeleteGroupMembershipInput {
 20984  	s.GroupName = &v
 20985  	return s
 20986  }
 20987  
 20988  // SetMemberName sets the MemberName field's value.
 20989  func (s *DeleteGroupMembershipInput) SetMemberName(v string) *DeleteGroupMembershipInput {
 20990  	s.MemberName = &v
 20991  	return s
 20992  }
 20993  
 20994  // SetNamespace sets the Namespace field's value.
 20995  func (s *DeleteGroupMembershipInput) SetNamespace(v string) *DeleteGroupMembershipInput {
 20996  	s.Namespace = &v
 20997  	return s
 20998  }
 20999  
 21000  type DeleteGroupMembershipOutput struct {
 21001  	_ struct{} `type:"structure"`
 21002  
 21003  	// The Amazon Web Services request ID for this operation.
 21004  	RequestId *string `type:"string"`
 21005  
 21006  	// The HTTP status of the request.
 21007  	Status *int64 `location:"statusCode" type:"integer"`
 21008  }
 21009  
 21010  // String returns the string representation.
 21011  //
 21012  // API parameter values that are decorated as "sensitive" in the API will not
 21013  // be included in the string output. The member name will be present, but the
 21014  // value will be replaced with "sensitive".
 21015  func (s DeleteGroupMembershipOutput) String() string {
 21016  	return awsutil.Prettify(s)
 21017  }
 21018  
 21019  // GoString returns the string representation.
 21020  //
 21021  // API parameter values that are decorated as "sensitive" in the API will not
 21022  // be included in the string output. The member name will be present, but the
 21023  // value will be replaced with "sensitive".
 21024  func (s DeleteGroupMembershipOutput) GoString() string {
 21025  	return s.String()
 21026  }
 21027  
 21028  // SetRequestId sets the RequestId field's value.
 21029  func (s *DeleteGroupMembershipOutput) SetRequestId(v string) *DeleteGroupMembershipOutput {
 21030  	s.RequestId = &v
 21031  	return s
 21032  }
 21033  
 21034  // SetStatus sets the Status field's value.
 21035  func (s *DeleteGroupMembershipOutput) SetStatus(v int64) *DeleteGroupMembershipOutput {
 21036  	s.Status = &v
 21037  	return s
 21038  }
 21039  
 21040  type DeleteGroupOutput struct {
 21041  	_ struct{} `type:"structure"`
 21042  
 21043  	// The Amazon Web Services request ID for this operation.
 21044  	RequestId *string `type:"string"`
 21045  
 21046  	// The HTTP status of the request.
 21047  	Status *int64 `location:"statusCode" type:"integer"`
 21048  }
 21049  
 21050  // String returns the string representation.
 21051  //
 21052  // API parameter values that are decorated as "sensitive" in the API will not
 21053  // be included in the string output. The member name will be present, but the
 21054  // value will be replaced with "sensitive".
 21055  func (s DeleteGroupOutput) String() string {
 21056  	return awsutil.Prettify(s)
 21057  }
 21058  
 21059  // GoString returns the string representation.
 21060  //
 21061  // API parameter values that are decorated as "sensitive" in the API will not
 21062  // be included in the string output. The member name will be present, but the
 21063  // value will be replaced with "sensitive".
 21064  func (s DeleteGroupOutput) GoString() string {
 21065  	return s.String()
 21066  }
 21067  
 21068  // SetRequestId sets the RequestId field's value.
 21069  func (s *DeleteGroupOutput) SetRequestId(v string) *DeleteGroupOutput {
 21070  	s.RequestId = &v
 21071  	return s
 21072  }
 21073  
 21074  // SetStatus sets the Status field's value.
 21075  func (s *DeleteGroupOutput) SetStatus(v int64) *DeleteGroupOutput {
 21076  	s.Status = &v
 21077  	return s
 21078  }
 21079  
 21080  type DeleteIAMPolicyAssignmentInput struct {
 21081  	_ struct{} `type:"structure" nopayload:"true"`
 21082  
 21083  	// The name of the assignment.
 21084  	//
 21085  	// AssignmentName is a required field
 21086  	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
 21087  
 21088  	// The Amazon Web Services account ID where you want to delete the IAMpolicy
 21089  	// assignment.
 21090  	//
 21091  	// AwsAccountId is a required field
 21092  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 21093  
 21094  	// The namespace that contains the assignment.
 21095  	//
 21096  	// Namespace is a required field
 21097  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 21098  }
 21099  
 21100  // String returns the string representation.
 21101  //
 21102  // API parameter values that are decorated as "sensitive" in the API will not
 21103  // be included in the string output. The member name will be present, but the
 21104  // value will be replaced with "sensitive".
 21105  func (s DeleteIAMPolicyAssignmentInput) String() string {
 21106  	return awsutil.Prettify(s)
 21107  }
 21108  
 21109  // GoString returns the string representation.
 21110  //
 21111  // API parameter values that are decorated as "sensitive" in the API will not
 21112  // be included in the string output. The member name will be present, but the
 21113  // value will be replaced with "sensitive".
 21114  func (s DeleteIAMPolicyAssignmentInput) GoString() string {
 21115  	return s.String()
 21116  }
 21117  
 21118  // Validate inspects the fields of the type to determine if they are valid.
 21119  func (s *DeleteIAMPolicyAssignmentInput) Validate() error {
 21120  	invalidParams := request.ErrInvalidParams{Context: "DeleteIAMPolicyAssignmentInput"}
 21121  	if s.AssignmentName == nil {
 21122  		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
 21123  	}
 21124  	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
 21125  		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
 21126  	}
 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  
 21140  	if invalidParams.Len() > 0 {
 21141  		return invalidParams
 21142  	}
 21143  	return nil
 21144  }
 21145  
 21146  // SetAssignmentName sets the AssignmentName field's value.
 21147  func (s *DeleteIAMPolicyAssignmentInput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentInput {
 21148  	s.AssignmentName = &v
 21149  	return s
 21150  }
 21151  
 21152  // SetAwsAccountId sets the AwsAccountId field's value.
 21153  func (s *DeleteIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DeleteIAMPolicyAssignmentInput {
 21154  	s.AwsAccountId = &v
 21155  	return s
 21156  }
 21157  
 21158  // SetNamespace sets the Namespace field's value.
 21159  func (s *DeleteIAMPolicyAssignmentInput) SetNamespace(v string) *DeleteIAMPolicyAssignmentInput {
 21160  	s.Namespace = &v
 21161  	return s
 21162  }
 21163  
 21164  type DeleteIAMPolicyAssignmentOutput struct {
 21165  	_ struct{} `type:"structure"`
 21166  
 21167  	// The name of the assignment.
 21168  	AssignmentName *string `min:"1" type:"string"`
 21169  
 21170  	// The Amazon Web Services request ID for this operation.
 21171  	RequestId *string `type:"string"`
 21172  
 21173  	// The HTTP status of the request.
 21174  	Status *int64 `location:"statusCode" type:"integer"`
 21175  }
 21176  
 21177  // String returns the string representation.
 21178  //
 21179  // API parameter values that are decorated as "sensitive" in the API will not
 21180  // be included in the string output. The member name will be present, but the
 21181  // value will be replaced with "sensitive".
 21182  func (s DeleteIAMPolicyAssignmentOutput) String() string {
 21183  	return awsutil.Prettify(s)
 21184  }
 21185  
 21186  // GoString returns the string representation.
 21187  //
 21188  // API parameter values that are decorated as "sensitive" in the API will not
 21189  // be included in the string output. The member name will be present, but the
 21190  // value will be replaced with "sensitive".
 21191  func (s DeleteIAMPolicyAssignmentOutput) GoString() string {
 21192  	return s.String()
 21193  }
 21194  
 21195  // SetAssignmentName sets the AssignmentName field's value.
 21196  func (s *DeleteIAMPolicyAssignmentOutput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentOutput {
 21197  	s.AssignmentName = &v
 21198  	return s
 21199  }
 21200  
 21201  // SetRequestId sets the RequestId field's value.
 21202  func (s *DeleteIAMPolicyAssignmentOutput) SetRequestId(v string) *DeleteIAMPolicyAssignmentOutput {
 21203  	s.RequestId = &v
 21204  	return s
 21205  }
 21206  
 21207  // SetStatus sets the Status field's value.
 21208  func (s *DeleteIAMPolicyAssignmentOutput) SetStatus(v int64) *DeleteIAMPolicyAssignmentOutput {
 21209  	s.Status = &v
 21210  	return s
 21211  }
 21212  
 21213  type DeleteNamespaceInput struct {
 21214  	_ struct{} `type:"structure" nopayload:"true"`
 21215  
 21216  	// The ID for the Amazon Web Services account that you want to delete the Amazon
 21217  	// QuickSight namespace from.
 21218  	//
 21219  	// AwsAccountId is a required field
 21220  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 21221  
 21222  	// The namespace that you want to delete.
 21223  	//
 21224  	// Namespace is a required field
 21225  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 21226  }
 21227  
 21228  // String returns the string representation.
 21229  //
 21230  // API parameter values that are decorated as "sensitive" in the API will not
 21231  // be included in the string output. The member name will be present, but the
 21232  // value will be replaced with "sensitive".
 21233  func (s DeleteNamespaceInput) String() string {
 21234  	return awsutil.Prettify(s)
 21235  }
 21236  
 21237  // GoString returns the string representation.
 21238  //
 21239  // API parameter values that are decorated as "sensitive" in the API will not
 21240  // be included in the string output. The member name will be present, but the
 21241  // value will be replaced with "sensitive".
 21242  func (s DeleteNamespaceInput) GoString() string {
 21243  	return s.String()
 21244  }
 21245  
 21246  // Validate inspects the fields of the type to determine if they are valid.
 21247  func (s *DeleteNamespaceInput) Validate() error {
 21248  	invalidParams := request.ErrInvalidParams{Context: "DeleteNamespaceInput"}
 21249  	if s.AwsAccountId == nil {
 21250  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 21251  	}
 21252  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 21253  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 21254  	}
 21255  	if s.Namespace == nil {
 21256  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 21257  	}
 21258  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 21259  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 21260  	}
 21261  
 21262  	if invalidParams.Len() > 0 {
 21263  		return invalidParams
 21264  	}
 21265  	return nil
 21266  }
 21267  
 21268  // SetAwsAccountId sets the AwsAccountId field's value.
 21269  func (s *DeleteNamespaceInput) SetAwsAccountId(v string) *DeleteNamespaceInput {
 21270  	s.AwsAccountId = &v
 21271  	return s
 21272  }
 21273  
 21274  // SetNamespace sets the Namespace field's value.
 21275  func (s *DeleteNamespaceInput) SetNamespace(v string) *DeleteNamespaceInput {
 21276  	s.Namespace = &v
 21277  	return s
 21278  }
 21279  
 21280  type DeleteNamespaceOutput struct {
 21281  	_ struct{} `type:"structure"`
 21282  
 21283  	// The Amazon Web Services request ID for this operation.
 21284  	RequestId *string `type:"string"`
 21285  
 21286  	// The HTTP status of the request.
 21287  	Status *int64 `location:"statusCode" type:"integer"`
 21288  }
 21289  
 21290  // String returns the string representation.
 21291  //
 21292  // API parameter values that are decorated as "sensitive" in the API will not
 21293  // be included in the string output. The member name will be present, but the
 21294  // value will be replaced with "sensitive".
 21295  func (s DeleteNamespaceOutput) String() string {
 21296  	return awsutil.Prettify(s)
 21297  }
 21298  
 21299  // GoString returns the string representation.
 21300  //
 21301  // API parameter values that are decorated as "sensitive" in the API will not
 21302  // be included in the string output. The member name will be present, but the
 21303  // value will be replaced with "sensitive".
 21304  func (s DeleteNamespaceOutput) GoString() string {
 21305  	return s.String()
 21306  }
 21307  
 21308  // SetRequestId sets the RequestId field's value.
 21309  func (s *DeleteNamespaceOutput) SetRequestId(v string) *DeleteNamespaceOutput {
 21310  	s.RequestId = &v
 21311  	return s
 21312  }
 21313  
 21314  // SetStatus sets the Status field's value.
 21315  func (s *DeleteNamespaceOutput) SetStatus(v int64) *DeleteNamespaceOutput {
 21316  	s.Status = &v
 21317  	return s
 21318  }
 21319  
 21320  type DeleteTemplateAliasInput struct {
 21321  	_ struct{} `type:"structure" nopayload:"true"`
 21322  
 21323  	// The name for the template alias. To delete a specific alias, you delete the
 21324  	// version that the alias points to. You can specify the alias name, or specify
 21325  	// the latest version of the template by providing the keyword $LATEST in the
 21326  	// AliasName parameter.
 21327  	//
 21328  	// AliasName is a required field
 21329  	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
 21330  
 21331  	// The ID of the Amazon Web Services account that contains the item to delete.
 21332  	//
 21333  	// AwsAccountId is a required field
 21334  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 21335  
 21336  	// The ID for the template that the specified alias is for.
 21337  	//
 21338  	// TemplateId is a required field
 21339  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 21340  }
 21341  
 21342  // String returns the string representation.
 21343  //
 21344  // API parameter values that are decorated as "sensitive" in the API will not
 21345  // be included in the string output. The member name will be present, but the
 21346  // value will be replaced with "sensitive".
 21347  func (s DeleteTemplateAliasInput) String() string {
 21348  	return awsutil.Prettify(s)
 21349  }
 21350  
 21351  // GoString returns the string representation.
 21352  //
 21353  // API parameter values that are decorated as "sensitive" in the API will not
 21354  // be included in the string output. The member name will be present, but the
 21355  // value will be replaced with "sensitive".
 21356  func (s DeleteTemplateAliasInput) GoString() string {
 21357  	return s.String()
 21358  }
 21359  
 21360  // Validate inspects the fields of the type to determine if they are valid.
 21361  func (s *DeleteTemplateAliasInput) Validate() error {
 21362  	invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateAliasInput"}
 21363  	if s.AliasName == nil {
 21364  		invalidParams.Add(request.NewErrParamRequired("AliasName"))
 21365  	}
 21366  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 21367  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 21368  	}
 21369  	if s.AwsAccountId == nil {
 21370  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 21371  	}
 21372  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 21373  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 21374  	}
 21375  	if s.TemplateId == nil {
 21376  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 21377  	}
 21378  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 21379  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 21380  	}
 21381  
 21382  	if invalidParams.Len() > 0 {
 21383  		return invalidParams
 21384  	}
 21385  	return nil
 21386  }
 21387  
 21388  // SetAliasName sets the AliasName field's value.
 21389  func (s *DeleteTemplateAliasInput) SetAliasName(v string) *DeleteTemplateAliasInput {
 21390  	s.AliasName = &v
 21391  	return s
 21392  }
 21393  
 21394  // SetAwsAccountId sets the AwsAccountId field's value.
 21395  func (s *DeleteTemplateAliasInput) SetAwsAccountId(v string) *DeleteTemplateAliasInput {
 21396  	s.AwsAccountId = &v
 21397  	return s
 21398  }
 21399  
 21400  // SetTemplateId sets the TemplateId field's value.
 21401  func (s *DeleteTemplateAliasInput) SetTemplateId(v string) *DeleteTemplateAliasInput {
 21402  	s.TemplateId = &v
 21403  	return s
 21404  }
 21405  
 21406  type DeleteTemplateAliasOutput struct {
 21407  	_ struct{} `type:"structure"`
 21408  
 21409  	// The name for the template alias.
 21410  	AliasName *string `min:"1" type:"string"`
 21411  
 21412  	// The Amazon Resource Name (ARN) of the template you want to delete.
 21413  	Arn *string `type:"string"`
 21414  
 21415  	// The Amazon Web Services request ID for this operation.
 21416  	RequestId *string `type:"string"`
 21417  
 21418  	// The HTTP status of the request.
 21419  	Status *int64 `location:"statusCode" type:"integer"`
 21420  
 21421  	// An ID for the template associated with the deletion.
 21422  	TemplateId *string `min:"1" type:"string"`
 21423  }
 21424  
 21425  // String returns the string representation.
 21426  //
 21427  // API parameter values that are decorated as "sensitive" in the API will not
 21428  // be included in the string output. The member name will be present, but the
 21429  // value will be replaced with "sensitive".
 21430  func (s DeleteTemplateAliasOutput) String() string {
 21431  	return awsutil.Prettify(s)
 21432  }
 21433  
 21434  // GoString returns the string representation.
 21435  //
 21436  // API parameter values that are decorated as "sensitive" in the API will not
 21437  // be included in the string output. The member name will be present, but the
 21438  // value will be replaced with "sensitive".
 21439  func (s DeleteTemplateAliasOutput) GoString() string {
 21440  	return s.String()
 21441  }
 21442  
 21443  // SetAliasName sets the AliasName field's value.
 21444  func (s *DeleteTemplateAliasOutput) SetAliasName(v string) *DeleteTemplateAliasOutput {
 21445  	s.AliasName = &v
 21446  	return s
 21447  }
 21448  
 21449  // SetArn sets the Arn field's value.
 21450  func (s *DeleteTemplateAliasOutput) SetArn(v string) *DeleteTemplateAliasOutput {
 21451  	s.Arn = &v
 21452  	return s
 21453  }
 21454  
 21455  // SetRequestId sets the RequestId field's value.
 21456  func (s *DeleteTemplateAliasOutput) SetRequestId(v string) *DeleteTemplateAliasOutput {
 21457  	s.RequestId = &v
 21458  	return s
 21459  }
 21460  
 21461  // SetStatus sets the Status field's value.
 21462  func (s *DeleteTemplateAliasOutput) SetStatus(v int64) *DeleteTemplateAliasOutput {
 21463  	s.Status = &v
 21464  	return s
 21465  }
 21466  
 21467  // SetTemplateId sets the TemplateId field's value.
 21468  func (s *DeleteTemplateAliasOutput) SetTemplateId(v string) *DeleteTemplateAliasOutput {
 21469  	s.TemplateId = &v
 21470  	return s
 21471  }
 21472  
 21473  type DeleteTemplateInput struct {
 21474  	_ struct{} `type:"structure" nopayload:"true"`
 21475  
 21476  	// The ID of the Amazon Web Services account that contains the template that
 21477  	// you're deleting.
 21478  	//
 21479  	// AwsAccountId is a required field
 21480  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 21481  
 21482  	// An ID for the template you want to delete.
 21483  	//
 21484  	// TemplateId is a required field
 21485  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 21486  
 21487  	// Specifies the version of the template that you want to delete. If you don't
 21488  	// provide a version number, DeleteTemplate deletes all versions of the template.
 21489  	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
 21490  }
 21491  
 21492  // String returns the string representation.
 21493  //
 21494  // API parameter values that are decorated as "sensitive" in the API will not
 21495  // be included in the string output. The member name will be present, but the
 21496  // value will be replaced with "sensitive".
 21497  func (s DeleteTemplateInput) String() string {
 21498  	return awsutil.Prettify(s)
 21499  }
 21500  
 21501  // GoString returns the string representation.
 21502  //
 21503  // API parameter values that are decorated as "sensitive" in the API will not
 21504  // be included in the string output. The member name will be present, but the
 21505  // value will be replaced with "sensitive".
 21506  func (s DeleteTemplateInput) GoString() string {
 21507  	return s.String()
 21508  }
 21509  
 21510  // Validate inspects the fields of the type to determine if they are valid.
 21511  func (s *DeleteTemplateInput) Validate() error {
 21512  	invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateInput"}
 21513  	if s.AwsAccountId == nil {
 21514  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 21515  	}
 21516  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 21517  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 21518  	}
 21519  	if s.TemplateId == nil {
 21520  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 21521  	}
 21522  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 21523  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 21524  	}
 21525  	if s.VersionNumber != nil && *s.VersionNumber < 1 {
 21526  		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
 21527  	}
 21528  
 21529  	if invalidParams.Len() > 0 {
 21530  		return invalidParams
 21531  	}
 21532  	return nil
 21533  }
 21534  
 21535  // SetAwsAccountId sets the AwsAccountId field's value.
 21536  func (s *DeleteTemplateInput) SetAwsAccountId(v string) *DeleteTemplateInput {
 21537  	s.AwsAccountId = &v
 21538  	return s
 21539  }
 21540  
 21541  // SetTemplateId sets the TemplateId field's value.
 21542  func (s *DeleteTemplateInput) SetTemplateId(v string) *DeleteTemplateInput {
 21543  	s.TemplateId = &v
 21544  	return s
 21545  }
 21546  
 21547  // SetVersionNumber sets the VersionNumber field's value.
 21548  func (s *DeleteTemplateInput) SetVersionNumber(v int64) *DeleteTemplateInput {
 21549  	s.VersionNumber = &v
 21550  	return s
 21551  }
 21552  
 21553  type DeleteTemplateOutput struct {
 21554  	_ struct{} `type:"structure"`
 21555  
 21556  	// The Amazon Resource Name (ARN) of the resource.
 21557  	Arn *string `type:"string"`
 21558  
 21559  	// The Amazon Web Services request ID for this operation.
 21560  	RequestId *string `type:"string"`
 21561  
 21562  	// The HTTP status of the request.
 21563  	Status *int64 `location:"statusCode" type:"integer"`
 21564  
 21565  	// An ID for the template.
 21566  	TemplateId *string `min:"1" type:"string"`
 21567  }
 21568  
 21569  // String returns the string representation.
 21570  //
 21571  // API parameter values that are decorated as "sensitive" in the API will not
 21572  // be included in the string output. The member name will be present, but the
 21573  // value will be replaced with "sensitive".
 21574  func (s DeleteTemplateOutput) String() string {
 21575  	return awsutil.Prettify(s)
 21576  }
 21577  
 21578  // GoString returns the string representation.
 21579  //
 21580  // API parameter values that are decorated as "sensitive" in the API will not
 21581  // be included in the string output. The member name will be present, but the
 21582  // value will be replaced with "sensitive".
 21583  func (s DeleteTemplateOutput) GoString() string {
 21584  	return s.String()
 21585  }
 21586  
 21587  // SetArn sets the Arn field's value.
 21588  func (s *DeleteTemplateOutput) SetArn(v string) *DeleteTemplateOutput {
 21589  	s.Arn = &v
 21590  	return s
 21591  }
 21592  
 21593  // SetRequestId sets the RequestId field's value.
 21594  func (s *DeleteTemplateOutput) SetRequestId(v string) *DeleteTemplateOutput {
 21595  	s.RequestId = &v
 21596  	return s
 21597  }
 21598  
 21599  // SetStatus sets the Status field's value.
 21600  func (s *DeleteTemplateOutput) SetStatus(v int64) *DeleteTemplateOutput {
 21601  	s.Status = &v
 21602  	return s
 21603  }
 21604  
 21605  // SetTemplateId sets the TemplateId field's value.
 21606  func (s *DeleteTemplateOutput) SetTemplateId(v string) *DeleteTemplateOutput {
 21607  	s.TemplateId = &v
 21608  	return s
 21609  }
 21610  
 21611  type DeleteThemeAliasInput struct {
 21612  	_ struct{} `type:"structure" nopayload:"true"`
 21613  
 21614  	// The unique name for the theme alias to delete.
 21615  	//
 21616  	// AliasName is a required field
 21617  	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
 21618  
 21619  	// The ID of the Amazon Web Services account that contains the theme alias to
 21620  	// delete.
 21621  	//
 21622  	// AwsAccountId is a required field
 21623  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 21624  
 21625  	// The ID for the theme that the specified alias is for.
 21626  	//
 21627  	// ThemeId is a required field
 21628  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 21629  }
 21630  
 21631  // String returns the string representation.
 21632  //
 21633  // API parameter values that are decorated as "sensitive" in the API will not
 21634  // be included in the string output. The member name will be present, but the
 21635  // value will be replaced with "sensitive".
 21636  func (s DeleteThemeAliasInput) String() string {
 21637  	return awsutil.Prettify(s)
 21638  }
 21639  
 21640  // GoString returns the string representation.
 21641  //
 21642  // API parameter values that are decorated as "sensitive" in the API will not
 21643  // be included in the string output. The member name will be present, but the
 21644  // value will be replaced with "sensitive".
 21645  func (s DeleteThemeAliasInput) GoString() string {
 21646  	return s.String()
 21647  }
 21648  
 21649  // Validate inspects the fields of the type to determine if they are valid.
 21650  func (s *DeleteThemeAliasInput) Validate() error {
 21651  	invalidParams := request.ErrInvalidParams{Context: "DeleteThemeAliasInput"}
 21652  	if s.AliasName == nil {
 21653  		invalidParams.Add(request.NewErrParamRequired("AliasName"))
 21654  	}
 21655  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 21656  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 21657  	}
 21658  	if s.AwsAccountId == nil {
 21659  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 21660  	}
 21661  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 21662  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 21663  	}
 21664  	if s.ThemeId == nil {
 21665  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 21666  	}
 21667  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 21668  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 21669  	}
 21670  
 21671  	if invalidParams.Len() > 0 {
 21672  		return invalidParams
 21673  	}
 21674  	return nil
 21675  }
 21676  
 21677  // SetAliasName sets the AliasName field's value.
 21678  func (s *DeleteThemeAliasInput) SetAliasName(v string) *DeleteThemeAliasInput {
 21679  	s.AliasName = &v
 21680  	return s
 21681  }
 21682  
 21683  // SetAwsAccountId sets the AwsAccountId field's value.
 21684  func (s *DeleteThemeAliasInput) SetAwsAccountId(v string) *DeleteThemeAliasInput {
 21685  	s.AwsAccountId = &v
 21686  	return s
 21687  }
 21688  
 21689  // SetThemeId sets the ThemeId field's value.
 21690  func (s *DeleteThemeAliasInput) SetThemeId(v string) *DeleteThemeAliasInput {
 21691  	s.ThemeId = &v
 21692  	return s
 21693  }
 21694  
 21695  type DeleteThemeAliasOutput struct {
 21696  	_ struct{} `type:"structure"`
 21697  
 21698  	// The name for the theme alias.
 21699  	AliasName *string `min:"1" type:"string"`
 21700  
 21701  	// The Amazon Resource Name (ARN) of the theme resource using the deleted alias.
 21702  	Arn *string `type:"string"`
 21703  
 21704  	// The Amazon Web Services request ID for this operation.
 21705  	RequestId *string `type:"string"`
 21706  
 21707  	// The HTTP status of the request.
 21708  	Status *int64 `location:"statusCode" type:"integer"`
 21709  
 21710  	// An ID for the theme associated with the deletion.
 21711  	ThemeId *string `min:"1" type:"string"`
 21712  }
 21713  
 21714  // String returns the string representation.
 21715  //
 21716  // API parameter values that are decorated as "sensitive" in the API will not
 21717  // be included in the string output. The member name will be present, but the
 21718  // value will be replaced with "sensitive".
 21719  func (s DeleteThemeAliasOutput) String() string {
 21720  	return awsutil.Prettify(s)
 21721  }
 21722  
 21723  // GoString returns the string representation.
 21724  //
 21725  // API parameter values that are decorated as "sensitive" in the API will not
 21726  // be included in the string output. The member name will be present, but the
 21727  // value will be replaced with "sensitive".
 21728  func (s DeleteThemeAliasOutput) GoString() string {
 21729  	return s.String()
 21730  }
 21731  
 21732  // SetAliasName sets the AliasName field's value.
 21733  func (s *DeleteThemeAliasOutput) SetAliasName(v string) *DeleteThemeAliasOutput {
 21734  	s.AliasName = &v
 21735  	return s
 21736  }
 21737  
 21738  // SetArn sets the Arn field's value.
 21739  func (s *DeleteThemeAliasOutput) SetArn(v string) *DeleteThemeAliasOutput {
 21740  	s.Arn = &v
 21741  	return s
 21742  }
 21743  
 21744  // SetRequestId sets the RequestId field's value.
 21745  func (s *DeleteThemeAliasOutput) SetRequestId(v string) *DeleteThemeAliasOutput {
 21746  	s.RequestId = &v
 21747  	return s
 21748  }
 21749  
 21750  // SetStatus sets the Status field's value.
 21751  func (s *DeleteThemeAliasOutput) SetStatus(v int64) *DeleteThemeAliasOutput {
 21752  	s.Status = &v
 21753  	return s
 21754  }
 21755  
 21756  // SetThemeId sets the ThemeId field's value.
 21757  func (s *DeleteThemeAliasOutput) SetThemeId(v string) *DeleteThemeAliasOutput {
 21758  	s.ThemeId = &v
 21759  	return s
 21760  }
 21761  
 21762  type DeleteThemeInput struct {
 21763  	_ struct{} `type:"structure" nopayload:"true"`
 21764  
 21765  	// The ID of the Amazon Web Services account that contains the theme that you're
 21766  	// deleting.
 21767  	//
 21768  	// AwsAccountId is a required field
 21769  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 21770  
 21771  	// An ID for the theme that you want to delete.
 21772  	//
 21773  	// ThemeId is a required field
 21774  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 21775  
 21776  	// The version of the theme that you want to delete.
 21777  	//
 21778  	// Note: If you don't provide a version number, you're using this call to DeleteTheme
 21779  	// to delete all versions of the theme.
 21780  	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
 21781  }
 21782  
 21783  // String returns the string representation.
 21784  //
 21785  // API parameter values that are decorated as "sensitive" in the API will not
 21786  // be included in the string output. The member name will be present, but the
 21787  // value will be replaced with "sensitive".
 21788  func (s DeleteThemeInput) String() string {
 21789  	return awsutil.Prettify(s)
 21790  }
 21791  
 21792  // GoString returns the string representation.
 21793  //
 21794  // API parameter values that are decorated as "sensitive" in the API will not
 21795  // be included in the string output. The member name will be present, but the
 21796  // value will be replaced with "sensitive".
 21797  func (s DeleteThemeInput) GoString() string {
 21798  	return s.String()
 21799  }
 21800  
 21801  // Validate inspects the fields of the type to determine if they are valid.
 21802  func (s *DeleteThemeInput) Validate() error {
 21803  	invalidParams := request.ErrInvalidParams{Context: "DeleteThemeInput"}
 21804  	if s.AwsAccountId == nil {
 21805  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 21806  	}
 21807  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 21808  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 21809  	}
 21810  	if s.ThemeId == nil {
 21811  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 21812  	}
 21813  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 21814  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 21815  	}
 21816  	if s.VersionNumber != nil && *s.VersionNumber < 1 {
 21817  		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
 21818  	}
 21819  
 21820  	if invalidParams.Len() > 0 {
 21821  		return invalidParams
 21822  	}
 21823  	return nil
 21824  }
 21825  
 21826  // SetAwsAccountId sets the AwsAccountId field's value.
 21827  func (s *DeleteThemeInput) SetAwsAccountId(v string) *DeleteThemeInput {
 21828  	s.AwsAccountId = &v
 21829  	return s
 21830  }
 21831  
 21832  // SetThemeId sets the ThemeId field's value.
 21833  func (s *DeleteThemeInput) SetThemeId(v string) *DeleteThemeInput {
 21834  	s.ThemeId = &v
 21835  	return s
 21836  }
 21837  
 21838  // SetVersionNumber sets the VersionNumber field's value.
 21839  func (s *DeleteThemeInput) SetVersionNumber(v int64) *DeleteThemeInput {
 21840  	s.VersionNumber = &v
 21841  	return s
 21842  }
 21843  
 21844  type DeleteThemeOutput struct {
 21845  	_ struct{} `type:"structure"`
 21846  
 21847  	// The Amazon Resource Name (ARN) of the resource.
 21848  	Arn *string `type:"string"`
 21849  
 21850  	// The Amazon Web Services request ID for this operation.
 21851  	RequestId *string `type:"string"`
 21852  
 21853  	// The HTTP status of the request.
 21854  	Status *int64 `location:"statusCode" type:"integer"`
 21855  
 21856  	// An ID for the theme.
 21857  	ThemeId *string `min:"1" type:"string"`
 21858  }
 21859  
 21860  // String returns the string representation.
 21861  //
 21862  // API parameter values that are decorated as "sensitive" in the API will not
 21863  // be included in the string output. The member name will be present, but the
 21864  // value will be replaced with "sensitive".
 21865  func (s DeleteThemeOutput) String() string {
 21866  	return awsutil.Prettify(s)
 21867  }
 21868  
 21869  // GoString returns the string representation.
 21870  //
 21871  // API parameter values that are decorated as "sensitive" in the API will not
 21872  // be included in the string output. The member name will be present, but the
 21873  // value will be replaced with "sensitive".
 21874  func (s DeleteThemeOutput) GoString() string {
 21875  	return s.String()
 21876  }
 21877  
 21878  // SetArn sets the Arn field's value.
 21879  func (s *DeleteThemeOutput) SetArn(v string) *DeleteThemeOutput {
 21880  	s.Arn = &v
 21881  	return s
 21882  }
 21883  
 21884  // SetRequestId sets the RequestId field's value.
 21885  func (s *DeleteThemeOutput) SetRequestId(v string) *DeleteThemeOutput {
 21886  	s.RequestId = &v
 21887  	return s
 21888  }
 21889  
 21890  // SetStatus sets the Status field's value.
 21891  func (s *DeleteThemeOutput) SetStatus(v int64) *DeleteThemeOutput {
 21892  	s.Status = &v
 21893  	return s
 21894  }
 21895  
 21896  // SetThemeId sets the ThemeId field's value.
 21897  func (s *DeleteThemeOutput) SetThemeId(v string) *DeleteThemeOutput {
 21898  	s.ThemeId = &v
 21899  	return s
 21900  }
 21901  
 21902  type DeleteUserByPrincipalIdInput struct {
 21903  	_ struct{} `type:"structure" nopayload:"true"`
 21904  
 21905  	// The ID for the Amazon Web Services account that the user is in. Currently,
 21906  	// you use the ID for the Amazon Web Services account that contains your Amazon
 21907  	// QuickSight account.
 21908  	//
 21909  	// AwsAccountId is a required field
 21910  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 21911  
 21912  	// The namespace. Currently, you should set this to default.
 21913  	//
 21914  	// Namespace is a required field
 21915  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 21916  
 21917  	// The principal ID of the user.
 21918  	//
 21919  	// PrincipalId is a required field
 21920  	PrincipalId *string `location:"uri" locationName:"PrincipalId" type:"string" required:"true"`
 21921  }
 21922  
 21923  // String returns the string representation.
 21924  //
 21925  // API parameter values that are decorated as "sensitive" in the API will not
 21926  // be included in the string output. The member name will be present, but the
 21927  // value will be replaced with "sensitive".
 21928  func (s DeleteUserByPrincipalIdInput) String() string {
 21929  	return awsutil.Prettify(s)
 21930  }
 21931  
 21932  // GoString returns the string representation.
 21933  //
 21934  // API parameter values that are decorated as "sensitive" in the API will not
 21935  // be included in the string output. The member name will be present, but the
 21936  // value will be replaced with "sensitive".
 21937  func (s DeleteUserByPrincipalIdInput) GoString() string {
 21938  	return s.String()
 21939  }
 21940  
 21941  // Validate inspects the fields of the type to determine if they are valid.
 21942  func (s *DeleteUserByPrincipalIdInput) Validate() error {
 21943  	invalidParams := request.ErrInvalidParams{Context: "DeleteUserByPrincipalIdInput"}
 21944  	if s.AwsAccountId == nil {
 21945  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 21946  	}
 21947  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 21948  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 21949  	}
 21950  	if s.Namespace == nil {
 21951  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 21952  	}
 21953  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 21954  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 21955  	}
 21956  	if s.PrincipalId == nil {
 21957  		invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
 21958  	}
 21959  	if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
 21960  		invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
 21961  	}
 21962  
 21963  	if invalidParams.Len() > 0 {
 21964  		return invalidParams
 21965  	}
 21966  	return nil
 21967  }
 21968  
 21969  // SetAwsAccountId sets the AwsAccountId field's value.
 21970  func (s *DeleteUserByPrincipalIdInput) SetAwsAccountId(v string) *DeleteUserByPrincipalIdInput {
 21971  	s.AwsAccountId = &v
 21972  	return s
 21973  }
 21974  
 21975  // SetNamespace sets the Namespace field's value.
 21976  func (s *DeleteUserByPrincipalIdInput) SetNamespace(v string) *DeleteUserByPrincipalIdInput {
 21977  	s.Namespace = &v
 21978  	return s
 21979  }
 21980  
 21981  // SetPrincipalId sets the PrincipalId field's value.
 21982  func (s *DeleteUserByPrincipalIdInput) SetPrincipalId(v string) *DeleteUserByPrincipalIdInput {
 21983  	s.PrincipalId = &v
 21984  	return s
 21985  }
 21986  
 21987  type DeleteUserByPrincipalIdOutput struct {
 21988  	_ struct{} `type:"structure"`
 21989  
 21990  	// The Amazon Web Services request ID for this operation.
 21991  	RequestId *string `type:"string"`
 21992  
 21993  	// The HTTP status of the request.
 21994  	Status *int64 `location:"statusCode" type:"integer"`
 21995  }
 21996  
 21997  // String returns the string representation.
 21998  //
 21999  // API parameter values that are decorated as "sensitive" in the API will not
 22000  // be included in the string output. The member name will be present, but the
 22001  // value will be replaced with "sensitive".
 22002  func (s DeleteUserByPrincipalIdOutput) String() string {
 22003  	return awsutil.Prettify(s)
 22004  }
 22005  
 22006  // GoString returns the string representation.
 22007  //
 22008  // API parameter values that are decorated as "sensitive" in the API will not
 22009  // be included in the string output. The member name will be present, but the
 22010  // value will be replaced with "sensitive".
 22011  func (s DeleteUserByPrincipalIdOutput) GoString() string {
 22012  	return s.String()
 22013  }
 22014  
 22015  // SetRequestId sets the RequestId field's value.
 22016  func (s *DeleteUserByPrincipalIdOutput) SetRequestId(v string) *DeleteUserByPrincipalIdOutput {
 22017  	s.RequestId = &v
 22018  	return s
 22019  }
 22020  
 22021  // SetStatus sets the Status field's value.
 22022  func (s *DeleteUserByPrincipalIdOutput) SetStatus(v int64) *DeleteUserByPrincipalIdOutput {
 22023  	s.Status = &v
 22024  	return s
 22025  }
 22026  
 22027  type DeleteUserInput struct {
 22028  	_ struct{} `type:"structure" nopayload:"true"`
 22029  
 22030  	// The ID for the Amazon Web Services account that the user is in. Currently,
 22031  	// you use the ID for the Amazon Web Services account that contains your Amazon
 22032  	// QuickSight account.
 22033  	//
 22034  	// AwsAccountId is a required field
 22035  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 22036  
 22037  	// The namespace. Currently, you should set this to default.
 22038  	//
 22039  	// Namespace is a required field
 22040  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 22041  
 22042  	// The name of the user that you want to delete.
 22043  	//
 22044  	// UserName is a required field
 22045  	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
 22046  }
 22047  
 22048  // String returns the string representation.
 22049  //
 22050  // API parameter values that are decorated as "sensitive" in the API will not
 22051  // be included in the string output. The member name will be present, but the
 22052  // value will be replaced with "sensitive".
 22053  func (s DeleteUserInput) String() string {
 22054  	return awsutil.Prettify(s)
 22055  }
 22056  
 22057  // GoString returns the string representation.
 22058  //
 22059  // API parameter values that are decorated as "sensitive" in the API will not
 22060  // be included in the string output. The member name will be present, but the
 22061  // value will be replaced with "sensitive".
 22062  func (s DeleteUserInput) GoString() string {
 22063  	return s.String()
 22064  }
 22065  
 22066  // Validate inspects the fields of the type to determine if they are valid.
 22067  func (s *DeleteUserInput) Validate() error {
 22068  	invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"}
 22069  	if s.AwsAccountId == nil {
 22070  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 22071  	}
 22072  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 22073  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 22074  	}
 22075  	if s.Namespace == nil {
 22076  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 22077  	}
 22078  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 22079  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 22080  	}
 22081  	if s.UserName == nil {
 22082  		invalidParams.Add(request.NewErrParamRequired("UserName"))
 22083  	}
 22084  	if s.UserName != nil && len(*s.UserName) < 1 {
 22085  		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
 22086  	}
 22087  
 22088  	if invalidParams.Len() > 0 {
 22089  		return invalidParams
 22090  	}
 22091  	return nil
 22092  }
 22093  
 22094  // SetAwsAccountId sets the AwsAccountId field's value.
 22095  func (s *DeleteUserInput) SetAwsAccountId(v string) *DeleteUserInput {
 22096  	s.AwsAccountId = &v
 22097  	return s
 22098  }
 22099  
 22100  // SetNamespace sets the Namespace field's value.
 22101  func (s *DeleteUserInput) SetNamespace(v string) *DeleteUserInput {
 22102  	s.Namespace = &v
 22103  	return s
 22104  }
 22105  
 22106  // SetUserName sets the UserName field's value.
 22107  func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput {
 22108  	s.UserName = &v
 22109  	return s
 22110  }
 22111  
 22112  type DeleteUserOutput struct {
 22113  	_ struct{} `type:"structure"`
 22114  
 22115  	// The Amazon Web Services request ID for this operation.
 22116  	RequestId *string `type:"string"`
 22117  
 22118  	// The HTTP status of the request.
 22119  	Status *int64 `location:"statusCode" type:"integer"`
 22120  }
 22121  
 22122  // String returns the string representation.
 22123  //
 22124  // API parameter values that are decorated as "sensitive" in the API will not
 22125  // be included in the string output. The member name will be present, but the
 22126  // value will be replaced with "sensitive".
 22127  func (s DeleteUserOutput) String() string {
 22128  	return awsutil.Prettify(s)
 22129  }
 22130  
 22131  // GoString returns the string representation.
 22132  //
 22133  // API parameter values that are decorated as "sensitive" in the API will not
 22134  // be included in the string output. The member name will be present, but the
 22135  // value will be replaced with "sensitive".
 22136  func (s DeleteUserOutput) GoString() string {
 22137  	return s.String()
 22138  }
 22139  
 22140  // SetRequestId sets the RequestId field's value.
 22141  func (s *DeleteUserOutput) SetRequestId(v string) *DeleteUserOutput {
 22142  	s.RequestId = &v
 22143  	return s
 22144  }
 22145  
 22146  // SetStatus sets the Status field's value.
 22147  func (s *DeleteUserOutput) SetStatus(v int64) *DeleteUserOutput {
 22148  	s.Status = &v
 22149  	return s
 22150  }
 22151  
 22152  type DescribeAccountCustomizationInput struct {
 22153  	_ struct{} `type:"structure" nopayload:"true"`
 22154  
 22155  	// The ID for the Amazon Web Services account that you want to describe Amazon
 22156  	// QuickSight customizations for.
 22157  	//
 22158  	// AwsAccountId is a required field
 22159  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 22160  
 22161  	// The Amazon QuickSight namespace that you want to describe Amazon QuickSight
 22162  	// customizations for.
 22163  	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
 22164  
 22165  	// The Resolved flag works with the other parameters to determine which view
 22166  	// of Amazon QuickSight customizations is returned. You can add this flag to
 22167  	// your command to use the same view that Amazon QuickSight uses to identify
 22168  	// which customizations to apply to the console. Omit this flag, or set it to
 22169  	// no-resolved, to reveal customizations that are configured at different levels.
 22170  	Resolved *bool `location:"querystring" locationName:"resolved" type:"boolean"`
 22171  }
 22172  
 22173  // String returns the string representation.
 22174  //
 22175  // API parameter values that are decorated as "sensitive" in the API will not
 22176  // be included in the string output. The member name will be present, but the
 22177  // value will be replaced with "sensitive".
 22178  func (s DescribeAccountCustomizationInput) String() string {
 22179  	return awsutil.Prettify(s)
 22180  }
 22181  
 22182  // GoString returns the string representation.
 22183  //
 22184  // API parameter values that are decorated as "sensitive" in the API will not
 22185  // be included in the string output. The member name will be present, but the
 22186  // value will be replaced with "sensitive".
 22187  func (s DescribeAccountCustomizationInput) GoString() string {
 22188  	return s.String()
 22189  }
 22190  
 22191  // Validate inspects the fields of the type to determine if they are valid.
 22192  func (s *DescribeAccountCustomizationInput) Validate() error {
 22193  	invalidParams := request.ErrInvalidParams{Context: "DescribeAccountCustomizationInput"}
 22194  	if s.AwsAccountId == nil {
 22195  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 22196  	}
 22197  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 22198  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 22199  	}
 22200  
 22201  	if invalidParams.Len() > 0 {
 22202  		return invalidParams
 22203  	}
 22204  	return nil
 22205  }
 22206  
 22207  // SetAwsAccountId sets the AwsAccountId field's value.
 22208  func (s *DescribeAccountCustomizationInput) SetAwsAccountId(v string) *DescribeAccountCustomizationInput {
 22209  	s.AwsAccountId = &v
 22210  	return s
 22211  }
 22212  
 22213  // SetNamespace sets the Namespace field's value.
 22214  func (s *DescribeAccountCustomizationInput) SetNamespace(v string) *DescribeAccountCustomizationInput {
 22215  	s.Namespace = &v
 22216  	return s
 22217  }
 22218  
 22219  // SetResolved sets the Resolved field's value.
 22220  func (s *DescribeAccountCustomizationInput) SetResolved(v bool) *DescribeAccountCustomizationInput {
 22221  	s.Resolved = &v
 22222  	return s
 22223  }
 22224  
 22225  type DescribeAccountCustomizationOutput struct {
 22226  	_ struct{} `type:"structure"`
 22227  
 22228  	// The Amazon QuickSight customizations that exist in the current Amazon Web
 22229  	// Services Region;.
 22230  	AccountCustomization *AccountCustomization `type:"structure"`
 22231  
 22232  	// The Amazon Resource Name (ARN) of the customization that's associated with
 22233  	// this Amazon Web Services account.
 22234  	Arn *string `type:"string"`
 22235  
 22236  	// The ID for the Amazon Web Services account that you're describing.
 22237  	AwsAccountId *string `min:"12" type:"string"`
 22238  
 22239  	// The Amazon QuickSight namespace that you're describing.
 22240  	Namespace *string `type:"string"`
 22241  
 22242  	// The Amazon Web Services request ID for this operation.
 22243  	RequestId *string `type:"string"`
 22244  
 22245  	// The HTTP status of the request.
 22246  	Status *int64 `location:"statusCode" type:"integer"`
 22247  }
 22248  
 22249  // String returns the string representation.
 22250  //
 22251  // API parameter values that are decorated as "sensitive" in the API will not
 22252  // be included in the string output. The member name will be present, but the
 22253  // value will be replaced with "sensitive".
 22254  func (s DescribeAccountCustomizationOutput) String() string {
 22255  	return awsutil.Prettify(s)
 22256  }
 22257  
 22258  // GoString returns the string representation.
 22259  //
 22260  // API parameter values that are decorated as "sensitive" in the API will not
 22261  // be included in the string output. The member name will be present, but the
 22262  // value will be replaced with "sensitive".
 22263  func (s DescribeAccountCustomizationOutput) GoString() string {
 22264  	return s.String()
 22265  }
 22266  
 22267  // SetAccountCustomization sets the AccountCustomization field's value.
 22268  func (s *DescribeAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *DescribeAccountCustomizationOutput {
 22269  	s.AccountCustomization = v
 22270  	return s
 22271  }
 22272  
 22273  // SetArn sets the Arn field's value.
 22274  func (s *DescribeAccountCustomizationOutput) SetArn(v string) *DescribeAccountCustomizationOutput {
 22275  	s.Arn = &v
 22276  	return s
 22277  }
 22278  
 22279  // SetAwsAccountId sets the AwsAccountId field's value.
 22280  func (s *DescribeAccountCustomizationOutput) SetAwsAccountId(v string) *DescribeAccountCustomizationOutput {
 22281  	s.AwsAccountId = &v
 22282  	return s
 22283  }
 22284  
 22285  // SetNamespace sets the Namespace field's value.
 22286  func (s *DescribeAccountCustomizationOutput) SetNamespace(v string) *DescribeAccountCustomizationOutput {
 22287  	s.Namespace = &v
 22288  	return s
 22289  }
 22290  
 22291  // SetRequestId sets the RequestId field's value.
 22292  func (s *DescribeAccountCustomizationOutput) SetRequestId(v string) *DescribeAccountCustomizationOutput {
 22293  	s.RequestId = &v
 22294  	return s
 22295  }
 22296  
 22297  // SetStatus sets the Status field's value.
 22298  func (s *DescribeAccountCustomizationOutput) SetStatus(v int64) *DescribeAccountCustomizationOutput {
 22299  	s.Status = &v
 22300  	return s
 22301  }
 22302  
 22303  type DescribeAccountSettingsInput struct {
 22304  	_ struct{} `type:"structure" nopayload:"true"`
 22305  
 22306  	// The ID for the Amazon Web Services account that contains the settings that
 22307  	// you want to list.
 22308  	//
 22309  	// AwsAccountId is a required field
 22310  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 22311  }
 22312  
 22313  // String returns the string representation.
 22314  //
 22315  // API parameter values that are decorated as "sensitive" in the API will not
 22316  // be included in the string output. The member name will be present, but the
 22317  // value will be replaced with "sensitive".
 22318  func (s DescribeAccountSettingsInput) String() string {
 22319  	return awsutil.Prettify(s)
 22320  }
 22321  
 22322  // GoString returns the string representation.
 22323  //
 22324  // API parameter values that are decorated as "sensitive" in the API will not
 22325  // be included in the string output. The member name will be present, but the
 22326  // value will be replaced with "sensitive".
 22327  func (s DescribeAccountSettingsInput) GoString() string {
 22328  	return s.String()
 22329  }
 22330  
 22331  // Validate inspects the fields of the type to determine if they are valid.
 22332  func (s *DescribeAccountSettingsInput) Validate() error {
 22333  	invalidParams := request.ErrInvalidParams{Context: "DescribeAccountSettingsInput"}
 22334  	if s.AwsAccountId == nil {
 22335  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 22336  	}
 22337  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 22338  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 22339  	}
 22340  
 22341  	if invalidParams.Len() > 0 {
 22342  		return invalidParams
 22343  	}
 22344  	return nil
 22345  }
 22346  
 22347  // SetAwsAccountId sets the AwsAccountId field's value.
 22348  func (s *DescribeAccountSettingsInput) SetAwsAccountId(v string) *DescribeAccountSettingsInput {
 22349  	s.AwsAccountId = &v
 22350  	return s
 22351  }
 22352  
 22353  type DescribeAccountSettingsOutput struct {
 22354  	_ struct{} `type:"structure"`
 22355  
 22356  	// The Amazon QuickSight settings for this Amazon Web Services account. This
 22357  	// information includes the edition of Amazon Amazon QuickSight that you subscribed
 22358  	// to (Standard or Enterprise) and the notification email for the Amazon QuickSight
 22359  	// subscription. In the Amazon QuickSight console, the Amazon QuickSight subscription
 22360  	// is sometimes referred to as a Amazon QuickSight "account" even though it's
 22361  	// technically not an account by itself. Instead, it's a subscription to the
 22362  	// Amazon QuickSight service for your Amazon Web Services account. The edition
 22363  	// that you subscribe to applies to Amazon QuickSight in every Amazon Web Services
 22364  	// Region; where you use it.
 22365  	AccountSettings *AccountSettings `type:"structure"`
 22366  
 22367  	// The Amazon Web Services request ID for this operation.
 22368  	RequestId *string `type:"string"`
 22369  
 22370  	// The HTTP status of the request.
 22371  	Status *int64 `location:"statusCode" type:"integer"`
 22372  }
 22373  
 22374  // String returns the string representation.
 22375  //
 22376  // API parameter values that are decorated as "sensitive" in the API will not
 22377  // be included in the string output. The member name will be present, but the
 22378  // value will be replaced with "sensitive".
 22379  func (s DescribeAccountSettingsOutput) String() string {
 22380  	return awsutil.Prettify(s)
 22381  }
 22382  
 22383  // GoString returns the string representation.
 22384  //
 22385  // API parameter values that are decorated as "sensitive" in the API will not
 22386  // be included in the string output. The member name will be present, but the
 22387  // value will be replaced with "sensitive".
 22388  func (s DescribeAccountSettingsOutput) GoString() string {
 22389  	return s.String()
 22390  }
 22391  
 22392  // SetAccountSettings sets the AccountSettings field's value.
 22393  func (s *DescribeAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *DescribeAccountSettingsOutput {
 22394  	s.AccountSettings = v
 22395  	return s
 22396  }
 22397  
 22398  // SetRequestId sets the RequestId field's value.
 22399  func (s *DescribeAccountSettingsOutput) SetRequestId(v string) *DescribeAccountSettingsOutput {
 22400  	s.RequestId = &v
 22401  	return s
 22402  }
 22403  
 22404  // SetStatus sets the Status field's value.
 22405  func (s *DescribeAccountSettingsOutput) SetStatus(v int64) *DescribeAccountSettingsOutput {
 22406  	s.Status = &v
 22407  	return s
 22408  }
 22409  
 22410  type DescribeAnalysisInput struct {
 22411  	_ struct{} `type:"structure" nopayload:"true"`
 22412  
 22413  	// The ID of the analysis that you're describing. The ID is part of the URL
 22414  	// of the analysis.
 22415  	//
 22416  	// AnalysisId is a required field
 22417  	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
 22418  
 22419  	// The ID of the Amazon Web Services account that contains the analysis. You
 22420  	// must be using the Amazon Web Services account that the analysis is in.
 22421  	//
 22422  	// AwsAccountId is a required field
 22423  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 22424  }
 22425  
 22426  // String returns the string representation.
 22427  //
 22428  // API parameter values that are decorated as "sensitive" in the API will not
 22429  // be included in the string output. The member name will be present, but the
 22430  // value will be replaced with "sensitive".
 22431  func (s DescribeAnalysisInput) String() string {
 22432  	return awsutil.Prettify(s)
 22433  }
 22434  
 22435  // GoString returns the string representation.
 22436  //
 22437  // API parameter values that are decorated as "sensitive" in the API will not
 22438  // be included in the string output. The member name will be present, but the
 22439  // value will be replaced with "sensitive".
 22440  func (s DescribeAnalysisInput) GoString() string {
 22441  	return s.String()
 22442  }
 22443  
 22444  // Validate inspects the fields of the type to determine if they are valid.
 22445  func (s *DescribeAnalysisInput) Validate() error {
 22446  	invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisInput"}
 22447  	if s.AnalysisId == nil {
 22448  		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
 22449  	}
 22450  	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
 22451  		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
 22452  	}
 22453  	if s.AwsAccountId == nil {
 22454  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 22455  	}
 22456  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 22457  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 22458  	}
 22459  
 22460  	if invalidParams.Len() > 0 {
 22461  		return invalidParams
 22462  	}
 22463  	return nil
 22464  }
 22465  
 22466  // SetAnalysisId sets the AnalysisId field's value.
 22467  func (s *DescribeAnalysisInput) SetAnalysisId(v string) *DescribeAnalysisInput {
 22468  	s.AnalysisId = &v
 22469  	return s
 22470  }
 22471  
 22472  // SetAwsAccountId sets the AwsAccountId field's value.
 22473  func (s *DescribeAnalysisInput) SetAwsAccountId(v string) *DescribeAnalysisInput {
 22474  	s.AwsAccountId = &v
 22475  	return s
 22476  }
 22477  
 22478  type DescribeAnalysisOutput struct {
 22479  	_ struct{} `type:"structure"`
 22480  
 22481  	// A metadata structure that contains summary information for the analysis that
 22482  	// you're describing.
 22483  	Analysis *Analysis `type:"structure"`
 22484  
 22485  	// The Amazon Web Services request ID for this operation.
 22486  	RequestId *string `type:"string"`
 22487  
 22488  	// The HTTP status of the request.
 22489  	Status *int64 `location:"statusCode" type:"integer"`
 22490  }
 22491  
 22492  // String returns the string representation.
 22493  //
 22494  // API parameter values that are decorated as "sensitive" in the API will not
 22495  // be included in the string output. The member name will be present, but the
 22496  // value will be replaced with "sensitive".
 22497  func (s DescribeAnalysisOutput) String() string {
 22498  	return awsutil.Prettify(s)
 22499  }
 22500  
 22501  // GoString returns the string representation.
 22502  //
 22503  // API parameter values that are decorated as "sensitive" in the API will not
 22504  // be included in the string output. The member name will be present, but the
 22505  // value will be replaced with "sensitive".
 22506  func (s DescribeAnalysisOutput) GoString() string {
 22507  	return s.String()
 22508  }
 22509  
 22510  // SetAnalysis sets the Analysis field's value.
 22511  func (s *DescribeAnalysisOutput) SetAnalysis(v *Analysis) *DescribeAnalysisOutput {
 22512  	s.Analysis = v
 22513  	return s
 22514  }
 22515  
 22516  // SetRequestId sets the RequestId field's value.
 22517  func (s *DescribeAnalysisOutput) SetRequestId(v string) *DescribeAnalysisOutput {
 22518  	s.RequestId = &v
 22519  	return s
 22520  }
 22521  
 22522  // SetStatus sets the Status field's value.
 22523  func (s *DescribeAnalysisOutput) SetStatus(v int64) *DescribeAnalysisOutput {
 22524  	s.Status = &v
 22525  	return s
 22526  }
 22527  
 22528  type DescribeAnalysisPermissionsInput struct {
 22529  	_ struct{} `type:"structure" nopayload:"true"`
 22530  
 22531  	// The ID of the analysis whose permissions you're describing. The ID is part
 22532  	// of the analysis URL.
 22533  	//
 22534  	// AnalysisId is a required field
 22535  	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
 22536  
 22537  	// The ID of the Amazon Web Services account that contains the analysis whose
 22538  	// permissions you're describing. You must be using the Amazon Web Services
 22539  	// account that the analysis is in.
 22540  	//
 22541  	// AwsAccountId is a required field
 22542  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 22543  }
 22544  
 22545  // String returns the string representation.
 22546  //
 22547  // API parameter values that are decorated as "sensitive" in the API will not
 22548  // be included in the string output. The member name will be present, but the
 22549  // value will be replaced with "sensitive".
 22550  func (s DescribeAnalysisPermissionsInput) String() string {
 22551  	return awsutil.Prettify(s)
 22552  }
 22553  
 22554  // GoString returns the string representation.
 22555  //
 22556  // API parameter values that are decorated as "sensitive" in the API will not
 22557  // be included in the string output. The member name will be present, but the
 22558  // value will be replaced with "sensitive".
 22559  func (s DescribeAnalysisPermissionsInput) GoString() string {
 22560  	return s.String()
 22561  }
 22562  
 22563  // Validate inspects the fields of the type to determine if they are valid.
 22564  func (s *DescribeAnalysisPermissionsInput) Validate() error {
 22565  	invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisPermissionsInput"}
 22566  	if s.AnalysisId == nil {
 22567  		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
 22568  	}
 22569  	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
 22570  		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
 22571  	}
 22572  	if s.AwsAccountId == nil {
 22573  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 22574  	}
 22575  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 22576  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 22577  	}
 22578  
 22579  	if invalidParams.Len() > 0 {
 22580  		return invalidParams
 22581  	}
 22582  	return nil
 22583  }
 22584  
 22585  // SetAnalysisId sets the AnalysisId field's value.
 22586  func (s *DescribeAnalysisPermissionsInput) SetAnalysisId(v string) *DescribeAnalysisPermissionsInput {
 22587  	s.AnalysisId = &v
 22588  	return s
 22589  }
 22590  
 22591  // SetAwsAccountId sets the AwsAccountId field's value.
 22592  func (s *DescribeAnalysisPermissionsInput) SetAwsAccountId(v string) *DescribeAnalysisPermissionsInput {
 22593  	s.AwsAccountId = &v
 22594  	return s
 22595  }
 22596  
 22597  type DescribeAnalysisPermissionsOutput struct {
 22598  	_ struct{} `type:"structure"`
 22599  
 22600  	// The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
 22601  	AnalysisArn *string `type:"string"`
 22602  
 22603  	// The ID of the analysis whose permissions you're describing.
 22604  	AnalysisId *string `min:"1" type:"string"`
 22605  
 22606  	// A structure that describes the principals and the resource-level permissions
 22607  	// on an analysis.
 22608  	Permissions []*ResourcePermission `min:"1" type:"list"`
 22609  
 22610  	// The Amazon Web Services request ID for this operation.
 22611  	RequestId *string `type:"string"`
 22612  
 22613  	// The HTTP status of the request.
 22614  	Status *int64 `location:"statusCode" type:"integer"`
 22615  }
 22616  
 22617  // String returns the string representation.
 22618  //
 22619  // API parameter values that are decorated as "sensitive" in the API will not
 22620  // be included in the string output. The member name will be present, but the
 22621  // value will be replaced with "sensitive".
 22622  func (s DescribeAnalysisPermissionsOutput) String() string {
 22623  	return awsutil.Prettify(s)
 22624  }
 22625  
 22626  // GoString returns the string representation.
 22627  //
 22628  // API parameter values that are decorated as "sensitive" in the API will not
 22629  // be included in the string output. The member name will be present, but the
 22630  // value will be replaced with "sensitive".
 22631  func (s DescribeAnalysisPermissionsOutput) GoString() string {
 22632  	return s.String()
 22633  }
 22634  
 22635  // SetAnalysisArn sets the AnalysisArn field's value.
 22636  func (s *DescribeAnalysisPermissionsOutput) SetAnalysisArn(v string) *DescribeAnalysisPermissionsOutput {
 22637  	s.AnalysisArn = &v
 22638  	return s
 22639  }
 22640  
 22641  // SetAnalysisId sets the AnalysisId field's value.
 22642  func (s *DescribeAnalysisPermissionsOutput) SetAnalysisId(v string) *DescribeAnalysisPermissionsOutput {
 22643  	s.AnalysisId = &v
 22644  	return s
 22645  }
 22646  
 22647  // SetPermissions sets the Permissions field's value.
 22648  func (s *DescribeAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeAnalysisPermissionsOutput {
 22649  	s.Permissions = v
 22650  	return s
 22651  }
 22652  
 22653  // SetRequestId sets the RequestId field's value.
 22654  func (s *DescribeAnalysisPermissionsOutput) SetRequestId(v string) *DescribeAnalysisPermissionsOutput {
 22655  	s.RequestId = &v
 22656  	return s
 22657  }
 22658  
 22659  // SetStatus sets the Status field's value.
 22660  func (s *DescribeAnalysisPermissionsOutput) SetStatus(v int64) *DescribeAnalysisPermissionsOutput {
 22661  	s.Status = &v
 22662  	return s
 22663  }
 22664  
 22665  type DescribeDashboardInput struct {
 22666  	_ struct{} `type:"structure" nopayload:"true"`
 22667  
 22668  	// The alias name.
 22669  	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
 22670  
 22671  	// The ID of the Amazon Web Services account that contains the dashboard that
 22672  	// you're describing.
 22673  	//
 22674  	// AwsAccountId is a required field
 22675  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 22676  
 22677  	// The ID for the dashboard.
 22678  	//
 22679  	// DashboardId is a required field
 22680  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 22681  
 22682  	// The version number for the dashboard. If a version number isn't passed, the
 22683  	// latest published dashboard version is described.
 22684  	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
 22685  }
 22686  
 22687  // String returns the string representation.
 22688  //
 22689  // API parameter values that are decorated as "sensitive" in the API will not
 22690  // be included in the string output. The member name will be present, but the
 22691  // value will be replaced with "sensitive".
 22692  func (s DescribeDashboardInput) String() string {
 22693  	return awsutil.Prettify(s)
 22694  }
 22695  
 22696  // GoString returns the string representation.
 22697  //
 22698  // API parameter values that are decorated as "sensitive" in the API will not
 22699  // be included in the string output. The member name will be present, but the
 22700  // value will be replaced with "sensitive".
 22701  func (s DescribeDashboardInput) GoString() string {
 22702  	return s.String()
 22703  }
 22704  
 22705  // Validate inspects the fields of the type to determine if they are valid.
 22706  func (s *DescribeDashboardInput) Validate() error {
 22707  	invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardInput"}
 22708  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 22709  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 22710  	}
 22711  	if s.AwsAccountId == nil {
 22712  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 22713  	}
 22714  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 22715  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 22716  	}
 22717  	if s.DashboardId == nil {
 22718  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 22719  	}
 22720  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 22721  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 22722  	}
 22723  	if s.VersionNumber != nil && *s.VersionNumber < 1 {
 22724  		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
 22725  	}
 22726  
 22727  	if invalidParams.Len() > 0 {
 22728  		return invalidParams
 22729  	}
 22730  	return nil
 22731  }
 22732  
 22733  // SetAliasName sets the AliasName field's value.
 22734  func (s *DescribeDashboardInput) SetAliasName(v string) *DescribeDashboardInput {
 22735  	s.AliasName = &v
 22736  	return s
 22737  }
 22738  
 22739  // SetAwsAccountId sets the AwsAccountId field's value.
 22740  func (s *DescribeDashboardInput) SetAwsAccountId(v string) *DescribeDashboardInput {
 22741  	s.AwsAccountId = &v
 22742  	return s
 22743  }
 22744  
 22745  // SetDashboardId sets the DashboardId field's value.
 22746  func (s *DescribeDashboardInput) SetDashboardId(v string) *DescribeDashboardInput {
 22747  	s.DashboardId = &v
 22748  	return s
 22749  }
 22750  
 22751  // SetVersionNumber sets the VersionNumber field's value.
 22752  func (s *DescribeDashboardInput) SetVersionNumber(v int64) *DescribeDashboardInput {
 22753  	s.VersionNumber = &v
 22754  	return s
 22755  }
 22756  
 22757  type DescribeDashboardOutput struct {
 22758  	_ struct{} `type:"structure"`
 22759  
 22760  	// Information about the dashboard.
 22761  	Dashboard *Dashboard `type:"structure"`
 22762  
 22763  	// The Amazon Web Services request ID for this operation.
 22764  	RequestId *string `type:"string"`
 22765  
 22766  	// The HTTP status of this request.
 22767  	Status *int64 `location:"statusCode" type:"integer"`
 22768  }
 22769  
 22770  // String returns the string representation.
 22771  //
 22772  // API parameter values that are decorated as "sensitive" in the API will not
 22773  // be included in the string output. The member name will be present, but the
 22774  // value will be replaced with "sensitive".
 22775  func (s DescribeDashboardOutput) String() string {
 22776  	return awsutil.Prettify(s)
 22777  }
 22778  
 22779  // GoString returns the string representation.
 22780  //
 22781  // API parameter values that are decorated as "sensitive" in the API will not
 22782  // be included in the string output. The member name will be present, but the
 22783  // value will be replaced with "sensitive".
 22784  func (s DescribeDashboardOutput) GoString() string {
 22785  	return s.String()
 22786  }
 22787  
 22788  // SetDashboard sets the Dashboard field's value.
 22789  func (s *DescribeDashboardOutput) SetDashboard(v *Dashboard) *DescribeDashboardOutput {
 22790  	s.Dashboard = v
 22791  	return s
 22792  }
 22793  
 22794  // SetRequestId sets the RequestId field's value.
 22795  func (s *DescribeDashboardOutput) SetRequestId(v string) *DescribeDashboardOutput {
 22796  	s.RequestId = &v
 22797  	return s
 22798  }
 22799  
 22800  // SetStatus sets the Status field's value.
 22801  func (s *DescribeDashboardOutput) SetStatus(v int64) *DescribeDashboardOutput {
 22802  	s.Status = &v
 22803  	return s
 22804  }
 22805  
 22806  type DescribeDashboardPermissionsInput struct {
 22807  	_ struct{} `type:"structure" nopayload:"true"`
 22808  
 22809  	// The ID of the Amazon Web Services account that contains the dashboard that
 22810  	// you're describing permissions for.
 22811  	//
 22812  	// AwsAccountId is a required field
 22813  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 22814  
 22815  	// The ID for the dashboard, also added to the IAMpolicy.
 22816  	//
 22817  	// DashboardId is a required field
 22818  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 22819  }
 22820  
 22821  // String returns the string representation.
 22822  //
 22823  // API parameter values that are decorated as "sensitive" in the API will not
 22824  // be included in the string output. The member name will be present, but the
 22825  // value will be replaced with "sensitive".
 22826  func (s DescribeDashboardPermissionsInput) String() string {
 22827  	return awsutil.Prettify(s)
 22828  }
 22829  
 22830  // GoString returns the string representation.
 22831  //
 22832  // API parameter values that are decorated as "sensitive" in the API will not
 22833  // be included in the string output. The member name will be present, but the
 22834  // value will be replaced with "sensitive".
 22835  func (s DescribeDashboardPermissionsInput) GoString() string {
 22836  	return s.String()
 22837  }
 22838  
 22839  // Validate inspects the fields of the type to determine if they are valid.
 22840  func (s *DescribeDashboardPermissionsInput) Validate() error {
 22841  	invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardPermissionsInput"}
 22842  	if s.AwsAccountId == nil {
 22843  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 22844  	}
 22845  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 22846  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 22847  	}
 22848  	if s.DashboardId == nil {
 22849  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 22850  	}
 22851  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 22852  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 22853  	}
 22854  
 22855  	if invalidParams.Len() > 0 {
 22856  		return invalidParams
 22857  	}
 22858  	return nil
 22859  }
 22860  
 22861  // SetAwsAccountId sets the AwsAccountId field's value.
 22862  func (s *DescribeDashboardPermissionsInput) SetAwsAccountId(v string) *DescribeDashboardPermissionsInput {
 22863  	s.AwsAccountId = &v
 22864  	return s
 22865  }
 22866  
 22867  // SetDashboardId sets the DashboardId field's value.
 22868  func (s *DescribeDashboardPermissionsInput) SetDashboardId(v string) *DescribeDashboardPermissionsInput {
 22869  	s.DashboardId = &v
 22870  	return s
 22871  }
 22872  
 22873  type DescribeDashboardPermissionsOutput struct {
 22874  	_ struct{} `type:"structure"`
 22875  
 22876  	// The Amazon Resource Name (ARN) of the dashboard.
 22877  	DashboardArn *string `type:"string"`
 22878  
 22879  	// The ID for the dashboard.
 22880  	DashboardId *string `min:"1" type:"string"`
 22881  
 22882  	// A structure that contains the permissions for the dashboard.
 22883  	Permissions []*ResourcePermission `min:"1" type:"list"`
 22884  
 22885  	// The Amazon Web Services request ID for this operation.
 22886  	RequestId *string `type:"string"`
 22887  
 22888  	// The HTTP status of the request.
 22889  	Status *int64 `location:"statusCode" type:"integer"`
 22890  }
 22891  
 22892  // String returns the string representation.
 22893  //
 22894  // API parameter values that are decorated as "sensitive" in the API will not
 22895  // be included in the string output. The member name will be present, but the
 22896  // value will be replaced with "sensitive".
 22897  func (s DescribeDashboardPermissionsOutput) String() string {
 22898  	return awsutil.Prettify(s)
 22899  }
 22900  
 22901  // GoString returns the string representation.
 22902  //
 22903  // API parameter values that are decorated as "sensitive" in the API will not
 22904  // be included in the string output. The member name will be present, but the
 22905  // value will be replaced with "sensitive".
 22906  func (s DescribeDashboardPermissionsOutput) GoString() string {
 22907  	return s.String()
 22908  }
 22909  
 22910  // SetDashboardArn sets the DashboardArn field's value.
 22911  func (s *DescribeDashboardPermissionsOutput) SetDashboardArn(v string) *DescribeDashboardPermissionsOutput {
 22912  	s.DashboardArn = &v
 22913  	return s
 22914  }
 22915  
 22916  // SetDashboardId sets the DashboardId field's value.
 22917  func (s *DescribeDashboardPermissionsOutput) SetDashboardId(v string) *DescribeDashboardPermissionsOutput {
 22918  	s.DashboardId = &v
 22919  	return s
 22920  }
 22921  
 22922  // SetPermissions sets the Permissions field's value.
 22923  func (s *DescribeDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDashboardPermissionsOutput {
 22924  	s.Permissions = v
 22925  	return s
 22926  }
 22927  
 22928  // SetRequestId sets the RequestId field's value.
 22929  func (s *DescribeDashboardPermissionsOutput) SetRequestId(v string) *DescribeDashboardPermissionsOutput {
 22930  	s.RequestId = &v
 22931  	return s
 22932  }
 22933  
 22934  // SetStatus sets the Status field's value.
 22935  func (s *DescribeDashboardPermissionsOutput) SetStatus(v int64) *DescribeDashboardPermissionsOutput {
 22936  	s.Status = &v
 22937  	return s
 22938  }
 22939  
 22940  type DescribeDataSetInput struct {
 22941  	_ struct{} `type:"structure" nopayload:"true"`
 22942  
 22943  	// The Amazon Web Services account ID.
 22944  	//
 22945  	// AwsAccountId is a required field
 22946  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 22947  
 22948  	// The ID for the dataset that you want to create. This ID is unique per Amazon
 22949  	// Web Services Region; for each Amazon Web Services account.
 22950  	//
 22951  	// DataSetId is a required field
 22952  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 22953  }
 22954  
 22955  // String returns the string representation.
 22956  //
 22957  // API parameter values that are decorated as "sensitive" in the API will not
 22958  // be included in the string output. The member name will be present, but the
 22959  // value will be replaced with "sensitive".
 22960  func (s DescribeDataSetInput) String() string {
 22961  	return awsutil.Prettify(s)
 22962  }
 22963  
 22964  // GoString returns the string representation.
 22965  //
 22966  // API parameter values that are decorated as "sensitive" in the API will not
 22967  // be included in the string output. The member name will be present, but the
 22968  // value will be replaced with "sensitive".
 22969  func (s DescribeDataSetInput) GoString() string {
 22970  	return s.String()
 22971  }
 22972  
 22973  // Validate inspects the fields of the type to determine if they are valid.
 22974  func (s *DescribeDataSetInput) Validate() error {
 22975  	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetInput"}
 22976  	if s.AwsAccountId == nil {
 22977  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 22978  	}
 22979  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 22980  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 22981  	}
 22982  	if s.DataSetId == nil {
 22983  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 22984  	}
 22985  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 22986  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 22987  	}
 22988  
 22989  	if invalidParams.Len() > 0 {
 22990  		return invalidParams
 22991  	}
 22992  	return nil
 22993  }
 22994  
 22995  // SetAwsAccountId sets the AwsAccountId field's value.
 22996  func (s *DescribeDataSetInput) SetAwsAccountId(v string) *DescribeDataSetInput {
 22997  	s.AwsAccountId = &v
 22998  	return s
 22999  }
 23000  
 23001  // SetDataSetId sets the DataSetId field's value.
 23002  func (s *DescribeDataSetInput) SetDataSetId(v string) *DescribeDataSetInput {
 23003  	s.DataSetId = &v
 23004  	return s
 23005  }
 23006  
 23007  type DescribeDataSetOutput struct {
 23008  	_ struct{} `type:"structure"`
 23009  
 23010  	// Information on the dataset.
 23011  	DataSet *DataSet `type:"structure"`
 23012  
 23013  	// The Amazon Web Services request ID for this operation.
 23014  	RequestId *string `type:"string"`
 23015  
 23016  	// The HTTP status of the request.
 23017  	Status *int64 `location:"statusCode" type:"integer"`
 23018  }
 23019  
 23020  // String returns the string representation.
 23021  //
 23022  // API parameter values that are decorated as "sensitive" in the API will not
 23023  // be included in the string output. The member name will be present, but the
 23024  // value will be replaced with "sensitive".
 23025  func (s DescribeDataSetOutput) String() string {
 23026  	return awsutil.Prettify(s)
 23027  }
 23028  
 23029  // GoString returns the string representation.
 23030  //
 23031  // API parameter values that are decorated as "sensitive" in the API will not
 23032  // be included in the string output. The member name will be present, but the
 23033  // value will be replaced with "sensitive".
 23034  func (s DescribeDataSetOutput) GoString() string {
 23035  	return s.String()
 23036  }
 23037  
 23038  // SetDataSet sets the DataSet field's value.
 23039  func (s *DescribeDataSetOutput) SetDataSet(v *DataSet) *DescribeDataSetOutput {
 23040  	s.DataSet = v
 23041  	return s
 23042  }
 23043  
 23044  // SetRequestId sets the RequestId field's value.
 23045  func (s *DescribeDataSetOutput) SetRequestId(v string) *DescribeDataSetOutput {
 23046  	s.RequestId = &v
 23047  	return s
 23048  }
 23049  
 23050  // SetStatus sets the Status field's value.
 23051  func (s *DescribeDataSetOutput) SetStatus(v int64) *DescribeDataSetOutput {
 23052  	s.Status = &v
 23053  	return s
 23054  }
 23055  
 23056  type DescribeDataSetPermissionsInput struct {
 23057  	_ struct{} `type:"structure" nopayload:"true"`
 23058  
 23059  	// The Amazon Web Services account ID.
 23060  	//
 23061  	// AwsAccountId is a required field
 23062  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 23063  
 23064  	// The ID for the dataset that you want to create. This ID is unique per Amazon
 23065  	// Web Services Region; for each Amazon Web Services account.
 23066  	//
 23067  	// DataSetId is a required field
 23068  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 23069  }
 23070  
 23071  // String returns the string representation.
 23072  //
 23073  // API parameter values that are decorated as "sensitive" in the API will not
 23074  // be included in the string output. The member name will be present, but the
 23075  // value will be replaced with "sensitive".
 23076  func (s DescribeDataSetPermissionsInput) String() string {
 23077  	return awsutil.Prettify(s)
 23078  }
 23079  
 23080  // GoString returns the string representation.
 23081  //
 23082  // API parameter values that are decorated as "sensitive" in the API will not
 23083  // be included in the string output. The member name will be present, but the
 23084  // value will be replaced with "sensitive".
 23085  func (s DescribeDataSetPermissionsInput) GoString() string {
 23086  	return s.String()
 23087  }
 23088  
 23089  // Validate inspects the fields of the type to determine if they are valid.
 23090  func (s *DescribeDataSetPermissionsInput) Validate() error {
 23091  	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetPermissionsInput"}
 23092  	if s.AwsAccountId == nil {
 23093  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 23094  	}
 23095  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 23096  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 23097  	}
 23098  	if s.DataSetId == nil {
 23099  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 23100  	}
 23101  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 23102  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 23103  	}
 23104  
 23105  	if invalidParams.Len() > 0 {
 23106  		return invalidParams
 23107  	}
 23108  	return nil
 23109  }
 23110  
 23111  // SetAwsAccountId sets the AwsAccountId field's value.
 23112  func (s *DescribeDataSetPermissionsInput) SetAwsAccountId(v string) *DescribeDataSetPermissionsInput {
 23113  	s.AwsAccountId = &v
 23114  	return s
 23115  }
 23116  
 23117  // SetDataSetId sets the DataSetId field's value.
 23118  func (s *DescribeDataSetPermissionsInput) SetDataSetId(v string) *DescribeDataSetPermissionsInput {
 23119  	s.DataSetId = &v
 23120  	return s
 23121  }
 23122  
 23123  type DescribeDataSetPermissionsOutput struct {
 23124  	_ struct{} `type:"structure"`
 23125  
 23126  	// The Amazon Resource Name (ARN) of the dataset.
 23127  	DataSetArn *string `type:"string"`
 23128  
 23129  	// The ID for the dataset that you want to create. This ID is unique per Amazon
 23130  	// Web Services Region; for each Amazon Web Services account.
 23131  	DataSetId *string `type:"string"`
 23132  
 23133  	// A list of resource permissions on the dataset.
 23134  	Permissions []*ResourcePermission `min:"1" type:"list"`
 23135  
 23136  	// The Amazon Web Services request ID for this operation.
 23137  	RequestId *string `type:"string"`
 23138  
 23139  	// The HTTP status of the request.
 23140  	Status *int64 `location:"statusCode" type:"integer"`
 23141  }
 23142  
 23143  // String returns the string representation.
 23144  //
 23145  // API parameter values that are decorated as "sensitive" in the API will not
 23146  // be included in the string output. The member name will be present, but the
 23147  // value will be replaced with "sensitive".
 23148  func (s DescribeDataSetPermissionsOutput) String() string {
 23149  	return awsutil.Prettify(s)
 23150  }
 23151  
 23152  // GoString returns the string representation.
 23153  //
 23154  // API parameter values that are decorated as "sensitive" in the API will not
 23155  // be included in the string output. The member name will be present, but the
 23156  // value will be replaced with "sensitive".
 23157  func (s DescribeDataSetPermissionsOutput) GoString() string {
 23158  	return s.String()
 23159  }
 23160  
 23161  // SetDataSetArn sets the DataSetArn field's value.
 23162  func (s *DescribeDataSetPermissionsOutput) SetDataSetArn(v string) *DescribeDataSetPermissionsOutput {
 23163  	s.DataSetArn = &v
 23164  	return s
 23165  }
 23166  
 23167  // SetDataSetId sets the DataSetId field's value.
 23168  func (s *DescribeDataSetPermissionsOutput) SetDataSetId(v string) *DescribeDataSetPermissionsOutput {
 23169  	s.DataSetId = &v
 23170  	return s
 23171  }
 23172  
 23173  // SetPermissions sets the Permissions field's value.
 23174  func (s *DescribeDataSetPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSetPermissionsOutput {
 23175  	s.Permissions = v
 23176  	return s
 23177  }
 23178  
 23179  // SetRequestId sets the RequestId field's value.
 23180  func (s *DescribeDataSetPermissionsOutput) SetRequestId(v string) *DescribeDataSetPermissionsOutput {
 23181  	s.RequestId = &v
 23182  	return s
 23183  }
 23184  
 23185  // SetStatus sets the Status field's value.
 23186  func (s *DescribeDataSetPermissionsOutput) SetStatus(v int64) *DescribeDataSetPermissionsOutput {
 23187  	s.Status = &v
 23188  	return s
 23189  }
 23190  
 23191  type DescribeDataSourceInput struct {
 23192  	_ struct{} `type:"structure" nopayload:"true"`
 23193  
 23194  	// The Amazon Web Services account ID.
 23195  	//
 23196  	// AwsAccountId is a required field
 23197  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 23198  
 23199  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 23200  	// for each Amazon Web Services account.
 23201  	//
 23202  	// DataSourceId is a required field
 23203  	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
 23204  }
 23205  
 23206  // String returns the string representation.
 23207  //
 23208  // API parameter values that are decorated as "sensitive" in the API will not
 23209  // be included in the string output. The member name will be present, but the
 23210  // value will be replaced with "sensitive".
 23211  func (s DescribeDataSourceInput) String() string {
 23212  	return awsutil.Prettify(s)
 23213  }
 23214  
 23215  // GoString returns the string representation.
 23216  //
 23217  // API parameter values that are decorated as "sensitive" in the API will not
 23218  // be included in the string output. The member name will be present, but the
 23219  // value will be replaced with "sensitive".
 23220  func (s DescribeDataSourceInput) GoString() string {
 23221  	return s.String()
 23222  }
 23223  
 23224  // Validate inspects the fields of the type to determine if they are valid.
 23225  func (s *DescribeDataSourceInput) Validate() error {
 23226  	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourceInput"}
 23227  	if s.AwsAccountId == nil {
 23228  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 23229  	}
 23230  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 23231  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 23232  	}
 23233  	if s.DataSourceId == nil {
 23234  		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
 23235  	}
 23236  	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
 23237  		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
 23238  	}
 23239  
 23240  	if invalidParams.Len() > 0 {
 23241  		return invalidParams
 23242  	}
 23243  	return nil
 23244  }
 23245  
 23246  // SetAwsAccountId sets the AwsAccountId field's value.
 23247  func (s *DescribeDataSourceInput) SetAwsAccountId(v string) *DescribeDataSourceInput {
 23248  	s.AwsAccountId = &v
 23249  	return s
 23250  }
 23251  
 23252  // SetDataSourceId sets the DataSourceId field's value.
 23253  func (s *DescribeDataSourceInput) SetDataSourceId(v string) *DescribeDataSourceInput {
 23254  	s.DataSourceId = &v
 23255  	return s
 23256  }
 23257  
 23258  type DescribeDataSourceOutput struct {
 23259  	_ struct{} `type:"structure"`
 23260  
 23261  	// The information on the data source.
 23262  	DataSource *DataSource `type:"structure"`
 23263  
 23264  	// The Amazon Web Services request ID for this operation.
 23265  	RequestId *string `type:"string"`
 23266  
 23267  	// The HTTP status of the request.
 23268  	Status *int64 `location:"statusCode" type:"integer"`
 23269  }
 23270  
 23271  // String returns the string representation.
 23272  //
 23273  // API parameter values that are decorated as "sensitive" in the API will not
 23274  // be included in the string output. The member name will be present, but the
 23275  // value will be replaced with "sensitive".
 23276  func (s DescribeDataSourceOutput) String() string {
 23277  	return awsutil.Prettify(s)
 23278  }
 23279  
 23280  // GoString returns the string representation.
 23281  //
 23282  // API parameter values that are decorated as "sensitive" in the API will not
 23283  // be included in the string output. The member name will be present, but the
 23284  // value will be replaced with "sensitive".
 23285  func (s DescribeDataSourceOutput) GoString() string {
 23286  	return s.String()
 23287  }
 23288  
 23289  // SetDataSource sets the DataSource field's value.
 23290  func (s *DescribeDataSourceOutput) SetDataSource(v *DataSource) *DescribeDataSourceOutput {
 23291  	s.DataSource = v
 23292  	return s
 23293  }
 23294  
 23295  // SetRequestId sets the RequestId field's value.
 23296  func (s *DescribeDataSourceOutput) SetRequestId(v string) *DescribeDataSourceOutput {
 23297  	s.RequestId = &v
 23298  	return s
 23299  }
 23300  
 23301  // SetStatus sets the Status field's value.
 23302  func (s *DescribeDataSourceOutput) SetStatus(v int64) *DescribeDataSourceOutput {
 23303  	s.Status = &v
 23304  	return s
 23305  }
 23306  
 23307  type DescribeDataSourcePermissionsInput struct {
 23308  	_ struct{} `type:"structure" nopayload:"true"`
 23309  
 23310  	// The Amazon Web Services account ID.
 23311  	//
 23312  	// AwsAccountId is a required field
 23313  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 23314  
 23315  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 23316  	// for each Amazon Web Services account.
 23317  	//
 23318  	// DataSourceId is a required field
 23319  	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
 23320  }
 23321  
 23322  // String returns the string representation.
 23323  //
 23324  // API parameter values that are decorated as "sensitive" in the API will not
 23325  // be included in the string output. The member name will be present, but the
 23326  // value will be replaced with "sensitive".
 23327  func (s DescribeDataSourcePermissionsInput) String() string {
 23328  	return awsutil.Prettify(s)
 23329  }
 23330  
 23331  // GoString returns the string representation.
 23332  //
 23333  // API parameter values that are decorated as "sensitive" in the API will not
 23334  // be included in the string output. The member name will be present, but the
 23335  // value will be replaced with "sensitive".
 23336  func (s DescribeDataSourcePermissionsInput) GoString() string {
 23337  	return s.String()
 23338  }
 23339  
 23340  // Validate inspects the fields of the type to determine if they are valid.
 23341  func (s *DescribeDataSourcePermissionsInput) Validate() error {
 23342  	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourcePermissionsInput"}
 23343  	if s.AwsAccountId == nil {
 23344  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 23345  	}
 23346  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 23347  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 23348  	}
 23349  	if s.DataSourceId == nil {
 23350  		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
 23351  	}
 23352  	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
 23353  		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
 23354  	}
 23355  
 23356  	if invalidParams.Len() > 0 {
 23357  		return invalidParams
 23358  	}
 23359  	return nil
 23360  }
 23361  
 23362  // SetAwsAccountId sets the AwsAccountId field's value.
 23363  func (s *DescribeDataSourcePermissionsInput) SetAwsAccountId(v string) *DescribeDataSourcePermissionsInput {
 23364  	s.AwsAccountId = &v
 23365  	return s
 23366  }
 23367  
 23368  // SetDataSourceId sets the DataSourceId field's value.
 23369  func (s *DescribeDataSourcePermissionsInput) SetDataSourceId(v string) *DescribeDataSourcePermissionsInput {
 23370  	s.DataSourceId = &v
 23371  	return s
 23372  }
 23373  
 23374  type DescribeDataSourcePermissionsOutput struct {
 23375  	_ struct{} `type:"structure"`
 23376  
 23377  	// The Amazon Resource Name (ARN) of the data source.
 23378  	DataSourceArn *string `type:"string"`
 23379  
 23380  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 23381  	// for each Amazon Web Services account.
 23382  	DataSourceId *string `type:"string"`
 23383  
 23384  	// A list of resource permissions on the data source.
 23385  	Permissions []*ResourcePermission `min:"1" type:"list"`
 23386  
 23387  	// The Amazon Web Services request ID for this operation.
 23388  	RequestId *string `type:"string"`
 23389  
 23390  	// The HTTP status of the request.
 23391  	Status *int64 `location:"statusCode" type:"integer"`
 23392  }
 23393  
 23394  // String returns the string representation.
 23395  //
 23396  // API parameter values that are decorated as "sensitive" in the API will not
 23397  // be included in the string output. The member name will be present, but the
 23398  // value will be replaced with "sensitive".
 23399  func (s DescribeDataSourcePermissionsOutput) String() string {
 23400  	return awsutil.Prettify(s)
 23401  }
 23402  
 23403  // GoString returns the string representation.
 23404  //
 23405  // API parameter values that are decorated as "sensitive" in the API will not
 23406  // be included in the string output. The member name will be present, but the
 23407  // value will be replaced with "sensitive".
 23408  func (s DescribeDataSourcePermissionsOutput) GoString() string {
 23409  	return s.String()
 23410  }
 23411  
 23412  // SetDataSourceArn sets the DataSourceArn field's value.
 23413  func (s *DescribeDataSourcePermissionsOutput) SetDataSourceArn(v string) *DescribeDataSourcePermissionsOutput {
 23414  	s.DataSourceArn = &v
 23415  	return s
 23416  }
 23417  
 23418  // SetDataSourceId sets the DataSourceId field's value.
 23419  func (s *DescribeDataSourcePermissionsOutput) SetDataSourceId(v string) *DescribeDataSourcePermissionsOutput {
 23420  	s.DataSourceId = &v
 23421  	return s
 23422  }
 23423  
 23424  // SetPermissions sets the Permissions field's value.
 23425  func (s *DescribeDataSourcePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSourcePermissionsOutput {
 23426  	s.Permissions = v
 23427  	return s
 23428  }
 23429  
 23430  // SetRequestId sets the RequestId field's value.
 23431  func (s *DescribeDataSourcePermissionsOutput) SetRequestId(v string) *DescribeDataSourcePermissionsOutput {
 23432  	s.RequestId = &v
 23433  	return s
 23434  }
 23435  
 23436  // SetStatus sets the Status field's value.
 23437  func (s *DescribeDataSourcePermissionsOutput) SetStatus(v int64) *DescribeDataSourcePermissionsOutput {
 23438  	s.Status = &v
 23439  	return s
 23440  }
 23441  
 23442  type DescribeFolderInput struct {
 23443  	_ struct{} `type:"structure" nopayload:"true"`
 23444  
 23445  	// The AWS account ID.
 23446  	//
 23447  	// AwsAccountId is a required field
 23448  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 23449  
 23450  	// The folder ID.
 23451  	//
 23452  	// FolderId is a required field
 23453  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 23454  }
 23455  
 23456  // String returns the string representation.
 23457  //
 23458  // API parameter values that are decorated as "sensitive" in the API will not
 23459  // be included in the string output. The member name will be present, but the
 23460  // value will be replaced with "sensitive".
 23461  func (s DescribeFolderInput) String() string {
 23462  	return awsutil.Prettify(s)
 23463  }
 23464  
 23465  // GoString returns the string representation.
 23466  //
 23467  // API parameter values that are decorated as "sensitive" in the API will not
 23468  // be included in the string output. The member name will be present, but the
 23469  // value will be replaced with "sensitive".
 23470  func (s DescribeFolderInput) GoString() string {
 23471  	return s.String()
 23472  }
 23473  
 23474  // Validate inspects the fields of the type to determine if they are valid.
 23475  func (s *DescribeFolderInput) Validate() error {
 23476  	invalidParams := request.ErrInvalidParams{Context: "DescribeFolderInput"}
 23477  	if s.AwsAccountId == nil {
 23478  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 23479  	}
 23480  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 23481  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 23482  	}
 23483  	if s.FolderId == nil {
 23484  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 23485  	}
 23486  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 23487  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 23488  	}
 23489  
 23490  	if invalidParams.Len() > 0 {
 23491  		return invalidParams
 23492  	}
 23493  	return nil
 23494  }
 23495  
 23496  // SetAwsAccountId sets the AwsAccountId field's value.
 23497  func (s *DescribeFolderInput) SetAwsAccountId(v string) *DescribeFolderInput {
 23498  	s.AwsAccountId = &v
 23499  	return s
 23500  }
 23501  
 23502  // SetFolderId sets the FolderId field's value.
 23503  func (s *DescribeFolderInput) SetFolderId(v string) *DescribeFolderInput {
 23504  	s.FolderId = &v
 23505  	return s
 23506  }
 23507  
 23508  type DescribeFolderOutput struct {
 23509  	_ struct{} `type:"structure"`
 23510  
 23511  	// Information about the folder.
 23512  	Folder *Folder `type:"structure"`
 23513  
 23514  	// The request ID.
 23515  	RequestId *string `type:"string"`
 23516  
 23517  	// The status. If succeeded, the status is SC_OK (200).
 23518  	Status *int64 `location:"statusCode" type:"integer"`
 23519  }
 23520  
 23521  // String returns the string representation.
 23522  //
 23523  // API parameter values that are decorated as "sensitive" in the API will not
 23524  // be included in the string output. The member name will be present, but the
 23525  // value will be replaced with "sensitive".
 23526  func (s DescribeFolderOutput) String() string {
 23527  	return awsutil.Prettify(s)
 23528  }
 23529  
 23530  // GoString returns the string representation.
 23531  //
 23532  // API parameter values that are decorated as "sensitive" in the API will not
 23533  // be included in the string output. The member name will be present, but the
 23534  // value will be replaced with "sensitive".
 23535  func (s DescribeFolderOutput) GoString() string {
 23536  	return s.String()
 23537  }
 23538  
 23539  // SetFolder sets the Folder field's value.
 23540  func (s *DescribeFolderOutput) SetFolder(v *Folder) *DescribeFolderOutput {
 23541  	s.Folder = v
 23542  	return s
 23543  }
 23544  
 23545  // SetRequestId sets the RequestId field's value.
 23546  func (s *DescribeFolderOutput) SetRequestId(v string) *DescribeFolderOutput {
 23547  	s.RequestId = &v
 23548  	return s
 23549  }
 23550  
 23551  // SetStatus sets the Status field's value.
 23552  func (s *DescribeFolderOutput) SetStatus(v int64) *DescribeFolderOutput {
 23553  	s.Status = &v
 23554  	return s
 23555  }
 23556  
 23557  type DescribeFolderPermissionsInput struct {
 23558  	_ struct{} `type:"structure" nopayload:"true"`
 23559  
 23560  	// The AWS Account ID.
 23561  	//
 23562  	// AwsAccountId is a required field
 23563  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 23564  
 23565  	// The folder ID.
 23566  	//
 23567  	// FolderId is a required field
 23568  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 23569  }
 23570  
 23571  // String returns the string representation.
 23572  //
 23573  // API parameter values that are decorated as "sensitive" in the API will not
 23574  // be included in the string output. The member name will be present, but the
 23575  // value will be replaced with "sensitive".
 23576  func (s DescribeFolderPermissionsInput) String() string {
 23577  	return awsutil.Prettify(s)
 23578  }
 23579  
 23580  // GoString returns the string representation.
 23581  //
 23582  // API parameter values that are decorated as "sensitive" in the API will not
 23583  // be included in the string output. The member name will be present, but the
 23584  // value will be replaced with "sensitive".
 23585  func (s DescribeFolderPermissionsInput) GoString() string {
 23586  	return s.String()
 23587  }
 23588  
 23589  // Validate inspects the fields of the type to determine if they are valid.
 23590  func (s *DescribeFolderPermissionsInput) Validate() error {
 23591  	invalidParams := request.ErrInvalidParams{Context: "DescribeFolderPermissionsInput"}
 23592  	if s.AwsAccountId == nil {
 23593  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 23594  	}
 23595  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 23596  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 23597  	}
 23598  	if s.FolderId == nil {
 23599  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 23600  	}
 23601  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 23602  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 23603  	}
 23604  
 23605  	if invalidParams.Len() > 0 {
 23606  		return invalidParams
 23607  	}
 23608  	return nil
 23609  }
 23610  
 23611  // SetAwsAccountId sets the AwsAccountId field's value.
 23612  func (s *DescribeFolderPermissionsInput) SetAwsAccountId(v string) *DescribeFolderPermissionsInput {
 23613  	s.AwsAccountId = &v
 23614  	return s
 23615  }
 23616  
 23617  // SetFolderId sets the FolderId field's value.
 23618  func (s *DescribeFolderPermissionsInput) SetFolderId(v string) *DescribeFolderPermissionsInput {
 23619  	s.FolderId = &v
 23620  	return s
 23621  }
 23622  
 23623  type DescribeFolderPermissionsOutput struct {
 23624  	_ struct{} `type:"structure"`
 23625  
 23626  	// The Amazon Resource Name (ARN) for the folder.
 23627  	Arn *string `type:"string"`
 23628  
 23629  	// The folder ID.
 23630  	FolderId *string `min:"1" type:"string"`
 23631  
 23632  	// Information about the permissions on the folder.
 23633  	Permissions []*ResourcePermission `min:"1" type:"list"`
 23634  
 23635  	// The request ID.
 23636  	RequestId *string `type:"string"`
 23637  
 23638  	// The status. If succeeded, the status is SC_OK.
 23639  	Status *int64 `location:"statusCode" type:"integer"`
 23640  }
 23641  
 23642  // String returns the string representation.
 23643  //
 23644  // API parameter values that are decorated as "sensitive" in the API will not
 23645  // be included in the string output. The member name will be present, but the
 23646  // value will be replaced with "sensitive".
 23647  func (s DescribeFolderPermissionsOutput) String() string {
 23648  	return awsutil.Prettify(s)
 23649  }
 23650  
 23651  // GoString returns the string representation.
 23652  //
 23653  // API parameter values that are decorated as "sensitive" in the API will not
 23654  // be included in the string output. The member name will be present, but the
 23655  // value will be replaced with "sensitive".
 23656  func (s DescribeFolderPermissionsOutput) GoString() string {
 23657  	return s.String()
 23658  }
 23659  
 23660  // SetArn sets the Arn field's value.
 23661  func (s *DescribeFolderPermissionsOutput) SetArn(v string) *DescribeFolderPermissionsOutput {
 23662  	s.Arn = &v
 23663  	return s
 23664  }
 23665  
 23666  // SetFolderId sets the FolderId field's value.
 23667  func (s *DescribeFolderPermissionsOutput) SetFolderId(v string) *DescribeFolderPermissionsOutput {
 23668  	s.FolderId = &v
 23669  	return s
 23670  }
 23671  
 23672  // SetPermissions sets the Permissions field's value.
 23673  func (s *DescribeFolderPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeFolderPermissionsOutput {
 23674  	s.Permissions = v
 23675  	return s
 23676  }
 23677  
 23678  // SetRequestId sets the RequestId field's value.
 23679  func (s *DescribeFolderPermissionsOutput) SetRequestId(v string) *DescribeFolderPermissionsOutput {
 23680  	s.RequestId = &v
 23681  	return s
 23682  }
 23683  
 23684  // SetStatus sets the Status field's value.
 23685  func (s *DescribeFolderPermissionsOutput) SetStatus(v int64) *DescribeFolderPermissionsOutput {
 23686  	s.Status = &v
 23687  	return s
 23688  }
 23689  
 23690  type DescribeFolderResolvedPermissionsInput struct {
 23691  	_ struct{} `type:"structure" nopayload:"true"`
 23692  
 23693  	// The AWS account ID.
 23694  	//
 23695  	// AwsAccountId is a required field
 23696  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 23697  
 23698  	// The folder ID.
 23699  	//
 23700  	// FolderId is a required field
 23701  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 23702  }
 23703  
 23704  // String returns the string representation.
 23705  //
 23706  // API parameter values that are decorated as "sensitive" in the API will not
 23707  // be included in the string output. The member name will be present, but the
 23708  // value will be replaced with "sensitive".
 23709  func (s DescribeFolderResolvedPermissionsInput) String() string {
 23710  	return awsutil.Prettify(s)
 23711  }
 23712  
 23713  // GoString returns the string representation.
 23714  //
 23715  // API parameter values that are decorated as "sensitive" in the API will not
 23716  // be included in the string output. The member name will be present, but the
 23717  // value will be replaced with "sensitive".
 23718  func (s DescribeFolderResolvedPermissionsInput) GoString() string {
 23719  	return s.String()
 23720  }
 23721  
 23722  // Validate inspects the fields of the type to determine if they are valid.
 23723  func (s *DescribeFolderResolvedPermissionsInput) Validate() error {
 23724  	invalidParams := request.ErrInvalidParams{Context: "DescribeFolderResolvedPermissionsInput"}
 23725  	if s.AwsAccountId == nil {
 23726  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 23727  	}
 23728  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 23729  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 23730  	}
 23731  	if s.FolderId == nil {
 23732  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 23733  	}
 23734  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 23735  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 23736  	}
 23737  
 23738  	if invalidParams.Len() > 0 {
 23739  		return invalidParams
 23740  	}
 23741  	return nil
 23742  }
 23743  
 23744  // SetAwsAccountId sets the AwsAccountId field's value.
 23745  func (s *DescribeFolderResolvedPermissionsInput) SetAwsAccountId(v string) *DescribeFolderResolvedPermissionsInput {
 23746  	s.AwsAccountId = &v
 23747  	return s
 23748  }
 23749  
 23750  // SetFolderId sets the FolderId field's value.
 23751  func (s *DescribeFolderResolvedPermissionsInput) SetFolderId(v string) *DescribeFolderResolvedPermissionsInput {
 23752  	s.FolderId = &v
 23753  	return s
 23754  }
 23755  
 23756  type DescribeFolderResolvedPermissionsOutput struct {
 23757  	_ struct{} `type:"structure"`
 23758  
 23759  	// The Amazon Resource Name (ARN).
 23760  	Arn *string `type:"string"`
 23761  
 23762  	// The folder ID.
 23763  	FolderId *string `min:"1" type:"string"`
 23764  
 23765  	// Information about the permissions on the dashboard.
 23766  	Permissions []*ResourcePermission `min:"1" type:"list"`
 23767  
 23768  	// The request ID.
 23769  	RequestId *string `type:"string"`
 23770  
 23771  	// The status. If succeeded, the status is SC_OK
 23772  	Status *int64 `location:"statusCode" type:"integer"`
 23773  }
 23774  
 23775  // String returns the string representation.
 23776  //
 23777  // API parameter values that are decorated as "sensitive" in the API will not
 23778  // be included in the string output. The member name will be present, but the
 23779  // value will be replaced with "sensitive".
 23780  func (s DescribeFolderResolvedPermissionsOutput) String() string {
 23781  	return awsutil.Prettify(s)
 23782  }
 23783  
 23784  // GoString returns the string representation.
 23785  //
 23786  // API parameter values that are decorated as "sensitive" in the API will not
 23787  // be included in the string output. The member name will be present, but the
 23788  // value will be replaced with "sensitive".
 23789  func (s DescribeFolderResolvedPermissionsOutput) GoString() string {
 23790  	return s.String()
 23791  }
 23792  
 23793  // SetArn sets the Arn field's value.
 23794  func (s *DescribeFolderResolvedPermissionsOutput) SetArn(v string) *DescribeFolderResolvedPermissionsOutput {
 23795  	s.Arn = &v
 23796  	return s
 23797  }
 23798  
 23799  // SetFolderId sets the FolderId field's value.
 23800  func (s *DescribeFolderResolvedPermissionsOutput) SetFolderId(v string) *DescribeFolderResolvedPermissionsOutput {
 23801  	s.FolderId = &v
 23802  	return s
 23803  }
 23804  
 23805  // SetPermissions sets the Permissions field's value.
 23806  func (s *DescribeFolderResolvedPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeFolderResolvedPermissionsOutput {
 23807  	s.Permissions = v
 23808  	return s
 23809  }
 23810  
 23811  // SetRequestId sets the RequestId field's value.
 23812  func (s *DescribeFolderResolvedPermissionsOutput) SetRequestId(v string) *DescribeFolderResolvedPermissionsOutput {
 23813  	s.RequestId = &v
 23814  	return s
 23815  }
 23816  
 23817  // SetStatus sets the Status field's value.
 23818  func (s *DescribeFolderResolvedPermissionsOutput) SetStatus(v int64) *DescribeFolderResolvedPermissionsOutput {
 23819  	s.Status = &v
 23820  	return s
 23821  }
 23822  
 23823  type DescribeGroupInput struct {
 23824  	_ struct{} `type:"structure" nopayload:"true"`
 23825  
 23826  	// The ID for the Amazon Web Services account that the group is in. Currently,
 23827  	// you use the ID for the Amazon Web Services account that contains your Amazon
 23828  	// QuickSight account.
 23829  	//
 23830  	// AwsAccountId is a required field
 23831  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 23832  
 23833  	// The name of the group that you want to describe.
 23834  	//
 23835  	// GroupName is a required field
 23836  	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
 23837  
 23838  	// The namespace. Currently, you should set this to default.
 23839  	//
 23840  	// Namespace is a required field
 23841  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 23842  }
 23843  
 23844  // String returns the string representation.
 23845  //
 23846  // API parameter values that are decorated as "sensitive" in the API will not
 23847  // be included in the string output. The member name will be present, but the
 23848  // value will be replaced with "sensitive".
 23849  func (s DescribeGroupInput) String() string {
 23850  	return awsutil.Prettify(s)
 23851  }
 23852  
 23853  // GoString returns the string representation.
 23854  //
 23855  // API parameter values that are decorated as "sensitive" in the API will not
 23856  // be included in the string output. The member name will be present, but the
 23857  // value will be replaced with "sensitive".
 23858  func (s DescribeGroupInput) GoString() string {
 23859  	return s.String()
 23860  }
 23861  
 23862  // Validate inspects the fields of the type to determine if they are valid.
 23863  func (s *DescribeGroupInput) Validate() error {
 23864  	invalidParams := request.ErrInvalidParams{Context: "DescribeGroupInput"}
 23865  	if s.AwsAccountId == nil {
 23866  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 23867  	}
 23868  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 23869  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 23870  	}
 23871  	if s.GroupName == nil {
 23872  		invalidParams.Add(request.NewErrParamRequired("GroupName"))
 23873  	}
 23874  	if s.GroupName != nil && len(*s.GroupName) < 1 {
 23875  		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
 23876  	}
 23877  	if s.Namespace == nil {
 23878  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 23879  	}
 23880  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 23881  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 23882  	}
 23883  
 23884  	if invalidParams.Len() > 0 {
 23885  		return invalidParams
 23886  	}
 23887  	return nil
 23888  }
 23889  
 23890  // SetAwsAccountId sets the AwsAccountId field's value.
 23891  func (s *DescribeGroupInput) SetAwsAccountId(v string) *DescribeGroupInput {
 23892  	s.AwsAccountId = &v
 23893  	return s
 23894  }
 23895  
 23896  // SetGroupName sets the GroupName field's value.
 23897  func (s *DescribeGroupInput) SetGroupName(v string) *DescribeGroupInput {
 23898  	s.GroupName = &v
 23899  	return s
 23900  }
 23901  
 23902  // SetNamespace sets the Namespace field's value.
 23903  func (s *DescribeGroupInput) SetNamespace(v string) *DescribeGroupInput {
 23904  	s.Namespace = &v
 23905  	return s
 23906  }
 23907  
 23908  type DescribeGroupOutput struct {
 23909  	_ struct{} `type:"structure"`
 23910  
 23911  	// The name of the group.
 23912  	Group *Group `type:"structure"`
 23913  
 23914  	// The Amazon Web Services request ID for this operation.
 23915  	RequestId *string `type:"string"`
 23916  
 23917  	// The HTTP status of the request.
 23918  	Status *int64 `location:"statusCode" type:"integer"`
 23919  }
 23920  
 23921  // String returns the string representation.
 23922  //
 23923  // API parameter values that are decorated as "sensitive" in the API will not
 23924  // be included in the string output. The member name will be present, but the
 23925  // value will be replaced with "sensitive".
 23926  func (s DescribeGroupOutput) String() string {
 23927  	return awsutil.Prettify(s)
 23928  }
 23929  
 23930  // GoString returns the string representation.
 23931  //
 23932  // API parameter values that are decorated as "sensitive" in the API will not
 23933  // be included in the string output. The member name will be present, but the
 23934  // value will be replaced with "sensitive".
 23935  func (s DescribeGroupOutput) GoString() string {
 23936  	return s.String()
 23937  }
 23938  
 23939  // SetGroup sets the Group field's value.
 23940  func (s *DescribeGroupOutput) SetGroup(v *Group) *DescribeGroupOutput {
 23941  	s.Group = v
 23942  	return s
 23943  }
 23944  
 23945  // SetRequestId sets the RequestId field's value.
 23946  func (s *DescribeGroupOutput) SetRequestId(v string) *DescribeGroupOutput {
 23947  	s.RequestId = &v
 23948  	return s
 23949  }
 23950  
 23951  // SetStatus sets the Status field's value.
 23952  func (s *DescribeGroupOutput) SetStatus(v int64) *DescribeGroupOutput {
 23953  	s.Status = &v
 23954  	return s
 23955  }
 23956  
 23957  type DescribeIAMPolicyAssignmentInput struct {
 23958  	_ struct{} `type:"structure" nopayload:"true"`
 23959  
 23960  	// The name of the assignment, also called a rule.
 23961  	//
 23962  	// AssignmentName is a required field
 23963  	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
 23964  
 23965  	// The ID of the Amazon Web Services account that contains the assignment that
 23966  	// you want to describe.
 23967  	//
 23968  	// AwsAccountId is a required field
 23969  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 23970  
 23971  	// The namespace that contains the assignment.
 23972  	//
 23973  	// Namespace is a required field
 23974  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 23975  }
 23976  
 23977  // String returns the string representation.
 23978  //
 23979  // API parameter values that are decorated as "sensitive" in the API will not
 23980  // be included in the string output. The member name will be present, but the
 23981  // value will be replaced with "sensitive".
 23982  func (s DescribeIAMPolicyAssignmentInput) String() string {
 23983  	return awsutil.Prettify(s)
 23984  }
 23985  
 23986  // GoString returns the string representation.
 23987  //
 23988  // API parameter values that are decorated as "sensitive" in the API will not
 23989  // be included in the string output. The member name will be present, but the
 23990  // value will be replaced with "sensitive".
 23991  func (s DescribeIAMPolicyAssignmentInput) GoString() string {
 23992  	return s.String()
 23993  }
 23994  
 23995  // Validate inspects the fields of the type to determine if they are valid.
 23996  func (s *DescribeIAMPolicyAssignmentInput) Validate() error {
 23997  	invalidParams := request.ErrInvalidParams{Context: "DescribeIAMPolicyAssignmentInput"}
 23998  	if s.AssignmentName == nil {
 23999  		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
 24000  	}
 24001  	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
 24002  		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
 24003  	}
 24004  	if s.AwsAccountId == nil {
 24005  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 24006  	}
 24007  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 24008  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 24009  	}
 24010  	if s.Namespace == nil {
 24011  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 24012  	}
 24013  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 24014  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 24015  	}
 24016  
 24017  	if invalidParams.Len() > 0 {
 24018  		return invalidParams
 24019  	}
 24020  	return nil
 24021  }
 24022  
 24023  // SetAssignmentName sets the AssignmentName field's value.
 24024  func (s *DescribeIAMPolicyAssignmentInput) SetAssignmentName(v string) *DescribeIAMPolicyAssignmentInput {
 24025  	s.AssignmentName = &v
 24026  	return s
 24027  }
 24028  
 24029  // SetAwsAccountId sets the AwsAccountId field's value.
 24030  func (s *DescribeIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DescribeIAMPolicyAssignmentInput {
 24031  	s.AwsAccountId = &v
 24032  	return s
 24033  }
 24034  
 24035  // SetNamespace sets the Namespace field's value.
 24036  func (s *DescribeIAMPolicyAssignmentInput) SetNamespace(v string) *DescribeIAMPolicyAssignmentInput {
 24037  	s.Namespace = &v
 24038  	return s
 24039  }
 24040  
 24041  type DescribeIAMPolicyAssignmentOutput struct {
 24042  	_ struct{} `type:"structure"`
 24043  
 24044  	// Information describing the IAMpolicy assignment.
 24045  	IAMPolicyAssignment *IAMPolicyAssignment `type:"structure"`
 24046  
 24047  	// The Amazon Web Services request ID for this operation.
 24048  	RequestId *string `type:"string"`
 24049  
 24050  	// The HTTP status of the request.
 24051  	Status *int64 `location:"statusCode" type:"integer"`
 24052  }
 24053  
 24054  // String returns the string representation.
 24055  //
 24056  // API parameter values that are decorated as "sensitive" in the API will not
 24057  // be included in the string output. The member name will be present, but the
 24058  // value will be replaced with "sensitive".
 24059  func (s DescribeIAMPolicyAssignmentOutput) String() string {
 24060  	return awsutil.Prettify(s)
 24061  }
 24062  
 24063  // GoString returns the string representation.
 24064  //
 24065  // API parameter values that are decorated as "sensitive" in the API will not
 24066  // be included in the string output. The member name will be present, but the
 24067  // value will be replaced with "sensitive".
 24068  func (s DescribeIAMPolicyAssignmentOutput) GoString() string {
 24069  	return s.String()
 24070  }
 24071  
 24072  // SetIAMPolicyAssignment sets the IAMPolicyAssignment field's value.
 24073  func (s *DescribeIAMPolicyAssignmentOutput) SetIAMPolicyAssignment(v *IAMPolicyAssignment) *DescribeIAMPolicyAssignmentOutput {
 24074  	s.IAMPolicyAssignment = v
 24075  	return s
 24076  }
 24077  
 24078  // SetRequestId sets the RequestId field's value.
 24079  func (s *DescribeIAMPolicyAssignmentOutput) SetRequestId(v string) *DescribeIAMPolicyAssignmentOutput {
 24080  	s.RequestId = &v
 24081  	return s
 24082  }
 24083  
 24084  // SetStatus sets the Status field's value.
 24085  func (s *DescribeIAMPolicyAssignmentOutput) SetStatus(v int64) *DescribeIAMPolicyAssignmentOutput {
 24086  	s.Status = &v
 24087  	return s
 24088  }
 24089  
 24090  type DescribeIngestionInput struct {
 24091  	_ struct{} `type:"structure" nopayload:"true"`
 24092  
 24093  	// The Amazon Web Services account ID.
 24094  	//
 24095  	// AwsAccountId is a required field
 24096  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 24097  
 24098  	// The ID of the dataset used in the ingestion.
 24099  	//
 24100  	// DataSetId is a required field
 24101  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 24102  
 24103  	// An ID for the ingestion.
 24104  	//
 24105  	// IngestionId is a required field
 24106  	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
 24107  }
 24108  
 24109  // String returns the string representation.
 24110  //
 24111  // API parameter values that are decorated as "sensitive" in the API will not
 24112  // be included in the string output. The member name will be present, but the
 24113  // value will be replaced with "sensitive".
 24114  func (s DescribeIngestionInput) String() string {
 24115  	return awsutil.Prettify(s)
 24116  }
 24117  
 24118  // GoString returns the string representation.
 24119  //
 24120  // API parameter values that are decorated as "sensitive" in the API will not
 24121  // be included in the string output. The member name will be present, but the
 24122  // value will be replaced with "sensitive".
 24123  func (s DescribeIngestionInput) GoString() string {
 24124  	return s.String()
 24125  }
 24126  
 24127  // Validate inspects the fields of the type to determine if they are valid.
 24128  func (s *DescribeIngestionInput) Validate() error {
 24129  	invalidParams := request.ErrInvalidParams{Context: "DescribeIngestionInput"}
 24130  	if s.AwsAccountId == nil {
 24131  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 24132  	}
 24133  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 24134  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 24135  	}
 24136  	if s.DataSetId == nil {
 24137  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 24138  	}
 24139  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 24140  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 24141  	}
 24142  	if s.IngestionId == nil {
 24143  		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
 24144  	}
 24145  	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
 24146  		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
 24147  	}
 24148  
 24149  	if invalidParams.Len() > 0 {
 24150  		return invalidParams
 24151  	}
 24152  	return nil
 24153  }
 24154  
 24155  // SetAwsAccountId sets the AwsAccountId field's value.
 24156  func (s *DescribeIngestionInput) SetAwsAccountId(v string) *DescribeIngestionInput {
 24157  	s.AwsAccountId = &v
 24158  	return s
 24159  }
 24160  
 24161  // SetDataSetId sets the DataSetId field's value.
 24162  func (s *DescribeIngestionInput) SetDataSetId(v string) *DescribeIngestionInput {
 24163  	s.DataSetId = &v
 24164  	return s
 24165  }
 24166  
 24167  // SetIngestionId sets the IngestionId field's value.
 24168  func (s *DescribeIngestionInput) SetIngestionId(v string) *DescribeIngestionInput {
 24169  	s.IngestionId = &v
 24170  	return s
 24171  }
 24172  
 24173  type DescribeIngestionOutput struct {
 24174  	_ struct{} `type:"structure"`
 24175  
 24176  	// Information about the ingestion.
 24177  	Ingestion *Ingestion `type:"structure"`
 24178  
 24179  	// The Amazon Web Services request ID for this operation.
 24180  	RequestId *string `type:"string"`
 24181  
 24182  	// The HTTP status of the request.
 24183  	Status *int64 `location:"statusCode" type:"integer"`
 24184  }
 24185  
 24186  // String returns the string representation.
 24187  //
 24188  // API parameter values that are decorated as "sensitive" in the API will not
 24189  // be included in the string output. The member name will be present, but the
 24190  // value will be replaced with "sensitive".
 24191  func (s DescribeIngestionOutput) String() string {
 24192  	return awsutil.Prettify(s)
 24193  }
 24194  
 24195  // GoString returns the string representation.
 24196  //
 24197  // API parameter values that are decorated as "sensitive" in the API will not
 24198  // be included in the string output. The member name will be present, but the
 24199  // value will be replaced with "sensitive".
 24200  func (s DescribeIngestionOutput) GoString() string {
 24201  	return s.String()
 24202  }
 24203  
 24204  // SetIngestion sets the Ingestion field's value.
 24205  func (s *DescribeIngestionOutput) SetIngestion(v *Ingestion) *DescribeIngestionOutput {
 24206  	s.Ingestion = v
 24207  	return s
 24208  }
 24209  
 24210  // SetRequestId sets the RequestId field's value.
 24211  func (s *DescribeIngestionOutput) SetRequestId(v string) *DescribeIngestionOutput {
 24212  	s.RequestId = &v
 24213  	return s
 24214  }
 24215  
 24216  // SetStatus sets the Status field's value.
 24217  func (s *DescribeIngestionOutput) SetStatus(v int64) *DescribeIngestionOutput {
 24218  	s.Status = &v
 24219  	return s
 24220  }
 24221  
 24222  type DescribeNamespaceInput struct {
 24223  	_ struct{} `type:"structure" nopayload:"true"`
 24224  
 24225  	// The ID for the Amazon Web Services account that contains the Amazon QuickSight
 24226  	// namespace that you want to describe.
 24227  	//
 24228  	// AwsAccountId is a required field
 24229  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 24230  
 24231  	// The namespace that you want to describe.
 24232  	//
 24233  	// Namespace is a required field
 24234  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 24235  }
 24236  
 24237  // String returns the string representation.
 24238  //
 24239  // API parameter values that are decorated as "sensitive" in the API will not
 24240  // be included in the string output. The member name will be present, but the
 24241  // value will be replaced with "sensitive".
 24242  func (s DescribeNamespaceInput) String() string {
 24243  	return awsutil.Prettify(s)
 24244  }
 24245  
 24246  // GoString returns the string representation.
 24247  //
 24248  // API parameter values that are decorated as "sensitive" in the API will not
 24249  // be included in the string output. The member name will be present, but the
 24250  // value will be replaced with "sensitive".
 24251  func (s DescribeNamespaceInput) GoString() string {
 24252  	return s.String()
 24253  }
 24254  
 24255  // Validate inspects the fields of the type to determine if they are valid.
 24256  func (s *DescribeNamespaceInput) Validate() error {
 24257  	invalidParams := request.ErrInvalidParams{Context: "DescribeNamespaceInput"}
 24258  	if s.AwsAccountId == nil {
 24259  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 24260  	}
 24261  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 24262  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 24263  	}
 24264  	if s.Namespace == nil {
 24265  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 24266  	}
 24267  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 24268  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 24269  	}
 24270  
 24271  	if invalidParams.Len() > 0 {
 24272  		return invalidParams
 24273  	}
 24274  	return nil
 24275  }
 24276  
 24277  // SetAwsAccountId sets the AwsAccountId field's value.
 24278  func (s *DescribeNamespaceInput) SetAwsAccountId(v string) *DescribeNamespaceInput {
 24279  	s.AwsAccountId = &v
 24280  	return s
 24281  }
 24282  
 24283  // SetNamespace sets the Namespace field's value.
 24284  func (s *DescribeNamespaceInput) SetNamespace(v string) *DescribeNamespaceInput {
 24285  	s.Namespace = &v
 24286  	return s
 24287  }
 24288  
 24289  type DescribeNamespaceOutput struct {
 24290  	_ struct{} `type:"structure"`
 24291  
 24292  	// The information about the namespace that you're describing. The response
 24293  	// includes the namespace ARN, name, Amazon Web Services Region;, creation status,
 24294  	// and identity store. DescribeNamespace also works for namespaces that are
 24295  	// in the process of being created. For incomplete namespaces, this API operation
 24296  	// lists the namespace error types and messages associated with the creation
 24297  	// process.
 24298  	Namespace *NamespaceInfoV2 `type:"structure"`
 24299  
 24300  	// The Amazon Web Services request ID for this operation.
 24301  	RequestId *string `type:"string"`
 24302  
 24303  	// The HTTP status of the request.
 24304  	Status *int64 `location:"statusCode" type:"integer"`
 24305  }
 24306  
 24307  // String returns the string representation.
 24308  //
 24309  // API parameter values that are decorated as "sensitive" in the API will not
 24310  // be included in the string output. The member name will be present, but the
 24311  // value will be replaced with "sensitive".
 24312  func (s DescribeNamespaceOutput) String() string {
 24313  	return awsutil.Prettify(s)
 24314  }
 24315  
 24316  // GoString returns the string representation.
 24317  //
 24318  // API parameter values that are decorated as "sensitive" in the API will not
 24319  // be included in the string output. The member name will be present, but the
 24320  // value will be replaced with "sensitive".
 24321  func (s DescribeNamespaceOutput) GoString() string {
 24322  	return s.String()
 24323  }
 24324  
 24325  // SetNamespace sets the Namespace field's value.
 24326  func (s *DescribeNamespaceOutput) SetNamespace(v *NamespaceInfoV2) *DescribeNamespaceOutput {
 24327  	s.Namespace = v
 24328  	return s
 24329  }
 24330  
 24331  // SetRequestId sets the RequestId field's value.
 24332  func (s *DescribeNamespaceOutput) SetRequestId(v string) *DescribeNamespaceOutput {
 24333  	s.RequestId = &v
 24334  	return s
 24335  }
 24336  
 24337  // SetStatus sets the Status field's value.
 24338  func (s *DescribeNamespaceOutput) SetStatus(v int64) *DescribeNamespaceOutput {
 24339  	s.Status = &v
 24340  	return s
 24341  }
 24342  
 24343  type DescribeTemplateAliasInput struct {
 24344  	_ struct{} `type:"structure" nopayload:"true"`
 24345  
 24346  	// The name of the template alias that you want to describe. If you name a specific
 24347  	// alias, you describe the version that the alias points to. You can specify
 24348  	// the latest version of the template by providing the keyword $LATEST in the
 24349  	// AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
 24350  	//
 24351  	// AliasName is a required field
 24352  	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
 24353  
 24354  	// The ID of the Amazon Web Services account that contains the template alias
 24355  	// that you're describing.
 24356  	//
 24357  	// AwsAccountId is a required field
 24358  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 24359  
 24360  	// The ID for the template.
 24361  	//
 24362  	// TemplateId is a required field
 24363  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 24364  }
 24365  
 24366  // String returns the string representation.
 24367  //
 24368  // API parameter values that are decorated as "sensitive" in the API will not
 24369  // be included in the string output. The member name will be present, but the
 24370  // value will be replaced with "sensitive".
 24371  func (s DescribeTemplateAliasInput) String() string {
 24372  	return awsutil.Prettify(s)
 24373  }
 24374  
 24375  // GoString returns the string representation.
 24376  //
 24377  // API parameter values that are decorated as "sensitive" in the API will not
 24378  // be included in the string output. The member name will be present, but the
 24379  // value will be replaced with "sensitive".
 24380  func (s DescribeTemplateAliasInput) GoString() string {
 24381  	return s.String()
 24382  }
 24383  
 24384  // Validate inspects the fields of the type to determine if they are valid.
 24385  func (s *DescribeTemplateAliasInput) Validate() error {
 24386  	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateAliasInput"}
 24387  	if s.AliasName == nil {
 24388  		invalidParams.Add(request.NewErrParamRequired("AliasName"))
 24389  	}
 24390  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 24391  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 24392  	}
 24393  	if s.AwsAccountId == nil {
 24394  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 24395  	}
 24396  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 24397  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 24398  	}
 24399  	if s.TemplateId == nil {
 24400  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 24401  	}
 24402  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 24403  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 24404  	}
 24405  
 24406  	if invalidParams.Len() > 0 {
 24407  		return invalidParams
 24408  	}
 24409  	return nil
 24410  }
 24411  
 24412  // SetAliasName sets the AliasName field's value.
 24413  func (s *DescribeTemplateAliasInput) SetAliasName(v string) *DescribeTemplateAliasInput {
 24414  	s.AliasName = &v
 24415  	return s
 24416  }
 24417  
 24418  // SetAwsAccountId sets the AwsAccountId field's value.
 24419  func (s *DescribeTemplateAliasInput) SetAwsAccountId(v string) *DescribeTemplateAliasInput {
 24420  	s.AwsAccountId = &v
 24421  	return s
 24422  }
 24423  
 24424  // SetTemplateId sets the TemplateId field's value.
 24425  func (s *DescribeTemplateAliasInput) SetTemplateId(v string) *DescribeTemplateAliasInput {
 24426  	s.TemplateId = &v
 24427  	return s
 24428  }
 24429  
 24430  type DescribeTemplateAliasOutput struct {
 24431  	_ struct{} `type:"structure"`
 24432  
 24433  	// The Amazon Web Services request ID for this operation.
 24434  	RequestId *string `type:"string"`
 24435  
 24436  	// The HTTP status of the request.
 24437  	Status *int64 `location:"statusCode" type:"integer"`
 24438  
 24439  	// Information about the template alias.
 24440  	TemplateAlias *TemplateAlias `type:"structure"`
 24441  }
 24442  
 24443  // String returns the string representation.
 24444  //
 24445  // API parameter values that are decorated as "sensitive" in the API will not
 24446  // be included in the string output. The member name will be present, but the
 24447  // value will be replaced with "sensitive".
 24448  func (s DescribeTemplateAliasOutput) String() string {
 24449  	return awsutil.Prettify(s)
 24450  }
 24451  
 24452  // GoString returns the string representation.
 24453  //
 24454  // API parameter values that are decorated as "sensitive" in the API will not
 24455  // be included in the string output. The member name will be present, but the
 24456  // value will be replaced with "sensitive".
 24457  func (s DescribeTemplateAliasOutput) GoString() string {
 24458  	return s.String()
 24459  }
 24460  
 24461  // SetRequestId sets the RequestId field's value.
 24462  func (s *DescribeTemplateAliasOutput) SetRequestId(v string) *DescribeTemplateAliasOutput {
 24463  	s.RequestId = &v
 24464  	return s
 24465  }
 24466  
 24467  // SetStatus sets the Status field's value.
 24468  func (s *DescribeTemplateAliasOutput) SetStatus(v int64) *DescribeTemplateAliasOutput {
 24469  	s.Status = &v
 24470  	return s
 24471  }
 24472  
 24473  // SetTemplateAlias sets the TemplateAlias field's value.
 24474  func (s *DescribeTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *DescribeTemplateAliasOutput {
 24475  	s.TemplateAlias = v
 24476  	return s
 24477  }
 24478  
 24479  type DescribeTemplateInput struct {
 24480  	_ struct{} `type:"structure" nopayload:"true"`
 24481  
 24482  	// The alias of the template that you want to describe. If you name a specific
 24483  	// alias, you describe the version that the alias points to. You can specify
 24484  	// the latest version of the template by providing the keyword $LATEST in the
 24485  	// AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
 24486  	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
 24487  
 24488  	// The ID of the Amazon Web Services account that contains the template that
 24489  	// you're describing.
 24490  	//
 24491  	// AwsAccountId is a required field
 24492  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 24493  
 24494  	// The ID for the template.
 24495  	//
 24496  	// TemplateId is a required field
 24497  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 24498  
 24499  	// (Optional) The number for the version to describe. If a VersionNumber parameter
 24500  	// value isn't provided, the latest version of the template is described.
 24501  	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
 24502  }
 24503  
 24504  // String returns the string representation.
 24505  //
 24506  // API parameter values that are decorated as "sensitive" in the API will not
 24507  // be included in the string output. The member name will be present, but the
 24508  // value will be replaced with "sensitive".
 24509  func (s DescribeTemplateInput) String() string {
 24510  	return awsutil.Prettify(s)
 24511  }
 24512  
 24513  // GoString returns the string representation.
 24514  //
 24515  // API parameter values that are decorated as "sensitive" in the API will not
 24516  // be included in the string output. The member name will be present, but the
 24517  // value will be replaced with "sensitive".
 24518  func (s DescribeTemplateInput) GoString() string {
 24519  	return s.String()
 24520  }
 24521  
 24522  // Validate inspects the fields of the type to determine if they are valid.
 24523  func (s *DescribeTemplateInput) Validate() error {
 24524  	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateInput"}
 24525  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 24526  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 24527  	}
 24528  	if s.AwsAccountId == nil {
 24529  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 24530  	}
 24531  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 24532  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 24533  	}
 24534  	if s.TemplateId == nil {
 24535  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 24536  	}
 24537  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 24538  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 24539  	}
 24540  	if s.VersionNumber != nil && *s.VersionNumber < 1 {
 24541  		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
 24542  	}
 24543  
 24544  	if invalidParams.Len() > 0 {
 24545  		return invalidParams
 24546  	}
 24547  	return nil
 24548  }
 24549  
 24550  // SetAliasName sets the AliasName field's value.
 24551  func (s *DescribeTemplateInput) SetAliasName(v string) *DescribeTemplateInput {
 24552  	s.AliasName = &v
 24553  	return s
 24554  }
 24555  
 24556  // SetAwsAccountId sets the AwsAccountId field's value.
 24557  func (s *DescribeTemplateInput) SetAwsAccountId(v string) *DescribeTemplateInput {
 24558  	s.AwsAccountId = &v
 24559  	return s
 24560  }
 24561  
 24562  // SetTemplateId sets the TemplateId field's value.
 24563  func (s *DescribeTemplateInput) SetTemplateId(v string) *DescribeTemplateInput {
 24564  	s.TemplateId = &v
 24565  	return s
 24566  }
 24567  
 24568  // SetVersionNumber sets the VersionNumber field's value.
 24569  func (s *DescribeTemplateInput) SetVersionNumber(v int64) *DescribeTemplateInput {
 24570  	s.VersionNumber = &v
 24571  	return s
 24572  }
 24573  
 24574  type DescribeTemplateOutput struct {
 24575  	_ struct{} `type:"structure"`
 24576  
 24577  	// The Amazon Web Services request ID for this operation.
 24578  	RequestId *string `type:"string"`
 24579  
 24580  	// The HTTP status of the request.
 24581  	Status *int64 `location:"statusCode" type:"integer"`
 24582  
 24583  	// The template structure for the object you want to describe.
 24584  	Template *Template `type:"structure"`
 24585  }
 24586  
 24587  // String returns the string representation.
 24588  //
 24589  // API parameter values that are decorated as "sensitive" in the API will not
 24590  // be included in the string output. The member name will be present, but the
 24591  // value will be replaced with "sensitive".
 24592  func (s DescribeTemplateOutput) String() string {
 24593  	return awsutil.Prettify(s)
 24594  }
 24595  
 24596  // GoString returns the string representation.
 24597  //
 24598  // API parameter values that are decorated as "sensitive" in the API will not
 24599  // be included in the string output. The member name will be present, but the
 24600  // value will be replaced with "sensitive".
 24601  func (s DescribeTemplateOutput) GoString() string {
 24602  	return s.String()
 24603  }
 24604  
 24605  // SetRequestId sets the RequestId field's value.
 24606  func (s *DescribeTemplateOutput) SetRequestId(v string) *DescribeTemplateOutput {
 24607  	s.RequestId = &v
 24608  	return s
 24609  }
 24610  
 24611  // SetStatus sets the Status field's value.
 24612  func (s *DescribeTemplateOutput) SetStatus(v int64) *DescribeTemplateOutput {
 24613  	s.Status = &v
 24614  	return s
 24615  }
 24616  
 24617  // SetTemplate sets the Template field's value.
 24618  func (s *DescribeTemplateOutput) SetTemplate(v *Template) *DescribeTemplateOutput {
 24619  	s.Template = v
 24620  	return s
 24621  }
 24622  
 24623  type DescribeTemplatePermissionsInput struct {
 24624  	_ struct{} `type:"structure" nopayload:"true"`
 24625  
 24626  	// The ID of the Amazon Web Services account that contains the template that
 24627  	// you're describing.
 24628  	//
 24629  	// AwsAccountId is a required field
 24630  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 24631  
 24632  	// The ID for the template.
 24633  	//
 24634  	// TemplateId is a required field
 24635  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 24636  }
 24637  
 24638  // String returns the string representation.
 24639  //
 24640  // API parameter values that are decorated as "sensitive" in the API will not
 24641  // be included in the string output. The member name will be present, but the
 24642  // value will be replaced with "sensitive".
 24643  func (s DescribeTemplatePermissionsInput) String() string {
 24644  	return awsutil.Prettify(s)
 24645  }
 24646  
 24647  // GoString returns the string representation.
 24648  //
 24649  // API parameter values that are decorated as "sensitive" in the API will not
 24650  // be included in the string output. The member name will be present, but the
 24651  // value will be replaced with "sensitive".
 24652  func (s DescribeTemplatePermissionsInput) GoString() string {
 24653  	return s.String()
 24654  }
 24655  
 24656  // Validate inspects the fields of the type to determine if they are valid.
 24657  func (s *DescribeTemplatePermissionsInput) Validate() error {
 24658  	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplatePermissionsInput"}
 24659  	if s.AwsAccountId == nil {
 24660  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 24661  	}
 24662  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 24663  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 24664  	}
 24665  	if s.TemplateId == nil {
 24666  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 24667  	}
 24668  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 24669  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 24670  	}
 24671  
 24672  	if invalidParams.Len() > 0 {
 24673  		return invalidParams
 24674  	}
 24675  	return nil
 24676  }
 24677  
 24678  // SetAwsAccountId sets the AwsAccountId field's value.
 24679  func (s *DescribeTemplatePermissionsInput) SetAwsAccountId(v string) *DescribeTemplatePermissionsInput {
 24680  	s.AwsAccountId = &v
 24681  	return s
 24682  }
 24683  
 24684  // SetTemplateId sets the TemplateId field's value.
 24685  func (s *DescribeTemplatePermissionsInput) SetTemplateId(v string) *DescribeTemplatePermissionsInput {
 24686  	s.TemplateId = &v
 24687  	return s
 24688  }
 24689  
 24690  type DescribeTemplatePermissionsOutput struct {
 24691  	_ struct{} `type:"structure"`
 24692  
 24693  	// A list of resource permissions to be set on the template.
 24694  	Permissions []*ResourcePermission `min:"1" type:"list"`
 24695  
 24696  	// The Amazon Web Services request ID for this operation.
 24697  	RequestId *string `type:"string"`
 24698  
 24699  	// The HTTP status of the request.
 24700  	Status *int64 `location:"statusCode" type:"integer"`
 24701  
 24702  	// The Amazon Resource Name (ARN) of the template.
 24703  	TemplateArn *string `type:"string"`
 24704  
 24705  	// The ID for the template.
 24706  	TemplateId *string `min:"1" type:"string"`
 24707  }
 24708  
 24709  // String returns the string representation.
 24710  //
 24711  // API parameter values that are decorated as "sensitive" in the API will not
 24712  // be included in the string output. The member name will be present, but the
 24713  // value will be replaced with "sensitive".
 24714  func (s DescribeTemplatePermissionsOutput) String() string {
 24715  	return awsutil.Prettify(s)
 24716  }
 24717  
 24718  // GoString returns the string representation.
 24719  //
 24720  // API parameter values that are decorated as "sensitive" in the API will not
 24721  // be included in the string output. The member name will be present, but the
 24722  // value will be replaced with "sensitive".
 24723  func (s DescribeTemplatePermissionsOutput) GoString() string {
 24724  	return s.String()
 24725  }
 24726  
 24727  // SetPermissions sets the Permissions field's value.
 24728  func (s *DescribeTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeTemplatePermissionsOutput {
 24729  	s.Permissions = v
 24730  	return s
 24731  }
 24732  
 24733  // SetRequestId sets the RequestId field's value.
 24734  func (s *DescribeTemplatePermissionsOutput) SetRequestId(v string) *DescribeTemplatePermissionsOutput {
 24735  	s.RequestId = &v
 24736  	return s
 24737  }
 24738  
 24739  // SetStatus sets the Status field's value.
 24740  func (s *DescribeTemplatePermissionsOutput) SetStatus(v int64) *DescribeTemplatePermissionsOutput {
 24741  	s.Status = &v
 24742  	return s
 24743  }
 24744  
 24745  // SetTemplateArn sets the TemplateArn field's value.
 24746  func (s *DescribeTemplatePermissionsOutput) SetTemplateArn(v string) *DescribeTemplatePermissionsOutput {
 24747  	s.TemplateArn = &v
 24748  	return s
 24749  }
 24750  
 24751  // SetTemplateId sets the TemplateId field's value.
 24752  func (s *DescribeTemplatePermissionsOutput) SetTemplateId(v string) *DescribeTemplatePermissionsOutput {
 24753  	s.TemplateId = &v
 24754  	return s
 24755  }
 24756  
 24757  type DescribeThemeAliasInput struct {
 24758  	_ struct{} `type:"structure" nopayload:"true"`
 24759  
 24760  	// The name of the theme alias that you want to describe.
 24761  	//
 24762  	// AliasName is a required field
 24763  	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
 24764  
 24765  	// The ID of the Amazon Web Services account that contains the theme alias that
 24766  	// you're describing.
 24767  	//
 24768  	// AwsAccountId is a required field
 24769  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 24770  
 24771  	// The ID for the theme.
 24772  	//
 24773  	// ThemeId is a required field
 24774  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 24775  }
 24776  
 24777  // String returns the string representation.
 24778  //
 24779  // API parameter values that are decorated as "sensitive" in the API will not
 24780  // be included in the string output. The member name will be present, but the
 24781  // value will be replaced with "sensitive".
 24782  func (s DescribeThemeAliasInput) String() string {
 24783  	return awsutil.Prettify(s)
 24784  }
 24785  
 24786  // GoString returns the string representation.
 24787  //
 24788  // API parameter values that are decorated as "sensitive" in the API will not
 24789  // be included in the string output. The member name will be present, but the
 24790  // value will be replaced with "sensitive".
 24791  func (s DescribeThemeAliasInput) GoString() string {
 24792  	return s.String()
 24793  }
 24794  
 24795  // Validate inspects the fields of the type to determine if they are valid.
 24796  func (s *DescribeThemeAliasInput) Validate() error {
 24797  	invalidParams := request.ErrInvalidParams{Context: "DescribeThemeAliasInput"}
 24798  	if s.AliasName == nil {
 24799  		invalidParams.Add(request.NewErrParamRequired("AliasName"))
 24800  	}
 24801  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 24802  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 24803  	}
 24804  	if s.AwsAccountId == nil {
 24805  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 24806  	}
 24807  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 24808  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 24809  	}
 24810  	if s.ThemeId == nil {
 24811  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 24812  	}
 24813  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 24814  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 24815  	}
 24816  
 24817  	if invalidParams.Len() > 0 {
 24818  		return invalidParams
 24819  	}
 24820  	return nil
 24821  }
 24822  
 24823  // SetAliasName sets the AliasName field's value.
 24824  func (s *DescribeThemeAliasInput) SetAliasName(v string) *DescribeThemeAliasInput {
 24825  	s.AliasName = &v
 24826  	return s
 24827  }
 24828  
 24829  // SetAwsAccountId sets the AwsAccountId field's value.
 24830  func (s *DescribeThemeAliasInput) SetAwsAccountId(v string) *DescribeThemeAliasInput {
 24831  	s.AwsAccountId = &v
 24832  	return s
 24833  }
 24834  
 24835  // SetThemeId sets the ThemeId field's value.
 24836  func (s *DescribeThemeAliasInput) SetThemeId(v string) *DescribeThemeAliasInput {
 24837  	s.ThemeId = &v
 24838  	return s
 24839  }
 24840  
 24841  type DescribeThemeAliasOutput struct {
 24842  	_ struct{} `type:"structure"`
 24843  
 24844  	// The Amazon Web Services request ID for this operation.
 24845  	RequestId *string `type:"string"`
 24846  
 24847  	// The HTTP status of the request.
 24848  	Status *int64 `location:"statusCode" type:"integer"`
 24849  
 24850  	// Information about the theme alias.
 24851  	ThemeAlias *ThemeAlias `type:"structure"`
 24852  }
 24853  
 24854  // String returns the string representation.
 24855  //
 24856  // API parameter values that are decorated as "sensitive" in the API will not
 24857  // be included in the string output. The member name will be present, but the
 24858  // value will be replaced with "sensitive".
 24859  func (s DescribeThemeAliasOutput) String() string {
 24860  	return awsutil.Prettify(s)
 24861  }
 24862  
 24863  // GoString returns the string representation.
 24864  //
 24865  // API parameter values that are decorated as "sensitive" in the API will not
 24866  // be included in the string output. The member name will be present, but the
 24867  // value will be replaced with "sensitive".
 24868  func (s DescribeThemeAliasOutput) GoString() string {
 24869  	return s.String()
 24870  }
 24871  
 24872  // SetRequestId sets the RequestId field's value.
 24873  func (s *DescribeThemeAliasOutput) SetRequestId(v string) *DescribeThemeAliasOutput {
 24874  	s.RequestId = &v
 24875  	return s
 24876  }
 24877  
 24878  // SetStatus sets the Status field's value.
 24879  func (s *DescribeThemeAliasOutput) SetStatus(v int64) *DescribeThemeAliasOutput {
 24880  	s.Status = &v
 24881  	return s
 24882  }
 24883  
 24884  // SetThemeAlias sets the ThemeAlias field's value.
 24885  func (s *DescribeThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *DescribeThemeAliasOutput {
 24886  	s.ThemeAlias = v
 24887  	return s
 24888  }
 24889  
 24890  type DescribeThemeInput struct {
 24891  	_ struct{} `type:"structure" nopayload:"true"`
 24892  
 24893  	// The alias of the theme that you want to describe. If you name a specific
 24894  	// alias, you describe the version that the alias points to. You can specify
 24895  	// the latest version of the theme by providing the keyword $LATEST in the AliasName
 24896  	// parameter. The keyword $PUBLISHED doesn't apply to themes.
 24897  	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
 24898  
 24899  	// The ID of the Amazon Web Services account that contains the theme that you're
 24900  	// describing.
 24901  	//
 24902  	// AwsAccountId is a required field
 24903  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" type:"string" required:"true"`
 24904  
 24905  	// The ID for the theme.
 24906  	//
 24907  	// ThemeId is a required field
 24908  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 24909  
 24910  	// The version number for the version to describe. If a VersionNumber parameter
 24911  	// value isn't provided, the latest version of the theme is described.
 24912  	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
 24913  }
 24914  
 24915  // String returns the string representation.
 24916  //
 24917  // API parameter values that are decorated as "sensitive" in the API will not
 24918  // be included in the string output. The member name will be present, but the
 24919  // value will be replaced with "sensitive".
 24920  func (s DescribeThemeInput) String() string {
 24921  	return awsutil.Prettify(s)
 24922  }
 24923  
 24924  // GoString returns the string representation.
 24925  //
 24926  // API parameter values that are decorated as "sensitive" in the API will not
 24927  // be included in the string output. The member name will be present, but the
 24928  // value will be replaced with "sensitive".
 24929  func (s DescribeThemeInput) GoString() string {
 24930  	return s.String()
 24931  }
 24932  
 24933  // Validate inspects the fields of the type to determine if they are valid.
 24934  func (s *DescribeThemeInput) Validate() error {
 24935  	invalidParams := request.ErrInvalidParams{Context: "DescribeThemeInput"}
 24936  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 24937  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 24938  	}
 24939  	if s.AwsAccountId == nil {
 24940  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 24941  	}
 24942  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 1 {
 24943  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 1))
 24944  	}
 24945  	if s.ThemeId == nil {
 24946  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 24947  	}
 24948  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 24949  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 24950  	}
 24951  	if s.VersionNumber != nil && *s.VersionNumber < 1 {
 24952  		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
 24953  	}
 24954  
 24955  	if invalidParams.Len() > 0 {
 24956  		return invalidParams
 24957  	}
 24958  	return nil
 24959  }
 24960  
 24961  // SetAliasName sets the AliasName field's value.
 24962  func (s *DescribeThemeInput) SetAliasName(v string) *DescribeThemeInput {
 24963  	s.AliasName = &v
 24964  	return s
 24965  }
 24966  
 24967  // SetAwsAccountId sets the AwsAccountId field's value.
 24968  func (s *DescribeThemeInput) SetAwsAccountId(v string) *DescribeThemeInput {
 24969  	s.AwsAccountId = &v
 24970  	return s
 24971  }
 24972  
 24973  // SetThemeId sets the ThemeId field's value.
 24974  func (s *DescribeThemeInput) SetThemeId(v string) *DescribeThemeInput {
 24975  	s.ThemeId = &v
 24976  	return s
 24977  }
 24978  
 24979  // SetVersionNumber sets the VersionNumber field's value.
 24980  func (s *DescribeThemeInput) SetVersionNumber(v int64) *DescribeThemeInput {
 24981  	s.VersionNumber = &v
 24982  	return s
 24983  }
 24984  
 24985  type DescribeThemeOutput struct {
 24986  	_ struct{} `type:"structure"`
 24987  
 24988  	// The Amazon Web Services request ID for this operation.
 24989  	RequestId *string `type:"string"`
 24990  
 24991  	// The HTTP status of the request.
 24992  	Status *int64 `location:"statusCode" type:"integer"`
 24993  
 24994  	// The information about the theme that you are describing.
 24995  	Theme *Theme `type:"structure"`
 24996  }
 24997  
 24998  // String returns the string representation.
 24999  //
 25000  // API parameter values that are decorated as "sensitive" in the API will not
 25001  // be included in the string output. The member name will be present, but the
 25002  // value will be replaced with "sensitive".
 25003  func (s DescribeThemeOutput) String() string {
 25004  	return awsutil.Prettify(s)
 25005  }
 25006  
 25007  // GoString returns the string representation.
 25008  //
 25009  // API parameter values that are decorated as "sensitive" in the API will not
 25010  // be included in the string output. The member name will be present, but the
 25011  // value will be replaced with "sensitive".
 25012  func (s DescribeThemeOutput) GoString() string {
 25013  	return s.String()
 25014  }
 25015  
 25016  // SetRequestId sets the RequestId field's value.
 25017  func (s *DescribeThemeOutput) SetRequestId(v string) *DescribeThemeOutput {
 25018  	s.RequestId = &v
 25019  	return s
 25020  }
 25021  
 25022  // SetStatus sets the Status field's value.
 25023  func (s *DescribeThemeOutput) SetStatus(v int64) *DescribeThemeOutput {
 25024  	s.Status = &v
 25025  	return s
 25026  }
 25027  
 25028  // SetTheme sets the Theme field's value.
 25029  func (s *DescribeThemeOutput) SetTheme(v *Theme) *DescribeThemeOutput {
 25030  	s.Theme = v
 25031  	return s
 25032  }
 25033  
 25034  type DescribeThemePermissionsInput struct {
 25035  	_ struct{} `type:"structure" nopayload:"true"`
 25036  
 25037  	// The ID of the Amazon Web Services account that contains the theme that you're
 25038  	// describing.
 25039  	//
 25040  	// AwsAccountId is a required field
 25041  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 25042  
 25043  	// The ID for the theme that you want to describe permissions for.
 25044  	//
 25045  	// ThemeId is a required field
 25046  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 25047  }
 25048  
 25049  // String returns the string representation.
 25050  //
 25051  // API parameter values that are decorated as "sensitive" in the API will not
 25052  // be included in the string output. The member name will be present, but the
 25053  // value will be replaced with "sensitive".
 25054  func (s DescribeThemePermissionsInput) String() string {
 25055  	return awsutil.Prettify(s)
 25056  }
 25057  
 25058  // GoString returns the string representation.
 25059  //
 25060  // API parameter values that are decorated as "sensitive" in the API will not
 25061  // be included in the string output. The member name will be present, but the
 25062  // value will be replaced with "sensitive".
 25063  func (s DescribeThemePermissionsInput) GoString() string {
 25064  	return s.String()
 25065  }
 25066  
 25067  // Validate inspects the fields of the type to determine if they are valid.
 25068  func (s *DescribeThemePermissionsInput) Validate() error {
 25069  	invalidParams := request.ErrInvalidParams{Context: "DescribeThemePermissionsInput"}
 25070  	if s.AwsAccountId == nil {
 25071  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 25072  	}
 25073  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 25074  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 25075  	}
 25076  	if s.ThemeId == nil {
 25077  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 25078  	}
 25079  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 25080  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 25081  	}
 25082  
 25083  	if invalidParams.Len() > 0 {
 25084  		return invalidParams
 25085  	}
 25086  	return nil
 25087  }
 25088  
 25089  // SetAwsAccountId sets the AwsAccountId field's value.
 25090  func (s *DescribeThemePermissionsInput) SetAwsAccountId(v string) *DescribeThemePermissionsInput {
 25091  	s.AwsAccountId = &v
 25092  	return s
 25093  }
 25094  
 25095  // SetThemeId sets the ThemeId field's value.
 25096  func (s *DescribeThemePermissionsInput) SetThemeId(v string) *DescribeThemePermissionsInput {
 25097  	s.ThemeId = &v
 25098  	return s
 25099  }
 25100  
 25101  type DescribeThemePermissionsOutput struct {
 25102  	_ struct{} `type:"structure"`
 25103  
 25104  	// A list of resource permissions set on the theme.
 25105  	Permissions []*ResourcePermission `min:"1" type:"list"`
 25106  
 25107  	// The Amazon Web Services request ID for this operation.
 25108  	RequestId *string `type:"string"`
 25109  
 25110  	// The HTTP status of the request.
 25111  	Status *int64 `location:"statusCode" type:"integer"`
 25112  
 25113  	// The Amazon Resource Name (ARN) of the theme.
 25114  	ThemeArn *string `type:"string"`
 25115  
 25116  	// The ID for the theme.
 25117  	ThemeId *string `min:"1" type:"string"`
 25118  }
 25119  
 25120  // String returns the string representation.
 25121  //
 25122  // API parameter values that are decorated as "sensitive" in the API will not
 25123  // be included in the string output. The member name will be present, but the
 25124  // value will be replaced with "sensitive".
 25125  func (s DescribeThemePermissionsOutput) String() string {
 25126  	return awsutil.Prettify(s)
 25127  }
 25128  
 25129  // GoString returns the string representation.
 25130  //
 25131  // API parameter values that are decorated as "sensitive" in the API will not
 25132  // be included in the string output. The member name will be present, but the
 25133  // value will be replaced with "sensitive".
 25134  func (s DescribeThemePermissionsOutput) GoString() string {
 25135  	return s.String()
 25136  }
 25137  
 25138  // SetPermissions sets the Permissions field's value.
 25139  func (s *DescribeThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeThemePermissionsOutput {
 25140  	s.Permissions = v
 25141  	return s
 25142  }
 25143  
 25144  // SetRequestId sets the RequestId field's value.
 25145  func (s *DescribeThemePermissionsOutput) SetRequestId(v string) *DescribeThemePermissionsOutput {
 25146  	s.RequestId = &v
 25147  	return s
 25148  }
 25149  
 25150  // SetStatus sets the Status field's value.
 25151  func (s *DescribeThemePermissionsOutput) SetStatus(v int64) *DescribeThemePermissionsOutput {
 25152  	s.Status = &v
 25153  	return s
 25154  }
 25155  
 25156  // SetThemeArn sets the ThemeArn field's value.
 25157  func (s *DescribeThemePermissionsOutput) SetThemeArn(v string) *DescribeThemePermissionsOutput {
 25158  	s.ThemeArn = &v
 25159  	return s
 25160  }
 25161  
 25162  // SetThemeId sets the ThemeId field's value.
 25163  func (s *DescribeThemePermissionsOutput) SetThemeId(v string) *DescribeThemePermissionsOutput {
 25164  	s.ThemeId = &v
 25165  	return s
 25166  }
 25167  
 25168  type DescribeUserInput struct {
 25169  	_ struct{} `type:"structure" nopayload:"true"`
 25170  
 25171  	// The ID for the Amazon Web Services account that the user is in. Currently,
 25172  	// you use the ID for the Amazon Web Services account that contains your Amazon
 25173  	// QuickSight account.
 25174  	//
 25175  	// AwsAccountId is a required field
 25176  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 25177  
 25178  	// The namespace. Currently, you should set this to default.
 25179  	//
 25180  	// Namespace is a required field
 25181  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 25182  
 25183  	// The name of the user that you want to describe.
 25184  	//
 25185  	// UserName is a required field
 25186  	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
 25187  }
 25188  
 25189  // String returns the string representation.
 25190  //
 25191  // API parameter values that are decorated as "sensitive" in the API will not
 25192  // be included in the string output. The member name will be present, but the
 25193  // value will be replaced with "sensitive".
 25194  func (s DescribeUserInput) String() string {
 25195  	return awsutil.Prettify(s)
 25196  }
 25197  
 25198  // GoString returns the string representation.
 25199  //
 25200  // API parameter values that are decorated as "sensitive" in the API will not
 25201  // be included in the string output. The member name will be present, but the
 25202  // value will be replaced with "sensitive".
 25203  func (s DescribeUserInput) GoString() string {
 25204  	return s.String()
 25205  }
 25206  
 25207  // Validate inspects the fields of the type to determine if they are valid.
 25208  func (s *DescribeUserInput) Validate() error {
 25209  	invalidParams := request.ErrInvalidParams{Context: "DescribeUserInput"}
 25210  	if s.AwsAccountId == nil {
 25211  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 25212  	}
 25213  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 25214  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 25215  	}
 25216  	if s.Namespace == nil {
 25217  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 25218  	}
 25219  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 25220  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 25221  	}
 25222  	if s.UserName == nil {
 25223  		invalidParams.Add(request.NewErrParamRequired("UserName"))
 25224  	}
 25225  	if s.UserName != nil && len(*s.UserName) < 1 {
 25226  		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
 25227  	}
 25228  
 25229  	if invalidParams.Len() > 0 {
 25230  		return invalidParams
 25231  	}
 25232  	return nil
 25233  }
 25234  
 25235  // SetAwsAccountId sets the AwsAccountId field's value.
 25236  func (s *DescribeUserInput) SetAwsAccountId(v string) *DescribeUserInput {
 25237  	s.AwsAccountId = &v
 25238  	return s
 25239  }
 25240  
 25241  // SetNamespace sets the Namespace field's value.
 25242  func (s *DescribeUserInput) SetNamespace(v string) *DescribeUserInput {
 25243  	s.Namespace = &v
 25244  	return s
 25245  }
 25246  
 25247  // SetUserName sets the UserName field's value.
 25248  func (s *DescribeUserInput) SetUserName(v string) *DescribeUserInput {
 25249  	s.UserName = &v
 25250  	return s
 25251  }
 25252  
 25253  type DescribeUserOutput struct {
 25254  	_ struct{} `type:"structure"`
 25255  
 25256  	// The Amazon Web Services request ID for this operation.
 25257  	RequestId *string `type:"string"`
 25258  
 25259  	// The HTTP status of the request.
 25260  	Status *int64 `location:"statusCode" type:"integer"`
 25261  
 25262  	// The user name.
 25263  	User *User `type:"structure"`
 25264  }
 25265  
 25266  // String returns the string representation.
 25267  //
 25268  // API parameter values that are decorated as "sensitive" in the API will not
 25269  // be included in the string output. The member name will be present, but the
 25270  // value will be replaced with "sensitive".
 25271  func (s DescribeUserOutput) String() string {
 25272  	return awsutil.Prettify(s)
 25273  }
 25274  
 25275  // GoString returns the string representation.
 25276  //
 25277  // API parameter values that are decorated as "sensitive" in the API will not
 25278  // be included in the string output. The member name will be present, but the
 25279  // value will be replaced with "sensitive".
 25280  func (s DescribeUserOutput) GoString() string {
 25281  	return s.String()
 25282  }
 25283  
 25284  // SetRequestId sets the RequestId field's value.
 25285  func (s *DescribeUserOutput) SetRequestId(v string) *DescribeUserOutput {
 25286  	s.RequestId = &v
 25287  	return s
 25288  }
 25289  
 25290  // SetStatus sets the Status field's value.
 25291  func (s *DescribeUserOutput) SetStatus(v int64) *DescribeUserOutput {
 25292  	s.Status = &v
 25293  	return s
 25294  }
 25295  
 25296  // SetUser sets the User field's value.
 25297  func (s *DescribeUserOutput) SetUser(v *User) *DescribeUserOutput {
 25298  	s.User = v
 25299  	return s
 25300  }
 25301  
 25302  // The domain specified isn't on the allow list. All domains for embedded dashboards
 25303  // must be added to the approved list by an Amazon QuickSight admin.
 25304  type DomainNotWhitelistedException struct {
 25305  	_            struct{}                  `type:"structure"`
 25306  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 25307  
 25308  	Message_ *string `locationName:"Message" type:"string"`
 25309  
 25310  	// The Amazon Web Services request ID for this request.
 25311  	RequestId *string `type:"string"`
 25312  }
 25313  
 25314  // String returns the string representation.
 25315  //
 25316  // API parameter values that are decorated as "sensitive" in the API will not
 25317  // be included in the string output. The member name will be present, but the
 25318  // value will be replaced with "sensitive".
 25319  func (s DomainNotWhitelistedException) String() string {
 25320  	return awsutil.Prettify(s)
 25321  }
 25322  
 25323  // GoString returns the string representation.
 25324  //
 25325  // API parameter values that are decorated as "sensitive" in the API will not
 25326  // be included in the string output. The member name will be present, but the
 25327  // value will be replaced with "sensitive".
 25328  func (s DomainNotWhitelistedException) GoString() string {
 25329  	return s.String()
 25330  }
 25331  
 25332  func newErrorDomainNotWhitelistedException(v protocol.ResponseMetadata) error {
 25333  	return &DomainNotWhitelistedException{
 25334  		RespMetadata: v,
 25335  	}
 25336  }
 25337  
 25338  // Code returns the exception type name.
 25339  func (s *DomainNotWhitelistedException) Code() string {
 25340  	return "DomainNotWhitelistedException"
 25341  }
 25342  
 25343  // Message returns the exception's message.
 25344  func (s *DomainNotWhitelistedException) Message() string {
 25345  	if s.Message_ != nil {
 25346  		return *s.Message_
 25347  	}
 25348  	return ""
 25349  }
 25350  
 25351  // OrigErr always returns nil, satisfies awserr.Error interface.
 25352  func (s *DomainNotWhitelistedException) OrigErr() error {
 25353  	return nil
 25354  }
 25355  
 25356  func (s *DomainNotWhitelistedException) Error() string {
 25357  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 25358  }
 25359  
 25360  // Status code returns the HTTP status code for the request's response error.
 25361  func (s *DomainNotWhitelistedException) StatusCode() int {
 25362  	return s.RespMetadata.StatusCode
 25363  }
 25364  
 25365  // RequestID returns the service's response RequestID for request.
 25366  func (s *DomainNotWhitelistedException) RequestID() string {
 25367  	return s.RespMetadata.RequestID
 25368  }
 25369  
 25370  // Error information for the SPICE ingestion of a dataset.
 25371  type ErrorInfo struct {
 25372  	_ struct{} `type:"structure"`
 25373  
 25374  	// Error message.
 25375  	Message *string `type:"string"`
 25376  
 25377  	// Error type.
 25378  	Type *string `type:"string" enum:"IngestionErrorType"`
 25379  }
 25380  
 25381  // String returns the string representation.
 25382  //
 25383  // API parameter values that are decorated as "sensitive" in the API will not
 25384  // be included in the string output. The member name will be present, but the
 25385  // value will be replaced with "sensitive".
 25386  func (s ErrorInfo) String() string {
 25387  	return awsutil.Prettify(s)
 25388  }
 25389  
 25390  // GoString returns the string representation.
 25391  //
 25392  // API parameter values that are decorated as "sensitive" in the API will not
 25393  // be included in the string output. The member name will be present, but the
 25394  // value will be replaced with "sensitive".
 25395  func (s ErrorInfo) GoString() string {
 25396  	return s.String()
 25397  }
 25398  
 25399  // SetMessage sets the Message field's value.
 25400  func (s *ErrorInfo) SetMessage(v string) *ErrorInfo {
 25401  	s.Message = &v
 25402  	return s
 25403  }
 25404  
 25405  // SetType sets the Type field's value.
 25406  func (s *ErrorInfo) SetType(v string) *ErrorInfo {
 25407  	s.Type = &v
 25408  	return s
 25409  }
 25410  
 25411  // Export to .csv option.
 25412  type ExportToCSVOption struct {
 25413  	_ struct{} `type:"structure"`
 25414  
 25415  	// Availability status.
 25416  	AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"`
 25417  }
 25418  
 25419  // String returns the string representation.
 25420  //
 25421  // API parameter values that are decorated as "sensitive" in the API will not
 25422  // be included in the string output. The member name will be present, but the
 25423  // value will be replaced with "sensitive".
 25424  func (s ExportToCSVOption) String() string {
 25425  	return awsutil.Prettify(s)
 25426  }
 25427  
 25428  // GoString returns the string representation.
 25429  //
 25430  // API parameter values that are decorated as "sensitive" in the API will not
 25431  // be included in the string output. The member name will be present, but the
 25432  // value will be replaced with "sensitive".
 25433  func (s ExportToCSVOption) GoString() string {
 25434  	return s.String()
 25435  }
 25436  
 25437  // SetAvailabilityStatus sets the AvailabilityStatus field's value.
 25438  func (s *ExportToCSVOption) SetAvailabilityStatus(v string) *ExportToCSVOption {
 25439  	s.AvailabilityStatus = &v
 25440  	return s
 25441  }
 25442  
 25443  // A FieldFolder element is a folder that contains fields and nested subfolders.
 25444  type FieldFolder struct {
 25445  	_ struct{} `type:"structure"`
 25446  
 25447  	// A folder has a list of columns. A column can only be in one folder.
 25448  	Columns []*string `locationName:"columns" type:"list"`
 25449  
 25450  	// The description for a field folder.
 25451  	Description *string `locationName:"description" type:"string"`
 25452  }
 25453  
 25454  // String returns the string representation.
 25455  //
 25456  // API parameter values that are decorated as "sensitive" in the API will not
 25457  // be included in the string output. The member name will be present, but the
 25458  // value will be replaced with "sensitive".
 25459  func (s FieldFolder) String() string {
 25460  	return awsutil.Prettify(s)
 25461  }
 25462  
 25463  // GoString returns the string representation.
 25464  //
 25465  // API parameter values that are decorated as "sensitive" in the API will not
 25466  // be included in the string output. The member name will be present, but the
 25467  // value will be replaced with "sensitive".
 25468  func (s FieldFolder) GoString() string {
 25469  	return s.String()
 25470  }
 25471  
 25472  // SetColumns sets the Columns field's value.
 25473  func (s *FieldFolder) SetColumns(v []*string) *FieldFolder {
 25474  	s.Columns = v
 25475  	return s
 25476  }
 25477  
 25478  // SetDescription sets the Description field's value.
 25479  func (s *FieldFolder) SetDescription(v string) *FieldFolder {
 25480  	s.Description = &v
 25481  	return s
 25482  }
 25483  
 25484  // A transform operation that filters rows based on a condition.
 25485  type FilterOperation struct {
 25486  	_ struct{} `type:"structure"`
 25487  
 25488  	// An expression that must evaluate to a Boolean value. Rows for which the expression
 25489  	// evaluates to true are kept in the dataset.
 25490  	//
 25491  	// ConditionExpression is a required field
 25492  	ConditionExpression *string `min:"1" type:"string" required:"true"`
 25493  }
 25494  
 25495  // String returns the string representation.
 25496  //
 25497  // API parameter values that are decorated as "sensitive" in the API will not
 25498  // be included in the string output. The member name will be present, but the
 25499  // value will be replaced with "sensitive".
 25500  func (s FilterOperation) String() string {
 25501  	return awsutil.Prettify(s)
 25502  }
 25503  
 25504  // GoString returns the string representation.
 25505  //
 25506  // API parameter values that are decorated as "sensitive" in the API will not
 25507  // be included in the string output. The member name will be present, but the
 25508  // value will be replaced with "sensitive".
 25509  func (s FilterOperation) GoString() string {
 25510  	return s.String()
 25511  }
 25512  
 25513  // Validate inspects the fields of the type to determine if they are valid.
 25514  func (s *FilterOperation) Validate() error {
 25515  	invalidParams := request.ErrInvalidParams{Context: "FilterOperation"}
 25516  	if s.ConditionExpression == nil {
 25517  		invalidParams.Add(request.NewErrParamRequired("ConditionExpression"))
 25518  	}
 25519  	if s.ConditionExpression != nil && len(*s.ConditionExpression) < 1 {
 25520  		invalidParams.Add(request.NewErrParamMinLen("ConditionExpression", 1))
 25521  	}
 25522  
 25523  	if invalidParams.Len() > 0 {
 25524  		return invalidParams
 25525  	}
 25526  	return nil
 25527  }
 25528  
 25529  // SetConditionExpression sets the ConditionExpression field's value.
 25530  func (s *FilterOperation) SetConditionExpression(v string) *FilterOperation {
 25531  	s.ConditionExpression = &v
 25532  	return s
 25533  }
 25534  
 25535  // A folder.
 25536  type Folder struct {
 25537  	_ struct{} `type:"structure"`
 25538  
 25539  	// The folder Amazon Resource Name (ARN).
 25540  	Arn *string `type:"string"`
 25541  
 25542  	// The time that the folder was created.
 25543  	CreatedTime *time.Time `type:"timestamp"`
 25544  
 25545  	// The folder ID.
 25546  	FolderId *string `min:"1" type:"string"`
 25547  
 25548  	// An array of ancestor folder ARN strings.
 25549  	FolderPath []*string `min:"1" type:"list"`
 25550  
 25551  	// The type of the folder.
 25552  	FolderType *string `type:"string" enum:"FolderType"`
 25553  
 25554  	// The time that the folder was last updated.
 25555  	LastUpdatedTime *time.Time `type:"timestamp"`
 25556  
 25557  	// A display name for the folder.
 25558  	Name *string `min:"1" type:"string"`
 25559  }
 25560  
 25561  // String returns the string representation.
 25562  //
 25563  // API parameter values that are decorated as "sensitive" in the API will not
 25564  // be included in the string output. The member name will be present, but the
 25565  // value will be replaced with "sensitive".
 25566  func (s Folder) String() string {
 25567  	return awsutil.Prettify(s)
 25568  }
 25569  
 25570  // GoString returns the string representation.
 25571  //
 25572  // API parameter values that are decorated as "sensitive" in the API will not
 25573  // be included in the string output. The member name will be present, but the
 25574  // value will be replaced with "sensitive".
 25575  func (s Folder) GoString() string {
 25576  	return s.String()
 25577  }
 25578  
 25579  // SetArn sets the Arn field's value.
 25580  func (s *Folder) SetArn(v string) *Folder {
 25581  	s.Arn = &v
 25582  	return s
 25583  }
 25584  
 25585  // SetCreatedTime sets the CreatedTime field's value.
 25586  func (s *Folder) SetCreatedTime(v time.Time) *Folder {
 25587  	s.CreatedTime = &v
 25588  	return s
 25589  }
 25590  
 25591  // SetFolderId sets the FolderId field's value.
 25592  func (s *Folder) SetFolderId(v string) *Folder {
 25593  	s.FolderId = &v
 25594  	return s
 25595  }
 25596  
 25597  // SetFolderPath sets the FolderPath field's value.
 25598  func (s *Folder) SetFolderPath(v []*string) *Folder {
 25599  	s.FolderPath = v
 25600  	return s
 25601  }
 25602  
 25603  // SetFolderType sets the FolderType field's value.
 25604  func (s *Folder) SetFolderType(v string) *Folder {
 25605  	s.FolderType = &v
 25606  	return s
 25607  }
 25608  
 25609  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 25610  func (s *Folder) SetLastUpdatedTime(v time.Time) *Folder {
 25611  	s.LastUpdatedTime = &v
 25612  	return s
 25613  }
 25614  
 25615  // SetName sets the Name field's value.
 25616  func (s *Folder) SetName(v string) *Folder {
 25617  	s.Name = &v
 25618  	return s
 25619  }
 25620  
 25621  // An asset in a folder, such as a dashboard, analysis, or dataset.
 25622  type FolderMember struct {
 25623  	_ struct{} `type:"structure"`
 25624  
 25625  	// The ID of the asset.
 25626  	MemberId *string `min:"1" type:"string"`
 25627  
 25628  	// The type of the asset.
 25629  	MemberType *string `type:"string" enum:"MemberType"`
 25630  }
 25631  
 25632  // String returns the string representation.
 25633  //
 25634  // API parameter values that are decorated as "sensitive" in the API will not
 25635  // be included in the string output. The member name will be present, but the
 25636  // value will be replaced with "sensitive".
 25637  func (s FolderMember) String() string {
 25638  	return awsutil.Prettify(s)
 25639  }
 25640  
 25641  // GoString returns the string representation.
 25642  //
 25643  // API parameter values that are decorated as "sensitive" in the API will not
 25644  // be included in the string output. The member name will be present, but the
 25645  // value will be replaced with "sensitive".
 25646  func (s FolderMember) GoString() string {
 25647  	return s.String()
 25648  }
 25649  
 25650  // SetMemberId sets the MemberId field's value.
 25651  func (s *FolderMember) SetMemberId(v string) *FolderMember {
 25652  	s.MemberId = &v
 25653  	return s
 25654  }
 25655  
 25656  // SetMemberType sets the MemberType field's value.
 25657  func (s *FolderMember) SetMemberType(v string) *FolderMember {
 25658  	s.MemberType = &v
 25659  	return s
 25660  }
 25661  
 25662  // Searches a folder by a filter.
 25663  type FolderSearchFilter struct {
 25664  	_ struct{} `type:"structure"`
 25665  
 25666  	// The name of the value that you want to use as a filter. For example, "Name":
 25667  	// "PARENT_FOLDER_ARN".
 25668  	Name *string `type:"string" enum:"FolderFilterAttribute"`
 25669  
 25670  	// The comparison operator that you want to use as a filter. For example, "Operator":
 25671  	// "StringEquals".
 25672  	Operator *string `type:"string" enum:"FilterOperator"`
 25673  
 25674  	// The value of the named item (in this example, PARENT_FOLDER_ARN), that you
 25675  	// want to use as a filter. For example, "Value": "arn:aws:quicksight:us-east-1:1:folder/folderId".
 25676  	Value *string `type:"string"`
 25677  }
 25678  
 25679  // String returns the string representation.
 25680  //
 25681  // API parameter values that are decorated as "sensitive" in the API will not
 25682  // be included in the string output. The member name will be present, but the
 25683  // value will be replaced with "sensitive".
 25684  func (s FolderSearchFilter) String() string {
 25685  	return awsutil.Prettify(s)
 25686  }
 25687  
 25688  // GoString returns the string representation.
 25689  //
 25690  // API parameter values that are decorated as "sensitive" in the API will not
 25691  // be included in the string output. The member name will be present, but the
 25692  // value will be replaced with "sensitive".
 25693  func (s FolderSearchFilter) GoString() string {
 25694  	return s.String()
 25695  }
 25696  
 25697  // SetName sets the Name field's value.
 25698  func (s *FolderSearchFilter) SetName(v string) *FolderSearchFilter {
 25699  	s.Name = &v
 25700  	return s
 25701  }
 25702  
 25703  // SetOperator sets the Operator field's value.
 25704  func (s *FolderSearchFilter) SetOperator(v string) *FolderSearchFilter {
 25705  	s.Operator = &v
 25706  	return s
 25707  }
 25708  
 25709  // SetValue sets the Value field's value.
 25710  func (s *FolderSearchFilter) SetValue(v string) *FolderSearchFilter {
 25711  	s.Value = &v
 25712  	return s
 25713  }
 25714  
 25715  // A summary of the folder.
 25716  type FolderSummary struct {
 25717  	_ struct{} `type:"structure"`
 25718  
 25719  	// The Amazon Resource Name (ARN).
 25720  	Arn *string `type:"string"`
 25721  
 25722  	// The time that the folder was created.
 25723  	CreatedTime *time.Time `type:"timestamp"`
 25724  
 25725  	// The folder ID.
 25726  	FolderId *string `min:"1" type:"string"`
 25727  
 25728  	// The type of folder.
 25729  	FolderType *string `type:"string" enum:"FolderType"`
 25730  
 25731  	// The time that the folder was last updated.
 25732  	LastUpdatedTime *time.Time `type:"timestamp"`
 25733  
 25734  	// The display name of the folder.
 25735  	Name *string `min:"1" type:"string"`
 25736  }
 25737  
 25738  // String returns the string representation.
 25739  //
 25740  // API parameter values that are decorated as "sensitive" in the API will not
 25741  // be included in the string output. The member name will be present, but the
 25742  // value will be replaced with "sensitive".
 25743  func (s FolderSummary) String() string {
 25744  	return awsutil.Prettify(s)
 25745  }
 25746  
 25747  // GoString returns the string representation.
 25748  //
 25749  // API parameter values that are decorated as "sensitive" in the API will not
 25750  // be included in the string output. The member name will be present, but the
 25751  // value will be replaced with "sensitive".
 25752  func (s FolderSummary) GoString() string {
 25753  	return s.String()
 25754  }
 25755  
 25756  // SetArn sets the Arn field's value.
 25757  func (s *FolderSummary) SetArn(v string) *FolderSummary {
 25758  	s.Arn = &v
 25759  	return s
 25760  }
 25761  
 25762  // SetCreatedTime sets the CreatedTime field's value.
 25763  func (s *FolderSummary) SetCreatedTime(v time.Time) *FolderSummary {
 25764  	s.CreatedTime = &v
 25765  	return s
 25766  }
 25767  
 25768  // SetFolderId sets the FolderId field's value.
 25769  func (s *FolderSummary) SetFolderId(v string) *FolderSummary {
 25770  	s.FolderId = &v
 25771  	return s
 25772  }
 25773  
 25774  // SetFolderType sets the FolderType field's value.
 25775  func (s *FolderSummary) SetFolderType(v string) *FolderSummary {
 25776  	s.FolderType = &v
 25777  	return s
 25778  }
 25779  
 25780  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 25781  func (s *FolderSummary) SetLastUpdatedTime(v time.Time) *FolderSummary {
 25782  	s.LastUpdatedTime = &v
 25783  	return s
 25784  }
 25785  
 25786  // SetName sets the Name field's value.
 25787  func (s *FolderSummary) SetName(v string) *FolderSummary {
 25788  	s.Name = &v
 25789  	return s
 25790  }
 25791  
 25792  type GenerateEmbedUrlForAnonymousUserInput struct {
 25793  	_ struct{} `type:"structure"`
 25794  
 25795  	// The Amazon Resource Names for the Amazon QuickSight resources that the user
 25796  	// is authorized to access during the lifetime of the session. If you choose
 25797  	// Dashboard embedding experience, pass the list of dashboard ARNs in the account
 25798  	// that you want the user to be able to view.
 25799  	//
 25800  	// AuthorizedResourceArns is a required field
 25801  	AuthorizedResourceArns []*string `type:"list" required:"true"`
 25802  
 25803  	// The ID for the Amazon Web Services account that contains the dashboard that
 25804  	// you're embedding.
 25805  	//
 25806  	// AwsAccountId is a required field
 25807  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 25808  
 25809  	// The configuration of the experience you are embedding.
 25810  	//
 25811  	// ExperienceConfiguration is a required field
 25812  	ExperienceConfiguration *AnonymousUserEmbeddingExperienceConfiguration `type:"structure" required:"true"`
 25813  
 25814  	// The Amazon QuickSight namespace that the anonymous user virtually belongs
 25815  	// to. If you are not using an Amazon QuickSight custom namespace, set this
 25816  	// to default.
 25817  	//
 25818  	// Namespace is a required field
 25819  	Namespace *string `type:"string" required:"true"`
 25820  
 25821  	// How many minutes the session is valid. The session lifetime must be in [15-600]
 25822  	// minutes range.
 25823  	SessionLifetimeInMinutes *int64 `min:"15" type:"long"`
 25824  
 25825  	// The session tags used for row-level security. Before you use this parameter,
 25826  	// make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration
 25827  	// parameter so that session tags can be used to provide row-level security.
 25828  	//
 25829  	// These are not the tags used for the Amazon Web Services resource tagging
 25830  	// feature. For more information, see Using Row-Level Security (RLS) with Tags
 25831  	// (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-rls-tags.html).
 25832  	SessionTags []*SessionTag `min:"1" type:"list"`
 25833  }
 25834  
 25835  // String returns the string representation.
 25836  //
 25837  // API parameter values that are decorated as "sensitive" in the API will not
 25838  // be included in the string output. The member name will be present, but the
 25839  // value will be replaced with "sensitive".
 25840  func (s GenerateEmbedUrlForAnonymousUserInput) String() string {
 25841  	return awsutil.Prettify(s)
 25842  }
 25843  
 25844  // GoString returns the string representation.
 25845  //
 25846  // API parameter values that are decorated as "sensitive" in the API will not
 25847  // be included in the string output. The member name will be present, but the
 25848  // value will be replaced with "sensitive".
 25849  func (s GenerateEmbedUrlForAnonymousUserInput) GoString() string {
 25850  	return s.String()
 25851  }
 25852  
 25853  // Validate inspects the fields of the type to determine if they are valid.
 25854  func (s *GenerateEmbedUrlForAnonymousUserInput) Validate() error {
 25855  	invalidParams := request.ErrInvalidParams{Context: "GenerateEmbedUrlForAnonymousUserInput"}
 25856  	if s.AuthorizedResourceArns == nil {
 25857  		invalidParams.Add(request.NewErrParamRequired("AuthorizedResourceArns"))
 25858  	}
 25859  	if s.AwsAccountId == nil {
 25860  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 25861  	}
 25862  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 25863  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 25864  	}
 25865  	if s.ExperienceConfiguration == nil {
 25866  		invalidParams.Add(request.NewErrParamRequired("ExperienceConfiguration"))
 25867  	}
 25868  	if s.Namespace == nil {
 25869  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 25870  	}
 25871  	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
 25872  		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
 25873  	}
 25874  	if s.SessionTags != nil && len(s.SessionTags) < 1 {
 25875  		invalidParams.Add(request.NewErrParamMinLen("SessionTags", 1))
 25876  	}
 25877  	if s.ExperienceConfiguration != nil {
 25878  		if err := s.ExperienceConfiguration.Validate(); err != nil {
 25879  			invalidParams.AddNested("ExperienceConfiguration", err.(request.ErrInvalidParams))
 25880  		}
 25881  	}
 25882  	if s.SessionTags != nil {
 25883  		for i, v := range s.SessionTags {
 25884  			if v == nil {
 25885  				continue
 25886  			}
 25887  			if err := v.Validate(); err != nil {
 25888  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SessionTags", i), err.(request.ErrInvalidParams))
 25889  			}
 25890  		}
 25891  	}
 25892  
 25893  	if invalidParams.Len() > 0 {
 25894  		return invalidParams
 25895  	}
 25896  	return nil
 25897  }
 25898  
 25899  // SetAuthorizedResourceArns sets the AuthorizedResourceArns field's value.
 25900  func (s *GenerateEmbedUrlForAnonymousUserInput) SetAuthorizedResourceArns(v []*string) *GenerateEmbedUrlForAnonymousUserInput {
 25901  	s.AuthorizedResourceArns = v
 25902  	return s
 25903  }
 25904  
 25905  // SetAwsAccountId sets the AwsAccountId field's value.
 25906  func (s *GenerateEmbedUrlForAnonymousUserInput) SetAwsAccountId(v string) *GenerateEmbedUrlForAnonymousUserInput {
 25907  	s.AwsAccountId = &v
 25908  	return s
 25909  }
 25910  
 25911  // SetExperienceConfiguration sets the ExperienceConfiguration field's value.
 25912  func (s *GenerateEmbedUrlForAnonymousUserInput) SetExperienceConfiguration(v *AnonymousUserEmbeddingExperienceConfiguration) *GenerateEmbedUrlForAnonymousUserInput {
 25913  	s.ExperienceConfiguration = v
 25914  	return s
 25915  }
 25916  
 25917  // SetNamespace sets the Namespace field's value.
 25918  func (s *GenerateEmbedUrlForAnonymousUserInput) SetNamespace(v string) *GenerateEmbedUrlForAnonymousUserInput {
 25919  	s.Namespace = &v
 25920  	return s
 25921  }
 25922  
 25923  // SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
 25924  func (s *GenerateEmbedUrlForAnonymousUserInput) SetSessionLifetimeInMinutes(v int64) *GenerateEmbedUrlForAnonymousUserInput {
 25925  	s.SessionLifetimeInMinutes = &v
 25926  	return s
 25927  }
 25928  
 25929  // SetSessionTags sets the SessionTags field's value.
 25930  func (s *GenerateEmbedUrlForAnonymousUserInput) SetSessionTags(v []*SessionTag) *GenerateEmbedUrlForAnonymousUserInput {
 25931  	s.SessionTags = v
 25932  	return s
 25933  }
 25934  
 25935  type GenerateEmbedUrlForAnonymousUserOutput struct {
 25936  	_ struct{} `type:"structure"`
 25937  
 25938  	// The embed URL for the dashboard.
 25939  	//
 25940  	// EmbedUrl is a sensitive parameter and its value will be
 25941  	// replaced with "sensitive" in string returned by GenerateEmbedUrlForAnonymousUserOutput's
 25942  	// String and GoString methods.
 25943  	//
 25944  	// EmbedUrl is a required field
 25945  	EmbedUrl *string `type:"string" required:"true" sensitive:"true"`
 25946  
 25947  	// The Amazon Web Services request ID for this operation.
 25948  	//
 25949  	// RequestId is a required field
 25950  	RequestId *string `type:"string" required:"true"`
 25951  
 25952  	// The HTTP status of the request.
 25953  	//
 25954  	// Status is a required field
 25955  	Status *int64 `location:"statusCode" type:"integer" required:"true"`
 25956  }
 25957  
 25958  // String returns the string representation.
 25959  //
 25960  // API parameter values that are decorated as "sensitive" in the API will not
 25961  // be included in the string output. The member name will be present, but the
 25962  // value will be replaced with "sensitive".
 25963  func (s GenerateEmbedUrlForAnonymousUserOutput) String() string {
 25964  	return awsutil.Prettify(s)
 25965  }
 25966  
 25967  // GoString returns the string representation.
 25968  //
 25969  // API parameter values that are decorated as "sensitive" in the API will not
 25970  // be included in the string output. The member name will be present, but the
 25971  // value will be replaced with "sensitive".
 25972  func (s GenerateEmbedUrlForAnonymousUserOutput) GoString() string {
 25973  	return s.String()
 25974  }
 25975  
 25976  // SetEmbedUrl sets the EmbedUrl field's value.
 25977  func (s *GenerateEmbedUrlForAnonymousUserOutput) SetEmbedUrl(v string) *GenerateEmbedUrlForAnonymousUserOutput {
 25978  	s.EmbedUrl = &v
 25979  	return s
 25980  }
 25981  
 25982  // SetRequestId sets the RequestId field's value.
 25983  func (s *GenerateEmbedUrlForAnonymousUserOutput) SetRequestId(v string) *GenerateEmbedUrlForAnonymousUserOutput {
 25984  	s.RequestId = &v
 25985  	return s
 25986  }
 25987  
 25988  // SetStatus sets the Status field's value.
 25989  func (s *GenerateEmbedUrlForAnonymousUserOutput) SetStatus(v int64) *GenerateEmbedUrlForAnonymousUserOutput {
 25990  	s.Status = &v
 25991  	return s
 25992  }
 25993  
 25994  type GenerateEmbedUrlForRegisteredUserInput struct {
 25995  	_ struct{} `type:"structure"`
 25996  
 25997  	// The ID for the Amazon Web Services account that contains the dashboard that
 25998  	// you're embedding.
 25999  	//
 26000  	// AwsAccountId is a required field
 26001  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 26002  
 26003  	// The experience you are embedding. For registered users, you can embed Amazon
 26004  	// QuickSight dashboards or the entire Amazon QuickSight console.
 26005  	//
 26006  	// ExperienceConfiguration is a required field
 26007  	ExperienceConfiguration *RegisteredUserEmbeddingExperienceConfiguration `type:"structure" required:"true"`
 26008  
 26009  	// How many minutes the session is valid. The session lifetime must be in [15-600]
 26010  	// minutes range.
 26011  	SessionLifetimeInMinutes *int64 `min:"15" type:"long"`
 26012  
 26013  	// The Amazon Resource Name for the registered user.
 26014  	//
 26015  	// UserArn is a required field
 26016  	UserArn *string `type:"string" required:"true"`
 26017  }
 26018  
 26019  // String returns the string representation.
 26020  //
 26021  // API parameter values that are decorated as "sensitive" in the API will not
 26022  // be included in the string output. The member name will be present, but the
 26023  // value will be replaced with "sensitive".
 26024  func (s GenerateEmbedUrlForRegisteredUserInput) String() string {
 26025  	return awsutil.Prettify(s)
 26026  }
 26027  
 26028  // GoString returns the string representation.
 26029  //
 26030  // API parameter values that are decorated as "sensitive" in the API will not
 26031  // be included in the string output. The member name will be present, but the
 26032  // value will be replaced with "sensitive".
 26033  func (s GenerateEmbedUrlForRegisteredUserInput) GoString() string {
 26034  	return s.String()
 26035  }
 26036  
 26037  // Validate inspects the fields of the type to determine if they are valid.
 26038  func (s *GenerateEmbedUrlForRegisteredUserInput) Validate() error {
 26039  	invalidParams := request.ErrInvalidParams{Context: "GenerateEmbedUrlForRegisteredUserInput"}
 26040  	if s.AwsAccountId == nil {
 26041  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 26042  	}
 26043  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 26044  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 26045  	}
 26046  	if s.ExperienceConfiguration == nil {
 26047  		invalidParams.Add(request.NewErrParamRequired("ExperienceConfiguration"))
 26048  	}
 26049  	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
 26050  		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
 26051  	}
 26052  	if s.UserArn == nil {
 26053  		invalidParams.Add(request.NewErrParamRequired("UserArn"))
 26054  	}
 26055  	if s.ExperienceConfiguration != nil {
 26056  		if err := s.ExperienceConfiguration.Validate(); err != nil {
 26057  			invalidParams.AddNested("ExperienceConfiguration", err.(request.ErrInvalidParams))
 26058  		}
 26059  	}
 26060  
 26061  	if invalidParams.Len() > 0 {
 26062  		return invalidParams
 26063  	}
 26064  	return nil
 26065  }
 26066  
 26067  // SetAwsAccountId sets the AwsAccountId field's value.
 26068  func (s *GenerateEmbedUrlForRegisteredUserInput) SetAwsAccountId(v string) *GenerateEmbedUrlForRegisteredUserInput {
 26069  	s.AwsAccountId = &v
 26070  	return s
 26071  }
 26072  
 26073  // SetExperienceConfiguration sets the ExperienceConfiguration field's value.
 26074  func (s *GenerateEmbedUrlForRegisteredUserInput) SetExperienceConfiguration(v *RegisteredUserEmbeddingExperienceConfiguration) *GenerateEmbedUrlForRegisteredUserInput {
 26075  	s.ExperienceConfiguration = v
 26076  	return s
 26077  }
 26078  
 26079  // SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
 26080  func (s *GenerateEmbedUrlForRegisteredUserInput) SetSessionLifetimeInMinutes(v int64) *GenerateEmbedUrlForRegisteredUserInput {
 26081  	s.SessionLifetimeInMinutes = &v
 26082  	return s
 26083  }
 26084  
 26085  // SetUserArn sets the UserArn field's value.
 26086  func (s *GenerateEmbedUrlForRegisteredUserInput) SetUserArn(v string) *GenerateEmbedUrlForRegisteredUserInput {
 26087  	s.UserArn = &v
 26088  	return s
 26089  }
 26090  
 26091  type GenerateEmbedUrlForRegisteredUserOutput struct {
 26092  	_ struct{} `type:"structure"`
 26093  
 26094  	// The embed URL for the Amazon QuickSight dashboard or console.
 26095  	//
 26096  	// EmbedUrl is a sensitive parameter and its value will be
 26097  	// replaced with "sensitive" in string returned by GenerateEmbedUrlForRegisteredUserOutput's
 26098  	// String and GoString methods.
 26099  	//
 26100  	// EmbedUrl is a required field
 26101  	EmbedUrl *string `type:"string" required:"true" sensitive:"true"`
 26102  
 26103  	// The Amazon Web Services request ID for this operation.
 26104  	//
 26105  	// RequestId is a required field
 26106  	RequestId *string `type:"string" required:"true"`
 26107  
 26108  	// The HTTP status of the request.
 26109  	//
 26110  	// Status is a required field
 26111  	Status *int64 `location:"statusCode" type:"integer" required:"true"`
 26112  }
 26113  
 26114  // String returns the string representation.
 26115  //
 26116  // API parameter values that are decorated as "sensitive" in the API will not
 26117  // be included in the string output. The member name will be present, but the
 26118  // value will be replaced with "sensitive".
 26119  func (s GenerateEmbedUrlForRegisteredUserOutput) String() string {
 26120  	return awsutil.Prettify(s)
 26121  }
 26122  
 26123  // GoString returns the string representation.
 26124  //
 26125  // API parameter values that are decorated as "sensitive" in the API will not
 26126  // be included in the string output. The member name will be present, but the
 26127  // value will be replaced with "sensitive".
 26128  func (s GenerateEmbedUrlForRegisteredUserOutput) GoString() string {
 26129  	return s.String()
 26130  }
 26131  
 26132  // SetEmbedUrl sets the EmbedUrl field's value.
 26133  func (s *GenerateEmbedUrlForRegisteredUserOutput) SetEmbedUrl(v string) *GenerateEmbedUrlForRegisteredUserOutput {
 26134  	s.EmbedUrl = &v
 26135  	return s
 26136  }
 26137  
 26138  // SetRequestId sets the RequestId field's value.
 26139  func (s *GenerateEmbedUrlForRegisteredUserOutput) SetRequestId(v string) *GenerateEmbedUrlForRegisteredUserOutput {
 26140  	s.RequestId = &v
 26141  	return s
 26142  }
 26143  
 26144  // SetStatus sets the Status field's value.
 26145  func (s *GenerateEmbedUrlForRegisteredUserOutput) SetStatus(v int64) *GenerateEmbedUrlForRegisteredUserOutput {
 26146  	s.Status = &v
 26147  	return s
 26148  }
 26149  
 26150  // Geospatial column group that denotes a hierarchy.
 26151  type GeoSpatialColumnGroup struct {
 26152  	_ struct{} `type:"structure"`
 26153  
 26154  	// Columns in this hierarchy.
 26155  	//
 26156  	// Columns is a required field
 26157  	Columns []*string `min:"1" type:"list" required:"true"`
 26158  
 26159  	// Country code.
 26160  	//
 26161  	// CountryCode is a required field
 26162  	CountryCode *string `type:"string" required:"true" enum:"GeoSpatialCountryCode"`
 26163  
 26164  	// A display name for the hierarchy.
 26165  	//
 26166  	// Name is a required field
 26167  	Name *string `min:"1" type:"string" required:"true"`
 26168  }
 26169  
 26170  // String returns the string representation.
 26171  //
 26172  // API parameter values that are decorated as "sensitive" in the API will not
 26173  // be included in the string output. The member name will be present, but the
 26174  // value will be replaced with "sensitive".
 26175  func (s GeoSpatialColumnGroup) String() string {
 26176  	return awsutil.Prettify(s)
 26177  }
 26178  
 26179  // GoString returns the string representation.
 26180  //
 26181  // API parameter values that are decorated as "sensitive" in the API will not
 26182  // be included in the string output. The member name will be present, but the
 26183  // value will be replaced with "sensitive".
 26184  func (s GeoSpatialColumnGroup) GoString() string {
 26185  	return s.String()
 26186  }
 26187  
 26188  // Validate inspects the fields of the type to determine if they are valid.
 26189  func (s *GeoSpatialColumnGroup) Validate() error {
 26190  	invalidParams := request.ErrInvalidParams{Context: "GeoSpatialColumnGroup"}
 26191  	if s.Columns == nil {
 26192  		invalidParams.Add(request.NewErrParamRequired("Columns"))
 26193  	}
 26194  	if s.Columns != nil && len(s.Columns) < 1 {
 26195  		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
 26196  	}
 26197  	if s.CountryCode == nil {
 26198  		invalidParams.Add(request.NewErrParamRequired("CountryCode"))
 26199  	}
 26200  	if s.Name == nil {
 26201  		invalidParams.Add(request.NewErrParamRequired("Name"))
 26202  	}
 26203  	if s.Name != nil && len(*s.Name) < 1 {
 26204  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 26205  	}
 26206  
 26207  	if invalidParams.Len() > 0 {
 26208  		return invalidParams
 26209  	}
 26210  	return nil
 26211  }
 26212  
 26213  // SetColumns sets the Columns field's value.
 26214  func (s *GeoSpatialColumnGroup) SetColumns(v []*string) *GeoSpatialColumnGroup {
 26215  	s.Columns = v
 26216  	return s
 26217  }
 26218  
 26219  // SetCountryCode sets the CountryCode field's value.
 26220  func (s *GeoSpatialColumnGroup) SetCountryCode(v string) *GeoSpatialColumnGroup {
 26221  	s.CountryCode = &v
 26222  	return s
 26223  }
 26224  
 26225  // SetName sets the Name field's value.
 26226  func (s *GeoSpatialColumnGroup) SetName(v string) *GeoSpatialColumnGroup {
 26227  	s.Name = &v
 26228  	return s
 26229  }
 26230  
 26231  type GetDashboardEmbedUrlInput struct {
 26232  	_ struct{} `type:"structure" nopayload:"true"`
 26233  
 26234  	// A list of one or more dashboard IDs that you want to add to a session that
 26235  	// includes anonymous users. The IdentityType parameter must be set to ANONYMOUS
 26236  	// for this to work, because other identity types authenticate as Amazon QuickSight
 26237  	// or IAMusers. For example, if you set "--dashboard-id dash_id1 --dashboard-id
 26238  	// dash_id2 dash_id3 identity-type ANONYMOUS", the session can access all three
 26239  	// dashboards.
 26240  	AdditionalDashboardIds []*string `location:"querystring" locationName:"additional-dashboard-ids" min:"1" type:"list"`
 26241  
 26242  	// The ID for the Amazon Web Services account that contains the dashboard that
 26243  	// you're embedding.
 26244  	//
 26245  	// AwsAccountId is a required field
 26246  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 26247  
 26248  	// The ID for the dashboard, also added to the Identity and Access Management
 26249  	// (IAM) policy.
 26250  	//
 26251  	// DashboardId is a required field
 26252  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 26253  
 26254  	// The authentication method that the user uses to sign in.
 26255  	//
 26256  	// IdentityType is a required field
 26257  	IdentityType *string `location:"querystring" locationName:"creds-type" type:"string" required:"true" enum:"EmbeddingIdentityType"`
 26258  
 26259  	// The Amazon QuickSight namespace that contains the dashboard IDs in this request.
 26260  	// If you're not using a custom namespace, set Namespace = default.
 26261  	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
 26262  
 26263  	// Remove the reset button on the embedded dashboard. The default is FALSE,
 26264  	// which enables the reset button.
 26265  	ResetDisabled *bool `location:"querystring" locationName:"reset-disabled" type:"boolean"`
 26266  
 26267  	// How many minutes the session is valid. The session lifetime must be 15-600
 26268  	// minutes.
 26269  	SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"`
 26270  
 26271  	// Adds persistence of state for the user session in an embedded dashboard.
 26272  	// Persistence applies to the sheet and the parameter settings. These are control
 26273  	// settings that the dashboard subscriber (Amazon QuickSight reader) chooses
 26274  	// while viewing the dashboard. If this is set to TRUE, the settings are the
 26275  	// same when the subscriber reopens the same dashboard URL. The state is stored
 26276  	// in Amazon QuickSight, not in a browser cookie. If this is set to FALSE, the
 26277  	// state of the user session is not persisted. The default is FALSE.
 26278  	StatePersistenceEnabled *bool `location:"querystring" locationName:"state-persistence-enabled" type:"boolean"`
 26279  
 26280  	// Remove the undo/redo button on the embedded dashboard. The default is FALSE,
 26281  	// which enables the undo/redo button.
 26282  	UndoRedoDisabled *bool `location:"querystring" locationName:"undo-redo-disabled" type:"boolean"`
 26283  
 26284  	// The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT
 26285  	// identity type. You can use this for any Amazon QuickSight users in your account
 26286  	// (readers, authors, or admins) authenticated as one of the following:
 26287  	//
 26288  	//    * Active Directory (AD) users or group members
 26289  	//
 26290  	//    * Invited nonfederated users
 26291  	//
 26292  	//    * IAMusers and IAMrole-based sessions authenticated through Federated
 26293  	//    Single Sign-On using SAML, OpenID Connect, or IAMfederation.
 26294  	//
 26295  	// Omit this parameter for users in the third group – IAMusers and IAM role-based
 26296  	// sessions.
 26297  	UserArn *string `location:"querystring" locationName:"user-arn" type:"string"`
 26298  }
 26299  
 26300  // String returns the string representation.
 26301  //
 26302  // API parameter values that are decorated as "sensitive" in the API will not
 26303  // be included in the string output. The member name will be present, but the
 26304  // value will be replaced with "sensitive".
 26305  func (s GetDashboardEmbedUrlInput) String() string {
 26306  	return awsutil.Prettify(s)
 26307  }
 26308  
 26309  // GoString returns the string representation.
 26310  //
 26311  // API parameter values that are decorated as "sensitive" in the API will not
 26312  // be included in the string output. The member name will be present, but the
 26313  // value will be replaced with "sensitive".
 26314  func (s GetDashboardEmbedUrlInput) GoString() string {
 26315  	return s.String()
 26316  }
 26317  
 26318  // Validate inspects the fields of the type to determine if they are valid.
 26319  func (s *GetDashboardEmbedUrlInput) Validate() error {
 26320  	invalidParams := request.ErrInvalidParams{Context: "GetDashboardEmbedUrlInput"}
 26321  	if s.AdditionalDashboardIds != nil && len(s.AdditionalDashboardIds) < 1 {
 26322  		invalidParams.Add(request.NewErrParamMinLen("AdditionalDashboardIds", 1))
 26323  	}
 26324  	if s.AwsAccountId == nil {
 26325  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 26326  	}
 26327  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 26328  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 26329  	}
 26330  	if s.DashboardId == nil {
 26331  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 26332  	}
 26333  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 26334  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 26335  	}
 26336  	if s.IdentityType == nil {
 26337  		invalidParams.Add(request.NewErrParamRequired("IdentityType"))
 26338  	}
 26339  	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
 26340  		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
 26341  	}
 26342  
 26343  	if invalidParams.Len() > 0 {
 26344  		return invalidParams
 26345  	}
 26346  	return nil
 26347  }
 26348  
 26349  // SetAdditionalDashboardIds sets the AdditionalDashboardIds field's value.
 26350  func (s *GetDashboardEmbedUrlInput) SetAdditionalDashboardIds(v []*string) *GetDashboardEmbedUrlInput {
 26351  	s.AdditionalDashboardIds = v
 26352  	return s
 26353  }
 26354  
 26355  // SetAwsAccountId sets the AwsAccountId field's value.
 26356  func (s *GetDashboardEmbedUrlInput) SetAwsAccountId(v string) *GetDashboardEmbedUrlInput {
 26357  	s.AwsAccountId = &v
 26358  	return s
 26359  }
 26360  
 26361  // SetDashboardId sets the DashboardId field's value.
 26362  func (s *GetDashboardEmbedUrlInput) SetDashboardId(v string) *GetDashboardEmbedUrlInput {
 26363  	s.DashboardId = &v
 26364  	return s
 26365  }
 26366  
 26367  // SetIdentityType sets the IdentityType field's value.
 26368  func (s *GetDashboardEmbedUrlInput) SetIdentityType(v string) *GetDashboardEmbedUrlInput {
 26369  	s.IdentityType = &v
 26370  	return s
 26371  }
 26372  
 26373  // SetNamespace sets the Namespace field's value.
 26374  func (s *GetDashboardEmbedUrlInput) SetNamespace(v string) *GetDashboardEmbedUrlInput {
 26375  	s.Namespace = &v
 26376  	return s
 26377  }
 26378  
 26379  // SetResetDisabled sets the ResetDisabled field's value.
 26380  func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput {
 26381  	s.ResetDisabled = &v
 26382  	return s
 26383  }
 26384  
 26385  // SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
 26386  func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput {
 26387  	s.SessionLifetimeInMinutes = &v
 26388  	return s
 26389  }
 26390  
 26391  // SetStatePersistenceEnabled sets the StatePersistenceEnabled field's value.
 26392  func (s *GetDashboardEmbedUrlInput) SetStatePersistenceEnabled(v bool) *GetDashboardEmbedUrlInput {
 26393  	s.StatePersistenceEnabled = &v
 26394  	return s
 26395  }
 26396  
 26397  // SetUndoRedoDisabled sets the UndoRedoDisabled field's value.
 26398  func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput {
 26399  	s.UndoRedoDisabled = &v
 26400  	return s
 26401  }
 26402  
 26403  // SetUserArn sets the UserArn field's value.
 26404  func (s *GetDashboardEmbedUrlInput) SetUserArn(v string) *GetDashboardEmbedUrlInput {
 26405  	s.UserArn = &v
 26406  	return s
 26407  }
 26408  
 26409  // Output returned from the GetDashboardEmbedUrl operation.
 26410  type GetDashboardEmbedUrlOutput struct {
 26411  	_ struct{} `type:"structure"`
 26412  
 26413  	// A single-use URL that you can put into your server-side webpage to embed
 26414  	// your dashboard. This URL is valid for 5 minutes. The API operation provides
 26415  	// the URL with an auth_code value that enables one (and only one) sign-on to
 26416  	// a user session that is valid for 10 hours.
 26417  	//
 26418  	// EmbedUrl is a sensitive parameter and its value will be
 26419  	// replaced with "sensitive" in string returned by GetDashboardEmbedUrlOutput's
 26420  	// String and GoString methods.
 26421  	EmbedUrl *string `type:"string" sensitive:"true"`
 26422  
 26423  	// The Amazon Web Services request ID for this operation.
 26424  	RequestId *string `type:"string"`
 26425  
 26426  	// The HTTP status of the request.
 26427  	Status *int64 `location:"statusCode" type:"integer"`
 26428  }
 26429  
 26430  // String returns the string representation.
 26431  //
 26432  // API parameter values that are decorated as "sensitive" in the API will not
 26433  // be included in the string output. The member name will be present, but the
 26434  // value will be replaced with "sensitive".
 26435  func (s GetDashboardEmbedUrlOutput) String() string {
 26436  	return awsutil.Prettify(s)
 26437  }
 26438  
 26439  // GoString returns the string representation.
 26440  //
 26441  // API parameter values that are decorated as "sensitive" in the API will not
 26442  // be included in the string output. The member name will be present, but the
 26443  // value will be replaced with "sensitive".
 26444  func (s GetDashboardEmbedUrlOutput) GoString() string {
 26445  	return s.String()
 26446  }
 26447  
 26448  // SetEmbedUrl sets the EmbedUrl field's value.
 26449  func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput {
 26450  	s.EmbedUrl = &v
 26451  	return s
 26452  }
 26453  
 26454  // SetRequestId sets the RequestId field's value.
 26455  func (s *GetDashboardEmbedUrlOutput) SetRequestId(v string) *GetDashboardEmbedUrlOutput {
 26456  	s.RequestId = &v
 26457  	return s
 26458  }
 26459  
 26460  // SetStatus sets the Status field's value.
 26461  func (s *GetDashboardEmbedUrlOutput) SetStatus(v int64) *GetDashboardEmbedUrlOutput {
 26462  	s.Status = &v
 26463  	return s
 26464  }
 26465  
 26466  type GetSessionEmbedUrlInput struct {
 26467  	_ struct{} `type:"structure" nopayload:"true"`
 26468  
 26469  	// The ID for the Amazon Web Services account associated with your Amazon QuickSight
 26470  	// subscription.
 26471  	//
 26472  	// AwsAccountId is a required field
 26473  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 26474  
 26475  	// The URL you use to access the embedded session. The entry point URL is constrained
 26476  	// to the following paths:
 26477  	//
 26478  	//    * /start
 26479  	//
 26480  	//    * /start/analyses
 26481  	//
 26482  	//    * /start/dashboards
 26483  	//
 26484  	//    * /start/favorites
 26485  	//
 26486  	//    * /dashboards/DashboardId - where DashboardId is the actual ID key from
 26487  	//    the Amazon QuickSight console URL of the dashboard
 26488  	//
 26489  	//    * /analyses/AnalysisId - where AnalysisId is the actual ID key from the
 26490  	//    Amazon QuickSight console URL of the analysis
 26491  	EntryPoint *string `location:"querystring" locationName:"entry-point" min:"1" type:"string"`
 26492  
 26493  	// How many minutes the session is valid. The session lifetime must be 15-600
 26494  	// minutes.
 26495  	SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"`
 26496  
 26497  	// The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT
 26498  	// identity type. You can use this for any type of Amazon QuickSight users in
 26499  	// your account (readers, authors, or admins). They need to be authenticated
 26500  	// as one of the following:
 26501  	//
 26502  	// Active Directory (AD) users or group members
 26503  	//
 26504  	// Invited nonfederated users
 26505  	//
 26506  	// Identity and Access Management (IAM) users and IAM role-based sessions authenticated
 26507  	// through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation
 26508  	//
 26509  	// Omit this parameter for users in the third group, IAM users and IAM role-based
 26510  	// sessions.
 26511  	UserArn *string `location:"querystring" locationName:"user-arn" type:"string"`
 26512  }
 26513  
 26514  // String returns the string representation.
 26515  //
 26516  // API parameter values that are decorated as "sensitive" in the API will not
 26517  // be included in the string output. The member name will be present, but the
 26518  // value will be replaced with "sensitive".
 26519  func (s GetSessionEmbedUrlInput) String() string {
 26520  	return awsutil.Prettify(s)
 26521  }
 26522  
 26523  // GoString returns the string representation.
 26524  //
 26525  // API parameter values that are decorated as "sensitive" in the API will not
 26526  // be included in the string output. The member name will be present, but the
 26527  // value will be replaced with "sensitive".
 26528  func (s GetSessionEmbedUrlInput) GoString() string {
 26529  	return s.String()
 26530  }
 26531  
 26532  // Validate inspects the fields of the type to determine if they are valid.
 26533  func (s *GetSessionEmbedUrlInput) Validate() error {
 26534  	invalidParams := request.ErrInvalidParams{Context: "GetSessionEmbedUrlInput"}
 26535  	if s.AwsAccountId == nil {
 26536  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 26537  	}
 26538  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 26539  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 26540  	}
 26541  	if s.EntryPoint != nil && len(*s.EntryPoint) < 1 {
 26542  		invalidParams.Add(request.NewErrParamMinLen("EntryPoint", 1))
 26543  	}
 26544  	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
 26545  		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
 26546  	}
 26547  
 26548  	if invalidParams.Len() > 0 {
 26549  		return invalidParams
 26550  	}
 26551  	return nil
 26552  }
 26553  
 26554  // SetAwsAccountId sets the AwsAccountId field's value.
 26555  func (s *GetSessionEmbedUrlInput) SetAwsAccountId(v string) *GetSessionEmbedUrlInput {
 26556  	s.AwsAccountId = &v
 26557  	return s
 26558  }
 26559  
 26560  // SetEntryPoint sets the EntryPoint field's value.
 26561  func (s *GetSessionEmbedUrlInput) SetEntryPoint(v string) *GetSessionEmbedUrlInput {
 26562  	s.EntryPoint = &v
 26563  	return s
 26564  }
 26565  
 26566  // SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
 26567  func (s *GetSessionEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetSessionEmbedUrlInput {
 26568  	s.SessionLifetimeInMinutes = &v
 26569  	return s
 26570  }
 26571  
 26572  // SetUserArn sets the UserArn field's value.
 26573  func (s *GetSessionEmbedUrlInput) SetUserArn(v string) *GetSessionEmbedUrlInput {
 26574  	s.UserArn = &v
 26575  	return s
 26576  }
 26577  
 26578  type GetSessionEmbedUrlOutput struct {
 26579  	_ struct{} `type:"structure"`
 26580  
 26581  	// A single-use URL that you can put into your server-side web page to embed
 26582  	// your Amazon QuickSight session. This URL is valid for 5 minutes. The API
 26583  	// operation provides the URL with an auth_code value that enables one (and
 26584  	// only one) sign-on to a user session that is valid for 10 hours.
 26585  	//
 26586  	// EmbedUrl is a sensitive parameter and its value will be
 26587  	// replaced with "sensitive" in string returned by GetSessionEmbedUrlOutput's
 26588  	// String and GoString methods.
 26589  	EmbedUrl *string `type:"string" sensitive:"true"`
 26590  
 26591  	// The Amazon Web Services request ID for this operation.
 26592  	RequestId *string `type:"string"`
 26593  
 26594  	// The HTTP status of the request.
 26595  	Status *int64 `location:"statusCode" type:"integer"`
 26596  }
 26597  
 26598  // String returns the string representation.
 26599  //
 26600  // API parameter values that are decorated as "sensitive" in the API will not
 26601  // be included in the string output. The member name will be present, but the
 26602  // value will be replaced with "sensitive".
 26603  func (s GetSessionEmbedUrlOutput) String() string {
 26604  	return awsutil.Prettify(s)
 26605  }
 26606  
 26607  // GoString returns the string representation.
 26608  //
 26609  // API parameter values that are decorated as "sensitive" in the API will not
 26610  // be included in the string output. The member name will be present, but the
 26611  // value will be replaced with "sensitive".
 26612  func (s GetSessionEmbedUrlOutput) GoString() string {
 26613  	return s.String()
 26614  }
 26615  
 26616  // SetEmbedUrl sets the EmbedUrl field's value.
 26617  func (s *GetSessionEmbedUrlOutput) SetEmbedUrl(v string) *GetSessionEmbedUrlOutput {
 26618  	s.EmbedUrl = &v
 26619  	return s
 26620  }
 26621  
 26622  // SetRequestId sets the RequestId field's value.
 26623  func (s *GetSessionEmbedUrlOutput) SetRequestId(v string) *GetSessionEmbedUrlOutput {
 26624  	s.RequestId = &v
 26625  	return s
 26626  }
 26627  
 26628  // SetStatus sets the Status field's value.
 26629  func (s *GetSessionEmbedUrlOutput) SetStatus(v int64) *GetSessionEmbedUrlOutput {
 26630  	s.Status = &v
 26631  	return s
 26632  }
 26633  
 26634  // A group in Amazon QuickSight consists of a set of users. You can use groups
 26635  // to make it easier to manage access and security.
 26636  type Group struct {
 26637  	_ struct{} `type:"structure"`
 26638  
 26639  	// The Amazon Resource Name (ARN) for the group.
 26640  	Arn *string `type:"string"`
 26641  
 26642  	// The group description.
 26643  	Description *string `min:"1" type:"string"`
 26644  
 26645  	// The name of the group.
 26646  	GroupName *string `min:"1" type:"string"`
 26647  
 26648  	// The principal ID of the group.
 26649  	PrincipalId *string `type:"string"`
 26650  }
 26651  
 26652  // String returns the string representation.
 26653  //
 26654  // API parameter values that are decorated as "sensitive" in the API will not
 26655  // be included in the string output. The member name will be present, but the
 26656  // value will be replaced with "sensitive".
 26657  func (s Group) String() string {
 26658  	return awsutil.Prettify(s)
 26659  }
 26660  
 26661  // GoString returns the string representation.
 26662  //
 26663  // API parameter values that are decorated as "sensitive" in the API will not
 26664  // be included in the string output. The member name will be present, but the
 26665  // value will be replaced with "sensitive".
 26666  func (s Group) GoString() string {
 26667  	return s.String()
 26668  }
 26669  
 26670  // SetArn sets the Arn field's value.
 26671  func (s *Group) SetArn(v string) *Group {
 26672  	s.Arn = &v
 26673  	return s
 26674  }
 26675  
 26676  // SetDescription sets the Description field's value.
 26677  func (s *Group) SetDescription(v string) *Group {
 26678  	s.Description = &v
 26679  	return s
 26680  }
 26681  
 26682  // SetGroupName sets the GroupName field's value.
 26683  func (s *Group) SetGroupName(v string) *Group {
 26684  	s.GroupName = &v
 26685  	return s
 26686  }
 26687  
 26688  // SetPrincipalId sets the PrincipalId field's value.
 26689  func (s *Group) SetPrincipalId(v string) *Group {
 26690  	s.PrincipalId = &v
 26691  	return s
 26692  }
 26693  
 26694  // A member of an Amazon QuickSight group. Currently, group members must be
 26695  // users. Groups can't be members of another group. .
 26696  type GroupMember struct {
 26697  	_ struct{} `type:"structure"`
 26698  
 26699  	// The Amazon Resource Name (ARN) for the group member (user).
 26700  	Arn *string `type:"string"`
 26701  
 26702  	// The name of the group member (user).
 26703  	MemberName *string `min:"1" type:"string"`
 26704  }
 26705  
 26706  // String returns the string representation.
 26707  //
 26708  // API parameter values that are decorated as "sensitive" in the API will not
 26709  // be included in the string output. The member name will be present, but the
 26710  // value will be replaced with "sensitive".
 26711  func (s GroupMember) String() string {
 26712  	return awsutil.Prettify(s)
 26713  }
 26714  
 26715  // GoString returns the string representation.
 26716  //
 26717  // API parameter values that are decorated as "sensitive" in the API will not
 26718  // be included in the string output. The member name will be present, but the
 26719  // value will be replaced with "sensitive".
 26720  func (s GroupMember) GoString() string {
 26721  	return s.String()
 26722  }
 26723  
 26724  // SetArn sets the Arn field's value.
 26725  func (s *GroupMember) SetArn(v string) *GroupMember {
 26726  	s.Arn = &v
 26727  	return s
 26728  }
 26729  
 26730  // SetMemberName sets the MemberName field's value.
 26731  func (s *GroupMember) SetMemberName(v string) *GroupMember {
 26732  	s.MemberName = &v
 26733  	return s
 26734  }
 26735  
 26736  // The display options for gutter spacing between tiles on a sheet.
 26737  type GutterStyle struct {
 26738  	_ struct{} `type:"structure"`
 26739  
 26740  	// This Boolean value controls whether to display a gutter space between sheet
 26741  	// tiles.
 26742  	Show *bool `type:"boolean"`
 26743  }
 26744  
 26745  // String returns the string representation.
 26746  //
 26747  // API parameter values that are decorated as "sensitive" in the API will not
 26748  // be included in the string output. The member name will be present, but the
 26749  // value will be replaced with "sensitive".
 26750  func (s GutterStyle) String() string {
 26751  	return awsutil.Prettify(s)
 26752  }
 26753  
 26754  // GoString returns the string representation.
 26755  //
 26756  // API parameter values that are decorated as "sensitive" in the API will not
 26757  // be included in the string output. The member name will be present, but the
 26758  // value will be replaced with "sensitive".
 26759  func (s GutterStyle) GoString() string {
 26760  	return s.String()
 26761  }
 26762  
 26763  // SetShow sets the Show field's value.
 26764  func (s *GutterStyle) SetShow(v bool) *GutterStyle {
 26765  	s.Show = &v
 26766  	return s
 26767  }
 26768  
 26769  // An Identity and Access Management (IAM) policy assignment.
 26770  type IAMPolicyAssignment struct {
 26771  	_ struct{} `type:"structure"`
 26772  
 26773  	// Assignment ID.
 26774  	AssignmentId *string `type:"string"`
 26775  
 26776  	// Assignment name.
 26777  	AssignmentName *string `min:"1" type:"string"`
 26778  
 26779  	// Assignment status.
 26780  	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
 26781  
 26782  	// The Amazon Web Services account ID.
 26783  	AwsAccountId *string `min:"12" type:"string"`
 26784  
 26785  	// Identities.
 26786  	Identities map[string][]*string `type:"map"`
 26787  
 26788  	// The Amazon Resource Name (ARN) for the IAMpolicy.
 26789  	PolicyArn *string `type:"string"`
 26790  }
 26791  
 26792  // String returns the string representation.
 26793  //
 26794  // API parameter values that are decorated as "sensitive" in the API will not
 26795  // be included in the string output. The member name will be present, but the
 26796  // value will be replaced with "sensitive".
 26797  func (s IAMPolicyAssignment) String() string {
 26798  	return awsutil.Prettify(s)
 26799  }
 26800  
 26801  // GoString returns the string representation.
 26802  //
 26803  // API parameter values that are decorated as "sensitive" in the API will not
 26804  // be included in the string output. The member name will be present, but the
 26805  // value will be replaced with "sensitive".
 26806  func (s IAMPolicyAssignment) GoString() string {
 26807  	return s.String()
 26808  }
 26809  
 26810  // SetAssignmentId sets the AssignmentId field's value.
 26811  func (s *IAMPolicyAssignment) SetAssignmentId(v string) *IAMPolicyAssignment {
 26812  	s.AssignmentId = &v
 26813  	return s
 26814  }
 26815  
 26816  // SetAssignmentName sets the AssignmentName field's value.
 26817  func (s *IAMPolicyAssignment) SetAssignmentName(v string) *IAMPolicyAssignment {
 26818  	s.AssignmentName = &v
 26819  	return s
 26820  }
 26821  
 26822  // SetAssignmentStatus sets the AssignmentStatus field's value.
 26823  func (s *IAMPolicyAssignment) SetAssignmentStatus(v string) *IAMPolicyAssignment {
 26824  	s.AssignmentStatus = &v
 26825  	return s
 26826  }
 26827  
 26828  // SetAwsAccountId sets the AwsAccountId field's value.
 26829  func (s *IAMPolicyAssignment) SetAwsAccountId(v string) *IAMPolicyAssignment {
 26830  	s.AwsAccountId = &v
 26831  	return s
 26832  }
 26833  
 26834  // SetIdentities sets the Identities field's value.
 26835  func (s *IAMPolicyAssignment) SetIdentities(v map[string][]*string) *IAMPolicyAssignment {
 26836  	s.Identities = v
 26837  	return s
 26838  }
 26839  
 26840  // SetPolicyArn sets the PolicyArn field's value.
 26841  func (s *IAMPolicyAssignment) SetPolicyArn(v string) *IAMPolicyAssignment {
 26842  	s.PolicyArn = &v
 26843  	return s
 26844  }
 26845  
 26846  // IAMpolicy assignment summary.
 26847  type IAMPolicyAssignmentSummary struct {
 26848  	_ struct{} `type:"structure"`
 26849  
 26850  	// Assignment name.
 26851  	AssignmentName *string `min:"1" type:"string"`
 26852  
 26853  	// Assignment status.
 26854  	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
 26855  }
 26856  
 26857  // String returns the string representation.
 26858  //
 26859  // API parameter values that are decorated as "sensitive" in the API will not
 26860  // be included in the string output. The member name will be present, but the
 26861  // value will be replaced with "sensitive".
 26862  func (s IAMPolicyAssignmentSummary) String() string {
 26863  	return awsutil.Prettify(s)
 26864  }
 26865  
 26866  // GoString returns the string representation.
 26867  //
 26868  // API parameter values that are decorated as "sensitive" in the API will not
 26869  // be included in the string output. The member name will be present, but the
 26870  // value will be replaced with "sensitive".
 26871  func (s IAMPolicyAssignmentSummary) GoString() string {
 26872  	return s.String()
 26873  }
 26874  
 26875  // SetAssignmentName sets the AssignmentName field's value.
 26876  func (s *IAMPolicyAssignmentSummary) SetAssignmentName(v string) *IAMPolicyAssignmentSummary {
 26877  	s.AssignmentName = &v
 26878  	return s
 26879  }
 26880  
 26881  // SetAssignmentStatus sets the AssignmentStatus field's value.
 26882  func (s *IAMPolicyAssignmentSummary) SetAssignmentStatus(v string) *IAMPolicyAssignmentSummary {
 26883  	s.AssignmentStatus = &v
 26884  	return s
 26885  }
 26886  
 26887  // The identity type specified isn't supported. Supported identity types include
 26888  // IAM and QUICKSIGHT.
 26889  type IdentityTypeNotSupportedException struct {
 26890  	_            struct{}                  `type:"structure"`
 26891  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 26892  
 26893  	Message_ *string `locationName:"Message" type:"string"`
 26894  
 26895  	// The Amazon Web Services request ID for this request.
 26896  	RequestId *string `type:"string"`
 26897  }
 26898  
 26899  // String returns the string representation.
 26900  //
 26901  // API parameter values that are decorated as "sensitive" in the API will not
 26902  // be included in the string output. The member name will be present, but the
 26903  // value will be replaced with "sensitive".
 26904  func (s IdentityTypeNotSupportedException) String() string {
 26905  	return awsutil.Prettify(s)
 26906  }
 26907  
 26908  // GoString returns the string representation.
 26909  //
 26910  // API parameter values that are decorated as "sensitive" in the API will not
 26911  // be included in the string output. The member name will be present, but the
 26912  // value will be replaced with "sensitive".
 26913  func (s IdentityTypeNotSupportedException) GoString() string {
 26914  	return s.String()
 26915  }
 26916  
 26917  func newErrorIdentityTypeNotSupportedException(v protocol.ResponseMetadata) error {
 26918  	return &IdentityTypeNotSupportedException{
 26919  		RespMetadata: v,
 26920  	}
 26921  }
 26922  
 26923  // Code returns the exception type name.
 26924  func (s *IdentityTypeNotSupportedException) Code() string {
 26925  	return "IdentityTypeNotSupportedException"
 26926  }
 26927  
 26928  // Message returns the exception's message.
 26929  func (s *IdentityTypeNotSupportedException) Message() string {
 26930  	if s.Message_ != nil {
 26931  		return *s.Message_
 26932  	}
 26933  	return ""
 26934  }
 26935  
 26936  // OrigErr always returns nil, satisfies awserr.Error interface.
 26937  func (s *IdentityTypeNotSupportedException) OrigErr() error {
 26938  	return nil
 26939  }
 26940  
 26941  func (s *IdentityTypeNotSupportedException) Error() string {
 26942  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 26943  }
 26944  
 26945  // Status code returns the HTTP status code for the request's response error.
 26946  func (s *IdentityTypeNotSupportedException) StatusCode() int {
 26947  	return s.RespMetadata.StatusCode
 26948  }
 26949  
 26950  // RequestID returns the service's response RequestID for request.
 26951  func (s *IdentityTypeNotSupportedException) RequestID() string {
 26952  	return s.RespMetadata.RequestID
 26953  }
 26954  
 26955  // Information about the SPICE ingestion for a dataset.
 26956  type Ingestion struct {
 26957  	_ struct{} `type:"structure"`
 26958  
 26959  	// The Amazon Resource Name (ARN) of the resource.
 26960  	//
 26961  	// Arn is a required field
 26962  	Arn *string `type:"string" required:"true"`
 26963  
 26964  	// The time that this ingestion started.
 26965  	//
 26966  	// CreatedTime is a required field
 26967  	CreatedTime *time.Time `type:"timestamp" required:"true"`
 26968  
 26969  	// Error information for this ingestion.
 26970  	ErrorInfo *ErrorInfo `type:"structure"`
 26971  
 26972  	// Ingestion ID.
 26973  	IngestionId *string `min:"1" type:"string"`
 26974  
 26975  	// The size of the data ingested, in bytes.
 26976  	IngestionSizeInBytes *int64 `type:"long"`
 26977  
 26978  	// Ingestion status.
 26979  	//
 26980  	// IngestionStatus is a required field
 26981  	IngestionStatus *string `type:"string" required:"true" enum:"IngestionStatus"`
 26982  
 26983  	// The time that this ingestion took, measured in seconds.
 26984  	IngestionTimeInSeconds *int64 `type:"long"`
 26985  
 26986  	// Information about a queued dataset SPICE ingestion.
 26987  	QueueInfo *QueueInfo `type:"structure"`
 26988  
 26989  	// Event source for this ingestion.
 26990  	RequestSource *string `type:"string" enum:"IngestionRequestSource"`
 26991  
 26992  	// Type of this ingestion.
 26993  	RequestType *string `type:"string" enum:"IngestionRequestType"`
 26994  
 26995  	// Information about rows for a data set SPICE ingestion.
 26996  	RowInfo *RowInfo `type:"structure"`
 26997  }
 26998  
 26999  // String returns the string representation.
 27000  //
 27001  // API parameter values that are decorated as "sensitive" in the API will not
 27002  // be included in the string output. The member name will be present, but the
 27003  // value will be replaced with "sensitive".
 27004  func (s Ingestion) String() string {
 27005  	return awsutil.Prettify(s)
 27006  }
 27007  
 27008  // GoString returns the string representation.
 27009  //
 27010  // API parameter values that are decorated as "sensitive" in the API will not
 27011  // be included in the string output. The member name will be present, but the
 27012  // value will be replaced with "sensitive".
 27013  func (s Ingestion) GoString() string {
 27014  	return s.String()
 27015  }
 27016  
 27017  // SetArn sets the Arn field's value.
 27018  func (s *Ingestion) SetArn(v string) *Ingestion {
 27019  	s.Arn = &v
 27020  	return s
 27021  }
 27022  
 27023  // SetCreatedTime sets the CreatedTime field's value.
 27024  func (s *Ingestion) SetCreatedTime(v time.Time) *Ingestion {
 27025  	s.CreatedTime = &v
 27026  	return s
 27027  }
 27028  
 27029  // SetErrorInfo sets the ErrorInfo field's value.
 27030  func (s *Ingestion) SetErrorInfo(v *ErrorInfo) *Ingestion {
 27031  	s.ErrorInfo = v
 27032  	return s
 27033  }
 27034  
 27035  // SetIngestionId sets the IngestionId field's value.
 27036  func (s *Ingestion) SetIngestionId(v string) *Ingestion {
 27037  	s.IngestionId = &v
 27038  	return s
 27039  }
 27040  
 27041  // SetIngestionSizeInBytes sets the IngestionSizeInBytes field's value.
 27042  func (s *Ingestion) SetIngestionSizeInBytes(v int64) *Ingestion {
 27043  	s.IngestionSizeInBytes = &v
 27044  	return s
 27045  }
 27046  
 27047  // SetIngestionStatus sets the IngestionStatus field's value.
 27048  func (s *Ingestion) SetIngestionStatus(v string) *Ingestion {
 27049  	s.IngestionStatus = &v
 27050  	return s
 27051  }
 27052  
 27053  // SetIngestionTimeInSeconds sets the IngestionTimeInSeconds field's value.
 27054  func (s *Ingestion) SetIngestionTimeInSeconds(v int64) *Ingestion {
 27055  	s.IngestionTimeInSeconds = &v
 27056  	return s
 27057  }
 27058  
 27059  // SetQueueInfo sets the QueueInfo field's value.
 27060  func (s *Ingestion) SetQueueInfo(v *QueueInfo) *Ingestion {
 27061  	s.QueueInfo = v
 27062  	return s
 27063  }
 27064  
 27065  // SetRequestSource sets the RequestSource field's value.
 27066  func (s *Ingestion) SetRequestSource(v string) *Ingestion {
 27067  	s.RequestSource = &v
 27068  	return s
 27069  }
 27070  
 27071  // SetRequestType sets the RequestType field's value.
 27072  func (s *Ingestion) SetRequestType(v string) *Ingestion {
 27073  	s.RequestType = &v
 27074  	return s
 27075  }
 27076  
 27077  // SetRowInfo sets the RowInfo field's value.
 27078  func (s *Ingestion) SetRowInfo(v *RowInfo) *Ingestion {
 27079  	s.RowInfo = v
 27080  	return s
 27081  }
 27082  
 27083  // Metadata for a column that is used as the input of a transform operation.
 27084  type InputColumn struct {
 27085  	_ struct{} `type:"structure"`
 27086  
 27087  	// The name of this column in the underlying data source.
 27088  	//
 27089  	// Name is a required field
 27090  	Name *string `min:"1" type:"string" required:"true"`
 27091  
 27092  	// The data type of the column.
 27093  	//
 27094  	// Type is a required field
 27095  	Type *string `type:"string" required:"true" enum:"InputColumnDataType"`
 27096  }
 27097  
 27098  // String returns the string representation.
 27099  //
 27100  // API parameter values that are decorated as "sensitive" in the API will not
 27101  // be included in the string output. The member name will be present, but the
 27102  // value will be replaced with "sensitive".
 27103  func (s InputColumn) String() string {
 27104  	return awsutil.Prettify(s)
 27105  }
 27106  
 27107  // GoString returns the string representation.
 27108  //
 27109  // API parameter values that are decorated as "sensitive" in the API will not
 27110  // be included in the string output. The member name will be present, but the
 27111  // value will be replaced with "sensitive".
 27112  func (s InputColumn) GoString() string {
 27113  	return s.String()
 27114  }
 27115  
 27116  // Validate inspects the fields of the type to determine if they are valid.
 27117  func (s *InputColumn) Validate() error {
 27118  	invalidParams := request.ErrInvalidParams{Context: "InputColumn"}
 27119  	if s.Name == nil {
 27120  		invalidParams.Add(request.NewErrParamRequired("Name"))
 27121  	}
 27122  	if s.Name != nil && len(*s.Name) < 1 {
 27123  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 27124  	}
 27125  	if s.Type == nil {
 27126  		invalidParams.Add(request.NewErrParamRequired("Type"))
 27127  	}
 27128  
 27129  	if invalidParams.Len() > 0 {
 27130  		return invalidParams
 27131  	}
 27132  	return nil
 27133  }
 27134  
 27135  // SetName sets the Name field's value.
 27136  func (s *InputColumn) SetName(v string) *InputColumn {
 27137  	s.Name = &v
 27138  	return s
 27139  }
 27140  
 27141  // SetType sets the Type field's value.
 27142  func (s *InputColumn) SetType(v string) *InputColumn {
 27143  	s.Type = &v
 27144  	return s
 27145  }
 27146  
 27147  // An integer parameter.
 27148  type IntegerParameter struct {
 27149  	_ struct{} `type:"structure"`
 27150  
 27151  	// The name of the integer parameter.
 27152  	//
 27153  	// Name is a required field
 27154  	Name *string `type:"string" required:"true"`
 27155  
 27156  	// The values for the integer parameter.
 27157  	//
 27158  	// Values is a required field
 27159  	Values []*int64 `type:"list" required:"true"`
 27160  }
 27161  
 27162  // String returns the string representation.
 27163  //
 27164  // API parameter values that are decorated as "sensitive" in the API will not
 27165  // be included in the string output. The member name will be present, but the
 27166  // value will be replaced with "sensitive".
 27167  func (s IntegerParameter) String() string {
 27168  	return awsutil.Prettify(s)
 27169  }
 27170  
 27171  // GoString returns the string representation.
 27172  //
 27173  // API parameter values that are decorated as "sensitive" in the API will not
 27174  // be included in the string output. The member name will be present, but the
 27175  // value will be replaced with "sensitive".
 27176  func (s IntegerParameter) GoString() string {
 27177  	return s.String()
 27178  }
 27179  
 27180  // Validate inspects the fields of the type to determine if they are valid.
 27181  func (s *IntegerParameter) Validate() error {
 27182  	invalidParams := request.ErrInvalidParams{Context: "IntegerParameter"}
 27183  	if s.Name == nil {
 27184  		invalidParams.Add(request.NewErrParamRequired("Name"))
 27185  	}
 27186  	if s.Values == nil {
 27187  		invalidParams.Add(request.NewErrParamRequired("Values"))
 27188  	}
 27189  
 27190  	if invalidParams.Len() > 0 {
 27191  		return invalidParams
 27192  	}
 27193  	return nil
 27194  }
 27195  
 27196  // SetName sets the Name field's value.
 27197  func (s *IntegerParameter) SetName(v string) *IntegerParameter {
 27198  	s.Name = &v
 27199  	return s
 27200  }
 27201  
 27202  // SetValues sets the Values field's value.
 27203  func (s *IntegerParameter) SetValues(v []*int64) *IntegerParameter {
 27204  	s.Values = v
 27205  	return s
 27206  }
 27207  
 27208  // An internal failure occurred.
 27209  type InternalFailureException struct {
 27210  	_            struct{}                  `type:"structure"`
 27211  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 27212  
 27213  	Message_ *string `locationName:"Message" type:"string"`
 27214  
 27215  	// The Amazon Web Services request ID for this request.
 27216  	RequestId *string `type:"string"`
 27217  }
 27218  
 27219  // String returns the string representation.
 27220  //
 27221  // API parameter values that are decorated as "sensitive" in the API will not
 27222  // be included in the string output. The member name will be present, but the
 27223  // value will be replaced with "sensitive".
 27224  func (s InternalFailureException) String() string {
 27225  	return awsutil.Prettify(s)
 27226  }
 27227  
 27228  // GoString returns the string representation.
 27229  //
 27230  // API parameter values that are decorated as "sensitive" in the API will not
 27231  // be included in the string output. The member name will be present, but the
 27232  // value will be replaced with "sensitive".
 27233  func (s InternalFailureException) GoString() string {
 27234  	return s.String()
 27235  }
 27236  
 27237  func newErrorInternalFailureException(v protocol.ResponseMetadata) error {
 27238  	return &InternalFailureException{
 27239  		RespMetadata: v,
 27240  	}
 27241  }
 27242  
 27243  // Code returns the exception type name.
 27244  func (s *InternalFailureException) Code() string {
 27245  	return "InternalFailureException"
 27246  }
 27247  
 27248  // Message returns the exception's message.
 27249  func (s *InternalFailureException) Message() string {
 27250  	if s.Message_ != nil {
 27251  		return *s.Message_
 27252  	}
 27253  	return ""
 27254  }
 27255  
 27256  // OrigErr always returns nil, satisfies awserr.Error interface.
 27257  func (s *InternalFailureException) OrigErr() error {
 27258  	return nil
 27259  }
 27260  
 27261  func (s *InternalFailureException) Error() string {
 27262  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 27263  }
 27264  
 27265  // Status code returns the HTTP status code for the request's response error.
 27266  func (s *InternalFailureException) StatusCode() int {
 27267  	return s.RespMetadata.StatusCode
 27268  }
 27269  
 27270  // RequestID returns the service's response RequestID for request.
 27271  func (s *InternalFailureException) RequestID() string {
 27272  	return s.RespMetadata.RequestID
 27273  }
 27274  
 27275  // The NextToken value isn't valid.
 27276  type InvalidNextTokenException struct {
 27277  	_            struct{}                  `type:"structure"`
 27278  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 27279  
 27280  	Message_ *string `locationName:"Message" type:"string"`
 27281  
 27282  	// The Amazon Web Services request ID for this request.
 27283  	RequestId *string `type:"string"`
 27284  }
 27285  
 27286  // String returns the string representation.
 27287  //
 27288  // API parameter values that are decorated as "sensitive" in the API will not
 27289  // be included in the string output. The member name will be present, but the
 27290  // value will be replaced with "sensitive".
 27291  func (s InvalidNextTokenException) String() string {
 27292  	return awsutil.Prettify(s)
 27293  }
 27294  
 27295  // GoString returns the string representation.
 27296  //
 27297  // API parameter values that are decorated as "sensitive" in the API will not
 27298  // be included in the string output. The member name will be present, but the
 27299  // value will be replaced with "sensitive".
 27300  func (s InvalidNextTokenException) GoString() string {
 27301  	return s.String()
 27302  }
 27303  
 27304  func newErrorInvalidNextTokenException(v protocol.ResponseMetadata) error {
 27305  	return &InvalidNextTokenException{
 27306  		RespMetadata: v,
 27307  	}
 27308  }
 27309  
 27310  // Code returns the exception type name.
 27311  func (s *InvalidNextTokenException) Code() string {
 27312  	return "InvalidNextTokenException"
 27313  }
 27314  
 27315  // Message returns the exception's message.
 27316  func (s *InvalidNextTokenException) Message() string {
 27317  	if s.Message_ != nil {
 27318  		return *s.Message_
 27319  	}
 27320  	return ""
 27321  }
 27322  
 27323  // OrigErr always returns nil, satisfies awserr.Error interface.
 27324  func (s *InvalidNextTokenException) OrigErr() error {
 27325  	return nil
 27326  }
 27327  
 27328  func (s *InvalidNextTokenException) Error() string {
 27329  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 27330  }
 27331  
 27332  // Status code returns the HTTP status code for the request's response error.
 27333  func (s *InvalidNextTokenException) StatusCode() int {
 27334  	return s.RespMetadata.StatusCode
 27335  }
 27336  
 27337  // RequestID returns the service's response RequestID for request.
 27338  func (s *InvalidNextTokenException) RequestID() string {
 27339  	return s.RespMetadata.RequestID
 27340  }
 27341  
 27342  // One or more parameters has a value that isn't valid.
 27343  type InvalidParameterValueException struct {
 27344  	_            struct{}                  `type:"structure"`
 27345  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 27346  
 27347  	Message_ *string `locationName:"Message" type:"string"`
 27348  
 27349  	// The Amazon Web Services request ID for this request.
 27350  	RequestId *string `type:"string"`
 27351  }
 27352  
 27353  // String returns the string representation.
 27354  //
 27355  // API parameter values that are decorated as "sensitive" in the API will not
 27356  // be included in the string output. The member name will be present, but the
 27357  // value will be replaced with "sensitive".
 27358  func (s InvalidParameterValueException) String() string {
 27359  	return awsutil.Prettify(s)
 27360  }
 27361  
 27362  // GoString returns the string representation.
 27363  //
 27364  // API parameter values that are decorated as "sensitive" in the API will not
 27365  // be included in the string output. The member name will be present, but the
 27366  // value will be replaced with "sensitive".
 27367  func (s InvalidParameterValueException) GoString() string {
 27368  	return s.String()
 27369  }
 27370  
 27371  func newErrorInvalidParameterValueException(v protocol.ResponseMetadata) error {
 27372  	return &InvalidParameterValueException{
 27373  		RespMetadata: v,
 27374  	}
 27375  }
 27376  
 27377  // Code returns the exception type name.
 27378  func (s *InvalidParameterValueException) Code() string {
 27379  	return "InvalidParameterValueException"
 27380  }
 27381  
 27382  // Message returns the exception's message.
 27383  func (s *InvalidParameterValueException) Message() string {
 27384  	if s.Message_ != nil {
 27385  		return *s.Message_
 27386  	}
 27387  	return ""
 27388  }
 27389  
 27390  // OrigErr always returns nil, satisfies awserr.Error interface.
 27391  func (s *InvalidParameterValueException) OrigErr() error {
 27392  	return nil
 27393  }
 27394  
 27395  func (s *InvalidParameterValueException) Error() string {
 27396  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 27397  }
 27398  
 27399  // Status code returns the HTTP status code for the request's response error.
 27400  func (s *InvalidParameterValueException) StatusCode() int {
 27401  	return s.RespMetadata.StatusCode
 27402  }
 27403  
 27404  // RequestID returns the service's response RequestID for request.
 27405  func (s *InvalidParameterValueException) RequestID() string {
 27406  	return s.RespMetadata.RequestID
 27407  }
 27408  
 27409  // The parameters for Jira.
 27410  type JiraParameters struct {
 27411  	_ struct{} `type:"structure"`
 27412  
 27413  	// The base URL of the Jira site.
 27414  	//
 27415  	// SiteBaseUrl is a required field
 27416  	SiteBaseUrl *string `min:"1" type:"string" required:"true"`
 27417  }
 27418  
 27419  // String returns the string representation.
 27420  //
 27421  // API parameter values that are decorated as "sensitive" in the API will not
 27422  // be included in the string output. The member name will be present, but the
 27423  // value will be replaced with "sensitive".
 27424  func (s JiraParameters) String() string {
 27425  	return awsutil.Prettify(s)
 27426  }
 27427  
 27428  // GoString returns the string representation.
 27429  //
 27430  // API parameter values that are decorated as "sensitive" in the API will not
 27431  // be included in the string output. The member name will be present, but the
 27432  // value will be replaced with "sensitive".
 27433  func (s JiraParameters) GoString() string {
 27434  	return s.String()
 27435  }
 27436  
 27437  // Validate inspects the fields of the type to determine if they are valid.
 27438  func (s *JiraParameters) Validate() error {
 27439  	invalidParams := request.ErrInvalidParams{Context: "JiraParameters"}
 27440  	if s.SiteBaseUrl == nil {
 27441  		invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl"))
 27442  	}
 27443  	if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 {
 27444  		invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1))
 27445  	}
 27446  
 27447  	if invalidParams.Len() > 0 {
 27448  		return invalidParams
 27449  	}
 27450  	return nil
 27451  }
 27452  
 27453  // SetSiteBaseUrl sets the SiteBaseUrl field's value.
 27454  func (s *JiraParameters) SetSiteBaseUrl(v string) *JiraParameters {
 27455  	s.SiteBaseUrl = &v
 27456  	return s
 27457  }
 27458  
 27459  // The instructions associated with a join.
 27460  type JoinInstruction struct {
 27461  	_ struct{} `type:"structure"`
 27462  
 27463  	// Join key properties of the left operand.
 27464  	LeftJoinKeyProperties *JoinKeyProperties `type:"structure"`
 27465  
 27466  	// The operand on the left side of a join.
 27467  	//
 27468  	// LeftOperand is a required field
 27469  	LeftOperand *string `min:"1" type:"string" required:"true"`
 27470  
 27471  	// The join instructions provided in the ON clause of a join.
 27472  	//
 27473  	// OnClause is a required field
 27474  	OnClause *string `min:"1" type:"string" required:"true"`
 27475  
 27476  	// Join key properties of the right operand.
 27477  	RightJoinKeyProperties *JoinKeyProperties `type:"structure"`
 27478  
 27479  	// The operand on the right side of a join.
 27480  	//
 27481  	// RightOperand is a required field
 27482  	RightOperand *string `min:"1" type:"string" required:"true"`
 27483  
 27484  	// The type of join that it is.
 27485  	//
 27486  	// Type is a required field
 27487  	Type *string `type:"string" required:"true" enum:"JoinType"`
 27488  }
 27489  
 27490  // String returns the string representation.
 27491  //
 27492  // API parameter values that are decorated as "sensitive" in the API will not
 27493  // be included in the string output. The member name will be present, but the
 27494  // value will be replaced with "sensitive".
 27495  func (s JoinInstruction) String() string {
 27496  	return awsutil.Prettify(s)
 27497  }
 27498  
 27499  // GoString returns the string representation.
 27500  //
 27501  // API parameter values that are decorated as "sensitive" in the API will not
 27502  // be included in the string output. The member name will be present, but the
 27503  // value will be replaced with "sensitive".
 27504  func (s JoinInstruction) GoString() string {
 27505  	return s.String()
 27506  }
 27507  
 27508  // Validate inspects the fields of the type to determine if they are valid.
 27509  func (s *JoinInstruction) Validate() error {
 27510  	invalidParams := request.ErrInvalidParams{Context: "JoinInstruction"}
 27511  	if s.LeftOperand == nil {
 27512  		invalidParams.Add(request.NewErrParamRequired("LeftOperand"))
 27513  	}
 27514  	if s.LeftOperand != nil && len(*s.LeftOperand) < 1 {
 27515  		invalidParams.Add(request.NewErrParamMinLen("LeftOperand", 1))
 27516  	}
 27517  	if s.OnClause == nil {
 27518  		invalidParams.Add(request.NewErrParamRequired("OnClause"))
 27519  	}
 27520  	if s.OnClause != nil && len(*s.OnClause) < 1 {
 27521  		invalidParams.Add(request.NewErrParamMinLen("OnClause", 1))
 27522  	}
 27523  	if s.RightOperand == nil {
 27524  		invalidParams.Add(request.NewErrParamRequired("RightOperand"))
 27525  	}
 27526  	if s.RightOperand != nil && len(*s.RightOperand) < 1 {
 27527  		invalidParams.Add(request.NewErrParamMinLen("RightOperand", 1))
 27528  	}
 27529  	if s.Type == nil {
 27530  		invalidParams.Add(request.NewErrParamRequired("Type"))
 27531  	}
 27532  
 27533  	if invalidParams.Len() > 0 {
 27534  		return invalidParams
 27535  	}
 27536  	return nil
 27537  }
 27538  
 27539  // SetLeftJoinKeyProperties sets the LeftJoinKeyProperties field's value.
 27540  func (s *JoinInstruction) SetLeftJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction {
 27541  	s.LeftJoinKeyProperties = v
 27542  	return s
 27543  }
 27544  
 27545  // SetLeftOperand sets the LeftOperand field's value.
 27546  func (s *JoinInstruction) SetLeftOperand(v string) *JoinInstruction {
 27547  	s.LeftOperand = &v
 27548  	return s
 27549  }
 27550  
 27551  // SetOnClause sets the OnClause field's value.
 27552  func (s *JoinInstruction) SetOnClause(v string) *JoinInstruction {
 27553  	s.OnClause = &v
 27554  	return s
 27555  }
 27556  
 27557  // SetRightJoinKeyProperties sets the RightJoinKeyProperties field's value.
 27558  func (s *JoinInstruction) SetRightJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction {
 27559  	s.RightJoinKeyProperties = v
 27560  	return s
 27561  }
 27562  
 27563  // SetRightOperand sets the RightOperand field's value.
 27564  func (s *JoinInstruction) SetRightOperand(v string) *JoinInstruction {
 27565  	s.RightOperand = &v
 27566  	return s
 27567  }
 27568  
 27569  // SetType sets the Type field's value.
 27570  func (s *JoinInstruction) SetType(v string) *JoinInstruction {
 27571  	s.Type = &v
 27572  	return s
 27573  }
 27574  
 27575  // Properties associated with the columns participating in a join.
 27576  type JoinKeyProperties struct {
 27577  	_ struct{} `type:"structure"`
 27578  
 27579  	// A value that indicates that a row in a table is uniquely identified by the
 27580  	// columns in a join key. This is used by Amazon QuickSight to optimize query
 27581  	// performance.
 27582  	UniqueKey *bool `type:"boolean"`
 27583  }
 27584  
 27585  // String returns the string representation.
 27586  //
 27587  // API parameter values that are decorated as "sensitive" in the API will not
 27588  // be included in the string output. The member name will be present, but the
 27589  // value will be replaced with "sensitive".
 27590  func (s JoinKeyProperties) String() string {
 27591  	return awsutil.Prettify(s)
 27592  }
 27593  
 27594  // GoString returns the string representation.
 27595  //
 27596  // API parameter values that are decorated as "sensitive" in the API will not
 27597  // be included in the string output. The member name will be present, but the
 27598  // value will be replaced with "sensitive".
 27599  func (s JoinKeyProperties) GoString() string {
 27600  	return s.String()
 27601  }
 27602  
 27603  // SetUniqueKey sets the UniqueKey field's value.
 27604  func (s *JoinKeyProperties) SetUniqueKey(v bool) *JoinKeyProperties {
 27605  	s.UniqueKey = &v
 27606  	return s
 27607  }
 27608  
 27609  // A limit is exceeded.
 27610  type LimitExceededException struct {
 27611  	_            struct{}                  `type:"structure"`
 27612  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 27613  
 27614  	Message_ *string `locationName:"Message" type:"string"`
 27615  
 27616  	// The Amazon Web Services request ID for this request.
 27617  	RequestId *string `type:"string"`
 27618  
 27619  	// Limit exceeded.
 27620  	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
 27621  }
 27622  
 27623  // String returns the string representation.
 27624  //
 27625  // API parameter values that are decorated as "sensitive" in the API will not
 27626  // be included in the string output. The member name will be present, but the
 27627  // value will be replaced with "sensitive".
 27628  func (s LimitExceededException) String() string {
 27629  	return awsutil.Prettify(s)
 27630  }
 27631  
 27632  // GoString returns the string representation.
 27633  //
 27634  // API parameter values that are decorated as "sensitive" in the API will not
 27635  // be included in the string output. The member name will be present, but the
 27636  // value will be replaced with "sensitive".
 27637  func (s LimitExceededException) GoString() string {
 27638  	return s.String()
 27639  }
 27640  
 27641  func newErrorLimitExceededException(v protocol.ResponseMetadata) error {
 27642  	return &LimitExceededException{
 27643  		RespMetadata: v,
 27644  	}
 27645  }
 27646  
 27647  // Code returns the exception type name.
 27648  func (s *LimitExceededException) Code() string {
 27649  	return "LimitExceededException"
 27650  }
 27651  
 27652  // Message returns the exception's message.
 27653  func (s *LimitExceededException) Message() string {
 27654  	if s.Message_ != nil {
 27655  		return *s.Message_
 27656  	}
 27657  	return ""
 27658  }
 27659  
 27660  // OrigErr always returns nil, satisfies awserr.Error interface.
 27661  func (s *LimitExceededException) OrigErr() error {
 27662  	return nil
 27663  }
 27664  
 27665  func (s *LimitExceededException) Error() string {
 27666  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 27667  }
 27668  
 27669  // Status code returns the HTTP status code for the request's response error.
 27670  func (s *LimitExceededException) StatusCode() int {
 27671  	return s.RespMetadata.StatusCode
 27672  }
 27673  
 27674  // RequestID returns the service's response RequestID for request.
 27675  func (s *LimitExceededException) RequestID() string {
 27676  	return s.RespMetadata.RequestID
 27677  }
 27678  
 27679  type ListAnalysesInput struct {
 27680  	_ struct{} `type:"structure" nopayload:"true"`
 27681  
 27682  	// The ID of the Amazon Web Services account that contains the analyses.
 27683  	//
 27684  	// AwsAccountId is a required field
 27685  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 27686  
 27687  	// The maximum number of results to return.
 27688  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 27689  
 27690  	// A pagination token that can be used in a subsequent request.
 27691  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 27692  }
 27693  
 27694  // String returns the string representation.
 27695  //
 27696  // API parameter values that are decorated as "sensitive" in the API will not
 27697  // be included in the string output. The member name will be present, but the
 27698  // value will be replaced with "sensitive".
 27699  func (s ListAnalysesInput) String() string {
 27700  	return awsutil.Prettify(s)
 27701  }
 27702  
 27703  // GoString returns the string representation.
 27704  //
 27705  // API parameter values that are decorated as "sensitive" in the API will not
 27706  // be included in the string output. The member name will be present, but the
 27707  // value will be replaced with "sensitive".
 27708  func (s ListAnalysesInput) GoString() string {
 27709  	return s.String()
 27710  }
 27711  
 27712  // Validate inspects the fields of the type to determine if they are valid.
 27713  func (s *ListAnalysesInput) Validate() error {
 27714  	invalidParams := request.ErrInvalidParams{Context: "ListAnalysesInput"}
 27715  	if s.AwsAccountId == nil {
 27716  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 27717  	}
 27718  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 27719  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 27720  	}
 27721  	if s.MaxResults != nil && *s.MaxResults < 1 {
 27722  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 27723  	}
 27724  
 27725  	if invalidParams.Len() > 0 {
 27726  		return invalidParams
 27727  	}
 27728  	return nil
 27729  }
 27730  
 27731  // SetAwsAccountId sets the AwsAccountId field's value.
 27732  func (s *ListAnalysesInput) SetAwsAccountId(v string) *ListAnalysesInput {
 27733  	s.AwsAccountId = &v
 27734  	return s
 27735  }
 27736  
 27737  // SetMaxResults sets the MaxResults field's value.
 27738  func (s *ListAnalysesInput) SetMaxResults(v int64) *ListAnalysesInput {
 27739  	s.MaxResults = &v
 27740  	return s
 27741  }
 27742  
 27743  // SetNextToken sets the NextToken field's value.
 27744  func (s *ListAnalysesInput) SetNextToken(v string) *ListAnalysesInput {
 27745  	s.NextToken = &v
 27746  	return s
 27747  }
 27748  
 27749  type ListAnalysesOutput struct {
 27750  	_ struct{} `type:"structure"`
 27751  
 27752  	// Metadata describing each of the analyses that are listed.
 27753  	AnalysisSummaryList []*AnalysisSummary `type:"list"`
 27754  
 27755  	// A pagination token that can be used in a subsequent request.
 27756  	NextToken *string `type:"string"`
 27757  
 27758  	// The Amazon Web Services request ID for this operation.
 27759  	RequestId *string `type:"string"`
 27760  
 27761  	// The HTTP status of the request.
 27762  	Status *int64 `location:"statusCode" type:"integer"`
 27763  }
 27764  
 27765  // String returns the string representation.
 27766  //
 27767  // API parameter values that are decorated as "sensitive" in the API will not
 27768  // be included in the string output. The member name will be present, but the
 27769  // value will be replaced with "sensitive".
 27770  func (s ListAnalysesOutput) String() string {
 27771  	return awsutil.Prettify(s)
 27772  }
 27773  
 27774  // GoString returns the string representation.
 27775  //
 27776  // API parameter values that are decorated as "sensitive" in the API will not
 27777  // be included in the string output. The member name will be present, but the
 27778  // value will be replaced with "sensitive".
 27779  func (s ListAnalysesOutput) GoString() string {
 27780  	return s.String()
 27781  }
 27782  
 27783  // SetAnalysisSummaryList sets the AnalysisSummaryList field's value.
 27784  func (s *ListAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *ListAnalysesOutput {
 27785  	s.AnalysisSummaryList = v
 27786  	return s
 27787  }
 27788  
 27789  // SetNextToken sets the NextToken field's value.
 27790  func (s *ListAnalysesOutput) SetNextToken(v string) *ListAnalysesOutput {
 27791  	s.NextToken = &v
 27792  	return s
 27793  }
 27794  
 27795  // SetRequestId sets the RequestId field's value.
 27796  func (s *ListAnalysesOutput) SetRequestId(v string) *ListAnalysesOutput {
 27797  	s.RequestId = &v
 27798  	return s
 27799  }
 27800  
 27801  // SetStatus sets the Status field's value.
 27802  func (s *ListAnalysesOutput) SetStatus(v int64) *ListAnalysesOutput {
 27803  	s.Status = &v
 27804  	return s
 27805  }
 27806  
 27807  type ListDashboardVersionsInput struct {
 27808  	_ struct{} `type:"structure" nopayload:"true"`
 27809  
 27810  	// The ID of the Amazon Web Services account that contains the dashboard that
 27811  	// you're listing versions for.
 27812  	//
 27813  	// AwsAccountId is a required field
 27814  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 27815  
 27816  	// The ID for the dashboard.
 27817  	//
 27818  	// DashboardId is a required field
 27819  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 27820  
 27821  	// The maximum number of results to be returned per request.
 27822  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 27823  
 27824  	// The token for the next set of results, or null if there are no more results.
 27825  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 27826  }
 27827  
 27828  // String returns the string representation.
 27829  //
 27830  // API parameter values that are decorated as "sensitive" in the API will not
 27831  // be included in the string output. The member name will be present, but the
 27832  // value will be replaced with "sensitive".
 27833  func (s ListDashboardVersionsInput) String() string {
 27834  	return awsutil.Prettify(s)
 27835  }
 27836  
 27837  // GoString returns the string representation.
 27838  //
 27839  // API parameter values that are decorated as "sensitive" in the API will not
 27840  // be included in the string output. The member name will be present, but the
 27841  // value will be replaced with "sensitive".
 27842  func (s ListDashboardVersionsInput) GoString() string {
 27843  	return s.String()
 27844  }
 27845  
 27846  // Validate inspects the fields of the type to determine if they are valid.
 27847  func (s *ListDashboardVersionsInput) Validate() error {
 27848  	invalidParams := request.ErrInvalidParams{Context: "ListDashboardVersionsInput"}
 27849  	if s.AwsAccountId == nil {
 27850  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 27851  	}
 27852  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 27853  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 27854  	}
 27855  	if s.DashboardId == nil {
 27856  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 27857  	}
 27858  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 27859  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 27860  	}
 27861  	if s.MaxResults != nil && *s.MaxResults < 1 {
 27862  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 27863  	}
 27864  
 27865  	if invalidParams.Len() > 0 {
 27866  		return invalidParams
 27867  	}
 27868  	return nil
 27869  }
 27870  
 27871  // SetAwsAccountId sets the AwsAccountId field's value.
 27872  func (s *ListDashboardVersionsInput) SetAwsAccountId(v string) *ListDashboardVersionsInput {
 27873  	s.AwsAccountId = &v
 27874  	return s
 27875  }
 27876  
 27877  // SetDashboardId sets the DashboardId field's value.
 27878  func (s *ListDashboardVersionsInput) SetDashboardId(v string) *ListDashboardVersionsInput {
 27879  	s.DashboardId = &v
 27880  	return s
 27881  }
 27882  
 27883  // SetMaxResults sets the MaxResults field's value.
 27884  func (s *ListDashboardVersionsInput) SetMaxResults(v int64) *ListDashboardVersionsInput {
 27885  	s.MaxResults = &v
 27886  	return s
 27887  }
 27888  
 27889  // SetNextToken sets the NextToken field's value.
 27890  func (s *ListDashboardVersionsInput) SetNextToken(v string) *ListDashboardVersionsInput {
 27891  	s.NextToken = &v
 27892  	return s
 27893  }
 27894  
 27895  type ListDashboardVersionsOutput struct {
 27896  	_ struct{} `type:"structure"`
 27897  
 27898  	// A structure that contains information about each version of the dashboard.
 27899  	DashboardVersionSummaryList []*DashboardVersionSummary `type:"list"`
 27900  
 27901  	// The token for the next set of results, or null if there are no more results.
 27902  	NextToken *string `type:"string"`
 27903  
 27904  	// The Amazon Web Services request ID for this operation.
 27905  	RequestId *string `type:"string"`
 27906  
 27907  	// The HTTP status of the request.
 27908  	Status *int64 `location:"statusCode" type:"integer"`
 27909  }
 27910  
 27911  // String returns the string representation.
 27912  //
 27913  // API parameter values that are decorated as "sensitive" in the API will not
 27914  // be included in the string output. The member name will be present, but the
 27915  // value will be replaced with "sensitive".
 27916  func (s ListDashboardVersionsOutput) String() string {
 27917  	return awsutil.Prettify(s)
 27918  }
 27919  
 27920  // GoString returns the string representation.
 27921  //
 27922  // API parameter values that are decorated as "sensitive" in the API will not
 27923  // be included in the string output. The member name will be present, but the
 27924  // value will be replaced with "sensitive".
 27925  func (s ListDashboardVersionsOutput) GoString() string {
 27926  	return s.String()
 27927  }
 27928  
 27929  // SetDashboardVersionSummaryList sets the DashboardVersionSummaryList field's value.
 27930  func (s *ListDashboardVersionsOutput) SetDashboardVersionSummaryList(v []*DashboardVersionSummary) *ListDashboardVersionsOutput {
 27931  	s.DashboardVersionSummaryList = v
 27932  	return s
 27933  }
 27934  
 27935  // SetNextToken sets the NextToken field's value.
 27936  func (s *ListDashboardVersionsOutput) SetNextToken(v string) *ListDashboardVersionsOutput {
 27937  	s.NextToken = &v
 27938  	return s
 27939  }
 27940  
 27941  // SetRequestId sets the RequestId field's value.
 27942  func (s *ListDashboardVersionsOutput) SetRequestId(v string) *ListDashboardVersionsOutput {
 27943  	s.RequestId = &v
 27944  	return s
 27945  }
 27946  
 27947  // SetStatus sets the Status field's value.
 27948  func (s *ListDashboardVersionsOutput) SetStatus(v int64) *ListDashboardVersionsOutput {
 27949  	s.Status = &v
 27950  	return s
 27951  }
 27952  
 27953  type ListDashboardsInput struct {
 27954  	_ struct{} `type:"structure" nopayload:"true"`
 27955  
 27956  	// The ID of the Amazon Web Services account that contains the dashboards that
 27957  	// you're listing.
 27958  	//
 27959  	// AwsAccountId is a required field
 27960  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 27961  
 27962  	// The maximum number of results to be returned per request.
 27963  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 27964  
 27965  	// The token for the next set of results, or null if there are no more results.
 27966  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 27967  }
 27968  
 27969  // String returns the string representation.
 27970  //
 27971  // API parameter values that are decorated as "sensitive" in the API will not
 27972  // be included in the string output. The member name will be present, but the
 27973  // value will be replaced with "sensitive".
 27974  func (s ListDashboardsInput) String() string {
 27975  	return awsutil.Prettify(s)
 27976  }
 27977  
 27978  // GoString returns the string representation.
 27979  //
 27980  // API parameter values that are decorated as "sensitive" in the API will not
 27981  // be included in the string output. The member name will be present, but the
 27982  // value will be replaced with "sensitive".
 27983  func (s ListDashboardsInput) GoString() string {
 27984  	return s.String()
 27985  }
 27986  
 27987  // Validate inspects the fields of the type to determine if they are valid.
 27988  func (s *ListDashboardsInput) Validate() error {
 27989  	invalidParams := request.ErrInvalidParams{Context: "ListDashboardsInput"}
 27990  	if s.AwsAccountId == nil {
 27991  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 27992  	}
 27993  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 27994  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 27995  	}
 27996  	if s.MaxResults != nil && *s.MaxResults < 1 {
 27997  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 27998  	}
 27999  
 28000  	if invalidParams.Len() > 0 {
 28001  		return invalidParams
 28002  	}
 28003  	return nil
 28004  }
 28005  
 28006  // SetAwsAccountId sets the AwsAccountId field's value.
 28007  func (s *ListDashboardsInput) SetAwsAccountId(v string) *ListDashboardsInput {
 28008  	s.AwsAccountId = &v
 28009  	return s
 28010  }
 28011  
 28012  // SetMaxResults sets the MaxResults field's value.
 28013  func (s *ListDashboardsInput) SetMaxResults(v int64) *ListDashboardsInput {
 28014  	s.MaxResults = &v
 28015  	return s
 28016  }
 28017  
 28018  // SetNextToken sets the NextToken field's value.
 28019  func (s *ListDashboardsInput) SetNextToken(v string) *ListDashboardsInput {
 28020  	s.NextToken = &v
 28021  	return s
 28022  }
 28023  
 28024  type ListDashboardsOutput struct {
 28025  	_ struct{} `type:"structure"`
 28026  
 28027  	// A structure that contains all of the dashboards in your Amazon Web Services
 28028  	// account. This structure provides basic information about the dashboards.
 28029  	DashboardSummaryList []*DashboardSummary `type:"list"`
 28030  
 28031  	// The token for the next set of results, or null if there are no more results.
 28032  	NextToken *string `type:"string"`
 28033  
 28034  	// The Amazon Web Services request ID for this operation.
 28035  	RequestId *string `type:"string"`
 28036  
 28037  	// The HTTP status of the request.
 28038  	Status *int64 `location:"statusCode" type:"integer"`
 28039  }
 28040  
 28041  // String returns the string representation.
 28042  //
 28043  // API parameter values that are decorated as "sensitive" in the API will not
 28044  // be included in the string output. The member name will be present, but the
 28045  // value will be replaced with "sensitive".
 28046  func (s ListDashboardsOutput) String() string {
 28047  	return awsutil.Prettify(s)
 28048  }
 28049  
 28050  // GoString returns the string representation.
 28051  //
 28052  // API parameter values that are decorated as "sensitive" in the API will not
 28053  // be included in the string output. The member name will be present, but the
 28054  // value will be replaced with "sensitive".
 28055  func (s ListDashboardsOutput) GoString() string {
 28056  	return s.String()
 28057  }
 28058  
 28059  // SetDashboardSummaryList sets the DashboardSummaryList field's value.
 28060  func (s *ListDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *ListDashboardsOutput {
 28061  	s.DashboardSummaryList = v
 28062  	return s
 28063  }
 28064  
 28065  // SetNextToken sets the NextToken field's value.
 28066  func (s *ListDashboardsOutput) SetNextToken(v string) *ListDashboardsOutput {
 28067  	s.NextToken = &v
 28068  	return s
 28069  }
 28070  
 28071  // SetRequestId sets the RequestId field's value.
 28072  func (s *ListDashboardsOutput) SetRequestId(v string) *ListDashboardsOutput {
 28073  	s.RequestId = &v
 28074  	return s
 28075  }
 28076  
 28077  // SetStatus sets the Status field's value.
 28078  func (s *ListDashboardsOutput) SetStatus(v int64) *ListDashboardsOutput {
 28079  	s.Status = &v
 28080  	return s
 28081  }
 28082  
 28083  type ListDataSetsInput struct {
 28084  	_ struct{} `type:"structure" nopayload:"true"`
 28085  
 28086  	// The Amazon Web Services account ID.
 28087  	//
 28088  	// AwsAccountId is a required field
 28089  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 28090  
 28091  	// The maximum number of results to be returned per request.
 28092  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 28093  
 28094  	// The token for the next set of results, or null if there are no more results.
 28095  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 28096  }
 28097  
 28098  // String returns the string representation.
 28099  //
 28100  // API parameter values that are decorated as "sensitive" in the API will not
 28101  // be included in the string output. The member name will be present, but the
 28102  // value will be replaced with "sensitive".
 28103  func (s ListDataSetsInput) String() string {
 28104  	return awsutil.Prettify(s)
 28105  }
 28106  
 28107  // GoString returns the string representation.
 28108  //
 28109  // API parameter values that are decorated as "sensitive" in the API will not
 28110  // be included in the string output. The member name will be present, but the
 28111  // value will be replaced with "sensitive".
 28112  func (s ListDataSetsInput) GoString() string {
 28113  	return s.String()
 28114  }
 28115  
 28116  // Validate inspects the fields of the type to determine if they are valid.
 28117  func (s *ListDataSetsInput) Validate() error {
 28118  	invalidParams := request.ErrInvalidParams{Context: "ListDataSetsInput"}
 28119  	if s.AwsAccountId == nil {
 28120  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 28121  	}
 28122  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 28123  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 28124  	}
 28125  	if s.MaxResults != nil && *s.MaxResults < 1 {
 28126  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 28127  	}
 28128  
 28129  	if invalidParams.Len() > 0 {
 28130  		return invalidParams
 28131  	}
 28132  	return nil
 28133  }
 28134  
 28135  // SetAwsAccountId sets the AwsAccountId field's value.
 28136  func (s *ListDataSetsInput) SetAwsAccountId(v string) *ListDataSetsInput {
 28137  	s.AwsAccountId = &v
 28138  	return s
 28139  }
 28140  
 28141  // SetMaxResults sets the MaxResults field's value.
 28142  func (s *ListDataSetsInput) SetMaxResults(v int64) *ListDataSetsInput {
 28143  	s.MaxResults = &v
 28144  	return s
 28145  }
 28146  
 28147  // SetNextToken sets the NextToken field's value.
 28148  func (s *ListDataSetsInput) SetNextToken(v string) *ListDataSetsInput {
 28149  	s.NextToken = &v
 28150  	return s
 28151  }
 28152  
 28153  type ListDataSetsOutput struct {
 28154  	_ struct{} `type:"structure"`
 28155  
 28156  	// The list of dataset summaries.
 28157  	DataSetSummaries []*DataSetSummary `type:"list"`
 28158  
 28159  	// The token for the next set of results, or null if there are no more results.
 28160  	NextToken *string `type:"string"`
 28161  
 28162  	// The Amazon Web Services request ID for this operation.
 28163  	RequestId *string `type:"string"`
 28164  
 28165  	// The HTTP status of the request.
 28166  	Status *int64 `location:"statusCode" type:"integer"`
 28167  }
 28168  
 28169  // String returns the string representation.
 28170  //
 28171  // API parameter values that are decorated as "sensitive" in the API will not
 28172  // be included in the string output. The member name will be present, but the
 28173  // value will be replaced with "sensitive".
 28174  func (s ListDataSetsOutput) String() string {
 28175  	return awsutil.Prettify(s)
 28176  }
 28177  
 28178  // GoString returns the string representation.
 28179  //
 28180  // API parameter values that are decorated as "sensitive" in the API will not
 28181  // be included in the string output. The member name will be present, but the
 28182  // value will be replaced with "sensitive".
 28183  func (s ListDataSetsOutput) GoString() string {
 28184  	return s.String()
 28185  }
 28186  
 28187  // SetDataSetSummaries sets the DataSetSummaries field's value.
 28188  func (s *ListDataSetsOutput) SetDataSetSummaries(v []*DataSetSummary) *ListDataSetsOutput {
 28189  	s.DataSetSummaries = v
 28190  	return s
 28191  }
 28192  
 28193  // SetNextToken sets the NextToken field's value.
 28194  func (s *ListDataSetsOutput) SetNextToken(v string) *ListDataSetsOutput {
 28195  	s.NextToken = &v
 28196  	return s
 28197  }
 28198  
 28199  // SetRequestId sets the RequestId field's value.
 28200  func (s *ListDataSetsOutput) SetRequestId(v string) *ListDataSetsOutput {
 28201  	s.RequestId = &v
 28202  	return s
 28203  }
 28204  
 28205  // SetStatus sets the Status field's value.
 28206  func (s *ListDataSetsOutput) SetStatus(v int64) *ListDataSetsOutput {
 28207  	s.Status = &v
 28208  	return s
 28209  }
 28210  
 28211  type ListDataSourcesInput struct {
 28212  	_ struct{} `type:"structure" nopayload:"true"`
 28213  
 28214  	// The Amazon Web Services account ID.
 28215  	//
 28216  	// AwsAccountId is a required field
 28217  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 28218  
 28219  	// The maximum number of results to be returned per request.
 28220  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 28221  
 28222  	// The token for the next set of results, or null if there are no more results.
 28223  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 28224  }
 28225  
 28226  // String returns the string representation.
 28227  //
 28228  // API parameter values that are decorated as "sensitive" in the API will not
 28229  // be included in the string output. The member name will be present, but the
 28230  // value will be replaced with "sensitive".
 28231  func (s ListDataSourcesInput) String() string {
 28232  	return awsutil.Prettify(s)
 28233  }
 28234  
 28235  // GoString returns the string representation.
 28236  //
 28237  // API parameter values that are decorated as "sensitive" in the API will not
 28238  // be included in the string output. The member name will be present, but the
 28239  // value will be replaced with "sensitive".
 28240  func (s ListDataSourcesInput) GoString() string {
 28241  	return s.String()
 28242  }
 28243  
 28244  // Validate inspects the fields of the type to determine if they are valid.
 28245  func (s *ListDataSourcesInput) Validate() error {
 28246  	invalidParams := request.ErrInvalidParams{Context: "ListDataSourcesInput"}
 28247  	if s.AwsAccountId == nil {
 28248  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 28249  	}
 28250  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 28251  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 28252  	}
 28253  	if s.MaxResults != nil && *s.MaxResults < 1 {
 28254  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 28255  	}
 28256  
 28257  	if invalidParams.Len() > 0 {
 28258  		return invalidParams
 28259  	}
 28260  	return nil
 28261  }
 28262  
 28263  // SetAwsAccountId sets the AwsAccountId field's value.
 28264  func (s *ListDataSourcesInput) SetAwsAccountId(v string) *ListDataSourcesInput {
 28265  	s.AwsAccountId = &v
 28266  	return s
 28267  }
 28268  
 28269  // SetMaxResults sets the MaxResults field's value.
 28270  func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput {
 28271  	s.MaxResults = &v
 28272  	return s
 28273  }
 28274  
 28275  // SetNextToken sets the NextToken field's value.
 28276  func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput {
 28277  	s.NextToken = &v
 28278  	return s
 28279  }
 28280  
 28281  type ListDataSourcesOutput struct {
 28282  	_ struct{} `type:"structure"`
 28283  
 28284  	// A list of data sources.
 28285  	DataSources []*DataSource `type:"list"`
 28286  
 28287  	// The token for the next set of results, or null if there are no more results.
 28288  	NextToken *string `type:"string"`
 28289  
 28290  	// The Amazon Web Services request ID for this operation.
 28291  	RequestId *string `type:"string"`
 28292  
 28293  	// The HTTP status of the request.
 28294  	Status *int64 `location:"statusCode" type:"integer"`
 28295  }
 28296  
 28297  // String returns the string representation.
 28298  //
 28299  // API parameter values that are decorated as "sensitive" in the API will not
 28300  // be included in the string output. The member name will be present, but the
 28301  // value will be replaced with "sensitive".
 28302  func (s ListDataSourcesOutput) String() string {
 28303  	return awsutil.Prettify(s)
 28304  }
 28305  
 28306  // GoString returns the string representation.
 28307  //
 28308  // API parameter values that are decorated as "sensitive" in the API will not
 28309  // be included in the string output. The member name will be present, but the
 28310  // value will be replaced with "sensitive".
 28311  func (s ListDataSourcesOutput) GoString() string {
 28312  	return s.String()
 28313  }
 28314  
 28315  // SetDataSources sets the DataSources field's value.
 28316  func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput {
 28317  	s.DataSources = v
 28318  	return s
 28319  }
 28320  
 28321  // SetNextToken sets the NextToken field's value.
 28322  func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput {
 28323  	s.NextToken = &v
 28324  	return s
 28325  }
 28326  
 28327  // SetRequestId sets the RequestId field's value.
 28328  func (s *ListDataSourcesOutput) SetRequestId(v string) *ListDataSourcesOutput {
 28329  	s.RequestId = &v
 28330  	return s
 28331  }
 28332  
 28333  // SetStatus sets the Status field's value.
 28334  func (s *ListDataSourcesOutput) SetStatus(v int64) *ListDataSourcesOutput {
 28335  	s.Status = &v
 28336  	return s
 28337  }
 28338  
 28339  type ListFolderMembersInput struct {
 28340  	_ struct{} `type:"structure" nopayload:"true"`
 28341  
 28342  	// The AWS account ID.
 28343  	//
 28344  	// AwsAccountId is a required field
 28345  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 28346  
 28347  	// The folder ID.
 28348  	//
 28349  	// FolderId is a required field
 28350  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 28351  
 28352  	// The maximum number of results to be returned per request.
 28353  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 28354  
 28355  	// The token for the next set of results, or null if there are no more results.
 28356  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 28357  }
 28358  
 28359  // String returns the string representation.
 28360  //
 28361  // API parameter values that are decorated as "sensitive" in the API will not
 28362  // be included in the string output. The member name will be present, but the
 28363  // value will be replaced with "sensitive".
 28364  func (s ListFolderMembersInput) String() string {
 28365  	return awsutil.Prettify(s)
 28366  }
 28367  
 28368  // GoString returns the string representation.
 28369  //
 28370  // API parameter values that are decorated as "sensitive" in the API will not
 28371  // be included in the string output. The member name will be present, but the
 28372  // value will be replaced with "sensitive".
 28373  func (s ListFolderMembersInput) GoString() string {
 28374  	return s.String()
 28375  }
 28376  
 28377  // Validate inspects the fields of the type to determine if they are valid.
 28378  func (s *ListFolderMembersInput) Validate() error {
 28379  	invalidParams := request.ErrInvalidParams{Context: "ListFolderMembersInput"}
 28380  	if s.AwsAccountId == nil {
 28381  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 28382  	}
 28383  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 28384  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 28385  	}
 28386  	if s.FolderId == nil {
 28387  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 28388  	}
 28389  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 28390  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 28391  	}
 28392  	if s.MaxResults != nil && *s.MaxResults < 1 {
 28393  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 28394  	}
 28395  
 28396  	if invalidParams.Len() > 0 {
 28397  		return invalidParams
 28398  	}
 28399  	return nil
 28400  }
 28401  
 28402  // SetAwsAccountId sets the AwsAccountId field's value.
 28403  func (s *ListFolderMembersInput) SetAwsAccountId(v string) *ListFolderMembersInput {
 28404  	s.AwsAccountId = &v
 28405  	return s
 28406  }
 28407  
 28408  // SetFolderId sets the FolderId field's value.
 28409  func (s *ListFolderMembersInput) SetFolderId(v string) *ListFolderMembersInput {
 28410  	s.FolderId = &v
 28411  	return s
 28412  }
 28413  
 28414  // SetMaxResults sets the MaxResults field's value.
 28415  func (s *ListFolderMembersInput) SetMaxResults(v int64) *ListFolderMembersInput {
 28416  	s.MaxResults = &v
 28417  	return s
 28418  }
 28419  
 28420  // SetNextToken sets the NextToken field's value.
 28421  func (s *ListFolderMembersInput) SetNextToken(v string) *ListFolderMembersInput {
 28422  	s.NextToken = &v
 28423  	return s
 28424  }
 28425  
 28426  type ListFolderMembersOutput struct {
 28427  	_ struct{} `type:"structure"`
 28428  
 28429  	// A structure that contains all of the folder members (dashboards, analyses,
 28430  	// and datasets) in the folder.
 28431  	FolderMemberList []*MemberIdArnPair `type:"list"`
 28432  
 28433  	// The token for the next set of results, or null if there are no more results.
 28434  	NextToken *string `type:"string"`
 28435  
 28436  	// The request ID.
 28437  	RequestId *string `type:"string"`
 28438  
 28439  	// The status. If succeeded, the status is SC_OK
 28440  	Status *int64 `location:"statusCode" type:"integer"`
 28441  }
 28442  
 28443  // String returns the string representation.
 28444  //
 28445  // API parameter values that are decorated as "sensitive" in the API will not
 28446  // be included in the string output. The member name will be present, but the
 28447  // value will be replaced with "sensitive".
 28448  func (s ListFolderMembersOutput) String() string {
 28449  	return awsutil.Prettify(s)
 28450  }
 28451  
 28452  // GoString returns the string representation.
 28453  //
 28454  // API parameter values that are decorated as "sensitive" in the API will not
 28455  // be included in the string output. The member name will be present, but the
 28456  // value will be replaced with "sensitive".
 28457  func (s ListFolderMembersOutput) GoString() string {
 28458  	return s.String()
 28459  }
 28460  
 28461  // SetFolderMemberList sets the FolderMemberList field's value.
 28462  func (s *ListFolderMembersOutput) SetFolderMemberList(v []*MemberIdArnPair) *ListFolderMembersOutput {
 28463  	s.FolderMemberList = v
 28464  	return s
 28465  }
 28466  
 28467  // SetNextToken sets the NextToken field's value.
 28468  func (s *ListFolderMembersOutput) SetNextToken(v string) *ListFolderMembersOutput {
 28469  	s.NextToken = &v
 28470  	return s
 28471  }
 28472  
 28473  // SetRequestId sets the RequestId field's value.
 28474  func (s *ListFolderMembersOutput) SetRequestId(v string) *ListFolderMembersOutput {
 28475  	s.RequestId = &v
 28476  	return s
 28477  }
 28478  
 28479  // SetStatus sets the Status field's value.
 28480  func (s *ListFolderMembersOutput) SetStatus(v int64) *ListFolderMembersOutput {
 28481  	s.Status = &v
 28482  	return s
 28483  }
 28484  
 28485  type ListFoldersInput struct {
 28486  	_ struct{} `type:"structure" nopayload:"true"`
 28487  
 28488  	// The AWS account ID.
 28489  	//
 28490  	// AwsAccountId is a required field
 28491  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 28492  
 28493  	// The maximum number of results to be returned per request.
 28494  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 28495  
 28496  	// The token for the next set of results, or null if there are no more results.
 28497  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 28498  }
 28499  
 28500  // String returns the string representation.
 28501  //
 28502  // API parameter values that are decorated as "sensitive" in the API will not
 28503  // be included in the string output. The member name will be present, but the
 28504  // value will be replaced with "sensitive".
 28505  func (s ListFoldersInput) String() string {
 28506  	return awsutil.Prettify(s)
 28507  }
 28508  
 28509  // GoString returns the string representation.
 28510  //
 28511  // API parameter values that are decorated as "sensitive" in the API will not
 28512  // be included in the string output. The member name will be present, but the
 28513  // value will be replaced with "sensitive".
 28514  func (s ListFoldersInput) GoString() string {
 28515  	return s.String()
 28516  }
 28517  
 28518  // Validate inspects the fields of the type to determine if they are valid.
 28519  func (s *ListFoldersInput) Validate() error {
 28520  	invalidParams := request.ErrInvalidParams{Context: "ListFoldersInput"}
 28521  	if s.AwsAccountId == nil {
 28522  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 28523  	}
 28524  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 28525  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 28526  	}
 28527  	if s.MaxResults != nil && *s.MaxResults < 1 {
 28528  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 28529  	}
 28530  
 28531  	if invalidParams.Len() > 0 {
 28532  		return invalidParams
 28533  	}
 28534  	return nil
 28535  }
 28536  
 28537  // SetAwsAccountId sets the AwsAccountId field's value.
 28538  func (s *ListFoldersInput) SetAwsAccountId(v string) *ListFoldersInput {
 28539  	s.AwsAccountId = &v
 28540  	return s
 28541  }
 28542  
 28543  // SetMaxResults sets the MaxResults field's value.
 28544  func (s *ListFoldersInput) SetMaxResults(v int64) *ListFoldersInput {
 28545  	s.MaxResults = &v
 28546  	return s
 28547  }
 28548  
 28549  // SetNextToken sets the NextToken field's value.
 28550  func (s *ListFoldersInput) SetNextToken(v string) *ListFoldersInput {
 28551  	s.NextToken = &v
 28552  	return s
 28553  }
 28554  
 28555  type ListFoldersOutput struct {
 28556  	_ struct{} `type:"structure"`
 28557  
 28558  	// A structure that contains all of the folders in your AWS account. This structure
 28559  	// provides basic information about the folders.
 28560  	FolderSummaryList []*FolderSummary `type:"list"`
 28561  
 28562  	// The token for the next set of results, or null if there are no more results.
 28563  	NextToken *string `type:"string"`
 28564  
 28565  	// The request ID.
 28566  	RequestId *string `type:"string"`
 28567  
 28568  	// The status. If succeeded, the status is SC_OK
 28569  	Status *int64 `location:"statusCode" type:"integer"`
 28570  }
 28571  
 28572  // String returns the string representation.
 28573  //
 28574  // API parameter values that are decorated as "sensitive" in the API will not
 28575  // be included in the string output. The member name will be present, but the
 28576  // value will be replaced with "sensitive".
 28577  func (s ListFoldersOutput) String() string {
 28578  	return awsutil.Prettify(s)
 28579  }
 28580  
 28581  // GoString returns the string representation.
 28582  //
 28583  // API parameter values that are decorated as "sensitive" in the API will not
 28584  // be included in the string output. The member name will be present, but the
 28585  // value will be replaced with "sensitive".
 28586  func (s ListFoldersOutput) GoString() string {
 28587  	return s.String()
 28588  }
 28589  
 28590  // SetFolderSummaryList sets the FolderSummaryList field's value.
 28591  func (s *ListFoldersOutput) SetFolderSummaryList(v []*FolderSummary) *ListFoldersOutput {
 28592  	s.FolderSummaryList = v
 28593  	return s
 28594  }
 28595  
 28596  // SetNextToken sets the NextToken field's value.
 28597  func (s *ListFoldersOutput) SetNextToken(v string) *ListFoldersOutput {
 28598  	s.NextToken = &v
 28599  	return s
 28600  }
 28601  
 28602  // SetRequestId sets the RequestId field's value.
 28603  func (s *ListFoldersOutput) SetRequestId(v string) *ListFoldersOutput {
 28604  	s.RequestId = &v
 28605  	return s
 28606  }
 28607  
 28608  // SetStatus sets the Status field's value.
 28609  func (s *ListFoldersOutput) SetStatus(v int64) *ListFoldersOutput {
 28610  	s.Status = &v
 28611  	return s
 28612  }
 28613  
 28614  type ListGroupMembershipsInput struct {
 28615  	_ struct{} `type:"structure" nopayload:"true"`
 28616  
 28617  	// The ID for the Amazon Web Services account that the group is in. Currently,
 28618  	// you use the ID for the Amazon Web Services account that contains your Amazon
 28619  	// QuickSight account.
 28620  	//
 28621  	// AwsAccountId is a required field
 28622  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 28623  
 28624  	// The name of the group that you want to see a membership list of.
 28625  	//
 28626  	// GroupName is a required field
 28627  	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
 28628  
 28629  	// The maximum number of results to return from this request.
 28630  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 28631  
 28632  	// The namespace. Currently, you should set this to default.
 28633  	//
 28634  	// Namespace is a required field
 28635  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 28636  
 28637  	// A pagination token that can be used in a subsequent request.
 28638  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 28639  }
 28640  
 28641  // String returns the string representation.
 28642  //
 28643  // API parameter values that are decorated as "sensitive" in the API will not
 28644  // be included in the string output. The member name will be present, but the
 28645  // value will be replaced with "sensitive".
 28646  func (s ListGroupMembershipsInput) String() string {
 28647  	return awsutil.Prettify(s)
 28648  }
 28649  
 28650  // GoString returns the string representation.
 28651  //
 28652  // API parameter values that are decorated as "sensitive" in the API will not
 28653  // be included in the string output. The member name will be present, but the
 28654  // value will be replaced with "sensitive".
 28655  func (s ListGroupMembershipsInput) GoString() string {
 28656  	return s.String()
 28657  }
 28658  
 28659  // Validate inspects the fields of the type to determine if they are valid.
 28660  func (s *ListGroupMembershipsInput) Validate() error {
 28661  	invalidParams := request.ErrInvalidParams{Context: "ListGroupMembershipsInput"}
 28662  	if s.AwsAccountId == nil {
 28663  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 28664  	}
 28665  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 28666  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 28667  	}
 28668  	if s.GroupName == nil {
 28669  		invalidParams.Add(request.NewErrParamRequired("GroupName"))
 28670  	}
 28671  	if s.GroupName != nil && len(*s.GroupName) < 1 {
 28672  		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
 28673  	}
 28674  	if s.MaxResults != nil && *s.MaxResults < 1 {
 28675  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 28676  	}
 28677  	if s.Namespace == nil {
 28678  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 28679  	}
 28680  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 28681  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 28682  	}
 28683  
 28684  	if invalidParams.Len() > 0 {
 28685  		return invalidParams
 28686  	}
 28687  	return nil
 28688  }
 28689  
 28690  // SetAwsAccountId sets the AwsAccountId field's value.
 28691  func (s *ListGroupMembershipsInput) SetAwsAccountId(v string) *ListGroupMembershipsInput {
 28692  	s.AwsAccountId = &v
 28693  	return s
 28694  }
 28695  
 28696  // SetGroupName sets the GroupName field's value.
 28697  func (s *ListGroupMembershipsInput) SetGroupName(v string) *ListGroupMembershipsInput {
 28698  	s.GroupName = &v
 28699  	return s
 28700  }
 28701  
 28702  // SetMaxResults sets the MaxResults field's value.
 28703  func (s *ListGroupMembershipsInput) SetMaxResults(v int64) *ListGroupMembershipsInput {
 28704  	s.MaxResults = &v
 28705  	return s
 28706  }
 28707  
 28708  // SetNamespace sets the Namespace field's value.
 28709  func (s *ListGroupMembershipsInput) SetNamespace(v string) *ListGroupMembershipsInput {
 28710  	s.Namespace = &v
 28711  	return s
 28712  }
 28713  
 28714  // SetNextToken sets the NextToken field's value.
 28715  func (s *ListGroupMembershipsInput) SetNextToken(v string) *ListGroupMembershipsInput {
 28716  	s.NextToken = &v
 28717  	return s
 28718  }
 28719  
 28720  type ListGroupMembershipsOutput struct {
 28721  	_ struct{} `type:"structure"`
 28722  
 28723  	// The list of the members of the group.
 28724  	GroupMemberList []*GroupMember `type:"list"`
 28725  
 28726  	// A pagination token that can be used in a subsequent request.
 28727  	NextToken *string `type:"string"`
 28728  
 28729  	// The Amazon Web Services request ID for this operation.
 28730  	RequestId *string `type:"string"`
 28731  
 28732  	// The HTTP status of the request.
 28733  	Status *int64 `location:"statusCode" type:"integer"`
 28734  }
 28735  
 28736  // String returns the string representation.
 28737  //
 28738  // API parameter values that are decorated as "sensitive" in the API will not
 28739  // be included in the string output. The member name will be present, but the
 28740  // value will be replaced with "sensitive".
 28741  func (s ListGroupMembershipsOutput) String() string {
 28742  	return awsutil.Prettify(s)
 28743  }
 28744  
 28745  // GoString returns the string representation.
 28746  //
 28747  // API parameter values that are decorated as "sensitive" in the API will not
 28748  // be included in the string output. The member name will be present, but the
 28749  // value will be replaced with "sensitive".
 28750  func (s ListGroupMembershipsOutput) GoString() string {
 28751  	return s.String()
 28752  }
 28753  
 28754  // SetGroupMemberList sets the GroupMemberList field's value.
 28755  func (s *ListGroupMembershipsOutput) SetGroupMemberList(v []*GroupMember) *ListGroupMembershipsOutput {
 28756  	s.GroupMemberList = v
 28757  	return s
 28758  }
 28759  
 28760  // SetNextToken sets the NextToken field's value.
 28761  func (s *ListGroupMembershipsOutput) SetNextToken(v string) *ListGroupMembershipsOutput {
 28762  	s.NextToken = &v
 28763  	return s
 28764  }
 28765  
 28766  // SetRequestId sets the RequestId field's value.
 28767  func (s *ListGroupMembershipsOutput) SetRequestId(v string) *ListGroupMembershipsOutput {
 28768  	s.RequestId = &v
 28769  	return s
 28770  }
 28771  
 28772  // SetStatus sets the Status field's value.
 28773  func (s *ListGroupMembershipsOutput) SetStatus(v int64) *ListGroupMembershipsOutput {
 28774  	s.Status = &v
 28775  	return s
 28776  }
 28777  
 28778  type ListGroupsInput struct {
 28779  	_ struct{} `type:"structure" nopayload:"true"`
 28780  
 28781  	// The ID for the Amazon Web Services account that the group is in. Currently,
 28782  	// you use the ID for the Amazon Web Services account that contains your Amazon
 28783  	// QuickSight account.
 28784  	//
 28785  	// AwsAccountId is a required field
 28786  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 28787  
 28788  	// The maximum number of results to return.
 28789  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 28790  
 28791  	// The namespace. Currently, you should set this to default.
 28792  	//
 28793  	// Namespace is a required field
 28794  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 28795  
 28796  	// A pagination token that can be used in a subsequent request.
 28797  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 28798  }
 28799  
 28800  // String returns the string representation.
 28801  //
 28802  // API parameter values that are decorated as "sensitive" in the API will not
 28803  // be included in the string output. The member name will be present, but the
 28804  // value will be replaced with "sensitive".
 28805  func (s ListGroupsInput) String() string {
 28806  	return awsutil.Prettify(s)
 28807  }
 28808  
 28809  // GoString returns the string representation.
 28810  //
 28811  // API parameter values that are decorated as "sensitive" in the API will not
 28812  // be included in the string output. The member name will be present, but the
 28813  // value will be replaced with "sensitive".
 28814  func (s ListGroupsInput) GoString() string {
 28815  	return s.String()
 28816  }
 28817  
 28818  // Validate inspects the fields of the type to determine if they are valid.
 28819  func (s *ListGroupsInput) Validate() error {
 28820  	invalidParams := request.ErrInvalidParams{Context: "ListGroupsInput"}
 28821  	if s.AwsAccountId == nil {
 28822  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 28823  	}
 28824  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 28825  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 28826  	}
 28827  	if s.MaxResults != nil && *s.MaxResults < 1 {
 28828  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 28829  	}
 28830  	if s.Namespace == nil {
 28831  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 28832  	}
 28833  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 28834  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 28835  	}
 28836  
 28837  	if invalidParams.Len() > 0 {
 28838  		return invalidParams
 28839  	}
 28840  	return nil
 28841  }
 28842  
 28843  // SetAwsAccountId sets the AwsAccountId field's value.
 28844  func (s *ListGroupsInput) SetAwsAccountId(v string) *ListGroupsInput {
 28845  	s.AwsAccountId = &v
 28846  	return s
 28847  }
 28848  
 28849  // SetMaxResults sets the MaxResults field's value.
 28850  func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput {
 28851  	s.MaxResults = &v
 28852  	return s
 28853  }
 28854  
 28855  // SetNamespace sets the Namespace field's value.
 28856  func (s *ListGroupsInput) SetNamespace(v string) *ListGroupsInput {
 28857  	s.Namespace = &v
 28858  	return s
 28859  }
 28860  
 28861  // SetNextToken sets the NextToken field's value.
 28862  func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput {
 28863  	s.NextToken = &v
 28864  	return s
 28865  }
 28866  
 28867  type ListGroupsOutput struct {
 28868  	_ struct{} `type:"structure"`
 28869  
 28870  	// The list of the groups.
 28871  	GroupList []*Group `type:"list"`
 28872  
 28873  	// A pagination token that can be used in a subsequent request.
 28874  	NextToken *string `type:"string"`
 28875  
 28876  	// The Amazon Web Services request ID for this operation.
 28877  	RequestId *string `type:"string"`
 28878  
 28879  	// The HTTP status of the request.
 28880  	Status *int64 `location:"statusCode" type:"integer"`
 28881  }
 28882  
 28883  // String returns the string representation.
 28884  //
 28885  // API parameter values that are decorated as "sensitive" in the API will not
 28886  // be included in the string output. The member name will be present, but the
 28887  // value will be replaced with "sensitive".
 28888  func (s ListGroupsOutput) String() string {
 28889  	return awsutil.Prettify(s)
 28890  }
 28891  
 28892  // GoString returns the string representation.
 28893  //
 28894  // API parameter values that are decorated as "sensitive" in the API will not
 28895  // be included in the string output. The member name will be present, but the
 28896  // value will be replaced with "sensitive".
 28897  func (s ListGroupsOutput) GoString() string {
 28898  	return s.String()
 28899  }
 28900  
 28901  // SetGroupList sets the GroupList field's value.
 28902  func (s *ListGroupsOutput) SetGroupList(v []*Group) *ListGroupsOutput {
 28903  	s.GroupList = v
 28904  	return s
 28905  }
 28906  
 28907  // SetNextToken sets the NextToken field's value.
 28908  func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput {
 28909  	s.NextToken = &v
 28910  	return s
 28911  }
 28912  
 28913  // SetRequestId sets the RequestId field's value.
 28914  func (s *ListGroupsOutput) SetRequestId(v string) *ListGroupsOutput {
 28915  	s.RequestId = &v
 28916  	return s
 28917  }
 28918  
 28919  // SetStatus sets the Status field's value.
 28920  func (s *ListGroupsOutput) SetStatus(v int64) *ListGroupsOutput {
 28921  	s.Status = &v
 28922  	return s
 28923  }
 28924  
 28925  type ListIAMPolicyAssignmentsForUserInput struct {
 28926  	_ struct{} `type:"structure" nopayload:"true"`
 28927  
 28928  	// The ID of the Amazon Web Services account that contains the assignments.
 28929  	//
 28930  	// AwsAccountId is a required field
 28931  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 28932  
 28933  	// The maximum number of results to be returned per request.
 28934  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 28935  
 28936  	// The namespace of the assignment.
 28937  	//
 28938  	// Namespace is a required field
 28939  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 28940  
 28941  	// The token for the next set of results, or null if there are no more results.
 28942  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 28943  
 28944  	// The name of the user.
 28945  	//
 28946  	// UserName is a required field
 28947  	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
 28948  }
 28949  
 28950  // String returns the string representation.
 28951  //
 28952  // API parameter values that are decorated as "sensitive" in the API will not
 28953  // be included in the string output. The member name will be present, but the
 28954  // value will be replaced with "sensitive".
 28955  func (s ListIAMPolicyAssignmentsForUserInput) String() string {
 28956  	return awsutil.Prettify(s)
 28957  }
 28958  
 28959  // GoString returns the string representation.
 28960  //
 28961  // API parameter values that are decorated as "sensitive" in the API will not
 28962  // be included in the string output. The member name will be present, but the
 28963  // value will be replaced with "sensitive".
 28964  func (s ListIAMPolicyAssignmentsForUserInput) GoString() string {
 28965  	return s.String()
 28966  }
 28967  
 28968  // Validate inspects the fields of the type to determine if they are valid.
 28969  func (s *ListIAMPolicyAssignmentsForUserInput) Validate() error {
 28970  	invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsForUserInput"}
 28971  	if s.AwsAccountId == nil {
 28972  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 28973  	}
 28974  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 28975  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 28976  	}
 28977  	if s.MaxResults != nil && *s.MaxResults < 1 {
 28978  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 28979  	}
 28980  	if s.Namespace == nil {
 28981  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 28982  	}
 28983  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 28984  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 28985  	}
 28986  	if s.UserName == nil {
 28987  		invalidParams.Add(request.NewErrParamRequired("UserName"))
 28988  	}
 28989  	if s.UserName != nil && len(*s.UserName) < 1 {
 28990  		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
 28991  	}
 28992  
 28993  	if invalidParams.Len() > 0 {
 28994  		return invalidParams
 28995  	}
 28996  	return nil
 28997  }
 28998  
 28999  // SetAwsAccountId sets the AwsAccountId field's value.
 29000  func (s *ListIAMPolicyAssignmentsForUserInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsForUserInput {
 29001  	s.AwsAccountId = &v
 29002  	return s
 29003  }
 29004  
 29005  // SetMaxResults sets the MaxResults field's value.
 29006  func (s *ListIAMPolicyAssignmentsForUserInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsForUserInput {
 29007  	s.MaxResults = &v
 29008  	return s
 29009  }
 29010  
 29011  // SetNamespace sets the Namespace field's value.
 29012  func (s *ListIAMPolicyAssignmentsForUserInput) SetNamespace(v string) *ListIAMPolicyAssignmentsForUserInput {
 29013  	s.Namespace = &v
 29014  	return s
 29015  }
 29016  
 29017  // SetNextToken sets the NextToken field's value.
 29018  func (s *ListIAMPolicyAssignmentsForUserInput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserInput {
 29019  	s.NextToken = &v
 29020  	return s
 29021  }
 29022  
 29023  // SetUserName sets the UserName field's value.
 29024  func (s *ListIAMPolicyAssignmentsForUserInput) SetUserName(v string) *ListIAMPolicyAssignmentsForUserInput {
 29025  	s.UserName = &v
 29026  	return s
 29027  }
 29028  
 29029  type ListIAMPolicyAssignmentsForUserOutput struct {
 29030  	_ struct{} `type:"structure"`
 29031  
 29032  	// The active assignments for this user.
 29033  	ActiveAssignments []*ActiveIAMPolicyAssignment `type:"list"`
 29034  
 29035  	// The token for the next set of results, or null if there are no more results.
 29036  	NextToken *string `type:"string"`
 29037  
 29038  	// The Amazon Web Services request ID for this operation.
 29039  	RequestId *string `type:"string"`
 29040  
 29041  	// The HTTP status of the request.
 29042  	Status *int64 `location:"statusCode" type:"integer"`
 29043  }
 29044  
 29045  // String returns the string representation.
 29046  //
 29047  // API parameter values that are decorated as "sensitive" in the API will not
 29048  // be included in the string output. The member name will be present, but the
 29049  // value will be replaced with "sensitive".
 29050  func (s ListIAMPolicyAssignmentsForUserOutput) String() string {
 29051  	return awsutil.Prettify(s)
 29052  }
 29053  
 29054  // GoString returns the string representation.
 29055  //
 29056  // API parameter values that are decorated as "sensitive" in the API will not
 29057  // be included in the string output. The member name will be present, but the
 29058  // value will be replaced with "sensitive".
 29059  func (s ListIAMPolicyAssignmentsForUserOutput) GoString() string {
 29060  	return s.String()
 29061  }
 29062  
 29063  // SetActiveAssignments sets the ActiveAssignments field's value.
 29064  func (s *ListIAMPolicyAssignmentsForUserOutput) SetActiveAssignments(v []*ActiveIAMPolicyAssignment) *ListIAMPolicyAssignmentsForUserOutput {
 29065  	s.ActiveAssignments = v
 29066  	return s
 29067  }
 29068  
 29069  // SetNextToken sets the NextToken field's value.
 29070  func (s *ListIAMPolicyAssignmentsForUserOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserOutput {
 29071  	s.NextToken = &v
 29072  	return s
 29073  }
 29074  
 29075  // SetRequestId sets the RequestId field's value.
 29076  func (s *ListIAMPolicyAssignmentsForUserOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsForUserOutput {
 29077  	s.RequestId = &v
 29078  	return s
 29079  }
 29080  
 29081  // SetStatus sets the Status field's value.
 29082  func (s *ListIAMPolicyAssignmentsForUserOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsForUserOutput {
 29083  	s.Status = &v
 29084  	return s
 29085  }
 29086  
 29087  type ListIAMPolicyAssignmentsInput struct {
 29088  	_ struct{} `type:"structure"`
 29089  
 29090  	// The status of the assignments.
 29091  	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
 29092  
 29093  	// The ID of the Amazon Web Services account that contains these IAMpolicy assignments.
 29094  	//
 29095  	// AwsAccountId is a required field
 29096  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 29097  
 29098  	// The maximum number of results to be returned per request.
 29099  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 29100  
 29101  	// The namespace for the assignments.
 29102  	//
 29103  	// Namespace is a required field
 29104  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 29105  
 29106  	// The token for the next set of results, or null if there are no more results.
 29107  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 29108  }
 29109  
 29110  // String returns the string representation.
 29111  //
 29112  // API parameter values that are decorated as "sensitive" in the API will not
 29113  // be included in the string output. The member name will be present, but the
 29114  // value will be replaced with "sensitive".
 29115  func (s ListIAMPolicyAssignmentsInput) String() string {
 29116  	return awsutil.Prettify(s)
 29117  }
 29118  
 29119  // GoString returns the string representation.
 29120  //
 29121  // API parameter values that are decorated as "sensitive" in the API will not
 29122  // be included in the string output. The member name will be present, but the
 29123  // value will be replaced with "sensitive".
 29124  func (s ListIAMPolicyAssignmentsInput) GoString() string {
 29125  	return s.String()
 29126  }
 29127  
 29128  // Validate inspects the fields of the type to determine if they are valid.
 29129  func (s *ListIAMPolicyAssignmentsInput) Validate() error {
 29130  	invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsInput"}
 29131  	if s.AwsAccountId == nil {
 29132  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 29133  	}
 29134  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 29135  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 29136  	}
 29137  	if s.MaxResults != nil && *s.MaxResults < 1 {
 29138  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 29139  	}
 29140  	if s.Namespace == nil {
 29141  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 29142  	}
 29143  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 29144  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 29145  	}
 29146  
 29147  	if invalidParams.Len() > 0 {
 29148  		return invalidParams
 29149  	}
 29150  	return nil
 29151  }
 29152  
 29153  // SetAssignmentStatus sets the AssignmentStatus field's value.
 29154  func (s *ListIAMPolicyAssignmentsInput) SetAssignmentStatus(v string) *ListIAMPolicyAssignmentsInput {
 29155  	s.AssignmentStatus = &v
 29156  	return s
 29157  }
 29158  
 29159  // SetAwsAccountId sets the AwsAccountId field's value.
 29160  func (s *ListIAMPolicyAssignmentsInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsInput {
 29161  	s.AwsAccountId = &v
 29162  	return s
 29163  }
 29164  
 29165  // SetMaxResults sets the MaxResults field's value.
 29166  func (s *ListIAMPolicyAssignmentsInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsInput {
 29167  	s.MaxResults = &v
 29168  	return s
 29169  }
 29170  
 29171  // SetNamespace sets the Namespace field's value.
 29172  func (s *ListIAMPolicyAssignmentsInput) SetNamespace(v string) *ListIAMPolicyAssignmentsInput {
 29173  	s.Namespace = &v
 29174  	return s
 29175  }
 29176  
 29177  // SetNextToken sets the NextToken field's value.
 29178  func (s *ListIAMPolicyAssignmentsInput) SetNextToken(v string) *ListIAMPolicyAssignmentsInput {
 29179  	s.NextToken = &v
 29180  	return s
 29181  }
 29182  
 29183  type ListIAMPolicyAssignmentsOutput struct {
 29184  	_ struct{} `type:"structure"`
 29185  
 29186  	// Information describing the IAMpolicy assignments.
 29187  	IAMPolicyAssignments []*IAMPolicyAssignmentSummary `type:"list"`
 29188  
 29189  	// The token for the next set of results, or null if there are no more results.
 29190  	NextToken *string `type:"string"`
 29191  
 29192  	// The Amazon Web Services request ID for this operation.
 29193  	RequestId *string `type:"string"`
 29194  
 29195  	// The HTTP status of the request.
 29196  	Status *int64 `location:"statusCode" type:"integer"`
 29197  }
 29198  
 29199  // String returns the string representation.
 29200  //
 29201  // API parameter values that are decorated as "sensitive" in the API will not
 29202  // be included in the string output. The member name will be present, but the
 29203  // value will be replaced with "sensitive".
 29204  func (s ListIAMPolicyAssignmentsOutput) String() string {
 29205  	return awsutil.Prettify(s)
 29206  }
 29207  
 29208  // GoString returns the string representation.
 29209  //
 29210  // API parameter values that are decorated as "sensitive" in the API will not
 29211  // be included in the string output. The member name will be present, but the
 29212  // value will be replaced with "sensitive".
 29213  func (s ListIAMPolicyAssignmentsOutput) GoString() string {
 29214  	return s.String()
 29215  }
 29216  
 29217  // SetIAMPolicyAssignments sets the IAMPolicyAssignments field's value.
 29218  func (s *ListIAMPolicyAssignmentsOutput) SetIAMPolicyAssignments(v []*IAMPolicyAssignmentSummary) *ListIAMPolicyAssignmentsOutput {
 29219  	s.IAMPolicyAssignments = v
 29220  	return s
 29221  }
 29222  
 29223  // SetNextToken sets the NextToken field's value.
 29224  func (s *ListIAMPolicyAssignmentsOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsOutput {
 29225  	s.NextToken = &v
 29226  	return s
 29227  }
 29228  
 29229  // SetRequestId sets the RequestId field's value.
 29230  func (s *ListIAMPolicyAssignmentsOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsOutput {
 29231  	s.RequestId = &v
 29232  	return s
 29233  }
 29234  
 29235  // SetStatus sets the Status field's value.
 29236  func (s *ListIAMPolicyAssignmentsOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsOutput {
 29237  	s.Status = &v
 29238  	return s
 29239  }
 29240  
 29241  type ListIngestionsInput struct {
 29242  	_ struct{} `type:"structure" nopayload:"true"`
 29243  
 29244  	// The Amazon Web Services account ID.
 29245  	//
 29246  	// AwsAccountId is a required field
 29247  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 29248  
 29249  	// The ID of the dataset used in the ingestion.
 29250  	//
 29251  	// DataSetId is a required field
 29252  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 29253  
 29254  	// The maximum number of results to be returned per request.
 29255  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 29256  
 29257  	// The token for the next set of results, or null if there are no more results.
 29258  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 29259  }
 29260  
 29261  // String returns the string representation.
 29262  //
 29263  // API parameter values that are decorated as "sensitive" in the API will not
 29264  // be included in the string output. The member name will be present, but the
 29265  // value will be replaced with "sensitive".
 29266  func (s ListIngestionsInput) String() string {
 29267  	return awsutil.Prettify(s)
 29268  }
 29269  
 29270  // GoString returns the string representation.
 29271  //
 29272  // API parameter values that are decorated as "sensitive" in the API will not
 29273  // be included in the string output. The member name will be present, but the
 29274  // value will be replaced with "sensitive".
 29275  func (s ListIngestionsInput) GoString() string {
 29276  	return s.String()
 29277  }
 29278  
 29279  // Validate inspects the fields of the type to determine if they are valid.
 29280  func (s *ListIngestionsInput) Validate() error {
 29281  	invalidParams := request.ErrInvalidParams{Context: "ListIngestionsInput"}
 29282  	if s.AwsAccountId == nil {
 29283  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 29284  	}
 29285  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 29286  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 29287  	}
 29288  	if s.DataSetId == nil {
 29289  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 29290  	}
 29291  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 29292  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 29293  	}
 29294  	if s.MaxResults != nil && *s.MaxResults < 1 {
 29295  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 29296  	}
 29297  
 29298  	if invalidParams.Len() > 0 {
 29299  		return invalidParams
 29300  	}
 29301  	return nil
 29302  }
 29303  
 29304  // SetAwsAccountId sets the AwsAccountId field's value.
 29305  func (s *ListIngestionsInput) SetAwsAccountId(v string) *ListIngestionsInput {
 29306  	s.AwsAccountId = &v
 29307  	return s
 29308  }
 29309  
 29310  // SetDataSetId sets the DataSetId field's value.
 29311  func (s *ListIngestionsInput) SetDataSetId(v string) *ListIngestionsInput {
 29312  	s.DataSetId = &v
 29313  	return s
 29314  }
 29315  
 29316  // SetMaxResults sets the MaxResults field's value.
 29317  func (s *ListIngestionsInput) SetMaxResults(v int64) *ListIngestionsInput {
 29318  	s.MaxResults = &v
 29319  	return s
 29320  }
 29321  
 29322  // SetNextToken sets the NextToken field's value.
 29323  func (s *ListIngestionsInput) SetNextToken(v string) *ListIngestionsInput {
 29324  	s.NextToken = &v
 29325  	return s
 29326  }
 29327  
 29328  type ListIngestionsOutput struct {
 29329  	_ struct{} `type:"structure"`
 29330  
 29331  	// A list of the ingestions.
 29332  	Ingestions []*Ingestion `type:"list"`
 29333  
 29334  	// The token for the next set of results, or null if there are no more results.
 29335  	NextToken *string `type:"string"`
 29336  
 29337  	// The Amazon Web Services request ID for this operation.
 29338  	RequestId *string `type:"string"`
 29339  
 29340  	// The HTTP status of the request.
 29341  	Status *int64 `location:"statusCode" type:"integer"`
 29342  }
 29343  
 29344  // String returns the string representation.
 29345  //
 29346  // API parameter values that are decorated as "sensitive" in the API will not
 29347  // be included in the string output. The member name will be present, but the
 29348  // value will be replaced with "sensitive".
 29349  func (s ListIngestionsOutput) String() string {
 29350  	return awsutil.Prettify(s)
 29351  }
 29352  
 29353  // GoString returns the string representation.
 29354  //
 29355  // API parameter values that are decorated as "sensitive" in the API will not
 29356  // be included in the string output. The member name will be present, but the
 29357  // value will be replaced with "sensitive".
 29358  func (s ListIngestionsOutput) GoString() string {
 29359  	return s.String()
 29360  }
 29361  
 29362  // SetIngestions sets the Ingestions field's value.
 29363  func (s *ListIngestionsOutput) SetIngestions(v []*Ingestion) *ListIngestionsOutput {
 29364  	s.Ingestions = v
 29365  	return s
 29366  }
 29367  
 29368  // SetNextToken sets the NextToken field's value.
 29369  func (s *ListIngestionsOutput) SetNextToken(v string) *ListIngestionsOutput {
 29370  	s.NextToken = &v
 29371  	return s
 29372  }
 29373  
 29374  // SetRequestId sets the RequestId field's value.
 29375  func (s *ListIngestionsOutput) SetRequestId(v string) *ListIngestionsOutput {
 29376  	s.RequestId = &v
 29377  	return s
 29378  }
 29379  
 29380  // SetStatus sets the Status field's value.
 29381  func (s *ListIngestionsOutput) SetStatus(v int64) *ListIngestionsOutput {
 29382  	s.Status = &v
 29383  	return s
 29384  }
 29385  
 29386  type ListNamespacesInput struct {
 29387  	_ struct{} `type:"structure" nopayload:"true"`
 29388  
 29389  	// The ID for the Amazon Web Services account that contains the Amazon QuickSight
 29390  	// namespaces that you want to list.
 29391  	//
 29392  	// AwsAccountId is a required field
 29393  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 29394  
 29395  	// The maximum number of results to return.
 29396  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 29397  
 29398  	// A pagination token that can be used in a subsequent request.
 29399  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 29400  }
 29401  
 29402  // String returns the string representation.
 29403  //
 29404  // API parameter values that are decorated as "sensitive" in the API will not
 29405  // be included in the string output. The member name will be present, but the
 29406  // value will be replaced with "sensitive".
 29407  func (s ListNamespacesInput) String() string {
 29408  	return awsutil.Prettify(s)
 29409  }
 29410  
 29411  // GoString returns the string representation.
 29412  //
 29413  // API parameter values that are decorated as "sensitive" in the API will not
 29414  // be included in the string output. The member name will be present, but the
 29415  // value will be replaced with "sensitive".
 29416  func (s ListNamespacesInput) GoString() string {
 29417  	return s.String()
 29418  }
 29419  
 29420  // Validate inspects the fields of the type to determine if they are valid.
 29421  func (s *ListNamespacesInput) Validate() error {
 29422  	invalidParams := request.ErrInvalidParams{Context: "ListNamespacesInput"}
 29423  	if s.AwsAccountId == nil {
 29424  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 29425  	}
 29426  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 29427  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 29428  	}
 29429  	if s.MaxResults != nil && *s.MaxResults < 1 {
 29430  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 29431  	}
 29432  
 29433  	if invalidParams.Len() > 0 {
 29434  		return invalidParams
 29435  	}
 29436  	return nil
 29437  }
 29438  
 29439  // SetAwsAccountId sets the AwsAccountId field's value.
 29440  func (s *ListNamespacesInput) SetAwsAccountId(v string) *ListNamespacesInput {
 29441  	s.AwsAccountId = &v
 29442  	return s
 29443  }
 29444  
 29445  // SetMaxResults sets the MaxResults field's value.
 29446  func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput {
 29447  	s.MaxResults = &v
 29448  	return s
 29449  }
 29450  
 29451  // SetNextToken sets the NextToken field's value.
 29452  func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput {
 29453  	s.NextToken = &v
 29454  	return s
 29455  }
 29456  
 29457  type ListNamespacesOutput struct {
 29458  	_ struct{} `type:"structure"`
 29459  
 29460  	// The information about the namespaces in this Amazon Web Services account.
 29461  	// The response includes the namespace ARN, name, Amazon Web Services Region;,
 29462  	// notification email address, creation status, and identity store.
 29463  	Namespaces []*NamespaceInfoV2 `type:"list"`
 29464  
 29465  	// A pagination token that can be used in a subsequent request.
 29466  	NextToken *string `type:"string"`
 29467  
 29468  	// The Amazon Web Services request ID for this operation.
 29469  	RequestId *string `type:"string"`
 29470  
 29471  	// The HTTP status of the request.
 29472  	Status *int64 `location:"statusCode" type:"integer"`
 29473  }
 29474  
 29475  // String returns the string representation.
 29476  //
 29477  // API parameter values that are decorated as "sensitive" in the API will not
 29478  // be included in the string output. The member name will be present, but the
 29479  // value will be replaced with "sensitive".
 29480  func (s ListNamespacesOutput) String() string {
 29481  	return awsutil.Prettify(s)
 29482  }
 29483  
 29484  // GoString returns the string representation.
 29485  //
 29486  // API parameter values that are decorated as "sensitive" in the API will not
 29487  // be included in the string output. The member name will be present, but the
 29488  // value will be replaced with "sensitive".
 29489  func (s ListNamespacesOutput) GoString() string {
 29490  	return s.String()
 29491  }
 29492  
 29493  // SetNamespaces sets the Namespaces field's value.
 29494  func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceInfoV2) *ListNamespacesOutput {
 29495  	s.Namespaces = v
 29496  	return s
 29497  }
 29498  
 29499  // SetNextToken sets the NextToken field's value.
 29500  func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput {
 29501  	s.NextToken = &v
 29502  	return s
 29503  }
 29504  
 29505  // SetRequestId sets the RequestId field's value.
 29506  func (s *ListNamespacesOutput) SetRequestId(v string) *ListNamespacesOutput {
 29507  	s.RequestId = &v
 29508  	return s
 29509  }
 29510  
 29511  // SetStatus sets the Status field's value.
 29512  func (s *ListNamespacesOutput) SetStatus(v int64) *ListNamespacesOutput {
 29513  	s.Status = &v
 29514  	return s
 29515  }
 29516  
 29517  type ListTagsForResourceInput struct {
 29518  	_ struct{} `type:"structure" nopayload:"true"`
 29519  
 29520  	// The Amazon Resource Name (ARN) of the resource that you want a list of tags
 29521  	// for.
 29522  	//
 29523  	// ResourceArn is a required field
 29524  	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
 29525  }
 29526  
 29527  // String returns the string representation.
 29528  //
 29529  // API parameter values that are decorated as "sensitive" in the API will not
 29530  // be included in the string output. The member name will be present, but the
 29531  // value will be replaced with "sensitive".
 29532  func (s ListTagsForResourceInput) String() string {
 29533  	return awsutil.Prettify(s)
 29534  }
 29535  
 29536  // GoString returns the string representation.
 29537  //
 29538  // API parameter values that are decorated as "sensitive" in the API will not
 29539  // be included in the string output. The member name will be present, but the
 29540  // value will be replaced with "sensitive".
 29541  func (s ListTagsForResourceInput) GoString() string {
 29542  	return s.String()
 29543  }
 29544  
 29545  // Validate inspects the fields of the type to determine if they are valid.
 29546  func (s *ListTagsForResourceInput) Validate() error {
 29547  	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
 29548  	if s.ResourceArn == nil {
 29549  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 29550  	}
 29551  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 29552  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 29553  	}
 29554  
 29555  	if invalidParams.Len() > 0 {
 29556  		return invalidParams
 29557  	}
 29558  	return nil
 29559  }
 29560  
 29561  // SetResourceArn sets the ResourceArn field's value.
 29562  func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
 29563  	s.ResourceArn = &v
 29564  	return s
 29565  }
 29566  
 29567  type ListTagsForResourceOutput struct {
 29568  	_ struct{} `type:"structure"`
 29569  
 29570  	// The Amazon Web Services request ID for this operation.
 29571  	RequestId *string `type:"string"`
 29572  
 29573  	// The HTTP status of the request.
 29574  	Status *int64 `location:"statusCode" type:"integer"`
 29575  
 29576  	// Contains a map of the key-value pairs for the resource tag or tags assigned
 29577  	// to the resource.
 29578  	Tags []*Tag `min:"1" type:"list"`
 29579  }
 29580  
 29581  // String returns the string representation.
 29582  //
 29583  // API parameter values that are decorated as "sensitive" in the API will not
 29584  // be included in the string output. The member name will be present, but the
 29585  // value will be replaced with "sensitive".
 29586  func (s ListTagsForResourceOutput) String() string {
 29587  	return awsutil.Prettify(s)
 29588  }
 29589  
 29590  // GoString returns the string representation.
 29591  //
 29592  // API parameter values that are decorated as "sensitive" in the API will not
 29593  // be included in the string output. The member name will be present, but the
 29594  // value will be replaced with "sensitive".
 29595  func (s ListTagsForResourceOutput) GoString() string {
 29596  	return s.String()
 29597  }
 29598  
 29599  // SetRequestId sets the RequestId field's value.
 29600  func (s *ListTagsForResourceOutput) SetRequestId(v string) *ListTagsForResourceOutput {
 29601  	s.RequestId = &v
 29602  	return s
 29603  }
 29604  
 29605  // SetStatus sets the Status field's value.
 29606  func (s *ListTagsForResourceOutput) SetStatus(v int64) *ListTagsForResourceOutput {
 29607  	s.Status = &v
 29608  	return s
 29609  }
 29610  
 29611  // SetTags sets the Tags field's value.
 29612  func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
 29613  	s.Tags = v
 29614  	return s
 29615  }
 29616  
 29617  type ListTemplateAliasesInput struct {
 29618  	_ struct{} `type:"structure" nopayload:"true"`
 29619  
 29620  	// The ID of the Amazon Web Services account that contains the template aliases
 29621  	// that you're listing.
 29622  	//
 29623  	// AwsAccountId is a required field
 29624  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 29625  
 29626  	// The maximum number of results to be returned per request.
 29627  	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
 29628  
 29629  	// The token for the next set of results, or null if there are no more results.
 29630  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 29631  
 29632  	// The ID for the template.
 29633  	//
 29634  	// TemplateId is a required field
 29635  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 29636  }
 29637  
 29638  // String returns the string representation.
 29639  //
 29640  // API parameter values that are decorated as "sensitive" in the API will not
 29641  // be included in the string output. The member name will be present, but the
 29642  // value will be replaced with "sensitive".
 29643  func (s ListTemplateAliasesInput) String() string {
 29644  	return awsutil.Prettify(s)
 29645  }
 29646  
 29647  // GoString returns the string representation.
 29648  //
 29649  // API parameter values that are decorated as "sensitive" in the API will not
 29650  // be included in the string output. The member name will be present, but the
 29651  // value will be replaced with "sensitive".
 29652  func (s ListTemplateAliasesInput) GoString() string {
 29653  	return s.String()
 29654  }
 29655  
 29656  // Validate inspects the fields of the type to determine if they are valid.
 29657  func (s *ListTemplateAliasesInput) Validate() error {
 29658  	invalidParams := request.ErrInvalidParams{Context: "ListTemplateAliasesInput"}
 29659  	if s.AwsAccountId == nil {
 29660  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 29661  	}
 29662  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 29663  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 29664  	}
 29665  	if s.MaxResults != nil && *s.MaxResults < 1 {
 29666  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 29667  	}
 29668  	if s.TemplateId == nil {
 29669  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 29670  	}
 29671  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 29672  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 29673  	}
 29674  
 29675  	if invalidParams.Len() > 0 {
 29676  		return invalidParams
 29677  	}
 29678  	return nil
 29679  }
 29680  
 29681  // SetAwsAccountId sets the AwsAccountId field's value.
 29682  func (s *ListTemplateAliasesInput) SetAwsAccountId(v string) *ListTemplateAliasesInput {
 29683  	s.AwsAccountId = &v
 29684  	return s
 29685  }
 29686  
 29687  // SetMaxResults sets the MaxResults field's value.
 29688  func (s *ListTemplateAliasesInput) SetMaxResults(v int64) *ListTemplateAliasesInput {
 29689  	s.MaxResults = &v
 29690  	return s
 29691  }
 29692  
 29693  // SetNextToken sets the NextToken field's value.
 29694  func (s *ListTemplateAliasesInput) SetNextToken(v string) *ListTemplateAliasesInput {
 29695  	s.NextToken = &v
 29696  	return s
 29697  }
 29698  
 29699  // SetTemplateId sets the TemplateId field's value.
 29700  func (s *ListTemplateAliasesInput) SetTemplateId(v string) *ListTemplateAliasesInput {
 29701  	s.TemplateId = &v
 29702  	return s
 29703  }
 29704  
 29705  type ListTemplateAliasesOutput struct {
 29706  	_ struct{} `type:"structure"`
 29707  
 29708  	// The token for the next set of results, or null if there are no more results.
 29709  	NextToken *string `type:"string"`
 29710  
 29711  	// The Amazon Web Services request ID for this operation.
 29712  	RequestId *string `type:"string"`
 29713  
 29714  	// The HTTP status of the request.
 29715  	Status *int64 `location:"statusCode" type:"integer"`
 29716  
 29717  	// A structure containing the list of the template's aliases.
 29718  	TemplateAliasList []*TemplateAlias `type:"list"`
 29719  }
 29720  
 29721  // String returns the string representation.
 29722  //
 29723  // API parameter values that are decorated as "sensitive" in the API will not
 29724  // be included in the string output. The member name will be present, but the
 29725  // value will be replaced with "sensitive".
 29726  func (s ListTemplateAliasesOutput) String() string {
 29727  	return awsutil.Prettify(s)
 29728  }
 29729  
 29730  // GoString returns the string representation.
 29731  //
 29732  // API parameter values that are decorated as "sensitive" in the API will not
 29733  // be included in the string output. The member name will be present, but the
 29734  // value will be replaced with "sensitive".
 29735  func (s ListTemplateAliasesOutput) GoString() string {
 29736  	return s.String()
 29737  }
 29738  
 29739  // SetNextToken sets the NextToken field's value.
 29740  func (s *ListTemplateAliasesOutput) SetNextToken(v string) *ListTemplateAliasesOutput {
 29741  	s.NextToken = &v
 29742  	return s
 29743  }
 29744  
 29745  // SetRequestId sets the RequestId field's value.
 29746  func (s *ListTemplateAliasesOutput) SetRequestId(v string) *ListTemplateAliasesOutput {
 29747  	s.RequestId = &v
 29748  	return s
 29749  }
 29750  
 29751  // SetStatus sets the Status field's value.
 29752  func (s *ListTemplateAliasesOutput) SetStatus(v int64) *ListTemplateAliasesOutput {
 29753  	s.Status = &v
 29754  	return s
 29755  }
 29756  
 29757  // SetTemplateAliasList sets the TemplateAliasList field's value.
 29758  func (s *ListTemplateAliasesOutput) SetTemplateAliasList(v []*TemplateAlias) *ListTemplateAliasesOutput {
 29759  	s.TemplateAliasList = v
 29760  	return s
 29761  }
 29762  
 29763  type ListTemplateVersionsInput struct {
 29764  	_ struct{} `type:"structure" nopayload:"true"`
 29765  
 29766  	// The ID of the Amazon Web Services account that contains the templates that
 29767  	// you're listing.
 29768  	//
 29769  	// AwsAccountId is a required field
 29770  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 29771  
 29772  	// The maximum number of results to be returned per request.
 29773  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 29774  
 29775  	// The token for the next set of results, or null if there are no more results.
 29776  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 29777  
 29778  	// The ID for the template.
 29779  	//
 29780  	// TemplateId is a required field
 29781  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 29782  }
 29783  
 29784  // String returns the string representation.
 29785  //
 29786  // API parameter values that are decorated as "sensitive" in the API will not
 29787  // be included in the string output. The member name will be present, but the
 29788  // value will be replaced with "sensitive".
 29789  func (s ListTemplateVersionsInput) String() string {
 29790  	return awsutil.Prettify(s)
 29791  }
 29792  
 29793  // GoString returns the string representation.
 29794  //
 29795  // API parameter values that are decorated as "sensitive" in the API will not
 29796  // be included in the string output. The member name will be present, but the
 29797  // value will be replaced with "sensitive".
 29798  func (s ListTemplateVersionsInput) GoString() string {
 29799  	return s.String()
 29800  }
 29801  
 29802  // Validate inspects the fields of the type to determine if they are valid.
 29803  func (s *ListTemplateVersionsInput) Validate() error {
 29804  	invalidParams := request.ErrInvalidParams{Context: "ListTemplateVersionsInput"}
 29805  	if s.AwsAccountId == nil {
 29806  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 29807  	}
 29808  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 29809  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 29810  	}
 29811  	if s.MaxResults != nil && *s.MaxResults < 1 {
 29812  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 29813  	}
 29814  	if s.TemplateId == nil {
 29815  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 29816  	}
 29817  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 29818  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 29819  	}
 29820  
 29821  	if invalidParams.Len() > 0 {
 29822  		return invalidParams
 29823  	}
 29824  	return nil
 29825  }
 29826  
 29827  // SetAwsAccountId sets the AwsAccountId field's value.
 29828  func (s *ListTemplateVersionsInput) SetAwsAccountId(v string) *ListTemplateVersionsInput {
 29829  	s.AwsAccountId = &v
 29830  	return s
 29831  }
 29832  
 29833  // SetMaxResults sets the MaxResults field's value.
 29834  func (s *ListTemplateVersionsInput) SetMaxResults(v int64) *ListTemplateVersionsInput {
 29835  	s.MaxResults = &v
 29836  	return s
 29837  }
 29838  
 29839  // SetNextToken sets the NextToken field's value.
 29840  func (s *ListTemplateVersionsInput) SetNextToken(v string) *ListTemplateVersionsInput {
 29841  	s.NextToken = &v
 29842  	return s
 29843  }
 29844  
 29845  // SetTemplateId sets the TemplateId field's value.
 29846  func (s *ListTemplateVersionsInput) SetTemplateId(v string) *ListTemplateVersionsInput {
 29847  	s.TemplateId = &v
 29848  	return s
 29849  }
 29850  
 29851  type ListTemplateVersionsOutput struct {
 29852  	_ struct{} `type:"structure"`
 29853  
 29854  	// The token for the next set of results, or null if there are no more results.
 29855  	NextToken *string `type:"string"`
 29856  
 29857  	// The Amazon Web Services request ID for this operation.
 29858  	RequestId *string `type:"string"`
 29859  
 29860  	// The HTTP status of the request.
 29861  	Status *int64 `location:"statusCode" type:"integer"`
 29862  
 29863  	// A structure containing a list of all the versions of the specified template.
 29864  	TemplateVersionSummaryList []*TemplateVersionSummary `type:"list"`
 29865  }
 29866  
 29867  // String returns the string representation.
 29868  //
 29869  // API parameter values that are decorated as "sensitive" in the API will not
 29870  // be included in the string output. The member name will be present, but the
 29871  // value will be replaced with "sensitive".
 29872  func (s ListTemplateVersionsOutput) String() string {
 29873  	return awsutil.Prettify(s)
 29874  }
 29875  
 29876  // GoString returns the string representation.
 29877  //
 29878  // API parameter values that are decorated as "sensitive" in the API will not
 29879  // be included in the string output. The member name will be present, but the
 29880  // value will be replaced with "sensitive".
 29881  func (s ListTemplateVersionsOutput) GoString() string {
 29882  	return s.String()
 29883  }
 29884  
 29885  // SetNextToken sets the NextToken field's value.
 29886  func (s *ListTemplateVersionsOutput) SetNextToken(v string) *ListTemplateVersionsOutput {
 29887  	s.NextToken = &v
 29888  	return s
 29889  }
 29890  
 29891  // SetRequestId sets the RequestId field's value.
 29892  func (s *ListTemplateVersionsOutput) SetRequestId(v string) *ListTemplateVersionsOutput {
 29893  	s.RequestId = &v
 29894  	return s
 29895  }
 29896  
 29897  // SetStatus sets the Status field's value.
 29898  func (s *ListTemplateVersionsOutput) SetStatus(v int64) *ListTemplateVersionsOutput {
 29899  	s.Status = &v
 29900  	return s
 29901  }
 29902  
 29903  // SetTemplateVersionSummaryList sets the TemplateVersionSummaryList field's value.
 29904  func (s *ListTemplateVersionsOutput) SetTemplateVersionSummaryList(v []*TemplateVersionSummary) *ListTemplateVersionsOutput {
 29905  	s.TemplateVersionSummaryList = v
 29906  	return s
 29907  }
 29908  
 29909  type ListTemplatesInput struct {
 29910  	_ struct{} `type:"structure" nopayload:"true"`
 29911  
 29912  	// The ID of the Amazon Web Services account that contains the templates that
 29913  	// you're listing.
 29914  	//
 29915  	// AwsAccountId is a required field
 29916  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 29917  
 29918  	// The maximum number of results to be returned per request.
 29919  	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
 29920  
 29921  	// The token for the next set of results, or null if there are no more results.
 29922  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 29923  }
 29924  
 29925  // String returns the string representation.
 29926  //
 29927  // API parameter values that are decorated as "sensitive" in the API will not
 29928  // be included in the string output. The member name will be present, but the
 29929  // value will be replaced with "sensitive".
 29930  func (s ListTemplatesInput) String() string {
 29931  	return awsutil.Prettify(s)
 29932  }
 29933  
 29934  // GoString returns the string representation.
 29935  //
 29936  // API parameter values that are decorated as "sensitive" in the API will not
 29937  // be included in the string output. The member name will be present, but the
 29938  // value will be replaced with "sensitive".
 29939  func (s ListTemplatesInput) GoString() string {
 29940  	return s.String()
 29941  }
 29942  
 29943  // Validate inspects the fields of the type to determine if they are valid.
 29944  func (s *ListTemplatesInput) Validate() error {
 29945  	invalidParams := request.ErrInvalidParams{Context: "ListTemplatesInput"}
 29946  	if s.AwsAccountId == nil {
 29947  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 29948  	}
 29949  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 29950  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 29951  	}
 29952  	if s.MaxResults != nil && *s.MaxResults < 1 {
 29953  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 29954  	}
 29955  
 29956  	if invalidParams.Len() > 0 {
 29957  		return invalidParams
 29958  	}
 29959  	return nil
 29960  }
 29961  
 29962  // SetAwsAccountId sets the AwsAccountId field's value.
 29963  func (s *ListTemplatesInput) SetAwsAccountId(v string) *ListTemplatesInput {
 29964  	s.AwsAccountId = &v
 29965  	return s
 29966  }
 29967  
 29968  // SetMaxResults sets the MaxResults field's value.
 29969  func (s *ListTemplatesInput) SetMaxResults(v int64) *ListTemplatesInput {
 29970  	s.MaxResults = &v
 29971  	return s
 29972  }
 29973  
 29974  // SetNextToken sets the NextToken field's value.
 29975  func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput {
 29976  	s.NextToken = &v
 29977  	return s
 29978  }
 29979  
 29980  type ListTemplatesOutput struct {
 29981  	_ struct{} `type:"structure"`
 29982  
 29983  	// The token for the next set of results, or null if there are no more results.
 29984  	NextToken *string `type:"string"`
 29985  
 29986  	// The Amazon Web Services request ID for this operation.
 29987  	RequestId *string `type:"string"`
 29988  
 29989  	// The HTTP status of the request.
 29990  	Status *int64 `location:"statusCode" type:"integer"`
 29991  
 29992  	// A structure containing information about the templates in the list.
 29993  	TemplateSummaryList []*TemplateSummary `type:"list"`
 29994  }
 29995  
 29996  // String returns the string representation.
 29997  //
 29998  // API parameter values that are decorated as "sensitive" in the API will not
 29999  // be included in the string output. The member name will be present, but the
 30000  // value will be replaced with "sensitive".
 30001  func (s ListTemplatesOutput) String() string {
 30002  	return awsutil.Prettify(s)
 30003  }
 30004  
 30005  // GoString returns the string representation.
 30006  //
 30007  // API parameter values that are decorated as "sensitive" in the API will not
 30008  // be included in the string output. The member name will be present, but the
 30009  // value will be replaced with "sensitive".
 30010  func (s ListTemplatesOutput) GoString() string {
 30011  	return s.String()
 30012  }
 30013  
 30014  // SetNextToken sets the NextToken field's value.
 30015  func (s *ListTemplatesOutput) SetNextToken(v string) *ListTemplatesOutput {
 30016  	s.NextToken = &v
 30017  	return s
 30018  }
 30019  
 30020  // SetRequestId sets the RequestId field's value.
 30021  func (s *ListTemplatesOutput) SetRequestId(v string) *ListTemplatesOutput {
 30022  	s.RequestId = &v
 30023  	return s
 30024  }
 30025  
 30026  // SetStatus sets the Status field's value.
 30027  func (s *ListTemplatesOutput) SetStatus(v int64) *ListTemplatesOutput {
 30028  	s.Status = &v
 30029  	return s
 30030  }
 30031  
 30032  // SetTemplateSummaryList sets the TemplateSummaryList field's value.
 30033  func (s *ListTemplatesOutput) SetTemplateSummaryList(v []*TemplateSummary) *ListTemplatesOutput {
 30034  	s.TemplateSummaryList = v
 30035  	return s
 30036  }
 30037  
 30038  type ListThemeAliasesInput struct {
 30039  	_ struct{} `type:"structure" nopayload:"true"`
 30040  
 30041  	// The ID of the Amazon Web Services account that contains the theme aliases
 30042  	// that you're listing.
 30043  	//
 30044  	// AwsAccountId is a required field
 30045  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 30046  
 30047  	// The maximum number of results to be returned per request.
 30048  	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
 30049  
 30050  	// The token for the next set of results, or null if there are no more results.
 30051  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 30052  
 30053  	// The ID for the theme.
 30054  	//
 30055  	// ThemeId is a required field
 30056  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 30057  }
 30058  
 30059  // String returns the string representation.
 30060  //
 30061  // API parameter values that are decorated as "sensitive" in the API will not
 30062  // be included in the string output. The member name will be present, but the
 30063  // value will be replaced with "sensitive".
 30064  func (s ListThemeAliasesInput) String() string {
 30065  	return awsutil.Prettify(s)
 30066  }
 30067  
 30068  // GoString returns the string representation.
 30069  //
 30070  // API parameter values that are decorated as "sensitive" in the API will not
 30071  // be included in the string output. The member name will be present, but the
 30072  // value will be replaced with "sensitive".
 30073  func (s ListThemeAliasesInput) GoString() string {
 30074  	return s.String()
 30075  }
 30076  
 30077  // Validate inspects the fields of the type to determine if they are valid.
 30078  func (s *ListThemeAliasesInput) Validate() error {
 30079  	invalidParams := request.ErrInvalidParams{Context: "ListThemeAliasesInput"}
 30080  	if s.AwsAccountId == nil {
 30081  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 30082  	}
 30083  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 30084  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 30085  	}
 30086  	if s.MaxResults != nil && *s.MaxResults < 1 {
 30087  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 30088  	}
 30089  	if s.ThemeId == nil {
 30090  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 30091  	}
 30092  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 30093  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 30094  	}
 30095  
 30096  	if invalidParams.Len() > 0 {
 30097  		return invalidParams
 30098  	}
 30099  	return nil
 30100  }
 30101  
 30102  // SetAwsAccountId sets the AwsAccountId field's value.
 30103  func (s *ListThemeAliasesInput) SetAwsAccountId(v string) *ListThemeAliasesInput {
 30104  	s.AwsAccountId = &v
 30105  	return s
 30106  }
 30107  
 30108  // SetMaxResults sets the MaxResults field's value.
 30109  func (s *ListThemeAliasesInput) SetMaxResults(v int64) *ListThemeAliasesInput {
 30110  	s.MaxResults = &v
 30111  	return s
 30112  }
 30113  
 30114  // SetNextToken sets the NextToken field's value.
 30115  func (s *ListThemeAliasesInput) SetNextToken(v string) *ListThemeAliasesInput {
 30116  	s.NextToken = &v
 30117  	return s
 30118  }
 30119  
 30120  // SetThemeId sets the ThemeId field's value.
 30121  func (s *ListThemeAliasesInput) SetThemeId(v string) *ListThemeAliasesInput {
 30122  	s.ThemeId = &v
 30123  	return s
 30124  }
 30125  
 30126  type ListThemeAliasesOutput struct {
 30127  	_ struct{} `type:"structure"`
 30128  
 30129  	// The token for the next set of results, or null if there are no more results.
 30130  	NextToken *string `type:"string"`
 30131  
 30132  	// The Amazon Web Services request ID for this operation.
 30133  	RequestId *string `type:"string"`
 30134  
 30135  	// The HTTP status of the request.
 30136  	Status *int64 `location:"statusCode" type:"integer"`
 30137  
 30138  	// A structure containing the list of the theme's aliases.
 30139  	ThemeAliasList []*ThemeAlias `type:"list"`
 30140  }
 30141  
 30142  // String returns the string representation.
 30143  //
 30144  // API parameter values that are decorated as "sensitive" in the API will not
 30145  // be included in the string output. The member name will be present, but the
 30146  // value will be replaced with "sensitive".
 30147  func (s ListThemeAliasesOutput) String() string {
 30148  	return awsutil.Prettify(s)
 30149  }
 30150  
 30151  // GoString returns the string representation.
 30152  //
 30153  // API parameter values that are decorated as "sensitive" in the API will not
 30154  // be included in the string output. The member name will be present, but the
 30155  // value will be replaced with "sensitive".
 30156  func (s ListThemeAliasesOutput) GoString() string {
 30157  	return s.String()
 30158  }
 30159  
 30160  // SetNextToken sets the NextToken field's value.
 30161  func (s *ListThemeAliasesOutput) SetNextToken(v string) *ListThemeAliasesOutput {
 30162  	s.NextToken = &v
 30163  	return s
 30164  }
 30165  
 30166  // SetRequestId sets the RequestId field's value.
 30167  func (s *ListThemeAliasesOutput) SetRequestId(v string) *ListThemeAliasesOutput {
 30168  	s.RequestId = &v
 30169  	return s
 30170  }
 30171  
 30172  // SetStatus sets the Status field's value.
 30173  func (s *ListThemeAliasesOutput) SetStatus(v int64) *ListThemeAliasesOutput {
 30174  	s.Status = &v
 30175  	return s
 30176  }
 30177  
 30178  // SetThemeAliasList sets the ThemeAliasList field's value.
 30179  func (s *ListThemeAliasesOutput) SetThemeAliasList(v []*ThemeAlias) *ListThemeAliasesOutput {
 30180  	s.ThemeAliasList = v
 30181  	return s
 30182  }
 30183  
 30184  type ListThemeVersionsInput struct {
 30185  	_ struct{} `type:"structure" nopayload:"true"`
 30186  
 30187  	// The ID of the Amazon Web Services account that contains the themes that you're
 30188  	// listing.
 30189  	//
 30190  	// AwsAccountId is a required field
 30191  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 30192  
 30193  	// The maximum number of results to be returned per request.
 30194  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 30195  
 30196  	// The token for the next set of results, or null if there are no more results.
 30197  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 30198  
 30199  	// The ID for the theme.
 30200  	//
 30201  	// ThemeId is a required field
 30202  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 30203  }
 30204  
 30205  // String returns the string representation.
 30206  //
 30207  // API parameter values that are decorated as "sensitive" in the API will not
 30208  // be included in the string output. The member name will be present, but the
 30209  // value will be replaced with "sensitive".
 30210  func (s ListThemeVersionsInput) String() string {
 30211  	return awsutil.Prettify(s)
 30212  }
 30213  
 30214  // GoString returns the string representation.
 30215  //
 30216  // API parameter values that are decorated as "sensitive" in the API will not
 30217  // be included in the string output. The member name will be present, but the
 30218  // value will be replaced with "sensitive".
 30219  func (s ListThemeVersionsInput) GoString() string {
 30220  	return s.String()
 30221  }
 30222  
 30223  // Validate inspects the fields of the type to determine if they are valid.
 30224  func (s *ListThemeVersionsInput) Validate() error {
 30225  	invalidParams := request.ErrInvalidParams{Context: "ListThemeVersionsInput"}
 30226  	if s.AwsAccountId == nil {
 30227  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 30228  	}
 30229  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 30230  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 30231  	}
 30232  	if s.MaxResults != nil && *s.MaxResults < 1 {
 30233  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 30234  	}
 30235  	if s.ThemeId == nil {
 30236  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 30237  	}
 30238  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 30239  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 30240  	}
 30241  
 30242  	if invalidParams.Len() > 0 {
 30243  		return invalidParams
 30244  	}
 30245  	return nil
 30246  }
 30247  
 30248  // SetAwsAccountId sets the AwsAccountId field's value.
 30249  func (s *ListThemeVersionsInput) SetAwsAccountId(v string) *ListThemeVersionsInput {
 30250  	s.AwsAccountId = &v
 30251  	return s
 30252  }
 30253  
 30254  // SetMaxResults sets the MaxResults field's value.
 30255  func (s *ListThemeVersionsInput) SetMaxResults(v int64) *ListThemeVersionsInput {
 30256  	s.MaxResults = &v
 30257  	return s
 30258  }
 30259  
 30260  // SetNextToken sets the NextToken field's value.
 30261  func (s *ListThemeVersionsInput) SetNextToken(v string) *ListThemeVersionsInput {
 30262  	s.NextToken = &v
 30263  	return s
 30264  }
 30265  
 30266  // SetThemeId sets the ThemeId field's value.
 30267  func (s *ListThemeVersionsInput) SetThemeId(v string) *ListThemeVersionsInput {
 30268  	s.ThemeId = &v
 30269  	return s
 30270  }
 30271  
 30272  type ListThemeVersionsOutput struct {
 30273  	_ struct{} `type:"structure"`
 30274  
 30275  	// The token for the next set of results, or null if there are no more results.
 30276  	NextToken *string `type:"string"`
 30277  
 30278  	// The Amazon Web Services request ID for this operation.
 30279  	RequestId *string `type:"string"`
 30280  
 30281  	// The HTTP status of the request.
 30282  	Status *int64 `location:"statusCode" type:"integer"`
 30283  
 30284  	// A structure containing a list of all the versions of the specified theme.
 30285  	ThemeVersionSummaryList []*ThemeVersionSummary `type:"list"`
 30286  }
 30287  
 30288  // String returns the string representation.
 30289  //
 30290  // API parameter values that are decorated as "sensitive" in the API will not
 30291  // be included in the string output. The member name will be present, but the
 30292  // value will be replaced with "sensitive".
 30293  func (s ListThemeVersionsOutput) String() string {
 30294  	return awsutil.Prettify(s)
 30295  }
 30296  
 30297  // GoString returns the string representation.
 30298  //
 30299  // API parameter values that are decorated as "sensitive" in the API will not
 30300  // be included in the string output. The member name will be present, but the
 30301  // value will be replaced with "sensitive".
 30302  func (s ListThemeVersionsOutput) GoString() string {
 30303  	return s.String()
 30304  }
 30305  
 30306  // SetNextToken sets the NextToken field's value.
 30307  func (s *ListThemeVersionsOutput) SetNextToken(v string) *ListThemeVersionsOutput {
 30308  	s.NextToken = &v
 30309  	return s
 30310  }
 30311  
 30312  // SetRequestId sets the RequestId field's value.
 30313  func (s *ListThemeVersionsOutput) SetRequestId(v string) *ListThemeVersionsOutput {
 30314  	s.RequestId = &v
 30315  	return s
 30316  }
 30317  
 30318  // SetStatus sets the Status field's value.
 30319  func (s *ListThemeVersionsOutput) SetStatus(v int64) *ListThemeVersionsOutput {
 30320  	s.Status = &v
 30321  	return s
 30322  }
 30323  
 30324  // SetThemeVersionSummaryList sets the ThemeVersionSummaryList field's value.
 30325  func (s *ListThemeVersionsOutput) SetThemeVersionSummaryList(v []*ThemeVersionSummary) *ListThemeVersionsOutput {
 30326  	s.ThemeVersionSummaryList = v
 30327  	return s
 30328  }
 30329  
 30330  type ListThemesInput struct {
 30331  	_ struct{} `type:"structure" nopayload:"true"`
 30332  
 30333  	// The ID of the Amazon Web Services account that contains the themes that you're
 30334  	// listing.
 30335  	//
 30336  	// AwsAccountId is a required field
 30337  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 30338  
 30339  	// The maximum number of results to be returned per request.
 30340  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 30341  
 30342  	// The token for the next set of results, or null if there are no more results.
 30343  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 30344  
 30345  	// The type of themes that you want to list. Valid options include the following:
 30346  	//
 30347  	//    * ALL (default)- Display all existing themes.
 30348  	//
 30349  	//    * CUSTOM - Display only the themes created by people using Amazon QuickSight.
 30350  	//
 30351  	//    * QUICKSIGHT - Display only the starting themes defined by Amazon QuickSight.
 30352  	Type *string `location:"querystring" locationName:"type" type:"string" enum:"ThemeType"`
 30353  }
 30354  
 30355  // String returns the string representation.
 30356  //
 30357  // API parameter values that are decorated as "sensitive" in the API will not
 30358  // be included in the string output. The member name will be present, but the
 30359  // value will be replaced with "sensitive".
 30360  func (s ListThemesInput) String() string {
 30361  	return awsutil.Prettify(s)
 30362  }
 30363  
 30364  // GoString returns the string representation.
 30365  //
 30366  // API parameter values that are decorated as "sensitive" in the API will not
 30367  // be included in the string output. The member name will be present, but the
 30368  // value will be replaced with "sensitive".
 30369  func (s ListThemesInput) GoString() string {
 30370  	return s.String()
 30371  }
 30372  
 30373  // Validate inspects the fields of the type to determine if they are valid.
 30374  func (s *ListThemesInput) Validate() error {
 30375  	invalidParams := request.ErrInvalidParams{Context: "ListThemesInput"}
 30376  	if s.AwsAccountId == nil {
 30377  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 30378  	}
 30379  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 30380  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 30381  	}
 30382  	if s.MaxResults != nil && *s.MaxResults < 1 {
 30383  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 30384  	}
 30385  
 30386  	if invalidParams.Len() > 0 {
 30387  		return invalidParams
 30388  	}
 30389  	return nil
 30390  }
 30391  
 30392  // SetAwsAccountId sets the AwsAccountId field's value.
 30393  func (s *ListThemesInput) SetAwsAccountId(v string) *ListThemesInput {
 30394  	s.AwsAccountId = &v
 30395  	return s
 30396  }
 30397  
 30398  // SetMaxResults sets the MaxResults field's value.
 30399  func (s *ListThemesInput) SetMaxResults(v int64) *ListThemesInput {
 30400  	s.MaxResults = &v
 30401  	return s
 30402  }
 30403  
 30404  // SetNextToken sets the NextToken field's value.
 30405  func (s *ListThemesInput) SetNextToken(v string) *ListThemesInput {
 30406  	s.NextToken = &v
 30407  	return s
 30408  }
 30409  
 30410  // SetType sets the Type field's value.
 30411  func (s *ListThemesInput) SetType(v string) *ListThemesInput {
 30412  	s.Type = &v
 30413  	return s
 30414  }
 30415  
 30416  type ListThemesOutput struct {
 30417  	_ struct{} `type:"structure"`
 30418  
 30419  	// The token for the next set of results, or null if there are no more results.
 30420  	NextToken *string `type:"string"`
 30421  
 30422  	// The Amazon Web Services request ID for this operation.
 30423  	RequestId *string `type:"string"`
 30424  
 30425  	// The HTTP status of the request.
 30426  	Status *int64 `location:"statusCode" type:"integer"`
 30427  
 30428  	// Information about the themes in the list.
 30429  	ThemeSummaryList []*ThemeSummary `type:"list"`
 30430  }
 30431  
 30432  // String returns the string representation.
 30433  //
 30434  // API parameter values that are decorated as "sensitive" in the API will not
 30435  // be included in the string output. The member name will be present, but the
 30436  // value will be replaced with "sensitive".
 30437  func (s ListThemesOutput) String() string {
 30438  	return awsutil.Prettify(s)
 30439  }
 30440  
 30441  // GoString returns the string representation.
 30442  //
 30443  // API parameter values that are decorated as "sensitive" in the API will not
 30444  // be included in the string output. The member name will be present, but the
 30445  // value will be replaced with "sensitive".
 30446  func (s ListThemesOutput) GoString() string {
 30447  	return s.String()
 30448  }
 30449  
 30450  // SetNextToken sets the NextToken field's value.
 30451  func (s *ListThemesOutput) SetNextToken(v string) *ListThemesOutput {
 30452  	s.NextToken = &v
 30453  	return s
 30454  }
 30455  
 30456  // SetRequestId sets the RequestId field's value.
 30457  func (s *ListThemesOutput) SetRequestId(v string) *ListThemesOutput {
 30458  	s.RequestId = &v
 30459  	return s
 30460  }
 30461  
 30462  // SetStatus sets the Status field's value.
 30463  func (s *ListThemesOutput) SetStatus(v int64) *ListThemesOutput {
 30464  	s.Status = &v
 30465  	return s
 30466  }
 30467  
 30468  // SetThemeSummaryList sets the ThemeSummaryList field's value.
 30469  func (s *ListThemesOutput) SetThemeSummaryList(v []*ThemeSummary) *ListThemesOutput {
 30470  	s.ThemeSummaryList = v
 30471  	return s
 30472  }
 30473  
 30474  type ListUserGroupsInput struct {
 30475  	_ struct{} `type:"structure" nopayload:"true"`
 30476  
 30477  	// The Amazon Web Services account ID that the user is in. Currently, you use
 30478  	// the ID for the Amazon Web Services account that contains your Amazon QuickSight
 30479  	// account.
 30480  	//
 30481  	// AwsAccountId is a required field
 30482  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 30483  
 30484  	// The maximum number of results to return from this request.
 30485  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 30486  
 30487  	// The namespace. Currently, you should set this to default.
 30488  	//
 30489  	// Namespace is a required field
 30490  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 30491  
 30492  	// A pagination token that can be used in a subsequent request.
 30493  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 30494  
 30495  	// The Amazon QuickSight user name that you want to list group memberships for.
 30496  	//
 30497  	// UserName is a required field
 30498  	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
 30499  }
 30500  
 30501  // String returns the string representation.
 30502  //
 30503  // API parameter values that are decorated as "sensitive" in the API will not
 30504  // be included in the string output. The member name will be present, but the
 30505  // value will be replaced with "sensitive".
 30506  func (s ListUserGroupsInput) String() string {
 30507  	return awsutil.Prettify(s)
 30508  }
 30509  
 30510  // GoString returns the string representation.
 30511  //
 30512  // API parameter values that are decorated as "sensitive" in the API will not
 30513  // be included in the string output. The member name will be present, but the
 30514  // value will be replaced with "sensitive".
 30515  func (s ListUserGroupsInput) GoString() string {
 30516  	return s.String()
 30517  }
 30518  
 30519  // Validate inspects the fields of the type to determine if they are valid.
 30520  func (s *ListUserGroupsInput) Validate() error {
 30521  	invalidParams := request.ErrInvalidParams{Context: "ListUserGroupsInput"}
 30522  	if s.AwsAccountId == nil {
 30523  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 30524  	}
 30525  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 30526  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 30527  	}
 30528  	if s.MaxResults != nil && *s.MaxResults < 1 {
 30529  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 30530  	}
 30531  	if s.Namespace == nil {
 30532  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 30533  	}
 30534  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 30535  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 30536  	}
 30537  	if s.UserName == nil {
 30538  		invalidParams.Add(request.NewErrParamRequired("UserName"))
 30539  	}
 30540  	if s.UserName != nil && len(*s.UserName) < 1 {
 30541  		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
 30542  	}
 30543  
 30544  	if invalidParams.Len() > 0 {
 30545  		return invalidParams
 30546  	}
 30547  	return nil
 30548  }
 30549  
 30550  // SetAwsAccountId sets the AwsAccountId field's value.
 30551  func (s *ListUserGroupsInput) SetAwsAccountId(v string) *ListUserGroupsInput {
 30552  	s.AwsAccountId = &v
 30553  	return s
 30554  }
 30555  
 30556  // SetMaxResults sets the MaxResults field's value.
 30557  func (s *ListUserGroupsInput) SetMaxResults(v int64) *ListUserGroupsInput {
 30558  	s.MaxResults = &v
 30559  	return s
 30560  }
 30561  
 30562  // SetNamespace sets the Namespace field's value.
 30563  func (s *ListUserGroupsInput) SetNamespace(v string) *ListUserGroupsInput {
 30564  	s.Namespace = &v
 30565  	return s
 30566  }
 30567  
 30568  // SetNextToken sets the NextToken field's value.
 30569  func (s *ListUserGroupsInput) SetNextToken(v string) *ListUserGroupsInput {
 30570  	s.NextToken = &v
 30571  	return s
 30572  }
 30573  
 30574  // SetUserName sets the UserName field's value.
 30575  func (s *ListUserGroupsInput) SetUserName(v string) *ListUserGroupsInput {
 30576  	s.UserName = &v
 30577  	return s
 30578  }
 30579  
 30580  type ListUserGroupsOutput struct {
 30581  	_ struct{} `type:"structure"`
 30582  
 30583  	// The list of groups the user is a member of.
 30584  	GroupList []*Group `type:"list"`
 30585  
 30586  	// A pagination token that can be used in a subsequent request.
 30587  	NextToken *string `type:"string"`
 30588  
 30589  	// The Amazon Web Services request ID for this operation.
 30590  	RequestId *string `type:"string"`
 30591  
 30592  	// The HTTP status of the request.
 30593  	Status *int64 `location:"statusCode" type:"integer"`
 30594  }
 30595  
 30596  // String returns the string representation.
 30597  //
 30598  // API parameter values that are decorated as "sensitive" in the API will not
 30599  // be included in the string output. The member name will be present, but the
 30600  // value will be replaced with "sensitive".
 30601  func (s ListUserGroupsOutput) String() string {
 30602  	return awsutil.Prettify(s)
 30603  }
 30604  
 30605  // GoString returns the string representation.
 30606  //
 30607  // API parameter values that are decorated as "sensitive" in the API will not
 30608  // be included in the string output. The member name will be present, but the
 30609  // value will be replaced with "sensitive".
 30610  func (s ListUserGroupsOutput) GoString() string {
 30611  	return s.String()
 30612  }
 30613  
 30614  // SetGroupList sets the GroupList field's value.
 30615  func (s *ListUserGroupsOutput) SetGroupList(v []*Group) *ListUserGroupsOutput {
 30616  	s.GroupList = v
 30617  	return s
 30618  }
 30619  
 30620  // SetNextToken sets the NextToken field's value.
 30621  func (s *ListUserGroupsOutput) SetNextToken(v string) *ListUserGroupsOutput {
 30622  	s.NextToken = &v
 30623  	return s
 30624  }
 30625  
 30626  // SetRequestId sets the RequestId field's value.
 30627  func (s *ListUserGroupsOutput) SetRequestId(v string) *ListUserGroupsOutput {
 30628  	s.RequestId = &v
 30629  	return s
 30630  }
 30631  
 30632  // SetStatus sets the Status field's value.
 30633  func (s *ListUserGroupsOutput) SetStatus(v int64) *ListUserGroupsOutput {
 30634  	s.Status = &v
 30635  	return s
 30636  }
 30637  
 30638  type ListUsersInput struct {
 30639  	_ struct{} `type:"structure" nopayload:"true"`
 30640  
 30641  	// The ID for the Amazon Web Services account that the user is in. Currently,
 30642  	// you use the ID for the Amazon Web Services account that contains your Amazon
 30643  	// QuickSight account.
 30644  	//
 30645  	// AwsAccountId is a required field
 30646  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 30647  
 30648  	// The maximum number of results to return from this request.
 30649  	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
 30650  
 30651  	// The namespace. Currently, you should set this to default.
 30652  	//
 30653  	// Namespace is a required field
 30654  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 30655  
 30656  	// A pagination token that can be used in a subsequent request.
 30657  	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
 30658  }
 30659  
 30660  // String returns the string representation.
 30661  //
 30662  // API parameter values that are decorated as "sensitive" in the API will not
 30663  // be included in the string output. The member name will be present, but the
 30664  // value will be replaced with "sensitive".
 30665  func (s ListUsersInput) String() string {
 30666  	return awsutil.Prettify(s)
 30667  }
 30668  
 30669  // GoString returns the string representation.
 30670  //
 30671  // API parameter values that are decorated as "sensitive" in the API will not
 30672  // be included in the string output. The member name will be present, but the
 30673  // value will be replaced with "sensitive".
 30674  func (s ListUsersInput) GoString() string {
 30675  	return s.String()
 30676  }
 30677  
 30678  // Validate inspects the fields of the type to determine if they are valid.
 30679  func (s *ListUsersInput) Validate() error {
 30680  	invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"}
 30681  	if s.AwsAccountId == nil {
 30682  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 30683  	}
 30684  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 30685  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 30686  	}
 30687  	if s.MaxResults != nil && *s.MaxResults < 1 {
 30688  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 30689  	}
 30690  	if s.Namespace == nil {
 30691  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 30692  	}
 30693  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 30694  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 30695  	}
 30696  
 30697  	if invalidParams.Len() > 0 {
 30698  		return invalidParams
 30699  	}
 30700  	return nil
 30701  }
 30702  
 30703  // SetAwsAccountId sets the AwsAccountId field's value.
 30704  func (s *ListUsersInput) SetAwsAccountId(v string) *ListUsersInput {
 30705  	s.AwsAccountId = &v
 30706  	return s
 30707  }
 30708  
 30709  // SetMaxResults sets the MaxResults field's value.
 30710  func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput {
 30711  	s.MaxResults = &v
 30712  	return s
 30713  }
 30714  
 30715  // SetNamespace sets the Namespace field's value.
 30716  func (s *ListUsersInput) SetNamespace(v string) *ListUsersInput {
 30717  	s.Namespace = &v
 30718  	return s
 30719  }
 30720  
 30721  // SetNextToken sets the NextToken field's value.
 30722  func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput {
 30723  	s.NextToken = &v
 30724  	return s
 30725  }
 30726  
 30727  type ListUsersOutput struct {
 30728  	_ struct{} `type:"structure"`
 30729  
 30730  	// A pagination token that can be used in a subsequent request.
 30731  	NextToken *string `type:"string"`
 30732  
 30733  	// The Amazon Web Services request ID for this operation.
 30734  	RequestId *string `type:"string"`
 30735  
 30736  	// The HTTP status of the request.
 30737  	Status *int64 `location:"statusCode" type:"integer"`
 30738  
 30739  	// The list of users.
 30740  	UserList []*User `type:"list"`
 30741  }
 30742  
 30743  // String returns the string representation.
 30744  //
 30745  // API parameter values that are decorated as "sensitive" in the API will not
 30746  // be included in the string output. The member name will be present, but the
 30747  // value will be replaced with "sensitive".
 30748  func (s ListUsersOutput) String() string {
 30749  	return awsutil.Prettify(s)
 30750  }
 30751  
 30752  // GoString returns the string representation.
 30753  //
 30754  // API parameter values that are decorated as "sensitive" in the API will not
 30755  // be included in the string output. The member name will be present, but the
 30756  // value will be replaced with "sensitive".
 30757  func (s ListUsersOutput) GoString() string {
 30758  	return s.String()
 30759  }
 30760  
 30761  // SetNextToken sets the NextToken field's value.
 30762  func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput {
 30763  	s.NextToken = &v
 30764  	return s
 30765  }
 30766  
 30767  // SetRequestId sets the RequestId field's value.
 30768  func (s *ListUsersOutput) SetRequestId(v string) *ListUsersOutput {
 30769  	s.RequestId = &v
 30770  	return s
 30771  }
 30772  
 30773  // SetStatus sets the Status field's value.
 30774  func (s *ListUsersOutput) SetStatus(v int64) *ListUsersOutput {
 30775  	s.Status = &v
 30776  	return s
 30777  }
 30778  
 30779  // SetUserList sets the UserList field's value.
 30780  func (s *ListUsersOutput) SetUserList(v []*User) *ListUsersOutput {
 30781  	s.UserList = v
 30782  	return s
 30783  }
 30784  
 30785  // A logical table is a unit that joins and that data transformations operate
 30786  // on. A logical table has a source, which can be either a physical table or
 30787  // result of a join. When a logical table points to a physical table, the logical
 30788  // table acts as a mutable copy of that physical table through transform operations.
 30789  type LogicalTable struct {
 30790  	_ struct{} `type:"structure"`
 30791  
 30792  	// A display name for the logical table.
 30793  	//
 30794  	// Alias is a required field
 30795  	Alias *string `min:"1" type:"string" required:"true"`
 30796  
 30797  	// Transform operations that act on this logical table.
 30798  	DataTransforms []*TransformOperation `min:"1" type:"list"`
 30799  
 30800  	// Source of this logical table.
 30801  	//
 30802  	// Source is a required field
 30803  	Source *LogicalTableSource `type:"structure" required:"true"`
 30804  }
 30805  
 30806  // String returns the string representation.
 30807  //
 30808  // API parameter values that are decorated as "sensitive" in the API will not
 30809  // be included in the string output. The member name will be present, but the
 30810  // value will be replaced with "sensitive".
 30811  func (s LogicalTable) String() string {
 30812  	return awsutil.Prettify(s)
 30813  }
 30814  
 30815  // GoString returns the string representation.
 30816  //
 30817  // API parameter values that are decorated as "sensitive" in the API will not
 30818  // be included in the string output. The member name will be present, but the
 30819  // value will be replaced with "sensitive".
 30820  func (s LogicalTable) GoString() string {
 30821  	return s.String()
 30822  }
 30823  
 30824  // Validate inspects the fields of the type to determine if they are valid.
 30825  func (s *LogicalTable) Validate() error {
 30826  	invalidParams := request.ErrInvalidParams{Context: "LogicalTable"}
 30827  	if s.Alias == nil {
 30828  		invalidParams.Add(request.NewErrParamRequired("Alias"))
 30829  	}
 30830  	if s.Alias != nil && len(*s.Alias) < 1 {
 30831  		invalidParams.Add(request.NewErrParamMinLen("Alias", 1))
 30832  	}
 30833  	if s.DataTransforms != nil && len(s.DataTransforms) < 1 {
 30834  		invalidParams.Add(request.NewErrParamMinLen("DataTransforms", 1))
 30835  	}
 30836  	if s.Source == nil {
 30837  		invalidParams.Add(request.NewErrParamRequired("Source"))
 30838  	}
 30839  	if s.DataTransforms != nil {
 30840  		for i, v := range s.DataTransforms {
 30841  			if v == nil {
 30842  				continue
 30843  			}
 30844  			if err := v.Validate(); err != nil {
 30845  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataTransforms", i), err.(request.ErrInvalidParams))
 30846  			}
 30847  		}
 30848  	}
 30849  	if s.Source != nil {
 30850  		if err := s.Source.Validate(); err != nil {
 30851  			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
 30852  		}
 30853  	}
 30854  
 30855  	if invalidParams.Len() > 0 {
 30856  		return invalidParams
 30857  	}
 30858  	return nil
 30859  }
 30860  
 30861  // SetAlias sets the Alias field's value.
 30862  func (s *LogicalTable) SetAlias(v string) *LogicalTable {
 30863  	s.Alias = &v
 30864  	return s
 30865  }
 30866  
 30867  // SetDataTransforms sets the DataTransforms field's value.
 30868  func (s *LogicalTable) SetDataTransforms(v []*TransformOperation) *LogicalTable {
 30869  	s.DataTransforms = v
 30870  	return s
 30871  }
 30872  
 30873  // SetSource sets the Source field's value.
 30874  func (s *LogicalTable) SetSource(v *LogicalTableSource) *LogicalTable {
 30875  	s.Source = v
 30876  	return s
 30877  }
 30878  
 30879  // Information about the source of a logical table. This is a variant type structure.
 30880  // For this structure to be valid, only one of the attributes can be non-null.
 30881  type LogicalTableSource struct {
 30882  	_ struct{} `type:"structure"`
 30883  
 30884  	// The Amazon Resource Number (ARN) of the parent dataset.
 30885  	DataSetArn *string `type:"string"`
 30886  
 30887  	// Specifies the result of a join of two logical tables.
 30888  	JoinInstruction *JoinInstruction `type:"structure"`
 30889  
 30890  	// Physical table ID.
 30891  	PhysicalTableId *string `min:"1" type:"string"`
 30892  }
 30893  
 30894  // String returns the string representation.
 30895  //
 30896  // API parameter values that are decorated as "sensitive" in the API will not
 30897  // be included in the string output. The member name will be present, but the
 30898  // value will be replaced with "sensitive".
 30899  func (s LogicalTableSource) String() string {
 30900  	return awsutil.Prettify(s)
 30901  }
 30902  
 30903  // GoString returns the string representation.
 30904  //
 30905  // API parameter values that are decorated as "sensitive" in the API will not
 30906  // be included in the string output. The member name will be present, but the
 30907  // value will be replaced with "sensitive".
 30908  func (s LogicalTableSource) GoString() string {
 30909  	return s.String()
 30910  }
 30911  
 30912  // Validate inspects the fields of the type to determine if they are valid.
 30913  func (s *LogicalTableSource) Validate() error {
 30914  	invalidParams := request.ErrInvalidParams{Context: "LogicalTableSource"}
 30915  	if s.PhysicalTableId != nil && len(*s.PhysicalTableId) < 1 {
 30916  		invalidParams.Add(request.NewErrParamMinLen("PhysicalTableId", 1))
 30917  	}
 30918  	if s.JoinInstruction != nil {
 30919  		if err := s.JoinInstruction.Validate(); err != nil {
 30920  			invalidParams.AddNested("JoinInstruction", err.(request.ErrInvalidParams))
 30921  		}
 30922  	}
 30923  
 30924  	if invalidParams.Len() > 0 {
 30925  		return invalidParams
 30926  	}
 30927  	return nil
 30928  }
 30929  
 30930  // SetDataSetArn sets the DataSetArn field's value.
 30931  func (s *LogicalTableSource) SetDataSetArn(v string) *LogicalTableSource {
 30932  	s.DataSetArn = &v
 30933  	return s
 30934  }
 30935  
 30936  // SetJoinInstruction sets the JoinInstruction field's value.
 30937  func (s *LogicalTableSource) SetJoinInstruction(v *JoinInstruction) *LogicalTableSource {
 30938  	s.JoinInstruction = v
 30939  	return s
 30940  }
 30941  
 30942  // SetPhysicalTableId sets the PhysicalTableId field's value.
 30943  func (s *LogicalTableSource) SetPhysicalTableId(v string) *LogicalTableSource {
 30944  	s.PhysicalTableId = &v
 30945  	return s
 30946  }
 30947  
 30948  // Amazon S3 manifest file location.
 30949  type ManifestFileLocation struct {
 30950  	_ struct{} `type:"structure"`
 30951  
 30952  	// Amazon S3 bucket.
 30953  	//
 30954  	// Bucket is a required field
 30955  	Bucket *string `min:"1" type:"string" required:"true"`
 30956  
 30957  	// Amazon S3 key that identifies an object.
 30958  	//
 30959  	// Key is a required field
 30960  	Key *string `min:"1" type:"string" required:"true"`
 30961  }
 30962  
 30963  // String returns the string representation.
 30964  //
 30965  // API parameter values that are decorated as "sensitive" in the API will not
 30966  // be included in the string output. The member name will be present, but the
 30967  // value will be replaced with "sensitive".
 30968  func (s ManifestFileLocation) String() string {
 30969  	return awsutil.Prettify(s)
 30970  }
 30971  
 30972  // GoString returns the string representation.
 30973  //
 30974  // API parameter values that are decorated as "sensitive" in the API will not
 30975  // be included in the string output. The member name will be present, but the
 30976  // value will be replaced with "sensitive".
 30977  func (s ManifestFileLocation) GoString() string {
 30978  	return s.String()
 30979  }
 30980  
 30981  // Validate inspects the fields of the type to determine if they are valid.
 30982  func (s *ManifestFileLocation) Validate() error {
 30983  	invalidParams := request.ErrInvalidParams{Context: "ManifestFileLocation"}
 30984  	if s.Bucket == nil {
 30985  		invalidParams.Add(request.NewErrParamRequired("Bucket"))
 30986  	}
 30987  	if s.Bucket != nil && len(*s.Bucket) < 1 {
 30988  		invalidParams.Add(request.NewErrParamMinLen("Bucket", 1))
 30989  	}
 30990  	if s.Key == nil {
 30991  		invalidParams.Add(request.NewErrParamRequired("Key"))
 30992  	}
 30993  	if s.Key != nil && len(*s.Key) < 1 {
 30994  		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
 30995  	}
 30996  
 30997  	if invalidParams.Len() > 0 {
 30998  		return invalidParams
 30999  	}
 31000  	return nil
 31001  }
 31002  
 31003  // SetBucket sets the Bucket field's value.
 31004  func (s *ManifestFileLocation) SetBucket(v string) *ManifestFileLocation {
 31005  	s.Bucket = &v
 31006  	return s
 31007  }
 31008  
 31009  // SetKey sets the Key field's value.
 31010  func (s *ManifestFileLocation) SetKey(v string) *ManifestFileLocation {
 31011  	s.Key = &v
 31012  	return s
 31013  }
 31014  
 31015  // The display options for margins around the outside edge of sheets.
 31016  type MarginStyle struct {
 31017  	_ struct{} `type:"structure"`
 31018  
 31019  	// This Boolean value controls whether to display sheet margins.
 31020  	Show *bool `type:"boolean"`
 31021  }
 31022  
 31023  // String returns the string representation.
 31024  //
 31025  // API parameter values that are decorated as "sensitive" in the API will not
 31026  // be included in the string output. The member name will be present, but the
 31027  // value will be replaced with "sensitive".
 31028  func (s MarginStyle) String() string {
 31029  	return awsutil.Prettify(s)
 31030  }
 31031  
 31032  // GoString returns the string representation.
 31033  //
 31034  // API parameter values that are decorated as "sensitive" in the API will not
 31035  // be included in the string output. The member name will be present, but the
 31036  // value will be replaced with "sensitive".
 31037  func (s MarginStyle) GoString() string {
 31038  	return s.String()
 31039  }
 31040  
 31041  // SetShow sets the Show field's value.
 31042  func (s *MarginStyle) SetShow(v bool) *MarginStyle {
 31043  	s.Show = &v
 31044  	return s
 31045  }
 31046  
 31047  // The parameters for MariaDB.
 31048  type MariaDbParameters struct {
 31049  	_ struct{} `type:"structure"`
 31050  
 31051  	// Database.
 31052  	//
 31053  	// Database is a required field
 31054  	Database *string `min:"1" type:"string" required:"true"`
 31055  
 31056  	// Host.
 31057  	//
 31058  	// Host is a required field
 31059  	Host *string `min:"1" type:"string" required:"true"`
 31060  
 31061  	// Port.
 31062  	//
 31063  	// Port is a required field
 31064  	Port *int64 `min:"1" type:"integer" required:"true"`
 31065  }
 31066  
 31067  // String returns the string representation.
 31068  //
 31069  // API parameter values that are decorated as "sensitive" in the API will not
 31070  // be included in the string output. The member name will be present, but the
 31071  // value will be replaced with "sensitive".
 31072  func (s MariaDbParameters) String() string {
 31073  	return awsutil.Prettify(s)
 31074  }
 31075  
 31076  // GoString returns the string representation.
 31077  //
 31078  // API parameter values that are decorated as "sensitive" in the API will not
 31079  // be included in the string output. The member name will be present, but the
 31080  // value will be replaced with "sensitive".
 31081  func (s MariaDbParameters) GoString() string {
 31082  	return s.String()
 31083  }
 31084  
 31085  // Validate inspects the fields of the type to determine if they are valid.
 31086  func (s *MariaDbParameters) Validate() error {
 31087  	invalidParams := request.ErrInvalidParams{Context: "MariaDbParameters"}
 31088  	if s.Database == nil {
 31089  		invalidParams.Add(request.NewErrParamRequired("Database"))
 31090  	}
 31091  	if s.Database != nil && len(*s.Database) < 1 {
 31092  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 31093  	}
 31094  	if s.Host == nil {
 31095  		invalidParams.Add(request.NewErrParamRequired("Host"))
 31096  	}
 31097  	if s.Host != nil && len(*s.Host) < 1 {
 31098  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 31099  	}
 31100  	if s.Port == nil {
 31101  		invalidParams.Add(request.NewErrParamRequired("Port"))
 31102  	}
 31103  	if s.Port != nil && *s.Port < 1 {
 31104  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 31105  	}
 31106  
 31107  	if invalidParams.Len() > 0 {
 31108  		return invalidParams
 31109  	}
 31110  	return nil
 31111  }
 31112  
 31113  // SetDatabase sets the Database field's value.
 31114  func (s *MariaDbParameters) SetDatabase(v string) *MariaDbParameters {
 31115  	s.Database = &v
 31116  	return s
 31117  }
 31118  
 31119  // SetHost sets the Host field's value.
 31120  func (s *MariaDbParameters) SetHost(v string) *MariaDbParameters {
 31121  	s.Host = &v
 31122  	return s
 31123  }
 31124  
 31125  // SetPort sets the Port field's value.
 31126  func (s *MariaDbParameters) SetPort(v int64) *MariaDbParameters {
 31127  	s.Port = &v
 31128  	return s
 31129  }
 31130  
 31131  // An object that consists of the member Amazon Resource Name (ARN) and member
 31132  // ID.
 31133  type MemberIdArnPair struct {
 31134  	_ struct{} `type:"structure"`
 31135  
 31136  	// The Amazon Resource Name (ARN) of the member.
 31137  	MemberArn *string `type:"string"`
 31138  
 31139  	// The ID of the member.
 31140  	MemberId *string `min:"1" type:"string"`
 31141  }
 31142  
 31143  // String returns the string representation.
 31144  //
 31145  // API parameter values that are decorated as "sensitive" in the API will not
 31146  // be included in the string output. The member name will be present, but the
 31147  // value will be replaced with "sensitive".
 31148  func (s MemberIdArnPair) String() string {
 31149  	return awsutil.Prettify(s)
 31150  }
 31151  
 31152  // GoString returns the string representation.
 31153  //
 31154  // API parameter values that are decorated as "sensitive" in the API will not
 31155  // be included in the string output. The member name will be present, but the
 31156  // value will be replaced with "sensitive".
 31157  func (s MemberIdArnPair) GoString() string {
 31158  	return s.String()
 31159  }
 31160  
 31161  // SetMemberArn sets the MemberArn field's value.
 31162  func (s *MemberIdArnPair) SetMemberArn(v string) *MemberIdArnPair {
 31163  	s.MemberArn = &v
 31164  	return s
 31165  }
 31166  
 31167  // SetMemberId sets the MemberId field's value.
 31168  func (s *MemberIdArnPair) SetMemberId(v string) *MemberIdArnPair {
 31169  	s.MemberId = &v
 31170  	return s
 31171  }
 31172  
 31173  // The parameters for MySQL.
 31174  type MySqlParameters struct {
 31175  	_ struct{} `type:"structure"`
 31176  
 31177  	// Database.
 31178  	//
 31179  	// Database is a required field
 31180  	Database *string `min:"1" type:"string" required:"true"`
 31181  
 31182  	// Host.
 31183  	//
 31184  	// Host is a required field
 31185  	Host *string `min:"1" type:"string" required:"true"`
 31186  
 31187  	// Port.
 31188  	//
 31189  	// Port is a required field
 31190  	Port *int64 `min:"1" type:"integer" required:"true"`
 31191  }
 31192  
 31193  // String returns the string representation.
 31194  //
 31195  // API parameter values that are decorated as "sensitive" in the API will not
 31196  // be included in the string output. The member name will be present, but the
 31197  // value will be replaced with "sensitive".
 31198  func (s MySqlParameters) String() string {
 31199  	return awsutil.Prettify(s)
 31200  }
 31201  
 31202  // GoString returns the string representation.
 31203  //
 31204  // API parameter values that are decorated as "sensitive" in the API will not
 31205  // be included in the string output. The member name will be present, but the
 31206  // value will be replaced with "sensitive".
 31207  func (s MySqlParameters) GoString() string {
 31208  	return s.String()
 31209  }
 31210  
 31211  // Validate inspects the fields of the type to determine if they are valid.
 31212  func (s *MySqlParameters) Validate() error {
 31213  	invalidParams := request.ErrInvalidParams{Context: "MySqlParameters"}
 31214  	if s.Database == nil {
 31215  		invalidParams.Add(request.NewErrParamRequired("Database"))
 31216  	}
 31217  	if s.Database != nil && len(*s.Database) < 1 {
 31218  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 31219  	}
 31220  	if s.Host == nil {
 31221  		invalidParams.Add(request.NewErrParamRequired("Host"))
 31222  	}
 31223  	if s.Host != nil && len(*s.Host) < 1 {
 31224  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 31225  	}
 31226  	if s.Port == nil {
 31227  		invalidParams.Add(request.NewErrParamRequired("Port"))
 31228  	}
 31229  	if s.Port != nil && *s.Port < 1 {
 31230  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 31231  	}
 31232  
 31233  	if invalidParams.Len() > 0 {
 31234  		return invalidParams
 31235  	}
 31236  	return nil
 31237  }
 31238  
 31239  // SetDatabase sets the Database field's value.
 31240  func (s *MySqlParameters) SetDatabase(v string) *MySqlParameters {
 31241  	s.Database = &v
 31242  	return s
 31243  }
 31244  
 31245  // SetHost sets the Host field's value.
 31246  func (s *MySqlParameters) SetHost(v string) *MySqlParameters {
 31247  	s.Host = &v
 31248  	return s
 31249  }
 31250  
 31251  // SetPort sets the Port field's value.
 31252  func (s *MySqlParameters) SetPort(v int64) *MySqlParameters {
 31253  	s.Port = &v
 31254  	return s
 31255  }
 31256  
 31257  // Errors that occur during namespace creation.
 31258  type NamespaceError struct {
 31259  	_ struct{} `type:"structure"`
 31260  
 31261  	// The message for the error.
 31262  	Message *string `type:"string"`
 31263  
 31264  	// The error type.
 31265  	Type *string `type:"string" enum:"NamespaceErrorType"`
 31266  }
 31267  
 31268  // String returns the string representation.
 31269  //
 31270  // API parameter values that are decorated as "sensitive" in the API will not
 31271  // be included in the string output. The member name will be present, but the
 31272  // value will be replaced with "sensitive".
 31273  func (s NamespaceError) String() string {
 31274  	return awsutil.Prettify(s)
 31275  }
 31276  
 31277  // GoString returns the string representation.
 31278  //
 31279  // API parameter values that are decorated as "sensitive" in the API will not
 31280  // be included in the string output. The member name will be present, but the
 31281  // value will be replaced with "sensitive".
 31282  func (s NamespaceError) GoString() string {
 31283  	return s.String()
 31284  }
 31285  
 31286  // SetMessage sets the Message field's value.
 31287  func (s *NamespaceError) SetMessage(v string) *NamespaceError {
 31288  	s.Message = &v
 31289  	return s
 31290  }
 31291  
 31292  // SetType sets the Type field's value.
 31293  func (s *NamespaceError) SetType(v string) *NamespaceError {
 31294  	s.Type = &v
 31295  	return s
 31296  }
 31297  
 31298  // The error type.
 31299  type NamespaceInfoV2 struct {
 31300  	_ struct{} `type:"structure"`
 31301  
 31302  	// The namespace ARN.
 31303  	Arn *string `type:"string"`
 31304  
 31305  	// The namespace Amazon Web Services Region;.
 31306  	CapacityRegion *string `type:"string"`
 31307  
 31308  	// The creation status of a namespace that is not yet completely created.
 31309  	CreationStatus *string `type:"string" enum:"NamespaceStatus"`
 31310  
 31311  	// The identity store used for the namespace.
 31312  	IdentityStore *string `type:"string" enum:"IdentityStore"`
 31313  
 31314  	// The name of the error.
 31315  	Name *string `type:"string"`
 31316  
 31317  	// An error that occurred when the namespace was created.
 31318  	NamespaceError *NamespaceError `type:"structure"`
 31319  }
 31320  
 31321  // String returns the string representation.
 31322  //
 31323  // API parameter values that are decorated as "sensitive" in the API will not
 31324  // be included in the string output. The member name will be present, but the
 31325  // value will be replaced with "sensitive".
 31326  func (s NamespaceInfoV2) String() string {
 31327  	return awsutil.Prettify(s)
 31328  }
 31329  
 31330  // GoString returns the string representation.
 31331  //
 31332  // API parameter values that are decorated as "sensitive" in the API will not
 31333  // be included in the string output. The member name will be present, but the
 31334  // value will be replaced with "sensitive".
 31335  func (s NamespaceInfoV2) GoString() string {
 31336  	return s.String()
 31337  }
 31338  
 31339  // SetArn sets the Arn field's value.
 31340  func (s *NamespaceInfoV2) SetArn(v string) *NamespaceInfoV2 {
 31341  	s.Arn = &v
 31342  	return s
 31343  }
 31344  
 31345  // SetCapacityRegion sets the CapacityRegion field's value.
 31346  func (s *NamespaceInfoV2) SetCapacityRegion(v string) *NamespaceInfoV2 {
 31347  	s.CapacityRegion = &v
 31348  	return s
 31349  }
 31350  
 31351  // SetCreationStatus sets the CreationStatus field's value.
 31352  func (s *NamespaceInfoV2) SetCreationStatus(v string) *NamespaceInfoV2 {
 31353  	s.CreationStatus = &v
 31354  	return s
 31355  }
 31356  
 31357  // SetIdentityStore sets the IdentityStore field's value.
 31358  func (s *NamespaceInfoV2) SetIdentityStore(v string) *NamespaceInfoV2 {
 31359  	s.IdentityStore = &v
 31360  	return s
 31361  }
 31362  
 31363  // SetName sets the Name field's value.
 31364  func (s *NamespaceInfoV2) SetName(v string) *NamespaceInfoV2 {
 31365  	s.Name = &v
 31366  	return s
 31367  }
 31368  
 31369  // SetNamespaceError sets the NamespaceError field's value.
 31370  func (s *NamespaceInfoV2) SetNamespaceError(v *NamespaceError) *NamespaceInfoV2 {
 31371  	s.NamespaceError = v
 31372  	return s
 31373  }
 31374  
 31375  // The parameters for Oracle.
 31376  type OracleParameters struct {
 31377  	_ struct{} `type:"structure"`
 31378  
 31379  	// Database.
 31380  	//
 31381  	// Database is a required field
 31382  	Database *string `min:"1" type:"string" required:"true"`
 31383  
 31384  	// An Oracle host.
 31385  	//
 31386  	// Host is a required field
 31387  	Host *string `min:"1" type:"string" required:"true"`
 31388  
 31389  	// Port.
 31390  	//
 31391  	// Port is a required field
 31392  	Port *int64 `min:"1" type:"integer" required:"true"`
 31393  }
 31394  
 31395  // String returns the string representation.
 31396  //
 31397  // API parameter values that are decorated as "sensitive" in the API will not
 31398  // be included in the string output. The member name will be present, but the
 31399  // value will be replaced with "sensitive".
 31400  func (s OracleParameters) String() string {
 31401  	return awsutil.Prettify(s)
 31402  }
 31403  
 31404  // GoString returns the string representation.
 31405  //
 31406  // API parameter values that are decorated as "sensitive" in the API will not
 31407  // be included in the string output. The member name will be present, but the
 31408  // value will be replaced with "sensitive".
 31409  func (s OracleParameters) GoString() string {
 31410  	return s.String()
 31411  }
 31412  
 31413  // Validate inspects the fields of the type to determine if they are valid.
 31414  func (s *OracleParameters) Validate() error {
 31415  	invalidParams := request.ErrInvalidParams{Context: "OracleParameters"}
 31416  	if s.Database == nil {
 31417  		invalidParams.Add(request.NewErrParamRequired("Database"))
 31418  	}
 31419  	if s.Database != nil && len(*s.Database) < 1 {
 31420  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 31421  	}
 31422  	if s.Host == nil {
 31423  		invalidParams.Add(request.NewErrParamRequired("Host"))
 31424  	}
 31425  	if s.Host != nil && len(*s.Host) < 1 {
 31426  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 31427  	}
 31428  	if s.Port == nil {
 31429  		invalidParams.Add(request.NewErrParamRequired("Port"))
 31430  	}
 31431  	if s.Port != nil && *s.Port < 1 {
 31432  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 31433  	}
 31434  
 31435  	if invalidParams.Len() > 0 {
 31436  		return invalidParams
 31437  	}
 31438  	return nil
 31439  }
 31440  
 31441  // SetDatabase sets the Database field's value.
 31442  func (s *OracleParameters) SetDatabase(v string) *OracleParameters {
 31443  	s.Database = &v
 31444  	return s
 31445  }
 31446  
 31447  // SetHost sets the Host field's value.
 31448  func (s *OracleParameters) SetHost(v string) *OracleParameters {
 31449  	s.Host = &v
 31450  	return s
 31451  }
 31452  
 31453  // SetPort sets the Port field's value.
 31454  func (s *OracleParameters) SetPort(v int64) *OracleParameters {
 31455  	s.Port = &v
 31456  	return s
 31457  }
 31458  
 31459  // Output column.
 31460  type OutputColumn struct {
 31461  	_ struct{} `type:"structure"`
 31462  
 31463  	// A description for a column.
 31464  	Description *string `type:"string"`
 31465  
 31466  	// A display name for the dataset.
 31467  	Name *string `min:"1" type:"string"`
 31468  
 31469  	// Type.
 31470  	Type *string `type:"string" enum:"ColumnDataType"`
 31471  }
 31472  
 31473  // String returns the string representation.
 31474  //
 31475  // API parameter values that are decorated as "sensitive" in the API will not
 31476  // be included in the string output. The member name will be present, but the
 31477  // value will be replaced with "sensitive".
 31478  func (s OutputColumn) String() string {
 31479  	return awsutil.Prettify(s)
 31480  }
 31481  
 31482  // GoString returns the string representation.
 31483  //
 31484  // API parameter values that are decorated as "sensitive" in the API will not
 31485  // be included in the string output. The member name will be present, but the
 31486  // value will be replaced with "sensitive".
 31487  func (s OutputColumn) GoString() string {
 31488  	return s.String()
 31489  }
 31490  
 31491  // SetDescription sets the Description field's value.
 31492  func (s *OutputColumn) SetDescription(v string) *OutputColumn {
 31493  	s.Description = &v
 31494  	return s
 31495  }
 31496  
 31497  // SetName sets the Name field's value.
 31498  func (s *OutputColumn) SetName(v string) *OutputColumn {
 31499  	s.Name = &v
 31500  	return s
 31501  }
 31502  
 31503  // SetType sets the Type field's value.
 31504  func (s *OutputColumn) SetType(v string) *OutputColumn {
 31505  	s.Type = &v
 31506  	return s
 31507  }
 31508  
 31509  // A list of Amazon QuickSight parameters and the list's override values.
 31510  type Parameters struct {
 31511  	_ struct{} `type:"structure"`
 31512  
 31513  	// The parameters that have a data type of date-time.
 31514  	DateTimeParameters []*DateTimeParameter `type:"list"`
 31515  
 31516  	// The parameters that have a data type of decimal.
 31517  	DecimalParameters []*DecimalParameter `type:"list"`
 31518  
 31519  	// The parameters that have a data type of integer.
 31520  	IntegerParameters []*IntegerParameter `type:"list"`
 31521  
 31522  	// The parameters that have a data type of string.
 31523  	StringParameters []*StringParameter `type:"list"`
 31524  }
 31525  
 31526  // String returns the string representation.
 31527  //
 31528  // API parameter values that are decorated as "sensitive" in the API will not
 31529  // be included in the string output. The member name will be present, but the
 31530  // value will be replaced with "sensitive".
 31531  func (s Parameters) String() string {
 31532  	return awsutil.Prettify(s)
 31533  }
 31534  
 31535  // GoString returns the string representation.
 31536  //
 31537  // API parameter values that are decorated as "sensitive" in the API will not
 31538  // be included in the string output. The member name will be present, but the
 31539  // value will be replaced with "sensitive".
 31540  func (s Parameters) GoString() string {
 31541  	return s.String()
 31542  }
 31543  
 31544  // Validate inspects the fields of the type to determine if they are valid.
 31545  func (s *Parameters) Validate() error {
 31546  	invalidParams := request.ErrInvalidParams{Context: "Parameters"}
 31547  	if s.DateTimeParameters != nil {
 31548  		for i, v := range s.DateTimeParameters {
 31549  			if v == nil {
 31550  				continue
 31551  			}
 31552  			if err := v.Validate(); err != nil {
 31553  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DateTimeParameters", i), err.(request.ErrInvalidParams))
 31554  			}
 31555  		}
 31556  	}
 31557  	if s.DecimalParameters != nil {
 31558  		for i, v := range s.DecimalParameters {
 31559  			if v == nil {
 31560  				continue
 31561  			}
 31562  			if err := v.Validate(); err != nil {
 31563  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DecimalParameters", i), err.(request.ErrInvalidParams))
 31564  			}
 31565  		}
 31566  	}
 31567  	if s.IntegerParameters != nil {
 31568  		for i, v := range s.IntegerParameters {
 31569  			if v == nil {
 31570  				continue
 31571  			}
 31572  			if err := v.Validate(); err != nil {
 31573  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameters", i), err.(request.ErrInvalidParams))
 31574  			}
 31575  		}
 31576  	}
 31577  	if s.StringParameters != nil {
 31578  		for i, v := range s.StringParameters {
 31579  			if v == nil {
 31580  				continue
 31581  			}
 31582  			if err := v.Validate(); err != nil {
 31583  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StringParameters", i), err.(request.ErrInvalidParams))
 31584  			}
 31585  		}
 31586  	}
 31587  
 31588  	if invalidParams.Len() > 0 {
 31589  		return invalidParams
 31590  	}
 31591  	return nil
 31592  }
 31593  
 31594  // SetDateTimeParameters sets the DateTimeParameters field's value.
 31595  func (s *Parameters) SetDateTimeParameters(v []*DateTimeParameter) *Parameters {
 31596  	s.DateTimeParameters = v
 31597  	return s
 31598  }
 31599  
 31600  // SetDecimalParameters sets the DecimalParameters field's value.
 31601  func (s *Parameters) SetDecimalParameters(v []*DecimalParameter) *Parameters {
 31602  	s.DecimalParameters = v
 31603  	return s
 31604  }
 31605  
 31606  // SetIntegerParameters sets the IntegerParameters field's value.
 31607  func (s *Parameters) SetIntegerParameters(v []*IntegerParameter) *Parameters {
 31608  	s.IntegerParameters = v
 31609  	return s
 31610  }
 31611  
 31612  // SetStringParameters sets the StringParameters field's value.
 31613  func (s *Parameters) SetStringParameters(v []*StringParameter) *Parameters {
 31614  	s.StringParameters = v
 31615  	return s
 31616  }
 31617  
 31618  // A view of a data source that contains information about the shape of the
 31619  // data in the underlying source. This is a variant type structure. For this
 31620  // structure to be valid, only one of the attributes can be non-null.
 31621  type PhysicalTable struct {
 31622  	_ struct{} `type:"structure"`
 31623  
 31624  	// A physical table type built from the results of the custom SQL query.
 31625  	CustomSql *CustomSql `type:"structure"`
 31626  
 31627  	// A physical table type for relational data sources.
 31628  	RelationalTable *RelationalTable `type:"structure"`
 31629  
 31630  	// A physical table type for as S3 data source.
 31631  	S3Source *S3Source `type:"structure"`
 31632  }
 31633  
 31634  // String returns the string representation.
 31635  //
 31636  // API parameter values that are decorated as "sensitive" in the API will not
 31637  // be included in the string output. The member name will be present, but the
 31638  // value will be replaced with "sensitive".
 31639  func (s PhysicalTable) String() string {
 31640  	return awsutil.Prettify(s)
 31641  }
 31642  
 31643  // GoString returns the string representation.
 31644  //
 31645  // API parameter values that are decorated as "sensitive" in the API will not
 31646  // be included in the string output. The member name will be present, but the
 31647  // value will be replaced with "sensitive".
 31648  func (s PhysicalTable) GoString() string {
 31649  	return s.String()
 31650  }
 31651  
 31652  // Validate inspects the fields of the type to determine if they are valid.
 31653  func (s *PhysicalTable) Validate() error {
 31654  	invalidParams := request.ErrInvalidParams{Context: "PhysicalTable"}
 31655  	if s.CustomSql != nil {
 31656  		if err := s.CustomSql.Validate(); err != nil {
 31657  			invalidParams.AddNested("CustomSql", err.(request.ErrInvalidParams))
 31658  		}
 31659  	}
 31660  	if s.RelationalTable != nil {
 31661  		if err := s.RelationalTable.Validate(); err != nil {
 31662  			invalidParams.AddNested("RelationalTable", err.(request.ErrInvalidParams))
 31663  		}
 31664  	}
 31665  	if s.S3Source != nil {
 31666  		if err := s.S3Source.Validate(); err != nil {
 31667  			invalidParams.AddNested("S3Source", err.(request.ErrInvalidParams))
 31668  		}
 31669  	}
 31670  
 31671  	if invalidParams.Len() > 0 {
 31672  		return invalidParams
 31673  	}
 31674  	return nil
 31675  }
 31676  
 31677  // SetCustomSql sets the CustomSql field's value.
 31678  func (s *PhysicalTable) SetCustomSql(v *CustomSql) *PhysicalTable {
 31679  	s.CustomSql = v
 31680  	return s
 31681  }
 31682  
 31683  // SetRelationalTable sets the RelationalTable field's value.
 31684  func (s *PhysicalTable) SetRelationalTable(v *RelationalTable) *PhysicalTable {
 31685  	s.RelationalTable = v
 31686  	return s
 31687  }
 31688  
 31689  // SetS3Source sets the S3Source field's value.
 31690  func (s *PhysicalTable) SetS3Source(v *S3Source) *PhysicalTable {
 31691  	s.S3Source = v
 31692  	return s
 31693  }
 31694  
 31695  // The parameters for PostgreSQL.
 31696  type PostgreSqlParameters struct {
 31697  	_ struct{} `type:"structure"`
 31698  
 31699  	// Database.
 31700  	//
 31701  	// Database is a required field
 31702  	Database *string `min:"1" type:"string" required:"true"`
 31703  
 31704  	// Host.
 31705  	//
 31706  	// Host is a required field
 31707  	Host *string `min:"1" type:"string" required:"true"`
 31708  
 31709  	// Port.
 31710  	//
 31711  	// Port is a required field
 31712  	Port *int64 `min:"1" type:"integer" required:"true"`
 31713  }
 31714  
 31715  // String returns the string representation.
 31716  //
 31717  // API parameter values that are decorated as "sensitive" in the API will not
 31718  // be included in the string output. The member name will be present, but the
 31719  // value will be replaced with "sensitive".
 31720  func (s PostgreSqlParameters) String() string {
 31721  	return awsutil.Prettify(s)
 31722  }
 31723  
 31724  // GoString returns the string representation.
 31725  //
 31726  // API parameter values that are decorated as "sensitive" in the API will not
 31727  // be included in the string output. The member name will be present, but the
 31728  // value will be replaced with "sensitive".
 31729  func (s PostgreSqlParameters) GoString() string {
 31730  	return s.String()
 31731  }
 31732  
 31733  // Validate inspects the fields of the type to determine if they are valid.
 31734  func (s *PostgreSqlParameters) Validate() error {
 31735  	invalidParams := request.ErrInvalidParams{Context: "PostgreSqlParameters"}
 31736  	if s.Database == nil {
 31737  		invalidParams.Add(request.NewErrParamRequired("Database"))
 31738  	}
 31739  	if s.Database != nil && len(*s.Database) < 1 {
 31740  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 31741  	}
 31742  	if s.Host == nil {
 31743  		invalidParams.Add(request.NewErrParamRequired("Host"))
 31744  	}
 31745  	if s.Host != nil && len(*s.Host) < 1 {
 31746  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 31747  	}
 31748  	if s.Port == nil {
 31749  		invalidParams.Add(request.NewErrParamRequired("Port"))
 31750  	}
 31751  	if s.Port != nil && *s.Port < 1 {
 31752  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 31753  	}
 31754  
 31755  	if invalidParams.Len() > 0 {
 31756  		return invalidParams
 31757  	}
 31758  	return nil
 31759  }
 31760  
 31761  // SetDatabase sets the Database field's value.
 31762  func (s *PostgreSqlParameters) SetDatabase(v string) *PostgreSqlParameters {
 31763  	s.Database = &v
 31764  	return s
 31765  }
 31766  
 31767  // SetHost sets the Host field's value.
 31768  func (s *PostgreSqlParameters) SetHost(v string) *PostgreSqlParameters {
 31769  	s.Host = &v
 31770  	return s
 31771  }
 31772  
 31773  // SetPort sets the Port field's value.
 31774  func (s *PostgreSqlParameters) SetPort(v int64) *PostgreSqlParameters {
 31775  	s.Port = &v
 31776  	return s
 31777  }
 31778  
 31779  // One or more preconditions aren't met.
 31780  type PreconditionNotMetException struct {
 31781  	_            struct{}                  `type:"structure"`
 31782  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 31783  
 31784  	Message_ *string `locationName:"Message" type:"string"`
 31785  
 31786  	// The Amazon Web Services request ID for this request.
 31787  	RequestId *string `type:"string"`
 31788  }
 31789  
 31790  // String returns the string representation.
 31791  //
 31792  // API parameter values that are decorated as "sensitive" in the API will not
 31793  // be included in the string output. The member name will be present, but the
 31794  // value will be replaced with "sensitive".
 31795  func (s PreconditionNotMetException) String() string {
 31796  	return awsutil.Prettify(s)
 31797  }
 31798  
 31799  // GoString returns the string representation.
 31800  //
 31801  // API parameter values that are decorated as "sensitive" in the API will not
 31802  // be included in the string output. The member name will be present, but the
 31803  // value will be replaced with "sensitive".
 31804  func (s PreconditionNotMetException) GoString() string {
 31805  	return s.String()
 31806  }
 31807  
 31808  func newErrorPreconditionNotMetException(v protocol.ResponseMetadata) error {
 31809  	return &PreconditionNotMetException{
 31810  		RespMetadata: v,
 31811  	}
 31812  }
 31813  
 31814  // Code returns the exception type name.
 31815  func (s *PreconditionNotMetException) Code() string {
 31816  	return "PreconditionNotMetException"
 31817  }
 31818  
 31819  // Message returns the exception's message.
 31820  func (s *PreconditionNotMetException) Message() string {
 31821  	if s.Message_ != nil {
 31822  		return *s.Message_
 31823  	}
 31824  	return ""
 31825  }
 31826  
 31827  // OrigErr always returns nil, satisfies awserr.Error interface.
 31828  func (s *PreconditionNotMetException) OrigErr() error {
 31829  	return nil
 31830  }
 31831  
 31832  func (s *PreconditionNotMetException) Error() string {
 31833  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 31834  }
 31835  
 31836  // Status code returns the HTTP status code for the request's response error.
 31837  func (s *PreconditionNotMetException) StatusCode() int {
 31838  	return s.RespMetadata.StatusCode
 31839  }
 31840  
 31841  // RequestID returns the service's response RequestID for request.
 31842  func (s *PreconditionNotMetException) RequestID() string {
 31843  	return s.RespMetadata.RequestID
 31844  }
 31845  
 31846  // The parameters for Presto.
 31847  type PrestoParameters struct {
 31848  	_ struct{} `type:"structure"`
 31849  
 31850  	// Catalog.
 31851  	//
 31852  	// Catalog is a required field
 31853  	Catalog *string `type:"string" required:"true"`
 31854  
 31855  	// Host.
 31856  	//
 31857  	// Host is a required field
 31858  	Host *string `min:"1" type:"string" required:"true"`
 31859  
 31860  	// Port.
 31861  	//
 31862  	// Port is a required field
 31863  	Port *int64 `min:"1" type:"integer" required:"true"`
 31864  }
 31865  
 31866  // String returns the string representation.
 31867  //
 31868  // API parameter values that are decorated as "sensitive" in the API will not
 31869  // be included in the string output. The member name will be present, but the
 31870  // value will be replaced with "sensitive".
 31871  func (s PrestoParameters) String() string {
 31872  	return awsutil.Prettify(s)
 31873  }
 31874  
 31875  // GoString returns the string representation.
 31876  //
 31877  // API parameter values that are decorated as "sensitive" in the API will not
 31878  // be included in the string output. The member name will be present, but the
 31879  // value will be replaced with "sensitive".
 31880  func (s PrestoParameters) GoString() string {
 31881  	return s.String()
 31882  }
 31883  
 31884  // Validate inspects the fields of the type to determine if they are valid.
 31885  func (s *PrestoParameters) Validate() error {
 31886  	invalidParams := request.ErrInvalidParams{Context: "PrestoParameters"}
 31887  	if s.Catalog == nil {
 31888  		invalidParams.Add(request.NewErrParamRequired("Catalog"))
 31889  	}
 31890  	if s.Host == nil {
 31891  		invalidParams.Add(request.NewErrParamRequired("Host"))
 31892  	}
 31893  	if s.Host != nil && len(*s.Host) < 1 {
 31894  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 31895  	}
 31896  	if s.Port == nil {
 31897  		invalidParams.Add(request.NewErrParamRequired("Port"))
 31898  	}
 31899  	if s.Port != nil && *s.Port < 1 {
 31900  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 31901  	}
 31902  
 31903  	if invalidParams.Len() > 0 {
 31904  		return invalidParams
 31905  	}
 31906  	return nil
 31907  }
 31908  
 31909  // SetCatalog sets the Catalog field's value.
 31910  func (s *PrestoParameters) SetCatalog(v string) *PrestoParameters {
 31911  	s.Catalog = &v
 31912  	return s
 31913  }
 31914  
 31915  // SetHost sets the Host field's value.
 31916  func (s *PrestoParameters) SetHost(v string) *PrestoParameters {
 31917  	s.Host = &v
 31918  	return s
 31919  }
 31920  
 31921  // SetPort sets the Port field's value.
 31922  func (s *PrestoParameters) SetPort(v int64) *PrestoParameters {
 31923  	s.Port = &v
 31924  	return s
 31925  }
 31926  
 31927  // A transform operation that projects columns. Operations that come after a
 31928  // projection can only refer to projected columns.
 31929  type ProjectOperation struct {
 31930  	_ struct{} `type:"structure"`
 31931  
 31932  	// Projected columns.
 31933  	//
 31934  	// ProjectedColumns is a required field
 31935  	ProjectedColumns []*string `min:"1" type:"list" required:"true"`
 31936  }
 31937  
 31938  // String returns the string representation.
 31939  //
 31940  // API parameter values that are decorated as "sensitive" in the API will not
 31941  // be included in the string output. The member name will be present, but the
 31942  // value will be replaced with "sensitive".
 31943  func (s ProjectOperation) String() string {
 31944  	return awsutil.Prettify(s)
 31945  }
 31946  
 31947  // GoString returns the string representation.
 31948  //
 31949  // API parameter values that are decorated as "sensitive" in the API will not
 31950  // be included in the string output. The member name will be present, but the
 31951  // value will be replaced with "sensitive".
 31952  func (s ProjectOperation) GoString() string {
 31953  	return s.String()
 31954  }
 31955  
 31956  // Validate inspects the fields of the type to determine if they are valid.
 31957  func (s *ProjectOperation) Validate() error {
 31958  	invalidParams := request.ErrInvalidParams{Context: "ProjectOperation"}
 31959  	if s.ProjectedColumns == nil {
 31960  		invalidParams.Add(request.NewErrParamRequired("ProjectedColumns"))
 31961  	}
 31962  	if s.ProjectedColumns != nil && len(s.ProjectedColumns) < 1 {
 31963  		invalidParams.Add(request.NewErrParamMinLen("ProjectedColumns", 1))
 31964  	}
 31965  
 31966  	if invalidParams.Len() > 0 {
 31967  		return invalidParams
 31968  	}
 31969  	return nil
 31970  }
 31971  
 31972  // SetProjectedColumns sets the ProjectedColumns field's value.
 31973  func (s *ProjectOperation) SetProjectedColumns(v []*string) *ProjectOperation {
 31974  	s.ProjectedColumns = v
 31975  	return s
 31976  }
 31977  
 31978  // Information about a queued dataset SPICE ingestion.
 31979  type QueueInfo struct {
 31980  	_ struct{} `type:"structure"`
 31981  
 31982  	// The ID of the ongoing ingestion. The queued ingestion is waiting for the
 31983  	// ongoing ingestion to complete.
 31984  	//
 31985  	// QueuedIngestion is a required field
 31986  	QueuedIngestion *string `type:"string" required:"true"`
 31987  
 31988  	// The ID of the queued ingestion.
 31989  	//
 31990  	// WaitingOnIngestion is a required field
 31991  	WaitingOnIngestion *string `type:"string" required:"true"`
 31992  }
 31993  
 31994  // String returns the string representation.
 31995  //
 31996  // API parameter values that are decorated as "sensitive" in the API will not
 31997  // be included in the string output. The member name will be present, but the
 31998  // value will be replaced with "sensitive".
 31999  func (s QueueInfo) String() string {
 32000  	return awsutil.Prettify(s)
 32001  }
 32002  
 32003  // GoString returns the string representation.
 32004  //
 32005  // API parameter values that are decorated as "sensitive" in the API will not
 32006  // be included in the string output. The member name will be present, but the
 32007  // value will be replaced with "sensitive".
 32008  func (s QueueInfo) GoString() string {
 32009  	return s.String()
 32010  }
 32011  
 32012  // SetQueuedIngestion sets the QueuedIngestion field's value.
 32013  func (s *QueueInfo) SetQueuedIngestion(v string) *QueueInfo {
 32014  	s.QueuedIngestion = &v
 32015  	return s
 32016  }
 32017  
 32018  // SetWaitingOnIngestion sets the WaitingOnIngestion field's value.
 32019  func (s *QueueInfo) SetWaitingOnIngestion(v string) *QueueInfo {
 32020  	s.WaitingOnIngestion = &v
 32021  	return s
 32022  }
 32023  
 32024  // The parameters for Amazon RDS.
 32025  type RdsParameters struct {
 32026  	_ struct{} `type:"structure"`
 32027  
 32028  	// Database.
 32029  	//
 32030  	// Database is a required field
 32031  	Database *string `min:"1" type:"string" required:"true"`
 32032  
 32033  	// Instance ID.
 32034  	//
 32035  	// InstanceId is a required field
 32036  	InstanceId *string `min:"1" type:"string" required:"true"`
 32037  }
 32038  
 32039  // String returns the string representation.
 32040  //
 32041  // API parameter values that are decorated as "sensitive" in the API will not
 32042  // be included in the string output. The member name will be present, but the
 32043  // value will be replaced with "sensitive".
 32044  func (s RdsParameters) String() string {
 32045  	return awsutil.Prettify(s)
 32046  }
 32047  
 32048  // GoString returns the string representation.
 32049  //
 32050  // API parameter values that are decorated as "sensitive" in the API will not
 32051  // be included in the string output. The member name will be present, but the
 32052  // value will be replaced with "sensitive".
 32053  func (s RdsParameters) GoString() string {
 32054  	return s.String()
 32055  }
 32056  
 32057  // Validate inspects the fields of the type to determine if they are valid.
 32058  func (s *RdsParameters) Validate() error {
 32059  	invalidParams := request.ErrInvalidParams{Context: "RdsParameters"}
 32060  	if s.Database == nil {
 32061  		invalidParams.Add(request.NewErrParamRequired("Database"))
 32062  	}
 32063  	if s.Database != nil && len(*s.Database) < 1 {
 32064  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 32065  	}
 32066  	if s.InstanceId == nil {
 32067  		invalidParams.Add(request.NewErrParamRequired("InstanceId"))
 32068  	}
 32069  	if s.InstanceId != nil && len(*s.InstanceId) < 1 {
 32070  		invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1))
 32071  	}
 32072  
 32073  	if invalidParams.Len() > 0 {
 32074  		return invalidParams
 32075  	}
 32076  	return nil
 32077  }
 32078  
 32079  // SetDatabase sets the Database field's value.
 32080  func (s *RdsParameters) SetDatabase(v string) *RdsParameters {
 32081  	s.Database = &v
 32082  	return s
 32083  }
 32084  
 32085  // SetInstanceId sets the InstanceId field's value.
 32086  func (s *RdsParameters) SetInstanceId(v string) *RdsParameters {
 32087  	s.InstanceId = &v
 32088  	return s
 32089  }
 32090  
 32091  // The parameters for Amazon Redshift. The ClusterId field can be blank if Host
 32092  // and Port are both set. The Host and Port fields can be blank if the ClusterId
 32093  // field is set.
 32094  type RedshiftParameters struct {
 32095  	_ struct{} `type:"structure"`
 32096  
 32097  	// Cluster ID. This field can be blank if the Host and Port are provided.
 32098  	ClusterId *string `min:"1" type:"string"`
 32099  
 32100  	// Database.
 32101  	//
 32102  	// Database is a required field
 32103  	Database *string `min:"1" type:"string" required:"true"`
 32104  
 32105  	// Host. This field can be blank if ClusterId is provided.
 32106  	Host *string `min:"1" type:"string"`
 32107  
 32108  	// Port. This field can be blank if the ClusterId is provided.
 32109  	Port *int64 `type:"integer"`
 32110  }
 32111  
 32112  // String returns the string representation.
 32113  //
 32114  // API parameter values that are decorated as "sensitive" in the API will not
 32115  // be included in the string output. The member name will be present, but the
 32116  // value will be replaced with "sensitive".
 32117  func (s RedshiftParameters) String() string {
 32118  	return awsutil.Prettify(s)
 32119  }
 32120  
 32121  // GoString returns the string representation.
 32122  //
 32123  // API parameter values that are decorated as "sensitive" in the API will not
 32124  // be included in the string output. The member name will be present, but the
 32125  // value will be replaced with "sensitive".
 32126  func (s RedshiftParameters) GoString() string {
 32127  	return s.String()
 32128  }
 32129  
 32130  // Validate inspects the fields of the type to determine if they are valid.
 32131  func (s *RedshiftParameters) Validate() error {
 32132  	invalidParams := request.ErrInvalidParams{Context: "RedshiftParameters"}
 32133  	if s.ClusterId != nil && len(*s.ClusterId) < 1 {
 32134  		invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1))
 32135  	}
 32136  	if s.Database == nil {
 32137  		invalidParams.Add(request.NewErrParamRequired("Database"))
 32138  	}
 32139  	if s.Database != nil && len(*s.Database) < 1 {
 32140  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 32141  	}
 32142  	if s.Host != nil && len(*s.Host) < 1 {
 32143  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 32144  	}
 32145  
 32146  	if invalidParams.Len() > 0 {
 32147  		return invalidParams
 32148  	}
 32149  	return nil
 32150  }
 32151  
 32152  // SetClusterId sets the ClusterId field's value.
 32153  func (s *RedshiftParameters) SetClusterId(v string) *RedshiftParameters {
 32154  	s.ClusterId = &v
 32155  	return s
 32156  }
 32157  
 32158  // SetDatabase sets the Database field's value.
 32159  func (s *RedshiftParameters) SetDatabase(v string) *RedshiftParameters {
 32160  	s.Database = &v
 32161  	return s
 32162  }
 32163  
 32164  // SetHost sets the Host field's value.
 32165  func (s *RedshiftParameters) SetHost(v string) *RedshiftParameters {
 32166  	s.Host = &v
 32167  	return s
 32168  }
 32169  
 32170  // SetPort sets the Port field's value.
 32171  func (s *RedshiftParameters) SetPort(v int64) *RedshiftParameters {
 32172  	s.Port = &v
 32173  	return s
 32174  }
 32175  
 32176  type RegisterUserInput struct {
 32177  	_ struct{} `type:"structure"`
 32178  
 32179  	// The ID for the Amazon Web Services account that the user is in. Currently,
 32180  	// you use the ID for the Amazon Web Services account that contains your Amazon
 32181  	// QuickSight account.
 32182  	//
 32183  	// AwsAccountId is a required field
 32184  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 32185  
 32186  	// The URL of the custom OpenID Connect (OIDC) provider that provides identity
 32187  	// to let a user federate into Amazon QuickSight with an associated Identity
 32188  	// and Access Management(IAM) role. This parameter should only be used when
 32189  	// ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC.
 32190  	CustomFederationProviderUrl *string `type:"string"`
 32191  
 32192  	// (Enterprise edition only) The name of the custom permissions profile that
 32193  	// you want to assign to this user. Customized permissions allows you to control
 32194  	// a user's access by restricting access the following operations:
 32195  	//
 32196  	//    * Create and update data sources
 32197  	//
 32198  	//    * Create and update datasets
 32199  	//
 32200  	//    * Create and update email reports
 32201  	//
 32202  	//    * Subscribe to email reports
 32203  	//
 32204  	// To add custom permissions to an existing user, use UpdateUser instead.
 32205  	//
 32206  	// A set of custom permissions includes any combination of these restrictions.
 32207  	// Currently, you need to create the profile names for custom permission sets
 32208  	// by using the Amazon QuickSight console. Then, you use the RegisterUser API
 32209  	// operation to assign the named set of permissions to a Amazon QuickSight user.
 32210  	//
 32211  	// Amazon QuickSight custom permissions are applied through IAMpolicies. Therefore,
 32212  	// they override the permissions typically granted by assigning Amazon QuickSight
 32213  	// users to one of the default security cohorts in Amazon QuickSight (admin,
 32214  	// author, reader).
 32215  	//
 32216  	// This feature is available only to Amazon QuickSight Enterprise edition subscriptions.
 32217  	CustomPermissionsName *string `min:"1" type:"string"`
 32218  
 32219  	// The email address of the user that you want to register.
 32220  	//
 32221  	// Email is a required field
 32222  	Email *string `type:"string" required:"true"`
 32223  
 32224  	// The type of supported external login provider that provides identity to let
 32225  	// a user federate into Amazon QuickSight with an associated Identity and Access
 32226  	// Management(IAM) role. The type of supported external login provider can be
 32227  	// one of the following.
 32228  	//
 32229  	//    * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com.
 32230  	//    When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl"
 32231  	//    parameter which is only needed when the external provider is custom.
 32232  	//
 32233  	//    * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC
 32234  	//    type, use the CustomFederationProviderUrl parameter to provide the custom
 32235  	//    OIDC provider URL.
 32236  	ExternalLoginFederationProviderType *string `type:"string"`
 32237  
 32238  	// The identity ID for a user in the external login provider.
 32239  	ExternalLoginId *string `type:"string"`
 32240  
 32241  	// The ARN of the IAMuser or role that you are registering with Amazon QuickSight.
 32242  	IamArn *string `type:"string"`
 32243  
 32244  	// Amazon QuickSight supports several ways of managing the identity of users.
 32245  	// This parameter accepts two values:
 32246  	//
 32247  	//    * IAM: A user whose identity maps to an existing IAMuser or role.
 32248  	//
 32249  	//    * QUICKSIGHT: A user whose identity is owned and managed internally by
 32250  	//    Amazon QuickSight.
 32251  	//
 32252  	// IdentityType is a required field
 32253  	IdentityType *string `type:"string" required:"true" enum:"IdentityType"`
 32254  
 32255  	// The namespace. Currently, you should set this to default.
 32256  	//
 32257  	// Namespace is a required field
 32258  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 32259  
 32260  	// You need to use this parameter only when you register one or more users using
 32261  	// an assumed IAMrole. You don't need to provide the session name for other
 32262  	// scenarios, for example when you are registering an IAMuser or an Amazon QuickSight
 32263  	// user. You can register multiple users using the same IAMrole if each user
 32264  	// has a different session name. For more information on assuming IAMroles,
 32265  	// see assume-role (https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role.html)
 32266  	// in the AWS CLI Reference.
 32267  	SessionName *string `min:"2" type:"string"`
 32268  
 32269  	// The Amazon QuickSight user name that you want to create for the user you
 32270  	// are registering.
 32271  	UserName *string `min:"1" type:"string"`
 32272  
 32273  	// The Amazon QuickSight role for the user. The user role can be one of the
 32274  	// following:
 32275  	//
 32276  	//    * READER: A user who has read-only access to dashboards.
 32277  	//
 32278  	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
 32279  	//    dashboards.
 32280  	//
 32281  	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
 32282  	//    settings.
 32283  	//
 32284  	//    * RESTRICTED_READER: This role isn't currently available for use.
 32285  	//
 32286  	//    * RESTRICTED_AUTHOR: This role isn't currently available for use.
 32287  	//
 32288  	// UserRole is a required field
 32289  	UserRole *string `type:"string" required:"true" enum:"UserRole"`
 32290  }
 32291  
 32292  // String returns the string representation.
 32293  //
 32294  // API parameter values that are decorated as "sensitive" in the API will not
 32295  // be included in the string output. The member name will be present, but the
 32296  // value will be replaced with "sensitive".
 32297  func (s RegisterUserInput) String() string {
 32298  	return awsutil.Prettify(s)
 32299  }
 32300  
 32301  // GoString returns the string representation.
 32302  //
 32303  // API parameter values that are decorated as "sensitive" in the API will not
 32304  // be included in the string output. The member name will be present, but the
 32305  // value will be replaced with "sensitive".
 32306  func (s RegisterUserInput) GoString() string {
 32307  	return s.String()
 32308  }
 32309  
 32310  // Validate inspects the fields of the type to determine if they are valid.
 32311  func (s *RegisterUserInput) Validate() error {
 32312  	invalidParams := request.ErrInvalidParams{Context: "RegisterUserInput"}
 32313  	if s.AwsAccountId == nil {
 32314  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 32315  	}
 32316  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 32317  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 32318  	}
 32319  	if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 {
 32320  		invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1))
 32321  	}
 32322  	if s.Email == nil {
 32323  		invalidParams.Add(request.NewErrParamRequired("Email"))
 32324  	}
 32325  	if s.IdentityType == nil {
 32326  		invalidParams.Add(request.NewErrParamRequired("IdentityType"))
 32327  	}
 32328  	if s.Namespace == nil {
 32329  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 32330  	}
 32331  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 32332  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 32333  	}
 32334  	if s.SessionName != nil && len(*s.SessionName) < 2 {
 32335  		invalidParams.Add(request.NewErrParamMinLen("SessionName", 2))
 32336  	}
 32337  	if s.UserName != nil && len(*s.UserName) < 1 {
 32338  		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
 32339  	}
 32340  	if s.UserRole == nil {
 32341  		invalidParams.Add(request.NewErrParamRequired("UserRole"))
 32342  	}
 32343  
 32344  	if invalidParams.Len() > 0 {
 32345  		return invalidParams
 32346  	}
 32347  	return nil
 32348  }
 32349  
 32350  // SetAwsAccountId sets the AwsAccountId field's value.
 32351  func (s *RegisterUserInput) SetAwsAccountId(v string) *RegisterUserInput {
 32352  	s.AwsAccountId = &v
 32353  	return s
 32354  }
 32355  
 32356  // SetCustomFederationProviderUrl sets the CustomFederationProviderUrl field's value.
 32357  func (s *RegisterUserInput) SetCustomFederationProviderUrl(v string) *RegisterUserInput {
 32358  	s.CustomFederationProviderUrl = &v
 32359  	return s
 32360  }
 32361  
 32362  // SetCustomPermissionsName sets the CustomPermissionsName field's value.
 32363  func (s *RegisterUserInput) SetCustomPermissionsName(v string) *RegisterUserInput {
 32364  	s.CustomPermissionsName = &v
 32365  	return s
 32366  }
 32367  
 32368  // SetEmail sets the Email field's value.
 32369  func (s *RegisterUserInput) SetEmail(v string) *RegisterUserInput {
 32370  	s.Email = &v
 32371  	return s
 32372  }
 32373  
 32374  // SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value.
 32375  func (s *RegisterUserInput) SetExternalLoginFederationProviderType(v string) *RegisterUserInput {
 32376  	s.ExternalLoginFederationProviderType = &v
 32377  	return s
 32378  }
 32379  
 32380  // SetExternalLoginId sets the ExternalLoginId field's value.
 32381  func (s *RegisterUserInput) SetExternalLoginId(v string) *RegisterUserInput {
 32382  	s.ExternalLoginId = &v
 32383  	return s
 32384  }
 32385  
 32386  // SetIamArn sets the IamArn field's value.
 32387  func (s *RegisterUserInput) SetIamArn(v string) *RegisterUserInput {
 32388  	s.IamArn = &v
 32389  	return s
 32390  }
 32391  
 32392  // SetIdentityType sets the IdentityType field's value.
 32393  func (s *RegisterUserInput) SetIdentityType(v string) *RegisterUserInput {
 32394  	s.IdentityType = &v
 32395  	return s
 32396  }
 32397  
 32398  // SetNamespace sets the Namespace field's value.
 32399  func (s *RegisterUserInput) SetNamespace(v string) *RegisterUserInput {
 32400  	s.Namespace = &v
 32401  	return s
 32402  }
 32403  
 32404  // SetSessionName sets the SessionName field's value.
 32405  func (s *RegisterUserInput) SetSessionName(v string) *RegisterUserInput {
 32406  	s.SessionName = &v
 32407  	return s
 32408  }
 32409  
 32410  // SetUserName sets the UserName field's value.
 32411  func (s *RegisterUserInput) SetUserName(v string) *RegisterUserInput {
 32412  	s.UserName = &v
 32413  	return s
 32414  }
 32415  
 32416  // SetUserRole sets the UserRole field's value.
 32417  func (s *RegisterUserInput) SetUserRole(v string) *RegisterUserInput {
 32418  	s.UserRole = &v
 32419  	return s
 32420  }
 32421  
 32422  type RegisterUserOutput struct {
 32423  	_ struct{} `type:"structure"`
 32424  
 32425  	// The Amazon Web Services request ID for this operation.
 32426  	RequestId *string `type:"string"`
 32427  
 32428  	// The HTTP status of the request.
 32429  	Status *int64 `location:"statusCode" type:"integer"`
 32430  
 32431  	// The user's user name.
 32432  	User *User `type:"structure"`
 32433  
 32434  	// The URL the user visits to complete registration and provide a password.
 32435  	// This is returned only for users with an identity type of QUICKSIGHT.
 32436  	UserInvitationUrl *string `type:"string"`
 32437  }
 32438  
 32439  // String returns the string representation.
 32440  //
 32441  // API parameter values that are decorated as "sensitive" in the API will not
 32442  // be included in the string output. The member name will be present, but the
 32443  // value will be replaced with "sensitive".
 32444  func (s RegisterUserOutput) String() string {
 32445  	return awsutil.Prettify(s)
 32446  }
 32447  
 32448  // GoString returns the string representation.
 32449  //
 32450  // API parameter values that are decorated as "sensitive" in the API will not
 32451  // be included in the string output. The member name will be present, but the
 32452  // value will be replaced with "sensitive".
 32453  func (s RegisterUserOutput) GoString() string {
 32454  	return s.String()
 32455  }
 32456  
 32457  // SetRequestId sets the RequestId field's value.
 32458  func (s *RegisterUserOutput) SetRequestId(v string) *RegisterUserOutput {
 32459  	s.RequestId = &v
 32460  	return s
 32461  }
 32462  
 32463  // SetStatus sets the Status field's value.
 32464  func (s *RegisterUserOutput) SetStatus(v int64) *RegisterUserOutput {
 32465  	s.Status = &v
 32466  	return s
 32467  }
 32468  
 32469  // SetUser sets the User field's value.
 32470  func (s *RegisterUserOutput) SetUser(v *User) *RegisterUserOutput {
 32471  	s.User = v
 32472  	return s
 32473  }
 32474  
 32475  // SetUserInvitationUrl sets the UserInvitationUrl field's value.
 32476  func (s *RegisterUserOutput) SetUserInvitationUrl(v string) *RegisterUserOutput {
 32477  	s.UserInvitationUrl = &v
 32478  	return s
 32479  }
 32480  
 32481  // Information about the dashboard you want to embed.
 32482  type RegisteredUserDashboardEmbeddingConfiguration struct {
 32483  	_ struct{} `type:"structure"`
 32484  
 32485  	// The dashboard ID for the dashboard that you want the user to see first. This
 32486  	// ID is included in the output URL. When the URL in response is accessed, Amazon
 32487  	// QuickSight renders this dashboard if the user has permissions to view it.
 32488  	//
 32489  	// If the user does not have permission to view this dashboard, they see a permissions
 32490  	// error message.
 32491  	//
 32492  	// InitialDashboardId is a required field
 32493  	InitialDashboardId *string `min:"1" type:"string" required:"true"`
 32494  }
 32495  
 32496  // String returns the string representation.
 32497  //
 32498  // API parameter values that are decorated as "sensitive" in the API will not
 32499  // be included in the string output. The member name will be present, but the
 32500  // value will be replaced with "sensitive".
 32501  func (s RegisteredUserDashboardEmbeddingConfiguration) String() string {
 32502  	return awsutil.Prettify(s)
 32503  }
 32504  
 32505  // GoString returns the string representation.
 32506  //
 32507  // API parameter values that are decorated as "sensitive" in the API will not
 32508  // be included in the string output. The member name will be present, but the
 32509  // value will be replaced with "sensitive".
 32510  func (s RegisteredUserDashboardEmbeddingConfiguration) GoString() string {
 32511  	return s.String()
 32512  }
 32513  
 32514  // Validate inspects the fields of the type to determine if they are valid.
 32515  func (s *RegisteredUserDashboardEmbeddingConfiguration) Validate() error {
 32516  	invalidParams := request.ErrInvalidParams{Context: "RegisteredUserDashboardEmbeddingConfiguration"}
 32517  	if s.InitialDashboardId == nil {
 32518  		invalidParams.Add(request.NewErrParamRequired("InitialDashboardId"))
 32519  	}
 32520  	if s.InitialDashboardId != nil && len(*s.InitialDashboardId) < 1 {
 32521  		invalidParams.Add(request.NewErrParamMinLen("InitialDashboardId", 1))
 32522  	}
 32523  
 32524  	if invalidParams.Len() > 0 {
 32525  		return invalidParams
 32526  	}
 32527  	return nil
 32528  }
 32529  
 32530  // SetInitialDashboardId sets the InitialDashboardId field's value.
 32531  func (s *RegisteredUserDashboardEmbeddingConfiguration) SetInitialDashboardId(v string) *RegisteredUserDashboardEmbeddingConfiguration {
 32532  	s.InitialDashboardId = &v
 32533  	return s
 32534  }
 32535  
 32536  // The type of experience you want to embed. For registered users, you can embed
 32537  // an Amazon QuickSight dashboard or the Amazon QuickSight console.
 32538  //
 32539  // Exactly one of the experience configurations is required. You can choose
 32540  // Dashboard or QuickSightConsole. You cannot choose more than one experience
 32541  // configuraton.
 32542  type RegisteredUserEmbeddingExperienceConfiguration struct {
 32543  	_ struct{} `type:"structure"`
 32544  
 32545  	// The configuration details for providing a dashboard embedding experience.
 32546  	Dashboard *RegisteredUserDashboardEmbeddingConfiguration `type:"structure"`
 32547  
 32548  	// The configuration details for providing an Amazon QuickSight console embedding
 32549  	// experience. This can be used along with custom permissions to restrict access
 32550  	// to certain features. For more information, see Customizing Access to the
 32551  	// Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
 32552  	// in the Amazon QuickSight User Guide.
 32553  	//
 32554  	// Use GenerateEmbedUrlForRegisteredUser where you want to provide an authoring
 32555  	// portal that allows users to create data sources, datasets, analyses, and
 32556  	// dashboards. The users who accesses an embedded Amazon QuickSight console
 32557  	// needs to belong to the author or admin security cohort. If you want to restrict
 32558  	// permissions to some of these features, add a custom permissions profile to
 32559  	// the user with the UpdateUser API operation. Use RegisterUser API operation
 32560  	// to add a new user with a custom permission profile attached. For more information,
 32561  	// see the following sections in the Amazon QuickSight User Guide:
 32562  	//
 32563  	//    * Embedding the Full Functionality of the Amazon QuickSight Console for
 32564  	//    Authenticated Users (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-full-console-for-authenticated-users.html)
 32565  	//
 32566  	//    * Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
 32567  	//
 32568  	// For more information about the high-level steps for embedding and for an
 32569  	// interactive demo of the ways you can customize embedding, visit the Amazon
 32570  	// QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
 32571  	QuickSightConsole *RegisteredUserQuickSightConsoleEmbeddingConfiguration `type:"structure"`
 32572  }
 32573  
 32574  // String returns the string representation.
 32575  //
 32576  // API parameter values that are decorated as "sensitive" in the API will not
 32577  // be included in the string output. The member name will be present, but the
 32578  // value will be replaced with "sensitive".
 32579  func (s RegisteredUserEmbeddingExperienceConfiguration) String() string {
 32580  	return awsutil.Prettify(s)
 32581  }
 32582  
 32583  // GoString returns the string representation.
 32584  //
 32585  // API parameter values that are decorated as "sensitive" in the API will not
 32586  // be included in the string output. The member name will be present, but the
 32587  // value will be replaced with "sensitive".
 32588  func (s RegisteredUserEmbeddingExperienceConfiguration) GoString() string {
 32589  	return s.String()
 32590  }
 32591  
 32592  // Validate inspects the fields of the type to determine if they are valid.
 32593  func (s *RegisteredUserEmbeddingExperienceConfiguration) Validate() error {
 32594  	invalidParams := request.ErrInvalidParams{Context: "RegisteredUserEmbeddingExperienceConfiguration"}
 32595  	if s.Dashboard != nil {
 32596  		if err := s.Dashboard.Validate(); err != nil {
 32597  			invalidParams.AddNested("Dashboard", err.(request.ErrInvalidParams))
 32598  		}
 32599  	}
 32600  	if s.QuickSightConsole != nil {
 32601  		if err := s.QuickSightConsole.Validate(); err != nil {
 32602  			invalidParams.AddNested("QuickSightConsole", err.(request.ErrInvalidParams))
 32603  		}
 32604  	}
 32605  
 32606  	if invalidParams.Len() > 0 {
 32607  		return invalidParams
 32608  	}
 32609  	return nil
 32610  }
 32611  
 32612  // SetDashboard sets the Dashboard field's value.
 32613  func (s *RegisteredUserEmbeddingExperienceConfiguration) SetDashboard(v *RegisteredUserDashboardEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration {
 32614  	s.Dashboard = v
 32615  	return s
 32616  }
 32617  
 32618  // SetQuickSightConsole sets the QuickSightConsole field's value.
 32619  func (s *RegisteredUserEmbeddingExperienceConfiguration) SetQuickSightConsole(v *RegisteredUserQuickSightConsoleEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration {
 32620  	s.QuickSightConsole = v
 32621  	return s
 32622  }
 32623  
 32624  // Information about the Amazon QuickSight console that you want to embed.
 32625  type RegisteredUserQuickSightConsoleEmbeddingConfiguration struct {
 32626  	_ struct{} `type:"structure"`
 32627  
 32628  	// The initial URL path for the Amazon QuickSight console. InitialPath is required.
 32629  	//
 32630  	// The entry point URL is constrained to the following paths:
 32631  	//
 32632  	//    * /start
 32633  	//
 32634  	//    * /start/analyses
 32635  	//
 32636  	//    * /start/dashboards
 32637  	//
 32638  	//    * /start/favorites
 32639  	//
 32640  	//    * /dashboards/DashboardId. DashboardId is the actual ID key from the Amazon
 32641  	//    QuickSight console URL of the dashboard.
 32642  	//
 32643  	//    * /analyses/AnalysisId. AnalysisId is the actual ID key from the Amazon
 32644  	//    QuickSight console URL of the analysis.
 32645  	InitialPath *string `min:"1" type:"string"`
 32646  }
 32647  
 32648  // String returns the string representation.
 32649  //
 32650  // API parameter values that are decorated as "sensitive" in the API will not
 32651  // be included in the string output. The member name will be present, but the
 32652  // value will be replaced with "sensitive".
 32653  func (s RegisteredUserQuickSightConsoleEmbeddingConfiguration) String() string {
 32654  	return awsutil.Prettify(s)
 32655  }
 32656  
 32657  // GoString returns the string representation.
 32658  //
 32659  // API parameter values that are decorated as "sensitive" in the API will not
 32660  // be included in the string output. The member name will be present, but the
 32661  // value will be replaced with "sensitive".
 32662  func (s RegisteredUserQuickSightConsoleEmbeddingConfiguration) GoString() string {
 32663  	return s.String()
 32664  }
 32665  
 32666  // Validate inspects the fields of the type to determine if they are valid.
 32667  func (s *RegisteredUserQuickSightConsoleEmbeddingConfiguration) Validate() error {
 32668  	invalidParams := request.ErrInvalidParams{Context: "RegisteredUserQuickSightConsoleEmbeddingConfiguration"}
 32669  	if s.InitialPath != nil && len(*s.InitialPath) < 1 {
 32670  		invalidParams.Add(request.NewErrParamMinLen("InitialPath", 1))
 32671  	}
 32672  
 32673  	if invalidParams.Len() > 0 {
 32674  		return invalidParams
 32675  	}
 32676  	return nil
 32677  }
 32678  
 32679  // SetInitialPath sets the InitialPath field's value.
 32680  func (s *RegisteredUserQuickSightConsoleEmbeddingConfiguration) SetInitialPath(v string) *RegisteredUserQuickSightConsoleEmbeddingConfiguration {
 32681  	s.InitialPath = &v
 32682  	return s
 32683  }
 32684  
 32685  // A physical table type for relational data sources.
 32686  type RelationalTable struct {
 32687  	_ struct{} `type:"structure"`
 32688  
 32689  	// The catalog associated with a table.
 32690  	Catalog *string `type:"string"`
 32691  
 32692  	// The Amazon Resource Name (ARN) for the data source.
 32693  	//
 32694  	// DataSourceArn is a required field
 32695  	DataSourceArn *string `type:"string" required:"true"`
 32696  
 32697  	// The column schema of the table.
 32698  	//
 32699  	// InputColumns is a required field
 32700  	InputColumns []*InputColumn `min:"1" type:"list" required:"true"`
 32701  
 32702  	// The name of the relational table.
 32703  	//
 32704  	// Name is a required field
 32705  	Name *string `min:"1" type:"string" required:"true"`
 32706  
 32707  	// The schema name. This name applies to certain relational database engines.
 32708  	Schema *string `type:"string"`
 32709  }
 32710  
 32711  // String returns the string representation.
 32712  //
 32713  // API parameter values that are decorated as "sensitive" in the API will not
 32714  // be included in the string output. The member name will be present, but the
 32715  // value will be replaced with "sensitive".
 32716  func (s RelationalTable) String() string {
 32717  	return awsutil.Prettify(s)
 32718  }
 32719  
 32720  // GoString returns the string representation.
 32721  //
 32722  // API parameter values that are decorated as "sensitive" in the API will not
 32723  // be included in the string output. The member name will be present, but the
 32724  // value will be replaced with "sensitive".
 32725  func (s RelationalTable) GoString() string {
 32726  	return s.String()
 32727  }
 32728  
 32729  // Validate inspects the fields of the type to determine if they are valid.
 32730  func (s *RelationalTable) Validate() error {
 32731  	invalidParams := request.ErrInvalidParams{Context: "RelationalTable"}
 32732  	if s.DataSourceArn == nil {
 32733  		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
 32734  	}
 32735  	if s.InputColumns == nil {
 32736  		invalidParams.Add(request.NewErrParamRequired("InputColumns"))
 32737  	}
 32738  	if s.InputColumns != nil && len(s.InputColumns) < 1 {
 32739  		invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1))
 32740  	}
 32741  	if s.Name == nil {
 32742  		invalidParams.Add(request.NewErrParamRequired("Name"))
 32743  	}
 32744  	if s.Name != nil && len(*s.Name) < 1 {
 32745  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 32746  	}
 32747  	if s.InputColumns != nil {
 32748  		for i, v := range s.InputColumns {
 32749  			if v == nil {
 32750  				continue
 32751  			}
 32752  			if err := v.Validate(); err != nil {
 32753  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams))
 32754  			}
 32755  		}
 32756  	}
 32757  
 32758  	if invalidParams.Len() > 0 {
 32759  		return invalidParams
 32760  	}
 32761  	return nil
 32762  }
 32763  
 32764  // SetCatalog sets the Catalog field's value.
 32765  func (s *RelationalTable) SetCatalog(v string) *RelationalTable {
 32766  	s.Catalog = &v
 32767  	return s
 32768  }
 32769  
 32770  // SetDataSourceArn sets the DataSourceArn field's value.
 32771  func (s *RelationalTable) SetDataSourceArn(v string) *RelationalTable {
 32772  	s.DataSourceArn = &v
 32773  	return s
 32774  }
 32775  
 32776  // SetInputColumns sets the InputColumns field's value.
 32777  func (s *RelationalTable) SetInputColumns(v []*InputColumn) *RelationalTable {
 32778  	s.InputColumns = v
 32779  	return s
 32780  }
 32781  
 32782  // SetName sets the Name field's value.
 32783  func (s *RelationalTable) SetName(v string) *RelationalTable {
 32784  	s.Name = &v
 32785  	return s
 32786  }
 32787  
 32788  // SetSchema sets the Schema field's value.
 32789  func (s *RelationalTable) SetSchema(v string) *RelationalTable {
 32790  	s.Schema = &v
 32791  	return s
 32792  }
 32793  
 32794  // A transform operation that renames a column.
 32795  type RenameColumnOperation struct {
 32796  	_ struct{} `type:"structure"`
 32797  
 32798  	// The name of the column to be renamed.
 32799  	//
 32800  	// ColumnName is a required field
 32801  	ColumnName *string `min:"1" type:"string" required:"true"`
 32802  
 32803  	// The new name for the column.
 32804  	//
 32805  	// NewColumnName is a required field
 32806  	NewColumnName *string `min:"1" type:"string" required:"true"`
 32807  }
 32808  
 32809  // String returns the string representation.
 32810  //
 32811  // API parameter values that are decorated as "sensitive" in the API will not
 32812  // be included in the string output. The member name will be present, but the
 32813  // value will be replaced with "sensitive".
 32814  func (s RenameColumnOperation) String() string {
 32815  	return awsutil.Prettify(s)
 32816  }
 32817  
 32818  // GoString returns the string representation.
 32819  //
 32820  // API parameter values that are decorated as "sensitive" in the API will not
 32821  // be included in the string output. The member name will be present, but the
 32822  // value will be replaced with "sensitive".
 32823  func (s RenameColumnOperation) GoString() string {
 32824  	return s.String()
 32825  }
 32826  
 32827  // Validate inspects the fields of the type to determine if they are valid.
 32828  func (s *RenameColumnOperation) Validate() error {
 32829  	invalidParams := request.ErrInvalidParams{Context: "RenameColumnOperation"}
 32830  	if s.ColumnName == nil {
 32831  		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
 32832  	}
 32833  	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
 32834  		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
 32835  	}
 32836  	if s.NewColumnName == nil {
 32837  		invalidParams.Add(request.NewErrParamRequired("NewColumnName"))
 32838  	}
 32839  	if s.NewColumnName != nil && len(*s.NewColumnName) < 1 {
 32840  		invalidParams.Add(request.NewErrParamMinLen("NewColumnName", 1))
 32841  	}
 32842  
 32843  	if invalidParams.Len() > 0 {
 32844  		return invalidParams
 32845  	}
 32846  	return nil
 32847  }
 32848  
 32849  // SetColumnName sets the ColumnName field's value.
 32850  func (s *RenameColumnOperation) SetColumnName(v string) *RenameColumnOperation {
 32851  	s.ColumnName = &v
 32852  	return s
 32853  }
 32854  
 32855  // SetNewColumnName sets the NewColumnName field's value.
 32856  func (s *RenameColumnOperation) SetNewColumnName(v string) *RenameColumnOperation {
 32857  	s.NewColumnName = &v
 32858  	return s
 32859  }
 32860  
 32861  // The resource specified already exists.
 32862  type ResourceExistsException struct {
 32863  	_            struct{}                  `type:"structure"`
 32864  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 32865  
 32866  	Message_ *string `locationName:"Message" type:"string"`
 32867  
 32868  	// The Amazon Web Services request ID for this request.
 32869  	RequestId *string `type:"string"`
 32870  
 32871  	// The resource type for this request.
 32872  	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
 32873  }
 32874  
 32875  // String returns the string representation.
 32876  //
 32877  // API parameter values that are decorated as "sensitive" in the API will not
 32878  // be included in the string output. The member name will be present, but the
 32879  // value will be replaced with "sensitive".
 32880  func (s ResourceExistsException) String() string {
 32881  	return awsutil.Prettify(s)
 32882  }
 32883  
 32884  // GoString returns the string representation.
 32885  //
 32886  // API parameter values that are decorated as "sensitive" in the API will not
 32887  // be included in the string output. The member name will be present, but the
 32888  // value will be replaced with "sensitive".
 32889  func (s ResourceExistsException) GoString() string {
 32890  	return s.String()
 32891  }
 32892  
 32893  func newErrorResourceExistsException(v protocol.ResponseMetadata) error {
 32894  	return &ResourceExistsException{
 32895  		RespMetadata: v,
 32896  	}
 32897  }
 32898  
 32899  // Code returns the exception type name.
 32900  func (s *ResourceExistsException) Code() string {
 32901  	return "ResourceExistsException"
 32902  }
 32903  
 32904  // Message returns the exception's message.
 32905  func (s *ResourceExistsException) Message() string {
 32906  	if s.Message_ != nil {
 32907  		return *s.Message_
 32908  	}
 32909  	return ""
 32910  }
 32911  
 32912  // OrigErr always returns nil, satisfies awserr.Error interface.
 32913  func (s *ResourceExistsException) OrigErr() error {
 32914  	return nil
 32915  }
 32916  
 32917  func (s *ResourceExistsException) Error() string {
 32918  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 32919  }
 32920  
 32921  // Status code returns the HTTP status code for the request's response error.
 32922  func (s *ResourceExistsException) StatusCode() int {
 32923  	return s.RespMetadata.StatusCode
 32924  }
 32925  
 32926  // RequestID returns the service's response RequestID for request.
 32927  func (s *ResourceExistsException) RequestID() string {
 32928  	return s.RespMetadata.RequestID
 32929  }
 32930  
 32931  // One or more resources can't be found.
 32932  type ResourceNotFoundException struct {
 32933  	_            struct{}                  `type:"structure"`
 32934  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 32935  
 32936  	Message_ *string `locationName:"Message" type:"string"`
 32937  
 32938  	// The Amazon Web Services request ID for this request.
 32939  	RequestId *string `type:"string"`
 32940  
 32941  	// The resource type for this request.
 32942  	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
 32943  }
 32944  
 32945  // String returns the string representation.
 32946  //
 32947  // API parameter values that are decorated as "sensitive" in the API will not
 32948  // be included in the string output. The member name will be present, but the
 32949  // value will be replaced with "sensitive".
 32950  func (s ResourceNotFoundException) String() string {
 32951  	return awsutil.Prettify(s)
 32952  }
 32953  
 32954  // GoString returns the string representation.
 32955  //
 32956  // API parameter values that are decorated as "sensitive" in the API will not
 32957  // be included in the string output. The member name will be present, but the
 32958  // value will be replaced with "sensitive".
 32959  func (s ResourceNotFoundException) GoString() string {
 32960  	return s.String()
 32961  }
 32962  
 32963  func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
 32964  	return &ResourceNotFoundException{
 32965  		RespMetadata: v,
 32966  	}
 32967  }
 32968  
 32969  // Code returns the exception type name.
 32970  func (s *ResourceNotFoundException) Code() string {
 32971  	return "ResourceNotFoundException"
 32972  }
 32973  
 32974  // Message returns the exception's message.
 32975  func (s *ResourceNotFoundException) Message() string {
 32976  	if s.Message_ != nil {
 32977  		return *s.Message_
 32978  	}
 32979  	return ""
 32980  }
 32981  
 32982  // OrigErr always returns nil, satisfies awserr.Error interface.
 32983  func (s *ResourceNotFoundException) OrigErr() error {
 32984  	return nil
 32985  }
 32986  
 32987  func (s *ResourceNotFoundException) Error() string {
 32988  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 32989  }
 32990  
 32991  // Status code returns the HTTP status code for the request's response error.
 32992  func (s *ResourceNotFoundException) StatusCode() int {
 32993  	return s.RespMetadata.StatusCode
 32994  }
 32995  
 32996  // RequestID returns the service's response RequestID for request.
 32997  func (s *ResourceNotFoundException) RequestID() string {
 32998  	return s.RespMetadata.RequestID
 32999  }
 33000  
 33001  // Permission for the resource.
 33002  type ResourcePermission struct {
 33003  	_ struct{} `type:"structure"`
 33004  
 33005  	// The IAMaction to grant or revoke permissions on.
 33006  	//
 33007  	// Actions is a required field
 33008  	Actions []*string `min:"1" type:"list" required:"true"`
 33009  
 33010  	// The Amazon Resource Name (ARN) of the principal. This can be one of the following:
 33011  	//
 33012  	//    * The ARN of an Amazon QuickSight user or group associated with a data
 33013  	//    source or dataset. (This is common.)
 33014  	//
 33015  	//    * The ARN of an Amazon QuickSight user, group, or namespace associated
 33016  	//    with an analysis, dashboard, template, or theme. (This is common.)
 33017  	//
 33018  	//    * The ARN of an Amazon Web Services account root: This is an IAMARN rather
 33019  	//    than a Amazon QuickSight ARN. Use this option only to share resources
 33020  	//    (templates) across Amazon Web Services accounts. (This is less common.)
 33021  	//
 33022  	// Principal is a required field
 33023  	Principal *string `min:"1" type:"string" required:"true"`
 33024  }
 33025  
 33026  // String returns the string representation.
 33027  //
 33028  // API parameter values that are decorated as "sensitive" in the API will not
 33029  // be included in the string output. The member name will be present, but the
 33030  // value will be replaced with "sensitive".
 33031  func (s ResourcePermission) String() string {
 33032  	return awsutil.Prettify(s)
 33033  }
 33034  
 33035  // GoString returns the string representation.
 33036  //
 33037  // API parameter values that are decorated as "sensitive" in the API will not
 33038  // be included in the string output. The member name will be present, but the
 33039  // value will be replaced with "sensitive".
 33040  func (s ResourcePermission) GoString() string {
 33041  	return s.String()
 33042  }
 33043  
 33044  // Validate inspects the fields of the type to determine if they are valid.
 33045  func (s *ResourcePermission) Validate() error {
 33046  	invalidParams := request.ErrInvalidParams{Context: "ResourcePermission"}
 33047  	if s.Actions == nil {
 33048  		invalidParams.Add(request.NewErrParamRequired("Actions"))
 33049  	}
 33050  	if s.Actions != nil && len(s.Actions) < 1 {
 33051  		invalidParams.Add(request.NewErrParamMinLen("Actions", 1))
 33052  	}
 33053  	if s.Principal == nil {
 33054  		invalidParams.Add(request.NewErrParamRequired("Principal"))
 33055  	}
 33056  	if s.Principal != nil && len(*s.Principal) < 1 {
 33057  		invalidParams.Add(request.NewErrParamMinLen("Principal", 1))
 33058  	}
 33059  
 33060  	if invalidParams.Len() > 0 {
 33061  		return invalidParams
 33062  	}
 33063  	return nil
 33064  }
 33065  
 33066  // SetActions sets the Actions field's value.
 33067  func (s *ResourcePermission) SetActions(v []*string) *ResourcePermission {
 33068  	s.Actions = v
 33069  	return s
 33070  }
 33071  
 33072  // SetPrincipal sets the Principal field's value.
 33073  func (s *ResourcePermission) SetPrincipal(v string) *ResourcePermission {
 33074  	s.Principal = &v
 33075  	return s
 33076  }
 33077  
 33078  // This resource is currently unavailable.
 33079  type ResourceUnavailableException struct {
 33080  	_            struct{}                  `type:"structure"`
 33081  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 33082  
 33083  	Message_ *string `locationName:"Message" type:"string"`
 33084  
 33085  	// The Amazon Web Services request ID for this request.
 33086  	RequestId *string `type:"string"`
 33087  
 33088  	// The resource type for this request.
 33089  	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
 33090  }
 33091  
 33092  // String returns the string representation.
 33093  //
 33094  // API parameter values that are decorated as "sensitive" in the API will not
 33095  // be included in the string output. The member name will be present, but the
 33096  // value will be replaced with "sensitive".
 33097  func (s ResourceUnavailableException) String() string {
 33098  	return awsutil.Prettify(s)
 33099  }
 33100  
 33101  // GoString returns the string representation.
 33102  //
 33103  // API parameter values that are decorated as "sensitive" in the API will not
 33104  // be included in the string output. The member name will be present, but the
 33105  // value will be replaced with "sensitive".
 33106  func (s ResourceUnavailableException) GoString() string {
 33107  	return s.String()
 33108  }
 33109  
 33110  func newErrorResourceUnavailableException(v protocol.ResponseMetadata) error {
 33111  	return &ResourceUnavailableException{
 33112  		RespMetadata: v,
 33113  	}
 33114  }
 33115  
 33116  // Code returns the exception type name.
 33117  func (s *ResourceUnavailableException) Code() string {
 33118  	return "ResourceUnavailableException"
 33119  }
 33120  
 33121  // Message returns the exception's message.
 33122  func (s *ResourceUnavailableException) Message() string {
 33123  	if s.Message_ != nil {
 33124  		return *s.Message_
 33125  	}
 33126  	return ""
 33127  }
 33128  
 33129  // OrigErr always returns nil, satisfies awserr.Error interface.
 33130  func (s *ResourceUnavailableException) OrigErr() error {
 33131  	return nil
 33132  }
 33133  
 33134  func (s *ResourceUnavailableException) Error() string {
 33135  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 33136  }
 33137  
 33138  // Status code returns the HTTP status code for the request's response error.
 33139  func (s *ResourceUnavailableException) StatusCode() int {
 33140  	return s.RespMetadata.StatusCode
 33141  }
 33142  
 33143  // RequestID returns the service's response RequestID for request.
 33144  func (s *ResourceUnavailableException) RequestID() string {
 33145  	return s.RespMetadata.RequestID
 33146  }
 33147  
 33148  type RestoreAnalysisInput struct {
 33149  	_ struct{} `type:"structure" nopayload:"true"`
 33150  
 33151  	// The ID of the analysis that you're restoring.
 33152  	//
 33153  	// AnalysisId is a required field
 33154  	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
 33155  
 33156  	// The ID of the Amazon Web Services account that contains the analysis.
 33157  	//
 33158  	// AwsAccountId is a required field
 33159  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 33160  }
 33161  
 33162  // String returns the string representation.
 33163  //
 33164  // API parameter values that are decorated as "sensitive" in the API will not
 33165  // be included in the string output. The member name will be present, but the
 33166  // value will be replaced with "sensitive".
 33167  func (s RestoreAnalysisInput) String() string {
 33168  	return awsutil.Prettify(s)
 33169  }
 33170  
 33171  // GoString returns the string representation.
 33172  //
 33173  // API parameter values that are decorated as "sensitive" in the API will not
 33174  // be included in the string output. The member name will be present, but the
 33175  // value will be replaced with "sensitive".
 33176  func (s RestoreAnalysisInput) GoString() string {
 33177  	return s.String()
 33178  }
 33179  
 33180  // Validate inspects the fields of the type to determine if they are valid.
 33181  func (s *RestoreAnalysisInput) Validate() error {
 33182  	invalidParams := request.ErrInvalidParams{Context: "RestoreAnalysisInput"}
 33183  	if s.AnalysisId == nil {
 33184  		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
 33185  	}
 33186  	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
 33187  		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
 33188  	}
 33189  	if s.AwsAccountId == nil {
 33190  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 33191  	}
 33192  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 33193  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 33194  	}
 33195  
 33196  	if invalidParams.Len() > 0 {
 33197  		return invalidParams
 33198  	}
 33199  	return nil
 33200  }
 33201  
 33202  // SetAnalysisId sets the AnalysisId field's value.
 33203  func (s *RestoreAnalysisInput) SetAnalysisId(v string) *RestoreAnalysisInput {
 33204  	s.AnalysisId = &v
 33205  	return s
 33206  }
 33207  
 33208  // SetAwsAccountId sets the AwsAccountId field's value.
 33209  func (s *RestoreAnalysisInput) SetAwsAccountId(v string) *RestoreAnalysisInput {
 33210  	s.AwsAccountId = &v
 33211  	return s
 33212  }
 33213  
 33214  type RestoreAnalysisOutput struct {
 33215  	_ struct{} `type:"structure"`
 33216  
 33217  	// The ID of the analysis that you're restoring.
 33218  	AnalysisId *string `min:"1" type:"string"`
 33219  
 33220  	// The Amazon Resource Name (ARN) of the analysis that you're restoring.
 33221  	Arn *string `type:"string"`
 33222  
 33223  	// The Amazon Web Services request ID for this operation.
 33224  	RequestId *string `type:"string"`
 33225  
 33226  	// The HTTP status of the request.
 33227  	Status *int64 `location:"statusCode" type:"integer"`
 33228  }
 33229  
 33230  // String returns the string representation.
 33231  //
 33232  // API parameter values that are decorated as "sensitive" in the API will not
 33233  // be included in the string output. The member name will be present, but the
 33234  // value will be replaced with "sensitive".
 33235  func (s RestoreAnalysisOutput) String() string {
 33236  	return awsutil.Prettify(s)
 33237  }
 33238  
 33239  // GoString returns the string representation.
 33240  //
 33241  // API parameter values that are decorated as "sensitive" in the API will not
 33242  // be included in the string output. The member name will be present, but the
 33243  // value will be replaced with "sensitive".
 33244  func (s RestoreAnalysisOutput) GoString() string {
 33245  	return s.String()
 33246  }
 33247  
 33248  // SetAnalysisId sets the AnalysisId field's value.
 33249  func (s *RestoreAnalysisOutput) SetAnalysisId(v string) *RestoreAnalysisOutput {
 33250  	s.AnalysisId = &v
 33251  	return s
 33252  }
 33253  
 33254  // SetArn sets the Arn field's value.
 33255  func (s *RestoreAnalysisOutput) SetArn(v string) *RestoreAnalysisOutput {
 33256  	s.Arn = &v
 33257  	return s
 33258  }
 33259  
 33260  // SetRequestId sets the RequestId field's value.
 33261  func (s *RestoreAnalysisOutput) SetRequestId(v string) *RestoreAnalysisOutput {
 33262  	s.RequestId = &v
 33263  	return s
 33264  }
 33265  
 33266  // SetStatus sets the Status field's value.
 33267  func (s *RestoreAnalysisOutput) SetStatus(v int64) *RestoreAnalysisOutput {
 33268  	s.Status = &v
 33269  	return s
 33270  }
 33271  
 33272  // Information about rows for a data set SPICE ingestion.
 33273  type RowInfo struct {
 33274  	_ struct{} `type:"structure"`
 33275  
 33276  	// The number of rows that were not ingested.
 33277  	RowsDropped *int64 `type:"long"`
 33278  
 33279  	// The number of rows that were ingested.
 33280  	RowsIngested *int64 `type:"long"`
 33281  }
 33282  
 33283  // String returns the string representation.
 33284  //
 33285  // API parameter values that are decorated as "sensitive" in the API will not
 33286  // be included in the string output. The member name will be present, but the
 33287  // value will be replaced with "sensitive".
 33288  func (s RowInfo) String() string {
 33289  	return awsutil.Prettify(s)
 33290  }
 33291  
 33292  // GoString returns the string representation.
 33293  //
 33294  // API parameter values that are decorated as "sensitive" in the API will not
 33295  // be included in the string output. The member name will be present, but the
 33296  // value will be replaced with "sensitive".
 33297  func (s RowInfo) GoString() string {
 33298  	return s.String()
 33299  }
 33300  
 33301  // SetRowsDropped sets the RowsDropped field's value.
 33302  func (s *RowInfo) SetRowsDropped(v int64) *RowInfo {
 33303  	s.RowsDropped = &v
 33304  	return s
 33305  }
 33306  
 33307  // SetRowsIngested sets the RowsIngested field's value.
 33308  func (s *RowInfo) SetRowsIngested(v int64) *RowInfo {
 33309  	s.RowsIngested = &v
 33310  	return s
 33311  }
 33312  
 33313  // Information about a dataset that contains permissions for row-level security
 33314  // (RLS). The permissions dataset maps fields to users or groups. For more information,
 33315  // 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)
 33316  // in the Amazon QuickSight User Guide.
 33317  //
 33318  // The option to deny permissions by setting PermissionPolicy to DENY_ACCESS
 33319  // is not supported for new RLS datasets.
 33320  type RowLevelPermissionDataSet struct {
 33321  	_ struct{} `type:"structure"`
 33322  
 33323  	// The Amazon Resource Name (ARN) of the dataset that contains permissions for
 33324  	// RLS.
 33325  	//
 33326  	// Arn is a required field
 33327  	Arn *string `type:"string" required:"true"`
 33328  
 33329  	// The user or group rules associated with the dataset that contains permissions
 33330  	// for RLS.
 33331  	//
 33332  	// By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1,
 33333  	// UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN
 33334  	// and GroupARN are required, and Namespace must not exist.
 33335  	FormatVersion *string `type:"string" enum:"RowLevelPermissionFormatVersion"`
 33336  
 33337  	// The namespace associated with the dataset that contains permissions for RLS.
 33338  	Namespace *string `type:"string"`
 33339  
 33340  	// The type of permissions to use when interpreting the permissions for RLS.
 33341  	// DENY_ACCESS is included for backward compatibility only.
 33342  	//
 33343  	// PermissionPolicy is a required field
 33344  	PermissionPolicy *string `type:"string" required:"true" enum:"RowLevelPermissionPolicy"`
 33345  
 33346  	// The status of the row-level security permission dataset. If enabled, the
 33347  	// status is ENABLED. If disabled, the status is DISABLED.
 33348  	Status *string `type:"string" enum:"Status"`
 33349  }
 33350  
 33351  // String returns the string representation.
 33352  //
 33353  // API parameter values that are decorated as "sensitive" in the API will not
 33354  // be included in the string output. The member name will be present, but the
 33355  // value will be replaced with "sensitive".
 33356  func (s RowLevelPermissionDataSet) String() string {
 33357  	return awsutil.Prettify(s)
 33358  }
 33359  
 33360  // GoString returns the string representation.
 33361  //
 33362  // API parameter values that are decorated as "sensitive" in the API will not
 33363  // be included in the string output. The member name will be present, but the
 33364  // value will be replaced with "sensitive".
 33365  func (s RowLevelPermissionDataSet) GoString() string {
 33366  	return s.String()
 33367  }
 33368  
 33369  // Validate inspects the fields of the type to determine if they are valid.
 33370  func (s *RowLevelPermissionDataSet) Validate() error {
 33371  	invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionDataSet"}
 33372  	if s.Arn == nil {
 33373  		invalidParams.Add(request.NewErrParamRequired("Arn"))
 33374  	}
 33375  	if s.PermissionPolicy == nil {
 33376  		invalidParams.Add(request.NewErrParamRequired("PermissionPolicy"))
 33377  	}
 33378  
 33379  	if invalidParams.Len() > 0 {
 33380  		return invalidParams
 33381  	}
 33382  	return nil
 33383  }
 33384  
 33385  // SetArn sets the Arn field's value.
 33386  func (s *RowLevelPermissionDataSet) SetArn(v string) *RowLevelPermissionDataSet {
 33387  	s.Arn = &v
 33388  	return s
 33389  }
 33390  
 33391  // SetFormatVersion sets the FormatVersion field's value.
 33392  func (s *RowLevelPermissionDataSet) SetFormatVersion(v string) *RowLevelPermissionDataSet {
 33393  	s.FormatVersion = &v
 33394  	return s
 33395  }
 33396  
 33397  // SetNamespace sets the Namespace field's value.
 33398  func (s *RowLevelPermissionDataSet) SetNamespace(v string) *RowLevelPermissionDataSet {
 33399  	s.Namespace = &v
 33400  	return s
 33401  }
 33402  
 33403  // SetPermissionPolicy sets the PermissionPolicy field's value.
 33404  func (s *RowLevelPermissionDataSet) SetPermissionPolicy(v string) *RowLevelPermissionDataSet {
 33405  	s.PermissionPolicy = &v
 33406  	return s
 33407  }
 33408  
 33409  // SetStatus sets the Status field's value.
 33410  func (s *RowLevelPermissionDataSet) SetStatus(v string) *RowLevelPermissionDataSet {
 33411  	s.Status = &v
 33412  	return s
 33413  }
 33414  
 33415  // The configuration of tags on a dataset to set row-level security.
 33416  type RowLevelPermissionTagConfiguration struct {
 33417  	_ struct{} `type:"structure"`
 33418  
 33419  	// The status of row-level security tags. If enabled, the status is ENABLED.
 33420  	// If disabled, the status is DISABLED.
 33421  	Status *string `type:"string" enum:"Status"`
 33422  
 33423  	// A set of rules associated with row-level security, such as the tag names
 33424  	// and columns that they are assigned to.
 33425  	//
 33426  	// TagRules is a required field
 33427  	TagRules []*RowLevelPermissionTagRule `min:"1" type:"list" required:"true"`
 33428  }
 33429  
 33430  // String returns the string representation.
 33431  //
 33432  // API parameter values that are decorated as "sensitive" in the API will not
 33433  // be included in the string output. The member name will be present, but the
 33434  // value will be replaced with "sensitive".
 33435  func (s RowLevelPermissionTagConfiguration) String() string {
 33436  	return awsutil.Prettify(s)
 33437  }
 33438  
 33439  // GoString returns the string representation.
 33440  //
 33441  // API parameter values that are decorated as "sensitive" in the API will not
 33442  // be included in the string output. The member name will be present, but the
 33443  // value will be replaced with "sensitive".
 33444  func (s RowLevelPermissionTagConfiguration) GoString() string {
 33445  	return s.String()
 33446  }
 33447  
 33448  // Validate inspects the fields of the type to determine if they are valid.
 33449  func (s *RowLevelPermissionTagConfiguration) Validate() error {
 33450  	invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionTagConfiguration"}
 33451  	if s.TagRules == nil {
 33452  		invalidParams.Add(request.NewErrParamRequired("TagRules"))
 33453  	}
 33454  	if s.TagRules != nil && len(s.TagRules) < 1 {
 33455  		invalidParams.Add(request.NewErrParamMinLen("TagRules", 1))
 33456  	}
 33457  	if s.TagRules != nil {
 33458  		for i, v := range s.TagRules {
 33459  			if v == nil {
 33460  				continue
 33461  			}
 33462  			if err := v.Validate(); err != nil {
 33463  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TagRules", i), err.(request.ErrInvalidParams))
 33464  			}
 33465  		}
 33466  	}
 33467  
 33468  	if invalidParams.Len() > 0 {
 33469  		return invalidParams
 33470  	}
 33471  	return nil
 33472  }
 33473  
 33474  // SetStatus sets the Status field's value.
 33475  func (s *RowLevelPermissionTagConfiguration) SetStatus(v string) *RowLevelPermissionTagConfiguration {
 33476  	s.Status = &v
 33477  	return s
 33478  }
 33479  
 33480  // SetTagRules sets the TagRules field's value.
 33481  func (s *RowLevelPermissionTagConfiguration) SetTagRules(v []*RowLevelPermissionTagRule) *RowLevelPermissionTagConfiguration {
 33482  	s.TagRules = v
 33483  	return s
 33484  }
 33485  
 33486  // A set of rules associated with a tag.
 33487  type RowLevelPermissionTagRule struct {
 33488  	_ struct{} `type:"structure"`
 33489  
 33490  	// The column name that a tag key is assigned to.
 33491  	//
 33492  	// ColumnName is a required field
 33493  	ColumnName *string `type:"string" required:"true"`
 33494  
 33495  	// A string that you want to use to filter by all the values in a column in
 33496  	// the dataset and don’t want to list the values one by one. For example,
 33497  	// you can use an asterisk as your match all value.
 33498  	//
 33499  	// MatchAllValue is a sensitive parameter and its value will be
 33500  	// replaced with "sensitive" in string returned by RowLevelPermissionTagRule's
 33501  	// String and GoString methods.
 33502  	MatchAllValue *string `min:"1" type:"string" sensitive:"true"`
 33503  
 33504  	// The unique key for a tag.
 33505  	//
 33506  	// TagKey is a required field
 33507  	TagKey *string `min:"1" type:"string" required:"true"`
 33508  
 33509  	// A string that you want to use to delimit the values when you pass the values
 33510  	// at run time. For example, you can delimit the values with a comma.
 33511  	TagMultiValueDelimiter *string `type:"string"`
 33512  }
 33513  
 33514  // String returns the string representation.
 33515  //
 33516  // API parameter values that are decorated as "sensitive" in the API will not
 33517  // be included in the string output. The member name will be present, but the
 33518  // value will be replaced with "sensitive".
 33519  func (s RowLevelPermissionTagRule) String() string {
 33520  	return awsutil.Prettify(s)
 33521  }
 33522  
 33523  // GoString returns the string representation.
 33524  //
 33525  // API parameter values that are decorated as "sensitive" in the API will not
 33526  // be included in the string output. The member name will be present, but the
 33527  // value will be replaced with "sensitive".
 33528  func (s RowLevelPermissionTagRule) GoString() string {
 33529  	return s.String()
 33530  }
 33531  
 33532  // Validate inspects the fields of the type to determine if they are valid.
 33533  func (s *RowLevelPermissionTagRule) Validate() error {
 33534  	invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionTagRule"}
 33535  	if s.ColumnName == nil {
 33536  		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
 33537  	}
 33538  	if s.MatchAllValue != nil && len(*s.MatchAllValue) < 1 {
 33539  		invalidParams.Add(request.NewErrParamMinLen("MatchAllValue", 1))
 33540  	}
 33541  	if s.TagKey == nil {
 33542  		invalidParams.Add(request.NewErrParamRequired("TagKey"))
 33543  	}
 33544  	if s.TagKey != nil && len(*s.TagKey) < 1 {
 33545  		invalidParams.Add(request.NewErrParamMinLen("TagKey", 1))
 33546  	}
 33547  
 33548  	if invalidParams.Len() > 0 {
 33549  		return invalidParams
 33550  	}
 33551  	return nil
 33552  }
 33553  
 33554  // SetColumnName sets the ColumnName field's value.
 33555  func (s *RowLevelPermissionTagRule) SetColumnName(v string) *RowLevelPermissionTagRule {
 33556  	s.ColumnName = &v
 33557  	return s
 33558  }
 33559  
 33560  // SetMatchAllValue sets the MatchAllValue field's value.
 33561  func (s *RowLevelPermissionTagRule) SetMatchAllValue(v string) *RowLevelPermissionTagRule {
 33562  	s.MatchAllValue = &v
 33563  	return s
 33564  }
 33565  
 33566  // SetTagKey sets the TagKey field's value.
 33567  func (s *RowLevelPermissionTagRule) SetTagKey(v string) *RowLevelPermissionTagRule {
 33568  	s.TagKey = &v
 33569  	return s
 33570  }
 33571  
 33572  // SetTagMultiValueDelimiter sets the TagMultiValueDelimiter field's value.
 33573  func (s *RowLevelPermissionTagRule) SetTagMultiValueDelimiter(v string) *RowLevelPermissionTagRule {
 33574  	s.TagMultiValueDelimiter = &v
 33575  	return s
 33576  }
 33577  
 33578  // The parameters for S3.
 33579  type S3Parameters struct {
 33580  	_ struct{} `type:"structure"`
 33581  
 33582  	// Location of the Amazon S3 manifest file. This is NULL if the manifest file
 33583  	// was uploaded into Amazon QuickSight.
 33584  	//
 33585  	// ManifestFileLocation is a required field
 33586  	ManifestFileLocation *ManifestFileLocation `type:"structure" required:"true"`
 33587  }
 33588  
 33589  // String returns the string representation.
 33590  //
 33591  // API parameter values that are decorated as "sensitive" in the API will not
 33592  // be included in the string output. The member name will be present, but the
 33593  // value will be replaced with "sensitive".
 33594  func (s S3Parameters) String() string {
 33595  	return awsutil.Prettify(s)
 33596  }
 33597  
 33598  // GoString returns the string representation.
 33599  //
 33600  // API parameter values that are decorated as "sensitive" in the API will not
 33601  // be included in the string output. The member name will be present, but the
 33602  // value will be replaced with "sensitive".
 33603  func (s S3Parameters) GoString() string {
 33604  	return s.String()
 33605  }
 33606  
 33607  // Validate inspects the fields of the type to determine if they are valid.
 33608  func (s *S3Parameters) Validate() error {
 33609  	invalidParams := request.ErrInvalidParams{Context: "S3Parameters"}
 33610  	if s.ManifestFileLocation == nil {
 33611  		invalidParams.Add(request.NewErrParamRequired("ManifestFileLocation"))
 33612  	}
 33613  	if s.ManifestFileLocation != nil {
 33614  		if err := s.ManifestFileLocation.Validate(); err != nil {
 33615  			invalidParams.AddNested("ManifestFileLocation", err.(request.ErrInvalidParams))
 33616  		}
 33617  	}
 33618  
 33619  	if invalidParams.Len() > 0 {
 33620  		return invalidParams
 33621  	}
 33622  	return nil
 33623  }
 33624  
 33625  // SetManifestFileLocation sets the ManifestFileLocation field's value.
 33626  func (s *S3Parameters) SetManifestFileLocation(v *ManifestFileLocation) *S3Parameters {
 33627  	s.ManifestFileLocation = v
 33628  	return s
 33629  }
 33630  
 33631  // A physical table type for an S3 data source.
 33632  type S3Source struct {
 33633  	_ struct{} `type:"structure"`
 33634  
 33635  	// The Amazon Resource Name (ARN) for the data source.
 33636  	//
 33637  	// DataSourceArn is a required field
 33638  	DataSourceArn *string `type:"string" required:"true"`
 33639  
 33640  	// A physical table type for an S3 data source.
 33641  	//
 33642  	// For files that aren't JSON, only STRING data types are supported in input
 33643  	// columns.
 33644  	//
 33645  	// InputColumns is a required field
 33646  	InputColumns []*InputColumn `min:"1" type:"list" required:"true"`
 33647  
 33648  	// Information about the format for the S3 source file or files.
 33649  	UploadSettings *UploadSettings `type:"structure"`
 33650  }
 33651  
 33652  // String returns the string representation.
 33653  //
 33654  // API parameter values that are decorated as "sensitive" in the API will not
 33655  // be included in the string output. The member name will be present, but the
 33656  // value will be replaced with "sensitive".
 33657  func (s S3Source) String() string {
 33658  	return awsutil.Prettify(s)
 33659  }
 33660  
 33661  // GoString returns the string representation.
 33662  //
 33663  // API parameter values that are decorated as "sensitive" in the API will not
 33664  // be included in the string output. The member name will be present, but the
 33665  // value will be replaced with "sensitive".
 33666  func (s S3Source) GoString() string {
 33667  	return s.String()
 33668  }
 33669  
 33670  // Validate inspects the fields of the type to determine if they are valid.
 33671  func (s *S3Source) Validate() error {
 33672  	invalidParams := request.ErrInvalidParams{Context: "S3Source"}
 33673  	if s.DataSourceArn == nil {
 33674  		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
 33675  	}
 33676  	if s.InputColumns == nil {
 33677  		invalidParams.Add(request.NewErrParamRequired("InputColumns"))
 33678  	}
 33679  	if s.InputColumns != nil && len(s.InputColumns) < 1 {
 33680  		invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1))
 33681  	}
 33682  	if s.InputColumns != nil {
 33683  		for i, v := range s.InputColumns {
 33684  			if v == nil {
 33685  				continue
 33686  			}
 33687  			if err := v.Validate(); err != nil {
 33688  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams))
 33689  			}
 33690  		}
 33691  	}
 33692  	if s.UploadSettings != nil {
 33693  		if err := s.UploadSettings.Validate(); err != nil {
 33694  			invalidParams.AddNested("UploadSettings", err.(request.ErrInvalidParams))
 33695  		}
 33696  	}
 33697  
 33698  	if invalidParams.Len() > 0 {
 33699  		return invalidParams
 33700  	}
 33701  	return nil
 33702  }
 33703  
 33704  // SetDataSourceArn sets the DataSourceArn field's value.
 33705  func (s *S3Source) SetDataSourceArn(v string) *S3Source {
 33706  	s.DataSourceArn = &v
 33707  	return s
 33708  }
 33709  
 33710  // SetInputColumns sets the InputColumns field's value.
 33711  func (s *S3Source) SetInputColumns(v []*InputColumn) *S3Source {
 33712  	s.InputColumns = v
 33713  	return s
 33714  }
 33715  
 33716  // SetUploadSettings sets the UploadSettings field's value.
 33717  func (s *S3Source) SetUploadSettings(v *UploadSettings) *S3Source {
 33718  	s.UploadSettings = v
 33719  	return s
 33720  }
 33721  
 33722  type SearchAnalysesInput struct {
 33723  	_ struct{} `type:"structure"`
 33724  
 33725  	// The ID of the Amazon Web Services account that contains the analyses that
 33726  	// you're searching for.
 33727  	//
 33728  	// AwsAccountId is a required field
 33729  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 33730  
 33731  	// The structure for the search filters that you want to apply to your search.
 33732  	//
 33733  	// Filters is a required field
 33734  	Filters []*AnalysisSearchFilter `min:"1" type:"list" required:"true"`
 33735  
 33736  	// The maximum number of results to return.
 33737  	MaxResults *int64 `min:"1" type:"integer"`
 33738  
 33739  	// A pagination token that can be used in a subsequent request.
 33740  	NextToken *string `type:"string"`
 33741  }
 33742  
 33743  // String returns the string representation.
 33744  //
 33745  // API parameter values that are decorated as "sensitive" in the API will not
 33746  // be included in the string output. The member name will be present, but the
 33747  // value will be replaced with "sensitive".
 33748  func (s SearchAnalysesInput) String() string {
 33749  	return awsutil.Prettify(s)
 33750  }
 33751  
 33752  // GoString returns the string representation.
 33753  //
 33754  // API parameter values that are decorated as "sensitive" in the API will not
 33755  // be included in the string output. The member name will be present, but the
 33756  // value will be replaced with "sensitive".
 33757  func (s SearchAnalysesInput) GoString() string {
 33758  	return s.String()
 33759  }
 33760  
 33761  // Validate inspects the fields of the type to determine if they are valid.
 33762  func (s *SearchAnalysesInput) Validate() error {
 33763  	invalidParams := request.ErrInvalidParams{Context: "SearchAnalysesInput"}
 33764  	if s.AwsAccountId == nil {
 33765  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 33766  	}
 33767  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 33768  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 33769  	}
 33770  	if s.Filters == nil {
 33771  		invalidParams.Add(request.NewErrParamRequired("Filters"))
 33772  	}
 33773  	if s.Filters != nil && len(s.Filters) < 1 {
 33774  		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
 33775  	}
 33776  	if s.MaxResults != nil && *s.MaxResults < 1 {
 33777  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 33778  	}
 33779  
 33780  	if invalidParams.Len() > 0 {
 33781  		return invalidParams
 33782  	}
 33783  	return nil
 33784  }
 33785  
 33786  // SetAwsAccountId sets the AwsAccountId field's value.
 33787  func (s *SearchAnalysesInput) SetAwsAccountId(v string) *SearchAnalysesInput {
 33788  	s.AwsAccountId = &v
 33789  	return s
 33790  }
 33791  
 33792  // SetFilters sets the Filters field's value.
 33793  func (s *SearchAnalysesInput) SetFilters(v []*AnalysisSearchFilter) *SearchAnalysesInput {
 33794  	s.Filters = v
 33795  	return s
 33796  }
 33797  
 33798  // SetMaxResults sets the MaxResults field's value.
 33799  func (s *SearchAnalysesInput) SetMaxResults(v int64) *SearchAnalysesInput {
 33800  	s.MaxResults = &v
 33801  	return s
 33802  }
 33803  
 33804  // SetNextToken sets the NextToken field's value.
 33805  func (s *SearchAnalysesInput) SetNextToken(v string) *SearchAnalysesInput {
 33806  	s.NextToken = &v
 33807  	return s
 33808  }
 33809  
 33810  type SearchAnalysesOutput struct {
 33811  	_ struct{} `type:"structure"`
 33812  
 33813  	// Metadata describing the analyses that you searched for.
 33814  	AnalysisSummaryList []*AnalysisSummary `type:"list"`
 33815  
 33816  	// A pagination token that can be used in a subsequent request.
 33817  	NextToken *string `type:"string"`
 33818  
 33819  	// The Amazon Web Services request ID for this operation.
 33820  	RequestId *string `type:"string"`
 33821  
 33822  	// The HTTP status of the request.
 33823  	Status *int64 `location:"statusCode" type:"integer"`
 33824  }
 33825  
 33826  // String returns the string representation.
 33827  //
 33828  // API parameter values that are decorated as "sensitive" in the API will not
 33829  // be included in the string output. The member name will be present, but the
 33830  // value will be replaced with "sensitive".
 33831  func (s SearchAnalysesOutput) String() string {
 33832  	return awsutil.Prettify(s)
 33833  }
 33834  
 33835  // GoString returns the string representation.
 33836  //
 33837  // API parameter values that are decorated as "sensitive" in the API will not
 33838  // be included in the string output. The member name will be present, but the
 33839  // value will be replaced with "sensitive".
 33840  func (s SearchAnalysesOutput) GoString() string {
 33841  	return s.String()
 33842  }
 33843  
 33844  // SetAnalysisSummaryList sets the AnalysisSummaryList field's value.
 33845  func (s *SearchAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *SearchAnalysesOutput {
 33846  	s.AnalysisSummaryList = v
 33847  	return s
 33848  }
 33849  
 33850  // SetNextToken sets the NextToken field's value.
 33851  func (s *SearchAnalysesOutput) SetNextToken(v string) *SearchAnalysesOutput {
 33852  	s.NextToken = &v
 33853  	return s
 33854  }
 33855  
 33856  // SetRequestId sets the RequestId field's value.
 33857  func (s *SearchAnalysesOutput) SetRequestId(v string) *SearchAnalysesOutput {
 33858  	s.RequestId = &v
 33859  	return s
 33860  }
 33861  
 33862  // SetStatus sets the Status field's value.
 33863  func (s *SearchAnalysesOutput) SetStatus(v int64) *SearchAnalysesOutput {
 33864  	s.Status = &v
 33865  	return s
 33866  }
 33867  
 33868  type SearchDashboardsInput struct {
 33869  	_ struct{} `type:"structure"`
 33870  
 33871  	// The ID of the Amazon Web Services account that contains the user whose dashboards
 33872  	// you're searching for.
 33873  	//
 33874  	// AwsAccountId is a required field
 33875  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 33876  
 33877  	// The filters to apply to the search. Currently, you can search only by user
 33878  	// name, for example, "Filters": [ { "Name": "QUICKSIGHT_USER", "Operator":
 33879  	// "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1"
 33880  	// } ]
 33881  	//
 33882  	// Filters is a required field
 33883  	Filters []*DashboardSearchFilter `min:"1" type:"list" required:"true"`
 33884  
 33885  	// The maximum number of results to be returned per request.
 33886  	MaxResults *int64 `min:"1" type:"integer"`
 33887  
 33888  	// The token for the next set of results, or null if there are no more results.
 33889  	NextToken *string `type:"string"`
 33890  }
 33891  
 33892  // String returns the string representation.
 33893  //
 33894  // API parameter values that are decorated as "sensitive" in the API will not
 33895  // be included in the string output. The member name will be present, but the
 33896  // value will be replaced with "sensitive".
 33897  func (s SearchDashboardsInput) String() string {
 33898  	return awsutil.Prettify(s)
 33899  }
 33900  
 33901  // GoString returns the string representation.
 33902  //
 33903  // API parameter values that are decorated as "sensitive" in the API will not
 33904  // be included in the string output. The member name will be present, but the
 33905  // value will be replaced with "sensitive".
 33906  func (s SearchDashboardsInput) GoString() string {
 33907  	return s.String()
 33908  }
 33909  
 33910  // Validate inspects the fields of the type to determine if they are valid.
 33911  func (s *SearchDashboardsInput) Validate() error {
 33912  	invalidParams := request.ErrInvalidParams{Context: "SearchDashboardsInput"}
 33913  	if s.AwsAccountId == nil {
 33914  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 33915  	}
 33916  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 33917  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 33918  	}
 33919  	if s.Filters == nil {
 33920  		invalidParams.Add(request.NewErrParamRequired("Filters"))
 33921  	}
 33922  	if s.Filters != nil && len(s.Filters) < 1 {
 33923  		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
 33924  	}
 33925  	if s.MaxResults != nil && *s.MaxResults < 1 {
 33926  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 33927  	}
 33928  	if s.Filters != nil {
 33929  		for i, v := range s.Filters {
 33930  			if v == nil {
 33931  				continue
 33932  			}
 33933  			if err := v.Validate(); err != nil {
 33934  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
 33935  			}
 33936  		}
 33937  	}
 33938  
 33939  	if invalidParams.Len() > 0 {
 33940  		return invalidParams
 33941  	}
 33942  	return nil
 33943  }
 33944  
 33945  // SetAwsAccountId sets the AwsAccountId field's value.
 33946  func (s *SearchDashboardsInput) SetAwsAccountId(v string) *SearchDashboardsInput {
 33947  	s.AwsAccountId = &v
 33948  	return s
 33949  }
 33950  
 33951  // SetFilters sets the Filters field's value.
 33952  func (s *SearchDashboardsInput) SetFilters(v []*DashboardSearchFilter) *SearchDashboardsInput {
 33953  	s.Filters = v
 33954  	return s
 33955  }
 33956  
 33957  // SetMaxResults sets the MaxResults field's value.
 33958  func (s *SearchDashboardsInput) SetMaxResults(v int64) *SearchDashboardsInput {
 33959  	s.MaxResults = &v
 33960  	return s
 33961  }
 33962  
 33963  // SetNextToken sets the NextToken field's value.
 33964  func (s *SearchDashboardsInput) SetNextToken(v string) *SearchDashboardsInput {
 33965  	s.NextToken = &v
 33966  	return s
 33967  }
 33968  
 33969  type SearchDashboardsOutput struct {
 33970  	_ struct{} `type:"structure"`
 33971  
 33972  	// The list of dashboards owned by the user specified in Filters in your request.
 33973  	DashboardSummaryList []*DashboardSummary `type:"list"`
 33974  
 33975  	// The token for the next set of results, or null if there are no more results.
 33976  	NextToken *string `type:"string"`
 33977  
 33978  	// The Amazon Web Services request ID for this operation.
 33979  	RequestId *string `type:"string"`
 33980  
 33981  	// The HTTP status of the request.
 33982  	Status *int64 `location:"statusCode" type:"integer"`
 33983  }
 33984  
 33985  // String returns the string representation.
 33986  //
 33987  // API parameter values that are decorated as "sensitive" in the API will not
 33988  // be included in the string output. The member name will be present, but the
 33989  // value will be replaced with "sensitive".
 33990  func (s SearchDashboardsOutput) String() string {
 33991  	return awsutil.Prettify(s)
 33992  }
 33993  
 33994  // GoString returns the string representation.
 33995  //
 33996  // API parameter values that are decorated as "sensitive" in the API will not
 33997  // be included in the string output. The member name will be present, but the
 33998  // value will be replaced with "sensitive".
 33999  func (s SearchDashboardsOutput) GoString() string {
 34000  	return s.String()
 34001  }
 34002  
 34003  // SetDashboardSummaryList sets the DashboardSummaryList field's value.
 34004  func (s *SearchDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *SearchDashboardsOutput {
 34005  	s.DashboardSummaryList = v
 34006  	return s
 34007  }
 34008  
 34009  // SetNextToken sets the NextToken field's value.
 34010  func (s *SearchDashboardsOutput) SetNextToken(v string) *SearchDashboardsOutput {
 34011  	s.NextToken = &v
 34012  	return s
 34013  }
 34014  
 34015  // SetRequestId sets the RequestId field's value.
 34016  func (s *SearchDashboardsOutput) SetRequestId(v string) *SearchDashboardsOutput {
 34017  	s.RequestId = &v
 34018  	return s
 34019  }
 34020  
 34021  // SetStatus sets the Status field's value.
 34022  func (s *SearchDashboardsOutput) SetStatus(v int64) *SearchDashboardsOutput {
 34023  	s.Status = &v
 34024  	return s
 34025  }
 34026  
 34027  type SearchFoldersInput struct {
 34028  	_ struct{} `type:"structure"`
 34029  
 34030  	// The AWS account ID.
 34031  	//
 34032  	// AwsAccountId is a required field
 34033  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 34034  
 34035  	// The filters to apply to the search. Currently, you can search only by the
 34036  	// parent folder ARN. For example, "Filters": [ { "Name": "PARENT_FOLDER_ARN",
 34037  	// "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:folder/folderId"
 34038  	// } ].
 34039  	//
 34040  	// Filters is a required field
 34041  	Filters []*FolderSearchFilter `type:"list" required:"true"`
 34042  
 34043  	// The maximum number of results to be returned per request.
 34044  	MaxResults *int64 `min:"1" type:"integer"`
 34045  
 34046  	// The token for the next set of results, or null if there are no more results.
 34047  	NextToken *string `type:"string"`
 34048  }
 34049  
 34050  // String returns the string representation.
 34051  //
 34052  // API parameter values that are decorated as "sensitive" in the API will not
 34053  // be included in the string output. The member name will be present, but the
 34054  // value will be replaced with "sensitive".
 34055  func (s SearchFoldersInput) String() string {
 34056  	return awsutil.Prettify(s)
 34057  }
 34058  
 34059  // GoString returns the string representation.
 34060  //
 34061  // API parameter values that are decorated as "sensitive" in the API will not
 34062  // be included in the string output. The member name will be present, but the
 34063  // value will be replaced with "sensitive".
 34064  func (s SearchFoldersInput) GoString() string {
 34065  	return s.String()
 34066  }
 34067  
 34068  // Validate inspects the fields of the type to determine if they are valid.
 34069  func (s *SearchFoldersInput) Validate() error {
 34070  	invalidParams := request.ErrInvalidParams{Context: "SearchFoldersInput"}
 34071  	if s.AwsAccountId == nil {
 34072  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 34073  	}
 34074  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 34075  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 34076  	}
 34077  	if s.Filters == nil {
 34078  		invalidParams.Add(request.NewErrParamRequired("Filters"))
 34079  	}
 34080  	if s.MaxResults != nil && *s.MaxResults < 1 {
 34081  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
 34082  	}
 34083  
 34084  	if invalidParams.Len() > 0 {
 34085  		return invalidParams
 34086  	}
 34087  	return nil
 34088  }
 34089  
 34090  // SetAwsAccountId sets the AwsAccountId field's value.
 34091  func (s *SearchFoldersInput) SetAwsAccountId(v string) *SearchFoldersInput {
 34092  	s.AwsAccountId = &v
 34093  	return s
 34094  }
 34095  
 34096  // SetFilters sets the Filters field's value.
 34097  func (s *SearchFoldersInput) SetFilters(v []*FolderSearchFilter) *SearchFoldersInput {
 34098  	s.Filters = v
 34099  	return s
 34100  }
 34101  
 34102  // SetMaxResults sets the MaxResults field's value.
 34103  func (s *SearchFoldersInput) SetMaxResults(v int64) *SearchFoldersInput {
 34104  	s.MaxResults = &v
 34105  	return s
 34106  }
 34107  
 34108  // SetNextToken sets the NextToken field's value.
 34109  func (s *SearchFoldersInput) SetNextToken(v string) *SearchFoldersInput {
 34110  	s.NextToken = &v
 34111  	return s
 34112  }
 34113  
 34114  type SearchFoldersOutput struct {
 34115  	_ struct{} `type:"structure"`
 34116  
 34117  	// A structure that contains all of the folders in your AWS account. This structure
 34118  	// provides basic information about the folders.
 34119  	FolderSummaryList []*FolderSummary `type:"list"`
 34120  
 34121  	// The token for the next set of results, or null if there are no more results.
 34122  	NextToken *string `type:"string"`
 34123  
 34124  	// The request ID.
 34125  	RequestId *string `type:"string"`
 34126  
 34127  	// The status. If succeeded, the status is SC_OK.
 34128  	Status *int64 `location:"statusCode" type:"integer"`
 34129  }
 34130  
 34131  // String returns the string representation.
 34132  //
 34133  // API parameter values that are decorated as "sensitive" in the API will not
 34134  // be included in the string output. The member name will be present, but the
 34135  // value will be replaced with "sensitive".
 34136  func (s SearchFoldersOutput) String() string {
 34137  	return awsutil.Prettify(s)
 34138  }
 34139  
 34140  // GoString returns the string representation.
 34141  //
 34142  // API parameter values that are decorated as "sensitive" in the API will not
 34143  // be included in the string output. The member name will be present, but the
 34144  // value will be replaced with "sensitive".
 34145  func (s SearchFoldersOutput) GoString() string {
 34146  	return s.String()
 34147  }
 34148  
 34149  // SetFolderSummaryList sets the FolderSummaryList field's value.
 34150  func (s *SearchFoldersOutput) SetFolderSummaryList(v []*FolderSummary) *SearchFoldersOutput {
 34151  	s.FolderSummaryList = v
 34152  	return s
 34153  }
 34154  
 34155  // SetNextToken sets the NextToken field's value.
 34156  func (s *SearchFoldersOutput) SetNextToken(v string) *SearchFoldersOutput {
 34157  	s.NextToken = &v
 34158  	return s
 34159  }
 34160  
 34161  // SetRequestId sets the RequestId field's value.
 34162  func (s *SearchFoldersOutput) SetRequestId(v string) *SearchFoldersOutput {
 34163  	s.RequestId = &v
 34164  	return s
 34165  }
 34166  
 34167  // SetStatus sets the Status field's value.
 34168  func (s *SearchFoldersOutput) SetStatus(v int64) *SearchFoldersOutput {
 34169  	s.Status = &v
 34170  	return s
 34171  }
 34172  
 34173  // The parameters for ServiceNow.
 34174  type ServiceNowParameters struct {
 34175  	_ struct{} `type:"structure"`
 34176  
 34177  	// URL of the base site.
 34178  	//
 34179  	// SiteBaseUrl is a required field
 34180  	SiteBaseUrl *string `min:"1" type:"string" required:"true"`
 34181  }
 34182  
 34183  // String returns the string representation.
 34184  //
 34185  // API parameter values that are decorated as "sensitive" in the API will not
 34186  // be included in the string output. The member name will be present, but the
 34187  // value will be replaced with "sensitive".
 34188  func (s ServiceNowParameters) String() string {
 34189  	return awsutil.Prettify(s)
 34190  }
 34191  
 34192  // GoString returns the string representation.
 34193  //
 34194  // API parameter values that are decorated as "sensitive" in the API will not
 34195  // be included in the string output. The member name will be present, but the
 34196  // value will be replaced with "sensitive".
 34197  func (s ServiceNowParameters) GoString() string {
 34198  	return s.String()
 34199  }
 34200  
 34201  // Validate inspects the fields of the type to determine if they are valid.
 34202  func (s *ServiceNowParameters) Validate() error {
 34203  	invalidParams := request.ErrInvalidParams{Context: "ServiceNowParameters"}
 34204  	if s.SiteBaseUrl == nil {
 34205  		invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl"))
 34206  	}
 34207  	if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 {
 34208  		invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1))
 34209  	}
 34210  
 34211  	if invalidParams.Len() > 0 {
 34212  		return invalidParams
 34213  	}
 34214  	return nil
 34215  }
 34216  
 34217  // SetSiteBaseUrl sets the SiteBaseUrl field's value.
 34218  func (s *ServiceNowParameters) SetSiteBaseUrl(v string) *ServiceNowParameters {
 34219  	s.SiteBaseUrl = &v
 34220  	return s
 34221  }
 34222  
 34223  // The number of minutes specified for the lifetime of a session isn't valid.
 34224  // The session lifetime must be 15-600 minutes.
 34225  type SessionLifetimeInMinutesInvalidException struct {
 34226  	_            struct{}                  `type:"structure"`
 34227  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 34228  
 34229  	Message_ *string `locationName:"Message" type:"string"`
 34230  
 34231  	// The Amazon Web Services request ID for this request.
 34232  	RequestId *string `type:"string"`
 34233  }
 34234  
 34235  // String returns the string representation.
 34236  //
 34237  // API parameter values that are decorated as "sensitive" in the API will not
 34238  // be included in the string output. The member name will be present, but the
 34239  // value will be replaced with "sensitive".
 34240  func (s SessionLifetimeInMinutesInvalidException) String() string {
 34241  	return awsutil.Prettify(s)
 34242  }
 34243  
 34244  // GoString returns the string representation.
 34245  //
 34246  // API parameter values that are decorated as "sensitive" in the API will not
 34247  // be included in the string output. The member name will be present, but the
 34248  // value will be replaced with "sensitive".
 34249  func (s SessionLifetimeInMinutesInvalidException) GoString() string {
 34250  	return s.String()
 34251  }
 34252  
 34253  func newErrorSessionLifetimeInMinutesInvalidException(v protocol.ResponseMetadata) error {
 34254  	return &SessionLifetimeInMinutesInvalidException{
 34255  		RespMetadata: v,
 34256  	}
 34257  }
 34258  
 34259  // Code returns the exception type name.
 34260  func (s *SessionLifetimeInMinutesInvalidException) Code() string {
 34261  	return "SessionLifetimeInMinutesInvalidException"
 34262  }
 34263  
 34264  // Message returns the exception's message.
 34265  func (s *SessionLifetimeInMinutesInvalidException) Message() string {
 34266  	if s.Message_ != nil {
 34267  		return *s.Message_
 34268  	}
 34269  	return ""
 34270  }
 34271  
 34272  // OrigErr always returns nil, satisfies awserr.Error interface.
 34273  func (s *SessionLifetimeInMinutesInvalidException) OrigErr() error {
 34274  	return nil
 34275  }
 34276  
 34277  func (s *SessionLifetimeInMinutesInvalidException) Error() string {
 34278  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 34279  }
 34280  
 34281  // Status code returns the HTTP status code for the request's response error.
 34282  func (s *SessionLifetimeInMinutesInvalidException) StatusCode() int {
 34283  	return s.RespMetadata.StatusCode
 34284  }
 34285  
 34286  // RequestID returns the service's response RequestID for request.
 34287  func (s *SessionLifetimeInMinutesInvalidException) RequestID() string {
 34288  	return s.RespMetadata.RequestID
 34289  }
 34290  
 34291  // The key-value pair used for the row-level security tags feature.
 34292  type SessionTag struct {
 34293  	_ struct{} `type:"structure"`
 34294  
 34295  	// The key for the tag.
 34296  	//
 34297  	// Key is a required field
 34298  	Key *string `min:"1" type:"string" required:"true"`
 34299  
 34300  	// The value that you want to assign the tag.
 34301  	//
 34302  	// Value is a sensitive parameter and its value will be
 34303  	// replaced with "sensitive" in string returned by SessionTag's
 34304  	// String and GoString methods.
 34305  	//
 34306  	// Value is a required field
 34307  	Value *string `min:"1" type:"string" required:"true" sensitive:"true"`
 34308  }
 34309  
 34310  // String returns the string representation.
 34311  //
 34312  // API parameter values that are decorated as "sensitive" in the API will not
 34313  // be included in the string output. The member name will be present, but the
 34314  // value will be replaced with "sensitive".
 34315  func (s SessionTag) String() string {
 34316  	return awsutil.Prettify(s)
 34317  }
 34318  
 34319  // GoString returns the string representation.
 34320  //
 34321  // API parameter values that are decorated as "sensitive" in the API will not
 34322  // be included in the string output. The member name will be present, but the
 34323  // value will be replaced with "sensitive".
 34324  func (s SessionTag) GoString() string {
 34325  	return s.String()
 34326  }
 34327  
 34328  // Validate inspects the fields of the type to determine if they are valid.
 34329  func (s *SessionTag) Validate() error {
 34330  	invalidParams := request.ErrInvalidParams{Context: "SessionTag"}
 34331  	if s.Key == nil {
 34332  		invalidParams.Add(request.NewErrParamRequired("Key"))
 34333  	}
 34334  	if s.Key != nil && len(*s.Key) < 1 {
 34335  		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
 34336  	}
 34337  	if s.Value == nil {
 34338  		invalidParams.Add(request.NewErrParamRequired("Value"))
 34339  	}
 34340  	if s.Value != nil && len(*s.Value) < 1 {
 34341  		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
 34342  	}
 34343  
 34344  	if invalidParams.Len() > 0 {
 34345  		return invalidParams
 34346  	}
 34347  	return nil
 34348  }
 34349  
 34350  // SetKey sets the Key field's value.
 34351  func (s *SessionTag) SetKey(v string) *SessionTag {
 34352  	s.Key = &v
 34353  	return s
 34354  }
 34355  
 34356  // SetValue sets the Value field's value.
 34357  func (s *SessionTag) SetValue(v string) *SessionTag {
 34358  	s.Value = &v
 34359  	return s
 34360  }
 34361  
 34362  // A sheet, which is an object that contains a set of visuals that are viewed
 34363  // together on one page in Amazon QuickSight. Every analysis and dashboard contains
 34364  // at least one sheet. Each sheet contains at least one visualization widget,
 34365  // for example a chart, pivot table, or narrative insight. Sheets can be associated
 34366  // with other components, such as controls, filters, and so on.
 34367  type Sheet struct {
 34368  	_ struct{} `type:"structure"`
 34369  
 34370  	// The name of a sheet. This name is displayed on the sheet's tab in the Amazon
 34371  	// QuickSight console.
 34372  	Name *string `type:"string"`
 34373  
 34374  	// The unique identifier associated with a sheet.
 34375  	SheetId *string `min:"1" type:"string"`
 34376  }
 34377  
 34378  // String returns the string representation.
 34379  //
 34380  // API parameter values that are decorated as "sensitive" in the API will not
 34381  // be included in the string output. The member name will be present, but the
 34382  // value will be replaced with "sensitive".
 34383  func (s Sheet) String() string {
 34384  	return awsutil.Prettify(s)
 34385  }
 34386  
 34387  // GoString returns the string representation.
 34388  //
 34389  // API parameter values that are decorated as "sensitive" in the API will not
 34390  // be included in the string output. The member name will be present, but the
 34391  // value will be replaced with "sensitive".
 34392  func (s Sheet) GoString() string {
 34393  	return s.String()
 34394  }
 34395  
 34396  // SetName sets the Name field's value.
 34397  func (s *Sheet) SetName(v string) *Sheet {
 34398  	s.Name = &v
 34399  	return s
 34400  }
 34401  
 34402  // SetSheetId sets the SheetId field's value.
 34403  func (s *Sheet) SetSheetId(v string) *Sheet {
 34404  	s.SheetId = &v
 34405  	return s
 34406  }
 34407  
 34408  // Sheet controls option.
 34409  type SheetControlsOption struct {
 34410  	_ struct{} `type:"structure"`
 34411  
 34412  	// Visibility state.
 34413  	VisibilityState *string `type:"string" enum:"DashboardUIState"`
 34414  }
 34415  
 34416  // String returns the string representation.
 34417  //
 34418  // API parameter values that are decorated as "sensitive" in the API will not
 34419  // be included in the string output. The member name will be present, but the
 34420  // value will be replaced with "sensitive".
 34421  func (s SheetControlsOption) String() string {
 34422  	return awsutil.Prettify(s)
 34423  }
 34424  
 34425  // GoString returns the string representation.
 34426  //
 34427  // API parameter values that are decorated as "sensitive" in the API will not
 34428  // be included in the string output. The member name will be present, but the
 34429  // value will be replaced with "sensitive".
 34430  func (s SheetControlsOption) GoString() string {
 34431  	return s.String()
 34432  }
 34433  
 34434  // SetVisibilityState sets the VisibilityState field's value.
 34435  func (s *SheetControlsOption) SetVisibilityState(v string) *SheetControlsOption {
 34436  	s.VisibilityState = &v
 34437  	return s
 34438  }
 34439  
 34440  // The theme display options for sheets.
 34441  type SheetStyle struct {
 34442  	_ struct{} `type:"structure"`
 34443  
 34444  	// The display options for tiles.
 34445  	Tile *TileStyle `type:"structure"`
 34446  
 34447  	// The layout options for tiles.
 34448  	TileLayout *TileLayoutStyle `type:"structure"`
 34449  }
 34450  
 34451  // String returns the string representation.
 34452  //
 34453  // API parameter values that are decorated as "sensitive" in the API will not
 34454  // be included in the string output. The member name will be present, but the
 34455  // value will be replaced with "sensitive".
 34456  func (s SheetStyle) String() string {
 34457  	return awsutil.Prettify(s)
 34458  }
 34459  
 34460  // GoString returns the string representation.
 34461  //
 34462  // API parameter values that are decorated as "sensitive" in the API will not
 34463  // be included in the string output. The member name will be present, but the
 34464  // value will be replaced with "sensitive".
 34465  func (s SheetStyle) GoString() string {
 34466  	return s.String()
 34467  }
 34468  
 34469  // SetTile sets the Tile field's value.
 34470  func (s *SheetStyle) SetTile(v *TileStyle) *SheetStyle {
 34471  	s.Tile = v
 34472  	return s
 34473  }
 34474  
 34475  // SetTileLayout sets the TileLayout field's value.
 34476  func (s *SheetStyle) SetTileLayout(v *TileLayoutStyle) *SheetStyle {
 34477  	s.TileLayout = v
 34478  	return s
 34479  }
 34480  
 34481  // The parameters for Snowflake.
 34482  type SnowflakeParameters struct {
 34483  	_ struct{} `type:"structure"`
 34484  
 34485  	// Database.
 34486  	//
 34487  	// Database is a required field
 34488  	Database *string `min:"1" type:"string" required:"true"`
 34489  
 34490  	// Host.
 34491  	//
 34492  	// Host is a required field
 34493  	Host *string `min:"1" type:"string" required:"true"`
 34494  
 34495  	// Warehouse.
 34496  	//
 34497  	// Warehouse is a required field
 34498  	Warehouse *string `type:"string" required:"true"`
 34499  }
 34500  
 34501  // String returns the string representation.
 34502  //
 34503  // API parameter values that are decorated as "sensitive" in the API will not
 34504  // be included in the string output. The member name will be present, but the
 34505  // value will be replaced with "sensitive".
 34506  func (s SnowflakeParameters) String() string {
 34507  	return awsutil.Prettify(s)
 34508  }
 34509  
 34510  // GoString returns the string representation.
 34511  //
 34512  // API parameter values that are decorated as "sensitive" in the API will not
 34513  // be included in the string output. The member name will be present, but the
 34514  // value will be replaced with "sensitive".
 34515  func (s SnowflakeParameters) GoString() string {
 34516  	return s.String()
 34517  }
 34518  
 34519  // Validate inspects the fields of the type to determine if they are valid.
 34520  func (s *SnowflakeParameters) Validate() error {
 34521  	invalidParams := request.ErrInvalidParams{Context: "SnowflakeParameters"}
 34522  	if s.Database == nil {
 34523  		invalidParams.Add(request.NewErrParamRequired("Database"))
 34524  	}
 34525  	if s.Database != nil && len(*s.Database) < 1 {
 34526  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 34527  	}
 34528  	if s.Host == nil {
 34529  		invalidParams.Add(request.NewErrParamRequired("Host"))
 34530  	}
 34531  	if s.Host != nil && len(*s.Host) < 1 {
 34532  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 34533  	}
 34534  	if s.Warehouse == nil {
 34535  		invalidParams.Add(request.NewErrParamRequired("Warehouse"))
 34536  	}
 34537  
 34538  	if invalidParams.Len() > 0 {
 34539  		return invalidParams
 34540  	}
 34541  	return nil
 34542  }
 34543  
 34544  // SetDatabase sets the Database field's value.
 34545  func (s *SnowflakeParameters) SetDatabase(v string) *SnowflakeParameters {
 34546  	s.Database = &v
 34547  	return s
 34548  }
 34549  
 34550  // SetHost sets the Host field's value.
 34551  func (s *SnowflakeParameters) SetHost(v string) *SnowflakeParameters {
 34552  	s.Host = &v
 34553  	return s
 34554  }
 34555  
 34556  // SetWarehouse sets the Warehouse field's value.
 34557  func (s *SnowflakeParameters) SetWarehouse(v string) *SnowflakeParameters {
 34558  	s.Warehouse = &v
 34559  	return s
 34560  }
 34561  
 34562  // The parameters for Spark.
 34563  type SparkParameters struct {
 34564  	_ struct{} `type:"structure"`
 34565  
 34566  	// Host.
 34567  	//
 34568  	// Host is a required field
 34569  	Host *string `min:"1" type:"string" required:"true"`
 34570  
 34571  	// Port.
 34572  	//
 34573  	// Port is a required field
 34574  	Port *int64 `min:"1" type:"integer" required:"true"`
 34575  }
 34576  
 34577  // String returns the string representation.
 34578  //
 34579  // API parameter values that are decorated as "sensitive" in the API will not
 34580  // be included in the string output. The member name will be present, but the
 34581  // value will be replaced with "sensitive".
 34582  func (s SparkParameters) String() string {
 34583  	return awsutil.Prettify(s)
 34584  }
 34585  
 34586  // GoString returns the string representation.
 34587  //
 34588  // API parameter values that are decorated as "sensitive" in the API will not
 34589  // be included in the string output. The member name will be present, but the
 34590  // value will be replaced with "sensitive".
 34591  func (s SparkParameters) GoString() string {
 34592  	return s.String()
 34593  }
 34594  
 34595  // Validate inspects the fields of the type to determine if they are valid.
 34596  func (s *SparkParameters) Validate() error {
 34597  	invalidParams := request.ErrInvalidParams{Context: "SparkParameters"}
 34598  	if s.Host == nil {
 34599  		invalidParams.Add(request.NewErrParamRequired("Host"))
 34600  	}
 34601  	if s.Host != nil && len(*s.Host) < 1 {
 34602  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 34603  	}
 34604  	if s.Port == nil {
 34605  		invalidParams.Add(request.NewErrParamRequired("Port"))
 34606  	}
 34607  	if s.Port != nil && *s.Port < 1 {
 34608  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 34609  	}
 34610  
 34611  	if invalidParams.Len() > 0 {
 34612  		return invalidParams
 34613  	}
 34614  	return nil
 34615  }
 34616  
 34617  // SetHost sets the Host field's value.
 34618  func (s *SparkParameters) SetHost(v string) *SparkParameters {
 34619  	s.Host = &v
 34620  	return s
 34621  }
 34622  
 34623  // SetPort sets the Port field's value.
 34624  func (s *SparkParameters) SetPort(v int64) *SparkParameters {
 34625  	s.Port = &v
 34626  	return s
 34627  }
 34628  
 34629  // The parameters for SQL Server.
 34630  type SqlServerParameters struct {
 34631  	_ struct{} `type:"structure"`
 34632  
 34633  	// Database.
 34634  	//
 34635  	// Database is a required field
 34636  	Database *string `min:"1" type:"string" required:"true"`
 34637  
 34638  	// Host.
 34639  	//
 34640  	// Host is a required field
 34641  	Host *string `min:"1" type:"string" required:"true"`
 34642  
 34643  	// Port.
 34644  	//
 34645  	// Port is a required field
 34646  	Port *int64 `min:"1" type:"integer" required:"true"`
 34647  }
 34648  
 34649  // String returns the string representation.
 34650  //
 34651  // API parameter values that are decorated as "sensitive" in the API will not
 34652  // be included in the string output. The member name will be present, but the
 34653  // value will be replaced with "sensitive".
 34654  func (s SqlServerParameters) String() string {
 34655  	return awsutil.Prettify(s)
 34656  }
 34657  
 34658  // GoString returns the string representation.
 34659  //
 34660  // API parameter values that are decorated as "sensitive" in the API will not
 34661  // be included in the string output. The member name will be present, but the
 34662  // value will be replaced with "sensitive".
 34663  func (s SqlServerParameters) GoString() string {
 34664  	return s.String()
 34665  }
 34666  
 34667  // Validate inspects the fields of the type to determine if they are valid.
 34668  func (s *SqlServerParameters) Validate() error {
 34669  	invalidParams := request.ErrInvalidParams{Context: "SqlServerParameters"}
 34670  	if s.Database == nil {
 34671  		invalidParams.Add(request.NewErrParamRequired("Database"))
 34672  	}
 34673  	if s.Database != nil && len(*s.Database) < 1 {
 34674  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 34675  	}
 34676  	if s.Host == nil {
 34677  		invalidParams.Add(request.NewErrParamRequired("Host"))
 34678  	}
 34679  	if s.Host != nil && len(*s.Host) < 1 {
 34680  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 34681  	}
 34682  	if s.Port == nil {
 34683  		invalidParams.Add(request.NewErrParamRequired("Port"))
 34684  	}
 34685  	if s.Port != nil && *s.Port < 1 {
 34686  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 34687  	}
 34688  
 34689  	if invalidParams.Len() > 0 {
 34690  		return invalidParams
 34691  	}
 34692  	return nil
 34693  }
 34694  
 34695  // SetDatabase sets the Database field's value.
 34696  func (s *SqlServerParameters) SetDatabase(v string) *SqlServerParameters {
 34697  	s.Database = &v
 34698  	return s
 34699  }
 34700  
 34701  // SetHost sets the Host field's value.
 34702  func (s *SqlServerParameters) SetHost(v string) *SqlServerParameters {
 34703  	s.Host = &v
 34704  	return s
 34705  }
 34706  
 34707  // SetPort sets the Port field's value.
 34708  func (s *SqlServerParameters) SetPort(v int64) *SqlServerParameters {
 34709  	s.Port = &v
 34710  	return s
 34711  }
 34712  
 34713  // Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects
 34714  // to your underlying data source.
 34715  type SslProperties struct {
 34716  	_ struct{} `type:"structure"`
 34717  
 34718  	// A Boolean option to control whether SSL should be disabled.
 34719  	DisableSsl *bool `type:"boolean"`
 34720  }
 34721  
 34722  // String returns the string representation.
 34723  //
 34724  // API parameter values that are decorated as "sensitive" in the API will not
 34725  // be included in the string output. The member name will be present, but the
 34726  // value will be replaced with "sensitive".
 34727  func (s SslProperties) String() string {
 34728  	return awsutil.Prettify(s)
 34729  }
 34730  
 34731  // GoString returns the string representation.
 34732  //
 34733  // API parameter values that are decorated as "sensitive" in the API will not
 34734  // be included in the string output. The member name will be present, but the
 34735  // value will be replaced with "sensitive".
 34736  func (s SslProperties) GoString() string {
 34737  	return s.String()
 34738  }
 34739  
 34740  // SetDisableSsl sets the DisableSsl field's value.
 34741  func (s *SslProperties) SetDisableSsl(v bool) *SslProperties {
 34742  	s.DisableSsl = &v
 34743  	return s
 34744  }
 34745  
 34746  // A string parameter.
 34747  type StringParameter struct {
 34748  	_ struct{} `type:"structure"`
 34749  
 34750  	// A display name for a string parameter.
 34751  	//
 34752  	// Name is a required field
 34753  	Name *string `type:"string" required:"true"`
 34754  
 34755  	// The values of a string parameter.
 34756  	//
 34757  	// Values is a required field
 34758  	Values []*string `type:"list" required:"true"`
 34759  }
 34760  
 34761  // String returns the string representation.
 34762  //
 34763  // API parameter values that are decorated as "sensitive" in the API will not
 34764  // be included in the string output. The member name will be present, but the
 34765  // value will be replaced with "sensitive".
 34766  func (s StringParameter) String() string {
 34767  	return awsutil.Prettify(s)
 34768  }
 34769  
 34770  // GoString returns the string representation.
 34771  //
 34772  // API parameter values that are decorated as "sensitive" in the API will not
 34773  // be included in the string output. The member name will be present, but the
 34774  // value will be replaced with "sensitive".
 34775  func (s StringParameter) GoString() string {
 34776  	return s.String()
 34777  }
 34778  
 34779  // Validate inspects the fields of the type to determine if they are valid.
 34780  func (s *StringParameter) Validate() error {
 34781  	invalidParams := request.ErrInvalidParams{Context: "StringParameter"}
 34782  	if s.Name == nil {
 34783  		invalidParams.Add(request.NewErrParamRequired("Name"))
 34784  	}
 34785  	if s.Values == nil {
 34786  		invalidParams.Add(request.NewErrParamRequired("Values"))
 34787  	}
 34788  
 34789  	if invalidParams.Len() > 0 {
 34790  		return invalidParams
 34791  	}
 34792  	return nil
 34793  }
 34794  
 34795  // SetName sets the Name field's value.
 34796  func (s *StringParameter) SetName(v string) *StringParameter {
 34797  	s.Name = &v
 34798  	return s
 34799  }
 34800  
 34801  // SetValues sets the Values field's value.
 34802  func (s *StringParameter) SetValues(v []*string) *StringParameter {
 34803  	s.Values = v
 34804  	return s
 34805  }
 34806  
 34807  // The key or keys of the key-value pairs for the resource tag or tags assigned
 34808  // to the resource.
 34809  type Tag struct {
 34810  	_ struct{} `type:"structure"`
 34811  
 34812  	// Tag key.
 34813  	//
 34814  	// Key is a required field
 34815  	Key *string `min:"1" type:"string" required:"true"`
 34816  
 34817  	// Tag value.
 34818  	//
 34819  	// Value is a required field
 34820  	Value *string `min:"1" type:"string" required:"true"`
 34821  }
 34822  
 34823  // String returns the string representation.
 34824  //
 34825  // API parameter values that are decorated as "sensitive" in the API will not
 34826  // be included in the string output. The member name will be present, but the
 34827  // value will be replaced with "sensitive".
 34828  func (s Tag) String() string {
 34829  	return awsutil.Prettify(s)
 34830  }
 34831  
 34832  // GoString returns the string representation.
 34833  //
 34834  // API parameter values that are decorated as "sensitive" in the API will not
 34835  // be included in the string output. The member name will be present, but the
 34836  // value will be replaced with "sensitive".
 34837  func (s Tag) GoString() string {
 34838  	return s.String()
 34839  }
 34840  
 34841  // Validate inspects the fields of the type to determine if they are valid.
 34842  func (s *Tag) Validate() error {
 34843  	invalidParams := request.ErrInvalidParams{Context: "Tag"}
 34844  	if s.Key == nil {
 34845  		invalidParams.Add(request.NewErrParamRequired("Key"))
 34846  	}
 34847  	if s.Key != nil && len(*s.Key) < 1 {
 34848  		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
 34849  	}
 34850  	if s.Value == nil {
 34851  		invalidParams.Add(request.NewErrParamRequired("Value"))
 34852  	}
 34853  	if s.Value != nil && len(*s.Value) < 1 {
 34854  		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
 34855  	}
 34856  
 34857  	if invalidParams.Len() > 0 {
 34858  		return invalidParams
 34859  	}
 34860  	return nil
 34861  }
 34862  
 34863  // SetKey sets the Key field's value.
 34864  func (s *Tag) SetKey(v string) *Tag {
 34865  	s.Key = &v
 34866  	return s
 34867  }
 34868  
 34869  // SetValue sets the Value field's value.
 34870  func (s *Tag) SetValue(v string) *Tag {
 34871  	s.Value = &v
 34872  	return s
 34873  }
 34874  
 34875  // A transform operation that tags a column with additional information.
 34876  type TagColumnOperation struct {
 34877  	_ struct{} `type:"structure"`
 34878  
 34879  	// The column that this operation acts on.
 34880  	//
 34881  	// ColumnName is a required field
 34882  	ColumnName *string `min:"1" type:"string" required:"true"`
 34883  
 34884  	// The dataset column tag, currently only used for geospatial type tagging.
 34885  	//
 34886  	// This is not tags for the Amazon Web Services tagging feature.
 34887  	//
 34888  	// Tags is a required field
 34889  	Tags []*ColumnTag `min:"1" type:"list" required:"true"`
 34890  }
 34891  
 34892  // String returns the string representation.
 34893  //
 34894  // API parameter values that are decorated as "sensitive" in the API will not
 34895  // be included in the string output. The member name will be present, but the
 34896  // value will be replaced with "sensitive".
 34897  func (s TagColumnOperation) String() string {
 34898  	return awsutil.Prettify(s)
 34899  }
 34900  
 34901  // GoString returns the string representation.
 34902  //
 34903  // API parameter values that are decorated as "sensitive" in the API will not
 34904  // be included in the string output. The member name will be present, but the
 34905  // value will be replaced with "sensitive".
 34906  func (s TagColumnOperation) GoString() string {
 34907  	return s.String()
 34908  }
 34909  
 34910  // Validate inspects the fields of the type to determine if they are valid.
 34911  func (s *TagColumnOperation) Validate() error {
 34912  	invalidParams := request.ErrInvalidParams{Context: "TagColumnOperation"}
 34913  	if s.ColumnName == nil {
 34914  		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
 34915  	}
 34916  	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
 34917  		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
 34918  	}
 34919  	if s.Tags == nil {
 34920  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 34921  	}
 34922  	if s.Tags != nil && len(s.Tags) < 1 {
 34923  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 34924  	}
 34925  
 34926  	if invalidParams.Len() > 0 {
 34927  		return invalidParams
 34928  	}
 34929  	return nil
 34930  }
 34931  
 34932  // SetColumnName sets the ColumnName field's value.
 34933  func (s *TagColumnOperation) SetColumnName(v string) *TagColumnOperation {
 34934  	s.ColumnName = &v
 34935  	return s
 34936  }
 34937  
 34938  // SetTags sets the Tags field's value.
 34939  func (s *TagColumnOperation) SetTags(v []*ColumnTag) *TagColumnOperation {
 34940  	s.Tags = v
 34941  	return s
 34942  }
 34943  
 34944  type TagResourceInput struct {
 34945  	_ struct{} `type:"structure"`
 34946  
 34947  	// The Amazon Resource Name (ARN) of the resource that you want to tag.
 34948  	//
 34949  	// ResourceArn is a required field
 34950  	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
 34951  
 34952  	// Contains a map of the key-value pairs for the resource tag or tags assigned
 34953  	// to the resource.
 34954  	//
 34955  	// Tags is a required field
 34956  	Tags []*Tag `min:"1" type:"list" required:"true"`
 34957  }
 34958  
 34959  // String returns the string representation.
 34960  //
 34961  // API parameter values that are decorated as "sensitive" in the API will not
 34962  // be included in the string output. The member name will be present, but the
 34963  // value will be replaced with "sensitive".
 34964  func (s TagResourceInput) String() string {
 34965  	return awsutil.Prettify(s)
 34966  }
 34967  
 34968  // GoString returns the string representation.
 34969  //
 34970  // API parameter values that are decorated as "sensitive" in the API will not
 34971  // be included in the string output. The member name will be present, but the
 34972  // value will be replaced with "sensitive".
 34973  func (s TagResourceInput) GoString() string {
 34974  	return s.String()
 34975  }
 34976  
 34977  // Validate inspects the fields of the type to determine if they are valid.
 34978  func (s *TagResourceInput) Validate() error {
 34979  	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
 34980  	if s.ResourceArn == nil {
 34981  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 34982  	}
 34983  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 34984  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 34985  	}
 34986  	if s.Tags == nil {
 34987  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 34988  	}
 34989  	if s.Tags != nil && len(s.Tags) < 1 {
 34990  		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
 34991  	}
 34992  	if s.Tags != nil {
 34993  		for i, v := range s.Tags {
 34994  			if v == nil {
 34995  				continue
 34996  			}
 34997  			if err := v.Validate(); err != nil {
 34998  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
 34999  			}
 35000  		}
 35001  	}
 35002  
 35003  	if invalidParams.Len() > 0 {
 35004  		return invalidParams
 35005  	}
 35006  	return nil
 35007  }
 35008  
 35009  // SetResourceArn sets the ResourceArn field's value.
 35010  func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
 35011  	s.ResourceArn = &v
 35012  	return s
 35013  }
 35014  
 35015  // SetTags sets the Tags field's value.
 35016  func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
 35017  	s.Tags = v
 35018  	return s
 35019  }
 35020  
 35021  type TagResourceOutput struct {
 35022  	_ struct{} `type:"structure"`
 35023  
 35024  	// The Amazon Web Services request ID for this operation.
 35025  	RequestId *string `type:"string"`
 35026  
 35027  	// The HTTP status of the request.
 35028  	Status *int64 `location:"statusCode" type:"integer"`
 35029  }
 35030  
 35031  // String returns the string representation.
 35032  //
 35033  // API parameter values that are decorated as "sensitive" in the API will not
 35034  // be included in the string output. The member name will be present, but the
 35035  // value will be replaced with "sensitive".
 35036  func (s TagResourceOutput) String() string {
 35037  	return awsutil.Prettify(s)
 35038  }
 35039  
 35040  // GoString returns the string representation.
 35041  //
 35042  // API parameter values that are decorated as "sensitive" in the API will not
 35043  // be included in the string output. The member name will be present, but the
 35044  // value will be replaced with "sensitive".
 35045  func (s TagResourceOutput) GoString() string {
 35046  	return s.String()
 35047  }
 35048  
 35049  // SetRequestId sets the RequestId field's value.
 35050  func (s *TagResourceOutput) SetRequestId(v string) *TagResourceOutput {
 35051  	s.RequestId = &v
 35052  	return s
 35053  }
 35054  
 35055  // SetStatus sets the Status field's value.
 35056  func (s *TagResourceOutput) SetStatus(v int64) *TagResourceOutput {
 35057  	s.Status = &v
 35058  	return s
 35059  }
 35060  
 35061  // A template object. A template is an entity in Amazon QuickSight that encapsulates
 35062  // the metadata required to create an analysis and that you can use to create
 35063  // a dashboard. A template adds a layer of abstraction by using placeholders
 35064  // to replace the dataset associated with an analysis. You can use templates
 35065  // to create dashboards by replacing dataset placeholders with datasets that
 35066  // follow the same schema that was used to create the source analysis and template.
 35067  //
 35068  // You can share templates across Amazon Web Services accounts by allowing users
 35069  // in other Amazon Web Services accounts to create a template or a dashboard
 35070  // from an existing template.
 35071  type Template struct {
 35072  	_ struct{} `type:"structure"`
 35073  
 35074  	// The Amazon Resource Name (ARN) of the template.
 35075  	Arn *string `type:"string"`
 35076  
 35077  	// Time when this was created.
 35078  	CreatedTime *time.Time `type:"timestamp"`
 35079  
 35080  	// Time when this was last updated.
 35081  	LastUpdatedTime *time.Time `type:"timestamp"`
 35082  
 35083  	// The display name of the template.
 35084  	Name *string `min:"1" type:"string"`
 35085  
 35086  	// The ID for the template. This is unique per Amazon Web Services Region; for
 35087  	// each Amazon Web Services account.
 35088  	TemplateId *string `min:"1" type:"string"`
 35089  
 35090  	// A structure describing the versions of the template.
 35091  	Version *TemplateVersion `type:"structure"`
 35092  }
 35093  
 35094  // String returns the string representation.
 35095  //
 35096  // API parameter values that are decorated as "sensitive" in the API will not
 35097  // be included in the string output. The member name will be present, but the
 35098  // value will be replaced with "sensitive".
 35099  func (s Template) String() string {
 35100  	return awsutil.Prettify(s)
 35101  }
 35102  
 35103  // GoString returns the string representation.
 35104  //
 35105  // API parameter values that are decorated as "sensitive" in the API will not
 35106  // be included in the string output. The member name will be present, but the
 35107  // value will be replaced with "sensitive".
 35108  func (s Template) GoString() string {
 35109  	return s.String()
 35110  }
 35111  
 35112  // SetArn sets the Arn field's value.
 35113  func (s *Template) SetArn(v string) *Template {
 35114  	s.Arn = &v
 35115  	return s
 35116  }
 35117  
 35118  // SetCreatedTime sets the CreatedTime field's value.
 35119  func (s *Template) SetCreatedTime(v time.Time) *Template {
 35120  	s.CreatedTime = &v
 35121  	return s
 35122  }
 35123  
 35124  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 35125  func (s *Template) SetLastUpdatedTime(v time.Time) *Template {
 35126  	s.LastUpdatedTime = &v
 35127  	return s
 35128  }
 35129  
 35130  // SetName sets the Name field's value.
 35131  func (s *Template) SetName(v string) *Template {
 35132  	s.Name = &v
 35133  	return s
 35134  }
 35135  
 35136  // SetTemplateId sets the TemplateId field's value.
 35137  func (s *Template) SetTemplateId(v string) *Template {
 35138  	s.TemplateId = &v
 35139  	return s
 35140  }
 35141  
 35142  // SetVersion sets the Version field's value.
 35143  func (s *Template) SetVersion(v *TemplateVersion) *Template {
 35144  	s.Version = v
 35145  	return s
 35146  }
 35147  
 35148  // The template alias.
 35149  type TemplateAlias struct {
 35150  	_ struct{} `type:"structure"`
 35151  
 35152  	// The display name of the template alias.
 35153  	AliasName *string `min:"1" type:"string"`
 35154  
 35155  	// The Amazon Resource Name (ARN) of the template alias.
 35156  	Arn *string `type:"string"`
 35157  
 35158  	// The version number of the template alias.
 35159  	TemplateVersionNumber *int64 `min:"1" type:"long"`
 35160  }
 35161  
 35162  // String returns the string representation.
 35163  //
 35164  // API parameter values that are decorated as "sensitive" in the API will not
 35165  // be included in the string output. The member name will be present, but the
 35166  // value will be replaced with "sensitive".
 35167  func (s TemplateAlias) String() string {
 35168  	return awsutil.Prettify(s)
 35169  }
 35170  
 35171  // GoString returns the string representation.
 35172  //
 35173  // API parameter values that are decorated as "sensitive" in the API will not
 35174  // be included in the string output. The member name will be present, but the
 35175  // value will be replaced with "sensitive".
 35176  func (s TemplateAlias) GoString() string {
 35177  	return s.String()
 35178  }
 35179  
 35180  // SetAliasName sets the AliasName field's value.
 35181  func (s *TemplateAlias) SetAliasName(v string) *TemplateAlias {
 35182  	s.AliasName = &v
 35183  	return s
 35184  }
 35185  
 35186  // SetArn sets the Arn field's value.
 35187  func (s *TemplateAlias) SetArn(v string) *TemplateAlias {
 35188  	s.Arn = &v
 35189  	return s
 35190  }
 35191  
 35192  // SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
 35193  func (s *TemplateAlias) SetTemplateVersionNumber(v int64) *TemplateAlias {
 35194  	s.TemplateVersionNumber = &v
 35195  	return s
 35196  }
 35197  
 35198  // List of errors that occurred when the template version creation failed.
 35199  type TemplateError struct {
 35200  	_ struct{} `type:"structure"`
 35201  
 35202  	// Description of the error type.
 35203  	Message *string `type:"string"`
 35204  
 35205  	// Type of error.
 35206  	Type *string `type:"string" enum:"TemplateErrorType"`
 35207  }
 35208  
 35209  // String returns the string representation.
 35210  //
 35211  // API parameter values that are decorated as "sensitive" in the API will not
 35212  // be included in the string output. The member name will be present, but the
 35213  // value will be replaced with "sensitive".
 35214  func (s TemplateError) String() string {
 35215  	return awsutil.Prettify(s)
 35216  }
 35217  
 35218  // GoString returns the string representation.
 35219  //
 35220  // API parameter values that are decorated as "sensitive" in the API will not
 35221  // be included in the string output. The member name will be present, but the
 35222  // value will be replaced with "sensitive".
 35223  func (s TemplateError) GoString() string {
 35224  	return s.String()
 35225  }
 35226  
 35227  // SetMessage sets the Message field's value.
 35228  func (s *TemplateError) SetMessage(v string) *TemplateError {
 35229  	s.Message = &v
 35230  	return s
 35231  }
 35232  
 35233  // SetType sets the Type field's value.
 35234  func (s *TemplateError) SetType(v string) *TemplateError {
 35235  	s.Type = &v
 35236  	return s
 35237  }
 35238  
 35239  // The source analysis of the template.
 35240  type TemplateSourceAnalysis struct {
 35241  	_ struct{} `type:"structure"`
 35242  
 35243  	// The Amazon Resource Name (ARN) of the resource.
 35244  	//
 35245  	// Arn is a required field
 35246  	Arn *string `type:"string" required:"true"`
 35247  
 35248  	// A structure containing information about the dataset references used as placeholders
 35249  	// in the template.
 35250  	//
 35251  	// DataSetReferences is a required field
 35252  	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
 35253  }
 35254  
 35255  // String returns the string representation.
 35256  //
 35257  // API parameter values that are decorated as "sensitive" in the API will not
 35258  // be included in the string output. The member name will be present, but the
 35259  // value will be replaced with "sensitive".
 35260  func (s TemplateSourceAnalysis) String() string {
 35261  	return awsutil.Prettify(s)
 35262  }
 35263  
 35264  // GoString returns the string representation.
 35265  //
 35266  // API parameter values that are decorated as "sensitive" in the API will not
 35267  // be included in the string output. The member name will be present, but the
 35268  // value will be replaced with "sensitive".
 35269  func (s TemplateSourceAnalysis) GoString() string {
 35270  	return s.String()
 35271  }
 35272  
 35273  // Validate inspects the fields of the type to determine if they are valid.
 35274  func (s *TemplateSourceAnalysis) Validate() error {
 35275  	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceAnalysis"}
 35276  	if s.Arn == nil {
 35277  		invalidParams.Add(request.NewErrParamRequired("Arn"))
 35278  	}
 35279  	if s.DataSetReferences == nil {
 35280  		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
 35281  	}
 35282  	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
 35283  		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
 35284  	}
 35285  	if s.DataSetReferences != nil {
 35286  		for i, v := range s.DataSetReferences {
 35287  			if v == nil {
 35288  				continue
 35289  			}
 35290  			if err := v.Validate(); err != nil {
 35291  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
 35292  			}
 35293  		}
 35294  	}
 35295  
 35296  	if invalidParams.Len() > 0 {
 35297  		return invalidParams
 35298  	}
 35299  	return nil
 35300  }
 35301  
 35302  // SetArn sets the Arn field's value.
 35303  func (s *TemplateSourceAnalysis) SetArn(v string) *TemplateSourceAnalysis {
 35304  	s.Arn = &v
 35305  	return s
 35306  }
 35307  
 35308  // SetDataSetReferences sets the DataSetReferences field's value.
 35309  func (s *TemplateSourceAnalysis) SetDataSetReferences(v []*DataSetReference) *TemplateSourceAnalysis {
 35310  	s.DataSetReferences = v
 35311  	return s
 35312  }
 35313  
 35314  // The source entity of the template.
 35315  type TemplateSourceEntity struct {
 35316  	_ struct{} `type:"structure"`
 35317  
 35318  	// The source analysis, if it is based on an analysis.
 35319  	SourceAnalysis *TemplateSourceAnalysis `type:"structure"`
 35320  
 35321  	// The source template, if it is based on an template.
 35322  	SourceTemplate *TemplateSourceTemplate `type:"structure"`
 35323  }
 35324  
 35325  // String returns the string representation.
 35326  //
 35327  // API parameter values that are decorated as "sensitive" in the API will not
 35328  // be included in the string output. The member name will be present, but the
 35329  // value will be replaced with "sensitive".
 35330  func (s TemplateSourceEntity) String() string {
 35331  	return awsutil.Prettify(s)
 35332  }
 35333  
 35334  // GoString returns the string representation.
 35335  //
 35336  // API parameter values that are decorated as "sensitive" in the API will not
 35337  // be included in the string output. The member name will be present, but the
 35338  // value will be replaced with "sensitive".
 35339  func (s TemplateSourceEntity) GoString() string {
 35340  	return s.String()
 35341  }
 35342  
 35343  // Validate inspects the fields of the type to determine if they are valid.
 35344  func (s *TemplateSourceEntity) Validate() error {
 35345  	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceEntity"}
 35346  	if s.SourceAnalysis != nil {
 35347  		if err := s.SourceAnalysis.Validate(); err != nil {
 35348  			invalidParams.AddNested("SourceAnalysis", err.(request.ErrInvalidParams))
 35349  		}
 35350  	}
 35351  	if s.SourceTemplate != nil {
 35352  		if err := s.SourceTemplate.Validate(); err != nil {
 35353  			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
 35354  		}
 35355  	}
 35356  
 35357  	if invalidParams.Len() > 0 {
 35358  		return invalidParams
 35359  	}
 35360  	return nil
 35361  }
 35362  
 35363  // SetSourceAnalysis sets the SourceAnalysis field's value.
 35364  func (s *TemplateSourceEntity) SetSourceAnalysis(v *TemplateSourceAnalysis) *TemplateSourceEntity {
 35365  	s.SourceAnalysis = v
 35366  	return s
 35367  }
 35368  
 35369  // SetSourceTemplate sets the SourceTemplate field's value.
 35370  func (s *TemplateSourceEntity) SetSourceTemplate(v *TemplateSourceTemplate) *TemplateSourceEntity {
 35371  	s.SourceTemplate = v
 35372  	return s
 35373  }
 35374  
 35375  // The source template of the template.
 35376  type TemplateSourceTemplate struct {
 35377  	_ struct{} `type:"structure"`
 35378  
 35379  	// The Amazon Resource Name (ARN) of the resource.
 35380  	//
 35381  	// Arn is a required field
 35382  	Arn *string `type:"string" required:"true"`
 35383  }
 35384  
 35385  // String returns the string representation.
 35386  //
 35387  // API parameter values that are decorated as "sensitive" in the API will not
 35388  // be included in the string output. The member name will be present, but the
 35389  // value will be replaced with "sensitive".
 35390  func (s TemplateSourceTemplate) String() string {
 35391  	return awsutil.Prettify(s)
 35392  }
 35393  
 35394  // GoString returns the string representation.
 35395  //
 35396  // API parameter values that are decorated as "sensitive" in the API will not
 35397  // be included in the string output. The member name will be present, but the
 35398  // value will be replaced with "sensitive".
 35399  func (s TemplateSourceTemplate) GoString() string {
 35400  	return s.String()
 35401  }
 35402  
 35403  // Validate inspects the fields of the type to determine if they are valid.
 35404  func (s *TemplateSourceTemplate) Validate() error {
 35405  	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceTemplate"}
 35406  	if s.Arn == nil {
 35407  		invalidParams.Add(request.NewErrParamRequired("Arn"))
 35408  	}
 35409  
 35410  	if invalidParams.Len() > 0 {
 35411  		return invalidParams
 35412  	}
 35413  	return nil
 35414  }
 35415  
 35416  // SetArn sets the Arn field's value.
 35417  func (s *TemplateSourceTemplate) SetArn(v string) *TemplateSourceTemplate {
 35418  	s.Arn = &v
 35419  	return s
 35420  }
 35421  
 35422  // The template summary.
 35423  type TemplateSummary struct {
 35424  	_ struct{} `type:"structure"`
 35425  
 35426  	// A summary of a template.
 35427  	Arn *string `type:"string"`
 35428  
 35429  	// The last time that this template was created.
 35430  	CreatedTime *time.Time `type:"timestamp"`
 35431  
 35432  	// The last time that this template was updated.
 35433  	LastUpdatedTime *time.Time `type:"timestamp"`
 35434  
 35435  	// A structure containing a list of version numbers for the template summary.
 35436  	LatestVersionNumber *int64 `min:"1" type:"long"`
 35437  
 35438  	// A display name for the template.
 35439  	Name *string `min:"1" type:"string"`
 35440  
 35441  	// The ID of the template. This ID is unique per Amazon Web Services Region;
 35442  	// for each Amazon Web Services account.
 35443  	TemplateId *string `min:"1" type:"string"`
 35444  }
 35445  
 35446  // String returns the string representation.
 35447  //
 35448  // API parameter values that are decorated as "sensitive" in the API will not
 35449  // be included in the string output. The member name will be present, but the
 35450  // value will be replaced with "sensitive".
 35451  func (s TemplateSummary) String() string {
 35452  	return awsutil.Prettify(s)
 35453  }
 35454  
 35455  // GoString returns the string representation.
 35456  //
 35457  // API parameter values that are decorated as "sensitive" in the API will not
 35458  // be included in the string output. The member name will be present, but the
 35459  // value will be replaced with "sensitive".
 35460  func (s TemplateSummary) GoString() string {
 35461  	return s.String()
 35462  }
 35463  
 35464  // SetArn sets the Arn field's value.
 35465  func (s *TemplateSummary) SetArn(v string) *TemplateSummary {
 35466  	s.Arn = &v
 35467  	return s
 35468  }
 35469  
 35470  // SetCreatedTime sets the CreatedTime field's value.
 35471  func (s *TemplateSummary) SetCreatedTime(v time.Time) *TemplateSummary {
 35472  	s.CreatedTime = &v
 35473  	return s
 35474  }
 35475  
 35476  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 35477  func (s *TemplateSummary) SetLastUpdatedTime(v time.Time) *TemplateSummary {
 35478  	s.LastUpdatedTime = &v
 35479  	return s
 35480  }
 35481  
 35482  // SetLatestVersionNumber sets the LatestVersionNumber field's value.
 35483  func (s *TemplateSummary) SetLatestVersionNumber(v int64) *TemplateSummary {
 35484  	s.LatestVersionNumber = &v
 35485  	return s
 35486  }
 35487  
 35488  // SetName sets the Name field's value.
 35489  func (s *TemplateSummary) SetName(v string) *TemplateSummary {
 35490  	s.Name = &v
 35491  	return s
 35492  }
 35493  
 35494  // SetTemplateId sets the TemplateId field's value.
 35495  func (s *TemplateSummary) SetTemplateId(v string) *TemplateSummary {
 35496  	s.TemplateId = &v
 35497  	return s
 35498  }
 35499  
 35500  // A version of a template.
 35501  type TemplateVersion struct {
 35502  	_ struct{} `type:"structure"`
 35503  
 35504  	// The time that this template version was created.
 35505  	CreatedTime *time.Time `type:"timestamp"`
 35506  
 35507  	// Schema of the dataset identified by the placeholder. Any dashboard created
 35508  	// from this template should be bound to new datasets matching the same schema
 35509  	// described through this API operation.
 35510  	DataSetConfigurations []*DataSetConfiguration `type:"list"`
 35511  
 35512  	// The description of the template.
 35513  	Description *string `min:"1" type:"string"`
 35514  
 35515  	// Errors associated with this template version.
 35516  	Errors []*TemplateError `min:"1" type:"list"`
 35517  
 35518  	// A list of the associated sheets with the unique identifier and name of each
 35519  	// sheet.
 35520  	Sheets []*Sheet `type:"list"`
 35521  
 35522  	// The Amazon Resource Name (ARN) of an analysis or template that was used to
 35523  	// create this template.
 35524  	SourceEntityArn *string `type:"string"`
 35525  
 35526  	// The HTTP status of the request.
 35527  	Status *string `type:"string" enum:"ResourceStatus"`
 35528  
 35529  	// The ARN of the theme associated with this version of the template.
 35530  	ThemeArn *string `type:"string"`
 35531  
 35532  	// The version number of the template version.
 35533  	VersionNumber *int64 `min:"1" type:"long"`
 35534  }
 35535  
 35536  // String returns the string representation.
 35537  //
 35538  // API parameter values that are decorated as "sensitive" in the API will not
 35539  // be included in the string output. The member name will be present, but the
 35540  // value will be replaced with "sensitive".
 35541  func (s TemplateVersion) String() string {
 35542  	return awsutil.Prettify(s)
 35543  }
 35544  
 35545  // GoString returns the string representation.
 35546  //
 35547  // API parameter values that are decorated as "sensitive" in the API will not
 35548  // be included in the string output. The member name will be present, but the
 35549  // value will be replaced with "sensitive".
 35550  func (s TemplateVersion) GoString() string {
 35551  	return s.String()
 35552  }
 35553  
 35554  // SetCreatedTime sets the CreatedTime field's value.
 35555  func (s *TemplateVersion) SetCreatedTime(v time.Time) *TemplateVersion {
 35556  	s.CreatedTime = &v
 35557  	return s
 35558  }
 35559  
 35560  // SetDataSetConfigurations sets the DataSetConfigurations field's value.
 35561  func (s *TemplateVersion) SetDataSetConfigurations(v []*DataSetConfiguration) *TemplateVersion {
 35562  	s.DataSetConfigurations = v
 35563  	return s
 35564  }
 35565  
 35566  // SetDescription sets the Description field's value.
 35567  func (s *TemplateVersion) SetDescription(v string) *TemplateVersion {
 35568  	s.Description = &v
 35569  	return s
 35570  }
 35571  
 35572  // SetErrors sets the Errors field's value.
 35573  func (s *TemplateVersion) SetErrors(v []*TemplateError) *TemplateVersion {
 35574  	s.Errors = v
 35575  	return s
 35576  }
 35577  
 35578  // SetSheets sets the Sheets field's value.
 35579  func (s *TemplateVersion) SetSheets(v []*Sheet) *TemplateVersion {
 35580  	s.Sheets = v
 35581  	return s
 35582  }
 35583  
 35584  // SetSourceEntityArn sets the SourceEntityArn field's value.
 35585  func (s *TemplateVersion) SetSourceEntityArn(v string) *TemplateVersion {
 35586  	s.SourceEntityArn = &v
 35587  	return s
 35588  }
 35589  
 35590  // SetStatus sets the Status field's value.
 35591  func (s *TemplateVersion) SetStatus(v string) *TemplateVersion {
 35592  	s.Status = &v
 35593  	return s
 35594  }
 35595  
 35596  // SetThemeArn sets the ThemeArn field's value.
 35597  func (s *TemplateVersion) SetThemeArn(v string) *TemplateVersion {
 35598  	s.ThemeArn = &v
 35599  	return s
 35600  }
 35601  
 35602  // SetVersionNumber sets the VersionNumber field's value.
 35603  func (s *TemplateVersion) SetVersionNumber(v int64) *TemplateVersion {
 35604  	s.VersionNumber = &v
 35605  	return s
 35606  }
 35607  
 35608  // The template version.
 35609  type TemplateVersionSummary struct {
 35610  	_ struct{} `type:"structure"`
 35611  
 35612  	// The Amazon Resource Name (ARN) of the template version.
 35613  	Arn *string `type:"string"`
 35614  
 35615  	// The time that this template version was created.
 35616  	CreatedTime *time.Time `type:"timestamp"`
 35617  
 35618  	// The description of the template version.
 35619  	Description *string `min:"1" type:"string"`
 35620  
 35621  	// The status of the template version.
 35622  	Status *string `type:"string" enum:"ResourceStatus"`
 35623  
 35624  	// The version number of the template version.
 35625  	VersionNumber *int64 `min:"1" type:"long"`
 35626  }
 35627  
 35628  // String returns the string representation.
 35629  //
 35630  // API parameter values that are decorated as "sensitive" in the API will not
 35631  // be included in the string output. The member name will be present, but the
 35632  // value will be replaced with "sensitive".
 35633  func (s TemplateVersionSummary) String() string {
 35634  	return awsutil.Prettify(s)
 35635  }
 35636  
 35637  // GoString returns the string representation.
 35638  //
 35639  // API parameter values that are decorated as "sensitive" in the API will not
 35640  // be included in the string output. The member name will be present, but the
 35641  // value will be replaced with "sensitive".
 35642  func (s TemplateVersionSummary) GoString() string {
 35643  	return s.String()
 35644  }
 35645  
 35646  // SetArn sets the Arn field's value.
 35647  func (s *TemplateVersionSummary) SetArn(v string) *TemplateVersionSummary {
 35648  	s.Arn = &v
 35649  	return s
 35650  }
 35651  
 35652  // SetCreatedTime sets the CreatedTime field's value.
 35653  func (s *TemplateVersionSummary) SetCreatedTime(v time.Time) *TemplateVersionSummary {
 35654  	s.CreatedTime = &v
 35655  	return s
 35656  }
 35657  
 35658  // SetDescription sets the Description field's value.
 35659  func (s *TemplateVersionSummary) SetDescription(v string) *TemplateVersionSummary {
 35660  	s.Description = &v
 35661  	return s
 35662  }
 35663  
 35664  // SetStatus sets the Status field's value.
 35665  func (s *TemplateVersionSummary) SetStatus(v string) *TemplateVersionSummary {
 35666  	s.Status = &v
 35667  	return s
 35668  }
 35669  
 35670  // SetVersionNumber sets the VersionNumber field's value.
 35671  func (s *TemplateVersionSummary) SetVersionNumber(v int64) *TemplateVersionSummary {
 35672  	s.VersionNumber = &v
 35673  	return s
 35674  }
 35675  
 35676  // The parameters for Teradata.
 35677  type TeradataParameters struct {
 35678  	_ struct{} `type:"structure"`
 35679  
 35680  	// Database.
 35681  	//
 35682  	// Database is a required field
 35683  	Database *string `min:"1" type:"string" required:"true"`
 35684  
 35685  	// Host.
 35686  	//
 35687  	// Host is a required field
 35688  	Host *string `min:"1" type:"string" required:"true"`
 35689  
 35690  	// Port.
 35691  	//
 35692  	// Port is a required field
 35693  	Port *int64 `min:"1" type:"integer" required:"true"`
 35694  }
 35695  
 35696  // String returns the string representation.
 35697  //
 35698  // API parameter values that are decorated as "sensitive" in the API will not
 35699  // be included in the string output. The member name will be present, but the
 35700  // value will be replaced with "sensitive".
 35701  func (s TeradataParameters) String() string {
 35702  	return awsutil.Prettify(s)
 35703  }
 35704  
 35705  // GoString returns the string representation.
 35706  //
 35707  // API parameter values that are decorated as "sensitive" in the API will not
 35708  // be included in the string output. The member name will be present, but the
 35709  // value will be replaced with "sensitive".
 35710  func (s TeradataParameters) GoString() string {
 35711  	return s.String()
 35712  }
 35713  
 35714  // Validate inspects the fields of the type to determine if they are valid.
 35715  func (s *TeradataParameters) Validate() error {
 35716  	invalidParams := request.ErrInvalidParams{Context: "TeradataParameters"}
 35717  	if s.Database == nil {
 35718  		invalidParams.Add(request.NewErrParamRequired("Database"))
 35719  	}
 35720  	if s.Database != nil && len(*s.Database) < 1 {
 35721  		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
 35722  	}
 35723  	if s.Host == nil {
 35724  		invalidParams.Add(request.NewErrParamRequired("Host"))
 35725  	}
 35726  	if s.Host != nil && len(*s.Host) < 1 {
 35727  		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
 35728  	}
 35729  	if s.Port == nil {
 35730  		invalidParams.Add(request.NewErrParamRequired("Port"))
 35731  	}
 35732  	if s.Port != nil && *s.Port < 1 {
 35733  		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
 35734  	}
 35735  
 35736  	if invalidParams.Len() > 0 {
 35737  		return invalidParams
 35738  	}
 35739  	return nil
 35740  }
 35741  
 35742  // SetDatabase sets the Database field's value.
 35743  func (s *TeradataParameters) SetDatabase(v string) *TeradataParameters {
 35744  	s.Database = &v
 35745  	return s
 35746  }
 35747  
 35748  // SetHost sets the Host field's value.
 35749  func (s *TeradataParameters) SetHost(v string) *TeradataParameters {
 35750  	s.Host = &v
 35751  	return s
 35752  }
 35753  
 35754  // SetPort sets the Port field's value.
 35755  func (s *TeradataParameters) SetPort(v int64) *TeradataParameters {
 35756  	s.Port = &v
 35757  	return s
 35758  }
 35759  
 35760  // Summary information about a theme.
 35761  type Theme struct {
 35762  	_ struct{} `type:"structure"`
 35763  
 35764  	// The Amazon Resource Name (ARN) of the theme.
 35765  	Arn *string `type:"string"`
 35766  
 35767  	// The date and time that the theme was created.
 35768  	CreatedTime *time.Time `type:"timestamp"`
 35769  
 35770  	// The date and time that the theme was last updated.
 35771  	LastUpdatedTime *time.Time `type:"timestamp"`
 35772  
 35773  	// The name that the user gives to the theme.
 35774  	Name *string `min:"1" type:"string"`
 35775  
 35776  	// The identifier that the user gives to the theme.
 35777  	ThemeId *string `min:"1" type:"string"`
 35778  
 35779  	// The type of theme, based on how it was created. Valid values include: QUICKSIGHT
 35780  	// and CUSTOM.
 35781  	Type *string `type:"string" enum:"ThemeType"`
 35782  
 35783  	// A version of a theme.
 35784  	Version *ThemeVersion `type:"structure"`
 35785  }
 35786  
 35787  // String returns the string representation.
 35788  //
 35789  // API parameter values that are decorated as "sensitive" in the API will not
 35790  // be included in the string output. The member name will be present, but the
 35791  // value will be replaced with "sensitive".
 35792  func (s Theme) String() string {
 35793  	return awsutil.Prettify(s)
 35794  }
 35795  
 35796  // GoString returns the string representation.
 35797  //
 35798  // API parameter values that are decorated as "sensitive" in the API will not
 35799  // be included in the string output. The member name will be present, but the
 35800  // value will be replaced with "sensitive".
 35801  func (s Theme) GoString() string {
 35802  	return s.String()
 35803  }
 35804  
 35805  // SetArn sets the Arn field's value.
 35806  func (s *Theme) SetArn(v string) *Theme {
 35807  	s.Arn = &v
 35808  	return s
 35809  }
 35810  
 35811  // SetCreatedTime sets the CreatedTime field's value.
 35812  func (s *Theme) SetCreatedTime(v time.Time) *Theme {
 35813  	s.CreatedTime = &v
 35814  	return s
 35815  }
 35816  
 35817  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 35818  func (s *Theme) SetLastUpdatedTime(v time.Time) *Theme {
 35819  	s.LastUpdatedTime = &v
 35820  	return s
 35821  }
 35822  
 35823  // SetName sets the Name field's value.
 35824  func (s *Theme) SetName(v string) *Theme {
 35825  	s.Name = &v
 35826  	return s
 35827  }
 35828  
 35829  // SetThemeId sets the ThemeId field's value.
 35830  func (s *Theme) SetThemeId(v string) *Theme {
 35831  	s.ThemeId = &v
 35832  	return s
 35833  }
 35834  
 35835  // SetType sets the Type field's value.
 35836  func (s *Theme) SetType(v string) *Theme {
 35837  	s.Type = &v
 35838  	return s
 35839  }
 35840  
 35841  // SetVersion sets the Version field's value.
 35842  func (s *Theme) SetVersion(v *ThemeVersion) *Theme {
 35843  	s.Version = v
 35844  	return s
 35845  }
 35846  
 35847  // An alias for a theme.
 35848  type ThemeAlias struct {
 35849  	_ struct{} `type:"structure"`
 35850  
 35851  	// The display name of the theme alias.
 35852  	AliasName *string `min:"1" type:"string"`
 35853  
 35854  	// The Amazon Resource Name (ARN) of the theme alias.
 35855  	Arn *string `type:"string"`
 35856  
 35857  	// The version number of the theme alias.
 35858  	ThemeVersionNumber *int64 `min:"1" type:"long"`
 35859  }
 35860  
 35861  // String returns the string representation.
 35862  //
 35863  // API parameter values that are decorated as "sensitive" in the API will not
 35864  // be included in the string output. The member name will be present, but the
 35865  // value will be replaced with "sensitive".
 35866  func (s ThemeAlias) String() string {
 35867  	return awsutil.Prettify(s)
 35868  }
 35869  
 35870  // GoString returns the string representation.
 35871  //
 35872  // API parameter values that are decorated as "sensitive" in the API will not
 35873  // be included in the string output. The member name will be present, but the
 35874  // value will be replaced with "sensitive".
 35875  func (s ThemeAlias) GoString() string {
 35876  	return s.String()
 35877  }
 35878  
 35879  // SetAliasName sets the AliasName field's value.
 35880  func (s *ThemeAlias) SetAliasName(v string) *ThemeAlias {
 35881  	s.AliasName = &v
 35882  	return s
 35883  }
 35884  
 35885  // SetArn sets the Arn field's value.
 35886  func (s *ThemeAlias) SetArn(v string) *ThemeAlias {
 35887  	s.Arn = &v
 35888  	return s
 35889  }
 35890  
 35891  // SetThemeVersionNumber sets the ThemeVersionNumber field's value.
 35892  func (s *ThemeAlias) SetThemeVersionNumber(v int64) *ThemeAlias {
 35893  	s.ThemeVersionNumber = &v
 35894  	return s
 35895  }
 35896  
 35897  // The theme configuration. This configuration contains all of the display properties
 35898  // for a theme.
 35899  type ThemeConfiguration struct {
 35900  	_ struct{} `type:"structure"`
 35901  
 35902  	// Color properties that apply to chart data colors.
 35903  	DataColorPalette *DataColorPalette `type:"structure"`
 35904  
 35905  	// Display options related to sheets.
 35906  	Sheet *SheetStyle `type:"structure"`
 35907  
 35908  	// Color properties that apply to the UI and to charts, excluding the colors
 35909  	// that apply to data.
 35910  	UIColorPalette *UIColorPalette `type:"structure"`
 35911  }
 35912  
 35913  // String returns the string representation.
 35914  //
 35915  // API parameter values that are decorated as "sensitive" in the API will not
 35916  // be included in the string output. The member name will be present, but the
 35917  // value will be replaced with "sensitive".
 35918  func (s ThemeConfiguration) String() string {
 35919  	return awsutil.Prettify(s)
 35920  }
 35921  
 35922  // GoString returns the string representation.
 35923  //
 35924  // API parameter values that are decorated as "sensitive" in the API will not
 35925  // be included in the string output. The member name will be present, but the
 35926  // value will be replaced with "sensitive".
 35927  func (s ThemeConfiguration) GoString() string {
 35928  	return s.String()
 35929  }
 35930  
 35931  // SetDataColorPalette sets the DataColorPalette field's value.
 35932  func (s *ThemeConfiguration) SetDataColorPalette(v *DataColorPalette) *ThemeConfiguration {
 35933  	s.DataColorPalette = v
 35934  	return s
 35935  }
 35936  
 35937  // SetSheet sets the Sheet field's value.
 35938  func (s *ThemeConfiguration) SetSheet(v *SheetStyle) *ThemeConfiguration {
 35939  	s.Sheet = v
 35940  	return s
 35941  }
 35942  
 35943  // SetUIColorPalette sets the UIColorPalette field's value.
 35944  func (s *ThemeConfiguration) SetUIColorPalette(v *UIColorPalette) *ThemeConfiguration {
 35945  	s.UIColorPalette = v
 35946  	return s
 35947  }
 35948  
 35949  // Theme error.
 35950  type ThemeError struct {
 35951  	_ struct{} `type:"structure"`
 35952  
 35953  	// The error message.
 35954  	Message *string `type:"string"`
 35955  
 35956  	// The type of error.
 35957  	Type *string `type:"string" enum:"ThemeErrorType"`
 35958  }
 35959  
 35960  // String returns the string representation.
 35961  //
 35962  // API parameter values that are decorated as "sensitive" in the API will not
 35963  // be included in the string output. The member name will be present, but the
 35964  // value will be replaced with "sensitive".
 35965  func (s ThemeError) String() string {
 35966  	return awsutil.Prettify(s)
 35967  }
 35968  
 35969  // GoString returns the string representation.
 35970  //
 35971  // API parameter values that are decorated as "sensitive" in the API will not
 35972  // be included in the string output. The member name will be present, but the
 35973  // value will be replaced with "sensitive".
 35974  func (s ThemeError) GoString() string {
 35975  	return s.String()
 35976  }
 35977  
 35978  // SetMessage sets the Message field's value.
 35979  func (s *ThemeError) SetMessage(v string) *ThemeError {
 35980  	s.Message = &v
 35981  	return s
 35982  }
 35983  
 35984  // SetType sets the Type field's value.
 35985  func (s *ThemeError) SetType(v string) *ThemeError {
 35986  	s.Type = &v
 35987  	return s
 35988  }
 35989  
 35990  // The theme summary.
 35991  type ThemeSummary struct {
 35992  	_ struct{} `type:"structure"`
 35993  
 35994  	// The Amazon Resource Name (ARN) of the resource.
 35995  	Arn *string `type:"string"`
 35996  
 35997  	// The date and time that this theme was created.
 35998  	CreatedTime *time.Time `type:"timestamp"`
 35999  
 36000  	// The last date and time that this theme was updated.
 36001  	LastUpdatedTime *time.Time `type:"timestamp"`
 36002  
 36003  	// The latest version number for the theme.
 36004  	LatestVersionNumber *int64 `min:"1" type:"long"`
 36005  
 36006  	// the display name for the theme.
 36007  	Name *string `min:"1" type:"string"`
 36008  
 36009  	// The ID of the theme. This ID is unique per Amazon Web Services Region; for
 36010  	// each Amazon Web Services account.
 36011  	ThemeId *string `min:"1" type:"string"`
 36012  }
 36013  
 36014  // String returns the string representation.
 36015  //
 36016  // API parameter values that are decorated as "sensitive" in the API will not
 36017  // be included in the string output. The member name will be present, but the
 36018  // value will be replaced with "sensitive".
 36019  func (s ThemeSummary) String() string {
 36020  	return awsutil.Prettify(s)
 36021  }
 36022  
 36023  // GoString returns the string representation.
 36024  //
 36025  // API parameter values that are decorated as "sensitive" in the API will not
 36026  // be included in the string output. The member name will be present, but the
 36027  // value will be replaced with "sensitive".
 36028  func (s ThemeSummary) GoString() string {
 36029  	return s.String()
 36030  }
 36031  
 36032  // SetArn sets the Arn field's value.
 36033  func (s *ThemeSummary) SetArn(v string) *ThemeSummary {
 36034  	s.Arn = &v
 36035  	return s
 36036  }
 36037  
 36038  // SetCreatedTime sets the CreatedTime field's value.
 36039  func (s *ThemeSummary) SetCreatedTime(v time.Time) *ThemeSummary {
 36040  	s.CreatedTime = &v
 36041  	return s
 36042  }
 36043  
 36044  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
 36045  func (s *ThemeSummary) SetLastUpdatedTime(v time.Time) *ThemeSummary {
 36046  	s.LastUpdatedTime = &v
 36047  	return s
 36048  }
 36049  
 36050  // SetLatestVersionNumber sets the LatestVersionNumber field's value.
 36051  func (s *ThemeSummary) SetLatestVersionNumber(v int64) *ThemeSummary {
 36052  	s.LatestVersionNumber = &v
 36053  	return s
 36054  }
 36055  
 36056  // SetName sets the Name field's value.
 36057  func (s *ThemeSummary) SetName(v string) *ThemeSummary {
 36058  	s.Name = &v
 36059  	return s
 36060  }
 36061  
 36062  // SetThemeId sets the ThemeId field's value.
 36063  func (s *ThemeSummary) SetThemeId(v string) *ThemeSummary {
 36064  	s.ThemeId = &v
 36065  	return s
 36066  }
 36067  
 36068  // A version of a theme.
 36069  type ThemeVersion struct {
 36070  	_ struct{} `type:"structure"`
 36071  
 36072  	// The Amazon Resource Name (ARN) of the resource.
 36073  	Arn *string `type:"string"`
 36074  
 36075  	// The Amazon QuickSight-defined ID of the theme that a custom theme inherits
 36076  	// from. All themes initially inherit from a default Amazon QuickSight theme.
 36077  	BaseThemeId *string `min:"1" type:"string"`
 36078  
 36079  	// The theme configuration, which contains all the theme display properties.
 36080  	Configuration *ThemeConfiguration `type:"structure"`
 36081  
 36082  	// The date and time that this theme version was created.
 36083  	CreatedTime *time.Time `type:"timestamp"`
 36084  
 36085  	// The description of the theme.
 36086  	Description *string `min:"1" type:"string"`
 36087  
 36088  	// Errors associated with the theme.
 36089  	Errors []*ThemeError `min:"1" type:"list"`
 36090  
 36091  	// The status of the theme version.
 36092  	Status *string `type:"string" enum:"ResourceStatus"`
 36093  
 36094  	// The version number of the theme.
 36095  	VersionNumber *int64 `min:"1" type:"long"`
 36096  }
 36097  
 36098  // String returns the string representation.
 36099  //
 36100  // API parameter values that are decorated as "sensitive" in the API will not
 36101  // be included in the string output. The member name will be present, but the
 36102  // value will be replaced with "sensitive".
 36103  func (s ThemeVersion) String() string {
 36104  	return awsutil.Prettify(s)
 36105  }
 36106  
 36107  // GoString returns the string representation.
 36108  //
 36109  // API parameter values that are decorated as "sensitive" in the API will not
 36110  // be included in the string output. The member name will be present, but the
 36111  // value will be replaced with "sensitive".
 36112  func (s ThemeVersion) GoString() string {
 36113  	return s.String()
 36114  }
 36115  
 36116  // SetArn sets the Arn field's value.
 36117  func (s *ThemeVersion) SetArn(v string) *ThemeVersion {
 36118  	s.Arn = &v
 36119  	return s
 36120  }
 36121  
 36122  // SetBaseThemeId sets the BaseThemeId field's value.
 36123  func (s *ThemeVersion) SetBaseThemeId(v string) *ThemeVersion {
 36124  	s.BaseThemeId = &v
 36125  	return s
 36126  }
 36127  
 36128  // SetConfiguration sets the Configuration field's value.
 36129  func (s *ThemeVersion) SetConfiguration(v *ThemeConfiguration) *ThemeVersion {
 36130  	s.Configuration = v
 36131  	return s
 36132  }
 36133  
 36134  // SetCreatedTime sets the CreatedTime field's value.
 36135  func (s *ThemeVersion) SetCreatedTime(v time.Time) *ThemeVersion {
 36136  	s.CreatedTime = &v
 36137  	return s
 36138  }
 36139  
 36140  // SetDescription sets the Description field's value.
 36141  func (s *ThemeVersion) SetDescription(v string) *ThemeVersion {
 36142  	s.Description = &v
 36143  	return s
 36144  }
 36145  
 36146  // SetErrors sets the Errors field's value.
 36147  func (s *ThemeVersion) SetErrors(v []*ThemeError) *ThemeVersion {
 36148  	s.Errors = v
 36149  	return s
 36150  }
 36151  
 36152  // SetStatus sets the Status field's value.
 36153  func (s *ThemeVersion) SetStatus(v string) *ThemeVersion {
 36154  	s.Status = &v
 36155  	return s
 36156  }
 36157  
 36158  // SetVersionNumber sets the VersionNumber field's value.
 36159  func (s *ThemeVersion) SetVersionNumber(v int64) *ThemeVersion {
 36160  	s.VersionNumber = &v
 36161  	return s
 36162  }
 36163  
 36164  // The theme version.
 36165  type ThemeVersionSummary struct {
 36166  	_ struct{} `type:"structure"`
 36167  
 36168  	// The Amazon Resource Name (ARN) of the theme version.
 36169  	Arn *string `type:"string"`
 36170  
 36171  	// The date and time that this theme version was created.
 36172  	CreatedTime *time.Time `type:"timestamp"`
 36173  
 36174  	// The description of the theme version.
 36175  	Description *string `min:"1" type:"string"`
 36176  
 36177  	// The status of the theme version.
 36178  	Status *string `type:"string" enum:"ResourceStatus"`
 36179  
 36180  	// The version number of the theme version.
 36181  	VersionNumber *int64 `min:"1" type:"long"`
 36182  }
 36183  
 36184  // String returns the string representation.
 36185  //
 36186  // API parameter values that are decorated as "sensitive" in the API will not
 36187  // be included in the string output. The member name will be present, but the
 36188  // value will be replaced with "sensitive".
 36189  func (s ThemeVersionSummary) String() string {
 36190  	return awsutil.Prettify(s)
 36191  }
 36192  
 36193  // GoString returns the string representation.
 36194  //
 36195  // API parameter values that are decorated as "sensitive" in the API will not
 36196  // be included in the string output. The member name will be present, but the
 36197  // value will be replaced with "sensitive".
 36198  func (s ThemeVersionSummary) GoString() string {
 36199  	return s.String()
 36200  }
 36201  
 36202  // SetArn sets the Arn field's value.
 36203  func (s *ThemeVersionSummary) SetArn(v string) *ThemeVersionSummary {
 36204  	s.Arn = &v
 36205  	return s
 36206  }
 36207  
 36208  // SetCreatedTime sets the CreatedTime field's value.
 36209  func (s *ThemeVersionSummary) SetCreatedTime(v time.Time) *ThemeVersionSummary {
 36210  	s.CreatedTime = &v
 36211  	return s
 36212  }
 36213  
 36214  // SetDescription sets the Description field's value.
 36215  func (s *ThemeVersionSummary) SetDescription(v string) *ThemeVersionSummary {
 36216  	s.Description = &v
 36217  	return s
 36218  }
 36219  
 36220  // SetStatus sets the Status field's value.
 36221  func (s *ThemeVersionSummary) SetStatus(v string) *ThemeVersionSummary {
 36222  	s.Status = &v
 36223  	return s
 36224  }
 36225  
 36226  // SetVersionNumber sets the VersionNumber field's value.
 36227  func (s *ThemeVersionSummary) SetVersionNumber(v int64) *ThemeVersionSummary {
 36228  	s.VersionNumber = &v
 36229  	return s
 36230  }
 36231  
 36232  // Access is throttled.
 36233  type ThrottlingException struct {
 36234  	_            struct{}                  `type:"structure"`
 36235  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 36236  
 36237  	Message_ *string `locationName:"Message" type:"string"`
 36238  
 36239  	// The Amazon Web Services request ID for this request.
 36240  	RequestId *string `type:"string"`
 36241  }
 36242  
 36243  // String returns the string representation.
 36244  //
 36245  // API parameter values that are decorated as "sensitive" in the API will not
 36246  // be included in the string output. The member name will be present, but the
 36247  // value will be replaced with "sensitive".
 36248  func (s ThrottlingException) String() string {
 36249  	return awsutil.Prettify(s)
 36250  }
 36251  
 36252  // GoString returns the string representation.
 36253  //
 36254  // API parameter values that are decorated as "sensitive" in the API will not
 36255  // be included in the string output. The member name will be present, but the
 36256  // value will be replaced with "sensitive".
 36257  func (s ThrottlingException) GoString() string {
 36258  	return s.String()
 36259  }
 36260  
 36261  func newErrorThrottlingException(v protocol.ResponseMetadata) error {
 36262  	return &ThrottlingException{
 36263  		RespMetadata: v,
 36264  	}
 36265  }
 36266  
 36267  // Code returns the exception type name.
 36268  func (s *ThrottlingException) Code() string {
 36269  	return "ThrottlingException"
 36270  }
 36271  
 36272  // Message returns the exception's message.
 36273  func (s *ThrottlingException) Message() string {
 36274  	if s.Message_ != nil {
 36275  		return *s.Message_
 36276  	}
 36277  	return ""
 36278  }
 36279  
 36280  // OrigErr always returns nil, satisfies awserr.Error interface.
 36281  func (s *ThrottlingException) OrigErr() error {
 36282  	return nil
 36283  }
 36284  
 36285  func (s *ThrottlingException) Error() string {
 36286  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 36287  }
 36288  
 36289  // Status code returns the HTTP status code for the request's response error.
 36290  func (s *ThrottlingException) StatusCode() int {
 36291  	return s.RespMetadata.StatusCode
 36292  }
 36293  
 36294  // RequestID returns the service's response RequestID for request.
 36295  func (s *ThrottlingException) RequestID() string {
 36296  	return s.RespMetadata.RequestID
 36297  }
 36298  
 36299  // The display options for the layout of tiles on a sheet.
 36300  type TileLayoutStyle struct {
 36301  	_ struct{} `type:"structure"`
 36302  
 36303  	// The gutter settings that apply between tiles.
 36304  	Gutter *GutterStyle `type:"structure"`
 36305  
 36306  	// The margin settings that apply around the outside edge of sheets.
 36307  	Margin *MarginStyle `type:"structure"`
 36308  }
 36309  
 36310  // String returns the string representation.
 36311  //
 36312  // API parameter values that are decorated as "sensitive" in the API will not
 36313  // be included in the string output. The member name will be present, but the
 36314  // value will be replaced with "sensitive".
 36315  func (s TileLayoutStyle) String() string {
 36316  	return awsutil.Prettify(s)
 36317  }
 36318  
 36319  // GoString returns the string representation.
 36320  //
 36321  // API parameter values that are decorated as "sensitive" in the API will not
 36322  // be included in the string output. The member name will be present, but the
 36323  // value will be replaced with "sensitive".
 36324  func (s TileLayoutStyle) GoString() string {
 36325  	return s.String()
 36326  }
 36327  
 36328  // SetGutter sets the Gutter field's value.
 36329  func (s *TileLayoutStyle) SetGutter(v *GutterStyle) *TileLayoutStyle {
 36330  	s.Gutter = v
 36331  	return s
 36332  }
 36333  
 36334  // SetMargin sets the Margin field's value.
 36335  func (s *TileLayoutStyle) SetMargin(v *MarginStyle) *TileLayoutStyle {
 36336  	s.Margin = v
 36337  	return s
 36338  }
 36339  
 36340  // Display options related to tiles on a sheet.
 36341  type TileStyle struct {
 36342  	_ struct{} `type:"structure"`
 36343  
 36344  	// The border around a tile.
 36345  	Border *BorderStyle `type:"structure"`
 36346  }
 36347  
 36348  // String returns the string representation.
 36349  //
 36350  // API parameter values that are decorated as "sensitive" in the API will not
 36351  // be included in the string output. The member name will be present, but the
 36352  // value will be replaced with "sensitive".
 36353  func (s TileStyle) String() string {
 36354  	return awsutil.Prettify(s)
 36355  }
 36356  
 36357  // GoString returns the string representation.
 36358  //
 36359  // API parameter values that are decorated as "sensitive" in the API will not
 36360  // be included in the string output. The member name will be present, but the
 36361  // value will be replaced with "sensitive".
 36362  func (s TileStyle) GoString() string {
 36363  	return s.String()
 36364  }
 36365  
 36366  // SetBorder sets the Border field's value.
 36367  func (s *TileStyle) SetBorder(v *BorderStyle) *TileStyle {
 36368  	s.Border = v
 36369  	return s
 36370  }
 36371  
 36372  // A data transformation on a logical table. This is a variant type structure.
 36373  // For this structure to be valid, only one of the attributes can be non-null.
 36374  type TransformOperation struct {
 36375  	_ struct{} `type:"structure"`
 36376  
 36377  	// A transform operation that casts a column to a different type.
 36378  	CastColumnTypeOperation *CastColumnTypeOperation `type:"structure"`
 36379  
 36380  	// An operation that creates calculated columns. Columns created in one such
 36381  	// operation form a lexical closure.
 36382  	CreateColumnsOperation *CreateColumnsOperation `type:"structure"`
 36383  
 36384  	// An operation that filters rows based on some condition.
 36385  	FilterOperation *FilterOperation `type:"structure"`
 36386  
 36387  	// An operation that projects columns. Operations that come after a projection
 36388  	// can only refer to projected columns.
 36389  	ProjectOperation *ProjectOperation `type:"structure"`
 36390  
 36391  	// An operation that renames a column.
 36392  	RenameColumnOperation *RenameColumnOperation `type:"structure"`
 36393  
 36394  	// An operation that tags a column with additional information.
 36395  	TagColumnOperation *TagColumnOperation `type:"structure"`
 36396  
 36397  	// A transform operation that removes tags associated with a column.
 36398  	UntagColumnOperation *UntagColumnOperation `type:"structure"`
 36399  }
 36400  
 36401  // String returns the string representation.
 36402  //
 36403  // API parameter values that are decorated as "sensitive" in the API will not
 36404  // be included in the string output. The member name will be present, but the
 36405  // value will be replaced with "sensitive".
 36406  func (s TransformOperation) String() string {
 36407  	return awsutil.Prettify(s)
 36408  }
 36409  
 36410  // GoString returns the string representation.
 36411  //
 36412  // API parameter values that are decorated as "sensitive" in the API will not
 36413  // be included in the string output. The member name will be present, but the
 36414  // value will be replaced with "sensitive".
 36415  func (s TransformOperation) GoString() string {
 36416  	return s.String()
 36417  }
 36418  
 36419  // Validate inspects the fields of the type to determine if they are valid.
 36420  func (s *TransformOperation) Validate() error {
 36421  	invalidParams := request.ErrInvalidParams{Context: "TransformOperation"}
 36422  	if s.CastColumnTypeOperation != nil {
 36423  		if err := s.CastColumnTypeOperation.Validate(); err != nil {
 36424  			invalidParams.AddNested("CastColumnTypeOperation", err.(request.ErrInvalidParams))
 36425  		}
 36426  	}
 36427  	if s.CreateColumnsOperation != nil {
 36428  		if err := s.CreateColumnsOperation.Validate(); err != nil {
 36429  			invalidParams.AddNested("CreateColumnsOperation", err.(request.ErrInvalidParams))
 36430  		}
 36431  	}
 36432  	if s.FilterOperation != nil {
 36433  		if err := s.FilterOperation.Validate(); err != nil {
 36434  			invalidParams.AddNested("FilterOperation", err.(request.ErrInvalidParams))
 36435  		}
 36436  	}
 36437  	if s.ProjectOperation != nil {
 36438  		if err := s.ProjectOperation.Validate(); err != nil {
 36439  			invalidParams.AddNested("ProjectOperation", err.(request.ErrInvalidParams))
 36440  		}
 36441  	}
 36442  	if s.RenameColumnOperation != nil {
 36443  		if err := s.RenameColumnOperation.Validate(); err != nil {
 36444  			invalidParams.AddNested("RenameColumnOperation", err.(request.ErrInvalidParams))
 36445  		}
 36446  	}
 36447  	if s.TagColumnOperation != nil {
 36448  		if err := s.TagColumnOperation.Validate(); err != nil {
 36449  			invalidParams.AddNested("TagColumnOperation", err.(request.ErrInvalidParams))
 36450  		}
 36451  	}
 36452  	if s.UntagColumnOperation != nil {
 36453  		if err := s.UntagColumnOperation.Validate(); err != nil {
 36454  			invalidParams.AddNested("UntagColumnOperation", err.(request.ErrInvalidParams))
 36455  		}
 36456  	}
 36457  
 36458  	if invalidParams.Len() > 0 {
 36459  		return invalidParams
 36460  	}
 36461  	return nil
 36462  }
 36463  
 36464  // SetCastColumnTypeOperation sets the CastColumnTypeOperation field's value.
 36465  func (s *TransformOperation) SetCastColumnTypeOperation(v *CastColumnTypeOperation) *TransformOperation {
 36466  	s.CastColumnTypeOperation = v
 36467  	return s
 36468  }
 36469  
 36470  // SetCreateColumnsOperation sets the CreateColumnsOperation field's value.
 36471  func (s *TransformOperation) SetCreateColumnsOperation(v *CreateColumnsOperation) *TransformOperation {
 36472  	s.CreateColumnsOperation = v
 36473  	return s
 36474  }
 36475  
 36476  // SetFilterOperation sets the FilterOperation field's value.
 36477  func (s *TransformOperation) SetFilterOperation(v *FilterOperation) *TransformOperation {
 36478  	s.FilterOperation = v
 36479  	return s
 36480  }
 36481  
 36482  // SetProjectOperation sets the ProjectOperation field's value.
 36483  func (s *TransformOperation) SetProjectOperation(v *ProjectOperation) *TransformOperation {
 36484  	s.ProjectOperation = v
 36485  	return s
 36486  }
 36487  
 36488  // SetRenameColumnOperation sets the RenameColumnOperation field's value.
 36489  func (s *TransformOperation) SetRenameColumnOperation(v *RenameColumnOperation) *TransformOperation {
 36490  	s.RenameColumnOperation = v
 36491  	return s
 36492  }
 36493  
 36494  // SetTagColumnOperation sets the TagColumnOperation field's value.
 36495  func (s *TransformOperation) SetTagColumnOperation(v *TagColumnOperation) *TransformOperation {
 36496  	s.TagColumnOperation = v
 36497  	return s
 36498  }
 36499  
 36500  // SetUntagColumnOperation sets the UntagColumnOperation field's value.
 36501  func (s *TransformOperation) SetUntagColumnOperation(v *UntagColumnOperation) *TransformOperation {
 36502  	s.UntagColumnOperation = v
 36503  	return s
 36504  }
 36505  
 36506  // The parameters for Twitter.
 36507  type TwitterParameters struct {
 36508  	_ struct{} `type:"structure"`
 36509  
 36510  	// Maximum number of rows to query Twitter.
 36511  	//
 36512  	// MaxRows is a required field
 36513  	MaxRows *int64 `min:"1" type:"integer" required:"true"`
 36514  
 36515  	// Twitter query string.
 36516  	//
 36517  	// Query is a required field
 36518  	Query *string `min:"1" type:"string" required:"true"`
 36519  }
 36520  
 36521  // String returns the string representation.
 36522  //
 36523  // API parameter values that are decorated as "sensitive" in the API will not
 36524  // be included in the string output. The member name will be present, but the
 36525  // value will be replaced with "sensitive".
 36526  func (s TwitterParameters) String() string {
 36527  	return awsutil.Prettify(s)
 36528  }
 36529  
 36530  // GoString returns the string representation.
 36531  //
 36532  // API parameter values that are decorated as "sensitive" in the API will not
 36533  // be included in the string output. The member name will be present, but the
 36534  // value will be replaced with "sensitive".
 36535  func (s TwitterParameters) GoString() string {
 36536  	return s.String()
 36537  }
 36538  
 36539  // Validate inspects the fields of the type to determine if they are valid.
 36540  func (s *TwitterParameters) Validate() error {
 36541  	invalidParams := request.ErrInvalidParams{Context: "TwitterParameters"}
 36542  	if s.MaxRows == nil {
 36543  		invalidParams.Add(request.NewErrParamRequired("MaxRows"))
 36544  	}
 36545  	if s.MaxRows != nil && *s.MaxRows < 1 {
 36546  		invalidParams.Add(request.NewErrParamMinValue("MaxRows", 1))
 36547  	}
 36548  	if s.Query == nil {
 36549  		invalidParams.Add(request.NewErrParamRequired("Query"))
 36550  	}
 36551  	if s.Query != nil && len(*s.Query) < 1 {
 36552  		invalidParams.Add(request.NewErrParamMinLen("Query", 1))
 36553  	}
 36554  
 36555  	if invalidParams.Len() > 0 {
 36556  		return invalidParams
 36557  	}
 36558  	return nil
 36559  }
 36560  
 36561  // SetMaxRows sets the MaxRows field's value.
 36562  func (s *TwitterParameters) SetMaxRows(v int64) *TwitterParameters {
 36563  	s.MaxRows = &v
 36564  	return s
 36565  }
 36566  
 36567  // SetQuery sets the Query field's value.
 36568  func (s *TwitterParameters) SetQuery(v string) *TwitterParameters {
 36569  	s.Query = &v
 36570  	return s
 36571  }
 36572  
 36573  // The theme colors that apply to UI and to charts, excluding data colors. The
 36574  // colors description is a hexadecimal color code that consists of six alphanumerical
 36575  // characters, prefixed with #, for example #37BFF5. For more information, see
 36576  // Using Themes in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html)
 36577  // in the Amazon QuickSight User Guide.
 36578  type UIColorPalette struct {
 36579  	_ struct{} `type:"structure"`
 36580  
 36581  	// This color is that applies to selected states and buttons.
 36582  	Accent *string `type:"string"`
 36583  
 36584  	// The foreground color that applies to any text or other elements that appear
 36585  	// over the accent color.
 36586  	AccentForeground *string `type:"string"`
 36587  
 36588  	// The color that applies to error messages.
 36589  	Danger *string `type:"string"`
 36590  
 36591  	// The foreground color that applies to any text or other elements that appear
 36592  	// over the error color.
 36593  	DangerForeground *string `type:"string"`
 36594  
 36595  	// The color that applies to the names of fields that are identified as dimensions.
 36596  	Dimension *string `type:"string"`
 36597  
 36598  	// The foreground color that applies to any text or other elements that appear
 36599  	// over the dimension color.
 36600  	DimensionForeground *string `type:"string"`
 36601  
 36602  	// The color that applies to the names of fields that are identified as measures.
 36603  	Measure *string `type:"string"`
 36604  
 36605  	// The foreground color that applies to any text or other elements that appear
 36606  	// over the measure color.
 36607  	MeasureForeground *string `type:"string"`
 36608  
 36609  	// The background color that applies to visuals and other high emphasis UI.
 36610  	PrimaryBackground *string `type:"string"`
 36611  
 36612  	// The color of text and other foreground elements that appear over the primary
 36613  	// background regions, such as grid lines, borders, table banding, icons, and
 36614  	// so on.
 36615  	PrimaryForeground *string `type:"string"`
 36616  
 36617  	// The background color that applies to the sheet background and sheet controls.
 36618  	SecondaryBackground *string `type:"string"`
 36619  
 36620  	// The foreground color that applies to any sheet title, sheet control text,
 36621  	// or UI that appears over the secondary background.
 36622  	SecondaryForeground *string `type:"string"`
 36623  
 36624  	// The color that applies to success messages, for example the check mark for
 36625  	// a successful download.
 36626  	Success *string `type:"string"`
 36627  
 36628  	// The foreground color that applies to any text or other elements that appear
 36629  	// over the success color.
 36630  	SuccessForeground *string `type:"string"`
 36631  
 36632  	// This color that applies to warning and informational messages.
 36633  	Warning *string `type:"string"`
 36634  
 36635  	// The foreground color that applies to any text or other elements that appear
 36636  	// over the warning color.
 36637  	WarningForeground *string `type:"string"`
 36638  }
 36639  
 36640  // String returns the string representation.
 36641  //
 36642  // API parameter values that are decorated as "sensitive" in the API will not
 36643  // be included in the string output. The member name will be present, but the
 36644  // value will be replaced with "sensitive".
 36645  func (s UIColorPalette) String() string {
 36646  	return awsutil.Prettify(s)
 36647  }
 36648  
 36649  // GoString returns the string representation.
 36650  //
 36651  // API parameter values that are decorated as "sensitive" in the API will not
 36652  // be included in the string output. The member name will be present, but the
 36653  // value will be replaced with "sensitive".
 36654  func (s UIColorPalette) GoString() string {
 36655  	return s.String()
 36656  }
 36657  
 36658  // SetAccent sets the Accent field's value.
 36659  func (s *UIColorPalette) SetAccent(v string) *UIColorPalette {
 36660  	s.Accent = &v
 36661  	return s
 36662  }
 36663  
 36664  // SetAccentForeground sets the AccentForeground field's value.
 36665  func (s *UIColorPalette) SetAccentForeground(v string) *UIColorPalette {
 36666  	s.AccentForeground = &v
 36667  	return s
 36668  }
 36669  
 36670  // SetDanger sets the Danger field's value.
 36671  func (s *UIColorPalette) SetDanger(v string) *UIColorPalette {
 36672  	s.Danger = &v
 36673  	return s
 36674  }
 36675  
 36676  // SetDangerForeground sets the DangerForeground field's value.
 36677  func (s *UIColorPalette) SetDangerForeground(v string) *UIColorPalette {
 36678  	s.DangerForeground = &v
 36679  	return s
 36680  }
 36681  
 36682  // SetDimension sets the Dimension field's value.
 36683  func (s *UIColorPalette) SetDimension(v string) *UIColorPalette {
 36684  	s.Dimension = &v
 36685  	return s
 36686  }
 36687  
 36688  // SetDimensionForeground sets the DimensionForeground field's value.
 36689  func (s *UIColorPalette) SetDimensionForeground(v string) *UIColorPalette {
 36690  	s.DimensionForeground = &v
 36691  	return s
 36692  }
 36693  
 36694  // SetMeasure sets the Measure field's value.
 36695  func (s *UIColorPalette) SetMeasure(v string) *UIColorPalette {
 36696  	s.Measure = &v
 36697  	return s
 36698  }
 36699  
 36700  // SetMeasureForeground sets the MeasureForeground field's value.
 36701  func (s *UIColorPalette) SetMeasureForeground(v string) *UIColorPalette {
 36702  	s.MeasureForeground = &v
 36703  	return s
 36704  }
 36705  
 36706  // SetPrimaryBackground sets the PrimaryBackground field's value.
 36707  func (s *UIColorPalette) SetPrimaryBackground(v string) *UIColorPalette {
 36708  	s.PrimaryBackground = &v
 36709  	return s
 36710  }
 36711  
 36712  // SetPrimaryForeground sets the PrimaryForeground field's value.
 36713  func (s *UIColorPalette) SetPrimaryForeground(v string) *UIColorPalette {
 36714  	s.PrimaryForeground = &v
 36715  	return s
 36716  }
 36717  
 36718  // SetSecondaryBackground sets the SecondaryBackground field's value.
 36719  func (s *UIColorPalette) SetSecondaryBackground(v string) *UIColorPalette {
 36720  	s.SecondaryBackground = &v
 36721  	return s
 36722  }
 36723  
 36724  // SetSecondaryForeground sets the SecondaryForeground field's value.
 36725  func (s *UIColorPalette) SetSecondaryForeground(v string) *UIColorPalette {
 36726  	s.SecondaryForeground = &v
 36727  	return s
 36728  }
 36729  
 36730  // SetSuccess sets the Success field's value.
 36731  func (s *UIColorPalette) SetSuccess(v string) *UIColorPalette {
 36732  	s.Success = &v
 36733  	return s
 36734  }
 36735  
 36736  // SetSuccessForeground sets the SuccessForeground field's value.
 36737  func (s *UIColorPalette) SetSuccessForeground(v string) *UIColorPalette {
 36738  	s.SuccessForeground = &v
 36739  	return s
 36740  }
 36741  
 36742  // SetWarning sets the Warning field's value.
 36743  func (s *UIColorPalette) SetWarning(v string) *UIColorPalette {
 36744  	s.Warning = &v
 36745  	return s
 36746  }
 36747  
 36748  // SetWarningForeground sets the WarningForeground field's value.
 36749  func (s *UIColorPalette) SetWarningForeground(v string) *UIColorPalette {
 36750  	s.WarningForeground = &v
 36751  	return s
 36752  }
 36753  
 36754  // This error indicates that you are calling an embedding operation in Amazon
 36755  // QuickSight without the required pricing plan on your Amazon Web Services
 36756  // account. Before you can use embedding for anonymous users, a Amazon QuickSight
 36757  // administrator needs to add capacity pricing to Amazon QuickSight. You can
 36758  // do this on the Manage Amazon QuickSight page.
 36759  //
 36760  // After capacity pricing is added, you can use the GetDashboardEmbedUrl API
 36761  // operation with the --identity-type ANONYMOUS option.
 36762  type UnsupportedPricingPlanException struct {
 36763  	_            struct{}                  `type:"structure"`
 36764  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 36765  
 36766  	Message_ *string `locationName:"Message" type:"string"`
 36767  
 36768  	// The Amazon Web Services request ID for this request.
 36769  	RequestId *string `type:"string"`
 36770  }
 36771  
 36772  // String returns the string representation.
 36773  //
 36774  // API parameter values that are decorated as "sensitive" in the API will not
 36775  // be included in the string output. The member name will be present, but the
 36776  // value will be replaced with "sensitive".
 36777  func (s UnsupportedPricingPlanException) String() string {
 36778  	return awsutil.Prettify(s)
 36779  }
 36780  
 36781  // GoString returns the string representation.
 36782  //
 36783  // API parameter values that are decorated as "sensitive" in the API will not
 36784  // be included in the string output. The member name will be present, but the
 36785  // value will be replaced with "sensitive".
 36786  func (s UnsupportedPricingPlanException) GoString() string {
 36787  	return s.String()
 36788  }
 36789  
 36790  func newErrorUnsupportedPricingPlanException(v protocol.ResponseMetadata) error {
 36791  	return &UnsupportedPricingPlanException{
 36792  		RespMetadata: v,
 36793  	}
 36794  }
 36795  
 36796  // Code returns the exception type name.
 36797  func (s *UnsupportedPricingPlanException) Code() string {
 36798  	return "UnsupportedPricingPlanException"
 36799  }
 36800  
 36801  // Message returns the exception's message.
 36802  func (s *UnsupportedPricingPlanException) Message() string {
 36803  	if s.Message_ != nil {
 36804  		return *s.Message_
 36805  	}
 36806  	return ""
 36807  }
 36808  
 36809  // OrigErr always returns nil, satisfies awserr.Error interface.
 36810  func (s *UnsupportedPricingPlanException) OrigErr() error {
 36811  	return nil
 36812  }
 36813  
 36814  func (s *UnsupportedPricingPlanException) Error() string {
 36815  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 36816  }
 36817  
 36818  // Status code returns the HTTP status code for the request's response error.
 36819  func (s *UnsupportedPricingPlanException) StatusCode() int {
 36820  	return s.RespMetadata.StatusCode
 36821  }
 36822  
 36823  // RequestID returns the service's response RequestID for request.
 36824  func (s *UnsupportedPricingPlanException) RequestID() string {
 36825  	return s.RespMetadata.RequestID
 36826  }
 36827  
 36828  // This error indicates that you are calling an operation on an Amazon QuickSight
 36829  // subscription where the edition doesn't include support for that operation.
 36830  // Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
 36831  // Not every operation and capability is available in every edition.
 36832  type UnsupportedUserEditionException struct {
 36833  	_            struct{}                  `type:"structure"`
 36834  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 36835  
 36836  	Message_ *string `locationName:"Message" type:"string"`
 36837  
 36838  	// The Amazon Web Services request ID for this request.
 36839  	RequestId *string `type:"string"`
 36840  }
 36841  
 36842  // String returns the string representation.
 36843  //
 36844  // API parameter values that are decorated as "sensitive" in the API will not
 36845  // be included in the string output. The member name will be present, but the
 36846  // value will be replaced with "sensitive".
 36847  func (s UnsupportedUserEditionException) String() string {
 36848  	return awsutil.Prettify(s)
 36849  }
 36850  
 36851  // GoString returns the string representation.
 36852  //
 36853  // API parameter values that are decorated as "sensitive" in the API will not
 36854  // be included in the string output. The member name will be present, but the
 36855  // value will be replaced with "sensitive".
 36856  func (s UnsupportedUserEditionException) GoString() string {
 36857  	return s.String()
 36858  }
 36859  
 36860  func newErrorUnsupportedUserEditionException(v protocol.ResponseMetadata) error {
 36861  	return &UnsupportedUserEditionException{
 36862  		RespMetadata: v,
 36863  	}
 36864  }
 36865  
 36866  // Code returns the exception type name.
 36867  func (s *UnsupportedUserEditionException) Code() string {
 36868  	return "UnsupportedUserEditionException"
 36869  }
 36870  
 36871  // Message returns the exception's message.
 36872  func (s *UnsupportedUserEditionException) Message() string {
 36873  	if s.Message_ != nil {
 36874  		return *s.Message_
 36875  	}
 36876  	return ""
 36877  }
 36878  
 36879  // OrigErr always returns nil, satisfies awserr.Error interface.
 36880  func (s *UnsupportedUserEditionException) OrigErr() error {
 36881  	return nil
 36882  }
 36883  
 36884  func (s *UnsupportedUserEditionException) Error() string {
 36885  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 36886  }
 36887  
 36888  // Status code returns the HTTP status code for the request's response error.
 36889  func (s *UnsupportedUserEditionException) StatusCode() int {
 36890  	return s.RespMetadata.StatusCode
 36891  }
 36892  
 36893  // RequestID returns the service's response RequestID for request.
 36894  func (s *UnsupportedUserEditionException) RequestID() string {
 36895  	return s.RespMetadata.RequestID
 36896  }
 36897  
 36898  // A transform operation that removes tags associated with a column.
 36899  type UntagColumnOperation struct {
 36900  	_ struct{} `type:"structure"`
 36901  
 36902  	// The column that this operation acts on.
 36903  	//
 36904  	// ColumnName is a required field
 36905  	ColumnName *string `min:"1" type:"string" required:"true"`
 36906  
 36907  	// The column tags to remove from this column.
 36908  	//
 36909  	// TagNames is a required field
 36910  	TagNames []*string `type:"list" required:"true"`
 36911  }
 36912  
 36913  // String returns the string representation.
 36914  //
 36915  // API parameter values that are decorated as "sensitive" in the API will not
 36916  // be included in the string output. The member name will be present, but the
 36917  // value will be replaced with "sensitive".
 36918  func (s UntagColumnOperation) String() string {
 36919  	return awsutil.Prettify(s)
 36920  }
 36921  
 36922  // GoString returns the string representation.
 36923  //
 36924  // API parameter values that are decorated as "sensitive" in the API will not
 36925  // be included in the string output. The member name will be present, but the
 36926  // value will be replaced with "sensitive".
 36927  func (s UntagColumnOperation) GoString() string {
 36928  	return s.String()
 36929  }
 36930  
 36931  // Validate inspects the fields of the type to determine if they are valid.
 36932  func (s *UntagColumnOperation) Validate() error {
 36933  	invalidParams := request.ErrInvalidParams{Context: "UntagColumnOperation"}
 36934  	if s.ColumnName == nil {
 36935  		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
 36936  	}
 36937  	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
 36938  		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
 36939  	}
 36940  	if s.TagNames == nil {
 36941  		invalidParams.Add(request.NewErrParamRequired("TagNames"))
 36942  	}
 36943  
 36944  	if invalidParams.Len() > 0 {
 36945  		return invalidParams
 36946  	}
 36947  	return nil
 36948  }
 36949  
 36950  // SetColumnName sets the ColumnName field's value.
 36951  func (s *UntagColumnOperation) SetColumnName(v string) *UntagColumnOperation {
 36952  	s.ColumnName = &v
 36953  	return s
 36954  }
 36955  
 36956  // SetTagNames sets the TagNames field's value.
 36957  func (s *UntagColumnOperation) SetTagNames(v []*string) *UntagColumnOperation {
 36958  	s.TagNames = v
 36959  	return s
 36960  }
 36961  
 36962  type UntagResourceInput struct {
 36963  	_ struct{} `type:"structure" nopayload:"true"`
 36964  
 36965  	// The Amazon Resource Name (ARN) of the resource that you want to untag.
 36966  	//
 36967  	// ResourceArn is a required field
 36968  	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
 36969  
 36970  	// The keys of the key-value pairs for the resource tag or tags assigned to
 36971  	// the resource.
 36972  	//
 36973  	// TagKeys is a required field
 36974  	TagKeys []*string `location:"querystring" locationName:"keys" min:"1" type:"list" required:"true"`
 36975  }
 36976  
 36977  // String returns the string representation.
 36978  //
 36979  // API parameter values that are decorated as "sensitive" in the API will not
 36980  // be included in the string output. The member name will be present, but the
 36981  // value will be replaced with "sensitive".
 36982  func (s UntagResourceInput) String() string {
 36983  	return awsutil.Prettify(s)
 36984  }
 36985  
 36986  // GoString returns the string representation.
 36987  //
 36988  // API parameter values that are decorated as "sensitive" in the API will not
 36989  // be included in the string output. The member name will be present, but the
 36990  // value will be replaced with "sensitive".
 36991  func (s UntagResourceInput) GoString() string {
 36992  	return s.String()
 36993  }
 36994  
 36995  // Validate inspects the fields of the type to determine if they are valid.
 36996  func (s *UntagResourceInput) Validate() error {
 36997  	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
 36998  	if s.ResourceArn == nil {
 36999  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 37000  	}
 37001  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 37002  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 37003  	}
 37004  	if s.TagKeys == nil {
 37005  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
 37006  	}
 37007  	if s.TagKeys != nil && len(s.TagKeys) < 1 {
 37008  		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
 37009  	}
 37010  
 37011  	if invalidParams.Len() > 0 {
 37012  		return invalidParams
 37013  	}
 37014  	return nil
 37015  }
 37016  
 37017  // SetResourceArn sets the ResourceArn field's value.
 37018  func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
 37019  	s.ResourceArn = &v
 37020  	return s
 37021  }
 37022  
 37023  // SetTagKeys sets the TagKeys field's value.
 37024  func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
 37025  	s.TagKeys = v
 37026  	return s
 37027  }
 37028  
 37029  type UntagResourceOutput struct {
 37030  	_ struct{} `type:"structure"`
 37031  
 37032  	// The Amazon Web Services request ID for this operation.
 37033  	RequestId *string `type:"string"`
 37034  
 37035  	// The HTTP status of the request.
 37036  	Status *int64 `location:"statusCode" type:"integer"`
 37037  }
 37038  
 37039  // String returns the string representation.
 37040  //
 37041  // API parameter values that are decorated as "sensitive" in the API will not
 37042  // be included in the string output. The member name will be present, but the
 37043  // value will be replaced with "sensitive".
 37044  func (s UntagResourceOutput) String() string {
 37045  	return awsutil.Prettify(s)
 37046  }
 37047  
 37048  // GoString returns the string representation.
 37049  //
 37050  // API parameter values that are decorated as "sensitive" in the API will not
 37051  // be included in the string output. The member name will be present, but the
 37052  // value will be replaced with "sensitive".
 37053  func (s UntagResourceOutput) GoString() string {
 37054  	return s.String()
 37055  }
 37056  
 37057  // SetRequestId sets the RequestId field's value.
 37058  func (s *UntagResourceOutput) SetRequestId(v string) *UntagResourceOutput {
 37059  	s.RequestId = &v
 37060  	return s
 37061  }
 37062  
 37063  // SetStatus sets the Status field's value.
 37064  func (s *UntagResourceOutput) SetStatus(v int64) *UntagResourceOutput {
 37065  	s.Status = &v
 37066  	return s
 37067  }
 37068  
 37069  type UpdateAccountCustomizationInput struct {
 37070  	_ struct{} `type:"structure"`
 37071  
 37072  	// The Amazon QuickSight customizations you're updating in the current Amazon
 37073  	// Web Services Region;.
 37074  	//
 37075  	// AccountCustomization is a required field
 37076  	AccountCustomization *AccountCustomization `type:"structure" required:"true"`
 37077  
 37078  	// The ID for the Amazon Web Services account that you want to update Amazon
 37079  	// QuickSight customizations for.
 37080  	//
 37081  	// AwsAccountId is a required field
 37082  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 37083  
 37084  	// The namespace that you want to update Amazon QuickSight customizations for.
 37085  	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
 37086  }
 37087  
 37088  // String returns the string representation.
 37089  //
 37090  // API parameter values that are decorated as "sensitive" in the API will not
 37091  // be included in the string output. The member name will be present, but the
 37092  // value will be replaced with "sensitive".
 37093  func (s UpdateAccountCustomizationInput) String() string {
 37094  	return awsutil.Prettify(s)
 37095  }
 37096  
 37097  // GoString returns the string representation.
 37098  //
 37099  // API parameter values that are decorated as "sensitive" in the API will not
 37100  // be included in the string output. The member name will be present, but the
 37101  // value will be replaced with "sensitive".
 37102  func (s UpdateAccountCustomizationInput) GoString() string {
 37103  	return s.String()
 37104  }
 37105  
 37106  // Validate inspects the fields of the type to determine if they are valid.
 37107  func (s *UpdateAccountCustomizationInput) Validate() error {
 37108  	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountCustomizationInput"}
 37109  	if s.AccountCustomization == nil {
 37110  		invalidParams.Add(request.NewErrParamRequired("AccountCustomization"))
 37111  	}
 37112  	if s.AwsAccountId == nil {
 37113  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 37114  	}
 37115  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 37116  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 37117  	}
 37118  
 37119  	if invalidParams.Len() > 0 {
 37120  		return invalidParams
 37121  	}
 37122  	return nil
 37123  }
 37124  
 37125  // SetAccountCustomization sets the AccountCustomization field's value.
 37126  func (s *UpdateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationInput {
 37127  	s.AccountCustomization = v
 37128  	return s
 37129  }
 37130  
 37131  // SetAwsAccountId sets the AwsAccountId field's value.
 37132  func (s *UpdateAccountCustomizationInput) SetAwsAccountId(v string) *UpdateAccountCustomizationInput {
 37133  	s.AwsAccountId = &v
 37134  	return s
 37135  }
 37136  
 37137  // SetNamespace sets the Namespace field's value.
 37138  func (s *UpdateAccountCustomizationInput) SetNamespace(v string) *UpdateAccountCustomizationInput {
 37139  	s.Namespace = &v
 37140  	return s
 37141  }
 37142  
 37143  type UpdateAccountCustomizationOutput struct {
 37144  	_ struct{} `type:"structure"`
 37145  
 37146  	// The Amazon QuickSight customizations you're updating in the current Amazon
 37147  	// Web Services Region;.
 37148  	AccountCustomization *AccountCustomization `type:"structure"`
 37149  
 37150  	// The Amazon Resource Name (ARN) for the updated customization for this Amazon
 37151  	// Web Services account.
 37152  	Arn *string `type:"string"`
 37153  
 37154  	// The ID for the Amazon Web Services account that you want to update Amazon
 37155  	// QuickSight customizations for.
 37156  	AwsAccountId *string `min:"12" type:"string"`
 37157  
 37158  	// The namespace associated with the customization that you're updating.
 37159  	Namespace *string `type:"string"`
 37160  
 37161  	// The Amazon Web Services request ID for this operation.
 37162  	RequestId *string `type:"string"`
 37163  
 37164  	// The HTTP status of the request.
 37165  	Status *int64 `location:"statusCode" type:"integer"`
 37166  }
 37167  
 37168  // String returns the string representation.
 37169  //
 37170  // API parameter values that are decorated as "sensitive" in the API will not
 37171  // be included in the string output. The member name will be present, but the
 37172  // value will be replaced with "sensitive".
 37173  func (s UpdateAccountCustomizationOutput) String() string {
 37174  	return awsutil.Prettify(s)
 37175  }
 37176  
 37177  // GoString returns the string representation.
 37178  //
 37179  // API parameter values that are decorated as "sensitive" in the API will not
 37180  // be included in the string output. The member name will be present, but the
 37181  // value will be replaced with "sensitive".
 37182  func (s UpdateAccountCustomizationOutput) GoString() string {
 37183  	return s.String()
 37184  }
 37185  
 37186  // SetAccountCustomization sets the AccountCustomization field's value.
 37187  func (s *UpdateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationOutput {
 37188  	s.AccountCustomization = v
 37189  	return s
 37190  }
 37191  
 37192  // SetArn sets the Arn field's value.
 37193  func (s *UpdateAccountCustomizationOutput) SetArn(v string) *UpdateAccountCustomizationOutput {
 37194  	s.Arn = &v
 37195  	return s
 37196  }
 37197  
 37198  // SetAwsAccountId sets the AwsAccountId field's value.
 37199  func (s *UpdateAccountCustomizationOutput) SetAwsAccountId(v string) *UpdateAccountCustomizationOutput {
 37200  	s.AwsAccountId = &v
 37201  	return s
 37202  }
 37203  
 37204  // SetNamespace sets the Namespace field's value.
 37205  func (s *UpdateAccountCustomizationOutput) SetNamespace(v string) *UpdateAccountCustomizationOutput {
 37206  	s.Namespace = &v
 37207  	return s
 37208  }
 37209  
 37210  // SetRequestId sets the RequestId field's value.
 37211  func (s *UpdateAccountCustomizationOutput) SetRequestId(v string) *UpdateAccountCustomizationOutput {
 37212  	s.RequestId = &v
 37213  	return s
 37214  }
 37215  
 37216  // SetStatus sets the Status field's value.
 37217  func (s *UpdateAccountCustomizationOutput) SetStatus(v int64) *UpdateAccountCustomizationOutput {
 37218  	s.Status = &v
 37219  	return s
 37220  }
 37221  
 37222  type UpdateAccountSettingsInput struct {
 37223  	_ struct{} `type:"structure"`
 37224  
 37225  	// The ID for the Amazon Web Services account that contains the Amazon QuickSight
 37226  	// settings that you want to list.
 37227  	//
 37228  	// AwsAccountId is a required field
 37229  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 37230  
 37231  	// The default namespace for this Amazon Web Services account. Currently, the
 37232  	// default is default. Identity and Access Management (IAM) users that register
 37233  	// for the first time with Amazon QuickSight provide an email that becomes associated
 37234  	// with the default namespace.
 37235  	//
 37236  	// DefaultNamespace is a required field
 37237  	DefaultNamespace *string `type:"string" required:"true"`
 37238  
 37239  	// The email address that you want Amazon QuickSight to send notifications to
 37240  	// regarding your Amazon Web Services account or Amazon QuickSight subscription.
 37241  	NotificationEmail *string `type:"string"`
 37242  }
 37243  
 37244  // String returns the string representation.
 37245  //
 37246  // API parameter values that are decorated as "sensitive" in the API will not
 37247  // be included in the string output. The member name will be present, but the
 37248  // value will be replaced with "sensitive".
 37249  func (s UpdateAccountSettingsInput) String() string {
 37250  	return awsutil.Prettify(s)
 37251  }
 37252  
 37253  // GoString returns the string representation.
 37254  //
 37255  // API parameter values that are decorated as "sensitive" in the API will not
 37256  // be included in the string output. The member name will be present, but the
 37257  // value will be replaced with "sensitive".
 37258  func (s UpdateAccountSettingsInput) GoString() string {
 37259  	return s.String()
 37260  }
 37261  
 37262  // Validate inspects the fields of the type to determine if they are valid.
 37263  func (s *UpdateAccountSettingsInput) Validate() error {
 37264  	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountSettingsInput"}
 37265  	if s.AwsAccountId == nil {
 37266  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 37267  	}
 37268  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 37269  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 37270  	}
 37271  	if s.DefaultNamespace == nil {
 37272  		invalidParams.Add(request.NewErrParamRequired("DefaultNamespace"))
 37273  	}
 37274  
 37275  	if invalidParams.Len() > 0 {
 37276  		return invalidParams
 37277  	}
 37278  	return nil
 37279  }
 37280  
 37281  // SetAwsAccountId sets the AwsAccountId field's value.
 37282  func (s *UpdateAccountSettingsInput) SetAwsAccountId(v string) *UpdateAccountSettingsInput {
 37283  	s.AwsAccountId = &v
 37284  	return s
 37285  }
 37286  
 37287  // SetDefaultNamespace sets the DefaultNamespace field's value.
 37288  func (s *UpdateAccountSettingsInput) SetDefaultNamespace(v string) *UpdateAccountSettingsInput {
 37289  	s.DefaultNamespace = &v
 37290  	return s
 37291  }
 37292  
 37293  // SetNotificationEmail sets the NotificationEmail field's value.
 37294  func (s *UpdateAccountSettingsInput) SetNotificationEmail(v string) *UpdateAccountSettingsInput {
 37295  	s.NotificationEmail = &v
 37296  	return s
 37297  }
 37298  
 37299  type UpdateAccountSettingsOutput struct {
 37300  	_ struct{} `type:"structure"`
 37301  
 37302  	// The Amazon Web Services request ID for this operation.
 37303  	RequestId *string `type:"string"`
 37304  
 37305  	// The HTTP status of the request.
 37306  	Status *int64 `location:"statusCode" type:"integer"`
 37307  }
 37308  
 37309  // String returns the string representation.
 37310  //
 37311  // API parameter values that are decorated as "sensitive" in the API will not
 37312  // be included in the string output. The member name will be present, but the
 37313  // value will be replaced with "sensitive".
 37314  func (s UpdateAccountSettingsOutput) String() string {
 37315  	return awsutil.Prettify(s)
 37316  }
 37317  
 37318  // GoString returns the string representation.
 37319  //
 37320  // API parameter values that are decorated as "sensitive" in the API will not
 37321  // be included in the string output. The member name will be present, but the
 37322  // value will be replaced with "sensitive".
 37323  func (s UpdateAccountSettingsOutput) GoString() string {
 37324  	return s.String()
 37325  }
 37326  
 37327  // SetRequestId sets the RequestId field's value.
 37328  func (s *UpdateAccountSettingsOutput) SetRequestId(v string) *UpdateAccountSettingsOutput {
 37329  	s.RequestId = &v
 37330  	return s
 37331  }
 37332  
 37333  // SetStatus sets the Status field's value.
 37334  func (s *UpdateAccountSettingsOutput) SetStatus(v int64) *UpdateAccountSettingsOutput {
 37335  	s.Status = &v
 37336  	return s
 37337  }
 37338  
 37339  type UpdateAnalysisInput struct {
 37340  	_ struct{} `type:"structure"`
 37341  
 37342  	// The ID for the analysis that you're updating. This ID displays in the URL
 37343  	// of the analysis.
 37344  	//
 37345  	// AnalysisId is a required field
 37346  	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
 37347  
 37348  	// The ID of the Amazon Web Services account that contains the analysis that
 37349  	// you're updating.
 37350  	//
 37351  	// AwsAccountId is a required field
 37352  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 37353  
 37354  	// A descriptive name for the analysis that you're updating. This name displays
 37355  	// for the analysis in the Amazon QuickSight console.
 37356  	//
 37357  	// Name is a required field
 37358  	Name *string `min:"1" type:"string" required:"true"`
 37359  
 37360  	// The parameter names and override values that you want to use. An analysis
 37361  	// can have any parameter type, and some parameters might accept multiple values.
 37362  	Parameters *Parameters `type:"structure"`
 37363  
 37364  	// A source entity to use for the analysis that you're updating. This metadata
 37365  	// structure contains details that describe a source template and one or more
 37366  	// datasets.
 37367  	//
 37368  	// SourceEntity is a required field
 37369  	SourceEntity *AnalysisSourceEntity `type:"structure" required:"true"`
 37370  
 37371  	// The Amazon Resource Name (ARN) for the theme to apply to the analysis that
 37372  	// you're creating. To see the theme in the Amazon QuickSight console, make
 37373  	// sure that you have access to it.
 37374  	ThemeArn *string `type:"string"`
 37375  }
 37376  
 37377  // String returns the string representation.
 37378  //
 37379  // API parameter values that are decorated as "sensitive" in the API will not
 37380  // be included in the string output. The member name will be present, but the
 37381  // value will be replaced with "sensitive".
 37382  func (s UpdateAnalysisInput) String() string {
 37383  	return awsutil.Prettify(s)
 37384  }
 37385  
 37386  // GoString returns the string representation.
 37387  //
 37388  // API parameter values that are decorated as "sensitive" in the API will not
 37389  // be included in the string output. The member name will be present, but the
 37390  // value will be replaced with "sensitive".
 37391  func (s UpdateAnalysisInput) GoString() string {
 37392  	return s.String()
 37393  }
 37394  
 37395  // Validate inspects the fields of the type to determine if they are valid.
 37396  func (s *UpdateAnalysisInput) Validate() error {
 37397  	invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisInput"}
 37398  	if s.AnalysisId == nil {
 37399  		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
 37400  	}
 37401  	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
 37402  		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
 37403  	}
 37404  	if s.AwsAccountId == nil {
 37405  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 37406  	}
 37407  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 37408  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 37409  	}
 37410  	if s.Name == nil {
 37411  		invalidParams.Add(request.NewErrParamRequired("Name"))
 37412  	}
 37413  	if s.Name != nil && len(*s.Name) < 1 {
 37414  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 37415  	}
 37416  	if s.SourceEntity == nil {
 37417  		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
 37418  	}
 37419  	if s.Parameters != nil {
 37420  		if err := s.Parameters.Validate(); err != nil {
 37421  			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
 37422  		}
 37423  	}
 37424  	if s.SourceEntity != nil {
 37425  		if err := s.SourceEntity.Validate(); err != nil {
 37426  			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
 37427  		}
 37428  	}
 37429  
 37430  	if invalidParams.Len() > 0 {
 37431  		return invalidParams
 37432  	}
 37433  	return nil
 37434  }
 37435  
 37436  // SetAnalysisId sets the AnalysisId field's value.
 37437  func (s *UpdateAnalysisInput) SetAnalysisId(v string) *UpdateAnalysisInput {
 37438  	s.AnalysisId = &v
 37439  	return s
 37440  }
 37441  
 37442  // SetAwsAccountId sets the AwsAccountId field's value.
 37443  func (s *UpdateAnalysisInput) SetAwsAccountId(v string) *UpdateAnalysisInput {
 37444  	s.AwsAccountId = &v
 37445  	return s
 37446  }
 37447  
 37448  // SetName sets the Name field's value.
 37449  func (s *UpdateAnalysisInput) SetName(v string) *UpdateAnalysisInput {
 37450  	s.Name = &v
 37451  	return s
 37452  }
 37453  
 37454  // SetParameters sets the Parameters field's value.
 37455  func (s *UpdateAnalysisInput) SetParameters(v *Parameters) *UpdateAnalysisInput {
 37456  	s.Parameters = v
 37457  	return s
 37458  }
 37459  
 37460  // SetSourceEntity sets the SourceEntity field's value.
 37461  func (s *UpdateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *UpdateAnalysisInput {
 37462  	s.SourceEntity = v
 37463  	return s
 37464  }
 37465  
 37466  // SetThemeArn sets the ThemeArn field's value.
 37467  func (s *UpdateAnalysisInput) SetThemeArn(v string) *UpdateAnalysisInput {
 37468  	s.ThemeArn = &v
 37469  	return s
 37470  }
 37471  
 37472  type UpdateAnalysisOutput struct {
 37473  	_ struct{} `type:"structure"`
 37474  
 37475  	// The ID of the analysis.
 37476  	AnalysisId *string `min:"1" type:"string"`
 37477  
 37478  	// The ARN of the analysis that you're updating.
 37479  	Arn *string `type:"string"`
 37480  
 37481  	// The Amazon Web Services request ID for this operation.
 37482  	RequestId *string `type:"string"`
 37483  
 37484  	// The HTTP status of the request.
 37485  	Status *int64 `location:"statusCode" type:"integer"`
 37486  
 37487  	// The update status of the last update that was made to the analysis.
 37488  	UpdateStatus *string `type:"string" enum:"ResourceStatus"`
 37489  }
 37490  
 37491  // String returns the string representation.
 37492  //
 37493  // API parameter values that are decorated as "sensitive" in the API will not
 37494  // be included in the string output. The member name will be present, but the
 37495  // value will be replaced with "sensitive".
 37496  func (s UpdateAnalysisOutput) String() string {
 37497  	return awsutil.Prettify(s)
 37498  }
 37499  
 37500  // GoString returns the string representation.
 37501  //
 37502  // API parameter values that are decorated as "sensitive" in the API will not
 37503  // be included in the string output. The member name will be present, but the
 37504  // value will be replaced with "sensitive".
 37505  func (s UpdateAnalysisOutput) GoString() string {
 37506  	return s.String()
 37507  }
 37508  
 37509  // SetAnalysisId sets the AnalysisId field's value.
 37510  func (s *UpdateAnalysisOutput) SetAnalysisId(v string) *UpdateAnalysisOutput {
 37511  	s.AnalysisId = &v
 37512  	return s
 37513  }
 37514  
 37515  // SetArn sets the Arn field's value.
 37516  func (s *UpdateAnalysisOutput) SetArn(v string) *UpdateAnalysisOutput {
 37517  	s.Arn = &v
 37518  	return s
 37519  }
 37520  
 37521  // SetRequestId sets the RequestId field's value.
 37522  func (s *UpdateAnalysisOutput) SetRequestId(v string) *UpdateAnalysisOutput {
 37523  	s.RequestId = &v
 37524  	return s
 37525  }
 37526  
 37527  // SetStatus sets the Status field's value.
 37528  func (s *UpdateAnalysisOutput) SetStatus(v int64) *UpdateAnalysisOutput {
 37529  	s.Status = &v
 37530  	return s
 37531  }
 37532  
 37533  // SetUpdateStatus sets the UpdateStatus field's value.
 37534  func (s *UpdateAnalysisOutput) SetUpdateStatus(v string) *UpdateAnalysisOutput {
 37535  	s.UpdateStatus = &v
 37536  	return s
 37537  }
 37538  
 37539  type UpdateAnalysisPermissionsInput struct {
 37540  	_ struct{} `type:"structure"`
 37541  
 37542  	// The ID of the analysis whose permissions you're updating. The ID is part
 37543  	// of the analysis URL.
 37544  	//
 37545  	// AnalysisId is a required field
 37546  	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
 37547  
 37548  	// The ID of the Amazon Web Services account that contains the analysis whose
 37549  	// permissions you're updating. You must be using the Amazon Web Services account
 37550  	// that the analysis is in.
 37551  	//
 37552  	// AwsAccountId is a required field
 37553  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 37554  
 37555  	// A structure that describes the permissions to add and the principal to add
 37556  	// them to.
 37557  	GrantPermissions []*ResourcePermission `type:"list"`
 37558  
 37559  	// A structure that describes the permissions to remove and the principal to
 37560  	// remove them from.
 37561  	RevokePermissions []*ResourcePermission `type:"list"`
 37562  }
 37563  
 37564  // String returns the string representation.
 37565  //
 37566  // API parameter values that are decorated as "sensitive" in the API will not
 37567  // be included in the string output. The member name will be present, but the
 37568  // value will be replaced with "sensitive".
 37569  func (s UpdateAnalysisPermissionsInput) String() string {
 37570  	return awsutil.Prettify(s)
 37571  }
 37572  
 37573  // GoString returns the string representation.
 37574  //
 37575  // API parameter values that are decorated as "sensitive" in the API will not
 37576  // be included in the string output. The member name will be present, but the
 37577  // value will be replaced with "sensitive".
 37578  func (s UpdateAnalysisPermissionsInput) GoString() string {
 37579  	return s.String()
 37580  }
 37581  
 37582  // Validate inspects the fields of the type to determine if they are valid.
 37583  func (s *UpdateAnalysisPermissionsInput) Validate() error {
 37584  	invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisPermissionsInput"}
 37585  	if s.AnalysisId == nil {
 37586  		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
 37587  	}
 37588  	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
 37589  		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
 37590  	}
 37591  	if s.AwsAccountId == nil {
 37592  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 37593  	}
 37594  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 37595  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 37596  	}
 37597  	if s.GrantPermissions != nil {
 37598  		for i, v := range s.GrantPermissions {
 37599  			if v == nil {
 37600  				continue
 37601  			}
 37602  			if err := v.Validate(); err != nil {
 37603  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
 37604  			}
 37605  		}
 37606  	}
 37607  	if s.RevokePermissions != nil {
 37608  		for i, v := range s.RevokePermissions {
 37609  			if v == nil {
 37610  				continue
 37611  			}
 37612  			if err := v.Validate(); err != nil {
 37613  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
 37614  			}
 37615  		}
 37616  	}
 37617  
 37618  	if invalidParams.Len() > 0 {
 37619  		return invalidParams
 37620  	}
 37621  	return nil
 37622  }
 37623  
 37624  // SetAnalysisId sets the AnalysisId field's value.
 37625  func (s *UpdateAnalysisPermissionsInput) SetAnalysisId(v string) *UpdateAnalysisPermissionsInput {
 37626  	s.AnalysisId = &v
 37627  	return s
 37628  }
 37629  
 37630  // SetAwsAccountId sets the AwsAccountId field's value.
 37631  func (s *UpdateAnalysisPermissionsInput) SetAwsAccountId(v string) *UpdateAnalysisPermissionsInput {
 37632  	s.AwsAccountId = &v
 37633  	return s
 37634  }
 37635  
 37636  // SetGrantPermissions sets the GrantPermissions field's value.
 37637  func (s *UpdateAnalysisPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput {
 37638  	s.GrantPermissions = v
 37639  	return s
 37640  }
 37641  
 37642  // SetRevokePermissions sets the RevokePermissions field's value.
 37643  func (s *UpdateAnalysisPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput {
 37644  	s.RevokePermissions = v
 37645  	return s
 37646  }
 37647  
 37648  type UpdateAnalysisPermissionsOutput struct {
 37649  	_ struct{} `type:"structure"`
 37650  
 37651  	// The Amazon Resource Name (ARN) of the analysis that you updated.
 37652  	AnalysisArn *string `type:"string"`
 37653  
 37654  	// The ID of the analysis that you updated permissions for.
 37655  	AnalysisId *string `min:"1" type:"string"`
 37656  
 37657  	// A structure that describes the principals and the resource-level permissions
 37658  	// on an analysis.
 37659  	Permissions []*ResourcePermission `min:"1" type:"list"`
 37660  
 37661  	// The Amazon Web Services request ID for this operation.
 37662  	RequestId *string `type:"string"`
 37663  
 37664  	// The HTTP status of the request.
 37665  	Status *int64 `location:"statusCode" type:"integer"`
 37666  }
 37667  
 37668  // String returns the string representation.
 37669  //
 37670  // API parameter values that are decorated as "sensitive" in the API will not
 37671  // be included in the string output. The member name will be present, but the
 37672  // value will be replaced with "sensitive".
 37673  func (s UpdateAnalysisPermissionsOutput) String() string {
 37674  	return awsutil.Prettify(s)
 37675  }
 37676  
 37677  // GoString returns the string representation.
 37678  //
 37679  // API parameter values that are decorated as "sensitive" in the API will not
 37680  // be included in the string output. The member name will be present, but the
 37681  // value will be replaced with "sensitive".
 37682  func (s UpdateAnalysisPermissionsOutput) GoString() string {
 37683  	return s.String()
 37684  }
 37685  
 37686  // SetAnalysisArn sets the AnalysisArn field's value.
 37687  func (s *UpdateAnalysisPermissionsOutput) SetAnalysisArn(v string) *UpdateAnalysisPermissionsOutput {
 37688  	s.AnalysisArn = &v
 37689  	return s
 37690  }
 37691  
 37692  // SetAnalysisId sets the AnalysisId field's value.
 37693  func (s *UpdateAnalysisPermissionsOutput) SetAnalysisId(v string) *UpdateAnalysisPermissionsOutput {
 37694  	s.AnalysisId = &v
 37695  	return s
 37696  }
 37697  
 37698  // SetPermissions sets the Permissions field's value.
 37699  func (s *UpdateAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsOutput {
 37700  	s.Permissions = v
 37701  	return s
 37702  }
 37703  
 37704  // SetRequestId sets the RequestId field's value.
 37705  func (s *UpdateAnalysisPermissionsOutput) SetRequestId(v string) *UpdateAnalysisPermissionsOutput {
 37706  	s.RequestId = &v
 37707  	return s
 37708  }
 37709  
 37710  // SetStatus sets the Status field's value.
 37711  func (s *UpdateAnalysisPermissionsOutput) SetStatus(v int64) *UpdateAnalysisPermissionsOutput {
 37712  	s.Status = &v
 37713  	return s
 37714  }
 37715  
 37716  type UpdateDashboardInput struct {
 37717  	_ struct{} `type:"structure"`
 37718  
 37719  	// The ID of the Amazon Web Services account that contains the dashboard that
 37720  	// you're updating.
 37721  	//
 37722  	// AwsAccountId is a required field
 37723  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 37724  
 37725  	// The ID for the dashboard.
 37726  	//
 37727  	// DashboardId is a required field
 37728  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 37729  
 37730  	// Options for publishing the dashboard when you create it:
 37731  	//
 37732  	//    * AvailabilityStatus for AdHocFilteringOption - This status can be either
 37733  	//    ENABLED or DISABLED. When this is set to DISABLED, Amazon QuickSight disables
 37734  	//    the left filter pane on the published dashboard, which can be used for
 37735  	//    ad hoc (one-time) filtering. This option is ENABLED by default.
 37736  	//
 37737  	//    * AvailabilityStatus for ExportToCSVOption - This status can be either
 37738  	//    ENABLED or DISABLED. The visual option to export data to .CSV format isn't
 37739  	//    enabled when this is set to DISABLED. This option is ENABLED by default.
 37740  	//
 37741  	//    * VisibilityState for SheetControlsOption - This visibility state can
 37742  	//    be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.
 37743  	DashboardPublishOptions *DashboardPublishOptions `type:"structure"`
 37744  
 37745  	// The display name of the dashboard.
 37746  	//
 37747  	// Name is a required field
 37748  	Name *string `min:"1" type:"string" required:"true"`
 37749  
 37750  	// A structure that contains the parameters of the dashboard. These are parameter
 37751  	// overrides for a dashboard. A dashboard can have any type of parameters, and
 37752  	// some parameters might accept multiple values.
 37753  	Parameters *Parameters `type:"structure"`
 37754  
 37755  	// The entity that you are using as a source when you update the dashboard.
 37756  	// In SourceEntity, you specify the type of object you're using as source. You
 37757  	// can only update a dashboard from a template, so you use a SourceTemplate
 37758  	// entity. If you need to update a dashboard from an analysis, first convert
 37759  	// the analysis to a template by using the CreateTemplate API operation. For
 37760  	// SourceTemplate, specify the Amazon Resource Name (ARN) of the source template.
 37761  	// The SourceTemplate ARN can contain any Amazon Web Services account and any
 37762  	// Amazon QuickSight-supported Amazon Web Services Region;.
 37763  	//
 37764  	// Use the DataSetReferences entity within SourceTemplate to list the replacement
 37765  	// datasets for the placeholders listed in the original. The schema in each
 37766  	// dataset must match its placeholder.
 37767  	//
 37768  	// SourceEntity is a required field
 37769  	SourceEntity *DashboardSourceEntity `type:"structure" required:"true"`
 37770  
 37771  	// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
 37772  	// If you add a value for this field, it overrides the value that was originally
 37773  	// associated with the entity. The theme ARN must exist in the same Amazon Web
 37774  	// Services account where you create the dashboard.
 37775  	ThemeArn *string `type:"string"`
 37776  
 37777  	// A description for the first version of the dashboard being created.
 37778  	VersionDescription *string `min:"1" type:"string"`
 37779  }
 37780  
 37781  // String returns the string representation.
 37782  //
 37783  // API parameter values that are decorated as "sensitive" in the API will not
 37784  // be included in the string output. The member name will be present, but the
 37785  // value will be replaced with "sensitive".
 37786  func (s UpdateDashboardInput) String() string {
 37787  	return awsutil.Prettify(s)
 37788  }
 37789  
 37790  // GoString returns the string representation.
 37791  //
 37792  // API parameter values that are decorated as "sensitive" in the API will not
 37793  // be included in the string output. The member name will be present, but the
 37794  // value will be replaced with "sensitive".
 37795  func (s UpdateDashboardInput) GoString() string {
 37796  	return s.String()
 37797  }
 37798  
 37799  // Validate inspects the fields of the type to determine if they are valid.
 37800  func (s *UpdateDashboardInput) Validate() error {
 37801  	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardInput"}
 37802  	if s.AwsAccountId == nil {
 37803  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 37804  	}
 37805  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 37806  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 37807  	}
 37808  	if s.DashboardId == nil {
 37809  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 37810  	}
 37811  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 37812  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 37813  	}
 37814  	if s.Name == nil {
 37815  		invalidParams.Add(request.NewErrParamRequired("Name"))
 37816  	}
 37817  	if s.Name != nil && len(*s.Name) < 1 {
 37818  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 37819  	}
 37820  	if s.SourceEntity == nil {
 37821  		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
 37822  	}
 37823  	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
 37824  		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
 37825  	}
 37826  	if s.Parameters != nil {
 37827  		if err := s.Parameters.Validate(); err != nil {
 37828  			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
 37829  		}
 37830  	}
 37831  	if s.SourceEntity != nil {
 37832  		if err := s.SourceEntity.Validate(); err != nil {
 37833  			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
 37834  		}
 37835  	}
 37836  
 37837  	if invalidParams.Len() > 0 {
 37838  		return invalidParams
 37839  	}
 37840  	return nil
 37841  }
 37842  
 37843  // SetAwsAccountId sets the AwsAccountId field's value.
 37844  func (s *UpdateDashboardInput) SetAwsAccountId(v string) *UpdateDashboardInput {
 37845  	s.AwsAccountId = &v
 37846  	return s
 37847  }
 37848  
 37849  // SetDashboardId sets the DashboardId field's value.
 37850  func (s *UpdateDashboardInput) SetDashboardId(v string) *UpdateDashboardInput {
 37851  	s.DashboardId = &v
 37852  	return s
 37853  }
 37854  
 37855  // SetDashboardPublishOptions sets the DashboardPublishOptions field's value.
 37856  func (s *UpdateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *UpdateDashboardInput {
 37857  	s.DashboardPublishOptions = v
 37858  	return s
 37859  }
 37860  
 37861  // SetName sets the Name field's value.
 37862  func (s *UpdateDashboardInput) SetName(v string) *UpdateDashboardInput {
 37863  	s.Name = &v
 37864  	return s
 37865  }
 37866  
 37867  // SetParameters sets the Parameters field's value.
 37868  func (s *UpdateDashboardInput) SetParameters(v *Parameters) *UpdateDashboardInput {
 37869  	s.Parameters = v
 37870  	return s
 37871  }
 37872  
 37873  // SetSourceEntity sets the SourceEntity field's value.
 37874  func (s *UpdateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *UpdateDashboardInput {
 37875  	s.SourceEntity = v
 37876  	return s
 37877  }
 37878  
 37879  // SetThemeArn sets the ThemeArn field's value.
 37880  func (s *UpdateDashboardInput) SetThemeArn(v string) *UpdateDashboardInput {
 37881  	s.ThemeArn = &v
 37882  	return s
 37883  }
 37884  
 37885  // SetVersionDescription sets the VersionDescription field's value.
 37886  func (s *UpdateDashboardInput) SetVersionDescription(v string) *UpdateDashboardInput {
 37887  	s.VersionDescription = &v
 37888  	return s
 37889  }
 37890  
 37891  type UpdateDashboardOutput struct {
 37892  	_ struct{} `type:"structure"`
 37893  
 37894  	// The Amazon Resource Name (ARN) of the resource.
 37895  	Arn *string `type:"string"`
 37896  
 37897  	// The creation status of the request.
 37898  	CreationStatus *string `type:"string" enum:"ResourceStatus"`
 37899  
 37900  	// The ID for the dashboard.
 37901  	DashboardId *string `min:"1" type:"string"`
 37902  
 37903  	// The Amazon Web Services request ID for this operation.
 37904  	RequestId *string `type:"string"`
 37905  
 37906  	// The HTTP status of the request.
 37907  	Status *int64 `type:"integer"`
 37908  
 37909  	// The ARN of the dashboard, including the version number.
 37910  	VersionArn *string `type:"string"`
 37911  }
 37912  
 37913  // String returns the string representation.
 37914  //
 37915  // API parameter values that are decorated as "sensitive" in the API will not
 37916  // be included in the string output. The member name will be present, but the
 37917  // value will be replaced with "sensitive".
 37918  func (s UpdateDashboardOutput) String() string {
 37919  	return awsutil.Prettify(s)
 37920  }
 37921  
 37922  // GoString returns the string representation.
 37923  //
 37924  // API parameter values that are decorated as "sensitive" in the API will not
 37925  // be included in the string output. The member name will be present, but the
 37926  // value will be replaced with "sensitive".
 37927  func (s UpdateDashboardOutput) GoString() string {
 37928  	return s.String()
 37929  }
 37930  
 37931  // SetArn sets the Arn field's value.
 37932  func (s *UpdateDashboardOutput) SetArn(v string) *UpdateDashboardOutput {
 37933  	s.Arn = &v
 37934  	return s
 37935  }
 37936  
 37937  // SetCreationStatus sets the CreationStatus field's value.
 37938  func (s *UpdateDashboardOutput) SetCreationStatus(v string) *UpdateDashboardOutput {
 37939  	s.CreationStatus = &v
 37940  	return s
 37941  }
 37942  
 37943  // SetDashboardId sets the DashboardId field's value.
 37944  func (s *UpdateDashboardOutput) SetDashboardId(v string) *UpdateDashboardOutput {
 37945  	s.DashboardId = &v
 37946  	return s
 37947  }
 37948  
 37949  // SetRequestId sets the RequestId field's value.
 37950  func (s *UpdateDashboardOutput) SetRequestId(v string) *UpdateDashboardOutput {
 37951  	s.RequestId = &v
 37952  	return s
 37953  }
 37954  
 37955  // SetStatus sets the Status field's value.
 37956  func (s *UpdateDashboardOutput) SetStatus(v int64) *UpdateDashboardOutput {
 37957  	s.Status = &v
 37958  	return s
 37959  }
 37960  
 37961  // SetVersionArn sets the VersionArn field's value.
 37962  func (s *UpdateDashboardOutput) SetVersionArn(v string) *UpdateDashboardOutput {
 37963  	s.VersionArn = &v
 37964  	return s
 37965  }
 37966  
 37967  type UpdateDashboardPermissionsInput struct {
 37968  	_ struct{} `type:"structure"`
 37969  
 37970  	// The ID of the Amazon Web Services account that contains the dashboard whose
 37971  	// permissions you're updating.
 37972  	//
 37973  	// AwsAccountId is a required field
 37974  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 37975  
 37976  	// The ID for the dashboard.
 37977  	//
 37978  	// DashboardId is a required field
 37979  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 37980  
 37981  	// The permissions that you want to grant on this resource.
 37982  	GrantPermissions []*ResourcePermission `type:"list"`
 37983  
 37984  	// The permissions that you want to revoke from this resource.
 37985  	RevokePermissions []*ResourcePermission `type:"list"`
 37986  }
 37987  
 37988  // String returns the string representation.
 37989  //
 37990  // API parameter values that are decorated as "sensitive" in the API will not
 37991  // be included in the string output. The member name will be present, but the
 37992  // value will be replaced with "sensitive".
 37993  func (s UpdateDashboardPermissionsInput) String() string {
 37994  	return awsutil.Prettify(s)
 37995  }
 37996  
 37997  // GoString returns the string representation.
 37998  //
 37999  // API parameter values that are decorated as "sensitive" in the API will not
 38000  // be included in the string output. The member name will be present, but the
 38001  // value will be replaced with "sensitive".
 38002  func (s UpdateDashboardPermissionsInput) GoString() string {
 38003  	return s.String()
 38004  }
 38005  
 38006  // Validate inspects the fields of the type to determine if they are valid.
 38007  func (s *UpdateDashboardPermissionsInput) Validate() error {
 38008  	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPermissionsInput"}
 38009  	if s.AwsAccountId == nil {
 38010  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 38011  	}
 38012  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 38013  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 38014  	}
 38015  	if s.DashboardId == nil {
 38016  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 38017  	}
 38018  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 38019  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 38020  	}
 38021  	if s.GrantPermissions != nil {
 38022  		for i, v := range s.GrantPermissions {
 38023  			if v == nil {
 38024  				continue
 38025  			}
 38026  			if err := v.Validate(); err != nil {
 38027  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
 38028  			}
 38029  		}
 38030  	}
 38031  	if s.RevokePermissions != nil {
 38032  		for i, v := range s.RevokePermissions {
 38033  			if v == nil {
 38034  				continue
 38035  			}
 38036  			if err := v.Validate(); err != nil {
 38037  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
 38038  			}
 38039  		}
 38040  	}
 38041  
 38042  	if invalidParams.Len() > 0 {
 38043  		return invalidParams
 38044  	}
 38045  	return nil
 38046  }
 38047  
 38048  // SetAwsAccountId sets the AwsAccountId field's value.
 38049  func (s *UpdateDashboardPermissionsInput) SetAwsAccountId(v string) *UpdateDashboardPermissionsInput {
 38050  	s.AwsAccountId = &v
 38051  	return s
 38052  }
 38053  
 38054  // SetDashboardId sets the DashboardId field's value.
 38055  func (s *UpdateDashboardPermissionsInput) SetDashboardId(v string) *UpdateDashboardPermissionsInput {
 38056  	s.DashboardId = &v
 38057  	return s
 38058  }
 38059  
 38060  // SetGrantPermissions sets the GrantPermissions field's value.
 38061  func (s *UpdateDashboardPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput {
 38062  	s.GrantPermissions = v
 38063  	return s
 38064  }
 38065  
 38066  // SetRevokePermissions sets the RevokePermissions field's value.
 38067  func (s *UpdateDashboardPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput {
 38068  	s.RevokePermissions = v
 38069  	return s
 38070  }
 38071  
 38072  type UpdateDashboardPermissionsOutput struct {
 38073  	_ struct{} `type:"structure"`
 38074  
 38075  	// The Amazon Resource Name (ARN) of the dashboard.
 38076  	DashboardArn *string `type:"string"`
 38077  
 38078  	// The ID for the dashboard.
 38079  	DashboardId *string `min:"1" type:"string"`
 38080  
 38081  	// Information about the permissions on the dashboard.
 38082  	Permissions []*ResourcePermission `min:"1" type:"list"`
 38083  
 38084  	// The Amazon Web Services request ID for this operation.
 38085  	RequestId *string `type:"string"`
 38086  
 38087  	// The HTTP status of the request.
 38088  	Status *int64 `location:"statusCode" type:"integer"`
 38089  }
 38090  
 38091  // String returns the string representation.
 38092  //
 38093  // API parameter values that are decorated as "sensitive" in the API will not
 38094  // be included in the string output. The member name will be present, but the
 38095  // value will be replaced with "sensitive".
 38096  func (s UpdateDashboardPermissionsOutput) String() string {
 38097  	return awsutil.Prettify(s)
 38098  }
 38099  
 38100  // GoString returns the string representation.
 38101  //
 38102  // API parameter values that are decorated as "sensitive" in the API will not
 38103  // be included in the string output. The member name will be present, but the
 38104  // value will be replaced with "sensitive".
 38105  func (s UpdateDashboardPermissionsOutput) GoString() string {
 38106  	return s.String()
 38107  }
 38108  
 38109  // SetDashboardArn sets the DashboardArn field's value.
 38110  func (s *UpdateDashboardPermissionsOutput) SetDashboardArn(v string) *UpdateDashboardPermissionsOutput {
 38111  	s.DashboardArn = &v
 38112  	return s
 38113  }
 38114  
 38115  // SetDashboardId sets the DashboardId field's value.
 38116  func (s *UpdateDashboardPermissionsOutput) SetDashboardId(v string) *UpdateDashboardPermissionsOutput {
 38117  	s.DashboardId = &v
 38118  	return s
 38119  }
 38120  
 38121  // SetPermissions sets the Permissions field's value.
 38122  func (s *UpdateDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsOutput {
 38123  	s.Permissions = v
 38124  	return s
 38125  }
 38126  
 38127  // SetRequestId sets the RequestId field's value.
 38128  func (s *UpdateDashboardPermissionsOutput) SetRequestId(v string) *UpdateDashboardPermissionsOutput {
 38129  	s.RequestId = &v
 38130  	return s
 38131  }
 38132  
 38133  // SetStatus sets the Status field's value.
 38134  func (s *UpdateDashboardPermissionsOutput) SetStatus(v int64) *UpdateDashboardPermissionsOutput {
 38135  	s.Status = &v
 38136  	return s
 38137  }
 38138  
 38139  type UpdateDashboardPublishedVersionInput struct {
 38140  	_ struct{} `type:"structure" nopayload:"true"`
 38141  
 38142  	// The ID of the Amazon Web Services account that contains the dashboard that
 38143  	// you're updating.
 38144  	//
 38145  	// AwsAccountId is a required field
 38146  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 38147  
 38148  	// The ID for the dashboard.
 38149  	//
 38150  	// DashboardId is a required field
 38151  	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
 38152  
 38153  	// The version number of the dashboard.
 38154  	//
 38155  	// VersionNumber is a required field
 38156  	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" min:"1" type:"long" required:"true"`
 38157  }
 38158  
 38159  // String returns the string representation.
 38160  //
 38161  // API parameter values that are decorated as "sensitive" in the API will not
 38162  // be included in the string output. The member name will be present, but the
 38163  // value will be replaced with "sensitive".
 38164  func (s UpdateDashboardPublishedVersionInput) String() string {
 38165  	return awsutil.Prettify(s)
 38166  }
 38167  
 38168  // GoString returns the string representation.
 38169  //
 38170  // API parameter values that are decorated as "sensitive" in the API will not
 38171  // be included in the string output. The member name will be present, but the
 38172  // value will be replaced with "sensitive".
 38173  func (s UpdateDashboardPublishedVersionInput) GoString() string {
 38174  	return s.String()
 38175  }
 38176  
 38177  // Validate inspects the fields of the type to determine if they are valid.
 38178  func (s *UpdateDashboardPublishedVersionInput) Validate() error {
 38179  	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPublishedVersionInput"}
 38180  	if s.AwsAccountId == nil {
 38181  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 38182  	}
 38183  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 38184  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 38185  	}
 38186  	if s.DashboardId == nil {
 38187  		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
 38188  	}
 38189  	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
 38190  		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
 38191  	}
 38192  	if s.VersionNumber == nil {
 38193  		invalidParams.Add(request.NewErrParamRequired("VersionNumber"))
 38194  	}
 38195  	if s.VersionNumber != nil && *s.VersionNumber < 1 {
 38196  		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
 38197  	}
 38198  
 38199  	if invalidParams.Len() > 0 {
 38200  		return invalidParams
 38201  	}
 38202  	return nil
 38203  }
 38204  
 38205  // SetAwsAccountId sets the AwsAccountId field's value.
 38206  func (s *UpdateDashboardPublishedVersionInput) SetAwsAccountId(v string) *UpdateDashboardPublishedVersionInput {
 38207  	s.AwsAccountId = &v
 38208  	return s
 38209  }
 38210  
 38211  // SetDashboardId sets the DashboardId field's value.
 38212  func (s *UpdateDashboardPublishedVersionInput) SetDashboardId(v string) *UpdateDashboardPublishedVersionInput {
 38213  	s.DashboardId = &v
 38214  	return s
 38215  }
 38216  
 38217  // SetVersionNumber sets the VersionNumber field's value.
 38218  func (s *UpdateDashboardPublishedVersionInput) SetVersionNumber(v int64) *UpdateDashboardPublishedVersionInput {
 38219  	s.VersionNumber = &v
 38220  	return s
 38221  }
 38222  
 38223  type UpdateDashboardPublishedVersionOutput struct {
 38224  	_ struct{} `type:"structure"`
 38225  
 38226  	// The Amazon Resource Name (ARN) of the dashboard.
 38227  	DashboardArn *string `type:"string"`
 38228  
 38229  	// The ID for the dashboard.
 38230  	DashboardId *string `min:"1" type:"string"`
 38231  
 38232  	// The Amazon Web Services request ID for this operation.
 38233  	RequestId *string `type:"string"`
 38234  
 38235  	// The HTTP status of the request.
 38236  	Status *int64 `location:"statusCode" type:"integer"`
 38237  }
 38238  
 38239  // String returns the string representation.
 38240  //
 38241  // API parameter values that are decorated as "sensitive" in the API will not
 38242  // be included in the string output. The member name will be present, but the
 38243  // value will be replaced with "sensitive".
 38244  func (s UpdateDashboardPublishedVersionOutput) String() string {
 38245  	return awsutil.Prettify(s)
 38246  }
 38247  
 38248  // GoString returns the string representation.
 38249  //
 38250  // API parameter values that are decorated as "sensitive" in the API will not
 38251  // be included in the string output. The member name will be present, but the
 38252  // value will be replaced with "sensitive".
 38253  func (s UpdateDashboardPublishedVersionOutput) GoString() string {
 38254  	return s.String()
 38255  }
 38256  
 38257  // SetDashboardArn sets the DashboardArn field's value.
 38258  func (s *UpdateDashboardPublishedVersionOutput) SetDashboardArn(v string) *UpdateDashboardPublishedVersionOutput {
 38259  	s.DashboardArn = &v
 38260  	return s
 38261  }
 38262  
 38263  // SetDashboardId sets the DashboardId field's value.
 38264  func (s *UpdateDashboardPublishedVersionOutput) SetDashboardId(v string) *UpdateDashboardPublishedVersionOutput {
 38265  	s.DashboardId = &v
 38266  	return s
 38267  }
 38268  
 38269  // SetRequestId sets the RequestId field's value.
 38270  func (s *UpdateDashboardPublishedVersionOutput) SetRequestId(v string) *UpdateDashboardPublishedVersionOutput {
 38271  	s.RequestId = &v
 38272  	return s
 38273  }
 38274  
 38275  // SetStatus sets the Status field's value.
 38276  func (s *UpdateDashboardPublishedVersionOutput) SetStatus(v int64) *UpdateDashboardPublishedVersionOutput {
 38277  	s.Status = &v
 38278  	return s
 38279  }
 38280  
 38281  type UpdateDataSetInput struct {
 38282  	_ struct{} `type:"structure"`
 38283  
 38284  	// The Amazon Web Services account ID.
 38285  	//
 38286  	// AwsAccountId is a required field
 38287  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 38288  
 38289  	// Groupings of columns that work together in certain Amazon QuickSight features.
 38290  	// Currently, only geospatial hierarchy is supported.
 38291  	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
 38292  
 38293  	// A set of one or more definitions of a ColumnLevelPermissionRule .
 38294  	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
 38295  
 38296  	// The ID for the dataset that you want to update. This ID is unique per Amazon
 38297  	// Web Services Region; for each Amazon Web Services account.
 38298  	//
 38299  	// DataSetId is a required field
 38300  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 38301  
 38302  	// The usage configuration to apply to child datasets that reference this dataset
 38303  	// as a source.
 38304  	DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"`
 38305  
 38306  	// The folder that contains fields and nested subfolders for your dataset.
 38307  	FieldFolders map[string]*FieldFolder `type:"map"`
 38308  
 38309  	// Indicates whether you want to import the data into SPICE.
 38310  	//
 38311  	// ImportMode is a required field
 38312  	ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"`
 38313  
 38314  	// Configures the combination and transformation of the data from the physical
 38315  	// tables.
 38316  	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
 38317  
 38318  	// The display name for the dataset.
 38319  	//
 38320  	// Name is a required field
 38321  	Name *string `min:"1" type:"string" required:"true"`
 38322  
 38323  	// Declares the physical tables that are available in the underlying data sources.
 38324  	//
 38325  	// PhysicalTableMap is a required field
 38326  	PhysicalTableMap map[string]*PhysicalTable `type:"map" required:"true"`
 38327  
 38328  	// The row-level security configuration for the data you want to create.
 38329  	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
 38330  
 38331  	// The configuration of tags on a dataset to set row-level security. Row-level
 38332  	// security tags are currently supported for anonymous embedding only.
 38333  	RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"`
 38334  }
 38335  
 38336  // String returns the string representation.
 38337  //
 38338  // API parameter values that are decorated as "sensitive" in the API will not
 38339  // be included in the string output. The member name will be present, but the
 38340  // value will be replaced with "sensitive".
 38341  func (s UpdateDataSetInput) String() string {
 38342  	return awsutil.Prettify(s)
 38343  }
 38344  
 38345  // GoString returns the string representation.
 38346  //
 38347  // API parameter values that are decorated as "sensitive" in the API will not
 38348  // be included in the string output. The member name will be present, but the
 38349  // value will be replaced with "sensitive".
 38350  func (s UpdateDataSetInput) GoString() string {
 38351  	return s.String()
 38352  }
 38353  
 38354  // Validate inspects the fields of the type to determine if they are valid.
 38355  func (s *UpdateDataSetInput) Validate() error {
 38356  	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetInput"}
 38357  	if s.AwsAccountId == nil {
 38358  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 38359  	}
 38360  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 38361  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 38362  	}
 38363  	if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 {
 38364  		invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1))
 38365  	}
 38366  	if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 {
 38367  		invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1))
 38368  	}
 38369  	if s.DataSetId == nil {
 38370  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 38371  	}
 38372  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 38373  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 38374  	}
 38375  	if s.ImportMode == nil {
 38376  		invalidParams.Add(request.NewErrParamRequired("ImportMode"))
 38377  	}
 38378  	if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 {
 38379  		invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1))
 38380  	}
 38381  	if s.Name == nil {
 38382  		invalidParams.Add(request.NewErrParamRequired("Name"))
 38383  	}
 38384  	if s.Name != nil && len(*s.Name) < 1 {
 38385  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 38386  	}
 38387  	if s.PhysicalTableMap == nil {
 38388  		invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap"))
 38389  	}
 38390  	if s.ColumnGroups != nil {
 38391  		for i, v := range s.ColumnGroups {
 38392  			if v == nil {
 38393  				continue
 38394  			}
 38395  			if err := v.Validate(); err != nil {
 38396  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams))
 38397  			}
 38398  		}
 38399  	}
 38400  	if s.ColumnLevelPermissionRules != nil {
 38401  		for i, v := range s.ColumnLevelPermissionRules {
 38402  			if v == nil {
 38403  				continue
 38404  			}
 38405  			if err := v.Validate(); err != nil {
 38406  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams))
 38407  			}
 38408  		}
 38409  	}
 38410  	if s.LogicalTableMap != nil {
 38411  		for i, v := range s.LogicalTableMap {
 38412  			if v == nil {
 38413  				continue
 38414  			}
 38415  			if err := v.Validate(); err != nil {
 38416  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams))
 38417  			}
 38418  		}
 38419  	}
 38420  	if s.PhysicalTableMap != nil {
 38421  		for i, v := range s.PhysicalTableMap {
 38422  			if v == nil {
 38423  				continue
 38424  			}
 38425  			if err := v.Validate(); err != nil {
 38426  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams))
 38427  			}
 38428  		}
 38429  	}
 38430  	if s.RowLevelPermissionDataSet != nil {
 38431  		if err := s.RowLevelPermissionDataSet.Validate(); err != nil {
 38432  			invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams))
 38433  		}
 38434  	}
 38435  	if s.RowLevelPermissionTagConfiguration != nil {
 38436  		if err := s.RowLevelPermissionTagConfiguration.Validate(); err != nil {
 38437  			invalidParams.AddNested("RowLevelPermissionTagConfiguration", err.(request.ErrInvalidParams))
 38438  		}
 38439  	}
 38440  
 38441  	if invalidParams.Len() > 0 {
 38442  		return invalidParams
 38443  	}
 38444  	return nil
 38445  }
 38446  
 38447  // SetAwsAccountId sets the AwsAccountId field's value.
 38448  func (s *UpdateDataSetInput) SetAwsAccountId(v string) *UpdateDataSetInput {
 38449  	s.AwsAccountId = &v
 38450  	return s
 38451  }
 38452  
 38453  // SetColumnGroups sets the ColumnGroups field's value.
 38454  func (s *UpdateDataSetInput) SetColumnGroups(v []*ColumnGroup) *UpdateDataSetInput {
 38455  	s.ColumnGroups = v
 38456  	return s
 38457  }
 38458  
 38459  // SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
 38460  func (s *UpdateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *UpdateDataSetInput {
 38461  	s.ColumnLevelPermissionRules = v
 38462  	return s
 38463  }
 38464  
 38465  // SetDataSetId sets the DataSetId field's value.
 38466  func (s *UpdateDataSetInput) SetDataSetId(v string) *UpdateDataSetInput {
 38467  	s.DataSetId = &v
 38468  	return s
 38469  }
 38470  
 38471  // SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value.
 38472  func (s *UpdateDataSetInput) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *UpdateDataSetInput {
 38473  	s.DataSetUsageConfiguration = v
 38474  	return s
 38475  }
 38476  
 38477  // SetFieldFolders sets the FieldFolders field's value.
 38478  func (s *UpdateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *UpdateDataSetInput {
 38479  	s.FieldFolders = v
 38480  	return s
 38481  }
 38482  
 38483  // SetImportMode sets the ImportMode field's value.
 38484  func (s *UpdateDataSetInput) SetImportMode(v string) *UpdateDataSetInput {
 38485  	s.ImportMode = &v
 38486  	return s
 38487  }
 38488  
 38489  // SetLogicalTableMap sets the LogicalTableMap field's value.
 38490  func (s *UpdateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *UpdateDataSetInput {
 38491  	s.LogicalTableMap = v
 38492  	return s
 38493  }
 38494  
 38495  // SetName sets the Name field's value.
 38496  func (s *UpdateDataSetInput) SetName(v string) *UpdateDataSetInput {
 38497  	s.Name = &v
 38498  	return s
 38499  }
 38500  
 38501  // SetPhysicalTableMap sets the PhysicalTableMap field's value.
 38502  func (s *UpdateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *UpdateDataSetInput {
 38503  	s.PhysicalTableMap = v
 38504  	return s
 38505  }
 38506  
 38507  // SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
 38508  func (s *UpdateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *UpdateDataSetInput {
 38509  	s.RowLevelPermissionDataSet = v
 38510  	return s
 38511  }
 38512  
 38513  // SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value.
 38514  func (s *UpdateDataSetInput) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *UpdateDataSetInput {
 38515  	s.RowLevelPermissionTagConfiguration = v
 38516  	return s
 38517  }
 38518  
 38519  type UpdateDataSetOutput struct {
 38520  	_ struct{} `type:"structure"`
 38521  
 38522  	// The Amazon Resource Name (ARN) of the dataset.
 38523  	Arn *string `type:"string"`
 38524  
 38525  	// The ID for the dataset that you want to create. This ID is unique per Amazon
 38526  	// Web Services Region; for each Amazon Web Services account.
 38527  	DataSetId *string `type:"string"`
 38528  
 38529  	// The ARN for the ingestion, which is triggered as a result of dataset creation
 38530  	// if the import mode is SPICE.
 38531  	IngestionArn *string `type:"string"`
 38532  
 38533  	// The ID of the ingestion, which is triggered as a result of dataset creation
 38534  	// if the import mode is SPICE.
 38535  	IngestionId *string `type:"string"`
 38536  
 38537  	// The Amazon Web Services request ID for this operation.
 38538  	RequestId *string `type:"string"`
 38539  
 38540  	// The HTTP status of the request.
 38541  	Status *int64 `location:"statusCode" type:"integer"`
 38542  }
 38543  
 38544  // String returns the string representation.
 38545  //
 38546  // API parameter values that are decorated as "sensitive" in the API will not
 38547  // be included in the string output. The member name will be present, but the
 38548  // value will be replaced with "sensitive".
 38549  func (s UpdateDataSetOutput) String() string {
 38550  	return awsutil.Prettify(s)
 38551  }
 38552  
 38553  // GoString returns the string representation.
 38554  //
 38555  // API parameter values that are decorated as "sensitive" in the API will not
 38556  // be included in the string output. The member name will be present, but the
 38557  // value will be replaced with "sensitive".
 38558  func (s UpdateDataSetOutput) GoString() string {
 38559  	return s.String()
 38560  }
 38561  
 38562  // SetArn sets the Arn field's value.
 38563  func (s *UpdateDataSetOutput) SetArn(v string) *UpdateDataSetOutput {
 38564  	s.Arn = &v
 38565  	return s
 38566  }
 38567  
 38568  // SetDataSetId sets the DataSetId field's value.
 38569  func (s *UpdateDataSetOutput) SetDataSetId(v string) *UpdateDataSetOutput {
 38570  	s.DataSetId = &v
 38571  	return s
 38572  }
 38573  
 38574  // SetIngestionArn sets the IngestionArn field's value.
 38575  func (s *UpdateDataSetOutput) SetIngestionArn(v string) *UpdateDataSetOutput {
 38576  	s.IngestionArn = &v
 38577  	return s
 38578  }
 38579  
 38580  // SetIngestionId sets the IngestionId field's value.
 38581  func (s *UpdateDataSetOutput) SetIngestionId(v string) *UpdateDataSetOutput {
 38582  	s.IngestionId = &v
 38583  	return s
 38584  }
 38585  
 38586  // SetRequestId sets the RequestId field's value.
 38587  func (s *UpdateDataSetOutput) SetRequestId(v string) *UpdateDataSetOutput {
 38588  	s.RequestId = &v
 38589  	return s
 38590  }
 38591  
 38592  // SetStatus sets the Status field's value.
 38593  func (s *UpdateDataSetOutput) SetStatus(v int64) *UpdateDataSetOutput {
 38594  	s.Status = &v
 38595  	return s
 38596  }
 38597  
 38598  type UpdateDataSetPermissionsInput struct {
 38599  	_ struct{} `type:"structure"`
 38600  
 38601  	// The Amazon Web Services account ID.
 38602  	//
 38603  	// AwsAccountId is a required field
 38604  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 38605  
 38606  	// The ID for the dataset whose permissions you want to update. This ID is unique
 38607  	// per Amazon Web Services Region; for each Amazon Web Services account.
 38608  	//
 38609  	// DataSetId is a required field
 38610  	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
 38611  
 38612  	// The resource permissions that you want to grant to the dataset.
 38613  	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
 38614  
 38615  	// The resource permissions that you want to revoke from the dataset.
 38616  	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
 38617  }
 38618  
 38619  // String returns the string representation.
 38620  //
 38621  // API parameter values that are decorated as "sensitive" in the API will not
 38622  // be included in the string output. The member name will be present, but the
 38623  // value will be replaced with "sensitive".
 38624  func (s UpdateDataSetPermissionsInput) String() string {
 38625  	return awsutil.Prettify(s)
 38626  }
 38627  
 38628  // GoString returns the string representation.
 38629  //
 38630  // API parameter values that are decorated as "sensitive" in the API will not
 38631  // be included in the string output. The member name will be present, but the
 38632  // value will be replaced with "sensitive".
 38633  func (s UpdateDataSetPermissionsInput) GoString() string {
 38634  	return s.String()
 38635  }
 38636  
 38637  // Validate inspects the fields of the type to determine if they are valid.
 38638  func (s *UpdateDataSetPermissionsInput) Validate() error {
 38639  	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetPermissionsInput"}
 38640  	if s.AwsAccountId == nil {
 38641  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 38642  	}
 38643  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 38644  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 38645  	}
 38646  	if s.DataSetId == nil {
 38647  		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
 38648  	}
 38649  	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
 38650  		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
 38651  	}
 38652  	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
 38653  		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
 38654  	}
 38655  	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
 38656  		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
 38657  	}
 38658  	if s.GrantPermissions != nil {
 38659  		for i, v := range s.GrantPermissions {
 38660  			if v == nil {
 38661  				continue
 38662  			}
 38663  			if err := v.Validate(); err != nil {
 38664  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
 38665  			}
 38666  		}
 38667  	}
 38668  	if s.RevokePermissions != nil {
 38669  		for i, v := range s.RevokePermissions {
 38670  			if v == nil {
 38671  				continue
 38672  			}
 38673  			if err := v.Validate(); err != nil {
 38674  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
 38675  			}
 38676  		}
 38677  	}
 38678  
 38679  	if invalidParams.Len() > 0 {
 38680  		return invalidParams
 38681  	}
 38682  	return nil
 38683  }
 38684  
 38685  // SetAwsAccountId sets the AwsAccountId field's value.
 38686  func (s *UpdateDataSetPermissionsInput) SetAwsAccountId(v string) *UpdateDataSetPermissionsInput {
 38687  	s.AwsAccountId = &v
 38688  	return s
 38689  }
 38690  
 38691  // SetDataSetId sets the DataSetId field's value.
 38692  func (s *UpdateDataSetPermissionsInput) SetDataSetId(v string) *UpdateDataSetPermissionsInput {
 38693  	s.DataSetId = &v
 38694  	return s
 38695  }
 38696  
 38697  // SetGrantPermissions sets the GrantPermissions field's value.
 38698  func (s *UpdateDataSetPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput {
 38699  	s.GrantPermissions = v
 38700  	return s
 38701  }
 38702  
 38703  // SetRevokePermissions sets the RevokePermissions field's value.
 38704  func (s *UpdateDataSetPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput {
 38705  	s.RevokePermissions = v
 38706  	return s
 38707  }
 38708  
 38709  type UpdateDataSetPermissionsOutput struct {
 38710  	_ struct{} `type:"structure"`
 38711  
 38712  	// The Amazon Resource Name (ARN) of the dataset.
 38713  	DataSetArn *string `type:"string"`
 38714  
 38715  	// The ID for the dataset whose permissions you want to update. This ID is unique
 38716  	// per Amazon Web Services Region; for each Amazon Web Services account.
 38717  	DataSetId *string `type:"string"`
 38718  
 38719  	// The Amazon Web Services request ID for this operation.
 38720  	RequestId *string `type:"string"`
 38721  
 38722  	// The HTTP status of the request.
 38723  	Status *int64 `location:"statusCode" type:"integer"`
 38724  }
 38725  
 38726  // String returns the string representation.
 38727  //
 38728  // API parameter values that are decorated as "sensitive" in the API will not
 38729  // be included in the string output. The member name will be present, but the
 38730  // value will be replaced with "sensitive".
 38731  func (s UpdateDataSetPermissionsOutput) String() string {
 38732  	return awsutil.Prettify(s)
 38733  }
 38734  
 38735  // GoString returns the string representation.
 38736  //
 38737  // API parameter values that are decorated as "sensitive" in the API will not
 38738  // be included in the string output. The member name will be present, but the
 38739  // value will be replaced with "sensitive".
 38740  func (s UpdateDataSetPermissionsOutput) GoString() string {
 38741  	return s.String()
 38742  }
 38743  
 38744  // SetDataSetArn sets the DataSetArn field's value.
 38745  func (s *UpdateDataSetPermissionsOutput) SetDataSetArn(v string) *UpdateDataSetPermissionsOutput {
 38746  	s.DataSetArn = &v
 38747  	return s
 38748  }
 38749  
 38750  // SetDataSetId sets the DataSetId field's value.
 38751  func (s *UpdateDataSetPermissionsOutput) SetDataSetId(v string) *UpdateDataSetPermissionsOutput {
 38752  	s.DataSetId = &v
 38753  	return s
 38754  }
 38755  
 38756  // SetRequestId sets the RequestId field's value.
 38757  func (s *UpdateDataSetPermissionsOutput) SetRequestId(v string) *UpdateDataSetPermissionsOutput {
 38758  	s.RequestId = &v
 38759  	return s
 38760  }
 38761  
 38762  // SetStatus sets the Status field's value.
 38763  func (s *UpdateDataSetPermissionsOutput) SetStatus(v int64) *UpdateDataSetPermissionsOutput {
 38764  	s.Status = &v
 38765  	return s
 38766  }
 38767  
 38768  type UpdateDataSourceInput struct {
 38769  	_ struct{} `type:"structure"`
 38770  
 38771  	// The Amazon Web Services account ID.
 38772  	//
 38773  	// AwsAccountId is a required field
 38774  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 38775  
 38776  	// The credentials that Amazon QuickSight that uses to connect to your underlying
 38777  	// source. Currently, only credentials based on user name and password are supported.
 38778  	//
 38779  	// Credentials is a sensitive parameter and its value will be
 38780  	// replaced with "sensitive" in string returned by UpdateDataSourceInput's
 38781  	// String and GoString methods.
 38782  	Credentials *DataSourceCredentials `type:"structure" sensitive:"true"`
 38783  
 38784  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 38785  	// for each Amazon Web Services account.
 38786  	//
 38787  	// DataSourceId is a required field
 38788  	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
 38789  
 38790  	// The parameters that Amazon QuickSight uses to connect to your underlying
 38791  	// source.
 38792  	DataSourceParameters *DataSourceParameters `type:"structure"`
 38793  
 38794  	// A display name for the data source.
 38795  	//
 38796  	// Name is a required field
 38797  	Name *string `min:"1" type:"string" required:"true"`
 38798  
 38799  	// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects
 38800  	// to your underlying source.
 38801  	SslProperties *SslProperties `type:"structure"`
 38802  
 38803  	// Use this parameter only when you want Amazon QuickSight to use a VPC connection
 38804  	// when connecting to your underlying source.
 38805  	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
 38806  }
 38807  
 38808  // String returns the string representation.
 38809  //
 38810  // API parameter values that are decorated as "sensitive" in the API will not
 38811  // be included in the string output. The member name will be present, but the
 38812  // value will be replaced with "sensitive".
 38813  func (s UpdateDataSourceInput) String() string {
 38814  	return awsutil.Prettify(s)
 38815  }
 38816  
 38817  // GoString returns the string representation.
 38818  //
 38819  // API parameter values that are decorated as "sensitive" in the API will not
 38820  // be included in the string output. The member name will be present, but the
 38821  // value will be replaced with "sensitive".
 38822  func (s UpdateDataSourceInput) GoString() string {
 38823  	return s.String()
 38824  }
 38825  
 38826  // Validate inspects the fields of the type to determine if they are valid.
 38827  func (s *UpdateDataSourceInput) Validate() error {
 38828  	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourceInput"}
 38829  	if s.AwsAccountId == nil {
 38830  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 38831  	}
 38832  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 38833  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 38834  	}
 38835  	if s.DataSourceId == nil {
 38836  		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
 38837  	}
 38838  	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
 38839  		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
 38840  	}
 38841  	if s.Name == nil {
 38842  		invalidParams.Add(request.NewErrParamRequired("Name"))
 38843  	}
 38844  	if s.Name != nil && len(*s.Name) < 1 {
 38845  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 38846  	}
 38847  	if s.Credentials != nil {
 38848  		if err := s.Credentials.Validate(); err != nil {
 38849  			invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams))
 38850  		}
 38851  	}
 38852  	if s.DataSourceParameters != nil {
 38853  		if err := s.DataSourceParameters.Validate(); err != nil {
 38854  			invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams))
 38855  		}
 38856  	}
 38857  	if s.VpcConnectionProperties != nil {
 38858  		if err := s.VpcConnectionProperties.Validate(); err != nil {
 38859  			invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams))
 38860  		}
 38861  	}
 38862  
 38863  	if invalidParams.Len() > 0 {
 38864  		return invalidParams
 38865  	}
 38866  	return nil
 38867  }
 38868  
 38869  // SetAwsAccountId sets the AwsAccountId field's value.
 38870  func (s *UpdateDataSourceInput) SetAwsAccountId(v string) *UpdateDataSourceInput {
 38871  	s.AwsAccountId = &v
 38872  	return s
 38873  }
 38874  
 38875  // SetCredentials sets the Credentials field's value.
 38876  func (s *UpdateDataSourceInput) SetCredentials(v *DataSourceCredentials) *UpdateDataSourceInput {
 38877  	s.Credentials = v
 38878  	return s
 38879  }
 38880  
 38881  // SetDataSourceId sets the DataSourceId field's value.
 38882  func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput {
 38883  	s.DataSourceId = &v
 38884  	return s
 38885  }
 38886  
 38887  // SetDataSourceParameters sets the DataSourceParameters field's value.
 38888  func (s *UpdateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *UpdateDataSourceInput {
 38889  	s.DataSourceParameters = v
 38890  	return s
 38891  }
 38892  
 38893  // SetName sets the Name field's value.
 38894  func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput {
 38895  	s.Name = &v
 38896  	return s
 38897  }
 38898  
 38899  // SetSslProperties sets the SslProperties field's value.
 38900  func (s *UpdateDataSourceInput) SetSslProperties(v *SslProperties) *UpdateDataSourceInput {
 38901  	s.SslProperties = v
 38902  	return s
 38903  }
 38904  
 38905  // SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
 38906  func (s *UpdateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *UpdateDataSourceInput {
 38907  	s.VpcConnectionProperties = v
 38908  	return s
 38909  }
 38910  
 38911  type UpdateDataSourceOutput struct {
 38912  	_ struct{} `type:"structure"`
 38913  
 38914  	// The Amazon Resource Name (ARN) of the data source.
 38915  	Arn *string `type:"string"`
 38916  
 38917  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 38918  	// for each Amazon Web Services account.
 38919  	DataSourceId *string `type:"string"`
 38920  
 38921  	// The Amazon Web Services request ID for this operation.
 38922  	RequestId *string `type:"string"`
 38923  
 38924  	// The HTTP status of the request.
 38925  	Status *int64 `location:"statusCode" type:"integer"`
 38926  
 38927  	// The update status of the data source's last update.
 38928  	UpdateStatus *string `type:"string" enum:"ResourceStatus"`
 38929  }
 38930  
 38931  // String returns the string representation.
 38932  //
 38933  // API parameter values that are decorated as "sensitive" in the API will not
 38934  // be included in the string output. The member name will be present, but the
 38935  // value will be replaced with "sensitive".
 38936  func (s UpdateDataSourceOutput) String() string {
 38937  	return awsutil.Prettify(s)
 38938  }
 38939  
 38940  // GoString returns the string representation.
 38941  //
 38942  // API parameter values that are decorated as "sensitive" in the API will not
 38943  // be included in the string output. The member name will be present, but the
 38944  // value will be replaced with "sensitive".
 38945  func (s UpdateDataSourceOutput) GoString() string {
 38946  	return s.String()
 38947  }
 38948  
 38949  // SetArn sets the Arn field's value.
 38950  func (s *UpdateDataSourceOutput) SetArn(v string) *UpdateDataSourceOutput {
 38951  	s.Arn = &v
 38952  	return s
 38953  }
 38954  
 38955  // SetDataSourceId sets the DataSourceId field's value.
 38956  func (s *UpdateDataSourceOutput) SetDataSourceId(v string) *UpdateDataSourceOutput {
 38957  	s.DataSourceId = &v
 38958  	return s
 38959  }
 38960  
 38961  // SetRequestId sets the RequestId field's value.
 38962  func (s *UpdateDataSourceOutput) SetRequestId(v string) *UpdateDataSourceOutput {
 38963  	s.RequestId = &v
 38964  	return s
 38965  }
 38966  
 38967  // SetStatus sets the Status field's value.
 38968  func (s *UpdateDataSourceOutput) SetStatus(v int64) *UpdateDataSourceOutput {
 38969  	s.Status = &v
 38970  	return s
 38971  }
 38972  
 38973  // SetUpdateStatus sets the UpdateStatus field's value.
 38974  func (s *UpdateDataSourceOutput) SetUpdateStatus(v string) *UpdateDataSourceOutput {
 38975  	s.UpdateStatus = &v
 38976  	return s
 38977  }
 38978  
 38979  type UpdateDataSourcePermissionsInput struct {
 38980  	_ struct{} `type:"structure"`
 38981  
 38982  	// The Amazon Web Services account ID.
 38983  	//
 38984  	// AwsAccountId is a required field
 38985  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 38986  
 38987  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 38988  	// for each Amazon Web Services account.
 38989  	//
 38990  	// DataSourceId is a required field
 38991  	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
 38992  
 38993  	// A list of resource permissions that you want to grant on the data source.
 38994  	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
 38995  
 38996  	// A list of resource permissions that you want to revoke on the data source.
 38997  	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
 38998  }
 38999  
 39000  // String returns the string representation.
 39001  //
 39002  // API parameter values that are decorated as "sensitive" in the API will not
 39003  // be included in the string output. The member name will be present, but the
 39004  // value will be replaced with "sensitive".
 39005  func (s UpdateDataSourcePermissionsInput) String() string {
 39006  	return awsutil.Prettify(s)
 39007  }
 39008  
 39009  // GoString returns the string representation.
 39010  //
 39011  // API parameter values that are decorated as "sensitive" in the API will not
 39012  // be included in the string output. The member name will be present, but the
 39013  // value will be replaced with "sensitive".
 39014  func (s UpdateDataSourcePermissionsInput) GoString() string {
 39015  	return s.String()
 39016  }
 39017  
 39018  // Validate inspects the fields of the type to determine if they are valid.
 39019  func (s *UpdateDataSourcePermissionsInput) Validate() error {
 39020  	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourcePermissionsInput"}
 39021  	if s.AwsAccountId == nil {
 39022  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 39023  	}
 39024  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 39025  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 39026  	}
 39027  	if s.DataSourceId == nil {
 39028  		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
 39029  	}
 39030  	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
 39031  		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
 39032  	}
 39033  	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
 39034  		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
 39035  	}
 39036  	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
 39037  		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
 39038  	}
 39039  	if s.GrantPermissions != nil {
 39040  		for i, v := range s.GrantPermissions {
 39041  			if v == nil {
 39042  				continue
 39043  			}
 39044  			if err := v.Validate(); err != nil {
 39045  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
 39046  			}
 39047  		}
 39048  	}
 39049  	if s.RevokePermissions != nil {
 39050  		for i, v := range s.RevokePermissions {
 39051  			if v == nil {
 39052  				continue
 39053  			}
 39054  			if err := v.Validate(); err != nil {
 39055  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
 39056  			}
 39057  		}
 39058  	}
 39059  
 39060  	if invalidParams.Len() > 0 {
 39061  		return invalidParams
 39062  	}
 39063  	return nil
 39064  }
 39065  
 39066  // SetAwsAccountId sets the AwsAccountId field's value.
 39067  func (s *UpdateDataSourcePermissionsInput) SetAwsAccountId(v string) *UpdateDataSourcePermissionsInput {
 39068  	s.AwsAccountId = &v
 39069  	return s
 39070  }
 39071  
 39072  // SetDataSourceId sets the DataSourceId field's value.
 39073  func (s *UpdateDataSourcePermissionsInput) SetDataSourceId(v string) *UpdateDataSourcePermissionsInput {
 39074  	s.DataSourceId = &v
 39075  	return s
 39076  }
 39077  
 39078  // SetGrantPermissions sets the GrantPermissions field's value.
 39079  func (s *UpdateDataSourcePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput {
 39080  	s.GrantPermissions = v
 39081  	return s
 39082  }
 39083  
 39084  // SetRevokePermissions sets the RevokePermissions field's value.
 39085  func (s *UpdateDataSourcePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput {
 39086  	s.RevokePermissions = v
 39087  	return s
 39088  }
 39089  
 39090  type UpdateDataSourcePermissionsOutput struct {
 39091  	_ struct{} `type:"structure"`
 39092  
 39093  	// The Amazon Resource Name (ARN) of the data source.
 39094  	DataSourceArn *string `type:"string"`
 39095  
 39096  	// The ID of the data source. This ID is unique per Amazon Web Services Region;
 39097  	// for each Amazon Web Services account.
 39098  	DataSourceId *string `type:"string"`
 39099  
 39100  	// The Amazon Web Services request ID for this operation.
 39101  	RequestId *string `type:"string"`
 39102  
 39103  	// The HTTP status of the request.
 39104  	Status *int64 `location:"statusCode" type:"integer"`
 39105  }
 39106  
 39107  // String returns the string representation.
 39108  //
 39109  // API parameter values that are decorated as "sensitive" in the API will not
 39110  // be included in the string output. The member name will be present, but the
 39111  // value will be replaced with "sensitive".
 39112  func (s UpdateDataSourcePermissionsOutput) String() string {
 39113  	return awsutil.Prettify(s)
 39114  }
 39115  
 39116  // GoString returns the string representation.
 39117  //
 39118  // API parameter values that are decorated as "sensitive" in the API will not
 39119  // be included in the string output. The member name will be present, but the
 39120  // value will be replaced with "sensitive".
 39121  func (s UpdateDataSourcePermissionsOutput) GoString() string {
 39122  	return s.String()
 39123  }
 39124  
 39125  // SetDataSourceArn sets the DataSourceArn field's value.
 39126  func (s *UpdateDataSourcePermissionsOutput) SetDataSourceArn(v string) *UpdateDataSourcePermissionsOutput {
 39127  	s.DataSourceArn = &v
 39128  	return s
 39129  }
 39130  
 39131  // SetDataSourceId sets the DataSourceId field's value.
 39132  func (s *UpdateDataSourcePermissionsOutput) SetDataSourceId(v string) *UpdateDataSourcePermissionsOutput {
 39133  	s.DataSourceId = &v
 39134  	return s
 39135  }
 39136  
 39137  // SetRequestId sets the RequestId field's value.
 39138  func (s *UpdateDataSourcePermissionsOutput) SetRequestId(v string) *UpdateDataSourcePermissionsOutput {
 39139  	s.RequestId = &v
 39140  	return s
 39141  }
 39142  
 39143  // SetStatus sets the Status field's value.
 39144  func (s *UpdateDataSourcePermissionsOutput) SetStatus(v int64) *UpdateDataSourcePermissionsOutput {
 39145  	s.Status = &v
 39146  	return s
 39147  }
 39148  
 39149  type UpdateFolderInput struct {
 39150  	_ struct{} `type:"structure"`
 39151  
 39152  	// The AWS account ID.
 39153  	//
 39154  	// AwsAccountId is a required field
 39155  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 39156  
 39157  	// The folder ID.
 39158  	//
 39159  	// FolderId is a required field
 39160  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 39161  
 39162  	// The name of the folder.
 39163  	//
 39164  	// Name is a required field
 39165  	Name *string `min:"1" type:"string" required:"true"`
 39166  }
 39167  
 39168  // String returns the string representation.
 39169  //
 39170  // API parameter values that are decorated as "sensitive" in the API will not
 39171  // be included in the string output. The member name will be present, but the
 39172  // value will be replaced with "sensitive".
 39173  func (s UpdateFolderInput) String() string {
 39174  	return awsutil.Prettify(s)
 39175  }
 39176  
 39177  // GoString returns the string representation.
 39178  //
 39179  // API parameter values that are decorated as "sensitive" in the API will not
 39180  // be included in the string output. The member name will be present, but the
 39181  // value will be replaced with "sensitive".
 39182  func (s UpdateFolderInput) GoString() string {
 39183  	return s.String()
 39184  }
 39185  
 39186  // Validate inspects the fields of the type to determine if they are valid.
 39187  func (s *UpdateFolderInput) Validate() error {
 39188  	invalidParams := request.ErrInvalidParams{Context: "UpdateFolderInput"}
 39189  	if s.AwsAccountId == nil {
 39190  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 39191  	}
 39192  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 39193  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 39194  	}
 39195  	if s.FolderId == nil {
 39196  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 39197  	}
 39198  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 39199  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 39200  	}
 39201  	if s.Name == nil {
 39202  		invalidParams.Add(request.NewErrParamRequired("Name"))
 39203  	}
 39204  	if s.Name != nil && len(*s.Name) < 1 {
 39205  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 39206  	}
 39207  
 39208  	if invalidParams.Len() > 0 {
 39209  		return invalidParams
 39210  	}
 39211  	return nil
 39212  }
 39213  
 39214  // SetAwsAccountId sets the AwsAccountId field's value.
 39215  func (s *UpdateFolderInput) SetAwsAccountId(v string) *UpdateFolderInput {
 39216  	s.AwsAccountId = &v
 39217  	return s
 39218  }
 39219  
 39220  // SetFolderId sets the FolderId field's value.
 39221  func (s *UpdateFolderInput) SetFolderId(v string) *UpdateFolderInput {
 39222  	s.FolderId = &v
 39223  	return s
 39224  }
 39225  
 39226  // SetName sets the Name field's value.
 39227  func (s *UpdateFolderInput) SetName(v string) *UpdateFolderInput {
 39228  	s.Name = &v
 39229  	return s
 39230  }
 39231  
 39232  type UpdateFolderOutput struct {
 39233  	_ struct{} `type:"structure"`
 39234  
 39235  	// The Amazon Resource Name (ARN).
 39236  	Arn *string `type:"string"`
 39237  
 39238  	// The folder ID.
 39239  	FolderId *string `min:"1" type:"string"`
 39240  
 39241  	// The request ID.
 39242  	RequestId *string `type:"string"`
 39243  
 39244  	// The status. If succeeded, the status is SC_OK.
 39245  	Status *int64 `location:"statusCode" type:"integer"`
 39246  }
 39247  
 39248  // String returns the string representation.
 39249  //
 39250  // API parameter values that are decorated as "sensitive" in the API will not
 39251  // be included in the string output. The member name will be present, but the
 39252  // value will be replaced with "sensitive".
 39253  func (s UpdateFolderOutput) String() string {
 39254  	return awsutil.Prettify(s)
 39255  }
 39256  
 39257  // GoString returns the string representation.
 39258  //
 39259  // API parameter values that are decorated as "sensitive" in the API will not
 39260  // be included in the string output. The member name will be present, but the
 39261  // value will be replaced with "sensitive".
 39262  func (s UpdateFolderOutput) GoString() string {
 39263  	return s.String()
 39264  }
 39265  
 39266  // SetArn sets the Arn field's value.
 39267  func (s *UpdateFolderOutput) SetArn(v string) *UpdateFolderOutput {
 39268  	s.Arn = &v
 39269  	return s
 39270  }
 39271  
 39272  // SetFolderId sets the FolderId field's value.
 39273  func (s *UpdateFolderOutput) SetFolderId(v string) *UpdateFolderOutput {
 39274  	s.FolderId = &v
 39275  	return s
 39276  }
 39277  
 39278  // SetRequestId sets the RequestId field's value.
 39279  func (s *UpdateFolderOutput) SetRequestId(v string) *UpdateFolderOutput {
 39280  	s.RequestId = &v
 39281  	return s
 39282  }
 39283  
 39284  // SetStatus sets the Status field's value.
 39285  func (s *UpdateFolderOutput) SetStatus(v int64) *UpdateFolderOutput {
 39286  	s.Status = &v
 39287  	return s
 39288  }
 39289  
 39290  type UpdateFolderPermissionsInput struct {
 39291  	_ struct{} `type:"structure"`
 39292  
 39293  	// The AWS account ID.
 39294  	//
 39295  	// AwsAccountId is a required field
 39296  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 39297  
 39298  	// The folder ID.
 39299  	//
 39300  	// FolderId is a required field
 39301  	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
 39302  
 39303  	// The permissions that you want to grant on a resource.
 39304  	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
 39305  
 39306  	// The permissions that you want to revoke from a resource.
 39307  	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
 39308  }
 39309  
 39310  // String returns the string representation.
 39311  //
 39312  // API parameter values that are decorated as "sensitive" in the API will not
 39313  // be included in the string output. The member name will be present, but the
 39314  // value will be replaced with "sensitive".
 39315  func (s UpdateFolderPermissionsInput) String() string {
 39316  	return awsutil.Prettify(s)
 39317  }
 39318  
 39319  // GoString returns the string representation.
 39320  //
 39321  // API parameter values that are decorated as "sensitive" in the API will not
 39322  // be included in the string output. The member name will be present, but the
 39323  // value will be replaced with "sensitive".
 39324  func (s UpdateFolderPermissionsInput) GoString() string {
 39325  	return s.String()
 39326  }
 39327  
 39328  // Validate inspects the fields of the type to determine if they are valid.
 39329  func (s *UpdateFolderPermissionsInput) Validate() error {
 39330  	invalidParams := request.ErrInvalidParams{Context: "UpdateFolderPermissionsInput"}
 39331  	if s.AwsAccountId == nil {
 39332  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 39333  	}
 39334  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 39335  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 39336  	}
 39337  	if s.FolderId == nil {
 39338  		invalidParams.Add(request.NewErrParamRequired("FolderId"))
 39339  	}
 39340  	if s.FolderId != nil && len(*s.FolderId) < 1 {
 39341  		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
 39342  	}
 39343  	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
 39344  		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
 39345  	}
 39346  	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
 39347  		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
 39348  	}
 39349  	if s.GrantPermissions != nil {
 39350  		for i, v := range s.GrantPermissions {
 39351  			if v == nil {
 39352  				continue
 39353  			}
 39354  			if err := v.Validate(); err != nil {
 39355  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
 39356  			}
 39357  		}
 39358  	}
 39359  	if s.RevokePermissions != nil {
 39360  		for i, v := range s.RevokePermissions {
 39361  			if v == nil {
 39362  				continue
 39363  			}
 39364  			if err := v.Validate(); err != nil {
 39365  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
 39366  			}
 39367  		}
 39368  	}
 39369  
 39370  	if invalidParams.Len() > 0 {
 39371  		return invalidParams
 39372  	}
 39373  	return nil
 39374  }
 39375  
 39376  // SetAwsAccountId sets the AwsAccountId field's value.
 39377  func (s *UpdateFolderPermissionsInput) SetAwsAccountId(v string) *UpdateFolderPermissionsInput {
 39378  	s.AwsAccountId = &v
 39379  	return s
 39380  }
 39381  
 39382  // SetFolderId sets the FolderId field's value.
 39383  func (s *UpdateFolderPermissionsInput) SetFolderId(v string) *UpdateFolderPermissionsInput {
 39384  	s.FolderId = &v
 39385  	return s
 39386  }
 39387  
 39388  // SetGrantPermissions sets the GrantPermissions field's value.
 39389  func (s *UpdateFolderPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateFolderPermissionsInput {
 39390  	s.GrantPermissions = v
 39391  	return s
 39392  }
 39393  
 39394  // SetRevokePermissions sets the RevokePermissions field's value.
 39395  func (s *UpdateFolderPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateFolderPermissionsInput {
 39396  	s.RevokePermissions = v
 39397  	return s
 39398  }
 39399  
 39400  type UpdateFolderPermissionsOutput struct {
 39401  	_ struct{} `type:"structure"`
 39402  
 39403  	// The Amazon Resource Name (ARN).
 39404  	Arn *string `type:"string"`
 39405  
 39406  	// The folder ID.
 39407  	FolderId *string `min:"1" type:"string"`
 39408  
 39409  	// Information about the permissions on the dashboard.
 39410  	Permissions []*ResourcePermission `min:"1" type:"list"`
 39411  
 39412  	// The request ID.
 39413  	RequestId *string `type:"string"`
 39414  
 39415  	// The status. If succeeded, the status is SC_OK.
 39416  	Status *int64 `type:"integer"`
 39417  }
 39418  
 39419  // String returns the string representation.
 39420  //
 39421  // API parameter values that are decorated as "sensitive" in the API will not
 39422  // be included in the string output. The member name will be present, but the
 39423  // value will be replaced with "sensitive".
 39424  func (s UpdateFolderPermissionsOutput) String() string {
 39425  	return awsutil.Prettify(s)
 39426  }
 39427  
 39428  // GoString returns the string representation.
 39429  //
 39430  // API parameter values that are decorated as "sensitive" in the API will not
 39431  // be included in the string output. The member name will be present, but the
 39432  // value will be replaced with "sensitive".
 39433  func (s UpdateFolderPermissionsOutput) GoString() string {
 39434  	return s.String()
 39435  }
 39436  
 39437  // SetArn sets the Arn field's value.
 39438  func (s *UpdateFolderPermissionsOutput) SetArn(v string) *UpdateFolderPermissionsOutput {
 39439  	s.Arn = &v
 39440  	return s
 39441  }
 39442  
 39443  // SetFolderId sets the FolderId field's value.
 39444  func (s *UpdateFolderPermissionsOutput) SetFolderId(v string) *UpdateFolderPermissionsOutput {
 39445  	s.FolderId = &v
 39446  	return s
 39447  }
 39448  
 39449  // SetPermissions sets the Permissions field's value.
 39450  func (s *UpdateFolderPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateFolderPermissionsOutput {
 39451  	s.Permissions = v
 39452  	return s
 39453  }
 39454  
 39455  // SetRequestId sets the RequestId field's value.
 39456  func (s *UpdateFolderPermissionsOutput) SetRequestId(v string) *UpdateFolderPermissionsOutput {
 39457  	s.RequestId = &v
 39458  	return s
 39459  }
 39460  
 39461  // SetStatus sets the Status field's value.
 39462  func (s *UpdateFolderPermissionsOutput) SetStatus(v int64) *UpdateFolderPermissionsOutput {
 39463  	s.Status = &v
 39464  	return s
 39465  }
 39466  
 39467  type UpdateGroupInput struct {
 39468  	_ struct{} `type:"structure"`
 39469  
 39470  	// The ID for the Amazon Web Services account that the group is in. Currently,
 39471  	// you use the ID for the Amazon Web Services account that contains your Amazon
 39472  	// QuickSight account.
 39473  	//
 39474  	// AwsAccountId is a required field
 39475  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 39476  
 39477  	// The description for the group that you want to update.
 39478  	Description *string `min:"1" type:"string"`
 39479  
 39480  	// The name of the group that you want to update.
 39481  	//
 39482  	// GroupName is a required field
 39483  	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
 39484  
 39485  	// The namespace. Currently, you should set this to default.
 39486  	//
 39487  	// Namespace is a required field
 39488  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 39489  }
 39490  
 39491  // String returns the string representation.
 39492  //
 39493  // API parameter values that are decorated as "sensitive" in the API will not
 39494  // be included in the string output. The member name will be present, but the
 39495  // value will be replaced with "sensitive".
 39496  func (s UpdateGroupInput) String() string {
 39497  	return awsutil.Prettify(s)
 39498  }
 39499  
 39500  // GoString returns the string representation.
 39501  //
 39502  // API parameter values that are decorated as "sensitive" in the API will not
 39503  // be included in the string output. The member name will be present, but the
 39504  // value will be replaced with "sensitive".
 39505  func (s UpdateGroupInput) GoString() string {
 39506  	return s.String()
 39507  }
 39508  
 39509  // Validate inspects the fields of the type to determine if they are valid.
 39510  func (s *UpdateGroupInput) Validate() error {
 39511  	invalidParams := request.ErrInvalidParams{Context: "UpdateGroupInput"}
 39512  	if s.AwsAccountId == nil {
 39513  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 39514  	}
 39515  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 39516  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 39517  	}
 39518  	if s.Description != nil && len(*s.Description) < 1 {
 39519  		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
 39520  	}
 39521  	if s.GroupName == nil {
 39522  		invalidParams.Add(request.NewErrParamRequired("GroupName"))
 39523  	}
 39524  	if s.GroupName != nil && len(*s.GroupName) < 1 {
 39525  		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
 39526  	}
 39527  	if s.Namespace == nil {
 39528  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 39529  	}
 39530  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 39531  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 39532  	}
 39533  
 39534  	if invalidParams.Len() > 0 {
 39535  		return invalidParams
 39536  	}
 39537  	return nil
 39538  }
 39539  
 39540  // SetAwsAccountId sets the AwsAccountId field's value.
 39541  func (s *UpdateGroupInput) SetAwsAccountId(v string) *UpdateGroupInput {
 39542  	s.AwsAccountId = &v
 39543  	return s
 39544  }
 39545  
 39546  // SetDescription sets the Description field's value.
 39547  func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput {
 39548  	s.Description = &v
 39549  	return s
 39550  }
 39551  
 39552  // SetGroupName sets the GroupName field's value.
 39553  func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput {
 39554  	s.GroupName = &v
 39555  	return s
 39556  }
 39557  
 39558  // SetNamespace sets the Namespace field's value.
 39559  func (s *UpdateGroupInput) SetNamespace(v string) *UpdateGroupInput {
 39560  	s.Namespace = &v
 39561  	return s
 39562  }
 39563  
 39564  type UpdateGroupOutput struct {
 39565  	_ struct{} `type:"structure"`
 39566  
 39567  	// The name of the group.
 39568  	Group *Group `type:"structure"`
 39569  
 39570  	// The Amazon Web Services request ID for this operation.
 39571  	RequestId *string `type:"string"`
 39572  
 39573  	// The HTTP status of the request.
 39574  	Status *int64 `location:"statusCode" type:"integer"`
 39575  }
 39576  
 39577  // String returns the string representation.
 39578  //
 39579  // API parameter values that are decorated as "sensitive" in the API will not
 39580  // be included in the string output. The member name will be present, but the
 39581  // value will be replaced with "sensitive".
 39582  func (s UpdateGroupOutput) String() string {
 39583  	return awsutil.Prettify(s)
 39584  }
 39585  
 39586  // GoString returns the string representation.
 39587  //
 39588  // API parameter values that are decorated as "sensitive" in the API will not
 39589  // be included in the string output. The member name will be present, but the
 39590  // value will be replaced with "sensitive".
 39591  func (s UpdateGroupOutput) GoString() string {
 39592  	return s.String()
 39593  }
 39594  
 39595  // SetGroup sets the Group field's value.
 39596  func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput {
 39597  	s.Group = v
 39598  	return s
 39599  }
 39600  
 39601  // SetRequestId sets the RequestId field's value.
 39602  func (s *UpdateGroupOutput) SetRequestId(v string) *UpdateGroupOutput {
 39603  	s.RequestId = &v
 39604  	return s
 39605  }
 39606  
 39607  // SetStatus sets the Status field's value.
 39608  func (s *UpdateGroupOutput) SetStatus(v int64) *UpdateGroupOutput {
 39609  	s.Status = &v
 39610  	return s
 39611  }
 39612  
 39613  type UpdateIAMPolicyAssignmentInput struct {
 39614  	_ struct{} `type:"structure"`
 39615  
 39616  	// The name of the assignment, also called a rule. This name must be unique
 39617  	// within an Amazon Web Services account.
 39618  	//
 39619  	// AssignmentName is a required field
 39620  	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
 39621  
 39622  	// The status of the assignment. Possible values are as follows:
 39623  	//
 39624  	//    * ENABLED - Anything specified in this assignment is used when creating
 39625  	//    the data source.
 39626  	//
 39627  	//    * DISABLED - This assignment isn't used when creating the data source.
 39628  	//
 39629  	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
 39630  	//    the data source.
 39631  	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
 39632  
 39633  	// The ID of the Amazon Web Services account that contains the IAMpolicy assignment.
 39634  	//
 39635  	// AwsAccountId is a required field
 39636  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 39637  
 39638  	// The Amazon QuickSight users, groups, or both that you want to assign the
 39639  	// policy to.
 39640  	Identities map[string][]*string `type:"map"`
 39641  
 39642  	// The namespace of the assignment.
 39643  	//
 39644  	// Namespace is a required field
 39645  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 39646  
 39647  	// The ARN for the IAMpolicy to apply to the Amazon QuickSight users and groups
 39648  	// specified in this assignment.
 39649  	PolicyArn *string `type:"string"`
 39650  }
 39651  
 39652  // String returns the string representation.
 39653  //
 39654  // API parameter values that are decorated as "sensitive" in the API will not
 39655  // be included in the string output. The member name will be present, but the
 39656  // value will be replaced with "sensitive".
 39657  func (s UpdateIAMPolicyAssignmentInput) String() string {
 39658  	return awsutil.Prettify(s)
 39659  }
 39660  
 39661  // GoString returns the string representation.
 39662  //
 39663  // API parameter values that are decorated as "sensitive" in the API will not
 39664  // be included in the string output. The member name will be present, but the
 39665  // value will be replaced with "sensitive".
 39666  func (s UpdateIAMPolicyAssignmentInput) GoString() string {
 39667  	return s.String()
 39668  }
 39669  
 39670  // Validate inspects the fields of the type to determine if they are valid.
 39671  func (s *UpdateIAMPolicyAssignmentInput) Validate() error {
 39672  	invalidParams := request.ErrInvalidParams{Context: "UpdateIAMPolicyAssignmentInput"}
 39673  	if s.AssignmentName == nil {
 39674  		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
 39675  	}
 39676  	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
 39677  		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
 39678  	}
 39679  	if s.AwsAccountId == nil {
 39680  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 39681  	}
 39682  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 39683  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 39684  	}
 39685  	if s.Namespace == nil {
 39686  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 39687  	}
 39688  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 39689  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 39690  	}
 39691  
 39692  	if invalidParams.Len() > 0 {
 39693  		return invalidParams
 39694  	}
 39695  	return nil
 39696  }
 39697  
 39698  // SetAssignmentName sets the AssignmentName field's value.
 39699  func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentInput {
 39700  	s.AssignmentName = &v
 39701  	return s
 39702  }
 39703  
 39704  // SetAssignmentStatus sets the AssignmentStatus field's value.
 39705  func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentInput {
 39706  	s.AssignmentStatus = &v
 39707  	return s
 39708  }
 39709  
 39710  // SetAwsAccountId sets the AwsAccountId field's value.
 39711  func (s *UpdateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *UpdateIAMPolicyAssignmentInput {
 39712  	s.AwsAccountId = &v
 39713  	return s
 39714  }
 39715  
 39716  // SetIdentities sets the Identities field's value.
 39717  func (s *UpdateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentInput {
 39718  	s.Identities = v
 39719  	return s
 39720  }
 39721  
 39722  // SetNamespace sets the Namespace field's value.
 39723  func (s *UpdateIAMPolicyAssignmentInput) SetNamespace(v string) *UpdateIAMPolicyAssignmentInput {
 39724  	s.Namespace = &v
 39725  	return s
 39726  }
 39727  
 39728  // SetPolicyArn sets the PolicyArn field's value.
 39729  func (s *UpdateIAMPolicyAssignmentInput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentInput {
 39730  	s.PolicyArn = &v
 39731  	return s
 39732  }
 39733  
 39734  type UpdateIAMPolicyAssignmentOutput struct {
 39735  	_ struct{} `type:"structure"`
 39736  
 39737  	// The ID of the assignment.
 39738  	AssignmentId *string `type:"string"`
 39739  
 39740  	// The name of the assignment or rule.
 39741  	AssignmentName *string `min:"1" type:"string"`
 39742  
 39743  	// The status of the assignment. Possible values are as follows:
 39744  	//
 39745  	//    * ENABLED - Anything specified in this assignment is used when creating
 39746  	//    the data source.
 39747  	//
 39748  	//    * DISABLED - This assignment isn't used when creating the data source.
 39749  	//
 39750  	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
 39751  	//    the data source.
 39752  	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
 39753  
 39754  	// The Amazon QuickSight users, groups, or both that the IAMpolicy is assigned
 39755  	// to.
 39756  	Identities map[string][]*string `type:"map"`
 39757  
 39758  	// The ARN for the IAMpolicy applied to the Amazon QuickSight users and groups
 39759  	// specified in this assignment.
 39760  	PolicyArn *string `type:"string"`
 39761  
 39762  	// The Amazon Web Services request ID for this operation.
 39763  	RequestId *string `type:"string"`
 39764  
 39765  	// The HTTP status of the request.
 39766  	Status *int64 `location:"statusCode" type:"integer"`
 39767  }
 39768  
 39769  // String returns the string representation.
 39770  //
 39771  // API parameter values that are decorated as "sensitive" in the API will not
 39772  // be included in the string output. The member name will be present, but the
 39773  // value will be replaced with "sensitive".
 39774  func (s UpdateIAMPolicyAssignmentOutput) String() string {
 39775  	return awsutil.Prettify(s)
 39776  }
 39777  
 39778  // GoString returns the string representation.
 39779  //
 39780  // API parameter values that are decorated as "sensitive" in the API will not
 39781  // be included in the string output. The member name will be present, but the
 39782  // value will be replaced with "sensitive".
 39783  func (s UpdateIAMPolicyAssignmentOutput) GoString() string {
 39784  	return s.String()
 39785  }
 39786  
 39787  // SetAssignmentId sets the AssignmentId field's value.
 39788  func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *UpdateIAMPolicyAssignmentOutput {
 39789  	s.AssignmentId = &v
 39790  	return s
 39791  }
 39792  
 39793  // SetAssignmentName sets the AssignmentName field's value.
 39794  func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentOutput {
 39795  	s.AssignmentName = &v
 39796  	return s
 39797  }
 39798  
 39799  // SetAssignmentStatus sets the AssignmentStatus field's value.
 39800  func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentOutput {
 39801  	s.AssignmentStatus = &v
 39802  	return s
 39803  }
 39804  
 39805  // SetIdentities sets the Identities field's value.
 39806  func (s *UpdateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentOutput {
 39807  	s.Identities = v
 39808  	return s
 39809  }
 39810  
 39811  // SetPolicyArn sets the PolicyArn field's value.
 39812  func (s *UpdateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentOutput {
 39813  	s.PolicyArn = &v
 39814  	return s
 39815  }
 39816  
 39817  // SetRequestId sets the RequestId field's value.
 39818  func (s *UpdateIAMPolicyAssignmentOutput) SetRequestId(v string) *UpdateIAMPolicyAssignmentOutput {
 39819  	s.RequestId = &v
 39820  	return s
 39821  }
 39822  
 39823  // SetStatus sets the Status field's value.
 39824  func (s *UpdateIAMPolicyAssignmentOutput) SetStatus(v int64) *UpdateIAMPolicyAssignmentOutput {
 39825  	s.Status = &v
 39826  	return s
 39827  }
 39828  
 39829  type UpdateTemplateAliasInput struct {
 39830  	_ struct{} `type:"structure"`
 39831  
 39832  	// The alias of the template that you want to update. If you name a specific
 39833  	// alias, you update the version that the alias points to. You can specify the
 39834  	// latest version of the template by providing the keyword $LATEST in the AliasName
 39835  	// parameter. The keyword $PUBLISHED doesn't apply to templates.
 39836  	//
 39837  	// AliasName is a required field
 39838  	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
 39839  
 39840  	// The ID of the Amazon Web Services account that contains the template alias
 39841  	// that you're updating.
 39842  	//
 39843  	// AwsAccountId is a required field
 39844  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 39845  
 39846  	// The ID for the template.
 39847  	//
 39848  	// TemplateId is a required field
 39849  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 39850  
 39851  	// The version number of the template.
 39852  	//
 39853  	// TemplateVersionNumber is a required field
 39854  	TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"`
 39855  }
 39856  
 39857  // String returns the string representation.
 39858  //
 39859  // API parameter values that are decorated as "sensitive" in the API will not
 39860  // be included in the string output. The member name will be present, but the
 39861  // value will be replaced with "sensitive".
 39862  func (s UpdateTemplateAliasInput) String() string {
 39863  	return awsutil.Prettify(s)
 39864  }
 39865  
 39866  // GoString returns the string representation.
 39867  //
 39868  // API parameter values that are decorated as "sensitive" in the API will not
 39869  // be included in the string output. The member name will be present, but the
 39870  // value will be replaced with "sensitive".
 39871  func (s UpdateTemplateAliasInput) GoString() string {
 39872  	return s.String()
 39873  }
 39874  
 39875  // Validate inspects the fields of the type to determine if they are valid.
 39876  func (s *UpdateTemplateAliasInput) Validate() error {
 39877  	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateAliasInput"}
 39878  	if s.AliasName == nil {
 39879  		invalidParams.Add(request.NewErrParamRequired("AliasName"))
 39880  	}
 39881  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 39882  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 39883  	}
 39884  	if s.AwsAccountId == nil {
 39885  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 39886  	}
 39887  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 39888  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 39889  	}
 39890  	if s.TemplateId == nil {
 39891  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 39892  	}
 39893  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 39894  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 39895  	}
 39896  	if s.TemplateVersionNumber == nil {
 39897  		invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber"))
 39898  	}
 39899  	if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 {
 39900  		invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1))
 39901  	}
 39902  
 39903  	if invalidParams.Len() > 0 {
 39904  		return invalidParams
 39905  	}
 39906  	return nil
 39907  }
 39908  
 39909  // SetAliasName sets the AliasName field's value.
 39910  func (s *UpdateTemplateAliasInput) SetAliasName(v string) *UpdateTemplateAliasInput {
 39911  	s.AliasName = &v
 39912  	return s
 39913  }
 39914  
 39915  // SetAwsAccountId sets the AwsAccountId field's value.
 39916  func (s *UpdateTemplateAliasInput) SetAwsAccountId(v string) *UpdateTemplateAliasInput {
 39917  	s.AwsAccountId = &v
 39918  	return s
 39919  }
 39920  
 39921  // SetTemplateId sets the TemplateId field's value.
 39922  func (s *UpdateTemplateAliasInput) SetTemplateId(v string) *UpdateTemplateAliasInput {
 39923  	s.TemplateId = &v
 39924  	return s
 39925  }
 39926  
 39927  // SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
 39928  func (s *UpdateTemplateAliasInput) SetTemplateVersionNumber(v int64) *UpdateTemplateAliasInput {
 39929  	s.TemplateVersionNumber = &v
 39930  	return s
 39931  }
 39932  
 39933  type UpdateTemplateAliasOutput struct {
 39934  	_ struct{} `type:"structure"`
 39935  
 39936  	// The Amazon Web Services request ID for this operation.
 39937  	RequestId *string `type:"string"`
 39938  
 39939  	// The HTTP status of the request.
 39940  	Status *int64 `location:"statusCode" type:"integer"`
 39941  
 39942  	// The template alias.
 39943  	TemplateAlias *TemplateAlias `type:"structure"`
 39944  }
 39945  
 39946  // String returns the string representation.
 39947  //
 39948  // API parameter values that are decorated as "sensitive" in the API will not
 39949  // be included in the string output. The member name will be present, but the
 39950  // value will be replaced with "sensitive".
 39951  func (s UpdateTemplateAliasOutput) String() string {
 39952  	return awsutil.Prettify(s)
 39953  }
 39954  
 39955  // GoString returns the string representation.
 39956  //
 39957  // API parameter values that are decorated as "sensitive" in the API will not
 39958  // be included in the string output. The member name will be present, but the
 39959  // value will be replaced with "sensitive".
 39960  func (s UpdateTemplateAliasOutput) GoString() string {
 39961  	return s.String()
 39962  }
 39963  
 39964  // SetRequestId sets the RequestId field's value.
 39965  func (s *UpdateTemplateAliasOutput) SetRequestId(v string) *UpdateTemplateAliasOutput {
 39966  	s.RequestId = &v
 39967  	return s
 39968  }
 39969  
 39970  // SetStatus sets the Status field's value.
 39971  func (s *UpdateTemplateAliasOutput) SetStatus(v int64) *UpdateTemplateAliasOutput {
 39972  	s.Status = &v
 39973  	return s
 39974  }
 39975  
 39976  // SetTemplateAlias sets the TemplateAlias field's value.
 39977  func (s *UpdateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *UpdateTemplateAliasOutput {
 39978  	s.TemplateAlias = v
 39979  	return s
 39980  }
 39981  
 39982  type UpdateTemplateInput struct {
 39983  	_ struct{} `type:"structure"`
 39984  
 39985  	// The ID of the Amazon Web Services account that contains the template that
 39986  	// you're updating.
 39987  	//
 39988  	// AwsAccountId is a required field
 39989  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 39990  
 39991  	// The name for the template.
 39992  	Name *string `min:"1" type:"string"`
 39993  
 39994  	// The entity that you are using as a source when you update the template. In
 39995  	// SourceEntity, you specify the type of object you're using as source: SourceTemplate
 39996  	// for a template or SourceAnalysis for an analysis. Both of these require an
 39997  	// Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source
 39998  	// template. For SourceAnalysis, specify the ARN of the source analysis. The
 39999  	// SourceTemplate ARN can contain any Amazon Web Services account and any Amazon
 40000  	// QuickSight-supported Amazon Web Services Region;.
 40001  	//
 40002  	// Use the DataSetReferences entity within SourceTemplate or SourceAnalysis
 40003  	// to list the replacement datasets for the placeholders listed in the original.
 40004  	// The schema in each dataset must match its placeholder.
 40005  	//
 40006  	// SourceEntity is a required field
 40007  	SourceEntity *TemplateSourceEntity `type:"structure" required:"true"`
 40008  
 40009  	// The ID for the template.
 40010  	//
 40011  	// TemplateId is a required field
 40012  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 40013  
 40014  	// A description of the current template version that is being updated. Every
 40015  	// time you call UpdateTemplate, you create a new version of the template. Each
 40016  	// version of the template maintains a description of the version in the VersionDescription
 40017  	// field.
 40018  	VersionDescription *string `min:"1" type:"string"`
 40019  }
 40020  
 40021  // String returns the string representation.
 40022  //
 40023  // API parameter values that are decorated as "sensitive" in the API will not
 40024  // be included in the string output. The member name will be present, but the
 40025  // value will be replaced with "sensitive".
 40026  func (s UpdateTemplateInput) String() string {
 40027  	return awsutil.Prettify(s)
 40028  }
 40029  
 40030  // GoString returns the string representation.
 40031  //
 40032  // API parameter values that are decorated as "sensitive" in the API will not
 40033  // be included in the string output. The member name will be present, but the
 40034  // value will be replaced with "sensitive".
 40035  func (s UpdateTemplateInput) GoString() string {
 40036  	return s.String()
 40037  }
 40038  
 40039  // Validate inspects the fields of the type to determine if they are valid.
 40040  func (s *UpdateTemplateInput) Validate() error {
 40041  	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateInput"}
 40042  	if s.AwsAccountId == nil {
 40043  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 40044  	}
 40045  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 40046  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 40047  	}
 40048  	if s.Name != nil && len(*s.Name) < 1 {
 40049  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 40050  	}
 40051  	if s.SourceEntity == nil {
 40052  		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
 40053  	}
 40054  	if s.TemplateId == nil {
 40055  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 40056  	}
 40057  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 40058  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 40059  	}
 40060  	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
 40061  		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
 40062  	}
 40063  	if s.SourceEntity != nil {
 40064  		if err := s.SourceEntity.Validate(); err != nil {
 40065  			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
 40066  		}
 40067  	}
 40068  
 40069  	if invalidParams.Len() > 0 {
 40070  		return invalidParams
 40071  	}
 40072  	return nil
 40073  }
 40074  
 40075  // SetAwsAccountId sets the AwsAccountId field's value.
 40076  func (s *UpdateTemplateInput) SetAwsAccountId(v string) *UpdateTemplateInput {
 40077  	s.AwsAccountId = &v
 40078  	return s
 40079  }
 40080  
 40081  // SetName sets the Name field's value.
 40082  func (s *UpdateTemplateInput) SetName(v string) *UpdateTemplateInput {
 40083  	s.Name = &v
 40084  	return s
 40085  }
 40086  
 40087  // SetSourceEntity sets the SourceEntity field's value.
 40088  func (s *UpdateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *UpdateTemplateInput {
 40089  	s.SourceEntity = v
 40090  	return s
 40091  }
 40092  
 40093  // SetTemplateId sets the TemplateId field's value.
 40094  func (s *UpdateTemplateInput) SetTemplateId(v string) *UpdateTemplateInput {
 40095  	s.TemplateId = &v
 40096  	return s
 40097  }
 40098  
 40099  // SetVersionDescription sets the VersionDescription field's value.
 40100  func (s *UpdateTemplateInput) SetVersionDescription(v string) *UpdateTemplateInput {
 40101  	s.VersionDescription = &v
 40102  	return s
 40103  }
 40104  
 40105  type UpdateTemplateOutput struct {
 40106  	_ struct{} `type:"structure"`
 40107  
 40108  	// The Amazon Resource Name (ARN) for the template.
 40109  	Arn *string `type:"string"`
 40110  
 40111  	// The creation status of the template.
 40112  	CreationStatus *string `type:"string" enum:"ResourceStatus"`
 40113  
 40114  	// The Amazon Web Services request ID for this operation.
 40115  	RequestId *string `type:"string"`
 40116  
 40117  	// The HTTP status of the request.
 40118  	Status *int64 `location:"statusCode" type:"integer"`
 40119  
 40120  	// The ID for the template.
 40121  	TemplateId *string `min:"1" type:"string"`
 40122  
 40123  	// The ARN for the template, including the version information of the first
 40124  	// version.
 40125  	VersionArn *string `type:"string"`
 40126  }
 40127  
 40128  // String returns the string representation.
 40129  //
 40130  // API parameter values that are decorated as "sensitive" in the API will not
 40131  // be included in the string output. The member name will be present, but the
 40132  // value will be replaced with "sensitive".
 40133  func (s UpdateTemplateOutput) String() string {
 40134  	return awsutil.Prettify(s)
 40135  }
 40136  
 40137  // GoString returns the string representation.
 40138  //
 40139  // API parameter values that are decorated as "sensitive" in the API will not
 40140  // be included in the string output. The member name will be present, but the
 40141  // value will be replaced with "sensitive".
 40142  func (s UpdateTemplateOutput) GoString() string {
 40143  	return s.String()
 40144  }
 40145  
 40146  // SetArn sets the Arn field's value.
 40147  func (s *UpdateTemplateOutput) SetArn(v string) *UpdateTemplateOutput {
 40148  	s.Arn = &v
 40149  	return s
 40150  }
 40151  
 40152  // SetCreationStatus sets the CreationStatus field's value.
 40153  func (s *UpdateTemplateOutput) SetCreationStatus(v string) *UpdateTemplateOutput {
 40154  	s.CreationStatus = &v
 40155  	return s
 40156  }
 40157  
 40158  // SetRequestId sets the RequestId field's value.
 40159  func (s *UpdateTemplateOutput) SetRequestId(v string) *UpdateTemplateOutput {
 40160  	s.RequestId = &v
 40161  	return s
 40162  }
 40163  
 40164  // SetStatus sets the Status field's value.
 40165  func (s *UpdateTemplateOutput) SetStatus(v int64) *UpdateTemplateOutput {
 40166  	s.Status = &v
 40167  	return s
 40168  }
 40169  
 40170  // SetTemplateId sets the TemplateId field's value.
 40171  func (s *UpdateTemplateOutput) SetTemplateId(v string) *UpdateTemplateOutput {
 40172  	s.TemplateId = &v
 40173  	return s
 40174  }
 40175  
 40176  // SetVersionArn sets the VersionArn field's value.
 40177  func (s *UpdateTemplateOutput) SetVersionArn(v string) *UpdateTemplateOutput {
 40178  	s.VersionArn = &v
 40179  	return s
 40180  }
 40181  
 40182  type UpdateTemplatePermissionsInput struct {
 40183  	_ struct{} `type:"structure"`
 40184  
 40185  	// The ID of the Amazon Web Services account that contains the template.
 40186  	//
 40187  	// AwsAccountId is a required field
 40188  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 40189  
 40190  	// A list of resource permissions to be granted on the template.
 40191  	GrantPermissions []*ResourcePermission `type:"list"`
 40192  
 40193  	// A list of resource permissions to be revoked from the template.
 40194  	RevokePermissions []*ResourcePermission `type:"list"`
 40195  
 40196  	// The ID for the template.
 40197  	//
 40198  	// TemplateId is a required field
 40199  	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
 40200  }
 40201  
 40202  // String returns the string representation.
 40203  //
 40204  // API parameter values that are decorated as "sensitive" in the API will not
 40205  // be included in the string output. The member name will be present, but the
 40206  // value will be replaced with "sensitive".
 40207  func (s UpdateTemplatePermissionsInput) String() string {
 40208  	return awsutil.Prettify(s)
 40209  }
 40210  
 40211  // GoString returns the string representation.
 40212  //
 40213  // API parameter values that are decorated as "sensitive" in the API will not
 40214  // be included in the string output. The member name will be present, but the
 40215  // value will be replaced with "sensitive".
 40216  func (s UpdateTemplatePermissionsInput) GoString() string {
 40217  	return s.String()
 40218  }
 40219  
 40220  // Validate inspects the fields of the type to determine if they are valid.
 40221  func (s *UpdateTemplatePermissionsInput) Validate() error {
 40222  	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplatePermissionsInput"}
 40223  	if s.AwsAccountId == nil {
 40224  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 40225  	}
 40226  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 40227  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 40228  	}
 40229  	if s.TemplateId == nil {
 40230  		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
 40231  	}
 40232  	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
 40233  		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
 40234  	}
 40235  	if s.GrantPermissions != nil {
 40236  		for i, v := range s.GrantPermissions {
 40237  			if v == nil {
 40238  				continue
 40239  			}
 40240  			if err := v.Validate(); err != nil {
 40241  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
 40242  			}
 40243  		}
 40244  	}
 40245  	if s.RevokePermissions != nil {
 40246  		for i, v := range s.RevokePermissions {
 40247  			if v == nil {
 40248  				continue
 40249  			}
 40250  			if err := v.Validate(); err != nil {
 40251  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
 40252  			}
 40253  		}
 40254  	}
 40255  
 40256  	if invalidParams.Len() > 0 {
 40257  		return invalidParams
 40258  	}
 40259  	return nil
 40260  }
 40261  
 40262  // SetAwsAccountId sets the AwsAccountId field's value.
 40263  func (s *UpdateTemplatePermissionsInput) SetAwsAccountId(v string) *UpdateTemplatePermissionsInput {
 40264  	s.AwsAccountId = &v
 40265  	return s
 40266  }
 40267  
 40268  // SetGrantPermissions sets the GrantPermissions field's value.
 40269  func (s *UpdateTemplatePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput {
 40270  	s.GrantPermissions = v
 40271  	return s
 40272  }
 40273  
 40274  // SetRevokePermissions sets the RevokePermissions field's value.
 40275  func (s *UpdateTemplatePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput {
 40276  	s.RevokePermissions = v
 40277  	return s
 40278  }
 40279  
 40280  // SetTemplateId sets the TemplateId field's value.
 40281  func (s *UpdateTemplatePermissionsInput) SetTemplateId(v string) *UpdateTemplatePermissionsInput {
 40282  	s.TemplateId = &v
 40283  	return s
 40284  }
 40285  
 40286  type UpdateTemplatePermissionsOutput struct {
 40287  	_ struct{} `type:"structure"`
 40288  
 40289  	// A list of resource permissions to be set on the template.
 40290  	Permissions []*ResourcePermission `min:"1" type:"list"`
 40291  
 40292  	// The Amazon Web Services request ID for this operation.
 40293  	RequestId *string `type:"string"`
 40294  
 40295  	// The HTTP status of the request.
 40296  	Status *int64 `location:"statusCode" type:"integer"`
 40297  
 40298  	// The Amazon Resource Name (ARN) of the template.
 40299  	TemplateArn *string `type:"string"`
 40300  
 40301  	// The ID for the template.
 40302  	TemplateId *string `min:"1" type:"string"`
 40303  }
 40304  
 40305  // String returns the string representation.
 40306  //
 40307  // API parameter values that are decorated as "sensitive" in the API will not
 40308  // be included in the string output. The member name will be present, but the
 40309  // value will be replaced with "sensitive".
 40310  func (s UpdateTemplatePermissionsOutput) String() string {
 40311  	return awsutil.Prettify(s)
 40312  }
 40313  
 40314  // GoString returns the string representation.
 40315  //
 40316  // API parameter values that are decorated as "sensitive" in the API will not
 40317  // be included in the string output. The member name will be present, but the
 40318  // value will be replaced with "sensitive".
 40319  func (s UpdateTemplatePermissionsOutput) GoString() string {
 40320  	return s.String()
 40321  }
 40322  
 40323  // SetPermissions sets the Permissions field's value.
 40324  func (s *UpdateTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsOutput {
 40325  	s.Permissions = v
 40326  	return s
 40327  }
 40328  
 40329  // SetRequestId sets the RequestId field's value.
 40330  func (s *UpdateTemplatePermissionsOutput) SetRequestId(v string) *UpdateTemplatePermissionsOutput {
 40331  	s.RequestId = &v
 40332  	return s
 40333  }
 40334  
 40335  // SetStatus sets the Status field's value.
 40336  func (s *UpdateTemplatePermissionsOutput) SetStatus(v int64) *UpdateTemplatePermissionsOutput {
 40337  	s.Status = &v
 40338  	return s
 40339  }
 40340  
 40341  // SetTemplateArn sets the TemplateArn field's value.
 40342  func (s *UpdateTemplatePermissionsOutput) SetTemplateArn(v string) *UpdateTemplatePermissionsOutput {
 40343  	s.TemplateArn = &v
 40344  	return s
 40345  }
 40346  
 40347  // SetTemplateId sets the TemplateId field's value.
 40348  func (s *UpdateTemplatePermissionsOutput) SetTemplateId(v string) *UpdateTemplatePermissionsOutput {
 40349  	s.TemplateId = &v
 40350  	return s
 40351  }
 40352  
 40353  type UpdateThemeAliasInput struct {
 40354  	_ struct{} `type:"structure"`
 40355  
 40356  	// The name of the theme alias that you want to update.
 40357  	//
 40358  	// AliasName is a required field
 40359  	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
 40360  
 40361  	// The ID of the Amazon Web Services account that contains the theme alias that
 40362  	// you're updating.
 40363  	//
 40364  	// AwsAccountId is a required field
 40365  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 40366  
 40367  	// The ID for the theme.
 40368  	//
 40369  	// ThemeId is a required field
 40370  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 40371  
 40372  	// The version number of the theme that the alias should reference.
 40373  	//
 40374  	// ThemeVersionNumber is a required field
 40375  	ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"`
 40376  }
 40377  
 40378  // String returns the string representation.
 40379  //
 40380  // API parameter values that are decorated as "sensitive" in the API will not
 40381  // be included in the string output. The member name will be present, but the
 40382  // value will be replaced with "sensitive".
 40383  func (s UpdateThemeAliasInput) String() string {
 40384  	return awsutil.Prettify(s)
 40385  }
 40386  
 40387  // GoString returns the string representation.
 40388  //
 40389  // API parameter values that are decorated as "sensitive" in the API will not
 40390  // be included in the string output. The member name will be present, but the
 40391  // value will be replaced with "sensitive".
 40392  func (s UpdateThemeAliasInput) GoString() string {
 40393  	return s.String()
 40394  }
 40395  
 40396  // Validate inspects the fields of the type to determine if they are valid.
 40397  func (s *UpdateThemeAliasInput) Validate() error {
 40398  	invalidParams := request.ErrInvalidParams{Context: "UpdateThemeAliasInput"}
 40399  	if s.AliasName == nil {
 40400  		invalidParams.Add(request.NewErrParamRequired("AliasName"))
 40401  	}
 40402  	if s.AliasName != nil && len(*s.AliasName) < 1 {
 40403  		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
 40404  	}
 40405  	if s.AwsAccountId == nil {
 40406  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 40407  	}
 40408  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 40409  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 40410  	}
 40411  	if s.ThemeId == nil {
 40412  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 40413  	}
 40414  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 40415  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 40416  	}
 40417  	if s.ThemeVersionNumber == nil {
 40418  		invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber"))
 40419  	}
 40420  	if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 {
 40421  		invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1))
 40422  	}
 40423  
 40424  	if invalidParams.Len() > 0 {
 40425  		return invalidParams
 40426  	}
 40427  	return nil
 40428  }
 40429  
 40430  // SetAliasName sets the AliasName field's value.
 40431  func (s *UpdateThemeAliasInput) SetAliasName(v string) *UpdateThemeAliasInput {
 40432  	s.AliasName = &v
 40433  	return s
 40434  }
 40435  
 40436  // SetAwsAccountId sets the AwsAccountId field's value.
 40437  func (s *UpdateThemeAliasInput) SetAwsAccountId(v string) *UpdateThemeAliasInput {
 40438  	s.AwsAccountId = &v
 40439  	return s
 40440  }
 40441  
 40442  // SetThemeId sets the ThemeId field's value.
 40443  func (s *UpdateThemeAliasInput) SetThemeId(v string) *UpdateThemeAliasInput {
 40444  	s.ThemeId = &v
 40445  	return s
 40446  }
 40447  
 40448  // SetThemeVersionNumber sets the ThemeVersionNumber field's value.
 40449  func (s *UpdateThemeAliasInput) SetThemeVersionNumber(v int64) *UpdateThemeAliasInput {
 40450  	s.ThemeVersionNumber = &v
 40451  	return s
 40452  }
 40453  
 40454  type UpdateThemeAliasOutput struct {
 40455  	_ struct{} `type:"structure"`
 40456  
 40457  	// The Amazon Web Services request ID for this operation.
 40458  	RequestId *string `type:"string"`
 40459  
 40460  	// The HTTP status of the request.
 40461  	Status *int64 `location:"statusCode" type:"integer"`
 40462  
 40463  	// Information about the theme alias.
 40464  	ThemeAlias *ThemeAlias `type:"structure"`
 40465  }
 40466  
 40467  // String returns the string representation.
 40468  //
 40469  // API parameter values that are decorated as "sensitive" in the API will not
 40470  // be included in the string output. The member name will be present, but the
 40471  // value will be replaced with "sensitive".
 40472  func (s UpdateThemeAliasOutput) String() string {
 40473  	return awsutil.Prettify(s)
 40474  }
 40475  
 40476  // GoString returns the string representation.
 40477  //
 40478  // API parameter values that are decorated as "sensitive" in the API will not
 40479  // be included in the string output. The member name will be present, but the
 40480  // value will be replaced with "sensitive".
 40481  func (s UpdateThemeAliasOutput) GoString() string {
 40482  	return s.String()
 40483  }
 40484  
 40485  // SetRequestId sets the RequestId field's value.
 40486  func (s *UpdateThemeAliasOutput) SetRequestId(v string) *UpdateThemeAliasOutput {
 40487  	s.RequestId = &v
 40488  	return s
 40489  }
 40490  
 40491  // SetStatus sets the Status field's value.
 40492  func (s *UpdateThemeAliasOutput) SetStatus(v int64) *UpdateThemeAliasOutput {
 40493  	s.Status = &v
 40494  	return s
 40495  }
 40496  
 40497  // SetThemeAlias sets the ThemeAlias field's value.
 40498  func (s *UpdateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *UpdateThemeAliasOutput {
 40499  	s.ThemeAlias = v
 40500  	return s
 40501  }
 40502  
 40503  type UpdateThemeInput struct {
 40504  	_ struct{} `type:"structure"`
 40505  
 40506  	// The ID of the Amazon Web Services account that contains the theme that you're
 40507  	// updating.
 40508  	//
 40509  	// AwsAccountId is a required field
 40510  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 40511  
 40512  	// The theme ID, defined by Amazon QuickSight, that a custom theme inherits
 40513  	// from. All themes initially inherit from a default Amazon QuickSight theme.
 40514  	//
 40515  	// BaseThemeId is a required field
 40516  	BaseThemeId *string `min:"1" type:"string" required:"true"`
 40517  
 40518  	// The theme configuration, which contains the theme display properties.
 40519  	Configuration *ThemeConfiguration `type:"structure"`
 40520  
 40521  	// The name for the theme.
 40522  	Name *string `min:"1" type:"string"`
 40523  
 40524  	// The ID for the theme.
 40525  	//
 40526  	// ThemeId is a required field
 40527  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 40528  
 40529  	// A description of the theme version that you're updating Every time that you
 40530  	// call UpdateTheme, you create a new version of the theme. Each version of
 40531  	// the theme maintains a description of the version in VersionDescription.
 40532  	VersionDescription *string `min:"1" type:"string"`
 40533  }
 40534  
 40535  // String returns the string representation.
 40536  //
 40537  // API parameter values that are decorated as "sensitive" in the API will not
 40538  // be included in the string output. The member name will be present, but the
 40539  // value will be replaced with "sensitive".
 40540  func (s UpdateThemeInput) String() string {
 40541  	return awsutil.Prettify(s)
 40542  }
 40543  
 40544  // GoString returns the string representation.
 40545  //
 40546  // API parameter values that are decorated as "sensitive" in the API will not
 40547  // be included in the string output. The member name will be present, but the
 40548  // value will be replaced with "sensitive".
 40549  func (s UpdateThemeInput) GoString() string {
 40550  	return s.String()
 40551  }
 40552  
 40553  // Validate inspects the fields of the type to determine if they are valid.
 40554  func (s *UpdateThemeInput) Validate() error {
 40555  	invalidParams := request.ErrInvalidParams{Context: "UpdateThemeInput"}
 40556  	if s.AwsAccountId == nil {
 40557  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 40558  	}
 40559  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 40560  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 40561  	}
 40562  	if s.BaseThemeId == nil {
 40563  		invalidParams.Add(request.NewErrParamRequired("BaseThemeId"))
 40564  	}
 40565  	if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 {
 40566  		invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1))
 40567  	}
 40568  	if s.Name != nil && len(*s.Name) < 1 {
 40569  		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
 40570  	}
 40571  	if s.ThemeId == nil {
 40572  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 40573  	}
 40574  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 40575  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 40576  	}
 40577  	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
 40578  		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
 40579  	}
 40580  
 40581  	if invalidParams.Len() > 0 {
 40582  		return invalidParams
 40583  	}
 40584  	return nil
 40585  }
 40586  
 40587  // SetAwsAccountId sets the AwsAccountId field's value.
 40588  func (s *UpdateThemeInput) SetAwsAccountId(v string) *UpdateThemeInput {
 40589  	s.AwsAccountId = &v
 40590  	return s
 40591  }
 40592  
 40593  // SetBaseThemeId sets the BaseThemeId field's value.
 40594  func (s *UpdateThemeInput) SetBaseThemeId(v string) *UpdateThemeInput {
 40595  	s.BaseThemeId = &v
 40596  	return s
 40597  }
 40598  
 40599  // SetConfiguration sets the Configuration field's value.
 40600  func (s *UpdateThemeInput) SetConfiguration(v *ThemeConfiguration) *UpdateThemeInput {
 40601  	s.Configuration = v
 40602  	return s
 40603  }
 40604  
 40605  // SetName sets the Name field's value.
 40606  func (s *UpdateThemeInput) SetName(v string) *UpdateThemeInput {
 40607  	s.Name = &v
 40608  	return s
 40609  }
 40610  
 40611  // SetThemeId sets the ThemeId field's value.
 40612  func (s *UpdateThemeInput) SetThemeId(v string) *UpdateThemeInput {
 40613  	s.ThemeId = &v
 40614  	return s
 40615  }
 40616  
 40617  // SetVersionDescription sets the VersionDescription field's value.
 40618  func (s *UpdateThemeInput) SetVersionDescription(v string) *UpdateThemeInput {
 40619  	s.VersionDescription = &v
 40620  	return s
 40621  }
 40622  
 40623  type UpdateThemeOutput struct {
 40624  	_ struct{} `type:"structure"`
 40625  
 40626  	// The Amazon Resource Name (ARN) for the theme.
 40627  	Arn *string `type:"string"`
 40628  
 40629  	// The creation status of the theme.
 40630  	CreationStatus *string `type:"string" enum:"ResourceStatus"`
 40631  
 40632  	// The Amazon Web Services request ID for this operation.
 40633  	RequestId *string `type:"string"`
 40634  
 40635  	// The HTTP status of the request.
 40636  	Status *int64 `location:"statusCode" type:"integer"`
 40637  
 40638  	// The ID for the theme.
 40639  	ThemeId *string `min:"1" type:"string"`
 40640  
 40641  	// The Amazon Resource Name (ARN) for the new version of the theme.
 40642  	VersionArn *string `type:"string"`
 40643  }
 40644  
 40645  // String returns the string representation.
 40646  //
 40647  // API parameter values that are decorated as "sensitive" in the API will not
 40648  // be included in the string output. The member name will be present, but the
 40649  // value will be replaced with "sensitive".
 40650  func (s UpdateThemeOutput) String() string {
 40651  	return awsutil.Prettify(s)
 40652  }
 40653  
 40654  // GoString returns the string representation.
 40655  //
 40656  // API parameter values that are decorated as "sensitive" in the API will not
 40657  // be included in the string output. The member name will be present, but the
 40658  // value will be replaced with "sensitive".
 40659  func (s UpdateThemeOutput) GoString() string {
 40660  	return s.String()
 40661  }
 40662  
 40663  // SetArn sets the Arn field's value.
 40664  func (s *UpdateThemeOutput) SetArn(v string) *UpdateThemeOutput {
 40665  	s.Arn = &v
 40666  	return s
 40667  }
 40668  
 40669  // SetCreationStatus sets the CreationStatus field's value.
 40670  func (s *UpdateThemeOutput) SetCreationStatus(v string) *UpdateThemeOutput {
 40671  	s.CreationStatus = &v
 40672  	return s
 40673  }
 40674  
 40675  // SetRequestId sets the RequestId field's value.
 40676  func (s *UpdateThemeOutput) SetRequestId(v string) *UpdateThemeOutput {
 40677  	s.RequestId = &v
 40678  	return s
 40679  }
 40680  
 40681  // SetStatus sets the Status field's value.
 40682  func (s *UpdateThemeOutput) SetStatus(v int64) *UpdateThemeOutput {
 40683  	s.Status = &v
 40684  	return s
 40685  }
 40686  
 40687  // SetThemeId sets the ThemeId field's value.
 40688  func (s *UpdateThemeOutput) SetThemeId(v string) *UpdateThemeOutput {
 40689  	s.ThemeId = &v
 40690  	return s
 40691  }
 40692  
 40693  // SetVersionArn sets the VersionArn field's value.
 40694  func (s *UpdateThemeOutput) SetVersionArn(v string) *UpdateThemeOutput {
 40695  	s.VersionArn = &v
 40696  	return s
 40697  }
 40698  
 40699  type UpdateThemePermissionsInput struct {
 40700  	_ struct{} `type:"structure"`
 40701  
 40702  	// The ID of the Amazon Web Services account that contains the theme.
 40703  	//
 40704  	// AwsAccountId is a required field
 40705  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 40706  
 40707  	// A list of resource permissions to be granted for the theme.
 40708  	GrantPermissions []*ResourcePermission `type:"list"`
 40709  
 40710  	// A list of resource permissions to be revoked from the theme.
 40711  	RevokePermissions []*ResourcePermission `type:"list"`
 40712  
 40713  	// The ID for the theme.
 40714  	//
 40715  	// ThemeId is a required field
 40716  	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
 40717  }
 40718  
 40719  // String returns the string representation.
 40720  //
 40721  // API parameter values that are decorated as "sensitive" in the API will not
 40722  // be included in the string output. The member name will be present, but the
 40723  // value will be replaced with "sensitive".
 40724  func (s UpdateThemePermissionsInput) String() string {
 40725  	return awsutil.Prettify(s)
 40726  }
 40727  
 40728  // GoString returns the string representation.
 40729  //
 40730  // API parameter values that are decorated as "sensitive" in the API will not
 40731  // be included in the string output. The member name will be present, but the
 40732  // value will be replaced with "sensitive".
 40733  func (s UpdateThemePermissionsInput) GoString() string {
 40734  	return s.String()
 40735  }
 40736  
 40737  // Validate inspects the fields of the type to determine if they are valid.
 40738  func (s *UpdateThemePermissionsInput) Validate() error {
 40739  	invalidParams := request.ErrInvalidParams{Context: "UpdateThemePermissionsInput"}
 40740  	if s.AwsAccountId == nil {
 40741  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 40742  	}
 40743  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 40744  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 40745  	}
 40746  	if s.ThemeId == nil {
 40747  		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
 40748  	}
 40749  	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
 40750  		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
 40751  	}
 40752  	if s.GrantPermissions != nil {
 40753  		for i, v := range s.GrantPermissions {
 40754  			if v == nil {
 40755  				continue
 40756  			}
 40757  			if err := v.Validate(); err != nil {
 40758  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
 40759  			}
 40760  		}
 40761  	}
 40762  	if s.RevokePermissions != nil {
 40763  		for i, v := range s.RevokePermissions {
 40764  			if v == nil {
 40765  				continue
 40766  			}
 40767  			if err := v.Validate(); err != nil {
 40768  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
 40769  			}
 40770  		}
 40771  	}
 40772  
 40773  	if invalidParams.Len() > 0 {
 40774  		return invalidParams
 40775  	}
 40776  	return nil
 40777  }
 40778  
 40779  // SetAwsAccountId sets the AwsAccountId field's value.
 40780  func (s *UpdateThemePermissionsInput) SetAwsAccountId(v string) *UpdateThemePermissionsInput {
 40781  	s.AwsAccountId = &v
 40782  	return s
 40783  }
 40784  
 40785  // SetGrantPermissions sets the GrantPermissions field's value.
 40786  func (s *UpdateThemePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateThemePermissionsInput {
 40787  	s.GrantPermissions = v
 40788  	return s
 40789  }
 40790  
 40791  // SetRevokePermissions sets the RevokePermissions field's value.
 40792  func (s *UpdateThemePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateThemePermissionsInput {
 40793  	s.RevokePermissions = v
 40794  	return s
 40795  }
 40796  
 40797  // SetThemeId sets the ThemeId field's value.
 40798  func (s *UpdateThemePermissionsInput) SetThemeId(v string) *UpdateThemePermissionsInput {
 40799  	s.ThemeId = &v
 40800  	return s
 40801  }
 40802  
 40803  type UpdateThemePermissionsOutput struct {
 40804  	_ struct{} `type:"structure"`
 40805  
 40806  	// The resulting list of resource permissions for the theme.
 40807  	Permissions []*ResourcePermission `min:"1" type:"list"`
 40808  
 40809  	// The Amazon Web Services request ID for this operation.
 40810  	RequestId *string `type:"string"`
 40811  
 40812  	// The HTTP status of the request.
 40813  	Status *int64 `location:"statusCode" type:"integer"`
 40814  
 40815  	// The Amazon Resource Name (ARN) of the theme.
 40816  	ThemeArn *string `type:"string"`
 40817  
 40818  	// The ID for the theme.
 40819  	ThemeId *string `min:"1" type:"string"`
 40820  }
 40821  
 40822  // String returns the string representation.
 40823  //
 40824  // API parameter values that are decorated as "sensitive" in the API will not
 40825  // be included in the string output. The member name will be present, but the
 40826  // value will be replaced with "sensitive".
 40827  func (s UpdateThemePermissionsOutput) String() string {
 40828  	return awsutil.Prettify(s)
 40829  }
 40830  
 40831  // GoString returns the string representation.
 40832  //
 40833  // API parameter values that are decorated as "sensitive" in the API will not
 40834  // be included in the string output. The member name will be present, but the
 40835  // value will be replaced with "sensitive".
 40836  func (s UpdateThemePermissionsOutput) GoString() string {
 40837  	return s.String()
 40838  }
 40839  
 40840  // SetPermissions sets the Permissions field's value.
 40841  func (s *UpdateThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateThemePermissionsOutput {
 40842  	s.Permissions = v
 40843  	return s
 40844  }
 40845  
 40846  // SetRequestId sets the RequestId field's value.
 40847  func (s *UpdateThemePermissionsOutput) SetRequestId(v string) *UpdateThemePermissionsOutput {
 40848  	s.RequestId = &v
 40849  	return s
 40850  }
 40851  
 40852  // SetStatus sets the Status field's value.
 40853  func (s *UpdateThemePermissionsOutput) SetStatus(v int64) *UpdateThemePermissionsOutput {
 40854  	s.Status = &v
 40855  	return s
 40856  }
 40857  
 40858  // SetThemeArn sets the ThemeArn field's value.
 40859  func (s *UpdateThemePermissionsOutput) SetThemeArn(v string) *UpdateThemePermissionsOutput {
 40860  	s.ThemeArn = &v
 40861  	return s
 40862  }
 40863  
 40864  // SetThemeId sets the ThemeId field's value.
 40865  func (s *UpdateThemePermissionsOutput) SetThemeId(v string) *UpdateThemePermissionsOutput {
 40866  	s.ThemeId = &v
 40867  	return s
 40868  }
 40869  
 40870  type UpdateUserInput struct {
 40871  	_ struct{} `type:"structure"`
 40872  
 40873  	// The ID for the Amazon Web Services account that the user is in. Currently,
 40874  	// you use the ID for the Amazon Web Services account that contains your Amazon
 40875  	// QuickSight account.
 40876  	//
 40877  	// AwsAccountId is a required field
 40878  	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
 40879  
 40880  	// The URL of the custom OpenID Connect (OIDC) provider that provides identity
 40881  	// to let a user federate into Amazon QuickSight with an associated Identity
 40882  	// and Access Management(IAM) role. This parameter should only be used when
 40883  	// ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC.
 40884  	CustomFederationProviderUrl *string `type:"string"`
 40885  
 40886  	// (Enterprise edition only) The name of the custom permissions profile that
 40887  	// you want to assign to this user. Customized permissions allows you to control
 40888  	// a user's access by restricting access the following operations:
 40889  	//
 40890  	//    * Create and update data sources
 40891  	//
 40892  	//    * Create and update datasets
 40893  	//
 40894  	//    * Create and update email reports
 40895  	//
 40896  	//    * Subscribe to email reports
 40897  	//
 40898  	// A set of custom permissions includes any combination of these restrictions.
 40899  	// Currently, you need to create the profile names for custom permission sets
 40900  	// by using the Amazon QuickSight console. Then, you use the RegisterUser API
 40901  	// operation to assign the named set of permissions to a Amazon QuickSight user.
 40902  	//
 40903  	// Amazon QuickSight custom permissions are applied through IAMpolicies. Therefore,
 40904  	// they override the permissions typically granted by assigning Amazon QuickSight
 40905  	// users to one of the default security cohorts in Amazon QuickSight (admin,
 40906  	// author, reader).
 40907  	//
 40908  	// This feature is available only to Amazon QuickSight Enterprise edition subscriptions.
 40909  	CustomPermissionsName *string `min:"1" type:"string"`
 40910  
 40911  	// The email address of the user that you want to update.
 40912  	//
 40913  	// Email is a required field
 40914  	Email *string `type:"string" required:"true"`
 40915  
 40916  	// The type of supported external login provider that provides identity to let
 40917  	// a user federate into Amazon QuickSight with an associated Identity and Access
 40918  	// Management(IAM) role. The type of supported external login provider can be
 40919  	// one of the following.
 40920  	//
 40921  	//    * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com.
 40922  	//    When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl"
 40923  	//    parameter which is only needed when the external provider is custom.
 40924  	//
 40925  	//    * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC
 40926  	//    type, use the CustomFederationProviderUrl parameter to provide the custom
 40927  	//    OIDC provider URL.
 40928  	//
 40929  	//    * NONE: This clears all the previously saved external login information
 40930  	//    for a user. Use DescribeUser API to check the external login information.
 40931  	ExternalLoginFederationProviderType *string `type:"string"`
 40932  
 40933  	// The identity ID for a user in the external login provider.
 40934  	ExternalLoginId *string `type:"string"`
 40935  
 40936  	// The namespace. Currently, you should set this to default.
 40937  	//
 40938  	// Namespace is a required field
 40939  	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
 40940  
 40941  	// The Amazon QuickSight role of the user. The role can be one of the following
 40942  	// default security cohorts:
 40943  	//
 40944  	//    * READER: A user who has read-only access to dashboards.
 40945  	//
 40946  	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
 40947  	//    dashboards.
 40948  	//
 40949  	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
 40950  	//    settings.
 40951  	//
 40952  	// The name of the Amazon QuickSight role is invisible to the user except for
 40953  	// the console screens dealing with permissions.
 40954  	//
 40955  	// Role is a required field
 40956  	Role *string `type:"string" required:"true" enum:"UserRole"`
 40957  
 40958  	// A flag that you use to indicate that you want to remove all custom permissions
 40959  	// from this user. Using this parameter resets the user to the state it was
 40960  	// in before a custom permissions profile was applied. This parameter defaults
 40961  	// to NULL and it doesn't accept any other value.
 40962  	UnapplyCustomPermissions *bool `type:"boolean"`
 40963  
 40964  	// The Amazon QuickSight user name that you want to update.
 40965  	//
 40966  	// UserName is a required field
 40967  	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
 40968  }
 40969  
 40970  // String returns the string representation.
 40971  //
 40972  // API parameter values that are decorated as "sensitive" in the API will not
 40973  // be included in the string output. The member name will be present, but the
 40974  // value will be replaced with "sensitive".
 40975  func (s UpdateUserInput) String() string {
 40976  	return awsutil.Prettify(s)
 40977  }
 40978  
 40979  // GoString returns the string representation.
 40980  //
 40981  // API parameter values that are decorated as "sensitive" in the API will not
 40982  // be included in the string output. The member name will be present, but the
 40983  // value will be replaced with "sensitive".
 40984  func (s UpdateUserInput) GoString() string {
 40985  	return s.String()
 40986  }
 40987  
 40988  // Validate inspects the fields of the type to determine if they are valid.
 40989  func (s *UpdateUserInput) Validate() error {
 40990  	invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"}
 40991  	if s.AwsAccountId == nil {
 40992  		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
 40993  	}
 40994  	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
 40995  		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
 40996  	}
 40997  	if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 {
 40998  		invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1))
 40999  	}
 41000  	if s.Email == nil {
 41001  		invalidParams.Add(request.NewErrParamRequired("Email"))
 41002  	}
 41003  	if s.Namespace == nil {
 41004  		invalidParams.Add(request.NewErrParamRequired("Namespace"))
 41005  	}
 41006  	if s.Namespace != nil && len(*s.Namespace) < 1 {
 41007  		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
 41008  	}
 41009  	if s.Role == nil {
 41010  		invalidParams.Add(request.NewErrParamRequired("Role"))
 41011  	}
 41012  	if s.UserName == nil {
 41013  		invalidParams.Add(request.NewErrParamRequired("UserName"))
 41014  	}
 41015  	if s.UserName != nil && len(*s.UserName) < 1 {
 41016  		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
 41017  	}
 41018  
 41019  	if invalidParams.Len() > 0 {
 41020  		return invalidParams
 41021  	}
 41022  	return nil
 41023  }
 41024  
 41025  // SetAwsAccountId sets the AwsAccountId field's value.
 41026  func (s *UpdateUserInput) SetAwsAccountId(v string) *UpdateUserInput {
 41027  	s.AwsAccountId = &v
 41028  	return s
 41029  }
 41030  
 41031  // SetCustomFederationProviderUrl sets the CustomFederationProviderUrl field's value.
 41032  func (s *UpdateUserInput) SetCustomFederationProviderUrl(v string) *UpdateUserInput {
 41033  	s.CustomFederationProviderUrl = &v
 41034  	return s
 41035  }
 41036  
 41037  // SetCustomPermissionsName sets the CustomPermissionsName field's value.
 41038  func (s *UpdateUserInput) SetCustomPermissionsName(v string) *UpdateUserInput {
 41039  	s.CustomPermissionsName = &v
 41040  	return s
 41041  }
 41042  
 41043  // SetEmail sets the Email field's value.
 41044  func (s *UpdateUserInput) SetEmail(v string) *UpdateUserInput {
 41045  	s.Email = &v
 41046  	return s
 41047  }
 41048  
 41049  // SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value.
 41050  func (s *UpdateUserInput) SetExternalLoginFederationProviderType(v string) *UpdateUserInput {
 41051  	s.ExternalLoginFederationProviderType = &v
 41052  	return s
 41053  }
 41054  
 41055  // SetExternalLoginId sets the ExternalLoginId field's value.
 41056  func (s *UpdateUserInput) SetExternalLoginId(v string) *UpdateUserInput {
 41057  	s.ExternalLoginId = &v
 41058  	return s
 41059  }
 41060  
 41061  // SetNamespace sets the Namespace field's value.
 41062  func (s *UpdateUserInput) SetNamespace(v string) *UpdateUserInput {
 41063  	s.Namespace = &v
 41064  	return s
 41065  }
 41066  
 41067  // SetRole sets the Role field's value.
 41068  func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput {
 41069  	s.Role = &v
 41070  	return s
 41071  }
 41072  
 41073  // SetUnapplyCustomPermissions sets the UnapplyCustomPermissions field's value.
 41074  func (s *UpdateUserInput) SetUnapplyCustomPermissions(v bool) *UpdateUserInput {
 41075  	s.UnapplyCustomPermissions = &v
 41076  	return s
 41077  }
 41078  
 41079  // SetUserName sets the UserName field's value.
 41080  func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput {
 41081  	s.UserName = &v
 41082  	return s
 41083  }
 41084  
 41085  type UpdateUserOutput struct {
 41086  	_ struct{} `type:"structure"`
 41087  
 41088  	// The Amazon Web Services request ID for this operation.
 41089  	RequestId *string `type:"string"`
 41090  
 41091  	// The HTTP status of the request.
 41092  	Status *int64 `location:"statusCode" type:"integer"`
 41093  
 41094  	// The Amazon QuickSight user.
 41095  	User *User `type:"structure"`
 41096  }
 41097  
 41098  // String returns the string representation.
 41099  //
 41100  // API parameter values that are decorated as "sensitive" in the API will not
 41101  // be included in the string output. The member name will be present, but the
 41102  // value will be replaced with "sensitive".
 41103  func (s UpdateUserOutput) String() string {
 41104  	return awsutil.Prettify(s)
 41105  }
 41106  
 41107  // GoString returns the string representation.
 41108  //
 41109  // API parameter values that are decorated as "sensitive" in the API will not
 41110  // be included in the string output. The member name will be present, but the
 41111  // value will be replaced with "sensitive".
 41112  func (s UpdateUserOutput) GoString() string {
 41113  	return s.String()
 41114  }
 41115  
 41116  // SetRequestId sets the RequestId field's value.
 41117  func (s *UpdateUserOutput) SetRequestId(v string) *UpdateUserOutput {
 41118  	s.RequestId = &v
 41119  	return s
 41120  }
 41121  
 41122  // SetStatus sets the Status field's value.
 41123  func (s *UpdateUserOutput) SetStatus(v int64) *UpdateUserOutput {
 41124  	s.Status = &v
 41125  	return s
 41126  }
 41127  
 41128  // SetUser sets the User field's value.
 41129  func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput {
 41130  	s.User = v
 41131  	return s
 41132  }
 41133  
 41134  // Information about the format for a source file or files.
 41135  type UploadSettings struct {
 41136  	_ struct{} `type:"structure"`
 41137  
 41138  	// Whether the file has a header row, or the files each have a header row.
 41139  	ContainsHeader *bool `type:"boolean"`
 41140  
 41141  	// The delimiter between values in the file.
 41142  	Delimiter *string `min:"1" type:"string"`
 41143  
 41144  	// File format.
 41145  	Format *string `type:"string" enum:"FileFormat"`
 41146  
 41147  	// A row number to start reading data from.
 41148  	StartFromRow *int64 `min:"1" type:"integer"`
 41149  
 41150  	// Text qualifier.
 41151  	TextQualifier *string `type:"string" enum:"TextQualifier"`
 41152  }
 41153  
 41154  // String returns the string representation.
 41155  //
 41156  // API parameter values that are decorated as "sensitive" in the API will not
 41157  // be included in the string output. The member name will be present, but the
 41158  // value will be replaced with "sensitive".
 41159  func (s UploadSettings) String() string {
 41160  	return awsutil.Prettify(s)
 41161  }
 41162  
 41163  // GoString returns the string representation.
 41164  //
 41165  // API parameter values that are decorated as "sensitive" in the API will not
 41166  // be included in the string output. The member name will be present, but the
 41167  // value will be replaced with "sensitive".
 41168  func (s UploadSettings) GoString() string {
 41169  	return s.String()
 41170  }
 41171  
 41172  // Validate inspects the fields of the type to determine if they are valid.
 41173  func (s *UploadSettings) Validate() error {
 41174  	invalidParams := request.ErrInvalidParams{Context: "UploadSettings"}
 41175  	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
 41176  		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
 41177  	}
 41178  	if s.StartFromRow != nil && *s.StartFromRow < 1 {
 41179  		invalidParams.Add(request.NewErrParamMinValue("StartFromRow", 1))
 41180  	}
 41181  
 41182  	if invalidParams.Len() > 0 {
 41183  		return invalidParams
 41184  	}
 41185  	return nil
 41186  }
 41187  
 41188  // SetContainsHeader sets the ContainsHeader field's value.
 41189  func (s *UploadSettings) SetContainsHeader(v bool) *UploadSettings {
 41190  	s.ContainsHeader = &v
 41191  	return s
 41192  }
 41193  
 41194  // SetDelimiter sets the Delimiter field's value.
 41195  func (s *UploadSettings) SetDelimiter(v string) *UploadSettings {
 41196  	s.Delimiter = &v
 41197  	return s
 41198  }
 41199  
 41200  // SetFormat sets the Format field's value.
 41201  func (s *UploadSettings) SetFormat(v string) *UploadSettings {
 41202  	s.Format = &v
 41203  	return s
 41204  }
 41205  
 41206  // SetStartFromRow sets the StartFromRow field's value.
 41207  func (s *UploadSettings) SetStartFromRow(v int64) *UploadSettings {
 41208  	s.StartFromRow = &v
 41209  	return s
 41210  }
 41211  
 41212  // SetTextQualifier sets the TextQualifier field's value.
 41213  func (s *UploadSettings) SetTextQualifier(v string) *UploadSettings {
 41214  	s.TextQualifier = &v
 41215  	return s
 41216  }
 41217  
 41218  // A registered user of Amazon QuickSight.
 41219  type User struct {
 41220  	_ struct{} `type:"structure"`
 41221  
 41222  	// The active status of user. When you create an Amazon QuickSight user that’s
 41223  	// not an IAM user or an Active Directory user, that user is inactive until
 41224  	// they sign in and provide a password.
 41225  	Active *bool `type:"boolean"`
 41226  
 41227  	// The Amazon Resource Name (ARN) for the user.
 41228  	Arn *string `type:"string"`
 41229  
 41230  	// The custom permissions profile associated with this user.
 41231  	CustomPermissionsName *string `min:"1" type:"string"`
 41232  
 41233  	// The user's email address.
 41234  	Email *string `type:"string"`
 41235  
 41236  	// The type of supported external login provider that provides identity to let
 41237  	// the user federate into Amazon QuickSight with an associated IAMrole. The
 41238  	// type can be one of the following.
 41239  	//
 41240  	//    * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com.
 41241  	//
 41242  	//    * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider.
 41243  	ExternalLoginFederationProviderType *string `type:"string"`
 41244  
 41245  	// The URL of the external login provider.
 41246  	ExternalLoginFederationProviderUrl *string `type:"string"`
 41247  
 41248  	// The identity ID for the user in the external login provider.
 41249  	ExternalLoginId *string `type:"string"`
 41250  
 41251  	// The type of identity authentication used by the user.
 41252  	IdentityType *string `type:"string" enum:"IdentityType"`
 41253  
 41254  	// The principal ID of the user.
 41255  	PrincipalId *string `type:"string"`
 41256  
 41257  	// The Amazon QuickSight role for the user. The user role can be one of the
 41258  	// following:.
 41259  	//
 41260  	//    * READER: A user who has read-only access to dashboards.
 41261  	//
 41262  	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
 41263  	//    dashboards.
 41264  	//
 41265  	//    * ADMIN: A user who is an author, who can also manage Amazon Amazon QuickSight
 41266  	//    settings.
 41267  	//
 41268  	//    * RESTRICTED_READER: This role isn't currently available for use.
 41269  	//
 41270  	//    * RESTRICTED_AUTHOR: This role isn't currently available for use.
 41271  	Role *string `type:"string" enum:"UserRole"`
 41272  
 41273  	// The user's user name.
 41274  	UserName *string `min:"1" type:"string"`
 41275  }
 41276  
 41277  // String returns the string representation.
 41278  //
 41279  // API parameter values that are decorated as "sensitive" in the API will not
 41280  // be included in the string output. The member name will be present, but the
 41281  // value will be replaced with "sensitive".
 41282  func (s User) String() string {
 41283  	return awsutil.Prettify(s)
 41284  }
 41285  
 41286  // GoString returns the string representation.
 41287  //
 41288  // API parameter values that are decorated as "sensitive" in the API will not
 41289  // be included in the string output. The member name will be present, but the
 41290  // value will be replaced with "sensitive".
 41291  func (s User) GoString() string {
 41292  	return s.String()
 41293  }
 41294  
 41295  // SetActive sets the Active field's value.
 41296  func (s *User) SetActive(v bool) *User {
 41297  	s.Active = &v
 41298  	return s
 41299  }
 41300  
 41301  // SetArn sets the Arn field's value.
 41302  func (s *User) SetArn(v string) *User {
 41303  	s.Arn = &v
 41304  	return s
 41305  }
 41306  
 41307  // SetCustomPermissionsName sets the CustomPermissionsName field's value.
 41308  func (s *User) SetCustomPermissionsName(v string) *User {
 41309  	s.CustomPermissionsName = &v
 41310  	return s
 41311  }
 41312  
 41313  // SetEmail sets the Email field's value.
 41314  func (s *User) SetEmail(v string) *User {
 41315  	s.Email = &v
 41316  	return s
 41317  }
 41318  
 41319  // SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value.
 41320  func (s *User) SetExternalLoginFederationProviderType(v string) *User {
 41321  	s.ExternalLoginFederationProviderType = &v
 41322  	return s
 41323  }
 41324  
 41325  // SetExternalLoginFederationProviderUrl sets the ExternalLoginFederationProviderUrl field's value.
 41326  func (s *User) SetExternalLoginFederationProviderUrl(v string) *User {
 41327  	s.ExternalLoginFederationProviderUrl = &v
 41328  	return s
 41329  }
 41330  
 41331  // SetExternalLoginId sets the ExternalLoginId field's value.
 41332  func (s *User) SetExternalLoginId(v string) *User {
 41333  	s.ExternalLoginId = &v
 41334  	return s
 41335  }
 41336  
 41337  // SetIdentityType sets the IdentityType field's value.
 41338  func (s *User) SetIdentityType(v string) *User {
 41339  	s.IdentityType = &v
 41340  	return s
 41341  }
 41342  
 41343  // SetPrincipalId sets the PrincipalId field's value.
 41344  func (s *User) SetPrincipalId(v string) *User {
 41345  	s.PrincipalId = &v
 41346  	return s
 41347  }
 41348  
 41349  // SetRole sets the Role field's value.
 41350  func (s *User) SetRole(v string) *User {
 41351  	s.Role = &v
 41352  	return s
 41353  }
 41354  
 41355  // SetUserName sets the UserName field's value.
 41356  func (s *User) SetUserName(v string) *User {
 41357  	s.UserName = &v
 41358  	return s
 41359  }
 41360  
 41361  // The user with the provided name isn't found. This error can happen in any
 41362  // operation that requires finding a user based on a provided user name, such
 41363  // as DeleteUser, DescribeUser, and so on.
 41364  type UserNotFoundException struct {
 41365  	_            struct{}                  `type:"structure"`
 41366  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 41367  
 41368  	Message_ *string `locationName:"Message" type:"string"`
 41369  
 41370  	// The Amazon Web Services request ID for this request.
 41371  	RequestId *string `type:"string"`
 41372  }
 41373  
 41374  // String returns the string representation.
 41375  //
 41376  // API parameter values that are decorated as "sensitive" in the API will not
 41377  // be included in the string output. The member name will be present, but the
 41378  // value will be replaced with "sensitive".
 41379  func (s UserNotFoundException) String() string {
 41380  	return awsutil.Prettify(s)
 41381  }
 41382  
 41383  // GoString returns the string representation.
 41384  //
 41385  // API parameter values that are decorated as "sensitive" in the API will not
 41386  // be included in the string output. The member name will be present, but the
 41387  // value will be replaced with "sensitive".
 41388  func (s UserNotFoundException) GoString() string {
 41389  	return s.String()
 41390  }
 41391  
 41392  func newErrorUserNotFoundException(v protocol.ResponseMetadata) error {
 41393  	return &UserNotFoundException{
 41394  		RespMetadata: v,
 41395  	}
 41396  }
 41397  
 41398  // Code returns the exception type name.
 41399  func (s *UserNotFoundException) Code() string {
 41400  	return "QuickSightUserNotFoundException"
 41401  }
 41402  
 41403  // Message returns the exception's message.
 41404  func (s *UserNotFoundException) Message() string {
 41405  	if s.Message_ != nil {
 41406  		return *s.Message_
 41407  	}
 41408  	return ""
 41409  }
 41410  
 41411  // OrigErr always returns nil, satisfies awserr.Error interface.
 41412  func (s *UserNotFoundException) OrigErr() error {
 41413  	return nil
 41414  }
 41415  
 41416  func (s *UserNotFoundException) Error() string {
 41417  	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
 41418  }
 41419  
 41420  // Status code returns the HTTP status code for the request's response error.
 41421  func (s *UserNotFoundException) StatusCode() int {
 41422  	return s.RespMetadata.StatusCode
 41423  }
 41424  
 41425  // RequestID returns the service's response RequestID for request.
 41426  func (s *UserNotFoundException) RequestID() string {
 41427  	return s.RespMetadata.RequestID
 41428  }
 41429  
 41430  // VPC connection properties.
 41431  type VpcConnectionProperties struct {
 41432  	_ struct{} `type:"structure"`
 41433  
 41434  	// The Amazon Resource Name (ARN) for the VPC connection.
 41435  	//
 41436  	// VpcConnectionArn is a required field
 41437  	VpcConnectionArn *string `type:"string" required:"true"`
 41438  }
 41439  
 41440  // String returns the string representation.
 41441  //
 41442  // API parameter values that are decorated as "sensitive" in the API will not
 41443  // be included in the string output. The member name will be present, but the
 41444  // value will be replaced with "sensitive".
 41445  func (s VpcConnectionProperties) String() string {
 41446  	return awsutil.Prettify(s)
 41447  }
 41448  
 41449  // GoString returns the string representation.
 41450  //
 41451  // API parameter values that are decorated as "sensitive" in the API will not
 41452  // be included in the string output. The member name will be present, but the
 41453  // value will be replaced with "sensitive".
 41454  func (s VpcConnectionProperties) GoString() string {
 41455  	return s.String()
 41456  }
 41457  
 41458  // Validate inspects the fields of the type to determine if they are valid.
 41459  func (s *VpcConnectionProperties) Validate() error {
 41460  	invalidParams := request.ErrInvalidParams{Context: "VpcConnectionProperties"}
 41461  	if s.VpcConnectionArn == nil {
 41462  		invalidParams.Add(request.NewErrParamRequired("VpcConnectionArn"))
 41463  	}
 41464  
 41465  	if invalidParams.Len() > 0 {
 41466  		return invalidParams
 41467  	}
 41468  	return nil
 41469  }
 41470  
 41471  // SetVpcConnectionArn sets the VpcConnectionArn field's value.
 41472  func (s *VpcConnectionProperties) SetVpcConnectionArn(v string) *VpcConnectionProperties {
 41473  	s.VpcConnectionArn = &v
 41474  	return s
 41475  }
 41476  
 41477  const (
 41478  	// AnalysisErrorTypeAccessDenied is a AnalysisErrorType enum value
 41479  	AnalysisErrorTypeAccessDenied = "ACCESS_DENIED"
 41480  
 41481  	// AnalysisErrorTypeSourceNotFound is a AnalysisErrorType enum value
 41482  	AnalysisErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
 41483  
 41484  	// AnalysisErrorTypeDataSetNotFound is a AnalysisErrorType enum value
 41485  	AnalysisErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
 41486  
 41487  	// AnalysisErrorTypeInternalFailure is a AnalysisErrorType enum value
 41488  	AnalysisErrorTypeInternalFailure = "INTERNAL_FAILURE"
 41489  
 41490  	// AnalysisErrorTypeParameterValueIncompatible is a AnalysisErrorType enum value
 41491  	AnalysisErrorTypeParameterValueIncompatible = "PARAMETER_VALUE_INCOMPATIBLE"
 41492  
 41493  	// AnalysisErrorTypeParameterTypeInvalid is a AnalysisErrorType enum value
 41494  	AnalysisErrorTypeParameterTypeInvalid = "PARAMETER_TYPE_INVALID"
 41495  
 41496  	// AnalysisErrorTypeParameterNotFound is a AnalysisErrorType enum value
 41497  	AnalysisErrorTypeParameterNotFound = "PARAMETER_NOT_FOUND"
 41498  
 41499  	// AnalysisErrorTypeColumnTypeMismatch is a AnalysisErrorType enum value
 41500  	AnalysisErrorTypeColumnTypeMismatch = "COLUMN_TYPE_MISMATCH"
 41501  
 41502  	// AnalysisErrorTypeColumnGeographicRoleMismatch is a AnalysisErrorType enum value
 41503  	AnalysisErrorTypeColumnGeographicRoleMismatch = "COLUMN_GEOGRAPHIC_ROLE_MISMATCH"
 41504  
 41505  	// AnalysisErrorTypeColumnReplacementMissing is a AnalysisErrorType enum value
 41506  	AnalysisErrorTypeColumnReplacementMissing = "COLUMN_REPLACEMENT_MISSING"
 41507  )
 41508  
 41509  // AnalysisErrorType_Values returns all elements of the AnalysisErrorType enum
 41510  func AnalysisErrorType_Values() []string {
 41511  	return []string{
 41512  		AnalysisErrorTypeAccessDenied,
 41513  		AnalysisErrorTypeSourceNotFound,
 41514  		AnalysisErrorTypeDataSetNotFound,
 41515  		AnalysisErrorTypeInternalFailure,
 41516  		AnalysisErrorTypeParameterValueIncompatible,
 41517  		AnalysisErrorTypeParameterTypeInvalid,
 41518  		AnalysisErrorTypeParameterNotFound,
 41519  		AnalysisErrorTypeColumnTypeMismatch,
 41520  		AnalysisErrorTypeColumnGeographicRoleMismatch,
 41521  		AnalysisErrorTypeColumnReplacementMissing,
 41522  	}
 41523  }
 41524  
 41525  const (
 41526  	// AnalysisFilterAttributeQuicksightUser is a AnalysisFilterAttribute enum value
 41527  	AnalysisFilterAttributeQuicksightUser = "QUICKSIGHT_USER"
 41528  )
 41529  
 41530  // AnalysisFilterAttribute_Values returns all elements of the AnalysisFilterAttribute enum
 41531  func AnalysisFilterAttribute_Values() []string {
 41532  	return []string{
 41533  		AnalysisFilterAttributeQuicksightUser,
 41534  	}
 41535  }
 41536  
 41537  const (
 41538  	// AssignmentStatusEnabled is a AssignmentStatus enum value
 41539  	AssignmentStatusEnabled = "ENABLED"
 41540  
 41541  	// AssignmentStatusDraft is a AssignmentStatus enum value
 41542  	AssignmentStatusDraft = "DRAFT"
 41543  
 41544  	// AssignmentStatusDisabled is a AssignmentStatus enum value
 41545  	AssignmentStatusDisabled = "DISABLED"
 41546  )
 41547  
 41548  // AssignmentStatus_Values returns all elements of the AssignmentStatus enum
 41549  func AssignmentStatus_Values() []string {
 41550  	return []string{
 41551  		AssignmentStatusEnabled,
 41552  		AssignmentStatusDraft,
 41553  		AssignmentStatusDisabled,
 41554  	}
 41555  }
 41556  
 41557  const (
 41558  	// ColumnDataTypeString is a ColumnDataType enum value
 41559  	ColumnDataTypeString = "STRING"
 41560  
 41561  	// ColumnDataTypeInteger is a ColumnDataType enum value
 41562  	ColumnDataTypeInteger = "INTEGER"
 41563  
 41564  	// ColumnDataTypeDecimal is a ColumnDataType enum value
 41565  	ColumnDataTypeDecimal = "DECIMAL"
 41566  
 41567  	// ColumnDataTypeDatetime is a ColumnDataType enum value
 41568  	ColumnDataTypeDatetime = "DATETIME"
 41569  )
 41570  
 41571  // ColumnDataType_Values returns all elements of the ColumnDataType enum
 41572  func ColumnDataType_Values() []string {
 41573  	return []string{
 41574  		ColumnDataTypeString,
 41575  		ColumnDataTypeInteger,
 41576  		ColumnDataTypeDecimal,
 41577  		ColumnDataTypeDatetime,
 41578  	}
 41579  }
 41580  
 41581  const (
 41582  	// ColumnTagNameColumnGeographicRole is a ColumnTagName enum value
 41583  	ColumnTagNameColumnGeographicRole = "COLUMN_GEOGRAPHIC_ROLE"
 41584  
 41585  	// ColumnTagNameColumnDescription is a ColumnTagName enum value
 41586  	ColumnTagNameColumnDescription = "COLUMN_DESCRIPTION"
 41587  )
 41588  
 41589  // ColumnTagName_Values returns all elements of the ColumnTagName enum
 41590  func ColumnTagName_Values() []string {
 41591  	return []string{
 41592  		ColumnTagNameColumnGeographicRole,
 41593  		ColumnTagNameColumnDescription,
 41594  	}
 41595  }
 41596  
 41597  const (
 41598  	// DashboardBehaviorEnabled is a DashboardBehavior enum value
 41599  	DashboardBehaviorEnabled = "ENABLED"
 41600  
 41601  	// DashboardBehaviorDisabled is a DashboardBehavior enum value
 41602  	DashboardBehaviorDisabled = "DISABLED"
 41603  )
 41604  
 41605  // DashboardBehavior_Values returns all elements of the DashboardBehavior enum
 41606  func DashboardBehavior_Values() []string {
 41607  	return []string{
 41608  		DashboardBehaviorEnabled,
 41609  		DashboardBehaviorDisabled,
 41610  	}
 41611  }
 41612  
 41613  const (
 41614  	// DashboardErrorTypeAccessDenied is a DashboardErrorType enum value
 41615  	DashboardErrorTypeAccessDenied = "ACCESS_DENIED"
 41616  
 41617  	// DashboardErrorTypeSourceNotFound is a DashboardErrorType enum value
 41618  	DashboardErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
 41619  
 41620  	// DashboardErrorTypeDataSetNotFound is a DashboardErrorType enum value
 41621  	DashboardErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
 41622  
 41623  	// DashboardErrorTypeInternalFailure is a DashboardErrorType enum value
 41624  	DashboardErrorTypeInternalFailure = "INTERNAL_FAILURE"
 41625  
 41626  	// DashboardErrorTypeParameterValueIncompatible is a DashboardErrorType enum value
 41627  	DashboardErrorTypeParameterValueIncompatible = "PARAMETER_VALUE_INCOMPATIBLE"
 41628  
 41629  	// DashboardErrorTypeParameterTypeInvalid is a DashboardErrorType enum value
 41630  	DashboardErrorTypeParameterTypeInvalid = "PARAMETER_TYPE_INVALID"
 41631  
 41632  	// DashboardErrorTypeParameterNotFound is a DashboardErrorType enum value
 41633  	DashboardErrorTypeParameterNotFound = "PARAMETER_NOT_FOUND"
 41634  
 41635  	// DashboardErrorTypeColumnTypeMismatch is a DashboardErrorType enum value
 41636  	DashboardErrorTypeColumnTypeMismatch = "COLUMN_TYPE_MISMATCH"
 41637  
 41638  	// DashboardErrorTypeColumnGeographicRoleMismatch is a DashboardErrorType enum value
 41639  	DashboardErrorTypeColumnGeographicRoleMismatch = "COLUMN_GEOGRAPHIC_ROLE_MISMATCH"
 41640  
 41641  	// DashboardErrorTypeColumnReplacementMissing is a DashboardErrorType enum value
 41642  	DashboardErrorTypeColumnReplacementMissing = "COLUMN_REPLACEMENT_MISSING"
 41643  )
 41644  
 41645  // DashboardErrorType_Values returns all elements of the DashboardErrorType enum
 41646  func DashboardErrorType_Values() []string {
 41647  	return []string{
 41648  		DashboardErrorTypeAccessDenied,
 41649  		DashboardErrorTypeSourceNotFound,
 41650  		DashboardErrorTypeDataSetNotFound,
 41651  		DashboardErrorTypeInternalFailure,
 41652  		DashboardErrorTypeParameterValueIncompatible,
 41653  		DashboardErrorTypeParameterTypeInvalid,
 41654  		DashboardErrorTypeParameterNotFound,
 41655  		DashboardErrorTypeColumnTypeMismatch,
 41656  		DashboardErrorTypeColumnGeographicRoleMismatch,
 41657  		DashboardErrorTypeColumnReplacementMissing,
 41658  	}
 41659  }
 41660  
 41661  const (
 41662  	// DashboardFilterAttributeQuicksightUser is a DashboardFilterAttribute enum value
 41663  	DashboardFilterAttributeQuicksightUser = "QUICKSIGHT_USER"
 41664  )
 41665  
 41666  // DashboardFilterAttribute_Values returns all elements of the DashboardFilterAttribute enum
 41667  func DashboardFilterAttribute_Values() []string {
 41668  	return []string{
 41669  		DashboardFilterAttributeQuicksightUser,
 41670  	}
 41671  }
 41672  
 41673  const (
 41674  	// DashboardUIStateExpanded is a DashboardUIState enum value
 41675  	DashboardUIStateExpanded = "EXPANDED"
 41676  
 41677  	// DashboardUIStateCollapsed is a DashboardUIState enum value
 41678  	DashboardUIStateCollapsed = "COLLAPSED"
 41679  )
 41680  
 41681  // DashboardUIState_Values returns all elements of the DashboardUIState enum
 41682  func DashboardUIState_Values() []string {
 41683  	return []string{
 41684  		DashboardUIStateExpanded,
 41685  		DashboardUIStateCollapsed,
 41686  	}
 41687  }
 41688  
 41689  const (
 41690  	// DataSetImportModeSpice is a DataSetImportMode enum value
 41691  	DataSetImportModeSpice = "SPICE"
 41692  
 41693  	// DataSetImportModeDirectQuery is a DataSetImportMode enum value
 41694  	DataSetImportModeDirectQuery = "DIRECT_QUERY"
 41695  )
 41696  
 41697  // DataSetImportMode_Values returns all elements of the DataSetImportMode enum
 41698  func DataSetImportMode_Values() []string {
 41699  	return []string{
 41700  		DataSetImportModeSpice,
 41701  		DataSetImportModeDirectQuery,
 41702  	}
 41703  }
 41704  
 41705  const (
 41706  	// DataSourceErrorInfoTypeAccessDenied is a DataSourceErrorInfoType enum value
 41707  	DataSourceErrorInfoTypeAccessDenied = "ACCESS_DENIED"
 41708  
 41709  	// DataSourceErrorInfoTypeCopySourceNotFound is a DataSourceErrorInfoType enum value
 41710  	DataSourceErrorInfoTypeCopySourceNotFound = "COPY_SOURCE_NOT_FOUND"
 41711  
 41712  	// DataSourceErrorInfoTypeTimeout is a DataSourceErrorInfoType enum value
 41713  	DataSourceErrorInfoTypeTimeout = "TIMEOUT"
 41714  
 41715  	// DataSourceErrorInfoTypeEngineVersionNotSupported is a DataSourceErrorInfoType enum value
 41716  	DataSourceErrorInfoTypeEngineVersionNotSupported = "ENGINE_VERSION_NOT_SUPPORTED"
 41717  
 41718  	// DataSourceErrorInfoTypeUnknownHost is a DataSourceErrorInfoType enum value
 41719  	DataSourceErrorInfoTypeUnknownHost = "UNKNOWN_HOST"
 41720  
 41721  	// DataSourceErrorInfoTypeGenericSqlFailure is a DataSourceErrorInfoType enum value
 41722  	DataSourceErrorInfoTypeGenericSqlFailure = "GENERIC_SQL_FAILURE"
 41723  
 41724  	// DataSourceErrorInfoTypeConflict is a DataSourceErrorInfoType enum value
 41725  	DataSourceErrorInfoTypeConflict = "CONFLICT"
 41726  
 41727  	// DataSourceErrorInfoTypeUnknown is a DataSourceErrorInfoType enum value
 41728  	DataSourceErrorInfoTypeUnknown = "UNKNOWN"
 41729  )
 41730  
 41731  // DataSourceErrorInfoType_Values returns all elements of the DataSourceErrorInfoType enum
 41732  func DataSourceErrorInfoType_Values() []string {
 41733  	return []string{
 41734  		DataSourceErrorInfoTypeAccessDenied,
 41735  		DataSourceErrorInfoTypeCopySourceNotFound,
 41736  		DataSourceErrorInfoTypeTimeout,
 41737  		DataSourceErrorInfoTypeEngineVersionNotSupported,
 41738  		DataSourceErrorInfoTypeUnknownHost,
 41739  		DataSourceErrorInfoTypeGenericSqlFailure,
 41740  		DataSourceErrorInfoTypeConflict,
 41741  		DataSourceErrorInfoTypeUnknown,
 41742  	}
 41743  }
 41744  
 41745  const (
 41746  	// DataSourceTypeAdobeAnalytics is a DataSourceType enum value
 41747  	DataSourceTypeAdobeAnalytics = "ADOBE_ANALYTICS"
 41748  
 41749  	// DataSourceTypeAmazonElasticsearch is a DataSourceType enum value
 41750  	DataSourceTypeAmazonElasticsearch = "AMAZON_ELASTICSEARCH"
 41751  
 41752  	// DataSourceTypeAthena is a DataSourceType enum value
 41753  	DataSourceTypeAthena = "ATHENA"
 41754  
 41755  	// DataSourceTypeAurora is a DataSourceType enum value
 41756  	DataSourceTypeAurora = "AURORA"
 41757  
 41758  	// DataSourceTypeAuroraPostgresql is a DataSourceType enum value
 41759  	DataSourceTypeAuroraPostgresql = "AURORA_POSTGRESQL"
 41760  
 41761  	// DataSourceTypeAwsIotAnalytics is a DataSourceType enum value
 41762  	DataSourceTypeAwsIotAnalytics = "AWS_IOT_ANALYTICS"
 41763  
 41764  	// DataSourceTypeGithub is a DataSourceType enum value
 41765  	DataSourceTypeGithub = "GITHUB"
 41766  
 41767  	// DataSourceTypeJira is a DataSourceType enum value
 41768  	DataSourceTypeJira = "JIRA"
 41769  
 41770  	// DataSourceTypeMariadb is a DataSourceType enum value
 41771  	DataSourceTypeMariadb = "MARIADB"
 41772  
 41773  	// DataSourceTypeMysql is a DataSourceType enum value
 41774  	DataSourceTypeMysql = "MYSQL"
 41775  
 41776  	// DataSourceTypeOracle is a DataSourceType enum value
 41777  	DataSourceTypeOracle = "ORACLE"
 41778  
 41779  	// DataSourceTypePostgresql is a DataSourceType enum value
 41780  	DataSourceTypePostgresql = "POSTGRESQL"
 41781  
 41782  	// DataSourceTypePresto is a DataSourceType enum value
 41783  	DataSourceTypePresto = "PRESTO"
 41784  
 41785  	// DataSourceTypeRedshift is a DataSourceType enum value
 41786  	DataSourceTypeRedshift = "REDSHIFT"
 41787  
 41788  	// DataSourceTypeS3 is a DataSourceType enum value
 41789  	DataSourceTypeS3 = "S3"
 41790  
 41791  	// DataSourceTypeSalesforce is a DataSourceType enum value
 41792  	DataSourceTypeSalesforce = "SALESFORCE"
 41793  
 41794  	// DataSourceTypeServicenow is a DataSourceType enum value
 41795  	DataSourceTypeServicenow = "SERVICENOW"
 41796  
 41797  	// DataSourceTypeSnowflake is a DataSourceType enum value
 41798  	DataSourceTypeSnowflake = "SNOWFLAKE"
 41799  
 41800  	// DataSourceTypeSpark is a DataSourceType enum value
 41801  	DataSourceTypeSpark = "SPARK"
 41802  
 41803  	// DataSourceTypeSqlserver is a DataSourceType enum value
 41804  	DataSourceTypeSqlserver = "SQLSERVER"
 41805  
 41806  	// DataSourceTypeTeradata is a DataSourceType enum value
 41807  	DataSourceTypeTeradata = "TERADATA"
 41808  
 41809  	// DataSourceTypeTwitter is a DataSourceType enum value
 41810  	DataSourceTypeTwitter = "TWITTER"
 41811  
 41812  	// DataSourceTypeTimestream is a DataSourceType enum value
 41813  	DataSourceTypeTimestream = "TIMESTREAM"
 41814  
 41815  	// DataSourceTypeAmazonOpensearch is a DataSourceType enum value
 41816  	DataSourceTypeAmazonOpensearch = "AMAZON_OPENSEARCH"
 41817  )
 41818  
 41819  // DataSourceType_Values returns all elements of the DataSourceType enum
 41820  func DataSourceType_Values() []string {
 41821  	return []string{
 41822  		DataSourceTypeAdobeAnalytics,
 41823  		DataSourceTypeAmazonElasticsearch,
 41824  		DataSourceTypeAthena,
 41825  		DataSourceTypeAurora,
 41826  		DataSourceTypeAuroraPostgresql,
 41827  		DataSourceTypeAwsIotAnalytics,
 41828  		DataSourceTypeGithub,
 41829  		DataSourceTypeJira,
 41830  		DataSourceTypeMariadb,
 41831  		DataSourceTypeMysql,
 41832  		DataSourceTypeOracle,
 41833  		DataSourceTypePostgresql,
 41834  		DataSourceTypePresto,
 41835  		DataSourceTypeRedshift,
 41836  		DataSourceTypeS3,
 41837  		DataSourceTypeSalesforce,
 41838  		DataSourceTypeServicenow,
 41839  		DataSourceTypeSnowflake,
 41840  		DataSourceTypeSpark,
 41841  		DataSourceTypeSqlserver,
 41842  		DataSourceTypeTeradata,
 41843  		DataSourceTypeTwitter,
 41844  		DataSourceTypeTimestream,
 41845  		DataSourceTypeAmazonOpensearch,
 41846  	}
 41847  }
 41848  
 41849  const (
 41850  	// EditionStandard is a Edition enum value
 41851  	EditionStandard = "STANDARD"
 41852  
 41853  	// EditionEnterprise is a Edition enum value
 41854  	EditionEnterprise = "ENTERPRISE"
 41855  )
 41856  
 41857  // Edition_Values returns all elements of the Edition enum
 41858  func Edition_Values() []string {
 41859  	return []string{
 41860  		EditionStandard,
 41861  		EditionEnterprise,
 41862  	}
 41863  }
 41864  
 41865  const (
 41866  	// EmbeddingIdentityTypeIam is a EmbeddingIdentityType enum value
 41867  	EmbeddingIdentityTypeIam = "IAM"
 41868  
 41869  	// EmbeddingIdentityTypeQuicksight is a EmbeddingIdentityType enum value
 41870  	EmbeddingIdentityTypeQuicksight = "QUICKSIGHT"
 41871  
 41872  	// EmbeddingIdentityTypeAnonymous is a EmbeddingIdentityType enum value
 41873  	EmbeddingIdentityTypeAnonymous = "ANONYMOUS"
 41874  )
 41875  
 41876  // EmbeddingIdentityType_Values returns all elements of the EmbeddingIdentityType enum
 41877  func EmbeddingIdentityType_Values() []string {
 41878  	return []string{
 41879  		EmbeddingIdentityTypeIam,
 41880  		EmbeddingIdentityTypeQuicksight,
 41881  		EmbeddingIdentityTypeAnonymous,
 41882  	}
 41883  }
 41884  
 41885  const (
 41886  	// ExceptionResourceTypeUser is a ExceptionResourceType enum value
 41887  	ExceptionResourceTypeUser = "USER"
 41888  
 41889  	// ExceptionResourceTypeGroup is a ExceptionResourceType enum value
 41890  	ExceptionResourceTypeGroup = "GROUP"
 41891  
 41892  	// ExceptionResourceTypeNamespace is a ExceptionResourceType enum value
 41893  	ExceptionResourceTypeNamespace = "NAMESPACE"
 41894  
 41895  	// ExceptionResourceTypeAccountSettings is a ExceptionResourceType enum value
 41896  	ExceptionResourceTypeAccountSettings = "ACCOUNT_SETTINGS"
 41897  
 41898  	// ExceptionResourceTypeIampolicyAssignment is a ExceptionResourceType enum value
 41899  	ExceptionResourceTypeIampolicyAssignment = "IAMPOLICY_ASSIGNMENT"
 41900  
 41901  	// ExceptionResourceTypeDataSource is a ExceptionResourceType enum value
 41902  	ExceptionResourceTypeDataSource = "DATA_SOURCE"
 41903  
 41904  	// ExceptionResourceTypeDataSet is a ExceptionResourceType enum value
 41905  	ExceptionResourceTypeDataSet = "DATA_SET"
 41906  
 41907  	// ExceptionResourceTypeVpcConnection is a ExceptionResourceType enum value
 41908  	ExceptionResourceTypeVpcConnection = "VPC_CONNECTION"
 41909  
 41910  	// ExceptionResourceTypeIngestion is a ExceptionResourceType enum value
 41911  	ExceptionResourceTypeIngestion = "INGESTION"
 41912  )
 41913  
 41914  // ExceptionResourceType_Values returns all elements of the ExceptionResourceType enum
 41915  func ExceptionResourceType_Values() []string {
 41916  	return []string{
 41917  		ExceptionResourceTypeUser,
 41918  		ExceptionResourceTypeGroup,
 41919  		ExceptionResourceTypeNamespace,
 41920  		ExceptionResourceTypeAccountSettings,
 41921  		ExceptionResourceTypeIampolicyAssignment,
 41922  		ExceptionResourceTypeDataSource,
 41923  		ExceptionResourceTypeDataSet,
 41924  		ExceptionResourceTypeVpcConnection,
 41925  		ExceptionResourceTypeIngestion,
 41926  	}
 41927  }
 41928  
 41929  const (
 41930  	// FileFormatCsv is a FileFormat enum value
 41931  	FileFormatCsv = "CSV"
 41932  
 41933  	// FileFormatTsv is a FileFormat enum value
 41934  	FileFormatTsv = "TSV"
 41935  
 41936  	// FileFormatClf is a FileFormat enum value
 41937  	FileFormatClf = "CLF"
 41938  
 41939  	// FileFormatElf is a FileFormat enum value
 41940  	FileFormatElf = "ELF"
 41941  
 41942  	// FileFormatXlsx is a FileFormat enum value
 41943  	FileFormatXlsx = "XLSX"
 41944  
 41945  	// FileFormatJson is a FileFormat enum value
 41946  	FileFormatJson = "JSON"
 41947  )
 41948  
 41949  // FileFormat_Values returns all elements of the FileFormat enum
 41950  func FileFormat_Values() []string {
 41951  	return []string{
 41952  		FileFormatCsv,
 41953  		FileFormatTsv,
 41954  		FileFormatClf,
 41955  		FileFormatElf,
 41956  		FileFormatXlsx,
 41957  		FileFormatJson,
 41958  	}
 41959  }
 41960  
 41961  const (
 41962  	// FilterOperatorStringEquals is a FilterOperator enum value
 41963  	FilterOperatorStringEquals = "StringEquals"
 41964  )
 41965  
 41966  // FilterOperator_Values returns all elements of the FilterOperator enum
 41967  func FilterOperator_Values() []string {
 41968  	return []string{
 41969  		FilterOperatorStringEquals,
 41970  	}
 41971  }
 41972  
 41973  const (
 41974  	// FolderFilterAttributeParentFolderArn is a FolderFilterAttribute enum value
 41975  	FolderFilterAttributeParentFolderArn = "PARENT_FOLDER_ARN"
 41976  )
 41977  
 41978  // FolderFilterAttribute_Values returns all elements of the FolderFilterAttribute enum
 41979  func FolderFilterAttribute_Values() []string {
 41980  	return []string{
 41981  		FolderFilterAttributeParentFolderArn,
 41982  	}
 41983  }
 41984  
 41985  const (
 41986  	// FolderTypeShared is a FolderType enum value
 41987  	FolderTypeShared = "SHARED"
 41988  )
 41989  
 41990  // FolderType_Values returns all elements of the FolderType enum
 41991  func FolderType_Values() []string {
 41992  	return []string{
 41993  		FolderTypeShared,
 41994  	}
 41995  }
 41996  
 41997  const (
 41998  	// GeoSpatialCountryCodeUs is a GeoSpatialCountryCode enum value
 41999  	GeoSpatialCountryCodeUs = "US"
 42000  )
 42001  
 42002  // GeoSpatialCountryCode_Values returns all elements of the GeoSpatialCountryCode enum
 42003  func GeoSpatialCountryCode_Values() []string {
 42004  	return []string{
 42005  		GeoSpatialCountryCodeUs,
 42006  	}
 42007  }
 42008  
 42009  const (
 42010  	// GeoSpatialDataRoleCountry is a GeoSpatialDataRole enum value
 42011  	GeoSpatialDataRoleCountry = "COUNTRY"
 42012  
 42013  	// GeoSpatialDataRoleState is a GeoSpatialDataRole enum value
 42014  	GeoSpatialDataRoleState = "STATE"
 42015  
 42016  	// GeoSpatialDataRoleCounty is a GeoSpatialDataRole enum value
 42017  	GeoSpatialDataRoleCounty = "COUNTY"
 42018  
 42019  	// GeoSpatialDataRoleCity is a GeoSpatialDataRole enum value
 42020  	GeoSpatialDataRoleCity = "CITY"
 42021  
 42022  	// GeoSpatialDataRolePostcode is a GeoSpatialDataRole enum value
 42023  	GeoSpatialDataRolePostcode = "POSTCODE"
 42024  
 42025  	// GeoSpatialDataRoleLongitude is a GeoSpatialDataRole enum value
 42026  	GeoSpatialDataRoleLongitude = "LONGITUDE"
 42027  
 42028  	// GeoSpatialDataRoleLatitude is a GeoSpatialDataRole enum value
 42029  	GeoSpatialDataRoleLatitude = "LATITUDE"
 42030  )
 42031  
 42032  // GeoSpatialDataRole_Values returns all elements of the GeoSpatialDataRole enum
 42033  func GeoSpatialDataRole_Values() []string {
 42034  	return []string{
 42035  		GeoSpatialDataRoleCountry,
 42036  		GeoSpatialDataRoleState,
 42037  		GeoSpatialDataRoleCounty,
 42038  		GeoSpatialDataRoleCity,
 42039  		GeoSpatialDataRolePostcode,
 42040  		GeoSpatialDataRoleLongitude,
 42041  		GeoSpatialDataRoleLatitude,
 42042  	}
 42043  }
 42044  
 42045  const (
 42046  	// IdentityStoreQuicksight is a IdentityStore enum value
 42047  	IdentityStoreQuicksight = "QUICKSIGHT"
 42048  )
 42049  
 42050  // IdentityStore_Values returns all elements of the IdentityStore enum
 42051  func IdentityStore_Values() []string {
 42052  	return []string{
 42053  		IdentityStoreQuicksight,
 42054  	}
 42055  }
 42056  
 42057  const (
 42058  	// IdentityTypeIam is a IdentityType enum value
 42059  	IdentityTypeIam = "IAM"
 42060  
 42061  	// IdentityTypeQuicksight is a IdentityType enum value
 42062  	IdentityTypeQuicksight = "QUICKSIGHT"
 42063  )
 42064  
 42065  // IdentityType_Values returns all elements of the IdentityType enum
 42066  func IdentityType_Values() []string {
 42067  	return []string{
 42068  		IdentityTypeIam,
 42069  		IdentityTypeQuicksight,
 42070  	}
 42071  }
 42072  
 42073  const (
 42074  	// IngestionErrorTypeFailureToAssumeRole is a IngestionErrorType enum value
 42075  	IngestionErrorTypeFailureToAssumeRole = "FAILURE_TO_ASSUME_ROLE"
 42076  
 42077  	// IngestionErrorTypeIngestionSuperseded is a IngestionErrorType enum value
 42078  	IngestionErrorTypeIngestionSuperseded = "INGESTION_SUPERSEDED"
 42079  
 42080  	// IngestionErrorTypeIngestionCanceled is a IngestionErrorType enum value
 42081  	IngestionErrorTypeIngestionCanceled = "INGESTION_CANCELED"
 42082  
 42083  	// IngestionErrorTypeDataSetDeleted is a IngestionErrorType enum value
 42084  	IngestionErrorTypeDataSetDeleted = "DATA_SET_DELETED"
 42085  
 42086  	// IngestionErrorTypeDataSetNotSpice is a IngestionErrorType enum value
 42087  	IngestionErrorTypeDataSetNotSpice = "DATA_SET_NOT_SPICE"
 42088  
 42089  	// IngestionErrorTypeS3UploadedFileDeleted is a IngestionErrorType enum value
 42090  	IngestionErrorTypeS3UploadedFileDeleted = "S3_UPLOADED_FILE_DELETED"
 42091  
 42092  	// IngestionErrorTypeS3ManifestError is a IngestionErrorType enum value
 42093  	IngestionErrorTypeS3ManifestError = "S3_MANIFEST_ERROR"
 42094  
 42095  	// IngestionErrorTypeDataToleranceException is a IngestionErrorType enum value
 42096  	IngestionErrorTypeDataToleranceException = "DATA_TOLERANCE_EXCEPTION"
 42097  
 42098  	// IngestionErrorTypeSpiceTableNotFound is a IngestionErrorType enum value
 42099  	IngestionErrorTypeSpiceTableNotFound = "SPICE_TABLE_NOT_FOUND"
 42100  
 42101  	// IngestionErrorTypeDataSetSizeLimitExceeded is a IngestionErrorType enum value
 42102  	IngestionErrorTypeDataSetSizeLimitExceeded = "DATA_SET_SIZE_LIMIT_EXCEEDED"
 42103  
 42104  	// IngestionErrorTypeRowSizeLimitExceeded is a IngestionErrorType enum value
 42105  	IngestionErrorTypeRowSizeLimitExceeded = "ROW_SIZE_LIMIT_EXCEEDED"
 42106  
 42107  	// IngestionErrorTypeAccountCapacityLimitExceeded is a IngestionErrorType enum value
 42108  	IngestionErrorTypeAccountCapacityLimitExceeded = "ACCOUNT_CAPACITY_LIMIT_EXCEEDED"
 42109  
 42110  	// IngestionErrorTypeCustomerError is a IngestionErrorType enum value
 42111  	IngestionErrorTypeCustomerError = "CUSTOMER_ERROR"
 42112  
 42113  	// IngestionErrorTypeDataSourceNotFound is a IngestionErrorType enum value
 42114  	IngestionErrorTypeDataSourceNotFound = "DATA_SOURCE_NOT_FOUND"
 42115  
 42116  	// IngestionErrorTypeIamRoleNotAvailable is a IngestionErrorType enum value
 42117  	IngestionErrorTypeIamRoleNotAvailable = "IAM_ROLE_NOT_AVAILABLE"
 42118  
 42119  	// IngestionErrorTypeConnectionFailure is a IngestionErrorType enum value
 42120  	IngestionErrorTypeConnectionFailure = "CONNECTION_FAILURE"
 42121  
 42122  	// IngestionErrorTypeSqlTableNotFound is a IngestionErrorType enum value
 42123  	IngestionErrorTypeSqlTableNotFound = "SQL_TABLE_NOT_FOUND"
 42124  
 42125  	// IngestionErrorTypePermissionDenied is a IngestionErrorType enum value
 42126  	IngestionErrorTypePermissionDenied = "PERMISSION_DENIED"
 42127  
 42128  	// IngestionErrorTypeSslCertificateValidationFailure is a IngestionErrorType enum value
 42129  	IngestionErrorTypeSslCertificateValidationFailure = "SSL_CERTIFICATE_VALIDATION_FAILURE"
 42130  
 42131  	// IngestionErrorTypeOauthTokenFailure is a IngestionErrorType enum value
 42132  	IngestionErrorTypeOauthTokenFailure = "OAUTH_TOKEN_FAILURE"
 42133  
 42134  	// IngestionErrorTypeSourceApiLimitExceededFailure is a IngestionErrorType enum value
 42135  	IngestionErrorTypeSourceApiLimitExceededFailure = "SOURCE_API_LIMIT_EXCEEDED_FAILURE"
 42136  
 42137  	// IngestionErrorTypePasswordAuthenticationFailure is a IngestionErrorType enum value
 42138  	IngestionErrorTypePasswordAuthenticationFailure = "PASSWORD_AUTHENTICATION_FAILURE"
 42139  
 42140  	// IngestionErrorTypeSqlSchemaMismatchError is a IngestionErrorType enum value
 42141  	IngestionErrorTypeSqlSchemaMismatchError = "SQL_SCHEMA_MISMATCH_ERROR"
 42142  
 42143  	// IngestionErrorTypeInvalidDateFormat is a IngestionErrorType enum value
 42144  	IngestionErrorTypeInvalidDateFormat = "INVALID_DATE_FORMAT"
 42145  
 42146  	// IngestionErrorTypeInvalidDataprepSyntax is a IngestionErrorType enum value
 42147  	IngestionErrorTypeInvalidDataprepSyntax = "INVALID_DATAPREP_SYNTAX"
 42148  
 42149  	// IngestionErrorTypeSourceResourceLimitExceeded is a IngestionErrorType enum value
 42150  	IngestionErrorTypeSourceResourceLimitExceeded = "SOURCE_RESOURCE_LIMIT_EXCEEDED"
 42151  
 42152  	// IngestionErrorTypeSqlInvalidParameterValue is a IngestionErrorType enum value
 42153  	IngestionErrorTypeSqlInvalidParameterValue = "SQL_INVALID_PARAMETER_VALUE"
 42154  
 42155  	// IngestionErrorTypeQueryTimeout is a IngestionErrorType enum value
 42156  	IngestionErrorTypeQueryTimeout = "QUERY_TIMEOUT"
 42157  
 42158  	// IngestionErrorTypeSqlNumericOverflow is a IngestionErrorType enum value
 42159  	IngestionErrorTypeSqlNumericOverflow = "SQL_NUMERIC_OVERFLOW"
 42160  
 42161  	// IngestionErrorTypeUnresolvableHost is a IngestionErrorType enum value
 42162  	IngestionErrorTypeUnresolvableHost = "UNRESOLVABLE_HOST"
 42163  
 42164  	// IngestionErrorTypeUnroutableHost is a IngestionErrorType enum value
 42165  	IngestionErrorTypeUnroutableHost = "UNROUTABLE_HOST"
 42166  
 42167  	// IngestionErrorTypeSqlException is a IngestionErrorType enum value
 42168  	IngestionErrorTypeSqlException = "SQL_EXCEPTION"
 42169  
 42170  	// IngestionErrorTypeS3FileInaccessible is a IngestionErrorType enum value
 42171  	IngestionErrorTypeS3FileInaccessible = "S3_FILE_INACCESSIBLE"
 42172  
 42173  	// IngestionErrorTypeIotFileNotFound is a IngestionErrorType enum value
 42174  	IngestionErrorTypeIotFileNotFound = "IOT_FILE_NOT_FOUND"
 42175  
 42176  	// IngestionErrorTypeIotDataSetFileEmpty is a IngestionErrorType enum value
 42177  	IngestionErrorTypeIotDataSetFileEmpty = "IOT_DATA_SET_FILE_EMPTY"
 42178  
 42179  	// IngestionErrorTypeInvalidDataSourceConfig is a IngestionErrorType enum value
 42180  	IngestionErrorTypeInvalidDataSourceConfig = "INVALID_DATA_SOURCE_CONFIG"
 42181  
 42182  	// IngestionErrorTypeDataSourceAuthFailed is a IngestionErrorType enum value
 42183  	IngestionErrorTypeDataSourceAuthFailed = "DATA_SOURCE_AUTH_FAILED"
 42184  
 42185  	// IngestionErrorTypeDataSourceConnectionFailed is a IngestionErrorType enum value
 42186  	IngestionErrorTypeDataSourceConnectionFailed = "DATA_SOURCE_CONNECTION_FAILED"
 42187  
 42188  	// IngestionErrorTypeFailureToProcessJsonFile is a IngestionErrorType enum value
 42189  	IngestionErrorTypeFailureToProcessJsonFile = "FAILURE_TO_PROCESS_JSON_FILE"
 42190  
 42191  	// IngestionErrorTypeInternalServiceError is a IngestionErrorType enum value
 42192  	IngestionErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR"
 42193  )
 42194  
 42195  // IngestionErrorType_Values returns all elements of the IngestionErrorType enum
 42196  func IngestionErrorType_Values() []string {
 42197  	return []string{
 42198  		IngestionErrorTypeFailureToAssumeRole,
 42199  		IngestionErrorTypeIngestionSuperseded,
 42200  		IngestionErrorTypeIngestionCanceled,
 42201  		IngestionErrorTypeDataSetDeleted,
 42202  		IngestionErrorTypeDataSetNotSpice,
 42203  		IngestionErrorTypeS3UploadedFileDeleted,
 42204  		IngestionErrorTypeS3ManifestError,
 42205  		IngestionErrorTypeDataToleranceException,
 42206  		IngestionErrorTypeSpiceTableNotFound,
 42207  		IngestionErrorTypeDataSetSizeLimitExceeded,
 42208  		IngestionErrorTypeRowSizeLimitExceeded,
 42209  		IngestionErrorTypeAccountCapacityLimitExceeded,
 42210  		IngestionErrorTypeCustomerError,
 42211  		IngestionErrorTypeDataSourceNotFound,
 42212  		IngestionErrorTypeIamRoleNotAvailable,
 42213  		IngestionErrorTypeConnectionFailure,
 42214  		IngestionErrorTypeSqlTableNotFound,
 42215  		IngestionErrorTypePermissionDenied,
 42216  		IngestionErrorTypeSslCertificateValidationFailure,
 42217  		IngestionErrorTypeOauthTokenFailure,
 42218  		IngestionErrorTypeSourceApiLimitExceededFailure,
 42219  		IngestionErrorTypePasswordAuthenticationFailure,
 42220  		IngestionErrorTypeSqlSchemaMismatchError,
 42221  		IngestionErrorTypeInvalidDateFormat,
 42222  		IngestionErrorTypeInvalidDataprepSyntax,
 42223  		IngestionErrorTypeSourceResourceLimitExceeded,
 42224  		IngestionErrorTypeSqlInvalidParameterValue,
 42225  		IngestionErrorTypeQueryTimeout,
 42226  		IngestionErrorTypeSqlNumericOverflow,
 42227  		IngestionErrorTypeUnresolvableHost,
 42228  		IngestionErrorTypeUnroutableHost,
 42229  		IngestionErrorTypeSqlException,
 42230  		IngestionErrorTypeS3FileInaccessible,
 42231  		IngestionErrorTypeIotFileNotFound,
 42232  		IngestionErrorTypeIotDataSetFileEmpty,
 42233  		IngestionErrorTypeInvalidDataSourceConfig,
 42234  		IngestionErrorTypeDataSourceAuthFailed,
 42235  		IngestionErrorTypeDataSourceConnectionFailed,
 42236  		IngestionErrorTypeFailureToProcessJsonFile,
 42237  		IngestionErrorTypeInternalServiceError,
 42238  	}
 42239  }
 42240  
 42241  const (
 42242  	// IngestionRequestSourceManual is a IngestionRequestSource enum value
 42243  	IngestionRequestSourceManual = "MANUAL"
 42244  
 42245  	// IngestionRequestSourceScheduled is a IngestionRequestSource enum value
 42246  	IngestionRequestSourceScheduled = "SCHEDULED"
 42247  )
 42248  
 42249  // IngestionRequestSource_Values returns all elements of the IngestionRequestSource enum
 42250  func IngestionRequestSource_Values() []string {
 42251  	return []string{
 42252  		IngestionRequestSourceManual,
 42253  		IngestionRequestSourceScheduled,
 42254  	}
 42255  }
 42256  
 42257  const (
 42258  	// IngestionRequestTypeInitialIngestion is a IngestionRequestType enum value
 42259  	IngestionRequestTypeInitialIngestion = "INITIAL_INGESTION"
 42260  
 42261  	// IngestionRequestTypeEdit is a IngestionRequestType enum value
 42262  	IngestionRequestTypeEdit = "EDIT"
 42263  
 42264  	// IngestionRequestTypeIncrementalRefresh is a IngestionRequestType enum value
 42265  	IngestionRequestTypeIncrementalRefresh = "INCREMENTAL_REFRESH"
 42266  
 42267  	// IngestionRequestTypeFullRefresh is a IngestionRequestType enum value
 42268  	IngestionRequestTypeFullRefresh = "FULL_REFRESH"
 42269  )
 42270  
 42271  // IngestionRequestType_Values returns all elements of the IngestionRequestType enum
 42272  func IngestionRequestType_Values() []string {
 42273  	return []string{
 42274  		IngestionRequestTypeInitialIngestion,
 42275  		IngestionRequestTypeEdit,
 42276  		IngestionRequestTypeIncrementalRefresh,
 42277  		IngestionRequestTypeFullRefresh,
 42278  	}
 42279  }
 42280  
 42281  const (
 42282  	// IngestionStatusInitialized is a IngestionStatus enum value
 42283  	IngestionStatusInitialized = "INITIALIZED"
 42284  
 42285  	// IngestionStatusQueued is a IngestionStatus enum value
 42286  	IngestionStatusQueued = "QUEUED"
 42287  
 42288  	// IngestionStatusRunning is a IngestionStatus enum value
 42289  	IngestionStatusRunning = "RUNNING"
 42290  
 42291  	// IngestionStatusFailed is a IngestionStatus enum value
 42292  	IngestionStatusFailed = "FAILED"
 42293  
 42294  	// IngestionStatusCompleted is a IngestionStatus enum value
 42295  	IngestionStatusCompleted = "COMPLETED"
 42296  
 42297  	// IngestionStatusCancelled is a IngestionStatus enum value
 42298  	IngestionStatusCancelled = "CANCELLED"
 42299  )
 42300  
 42301  // IngestionStatus_Values returns all elements of the IngestionStatus enum
 42302  func IngestionStatus_Values() []string {
 42303  	return []string{
 42304  		IngestionStatusInitialized,
 42305  		IngestionStatusQueued,
 42306  		IngestionStatusRunning,
 42307  		IngestionStatusFailed,
 42308  		IngestionStatusCompleted,
 42309  		IngestionStatusCancelled,
 42310  	}
 42311  }
 42312  
 42313  const (
 42314  	// InputColumnDataTypeString is a InputColumnDataType enum value
 42315  	InputColumnDataTypeString = "STRING"
 42316  
 42317  	// InputColumnDataTypeInteger is a InputColumnDataType enum value
 42318  	InputColumnDataTypeInteger = "INTEGER"
 42319  
 42320  	// InputColumnDataTypeDecimal is a InputColumnDataType enum value
 42321  	InputColumnDataTypeDecimal = "DECIMAL"
 42322  
 42323  	// InputColumnDataTypeDatetime is a InputColumnDataType enum value
 42324  	InputColumnDataTypeDatetime = "DATETIME"
 42325  
 42326  	// InputColumnDataTypeBit is a InputColumnDataType enum value
 42327  	InputColumnDataTypeBit = "BIT"
 42328  
 42329  	// InputColumnDataTypeBoolean is a InputColumnDataType enum value
 42330  	InputColumnDataTypeBoolean = "BOOLEAN"
 42331  
 42332  	// InputColumnDataTypeJson is a InputColumnDataType enum value
 42333  	InputColumnDataTypeJson = "JSON"
 42334  )
 42335  
 42336  // InputColumnDataType_Values returns all elements of the InputColumnDataType enum
 42337  func InputColumnDataType_Values() []string {
 42338  	return []string{
 42339  		InputColumnDataTypeString,
 42340  		InputColumnDataTypeInteger,
 42341  		InputColumnDataTypeDecimal,
 42342  		InputColumnDataTypeDatetime,
 42343  		InputColumnDataTypeBit,
 42344  		InputColumnDataTypeBoolean,
 42345  		InputColumnDataTypeJson,
 42346  	}
 42347  }
 42348  
 42349  const (
 42350  	// JoinTypeInner is a JoinType enum value
 42351  	JoinTypeInner = "INNER"
 42352  
 42353  	// JoinTypeOuter is a JoinType enum value
 42354  	JoinTypeOuter = "OUTER"
 42355  
 42356  	// JoinTypeLeft is a JoinType enum value
 42357  	JoinTypeLeft = "LEFT"
 42358  
 42359  	// JoinTypeRight is a JoinType enum value
 42360  	JoinTypeRight = "RIGHT"
 42361  )
 42362  
 42363  // JoinType_Values returns all elements of the JoinType enum
 42364  func JoinType_Values() []string {
 42365  	return []string{
 42366  		JoinTypeInner,
 42367  		JoinTypeOuter,
 42368  		JoinTypeLeft,
 42369  		JoinTypeRight,
 42370  	}
 42371  }
 42372  
 42373  const (
 42374  	// MemberTypeDashboard is a MemberType enum value
 42375  	MemberTypeDashboard = "DASHBOARD"
 42376  
 42377  	// MemberTypeAnalysis is a MemberType enum value
 42378  	MemberTypeAnalysis = "ANALYSIS"
 42379  
 42380  	// MemberTypeDataset is a MemberType enum value
 42381  	MemberTypeDataset = "DATASET"
 42382  )
 42383  
 42384  // MemberType_Values returns all elements of the MemberType enum
 42385  func MemberType_Values() []string {
 42386  	return []string{
 42387  		MemberTypeDashboard,
 42388  		MemberTypeAnalysis,
 42389  		MemberTypeDataset,
 42390  	}
 42391  }
 42392  
 42393  const (
 42394  	// NamespaceErrorTypePermissionDenied is a NamespaceErrorType enum value
 42395  	NamespaceErrorTypePermissionDenied = "PERMISSION_DENIED"
 42396  
 42397  	// NamespaceErrorTypeInternalServiceError is a NamespaceErrorType enum value
 42398  	NamespaceErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR"
 42399  )
 42400  
 42401  // NamespaceErrorType_Values returns all elements of the NamespaceErrorType enum
 42402  func NamespaceErrorType_Values() []string {
 42403  	return []string{
 42404  		NamespaceErrorTypePermissionDenied,
 42405  		NamespaceErrorTypeInternalServiceError,
 42406  	}
 42407  }
 42408  
 42409  const (
 42410  	// NamespaceStatusCreated is a NamespaceStatus enum value
 42411  	NamespaceStatusCreated = "CREATED"
 42412  
 42413  	// NamespaceStatusCreating is a NamespaceStatus enum value
 42414  	NamespaceStatusCreating = "CREATING"
 42415  
 42416  	// NamespaceStatusDeleting is a NamespaceStatus enum value
 42417  	NamespaceStatusDeleting = "DELETING"
 42418  
 42419  	// NamespaceStatusRetryableFailure is a NamespaceStatus enum value
 42420  	NamespaceStatusRetryableFailure = "RETRYABLE_FAILURE"
 42421  
 42422  	// NamespaceStatusNonRetryableFailure is a NamespaceStatus enum value
 42423  	NamespaceStatusNonRetryableFailure = "NON_RETRYABLE_FAILURE"
 42424  )
 42425  
 42426  // NamespaceStatus_Values returns all elements of the NamespaceStatus enum
 42427  func NamespaceStatus_Values() []string {
 42428  	return []string{
 42429  		NamespaceStatusCreated,
 42430  		NamespaceStatusCreating,
 42431  		NamespaceStatusDeleting,
 42432  		NamespaceStatusRetryableFailure,
 42433  		NamespaceStatusNonRetryableFailure,
 42434  	}
 42435  }
 42436  
 42437  const (
 42438  	// ResourceStatusCreationInProgress is a ResourceStatus enum value
 42439  	ResourceStatusCreationInProgress = "CREATION_IN_PROGRESS"
 42440  
 42441  	// ResourceStatusCreationSuccessful is a ResourceStatus enum value
 42442  	ResourceStatusCreationSuccessful = "CREATION_SUCCESSFUL"
 42443  
 42444  	// ResourceStatusCreationFailed is a ResourceStatus enum value
 42445  	ResourceStatusCreationFailed = "CREATION_FAILED"
 42446  
 42447  	// ResourceStatusUpdateInProgress is a ResourceStatus enum value
 42448  	ResourceStatusUpdateInProgress = "UPDATE_IN_PROGRESS"
 42449  
 42450  	// ResourceStatusUpdateSuccessful is a ResourceStatus enum value
 42451  	ResourceStatusUpdateSuccessful = "UPDATE_SUCCESSFUL"
 42452  
 42453  	// ResourceStatusUpdateFailed is a ResourceStatus enum value
 42454  	ResourceStatusUpdateFailed = "UPDATE_FAILED"
 42455  
 42456  	// ResourceStatusDeleted is a ResourceStatus enum value
 42457  	ResourceStatusDeleted = "DELETED"
 42458  )
 42459  
 42460  // ResourceStatus_Values returns all elements of the ResourceStatus enum
 42461  func ResourceStatus_Values() []string {
 42462  	return []string{
 42463  		ResourceStatusCreationInProgress,
 42464  		ResourceStatusCreationSuccessful,
 42465  		ResourceStatusCreationFailed,
 42466  		ResourceStatusUpdateInProgress,
 42467  		ResourceStatusUpdateSuccessful,
 42468  		ResourceStatusUpdateFailed,
 42469  		ResourceStatusDeleted,
 42470  	}
 42471  }
 42472  
 42473  const (
 42474  	// RowLevelPermissionFormatVersionVersion1 is a RowLevelPermissionFormatVersion enum value
 42475  	RowLevelPermissionFormatVersionVersion1 = "VERSION_1"
 42476  
 42477  	// RowLevelPermissionFormatVersionVersion2 is a RowLevelPermissionFormatVersion enum value
 42478  	RowLevelPermissionFormatVersionVersion2 = "VERSION_2"
 42479  )
 42480  
 42481  // RowLevelPermissionFormatVersion_Values returns all elements of the RowLevelPermissionFormatVersion enum
 42482  func RowLevelPermissionFormatVersion_Values() []string {
 42483  	return []string{
 42484  		RowLevelPermissionFormatVersionVersion1,
 42485  		RowLevelPermissionFormatVersionVersion2,
 42486  	}
 42487  }
 42488  
 42489  const (
 42490  	// RowLevelPermissionPolicyGrantAccess is a RowLevelPermissionPolicy enum value
 42491  	RowLevelPermissionPolicyGrantAccess = "GRANT_ACCESS"
 42492  
 42493  	// RowLevelPermissionPolicyDenyAccess is a RowLevelPermissionPolicy enum value
 42494  	RowLevelPermissionPolicyDenyAccess = "DENY_ACCESS"
 42495  )
 42496  
 42497  // RowLevelPermissionPolicy_Values returns all elements of the RowLevelPermissionPolicy enum
 42498  func RowLevelPermissionPolicy_Values() []string {
 42499  	return []string{
 42500  		RowLevelPermissionPolicyGrantAccess,
 42501  		RowLevelPermissionPolicyDenyAccess,
 42502  	}
 42503  }
 42504  
 42505  const (
 42506  	// StatusEnabled is a Status enum value
 42507  	StatusEnabled = "ENABLED"
 42508  
 42509  	// StatusDisabled is a Status enum value
 42510  	StatusDisabled = "DISABLED"
 42511  )
 42512  
 42513  // Status_Values returns all elements of the Status enum
 42514  func Status_Values() []string {
 42515  	return []string{
 42516  		StatusEnabled,
 42517  		StatusDisabled,
 42518  	}
 42519  }
 42520  
 42521  const (
 42522  	// TemplateErrorTypeSourceNotFound is a TemplateErrorType enum value
 42523  	TemplateErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
 42524  
 42525  	// TemplateErrorTypeDataSetNotFound is a TemplateErrorType enum value
 42526  	TemplateErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
 42527  
 42528  	// TemplateErrorTypeInternalFailure is a TemplateErrorType enum value
 42529  	TemplateErrorTypeInternalFailure = "INTERNAL_FAILURE"
 42530  
 42531  	// TemplateErrorTypeAccessDenied is a TemplateErrorType enum value
 42532  	TemplateErrorTypeAccessDenied = "ACCESS_DENIED"
 42533  )
 42534  
 42535  // TemplateErrorType_Values returns all elements of the TemplateErrorType enum
 42536  func TemplateErrorType_Values() []string {
 42537  	return []string{
 42538  		TemplateErrorTypeSourceNotFound,
 42539  		TemplateErrorTypeDataSetNotFound,
 42540  		TemplateErrorTypeInternalFailure,
 42541  		TemplateErrorTypeAccessDenied,
 42542  	}
 42543  }
 42544  
 42545  const (
 42546  	// TextQualifierDoubleQuote is a TextQualifier enum value
 42547  	TextQualifierDoubleQuote = "DOUBLE_QUOTE"
 42548  
 42549  	// TextQualifierSingleQuote is a TextQualifier enum value
 42550  	TextQualifierSingleQuote = "SINGLE_QUOTE"
 42551  )
 42552  
 42553  // TextQualifier_Values returns all elements of the TextQualifier enum
 42554  func TextQualifier_Values() []string {
 42555  	return []string{
 42556  		TextQualifierDoubleQuote,
 42557  		TextQualifierSingleQuote,
 42558  	}
 42559  }
 42560  
 42561  const (
 42562  	// ThemeErrorTypeInternalFailure is a ThemeErrorType enum value
 42563  	ThemeErrorTypeInternalFailure = "INTERNAL_FAILURE"
 42564  )
 42565  
 42566  // ThemeErrorType_Values returns all elements of the ThemeErrorType enum
 42567  func ThemeErrorType_Values() []string {
 42568  	return []string{
 42569  		ThemeErrorTypeInternalFailure,
 42570  	}
 42571  }
 42572  
 42573  const (
 42574  	// ThemeTypeQuicksight is a ThemeType enum value
 42575  	ThemeTypeQuicksight = "QUICKSIGHT"
 42576  
 42577  	// ThemeTypeCustom is a ThemeType enum value
 42578  	ThemeTypeCustom = "CUSTOM"
 42579  
 42580  	// ThemeTypeAll is a ThemeType enum value
 42581  	ThemeTypeAll = "ALL"
 42582  )
 42583  
 42584  // ThemeType_Values returns all elements of the ThemeType enum
 42585  func ThemeType_Values() []string {
 42586  	return []string{
 42587  		ThemeTypeQuicksight,
 42588  		ThemeTypeCustom,
 42589  		ThemeTypeAll,
 42590  	}
 42591  }
 42592  
 42593  const (
 42594  	// UserRoleAdmin is a UserRole enum value
 42595  	UserRoleAdmin = "ADMIN"
 42596  
 42597  	// UserRoleAuthor is a UserRole enum value
 42598  	UserRoleAuthor = "AUTHOR"
 42599  
 42600  	// UserRoleReader is a UserRole enum value
 42601  	UserRoleReader = "READER"
 42602  
 42603  	// UserRoleRestrictedAuthor is a UserRole enum value
 42604  	UserRoleRestrictedAuthor = "RESTRICTED_AUTHOR"
 42605  
 42606  	// UserRoleRestrictedReader is a UserRole enum value
 42607  	UserRoleRestrictedReader = "RESTRICTED_READER"
 42608  )
 42609  
 42610  // UserRole_Values returns all elements of the UserRole enum
 42611  func UserRole_Values() []string {
 42612  	return []string{
 42613  		UserRoleAdmin,
 42614  		UserRoleAuthor,
 42615  		UserRoleReader,
 42616  		UserRoleRestrictedAuthor,
 42617  		UserRoleRestrictedReader,
 42618  	}
 42619  }