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

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package honeycode
     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 opBatchCreateTableRows = "BatchCreateTableRows"
    16  
    17  // BatchCreateTableRowsRequest generates a "aws/request.Request" representing the
    18  // client's request for the BatchCreateTableRows 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 BatchCreateTableRows for more information on using the BatchCreateTableRows
    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 BatchCreateTableRowsRequest method.
    33  //    req, resp := client.BatchCreateTableRowsRequest(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/honeycode-2020-03-01/BatchCreateTableRows
    41  func (c *Honeycode) BatchCreateTableRowsRequest(input *BatchCreateTableRowsInput) (req *request.Request, output *BatchCreateTableRowsOutput) {
    42  	op := &request.Operation{
    43  		Name:       opBatchCreateTableRows,
    44  		HTTPMethod: "POST",
    45  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/rows/batchcreate",
    46  	}
    47  
    48  	if input == nil {
    49  		input = &BatchCreateTableRowsInput{}
    50  	}
    51  
    52  	output = &BatchCreateTableRowsOutput{}
    53  	req = c.newRequest(op, input, output)
    54  	return
    55  }
    56  
    57  // BatchCreateTableRows API operation for Amazon Honeycode.
    58  //
    59  // The BatchCreateTableRows API allows you to create one or more rows at the
    60  // end of a table in a workbook. The API allows you to specify the values to
    61  // set in some or all of the columns in the new rows.
    62  //
    63  // If a column is not explicitly set in a specific row, then the column level
    64  // formula specified in the table will be applied to the new row. If there is
    65  // no column level formula but the last row of the table has a formula, then
    66  // that formula will be copied down to the new row. If there is no column level
    67  // formula and no formula in the last row of the table, then that column will
    68  // be left blank for the new rows.
    69  //
    70  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
    71  // with awserr.Error's Code and Message methods to get detailed information about
    72  // the error.
    73  //
    74  // See the AWS API reference guide for Amazon Honeycode's
    75  // API operation BatchCreateTableRows for usage and error information.
    76  //
    77  // Returned Error Types:
    78  //   * AccessDeniedException
    79  //   You do not have sufficient access to perform this action. Check that the
    80  //   workbook is owned by you and your IAM policy allows access to the resource
    81  //   in the request.
    82  //
    83  //   * InternalServerException
    84  //   There were unexpected errors from the server.
    85  //
    86  //   * RequestTimeoutException
    87  //   The request timed out.
    88  //
    89  //   * ResourceNotFoundException
    90  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
    91  //   given ID.
    92  //
    93  //   * ServiceQuotaExceededException
    94  //   The request caused service quota to be breached.
    95  //
    96  //   * ServiceUnavailableException
    97  //   Remote service is unreachable.
    98  //
    99  //   * ThrottlingException
   100  //   Tps(transactions per second) rate reached.
   101  //
   102  //   * ValidationException
   103  //   Request is invalid. The message in the response contains details on why the
   104  //   request is invalid.
   105  //
   106  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchCreateTableRows
   107  func (c *Honeycode) BatchCreateTableRows(input *BatchCreateTableRowsInput) (*BatchCreateTableRowsOutput, error) {
   108  	req, out := c.BatchCreateTableRowsRequest(input)
   109  	return out, req.Send()
   110  }
   111  
   112  // BatchCreateTableRowsWithContext is the same as BatchCreateTableRows with the addition of
   113  // the ability to pass a context and additional request options.
   114  //
   115  // See BatchCreateTableRows for details on how to use this API operation.
   116  //
   117  // The context must be non-nil and will be used for request cancellation. If
   118  // the context is nil a panic will occur. In the future the SDK may create
   119  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   120  // for more information on using Contexts.
   121  func (c *Honeycode) BatchCreateTableRowsWithContext(ctx aws.Context, input *BatchCreateTableRowsInput, opts ...request.Option) (*BatchCreateTableRowsOutput, error) {
   122  	req, out := c.BatchCreateTableRowsRequest(input)
   123  	req.SetContext(ctx)
   124  	req.ApplyOptions(opts...)
   125  	return out, req.Send()
   126  }
   127  
   128  const opBatchDeleteTableRows = "BatchDeleteTableRows"
   129  
   130  // BatchDeleteTableRowsRequest generates a "aws/request.Request" representing the
   131  // client's request for the BatchDeleteTableRows operation. The "output" return
   132  // value will be populated with the request's response once the request completes
   133  // successfully.
   134  //
   135  // Use "Send" method on the returned Request to send the API call to the service.
   136  // the "output" return value is not valid until after Send returns without error.
   137  //
   138  // See BatchDeleteTableRows for more information on using the BatchDeleteTableRows
   139  // API call, and error handling.
   140  //
   141  // This method is useful when you want to inject custom logic or configuration
   142  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   143  //
   144  //
   145  //    // Example sending a request using the BatchDeleteTableRowsRequest method.
   146  //    req, resp := client.BatchDeleteTableRowsRequest(params)
   147  //
   148  //    err := req.Send()
   149  //    if err == nil { // resp is now filled
   150  //        fmt.Println(resp)
   151  //    }
   152  //
   153  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchDeleteTableRows
   154  func (c *Honeycode) BatchDeleteTableRowsRequest(input *BatchDeleteTableRowsInput) (req *request.Request, output *BatchDeleteTableRowsOutput) {
   155  	op := &request.Operation{
   156  		Name:       opBatchDeleteTableRows,
   157  		HTTPMethod: "POST",
   158  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/rows/batchdelete",
   159  	}
   160  
   161  	if input == nil {
   162  		input = &BatchDeleteTableRowsInput{}
   163  	}
   164  
   165  	output = &BatchDeleteTableRowsOutput{}
   166  	req = c.newRequest(op, input, output)
   167  	return
   168  }
   169  
   170  // BatchDeleteTableRows API operation for Amazon Honeycode.
   171  //
   172  // The BatchDeleteTableRows API allows you to delete one or more rows from a
   173  // table in a workbook. You need to specify the ids of the rows that you want
   174  // to delete from the table.
   175  //
   176  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   177  // with awserr.Error's Code and Message methods to get detailed information about
   178  // the error.
   179  //
   180  // See the AWS API reference guide for Amazon Honeycode's
   181  // API operation BatchDeleteTableRows for usage and error information.
   182  //
   183  // Returned Error Types:
   184  //   * AccessDeniedException
   185  //   You do not have sufficient access to perform this action. Check that the
   186  //   workbook is owned by you and your IAM policy allows access to the resource
   187  //   in the request.
   188  //
   189  //   * InternalServerException
   190  //   There were unexpected errors from the server.
   191  //
   192  //   * ResourceNotFoundException
   193  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
   194  //   given ID.
   195  //
   196  //   * ServiceUnavailableException
   197  //   Remote service is unreachable.
   198  //
   199  //   * ValidationException
   200  //   Request is invalid. The message in the response contains details on why the
   201  //   request is invalid.
   202  //
   203  //   * RequestTimeoutException
   204  //   The request timed out.
   205  //
   206  //   * ThrottlingException
   207  //   Tps(transactions per second) rate reached.
   208  //
   209  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchDeleteTableRows
   210  func (c *Honeycode) BatchDeleteTableRows(input *BatchDeleteTableRowsInput) (*BatchDeleteTableRowsOutput, error) {
   211  	req, out := c.BatchDeleteTableRowsRequest(input)
   212  	return out, req.Send()
   213  }
   214  
   215  // BatchDeleteTableRowsWithContext is the same as BatchDeleteTableRows with the addition of
   216  // the ability to pass a context and additional request options.
   217  //
   218  // See BatchDeleteTableRows for details on how to use this API operation.
   219  //
   220  // The context must be non-nil and will be used for request cancellation. If
   221  // the context is nil a panic will occur. In the future the SDK may create
   222  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   223  // for more information on using Contexts.
   224  func (c *Honeycode) BatchDeleteTableRowsWithContext(ctx aws.Context, input *BatchDeleteTableRowsInput, opts ...request.Option) (*BatchDeleteTableRowsOutput, error) {
   225  	req, out := c.BatchDeleteTableRowsRequest(input)
   226  	req.SetContext(ctx)
   227  	req.ApplyOptions(opts...)
   228  	return out, req.Send()
   229  }
   230  
   231  const opBatchUpdateTableRows = "BatchUpdateTableRows"
   232  
   233  // BatchUpdateTableRowsRequest generates a "aws/request.Request" representing the
   234  // client's request for the BatchUpdateTableRows operation. The "output" return
   235  // value will be populated with the request's response once the request completes
   236  // successfully.
   237  //
   238  // Use "Send" method on the returned Request to send the API call to the service.
   239  // the "output" return value is not valid until after Send returns without error.
   240  //
   241  // See BatchUpdateTableRows for more information on using the BatchUpdateTableRows
   242  // API call, and error handling.
   243  //
   244  // This method is useful when you want to inject custom logic or configuration
   245  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   246  //
   247  //
   248  //    // Example sending a request using the BatchUpdateTableRowsRequest method.
   249  //    req, resp := client.BatchUpdateTableRowsRequest(params)
   250  //
   251  //    err := req.Send()
   252  //    if err == nil { // resp is now filled
   253  //        fmt.Println(resp)
   254  //    }
   255  //
   256  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpdateTableRows
   257  func (c *Honeycode) BatchUpdateTableRowsRequest(input *BatchUpdateTableRowsInput) (req *request.Request, output *BatchUpdateTableRowsOutput) {
   258  	op := &request.Operation{
   259  		Name:       opBatchUpdateTableRows,
   260  		HTTPMethod: "POST",
   261  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/rows/batchupdate",
   262  	}
   263  
   264  	if input == nil {
   265  		input = &BatchUpdateTableRowsInput{}
   266  	}
   267  
   268  	output = &BatchUpdateTableRowsOutput{}
   269  	req = c.newRequest(op, input, output)
   270  	return
   271  }
   272  
   273  // BatchUpdateTableRows API operation for Amazon Honeycode.
   274  //
   275  // The BatchUpdateTableRows API allows you to update one or more rows in a table
   276  // in a workbook.
   277  //
   278  // You can specify the values to set in some or all of the columns in the table
   279  // for the specified rows. If a column is not explicitly specified in a particular
   280  // row, then that column will not be updated for that row. To clear out the
   281  // data in a specific cell, you need to set the value as an empty string ("").
   282  //
   283  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   284  // with awserr.Error's Code and Message methods to get detailed information about
   285  // the error.
   286  //
   287  // See the AWS API reference guide for Amazon Honeycode's
   288  // API operation BatchUpdateTableRows for usage and error information.
   289  //
   290  // Returned Error Types:
   291  //   * AccessDeniedException
   292  //   You do not have sufficient access to perform this action. Check that the
   293  //   workbook is owned by you and your IAM policy allows access to the resource
   294  //   in the request.
   295  //
   296  //   * InternalServerException
   297  //   There were unexpected errors from the server.
   298  //
   299  //   * ResourceNotFoundException
   300  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
   301  //   given ID.
   302  //
   303  //   * ServiceUnavailableException
   304  //   Remote service is unreachable.
   305  //
   306  //   * ValidationException
   307  //   Request is invalid. The message in the response contains details on why the
   308  //   request is invalid.
   309  //
   310  //   * RequestTimeoutException
   311  //   The request timed out.
   312  //
   313  //   * ThrottlingException
   314  //   Tps(transactions per second) rate reached.
   315  //
   316  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpdateTableRows
   317  func (c *Honeycode) BatchUpdateTableRows(input *BatchUpdateTableRowsInput) (*BatchUpdateTableRowsOutput, error) {
   318  	req, out := c.BatchUpdateTableRowsRequest(input)
   319  	return out, req.Send()
   320  }
   321  
   322  // BatchUpdateTableRowsWithContext is the same as BatchUpdateTableRows with the addition of
   323  // the ability to pass a context and additional request options.
   324  //
   325  // See BatchUpdateTableRows for details on how to use this API operation.
   326  //
   327  // The context must be non-nil and will be used for request cancellation. If
   328  // the context is nil a panic will occur. In the future the SDK may create
   329  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   330  // for more information on using Contexts.
   331  func (c *Honeycode) BatchUpdateTableRowsWithContext(ctx aws.Context, input *BatchUpdateTableRowsInput, opts ...request.Option) (*BatchUpdateTableRowsOutput, error) {
   332  	req, out := c.BatchUpdateTableRowsRequest(input)
   333  	req.SetContext(ctx)
   334  	req.ApplyOptions(opts...)
   335  	return out, req.Send()
   336  }
   337  
   338  const opBatchUpsertTableRows = "BatchUpsertTableRows"
   339  
   340  // BatchUpsertTableRowsRequest generates a "aws/request.Request" representing the
   341  // client's request for the BatchUpsertTableRows operation. The "output" return
   342  // value will be populated with the request's response once the request completes
   343  // successfully.
   344  //
   345  // Use "Send" method on the returned Request to send the API call to the service.
   346  // the "output" return value is not valid until after Send returns without error.
   347  //
   348  // See BatchUpsertTableRows for more information on using the BatchUpsertTableRows
   349  // API call, and error handling.
   350  //
   351  // This method is useful when you want to inject custom logic or configuration
   352  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   353  //
   354  //
   355  //    // Example sending a request using the BatchUpsertTableRowsRequest method.
   356  //    req, resp := client.BatchUpsertTableRowsRequest(params)
   357  //
   358  //    err := req.Send()
   359  //    if err == nil { // resp is now filled
   360  //        fmt.Println(resp)
   361  //    }
   362  //
   363  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpsertTableRows
   364  func (c *Honeycode) BatchUpsertTableRowsRequest(input *BatchUpsertTableRowsInput) (req *request.Request, output *BatchUpsertTableRowsOutput) {
   365  	op := &request.Operation{
   366  		Name:       opBatchUpsertTableRows,
   367  		HTTPMethod: "POST",
   368  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/rows/batchupsert",
   369  	}
   370  
   371  	if input == nil {
   372  		input = &BatchUpsertTableRowsInput{}
   373  	}
   374  
   375  	output = &BatchUpsertTableRowsOutput{}
   376  	req = c.newRequest(op, input, output)
   377  	return
   378  }
   379  
   380  // BatchUpsertTableRows API operation for Amazon Honeycode.
   381  //
   382  // The BatchUpsertTableRows API allows you to upsert one or more rows in a table.
   383  // The upsert operation takes a filter expression as input and evaluates it
   384  // to find matching rows on the destination table. If matching rows are found,
   385  // it will update the cells in the matching rows to new values specified in
   386  // the request. If no matching rows are found, a new row is added at the end
   387  // of the table and the cells in that row are set to the new values specified
   388  // in the request.
   389  //
   390  // You can specify the values to set in some or all of the columns in the table
   391  // for the matching or newly appended rows. If a column is not explicitly specified
   392  // for a particular row, then that column will not be updated for that row.
   393  // To clear out the data in a specific cell, you need to set the value as an
   394  // empty string ("").
   395  //
   396  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   397  // with awserr.Error's Code and Message methods to get detailed information about
   398  // the error.
   399  //
   400  // See the AWS API reference guide for Amazon Honeycode's
   401  // API operation BatchUpsertTableRows for usage and error information.
   402  //
   403  // Returned Error Types:
   404  //   * AccessDeniedException
   405  //   You do not have sufficient access to perform this action. Check that the
   406  //   workbook is owned by you and your IAM policy allows access to the resource
   407  //   in the request.
   408  //
   409  //   * InternalServerException
   410  //   There were unexpected errors from the server.
   411  //
   412  //   * RequestTimeoutException
   413  //   The request timed out.
   414  //
   415  //   * ResourceNotFoundException
   416  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
   417  //   given ID.
   418  //
   419  //   * ServiceQuotaExceededException
   420  //   The request caused service quota to be breached.
   421  //
   422  //   * ServiceUnavailableException
   423  //   Remote service is unreachable.
   424  //
   425  //   * ThrottlingException
   426  //   Tps(transactions per second) rate reached.
   427  //
   428  //   * ValidationException
   429  //   Request is invalid. The message in the response contains details on why the
   430  //   request is invalid.
   431  //
   432  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpsertTableRows
   433  func (c *Honeycode) BatchUpsertTableRows(input *BatchUpsertTableRowsInput) (*BatchUpsertTableRowsOutput, error) {
   434  	req, out := c.BatchUpsertTableRowsRequest(input)
   435  	return out, req.Send()
   436  }
   437  
   438  // BatchUpsertTableRowsWithContext is the same as BatchUpsertTableRows with the addition of
   439  // the ability to pass a context and additional request options.
   440  //
   441  // See BatchUpsertTableRows for details on how to use this API operation.
   442  //
   443  // The context must be non-nil and will be used for request cancellation. If
   444  // the context is nil a panic will occur. In the future the SDK may create
   445  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   446  // for more information on using Contexts.
   447  func (c *Honeycode) BatchUpsertTableRowsWithContext(ctx aws.Context, input *BatchUpsertTableRowsInput, opts ...request.Option) (*BatchUpsertTableRowsOutput, error) {
   448  	req, out := c.BatchUpsertTableRowsRequest(input)
   449  	req.SetContext(ctx)
   450  	req.ApplyOptions(opts...)
   451  	return out, req.Send()
   452  }
   453  
   454  const opDescribeTableDataImportJob = "DescribeTableDataImportJob"
   455  
   456  // DescribeTableDataImportJobRequest generates a "aws/request.Request" representing the
   457  // client's request for the DescribeTableDataImportJob operation. The "output" return
   458  // value will be populated with the request's response once the request completes
   459  // successfully.
   460  //
   461  // Use "Send" method on the returned Request to send the API call to the service.
   462  // the "output" return value is not valid until after Send returns without error.
   463  //
   464  // See DescribeTableDataImportJob for more information on using the DescribeTableDataImportJob
   465  // API call, and error handling.
   466  //
   467  // This method is useful when you want to inject custom logic or configuration
   468  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   469  //
   470  //
   471  //    // Example sending a request using the DescribeTableDataImportJobRequest method.
   472  //    req, resp := client.DescribeTableDataImportJobRequest(params)
   473  //
   474  //    err := req.Send()
   475  //    if err == nil { // resp is now filled
   476  //        fmt.Println(resp)
   477  //    }
   478  //
   479  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/DescribeTableDataImportJob
   480  func (c *Honeycode) DescribeTableDataImportJobRequest(input *DescribeTableDataImportJobInput) (req *request.Request, output *DescribeTableDataImportJobOutput) {
   481  	op := &request.Operation{
   482  		Name:       opDescribeTableDataImportJob,
   483  		HTTPMethod: "GET",
   484  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/import/{jobId}",
   485  	}
   486  
   487  	if input == nil {
   488  		input = &DescribeTableDataImportJobInput{}
   489  	}
   490  
   491  	output = &DescribeTableDataImportJobOutput{}
   492  	req = c.newRequest(op, input, output)
   493  	return
   494  }
   495  
   496  // DescribeTableDataImportJob API operation for Amazon Honeycode.
   497  //
   498  // The DescribeTableDataImportJob API allows you to retrieve the status and
   499  // details of a table data import job.
   500  //
   501  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   502  // with awserr.Error's Code and Message methods to get detailed information about
   503  // the error.
   504  //
   505  // See the AWS API reference guide for Amazon Honeycode's
   506  // API operation DescribeTableDataImportJob for usage and error information.
   507  //
   508  // Returned Error Types:
   509  //   * AccessDeniedException
   510  //   You do not have sufficient access to perform this action. Check that the
   511  //   workbook is owned by you and your IAM policy allows access to the resource
   512  //   in the request.
   513  //
   514  //   * InternalServerException
   515  //   There were unexpected errors from the server.
   516  //
   517  //   * ResourceNotFoundException
   518  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
   519  //   given ID.
   520  //
   521  //   * ServiceUnavailableException
   522  //   Remote service is unreachable.
   523  //
   524  //   * ThrottlingException
   525  //   Tps(transactions per second) rate reached.
   526  //
   527  //   * ValidationException
   528  //   Request is invalid. The message in the response contains details on why the
   529  //   request is invalid.
   530  //
   531  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/DescribeTableDataImportJob
   532  func (c *Honeycode) DescribeTableDataImportJob(input *DescribeTableDataImportJobInput) (*DescribeTableDataImportJobOutput, error) {
   533  	req, out := c.DescribeTableDataImportJobRequest(input)
   534  	return out, req.Send()
   535  }
   536  
   537  // DescribeTableDataImportJobWithContext is the same as DescribeTableDataImportJob with the addition of
   538  // the ability to pass a context and additional request options.
   539  //
   540  // See DescribeTableDataImportJob for details on how to use this API operation.
   541  //
   542  // The context must be non-nil and will be used for request cancellation. If
   543  // the context is nil a panic will occur. In the future the SDK may create
   544  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   545  // for more information on using Contexts.
   546  func (c *Honeycode) DescribeTableDataImportJobWithContext(ctx aws.Context, input *DescribeTableDataImportJobInput, opts ...request.Option) (*DescribeTableDataImportJobOutput, error) {
   547  	req, out := c.DescribeTableDataImportJobRequest(input)
   548  	req.SetContext(ctx)
   549  	req.ApplyOptions(opts...)
   550  	return out, req.Send()
   551  }
   552  
   553  const opGetScreenData = "GetScreenData"
   554  
   555  // GetScreenDataRequest generates a "aws/request.Request" representing the
   556  // client's request for the GetScreenData operation. The "output" return
   557  // value will be populated with the request's response once the request completes
   558  // successfully.
   559  //
   560  // Use "Send" method on the returned Request to send the API call to the service.
   561  // the "output" return value is not valid until after Send returns without error.
   562  //
   563  // See GetScreenData for more information on using the GetScreenData
   564  // API call, and error handling.
   565  //
   566  // This method is useful when you want to inject custom logic or configuration
   567  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   568  //
   569  //
   570  //    // Example sending a request using the GetScreenDataRequest method.
   571  //    req, resp := client.GetScreenDataRequest(params)
   572  //
   573  //    err := req.Send()
   574  //    if err == nil { // resp is now filled
   575  //        fmt.Println(resp)
   576  //    }
   577  //
   578  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/GetScreenData
   579  func (c *Honeycode) GetScreenDataRequest(input *GetScreenDataInput) (req *request.Request, output *GetScreenDataOutput) {
   580  	op := &request.Operation{
   581  		Name:       opGetScreenData,
   582  		HTTPMethod: "POST",
   583  		HTTPPath:   "/screendata",
   584  	}
   585  
   586  	if input == nil {
   587  		input = &GetScreenDataInput{}
   588  	}
   589  
   590  	output = &GetScreenDataOutput{}
   591  	req = c.newRequest(op, input, output)
   592  	return
   593  }
   594  
   595  // GetScreenData API operation for Amazon Honeycode.
   596  //
   597  // The GetScreenData API allows retrieval of data from a screen in a Honeycode
   598  // app. The API allows setting local variables in the screen to filter, sort
   599  // or otherwise affect what will be displayed on the screen.
   600  //
   601  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   602  // with awserr.Error's Code and Message methods to get detailed information about
   603  // the error.
   604  //
   605  // See the AWS API reference guide for Amazon Honeycode's
   606  // API operation GetScreenData for usage and error information.
   607  //
   608  // Returned Error Types:
   609  //   * AccessDeniedException
   610  //   You do not have sufficient access to perform this action. Check that the
   611  //   workbook is owned by you and your IAM policy allows access to the resource
   612  //   in the request.
   613  //
   614  //   * InternalServerException
   615  //   There were unexpected errors from the server.
   616  //
   617  //   * RequestTimeoutException
   618  //   The request timed out.
   619  //
   620  //   * ResourceNotFoundException
   621  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
   622  //   given ID.
   623  //
   624  //   * ServiceUnavailableException
   625  //   Remote service is unreachable.
   626  //
   627  //   * ThrottlingException
   628  //   Tps(transactions per second) rate reached.
   629  //
   630  //   * ValidationException
   631  //   Request is invalid. The message in the response contains details on why the
   632  //   request is invalid.
   633  //
   634  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/GetScreenData
   635  func (c *Honeycode) GetScreenData(input *GetScreenDataInput) (*GetScreenDataOutput, error) {
   636  	req, out := c.GetScreenDataRequest(input)
   637  	return out, req.Send()
   638  }
   639  
   640  // GetScreenDataWithContext is the same as GetScreenData with the addition of
   641  // the ability to pass a context and additional request options.
   642  //
   643  // See GetScreenData for details on how to use this API operation.
   644  //
   645  // The context must be non-nil and will be used for request cancellation. If
   646  // the context is nil a panic will occur. In the future the SDK may create
   647  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   648  // for more information on using Contexts.
   649  func (c *Honeycode) GetScreenDataWithContext(ctx aws.Context, input *GetScreenDataInput, opts ...request.Option) (*GetScreenDataOutput, error) {
   650  	req, out := c.GetScreenDataRequest(input)
   651  	req.SetContext(ctx)
   652  	req.ApplyOptions(opts...)
   653  	return out, req.Send()
   654  }
   655  
   656  const opInvokeScreenAutomation = "InvokeScreenAutomation"
   657  
   658  // InvokeScreenAutomationRequest generates a "aws/request.Request" representing the
   659  // client's request for the InvokeScreenAutomation operation. The "output" return
   660  // value will be populated with the request's response once the request completes
   661  // successfully.
   662  //
   663  // Use "Send" method on the returned Request to send the API call to the service.
   664  // the "output" return value is not valid until after Send returns without error.
   665  //
   666  // See InvokeScreenAutomation for more information on using the InvokeScreenAutomation
   667  // API call, and error handling.
   668  //
   669  // This method is useful when you want to inject custom logic or configuration
   670  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   671  //
   672  //
   673  //    // Example sending a request using the InvokeScreenAutomationRequest method.
   674  //    req, resp := client.InvokeScreenAutomationRequest(params)
   675  //
   676  //    err := req.Send()
   677  //    if err == nil { // resp is now filled
   678  //        fmt.Println(resp)
   679  //    }
   680  //
   681  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/InvokeScreenAutomation
   682  func (c *Honeycode) InvokeScreenAutomationRequest(input *InvokeScreenAutomationInput) (req *request.Request, output *InvokeScreenAutomationOutput) {
   683  	op := &request.Operation{
   684  		Name:       opInvokeScreenAutomation,
   685  		HTTPMethod: "POST",
   686  		HTTPPath:   "/workbooks/{workbookId}/apps/{appId}/screens/{screenId}/automations/{automationId}",
   687  	}
   688  
   689  	if input == nil {
   690  		input = &InvokeScreenAutomationInput{}
   691  	}
   692  
   693  	output = &InvokeScreenAutomationOutput{}
   694  	req = c.newRequest(op, input, output)
   695  	return
   696  }
   697  
   698  // InvokeScreenAutomation API operation for Amazon Honeycode.
   699  //
   700  // The InvokeScreenAutomation API allows invoking an action defined in a screen
   701  // in a Honeycode app. The API allows setting local variables, which can then
   702  // be used in the automation being invoked. This allows automating the Honeycode
   703  // app interactions to write, update or delete data in the workbook.
   704  //
   705  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   706  // with awserr.Error's Code and Message methods to get detailed information about
   707  // the error.
   708  //
   709  // See the AWS API reference guide for Amazon Honeycode's
   710  // API operation InvokeScreenAutomation for usage and error information.
   711  //
   712  // Returned Error Types:
   713  //   * AccessDeniedException
   714  //   You do not have sufficient access to perform this action. Check that the
   715  //   workbook is owned by you and your IAM policy allows access to the resource
   716  //   in the request.
   717  //
   718  //   * InternalServerException
   719  //   There were unexpected errors from the server.
   720  //
   721  //   * ResourceNotFoundException
   722  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
   723  //   given ID.
   724  //
   725  //   * ValidationException
   726  //   Request is invalid. The message in the response contains details on why the
   727  //   request is invalid.
   728  //
   729  //   * ThrottlingException
   730  //   Tps(transactions per second) rate reached.
   731  //
   732  //   * ServiceUnavailableException
   733  //   Remote service is unreachable.
   734  //
   735  //   * AutomationExecutionException
   736  //   The automation execution did not end successfully.
   737  //
   738  //   * AutomationExecutionTimeoutException
   739  //   The automation execution timed out.
   740  //
   741  //   * RequestTimeoutException
   742  //   The request timed out.
   743  //
   744  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/InvokeScreenAutomation
   745  func (c *Honeycode) InvokeScreenAutomation(input *InvokeScreenAutomationInput) (*InvokeScreenAutomationOutput, error) {
   746  	req, out := c.InvokeScreenAutomationRequest(input)
   747  	return out, req.Send()
   748  }
   749  
   750  // InvokeScreenAutomationWithContext is the same as InvokeScreenAutomation with the addition of
   751  // the ability to pass a context and additional request options.
   752  //
   753  // See InvokeScreenAutomation for details on how to use this API operation.
   754  //
   755  // The context must be non-nil and will be used for request cancellation. If
   756  // the context is nil a panic will occur. In the future the SDK may create
   757  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   758  // for more information on using Contexts.
   759  func (c *Honeycode) InvokeScreenAutomationWithContext(ctx aws.Context, input *InvokeScreenAutomationInput, opts ...request.Option) (*InvokeScreenAutomationOutput, error) {
   760  	req, out := c.InvokeScreenAutomationRequest(input)
   761  	req.SetContext(ctx)
   762  	req.ApplyOptions(opts...)
   763  	return out, req.Send()
   764  }
   765  
   766  const opListTableColumns = "ListTableColumns"
   767  
   768  // ListTableColumnsRequest generates a "aws/request.Request" representing the
   769  // client's request for the ListTableColumns operation. The "output" return
   770  // value will be populated with the request's response once the request completes
   771  // successfully.
   772  //
   773  // Use "Send" method on the returned Request to send the API call to the service.
   774  // the "output" return value is not valid until after Send returns without error.
   775  //
   776  // See ListTableColumns for more information on using the ListTableColumns
   777  // API call, and error handling.
   778  //
   779  // This method is useful when you want to inject custom logic or configuration
   780  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   781  //
   782  //
   783  //    // Example sending a request using the ListTableColumnsRequest method.
   784  //    req, resp := client.ListTableColumnsRequest(params)
   785  //
   786  //    err := req.Send()
   787  //    if err == nil { // resp is now filled
   788  //        fmt.Println(resp)
   789  //    }
   790  //
   791  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableColumns
   792  func (c *Honeycode) ListTableColumnsRequest(input *ListTableColumnsInput) (req *request.Request, output *ListTableColumnsOutput) {
   793  	op := &request.Operation{
   794  		Name:       opListTableColumns,
   795  		HTTPMethod: "GET",
   796  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/columns",
   797  		Paginator: &request.Paginator{
   798  			InputTokens:     []string{"nextToken"},
   799  			OutputTokens:    []string{"nextToken"},
   800  			LimitToken:      "",
   801  			TruncationToken: "",
   802  		},
   803  	}
   804  
   805  	if input == nil {
   806  		input = &ListTableColumnsInput{}
   807  	}
   808  
   809  	output = &ListTableColumnsOutput{}
   810  	req = c.newRequest(op, input, output)
   811  	return
   812  }
   813  
   814  // ListTableColumns API operation for Amazon Honeycode.
   815  //
   816  // The ListTableColumns API allows you to retrieve a list of all the columns
   817  // in a table in a workbook.
   818  //
   819  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   820  // with awserr.Error's Code and Message methods to get detailed information about
   821  // the error.
   822  //
   823  // See the AWS API reference guide for Amazon Honeycode's
   824  // API operation ListTableColumns for usage and error information.
   825  //
   826  // Returned Error Types:
   827  //   * AccessDeniedException
   828  //   You do not have sufficient access to perform this action. Check that the
   829  //   workbook is owned by you and your IAM policy allows access to the resource
   830  //   in the request.
   831  //
   832  //   * InternalServerException
   833  //   There were unexpected errors from the server.
   834  //
   835  //   * RequestTimeoutException
   836  //   The request timed out.
   837  //
   838  //   * ResourceNotFoundException
   839  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
   840  //   given ID.
   841  //
   842  //   * ServiceUnavailableException
   843  //   Remote service is unreachable.
   844  //
   845  //   * ThrottlingException
   846  //   Tps(transactions per second) rate reached.
   847  //
   848  //   * ValidationException
   849  //   Request is invalid. The message in the response contains details on why the
   850  //   request is invalid.
   851  //
   852  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableColumns
   853  func (c *Honeycode) ListTableColumns(input *ListTableColumnsInput) (*ListTableColumnsOutput, error) {
   854  	req, out := c.ListTableColumnsRequest(input)
   855  	return out, req.Send()
   856  }
   857  
   858  // ListTableColumnsWithContext is the same as ListTableColumns with the addition of
   859  // the ability to pass a context and additional request options.
   860  //
   861  // See ListTableColumns for details on how to use this API operation.
   862  //
   863  // The context must be non-nil and will be used for request cancellation. If
   864  // the context is nil a panic will occur. In the future the SDK may create
   865  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   866  // for more information on using Contexts.
   867  func (c *Honeycode) ListTableColumnsWithContext(ctx aws.Context, input *ListTableColumnsInput, opts ...request.Option) (*ListTableColumnsOutput, error) {
   868  	req, out := c.ListTableColumnsRequest(input)
   869  	req.SetContext(ctx)
   870  	req.ApplyOptions(opts...)
   871  	return out, req.Send()
   872  }
   873  
   874  // ListTableColumnsPages iterates over the pages of a ListTableColumns operation,
   875  // calling the "fn" function with the response data for each page. To stop
   876  // iterating, return false from the fn function.
   877  //
   878  // See ListTableColumns method for more information on how to use this operation.
   879  //
   880  // Note: This operation can generate multiple requests to a service.
   881  //
   882  //    // Example iterating over at most 3 pages of a ListTableColumns operation.
   883  //    pageNum := 0
   884  //    err := client.ListTableColumnsPages(params,
   885  //        func(page *honeycode.ListTableColumnsOutput, lastPage bool) bool {
   886  //            pageNum++
   887  //            fmt.Println(page)
   888  //            return pageNum <= 3
   889  //        })
   890  //
   891  func (c *Honeycode) ListTableColumnsPages(input *ListTableColumnsInput, fn func(*ListTableColumnsOutput, bool) bool) error {
   892  	return c.ListTableColumnsPagesWithContext(aws.BackgroundContext(), input, fn)
   893  }
   894  
   895  // ListTableColumnsPagesWithContext same as ListTableColumnsPages except
   896  // it takes a Context and allows setting request options on the pages.
   897  //
   898  // The context must be non-nil and will be used for request cancellation. If
   899  // the context is nil a panic will occur. In the future the SDK may create
   900  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   901  // for more information on using Contexts.
   902  func (c *Honeycode) ListTableColumnsPagesWithContext(ctx aws.Context, input *ListTableColumnsInput, fn func(*ListTableColumnsOutput, bool) bool, opts ...request.Option) error {
   903  	p := request.Pagination{
   904  		NewRequest: func() (*request.Request, error) {
   905  			var inCpy *ListTableColumnsInput
   906  			if input != nil {
   907  				tmp := *input
   908  				inCpy = &tmp
   909  			}
   910  			req, _ := c.ListTableColumnsRequest(inCpy)
   911  			req.SetContext(ctx)
   912  			req.ApplyOptions(opts...)
   913  			return req, nil
   914  		},
   915  	}
   916  
   917  	for p.Next() {
   918  		if !fn(p.Page().(*ListTableColumnsOutput), !p.HasNextPage()) {
   919  			break
   920  		}
   921  	}
   922  
   923  	return p.Err()
   924  }
   925  
   926  const opListTableRows = "ListTableRows"
   927  
   928  // ListTableRowsRequest generates a "aws/request.Request" representing the
   929  // client's request for the ListTableRows operation. The "output" return
   930  // value will be populated with the request's response once the request completes
   931  // successfully.
   932  //
   933  // Use "Send" method on the returned Request to send the API call to the service.
   934  // the "output" return value is not valid until after Send returns without error.
   935  //
   936  // See ListTableRows for more information on using the ListTableRows
   937  // API call, and error handling.
   938  //
   939  // This method is useful when you want to inject custom logic or configuration
   940  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   941  //
   942  //
   943  //    // Example sending a request using the ListTableRowsRequest method.
   944  //    req, resp := client.ListTableRowsRequest(params)
   945  //
   946  //    err := req.Send()
   947  //    if err == nil { // resp is now filled
   948  //        fmt.Println(resp)
   949  //    }
   950  //
   951  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableRows
   952  func (c *Honeycode) ListTableRowsRequest(input *ListTableRowsInput) (req *request.Request, output *ListTableRowsOutput) {
   953  	op := &request.Operation{
   954  		Name:       opListTableRows,
   955  		HTTPMethod: "POST",
   956  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/rows/list",
   957  		Paginator: &request.Paginator{
   958  			InputTokens:     []string{"nextToken"},
   959  			OutputTokens:    []string{"nextToken"},
   960  			LimitToken:      "maxResults",
   961  			TruncationToken: "",
   962  		},
   963  	}
   964  
   965  	if input == nil {
   966  		input = &ListTableRowsInput{}
   967  	}
   968  
   969  	output = &ListTableRowsOutput{}
   970  	req = c.newRequest(op, input, output)
   971  	return
   972  }
   973  
   974  // ListTableRows API operation for Amazon Honeycode.
   975  //
   976  // The ListTableRows API allows you to retrieve a list of all the rows in a
   977  // table in a workbook.
   978  //
   979  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   980  // with awserr.Error's Code and Message methods to get detailed information about
   981  // the error.
   982  //
   983  // See the AWS API reference guide for Amazon Honeycode's
   984  // API operation ListTableRows for usage and error information.
   985  //
   986  // Returned Error Types:
   987  //   * AccessDeniedException
   988  //   You do not have sufficient access to perform this action. Check that the
   989  //   workbook is owned by you and your IAM policy allows access to the resource
   990  //   in the request.
   991  //
   992  //   * InternalServerException
   993  //   There were unexpected errors from the server.
   994  //
   995  //   * ResourceNotFoundException
   996  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
   997  //   given ID.
   998  //
   999  //   * ServiceUnavailableException
  1000  //   Remote service is unreachable.
  1001  //
  1002  //   * ValidationException
  1003  //   Request is invalid. The message in the response contains details on why the
  1004  //   request is invalid.
  1005  //
  1006  //   * RequestTimeoutException
  1007  //   The request timed out.
  1008  //
  1009  //   * ThrottlingException
  1010  //   Tps(transactions per second) rate reached.
  1011  //
  1012  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableRows
  1013  func (c *Honeycode) ListTableRows(input *ListTableRowsInput) (*ListTableRowsOutput, error) {
  1014  	req, out := c.ListTableRowsRequest(input)
  1015  	return out, req.Send()
  1016  }
  1017  
  1018  // ListTableRowsWithContext is the same as ListTableRows with the addition of
  1019  // the ability to pass a context and additional request options.
  1020  //
  1021  // See ListTableRows for details on how to use this API operation.
  1022  //
  1023  // The context must be non-nil and will be used for request cancellation. If
  1024  // the context is nil a panic will occur. In the future the SDK may create
  1025  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1026  // for more information on using Contexts.
  1027  func (c *Honeycode) ListTableRowsWithContext(ctx aws.Context, input *ListTableRowsInput, opts ...request.Option) (*ListTableRowsOutput, error) {
  1028  	req, out := c.ListTableRowsRequest(input)
  1029  	req.SetContext(ctx)
  1030  	req.ApplyOptions(opts...)
  1031  	return out, req.Send()
  1032  }
  1033  
  1034  // ListTableRowsPages iterates over the pages of a ListTableRows operation,
  1035  // calling the "fn" function with the response data for each page. To stop
  1036  // iterating, return false from the fn function.
  1037  //
  1038  // See ListTableRows method for more information on how to use this operation.
  1039  //
  1040  // Note: This operation can generate multiple requests to a service.
  1041  //
  1042  //    // Example iterating over at most 3 pages of a ListTableRows operation.
  1043  //    pageNum := 0
  1044  //    err := client.ListTableRowsPages(params,
  1045  //        func(page *honeycode.ListTableRowsOutput, lastPage bool) bool {
  1046  //            pageNum++
  1047  //            fmt.Println(page)
  1048  //            return pageNum <= 3
  1049  //        })
  1050  //
  1051  func (c *Honeycode) ListTableRowsPages(input *ListTableRowsInput, fn func(*ListTableRowsOutput, bool) bool) error {
  1052  	return c.ListTableRowsPagesWithContext(aws.BackgroundContext(), input, fn)
  1053  }
  1054  
  1055  // ListTableRowsPagesWithContext same as ListTableRowsPages except
  1056  // it takes a Context and allows setting request options on the pages.
  1057  //
  1058  // The context must be non-nil and will be used for request cancellation. If
  1059  // the context is nil a panic will occur. In the future the SDK may create
  1060  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1061  // for more information on using Contexts.
  1062  func (c *Honeycode) ListTableRowsPagesWithContext(ctx aws.Context, input *ListTableRowsInput, fn func(*ListTableRowsOutput, bool) bool, opts ...request.Option) error {
  1063  	p := request.Pagination{
  1064  		NewRequest: func() (*request.Request, error) {
  1065  			var inCpy *ListTableRowsInput
  1066  			if input != nil {
  1067  				tmp := *input
  1068  				inCpy = &tmp
  1069  			}
  1070  			req, _ := c.ListTableRowsRequest(inCpy)
  1071  			req.SetContext(ctx)
  1072  			req.ApplyOptions(opts...)
  1073  			return req, nil
  1074  		},
  1075  	}
  1076  
  1077  	for p.Next() {
  1078  		if !fn(p.Page().(*ListTableRowsOutput), !p.HasNextPage()) {
  1079  			break
  1080  		}
  1081  	}
  1082  
  1083  	return p.Err()
  1084  }
  1085  
  1086  const opListTables = "ListTables"
  1087  
  1088  // ListTablesRequest generates a "aws/request.Request" representing the
  1089  // client's request for the ListTables operation. The "output" return
  1090  // value will be populated with the request's response once the request completes
  1091  // successfully.
  1092  //
  1093  // Use "Send" method on the returned Request to send the API call to the service.
  1094  // the "output" return value is not valid until after Send returns without error.
  1095  //
  1096  // See ListTables for more information on using the ListTables
  1097  // API call, and error handling.
  1098  //
  1099  // This method is useful when you want to inject custom logic or configuration
  1100  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1101  //
  1102  //
  1103  //    // Example sending a request using the ListTablesRequest method.
  1104  //    req, resp := client.ListTablesRequest(params)
  1105  //
  1106  //    err := req.Send()
  1107  //    if err == nil { // resp is now filled
  1108  //        fmt.Println(resp)
  1109  //    }
  1110  //
  1111  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTables
  1112  func (c *Honeycode) ListTablesRequest(input *ListTablesInput) (req *request.Request, output *ListTablesOutput) {
  1113  	op := &request.Operation{
  1114  		Name:       opListTables,
  1115  		HTTPMethod: "GET",
  1116  		HTTPPath:   "/workbooks/{workbookId}/tables",
  1117  		Paginator: &request.Paginator{
  1118  			InputTokens:     []string{"nextToken"},
  1119  			OutputTokens:    []string{"nextToken"},
  1120  			LimitToken:      "maxResults",
  1121  			TruncationToken: "",
  1122  		},
  1123  	}
  1124  
  1125  	if input == nil {
  1126  		input = &ListTablesInput{}
  1127  	}
  1128  
  1129  	output = &ListTablesOutput{}
  1130  	req = c.newRequest(op, input, output)
  1131  	return
  1132  }
  1133  
  1134  // ListTables API operation for Amazon Honeycode.
  1135  //
  1136  // The ListTables API allows you to retrieve a list of all the tables in a workbook.
  1137  //
  1138  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1139  // with awserr.Error's Code and Message methods to get detailed information about
  1140  // the error.
  1141  //
  1142  // See the AWS API reference guide for Amazon Honeycode's
  1143  // API operation ListTables for usage and error information.
  1144  //
  1145  // Returned Error Types:
  1146  //   * AccessDeniedException
  1147  //   You do not have sufficient access to perform this action. Check that the
  1148  //   workbook is owned by you and your IAM policy allows access to the resource
  1149  //   in the request.
  1150  //
  1151  //   * InternalServerException
  1152  //   There were unexpected errors from the server.
  1153  //
  1154  //   * RequestTimeoutException
  1155  //   The request timed out.
  1156  //
  1157  //   * ResourceNotFoundException
  1158  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
  1159  //   given ID.
  1160  //
  1161  //   * ServiceUnavailableException
  1162  //   Remote service is unreachable.
  1163  //
  1164  //   * ThrottlingException
  1165  //   Tps(transactions per second) rate reached.
  1166  //
  1167  //   * ValidationException
  1168  //   Request is invalid. The message in the response contains details on why the
  1169  //   request is invalid.
  1170  //
  1171  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTables
  1172  func (c *Honeycode) ListTables(input *ListTablesInput) (*ListTablesOutput, error) {
  1173  	req, out := c.ListTablesRequest(input)
  1174  	return out, req.Send()
  1175  }
  1176  
  1177  // ListTablesWithContext is the same as ListTables with the addition of
  1178  // the ability to pass a context and additional request options.
  1179  //
  1180  // See ListTables for details on how to use this API operation.
  1181  //
  1182  // The context must be non-nil and will be used for request cancellation. If
  1183  // the context is nil a panic will occur. In the future the SDK may create
  1184  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1185  // for more information on using Contexts.
  1186  func (c *Honeycode) ListTablesWithContext(ctx aws.Context, input *ListTablesInput, opts ...request.Option) (*ListTablesOutput, error) {
  1187  	req, out := c.ListTablesRequest(input)
  1188  	req.SetContext(ctx)
  1189  	req.ApplyOptions(opts...)
  1190  	return out, req.Send()
  1191  }
  1192  
  1193  // ListTablesPages iterates over the pages of a ListTables operation,
  1194  // calling the "fn" function with the response data for each page. To stop
  1195  // iterating, return false from the fn function.
  1196  //
  1197  // See ListTables method for more information on how to use this operation.
  1198  //
  1199  // Note: This operation can generate multiple requests to a service.
  1200  //
  1201  //    // Example iterating over at most 3 pages of a ListTables operation.
  1202  //    pageNum := 0
  1203  //    err := client.ListTablesPages(params,
  1204  //        func(page *honeycode.ListTablesOutput, lastPage bool) bool {
  1205  //            pageNum++
  1206  //            fmt.Println(page)
  1207  //            return pageNum <= 3
  1208  //        })
  1209  //
  1210  func (c *Honeycode) ListTablesPages(input *ListTablesInput, fn func(*ListTablesOutput, bool) bool) error {
  1211  	return c.ListTablesPagesWithContext(aws.BackgroundContext(), input, fn)
  1212  }
  1213  
  1214  // ListTablesPagesWithContext same as ListTablesPages except
  1215  // it takes a Context and allows setting request options on the pages.
  1216  //
  1217  // The context must be non-nil and will be used for request cancellation. If
  1218  // the context is nil a panic will occur. In the future the SDK may create
  1219  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1220  // for more information on using Contexts.
  1221  func (c *Honeycode) ListTablesPagesWithContext(ctx aws.Context, input *ListTablesInput, fn func(*ListTablesOutput, bool) bool, opts ...request.Option) error {
  1222  	p := request.Pagination{
  1223  		NewRequest: func() (*request.Request, error) {
  1224  			var inCpy *ListTablesInput
  1225  			if input != nil {
  1226  				tmp := *input
  1227  				inCpy = &tmp
  1228  			}
  1229  			req, _ := c.ListTablesRequest(inCpy)
  1230  			req.SetContext(ctx)
  1231  			req.ApplyOptions(opts...)
  1232  			return req, nil
  1233  		},
  1234  	}
  1235  
  1236  	for p.Next() {
  1237  		if !fn(p.Page().(*ListTablesOutput), !p.HasNextPage()) {
  1238  			break
  1239  		}
  1240  	}
  1241  
  1242  	return p.Err()
  1243  }
  1244  
  1245  const opQueryTableRows = "QueryTableRows"
  1246  
  1247  // QueryTableRowsRequest generates a "aws/request.Request" representing the
  1248  // client's request for the QueryTableRows operation. The "output" return
  1249  // value will be populated with the request's response once the request completes
  1250  // successfully.
  1251  //
  1252  // Use "Send" method on the returned Request to send the API call to the service.
  1253  // the "output" return value is not valid until after Send returns without error.
  1254  //
  1255  // See QueryTableRows for more information on using the QueryTableRows
  1256  // API call, and error handling.
  1257  //
  1258  // This method is useful when you want to inject custom logic or configuration
  1259  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1260  //
  1261  //
  1262  //    // Example sending a request using the QueryTableRowsRequest method.
  1263  //    req, resp := client.QueryTableRowsRequest(params)
  1264  //
  1265  //    err := req.Send()
  1266  //    if err == nil { // resp is now filled
  1267  //        fmt.Println(resp)
  1268  //    }
  1269  //
  1270  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/QueryTableRows
  1271  func (c *Honeycode) QueryTableRowsRequest(input *QueryTableRowsInput) (req *request.Request, output *QueryTableRowsOutput) {
  1272  	op := &request.Operation{
  1273  		Name:       opQueryTableRows,
  1274  		HTTPMethod: "POST",
  1275  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/rows/query",
  1276  		Paginator: &request.Paginator{
  1277  			InputTokens:     []string{"nextToken"},
  1278  			OutputTokens:    []string{"nextToken"},
  1279  			LimitToken:      "maxResults",
  1280  			TruncationToken: "",
  1281  		},
  1282  	}
  1283  
  1284  	if input == nil {
  1285  		input = &QueryTableRowsInput{}
  1286  	}
  1287  
  1288  	output = &QueryTableRowsOutput{}
  1289  	req = c.newRequest(op, input, output)
  1290  	return
  1291  }
  1292  
  1293  // QueryTableRows API operation for Amazon Honeycode.
  1294  //
  1295  // The QueryTableRows API allows you to use a filter formula to query for specific
  1296  // rows in a table.
  1297  //
  1298  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1299  // with awserr.Error's Code and Message methods to get detailed information about
  1300  // the error.
  1301  //
  1302  // See the AWS API reference guide for Amazon Honeycode's
  1303  // API operation QueryTableRows for usage and error information.
  1304  //
  1305  // Returned Error Types:
  1306  //   * AccessDeniedException
  1307  //   You do not have sufficient access to perform this action. Check that the
  1308  //   workbook is owned by you and your IAM policy allows access to the resource
  1309  //   in the request.
  1310  //
  1311  //   * InternalServerException
  1312  //   There were unexpected errors from the server.
  1313  //
  1314  //   * RequestTimeoutException
  1315  //   The request timed out.
  1316  //
  1317  //   * ResourceNotFoundException
  1318  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
  1319  //   given ID.
  1320  //
  1321  //   * ServiceUnavailableException
  1322  //   Remote service is unreachable.
  1323  //
  1324  //   * ThrottlingException
  1325  //   Tps(transactions per second) rate reached.
  1326  //
  1327  //   * ValidationException
  1328  //   Request is invalid. The message in the response contains details on why the
  1329  //   request is invalid.
  1330  //
  1331  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/QueryTableRows
  1332  func (c *Honeycode) QueryTableRows(input *QueryTableRowsInput) (*QueryTableRowsOutput, error) {
  1333  	req, out := c.QueryTableRowsRequest(input)
  1334  	return out, req.Send()
  1335  }
  1336  
  1337  // QueryTableRowsWithContext is the same as QueryTableRows with the addition of
  1338  // the ability to pass a context and additional request options.
  1339  //
  1340  // See QueryTableRows for details on how to use this API operation.
  1341  //
  1342  // The context must be non-nil and will be used for request cancellation. If
  1343  // the context is nil a panic will occur. In the future the SDK may create
  1344  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1345  // for more information on using Contexts.
  1346  func (c *Honeycode) QueryTableRowsWithContext(ctx aws.Context, input *QueryTableRowsInput, opts ...request.Option) (*QueryTableRowsOutput, error) {
  1347  	req, out := c.QueryTableRowsRequest(input)
  1348  	req.SetContext(ctx)
  1349  	req.ApplyOptions(opts...)
  1350  	return out, req.Send()
  1351  }
  1352  
  1353  // QueryTableRowsPages iterates over the pages of a QueryTableRows operation,
  1354  // calling the "fn" function with the response data for each page. To stop
  1355  // iterating, return false from the fn function.
  1356  //
  1357  // See QueryTableRows method for more information on how to use this operation.
  1358  //
  1359  // Note: This operation can generate multiple requests to a service.
  1360  //
  1361  //    // Example iterating over at most 3 pages of a QueryTableRows operation.
  1362  //    pageNum := 0
  1363  //    err := client.QueryTableRowsPages(params,
  1364  //        func(page *honeycode.QueryTableRowsOutput, lastPage bool) bool {
  1365  //            pageNum++
  1366  //            fmt.Println(page)
  1367  //            return pageNum <= 3
  1368  //        })
  1369  //
  1370  func (c *Honeycode) QueryTableRowsPages(input *QueryTableRowsInput, fn func(*QueryTableRowsOutput, bool) bool) error {
  1371  	return c.QueryTableRowsPagesWithContext(aws.BackgroundContext(), input, fn)
  1372  }
  1373  
  1374  // QueryTableRowsPagesWithContext same as QueryTableRowsPages except
  1375  // it takes a Context and allows setting request options on the pages.
  1376  //
  1377  // The context must be non-nil and will be used for request cancellation. If
  1378  // the context is nil a panic will occur. In the future the SDK may create
  1379  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1380  // for more information on using Contexts.
  1381  func (c *Honeycode) QueryTableRowsPagesWithContext(ctx aws.Context, input *QueryTableRowsInput, fn func(*QueryTableRowsOutput, bool) bool, opts ...request.Option) error {
  1382  	p := request.Pagination{
  1383  		NewRequest: func() (*request.Request, error) {
  1384  			var inCpy *QueryTableRowsInput
  1385  			if input != nil {
  1386  				tmp := *input
  1387  				inCpy = &tmp
  1388  			}
  1389  			req, _ := c.QueryTableRowsRequest(inCpy)
  1390  			req.SetContext(ctx)
  1391  			req.ApplyOptions(opts...)
  1392  			return req, nil
  1393  		},
  1394  	}
  1395  
  1396  	for p.Next() {
  1397  		if !fn(p.Page().(*QueryTableRowsOutput), !p.HasNextPage()) {
  1398  			break
  1399  		}
  1400  	}
  1401  
  1402  	return p.Err()
  1403  }
  1404  
  1405  const opStartTableDataImportJob = "StartTableDataImportJob"
  1406  
  1407  // StartTableDataImportJobRequest generates a "aws/request.Request" representing the
  1408  // client's request for the StartTableDataImportJob operation. The "output" return
  1409  // value will be populated with the request's response once the request completes
  1410  // successfully.
  1411  //
  1412  // Use "Send" method on the returned Request to send the API call to the service.
  1413  // the "output" return value is not valid until after Send returns without error.
  1414  //
  1415  // See StartTableDataImportJob for more information on using the StartTableDataImportJob
  1416  // API call, and error handling.
  1417  //
  1418  // This method is useful when you want to inject custom logic or configuration
  1419  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1420  //
  1421  //
  1422  //    // Example sending a request using the StartTableDataImportJobRequest method.
  1423  //    req, resp := client.StartTableDataImportJobRequest(params)
  1424  //
  1425  //    err := req.Send()
  1426  //    if err == nil { // resp is now filled
  1427  //        fmt.Println(resp)
  1428  //    }
  1429  //
  1430  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/StartTableDataImportJob
  1431  func (c *Honeycode) StartTableDataImportJobRequest(input *StartTableDataImportJobInput) (req *request.Request, output *StartTableDataImportJobOutput) {
  1432  	op := &request.Operation{
  1433  		Name:       opStartTableDataImportJob,
  1434  		HTTPMethod: "POST",
  1435  		HTTPPath:   "/workbooks/{workbookId}/tables/{tableId}/import",
  1436  	}
  1437  
  1438  	if input == nil {
  1439  		input = &StartTableDataImportJobInput{}
  1440  	}
  1441  
  1442  	output = &StartTableDataImportJobOutput{}
  1443  	req = c.newRequest(op, input, output)
  1444  	return
  1445  }
  1446  
  1447  // StartTableDataImportJob API operation for Amazon Honeycode.
  1448  //
  1449  // The StartTableDataImportJob API allows you to start an import job on a table.
  1450  // This API will only return the id of the job that was started. To find out
  1451  // the status of the import request, you need to call the DescribeTableDataImportJob
  1452  // API.
  1453  //
  1454  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1455  // with awserr.Error's Code and Message methods to get detailed information about
  1456  // the error.
  1457  //
  1458  // See the AWS API reference guide for Amazon Honeycode's
  1459  // API operation StartTableDataImportJob for usage and error information.
  1460  //
  1461  // Returned Error Types:
  1462  //   * AccessDeniedException
  1463  //   You do not have sufficient access to perform this action. Check that the
  1464  //   workbook is owned by you and your IAM policy allows access to the resource
  1465  //   in the request.
  1466  //
  1467  //   * InternalServerException
  1468  //   There were unexpected errors from the server.
  1469  //
  1470  //   * ResourceNotFoundException
  1471  //   A Workbook, Table, App, Screen or Screen Automation was not found with the
  1472  //   given ID.
  1473  //
  1474  //   * ServiceUnavailableException
  1475  //   Remote service is unreachable.
  1476  //
  1477  //   * ThrottlingException
  1478  //   Tps(transactions per second) rate reached.
  1479  //
  1480  //   * ValidationException
  1481  //   Request is invalid. The message in the response contains details on why the
  1482  //   request is invalid.
  1483  //
  1484  // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/StartTableDataImportJob
  1485  func (c *Honeycode) StartTableDataImportJob(input *StartTableDataImportJobInput) (*StartTableDataImportJobOutput, error) {
  1486  	req, out := c.StartTableDataImportJobRequest(input)
  1487  	return out, req.Send()
  1488  }
  1489  
  1490  // StartTableDataImportJobWithContext is the same as StartTableDataImportJob with the addition of
  1491  // the ability to pass a context and additional request options.
  1492  //
  1493  // See StartTableDataImportJob for details on how to use this API operation.
  1494  //
  1495  // The context must be non-nil and will be used for request cancellation. If
  1496  // the context is nil a panic will occur. In the future the SDK may create
  1497  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1498  // for more information on using Contexts.
  1499  func (c *Honeycode) StartTableDataImportJobWithContext(ctx aws.Context, input *StartTableDataImportJobInput, opts ...request.Option) (*StartTableDataImportJobOutput, error) {
  1500  	req, out := c.StartTableDataImportJobRequest(input)
  1501  	req.SetContext(ctx)
  1502  	req.ApplyOptions(opts...)
  1503  	return out, req.Send()
  1504  }
  1505  
  1506  // You do not have sufficient access to perform this action. Check that the
  1507  // workbook is owned by you and your IAM policy allows access to the resource
  1508  // in the request.
  1509  type AccessDeniedException struct {
  1510  	_            struct{}                  `type:"structure"`
  1511  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  1512  
  1513  	Message_ *string `locationName:"message" type:"string"`
  1514  }
  1515  
  1516  // String returns the string representation.
  1517  //
  1518  // API parameter values that are decorated as "sensitive" in the API will not
  1519  // be included in the string output. The member name will be present, but the
  1520  // value will be replaced with "sensitive".
  1521  func (s AccessDeniedException) String() string {
  1522  	return awsutil.Prettify(s)
  1523  }
  1524  
  1525  // GoString returns the string representation.
  1526  //
  1527  // API parameter values that are decorated as "sensitive" in the API will not
  1528  // be included in the string output. The member name will be present, but the
  1529  // value will be replaced with "sensitive".
  1530  func (s AccessDeniedException) GoString() string {
  1531  	return s.String()
  1532  }
  1533  
  1534  func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
  1535  	return &AccessDeniedException{
  1536  		RespMetadata: v,
  1537  	}
  1538  }
  1539  
  1540  // Code returns the exception type name.
  1541  func (s *AccessDeniedException) Code() string {
  1542  	return "AccessDeniedException"
  1543  }
  1544  
  1545  // Message returns the exception's message.
  1546  func (s *AccessDeniedException) Message() string {
  1547  	if s.Message_ != nil {
  1548  		return *s.Message_
  1549  	}
  1550  	return ""
  1551  }
  1552  
  1553  // OrigErr always returns nil, satisfies awserr.Error interface.
  1554  func (s *AccessDeniedException) OrigErr() error {
  1555  	return nil
  1556  }
  1557  
  1558  func (s *AccessDeniedException) Error() string {
  1559  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  1560  }
  1561  
  1562  // Status code returns the HTTP status code for the request's response error.
  1563  func (s *AccessDeniedException) StatusCode() int {
  1564  	return s.RespMetadata.StatusCode
  1565  }
  1566  
  1567  // RequestID returns the service's response RequestID for request.
  1568  func (s *AccessDeniedException) RequestID() string {
  1569  	return s.RespMetadata.RequestID
  1570  }
  1571  
  1572  // The automation execution did not end successfully.
  1573  type AutomationExecutionException struct {
  1574  	_            struct{}                  `type:"structure"`
  1575  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  1576  
  1577  	Message_ *string `locationName:"message" type:"string"`
  1578  }
  1579  
  1580  // String returns the string representation.
  1581  //
  1582  // API parameter values that are decorated as "sensitive" in the API will not
  1583  // be included in the string output. The member name will be present, but the
  1584  // value will be replaced with "sensitive".
  1585  func (s AutomationExecutionException) String() string {
  1586  	return awsutil.Prettify(s)
  1587  }
  1588  
  1589  // GoString returns the string representation.
  1590  //
  1591  // API parameter values that are decorated as "sensitive" in the API will not
  1592  // be included in the string output. The member name will be present, but the
  1593  // value will be replaced with "sensitive".
  1594  func (s AutomationExecutionException) GoString() string {
  1595  	return s.String()
  1596  }
  1597  
  1598  func newErrorAutomationExecutionException(v protocol.ResponseMetadata) error {
  1599  	return &AutomationExecutionException{
  1600  		RespMetadata: v,
  1601  	}
  1602  }
  1603  
  1604  // Code returns the exception type name.
  1605  func (s *AutomationExecutionException) Code() string {
  1606  	return "AutomationExecutionException"
  1607  }
  1608  
  1609  // Message returns the exception's message.
  1610  func (s *AutomationExecutionException) Message() string {
  1611  	if s.Message_ != nil {
  1612  		return *s.Message_
  1613  	}
  1614  	return ""
  1615  }
  1616  
  1617  // OrigErr always returns nil, satisfies awserr.Error interface.
  1618  func (s *AutomationExecutionException) OrigErr() error {
  1619  	return nil
  1620  }
  1621  
  1622  func (s *AutomationExecutionException) Error() string {
  1623  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  1624  }
  1625  
  1626  // Status code returns the HTTP status code for the request's response error.
  1627  func (s *AutomationExecutionException) StatusCode() int {
  1628  	return s.RespMetadata.StatusCode
  1629  }
  1630  
  1631  // RequestID returns the service's response RequestID for request.
  1632  func (s *AutomationExecutionException) RequestID() string {
  1633  	return s.RespMetadata.RequestID
  1634  }
  1635  
  1636  // The automation execution timed out.
  1637  type AutomationExecutionTimeoutException struct {
  1638  	_            struct{}                  `type:"structure"`
  1639  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  1640  
  1641  	Message_ *string `locationName:"message" type:"string"`
  1642  }
  1643  
  1644  // String returns the string representation.
  1645  //
  1646  // API parameter values that are decorated as "sensitive" in the API will not
  1647  // be included in the string output. The member name will be present, but the
  1648  // value will be replaced with "sensitive".
  1649  func (s AutomationExecutionTimeoutException) String() string {
  1650  	return awsutil.Prettify(s)
  1651  }
  1652  
  1653  // GoString returns the string representation.
  1654  //
  1655  // API parameter values that are decorated as "sensitive" in the API will not
  1656  // be included in the string output. The member name will be present, but the
  1657  // value will be replaced with "sensitive".
  1658  func (s AutomationExecutionTimeoutException) GoString() string {
  1659  	return s.String()
  1660  }
  1661  
  1662  func newErrorAutomationExecutionTimeoutException(v protocol.ResponseMetadata) error {
  1663  	return &AutomationExecutionTimeoutException{
  1664  		RespMetadata: v,
  1665  	}
  1666  }
  1667  
  1668  // Code returns the exception type name.
  1669  func (s *AutomationExecutionTimeoutException) Code() string {
  1670  	return "AutomationExecutionTimeoutException"
  1671  }
  1672  
  1673  // Message returns the exception's message.
  1674  func (s *AutomationExecutionTimeoutException) Message() string {
  1675  	if s.Message_ != nil {
  1676  		return *s.Message_
  1677  	}
  1678  	return ""
  1679  }
  1680  
  1681  // OrigErr always returns nil, satisfies awserr.Error interface.
  1682  func (s *AutomationExecutionTimeoutException) OrigErr() error {
  1683  	return nil
  1684  }
  1685  
  1686  func (s *AutomationExecutionTimeoutException) Error() string {
  1687  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  1688  }
  1689  
  1690  // Status code returns the HTTP status code for the request's response error.
  1691  func (s *AutomationExecutionTimeoutException) StatusCode() int {
  1692  	return s.RespMetadata.StatusCode
  1693  }
  1694  
  1695  // RequestID returns the service's response RequestID for request.
  1696  func (s *AutomationExecutionTimeoutException) RequestID() string {
  1697  	return s.RespMetadata.RequestID
  1698  }
  1699  
  1700  type BatchCreateTableRowsInput struct {
  1701  	_ struct{} `type:"structure"`
  1702  
  1703  	// The request token for performing the batch create operation. Request tokens
  1704  	// help to identify duplicate requests. If a call times out or fails due to
  1705  	// a transient error like a failed network connection, you can retry the call
  1706  	// with the same request token. The service ensures that if the first call using
  1707  	// that request token is successfully performed, the second call will not perform
  1708  	// the operation again.
  1709  	//
  1710  	// Note that request tokens are valid only for a few minutes. You cannot use
  1711  	// request tokens to dedupe requests spanning hours or days.
  1712  	ClientRequestToken *string `locationName:"clientRequestToken" min:"32" type:"string"`
  1713  
  1714  	// The list of rows to create at the end of the table. Each item in this list
  1715  	// needs to have a batch item id to uniquely identify the element in the request
  1716  	// and the cells to create for that row. You need to specify at least one item
  1717  	// in this list.
  1718  	//
  1719  	// Note that if one of the column ids in any of the rows in the request does
  1720  	// not exist in the table, then the request fails and no updates are made to
  1721  	// the table.
  1722  	//
  1723  	// RowsToCreate is a required field
  1724  	RowsToCreate []*CreateRowData `locationName:"rowsToCreate" min:"1" type:"list" required:"true"`
  1725  
  1726  	// The ID of the table where the new rows are being added.
  1727  	//
  1728  	// If a table with the specified ID could not be found, this API throws ResourceNotFoundException.
  1729  	//
  1730  	// TableId is a required field
  1731  	TableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  1732  
  1733  	// The ID of the workbook where the new rows are being added.
  1734  	//
  1735  	// If a workbook with the specified ID could not be found, this API throws ResourceNotFoundException.
  1736  	//
  1737  	// WorkbookId is a required field
  1738  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  1739  }
  1740  
  1741  // String returns the string representation.
  1742  //
  1743  // API parameter values that are decorated as "sensitive" in the API will not
  1744  // be included in the string output. The member name will be present, but the
  1745  // value will be replaced with "sensitive".
  1746  func (s BatchCreateTableRowsInput) String() string {
  1747  	return awsutil.Prettify(s)
  1748  }
  1749  
  1750  // GoString returns the string representation.
  1751  //
  1752  // API parameter values that are decorated as "sensitive" in the API will not
  1753  // be included in the string output. The member name will be present, but the
  1754  // value will be replaced with "sensitive".
  1755  func (s BatchCreateTableRowsInput) GoString() string {
  1756  	return s.String()
  1757  }
  1758  
  1759  // Validate inspects the fields of the type to determine if they are valid.
  1760  func (s *BatchCreateTableRowsInput) Validate() error {
  1761  	invalidParams := request.ErrInvalidParams{Context: "BatchCreateTableRowsInput"}
  1762  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
  1763  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
  1764  	}
  1765  	if s.RowsToCreate == nil {
  1766  		invalidParams.Add(request.NewErrParamRequired("RowsToCreate"))
  1767  	}
  1768  	if s.RowsToCreate != nil && len(s.RowsToCreate) < 1 {
  1769  		invalidParams.Add(request.NewErrParamMinLen("RowsToCreate", 1))
  1770  	}
  1771  	if s.TableId == nil {
  1772  		invalidParams.Add(request.NewErrParamRequired("TableId"))
  1773  	}
  1774  	if s.TableId != nil && len(*s.TableId) < 36 {
  1775  		invalidParams.Add(request.NewErrParamMinLen("TableId", 36))
  1776  	}
  1777  	if s.WorkbookId == nil {
  1778  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  1779  	}
  1780  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  1781  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  1782  	}
  1783  	if s.RowsToCreate != nil {
  1784  		for i, v := range s.RowsToCreate {
  1785  			if v == nil {
  1786  				continue
  1787  			}
  1788  			if err := v.Validate(); err != nil {
  1789  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RowsToCreate", i), err.(request.ErrInvalidParams))
  1790  			}
  1791  		}
  1792  	}
  1793  
  1794  	if invalidParams.Len() > 0 {
  1795  		return invalidParams
  1796  	}
  1797  	return nil
  1798  }
  1799  
  1800  // SetClientRequestToken sets the ClientRequestToken field's value.
  1801  func (s *BatchCreateTableRowsInput) SetClientRequestToken(v string) *BatchCreateTableRowsInput {
  1802  	s.ClientRequestToken = &v
  1803  	return s
  1804  }
  1805  
  1806  // SetRowsToCreate sets the RowsToCreate field's value.
  1807  func (s *BatchCreateTableRowsInput) SetRowsToCreate(v []*CreateRowData) *BatchCreateTableRowsInput {
  1808  	s.RowsToCreate = v
  1809  	return s
  1810  }
  1811  
  1812  // SetTableId sets the TableId field's value.
  1813  func (s *BatchCreateTableRowsInput) SetTableId(v string) *BatchCreateTableRowsInput {
  1814  	s.TableId = &v
  1815  	return s
  1816  }
  1817  
  1818  // SetWorkbookId sets the WorkbookId field's value.
  1819  func (s *BatchCreateTableRowsInput) SetWorkbookId(v string) *BatchCreateTableRowsInput {
  1820  	s.WorkbookId = &v
  1821  	return s
  1822  }
  1823  
  1824  type BatchCreateTableRowsOutput struct {
  1825  	_ struct{} `type:"structure"`
  1826  
  1827  	// The map of batch item id to the row id that was created for that item.
  1828  	//
  1829  	// CreatedRows is a required field
  1830  	CreatedRows map[string]*string `locationName:"createdRows" type:"map" required:"true"`
  1831  
  1832  	// The list of batch items in the request that could not be added to the table.
  1833  	// Each element in this list contains one item from the request that could not
  1834  	// be added to the table along with the reason why that item could not be added.
  1835  	FailedBatchItems []*FailedBatchItem `locationName:"failedBatchItems" type:"list"`
  1836  
  1837  	// The updated workbook cursor after adding the new rows at the end of the table.
  1838  	//
  1839  	// WorkbookCursor is a required field
  1840  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"`
  1841  }
  1842  
  1843  // String returns the string representation.
  1844  //
  1845  // API parameter values that are decorated as "sensitive" in the API will not
  1846  // be included in the string output. The member name will be present, but the
  1847  // value will be replaced with "sensitive".
  1848  func (s BatchCreateTableRowsOutput) String() string {
  1849  	return awsutil.Prettify(s)
  1850  }
  1851  
  1852  // GoString returns the string representation.
  1853  //
  1854  // API parameter values that are decorated as "sensitive" in the API will not
  1855  // be included in the string output. The member name will be present, but the
  1856  // value will be replaced with "sensitive".
  1857  func (s BatchCreateTableRowsOutput) GoString() string {
  1858  	return s.String()
  1859  }
  1860  
  1861  // SetCreatedRows sets the CreatedRows field's value.
  1862  func (s *BatchCreateTableRowsOutput) SetCreatedRows(v map[string]*string) *BatchCreateTableRowsOutput {
  1863  	s.CreatedRows = v
  1864  	return s
  1865  }
  1866  
  1867  // SetFailedBatchItems sets the FailedBatchItems field's value.
  1868  func (s *BatchCreateTableRowsOutput) SetFailedBatchItems(v []*FailedBatchItem) *BatchCreateTableRowsOutput {
  1869  	s.FailedBatchItems = v
  1870  	return s
  1871  }
  1872  
  1873  // SetWorkbookCursor sets the WorkbookCursor field's value.
  1874  func (s *BatchCreateTableRowsOutput) SetWorkbookCursor(v int64) *BatchCreateTableRowsOutput {
  1875  	s.WorkbookCursor = &v
  1876  	return s
  1877  }
  1878  
  1879  type BatchDeleteTableRowsInput struct {
  1880  	_ struct{} `type:"structure"`
  1881  
  1882  	// The request token for performing the delete action. Request tokens help to
  1883  	// identify duplicate requests. If a call times out or fails due to a transient
  1884  	// error like a failed network connection, you can retry the call with the same
  1885  	// request token. The service ensures that if the first call using that request
  1886  	// token is successfully performed, the second call will not perform the action
  1887  	// again.
  1888  	//
  1889  	// Note that request tokens are valid only for a few minutes. You cannot use
  1890  	// request tokens to dedupe requests spanning hours or days.
  1891  	ClientRequestToken *string `locationName:"clientRequestToken" min:"32" type:"string"`
  1892  
  1893  	// The list of row ids to delete from the table. You need to specify at least
  1894  	// one row id in this list.
  1895  	//
  1896  	// Note that if one of the row ids provided in the request does not exist in
  1897  	// the table, then the request fails and no rows are deleted from the table.
  1898  	//
  1899  	// RowIds is a required field
  1900  	RowIds []*string `locationName:"rowIds" min:"1" type:"list" required:"true"`
  1901  
  1902  	// The ID of the table where the rows are being deleted.
  1903  	//
  1904  	// If a table with the specified id could not be found, this API throws ResourceNotFoundException.
  1905  	//
  1906  	// TableId is a required field
  1907  	TableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  1908  
  1909  	// The ID of the workbook where the rows are being deleted.
  1910  	//
  1911  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  1912  	//
  1913  	// WorkbookId is a required field
  1914  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  1915  }
  1916  
  1917  // String returns the string representation.
  1918  //
  1919  // API parameter values that are decorated as "sensitive" in the API will not
  1920  // be included in the string output. The member name will be present, but the
  1921  // value will be replaced with "sensitive".
  1922  func (s BatchDeleteTableRowsInput) String() string {
  1923  	return awsutil.Prettify(s)
  1924  }
  1925  
  1926  // GoString returns the string representation.
  1927  //
  1928  // API parameter values that are decorated as "sensitive" in the API will not
  1929  // be included in the string output. The member name will be present, but the
  1930  // value will be replaced with "sensitive".
  1931  func (s BatchDeleteTableRowsInput) GoString() string {
  1932  	return s.String()
  1933  }
  1934  
  1935  // Validate inspects the fields of the type to determine if they are valid.
  1936  func (s *BatchDeleteTableRowsInput) Validate() error {
  1937  	invalidParams := request.ErrInvalidParams{Context: "BatchDeleteTableRowsInput"}
  1938  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
  1939  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
  1940  	}
  1941  	if s.RowIds == nil {
  1942  		invalidParams.Add(request.NewErrParamRequired("RowIds"))
  1943  	}
  1944  	if s.RowIds != nil && len(s.RowIds) < 1 {
  1945  		invalidParams.Add(request.NewErrParamMinLen("RowIds", 1))
  1946  	}
  1947  	if s.TableId == nil {
  1948  		invalidParams.Add(request.NewErrParamRequired("TableId"))
  1949  	}
  1950  	if s.TableId != nil && len(*s.TableId) < 36 {
  1951  		invalidParams.Add(request.NewErrParamMinLen("TableId", 36))
  1952  	}
  1953  	if s.WorkbookId == nil {
  1954  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  1955  	}
  1956  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  1957  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  1958  	}
  1959  
  1960  	if invalidParams.Len() > 0 {
  1961  		return invalidParams
  1962  	}
  1963  	return nil
  1964  }
  1965  
  1966  // SetClientRequestToken sets the ClientRequestToken field's value.
  1967  func (s *BatchDeleteTableRowsInput) SetClientRequestToken(v string) *BatchDeleteTableRowsInput {
  1968  	s.ClientRequestToken = &v
  1969  	return s
  1970  }
  1971  
  1972  // SetRowIds sets the RowIds field's value.
  1973  func (s *BatchDeleteTableRowsInput) SetRowIds(v []*string) *BatchDeleteTableRowsInput {
  1974  	s.RowIds = v
  1975  	return s
  1976  }
  1977  
  1978  // SetTableId sets the TableId field's value.
  1979  func (s *BatchDeleteTableRowsInput) SetTableId(v string) *BatchDeleteTableRowsInput {
  1980  	s.TableId = &v
  1981  	return s
  1982  }
  1983  
  1984  // SetWorkbookId sets the WorkbookId field's value.
  1985  func (s *BatchDeleteTableRowsInput) SetWorkbookId(v string) *BatchDeleteTableRowsInput {
  1986  	s.WorkbookId = &v
  1987  	return s
  1988  }
  1989  
  1990  type BatchDeleteTableRowsOutput struct {
  1991  	_ struct{} `type:"structure"`
  1992  
  1993  	// The list of row ids in the request that could not be deleted from the table.
  1994  	// Each element in this list contains one row id from the request that could
  1995  	// not be deleted along with the reason why that item could not be deleted.
  1996  	FailedBatchItems []*FailedBatchItem `locationName:"failedBatchItems" type:"list"`
  1997  
  1998  	// The updated workbook cursor after deleting the rows from the table.
  1999  	//
  2000  	// WorkbookCursor is a required field
  2001  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"`
  2002  }
  2003  
  2004  // String returns the string representation.
  2005  //
  2006  // API parameter values that are decorated as "sensitive" in the API will not
  2007  // be included in the string output. The member name will be present, but the
  2008  // value will be replaced with "sensitive".
  2009  func (s BatchDeleteTableRowsOutput) String() string {
  2010  	return awsutil.Prettify(s)
  2011  }
  2012  
  2013  // GoString returns the string representation.
  2014  //
  2015  // API parameter values that are decorated as "sensitive" in the API will not
  2016  // be included in the string output. The member name will be present, but the
  2017  // value will be replaced with "sensitive".
  2018  func (s BatchDeleteTableRowsOutput) GoString() string {
  2019  	return s.String()
  2020  }
  2021  
  2022  // SetFailedBatchItems sets the FailedBatchItems field's value.
  2023  func (s *BatchDeleteTableRowsOutput) SetFailedBatchItems(v []*FailedBatchItem) *BatchDeleteTableRowsOutput {
  2024  	s.FailedBatchItems = v
  2025  	return s
  2026  }
  2027  
  2028  // SetWorkbookCursor sets the WorkbookCursor field's value.
  2029  func (s *BatchDeleteTableRowsOutput) SetWorkbookCursor(v int64) *BatchDeleteTableRowsOutput {
  2030  	s.WorkbookCursor = &v
  2031  	return s
  2032  }
  2033  
  2034  type BatchUpdateTableRowsInput struct {
  2035  	_ struct{} `type:"structure"`
  2036  
  2037  	// The request token for performing the update action. Request tokens help to
  2038  	// identify duplicate requests. If a call times out or fails due to a transient
  2039  	// error like a failed network connection, you can retry the call with the same
  2040  	// request token. The service ensures that if the first call using that request
  2041  	// token is successfully performed, the second call will not perform the action
  2042  	// again.
  2043  	//
  2044  	// Note that request tokens are valid only for a few minutes. You cannot use
  2045  	// request tokens to dedupe requests spanning hours or days.
  2046  	ClientRequestToken *string `locationName:"clientRequestToken" min:"32" type:"string"`
  2047  
  2048  	// The list of rows to update in the table. Each item in this list needs to
  2049  	// contain the row id to update along with the map of column id to cell values
  2050  	// for each column in that row that needs to be updated. You need to specify
  2051  	// at least one row in this list, and for each row, you need to specify at least
  2052  	// one column to update.
  2053  	//
  2054  	// Note that if one of the row or column ids in the request does not exist in
  2055  	// the table, then the request fails and no updates are made to the table.
  2056  	//
  2057  	// RowsToUpdate is a required field
  2058  	RowsToUpdate []*UpdateRowData `locationName:"rowsToUpdate" min:"1" type:"list" required:"true"`
  2059  
  2060  	// The ID of the table where the rows are being updated.
  2061  	//
  2062  	// If a table with the specified id could not be found, this API throws ResourceNotFoundException.
  2063  	//
  2064  	// TableId is a required field
  2065  	TableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  2066  
  2067  	// The ID of the workbook where the rows are being updated.
  2068  	//
  2069  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  2070  	//
  2071  	// WorkbookId is a required field
  2072  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  2073  }
  2074  
  2075  // String returns the string representation.
  2076  //
  2077  // API parameter values that are decorated as "sensitive" in the API will not
  2078  // be included in the string output. The member name will be present, but the
  2079  // value will be replaced with "sensitive".
  2080  func (s BatchUpdateTableRowsInput) String() string {
  2081  	return awsutil.Prettify(s)
  2082  }
  2083  
  2084  // GoString returns the string representation.
  2085  //
  2086  // API parameter values that are decorated as "sensitive" in the API will not
  2087  // be included in the string output. The member name will be present, but the
  2088  // value will be replaced with "sensitive".
  2089  func (s BatchUpdateTableRowsInput) GoString() string {
  2090  	return s.String()
  2091  }
  2092  
  2093  // Validate inspects the fields of the type to determine if they are valid.
  2094  func (s *BatchUpdateTableRowsInput) Validate() error {
  2095  	invalidParams := request.ErrInvalidParams{Context: "BatchUpdateTableRowsInput"}
  2096  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
  2097  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
  2098  	}
  2099  	if s.RowsToUpdate == nil {
  2100  		invalidParams.Add(request.NewErrParamRequired("RowsToUpdate"))
  2101  	}
  2102  	if s.RowsToUpdate != nil && len(s.RowsToUpdate) < 1 {
  2103  		invalidParams.Add(request.NewErrParamMinLen("RowsToUpdate", 1))
  2104  	}
  2105  	if s.TableId == nil {
  2106  		invalidParams.Add(request.NewErrParamRequired("TableId"))
  2107  	}
  2108  	if s.TableId != nil && len(*s.TableId) < 36 {
  2109  		invalidParams.Add(request.NewErrParamMinLen("TableId", 36))
  2110  	}
  2111  	if s.WorkbookId == nil {
  2112  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  2113  	}
  2114  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  2115  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  2116  	}
  2117  	if s.RowsToUpdate != nil {
  2118  		for i, v := range s.RowsToUpdate {
  2119  			if v == nil {
  2120  				continue
  2121  			}
  2122  			if err := v.Validate(); err != nil {
  2123  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RowsToUpdate", i), err.(request.ErrInvalidParams))
  2124  			}
  2125  		}
  2126  	}
  2127  
  2128  	if invalidParams.Len() > 0 {
  2129  		return invalidParams
  2130  	}
  2131  	return nil
  2132  }
  2133  
  2134  // SetClientRequestToken sets the ClientRequestToken field's value.
  2135  func (s *BatchUpdateTableRowsInput) SetClientRequestToken(v string) *BatchUpdateTableRowsInput {
  2136  	s.ClientRequestToken = &v
  2137  	return s
  2138  }
  2139  
  2140  // SetRowsToUpdate sets the RowsToUpdate field's value.
  2141  func (s *BatchUpdateTableRowsInput) SetRowsToUpdate(v []*UpdateRowData) *BatchUpdateTableRowsInput {
  2142  	s.RowsToUpdate = v
  2143  	return s
  2144  }
  2145  
  2146  // SetTableId sets the TableId field's value.
  2147  func (s *BatchUpdateTableRowsInput) SetTableId(v string) *BatchUpdateTableRowsInput {
  2148  	s.TableId = &v
  2149  	return s
  2150  }
  2151  
  2152  // SetWorkbookId sets the WorkbookId field's value.
  2153  func (s *BatchUpdateTableRowsInput) SetWorkbookId(v string) *BatchUpdateTableRowsInput {
  2154  	s.WorkbookId = &v
  2155  	return s
  2156  }
  2157  
  2158  type BatchUpdateTableRowsOutput struct {
  2159  	_ struct{} `type:"structure"`
  2160  
  2161  	// The list of batch items in the request that could not be updated in the table.
  2162  	// Each element in this list contains one item from the request that could not
  2163  	// be updated in the table along with the reason why that item could not be
  2164  	// updated.
  2165  	FailedBatchItems []*FailedBatchItem `locationName:"failedBatchItems" type:"list"`
  2166  
  2167  	// The updated workbook cursor after adding the new rows at the end of the table.
  2168  	//
  2169  	// WorkbookCursor is a required field
  2170  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"`
  2171  }
  2172  
  2173  // String returns the string representation.
  2174  //
  2175  // API parameter values that are decorated as "sensitive" in the API will not
  2176  // be included in the string output. The member name will be present, but the
  2177  // value will be replaced with "sensitive".
  2178  func (s BatchUpdateTableRowsOutput) String() string {
  2179  	return awsutil.Prettify(s)
  2180  }
  2181  
  2182  // GoString returns the string representation.
  2183  //
  2184  // API parameter values that are decorated as "sensitive" in the API will not
  2185  // be included in the string output. The member name will be present, but the
  2186  // value will be replaced with "sensitive".
  2187  func (s BatchUpdateTableRowsOutput) GoString() string {
  2188  	return s.String()
  2189  }
  2190  
  2191  // SetFailedBatchItems sets the FailedBatchItems field's value.
  2192  func (s *BatchUpdateTableRowsOutput) SetFailedBatchItems(v []*FailedBatchItem) *BatchUpdateTableRowsOutput {
  2193  	s.FailedBatchItems = v
  2194  	return s
  2195  }
  2196  
  2197  // SetWorkbookCursor sets the WorkbookCursor field's value.
  2198  func (s *BatchUpdateTableRowsOutput) SetWorkbookCursor(v int64) *BatchUpdateTableRowsOutput {
  2199  	s.WorkbookCursor = &v
  2200  	return s
  2201  }
  2202  
  2203  type BatchUpsertTableRowsInput struct {
  2204  	_ struct{} `type:"structure"`
  2205  
  2206  	// The request token for performing the update action. Request tokens help to
  2207  	// identify duplicate requests. If a call times out or fails due to a transient
  2208  	// error like a failed network connection, you can retry the call with the same
  2209  	// request token. The service ensures that if the first call using that request
  2210  	// token is successfully performed, the second call will not perform the action
  2211  	// again.
  2212  	//
  2213  	// Note that request tokens are valid only for a few minutes. You cannot use
  2214  	// request tokens to dedupe requests spanning hours or days.
  2215  	ClientRequestToken *string `locationName:"clientRequestToken" min:"32" type:"string"`
  2216  
  2217  	// The list of rows to upsert in the table. Each item in this list needs to
  2218  	// have a batch item id to uniquely identify the element in the request, a filter
  2219  	// expression to find the rows to update for that element and the cell values
  2220  	// to set for each column in the upserted rows. You need to specify at least
  2221  	// one item in this list.
  2222  	//
  2223  	// Note that if one of the filter formulas in the request fails to evaluate
  2224  	// because of an error or one of the column ids in any of the rows does not
  2225  	// exist in the table, then the request fails and no updates are made to the
  2226  	// table.
  2227  	//
  2228  	// RowsToUpsert is a required field
  2229  	RowsToUpsert []*UpsertRowData `locationName:"rowsToUpsert" type:"list" required:"true"`
  2230  
  2231  	// The ID of the table where the rows are being upserted.
  2232  	//
  2233  	// If a table with the specified id could not be found, this API throws ResourceNotFoundException.
  2234  	//
  2235  	// TableId is a required field
  2236  	TableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  2237  
  2238  	// The ID of the workbook where the rows are being upserted.
  2239  	//
  2240  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  2241  	//
  2242  	// WorkbookId is a required field
  2243  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  2244  }
  2245  
  2246  // String returns the string representation.
  2247  //
  2248  // API parameter values that are decorated as "sensitive" in the API will not
  2249  // be included in the string output. The member name will be present, but the
  2250  // value will be replaced with "sensitive".
  2251  func (s BatchUpsertTableRowsInput) String() string {
  2252  	return awsutil.Prettify(s)
  2253  }
  2254  
  2255  // GoString returns the string representation.
  2256  //
  2257  // API parameter values that are decorated as "sensitive" in the API will not
  2258  // be included in the string output. The member name will be present, but the
  2259  // value will be replaced with "sensitive".
  2260  func (s BatchUpsertTableRowsInput) GoString() string {
  2261  	return s.String()
  2262  }
  2263  
  2264  // Validate inspects the fields of the type to determine if they are valid.
  2265  func (s *BatchUpsertTableRowsInput) Validate() error {
  2266  	invalidParams := request.ErrInvalidParams{Context: "BatchUpsertTableRowsInput"}
  2267  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
  2268  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
  2269  	}
  2270  	if s.RowsToUpsert == nil {
  2271  		invalidParams.Add(request.NewErrParamRequired("RowsToUpsert"))
  2272  	}
  2273  	if s.TableId == nil {
  2274  		invalidParams.Add(request.NewErrParamRequired("TableId"))
  2275  	}
  2276  	if s.TableId != nil && len(*s.TableId) < 36 {
  2277  		invalidParams.Add(request.NewErrParamMinLen("TableId", 36))
  2278  	}
  2279  	if s.WorkbookId == nil {
  2280  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  2281  	}
  2282  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  2283  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  2284  	}
  2285  	if s.RowsToUpsert != nil {
  2286  		for i, v := range s.RowsToUpsert {
  2287  			if v == nil {
  2288  				continue
  2289  			}
  2290  			if err := v.Validate(); err != nil {
  2291  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RowsToUpsert", i), err.(request.ErrInvalidParams))
  2292  			}
  2293  		}
  2294  	}
  2295  
  2296  	if invalidParams.Len() > 0 {
  2297  		return invalidParams
  2298  	}
  2299  	return nil
  2300  }
  2301  
  2302  // SetClientRequestToken sets the ClientRequestToken field's value.
  2303  func (s *BatchUpsertTableRowsInput) SetClientRequestToken(v string) *BatchUpsertTableRowsInput {
  2304  	s.ClientRequestToken = &v
  2305  	return s
  2306  }
  2307  
  2308  // SetRowsToUpsert sets the RowsToUpsert field's value.
  2309  func (s *BatchUpsertTableRowsInput) SetRowsToUpsert(v []*UpsertRowData) *BatchUpsertTableRowsInput {
  2310  	s.RowsToUpsert = v
  2311  	return s
  2312  }
  2313  
  2314  // SetTableId sets the TableId field's value.
  2315  func (s *BatchUpsertTableRowsInput) SetTableId(v string) *BatchUpsertTableRowsInput {
  2316  	s.TableId = &v
  2317  	return s
  2318  }
  2319  
  2320  // SetWorkbookId sets the WorkbookId field's value.
  2321  func (s *BatchUpsertTableRowsInput) SetWorkbookId(v string) *BatchUpsertTableRowsInput {
  2322  	s.WorkbookId = &v
  2323  	return s
  2324  }
  2325  
  2326  type BatchUpsertTableRowsOutput struct {
  2327  	_ struct{} `type:"structure"`
  2328  
  2329  	// The list of batch items in the request that could not be updated or appended
  2330  	// in the table. Each element in this list contains one item from the request
  2331  	// that could not be updated in the table along with the reason why that item
  2332  	// could not be updated or appended.
  2333  	FailedBatchItems []*FailedBatchItem `locationName:"failedBatchItems" type:"list"`
  2334  
  2335  	// A map with the batch item id as the key and the result of the upsert operation
  2336  	// as the value. The result of the upsert operation specifies whether existing
  2337  	// rows were updated or a new row was appended, along with the list of row ids
  2338  	// that were affected.
  2339  	//
  2340  	// Rows is a required field
  2341  	Rows map[string]*UpsertRowsResult `locationName:"rows" type:"map" required:"true"`
  2342  
  2343  	// The updated workbook cursor after updating or appending rows in the table.
  2344  	//
  2345  	// WorkbookCursor is a required field
  2346  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"`
  2347  }
  2348  
  2349  // String returns the string representation.
  2350  //
  2351  // API parameter values that are decorated as "sensitive" in the API will not
  2352  // be included in the string output. The member name will be present, but the
  2353  // value will be replaced with "sensitive".
  2354  func (s BatchUpsertTableRowsOutput) String() string {
  2355  	return awsutil.Prettify(s)
  2356  }
  2357  
  2358  // GoString returns the string representation.
  2359  //
  2360  // API parameter values that are decorated as "sensitive" in the API will not
  2361  // be included in the string output. The member name will be present, but the
  2362  // value will be replaced with "sensitive".
  2363  func (s BatchUpsertTableRowsOutput) GoString() string {
  2364  	return s.String()
  2365  }
  2366  
  2367  // SetFailedBatchItems sets the FailedBatchItems field's value.
  2368  func (s *BatchUpsertTableRowsOutput) SetFailedBatchItems(v []*FailedBatchItem) *BatchUpsertTableRowsOutput {
  2369  	s.FailedBatchItems = v
  2370  	return s
  2371  }
  2372  
  2373  // SetRows sets the Rows field's value.
  2374  func (s *BatchUpsertTableRowsOutput) SetRows(v map[string]*UpsertRowsResult) *BatchUpsertTableRowsOutput {
  2375  	s.Rows = v
  2376  	return s
  2377  }
  2378  
  2379  // SetWorkbookCursor sets the WorkbookCursor field's value.
  2380  func (s *BatchUpsertTableRowsOutput) SetWorkbookCursor(v int64) *BatchUpsertTableRowsOutput {
  2381  	s.WorkbookCursor = &v
  2382  	return s
  2383  }
  2384  
  2385  // An object that represents a single cell in a table.
  2386  type Cell struct {
  2387  	_ struct{} `type:"structure" sensitive:"true"`
  2388  
  2389  	// The format of the cell. If this field is empty, then the format is either
  2390  	// not specified in the workbook or the format is set to AUTO.
  2391  	Format *string `locationName:"format" type:"string" enum:"Format"`
  2392  
  2393  	// The formatted value of the cell. This is the value that you see displayed
  2394  	// in the cell in the UI.
  2395  	//
  2396  	// Note that the formatted value of a cell is always represented as a string
  2397  	// irrespective of the data that is stored in the cell. For example, if a cell
  2398  	// contains a date, the formatted value of the cell is the string representation
  2399  	// of the formatted date being shown in the cell in the UI. See details in the
  2400  	// rawValue field below for how cells of different formats will have different
  2401  	// raw and formatted values.
  2402  	FormattedValue *string `locationName:"formattedValue" type:"string"`
  2403  
  2404  	// The formula contained in the cell. This field is empty if a cell does not
  2405  	// have a formula.
  2406  	//
  2407  	// Formula is a sensitive parameter and its value will be
  2408  	// replaced with "sensitive" in string returned by Cell's
  2409  	// String and GoString methods.
  2410  	Formula *string `locationName:"formula" type:"string" sensitive:"true"`
  2411  
  2412  	// The raw value of the data contained in the cell. The raw value depends on
  2413  	// the format of the data in the cell. However the attribute in the API return
  2414  	// value is always a string containing the raw value.
  2415  	//
  2416  	// Cells with format DATE, DATE_TIME or TIME have the raw value as a floating
  2417  	// point number where the whole number represents the number of days since 1/1/1900
  2418  	// and the fractional part represents the fraction of the day since midnight.
  2419  	// For example, a cell with date 11/3/2020 has the raw value "44138". A cell
  2420  	// with the time 9:00 AM has the raw value "0.375" and a cell with date/time
  2421  	// value of 11/3/2020 9:00 AM has the raw value "44138.375". Notice that even
  2422  	// though the raw value is a number in all three cases, it is still represented
  2423  	// as a string.
  2424  	//
  2425  	// Cells with format NUMBER, CURRENCY, PERCENTAGE and ACCOUNTING have the raw
  2426  	// value of the data as the number representing the data being displayed. For
  2427  	// example, the number 1.325 with two decimal places in the format will have
  2428  	// it's raw value as "1.325" and formatted value as "1.33". A currency value
  2429  	// for $10 will have the raw value as "10" and formatted value as "$10.00".
  2430  	// A value representing 20% with two decimal places in the format will have
  2431  	// its raw value as "0.2" and the formatted value as "20.00%". An accounting
  2432  	// value of -$25 will have "-25" as the raw value and "$ (25.00)" as the formatted
  2433  	// value.
  2434  	//
  2435  	// Cells with format TEXT will have the raw text as the raw value. For example,
  2436  	// a cell with text "John Smith" will have "John Smith" as both the raw value
  2437  	// and the formatted value.
  2438  	//
  2439  	// Cells with format CONTACT will have the name of the contact as a formatted
  2440  	// value and the email address of the contact as the raw value. For example,
  2441  	// a contact for John Smith will have "John Smith" as the formatted value and
  2442  	// "john.smith@example.com" as the raw value.
  2443  	//
  2444  	// Cells with format ROWLINK (aka picklist) will have the first column of the
  2445  	// linked row as the formatted value and the row id of the linked row as the
  2446  	// raw value. For example, a cell containing a picklist to a table that displays
  2447  	// task status might have "Completed" as the formatted value and "row:dfcefaee-5b37-4355-8f28-40c3e4ff5dd4/ca432b2f-b8eb-431d-9fb5-cbe0342f9f03"
  2448  	// as the raw value.
  2449  	//
  2450  	// Cells with format AUTO or cells without any format that are auto-detected
  2451  	// as one of the formats above will contain the raw and formatted values as
  2452  	// mentioned above, based on the auto-detected formats. If there is no auto-detected
  2453  	// format, the raw and formatted values will be the same as the data in the
  2454  	// cell.
  2455  	RawValue *string `locationName:"rawValue" type:"string"`
  2456  }
  2457  
  2458  // String returns the string representation.
  2459  //
  2460  // API parameter values that are decorated as "sensitive" in the API will not
  2461  // be included in the string output. The member name will be present, but the
  2462  // value will be replaced with "sensitive".
  2463  func (s Cell) String() string {
  2464  	return awsutil.Prettify(s)
  2465  }
  2466  
  2467  // GoString returns the string representation.
  2468  //
  2469  // API parameter values that are decorated as "sensitive" in the API will not
  2470  // be included in the string output. The member name will be present, but the
  2471  // value will be replaced with "sensitive".
  2472  func (s Cell) GoString() string {
  2473  	return s.String()
  2474  }
  2475  
  2476  // SetFormat sets the Format field's value.
  2477  func (s *Cell) SetFormat(v string) *Cell {
  2478  	s.Format = &v
  2479  	return s
  2480  }
  2481  
  2482  // SetFormattedValue sets the FormattedValue field's value.
  2483  func (s *Cell) SetFormattedValue(v string) *Cell {
  2484  	s.FormattedValue = &v
  2485  	return s
  2486  }
  2487  
  2488  // SetFormula sets the Formula field's value.
  2489  func (s *Cell) SetFormula(v string) *Cell {
  2490  	s.Formula = &v
  2491  	return s
  2492  }
  2493  
  2494  // SetRawValue sets the RawValue field's value.
  2495  func (s *Cell) SetRawValue(v string) *Cell {
  2496  	s.RawValue = &v
  2497  	return s
  2498  }
  2499  
  2500  // CellInput object contains the data needed to create or update cells in a
  2501  // table.
  2502  type CellInput struct {
  2503  	_ struct{} `type:"structure"`
  2504  
  2505  	// Fact represents the data that is entered into a cell. This data can be free
  2506  	// text or a formula. Formulas need to start with the equals (=) sign.
  2507  	//
  2508  	// Fact is a sensitive parameter and its value will be
  2509  	// replaced with "sensitive" in string returned by CellInput's
  2510  	// String and GoString methods.
  2511  	Fact *string `locationName:"fact" type:"string" sensitive:"true"`
  2512  }
  2513  
  2514  // String returns the string representation.
  2515  //
  2516  // API parameter values that are decorated as "sensitive" in the API will not
  2517  // be included in the string output. The member name will be present, but the
  2518  // value will be replaced with "sensitive".
  2519  func (s CellInput) String() string {
  2520  	return awsutil.Prettify(s)
  2521  }
  2522  
  2523  // GoString returns the string representation.
  2524  //
  2525  // API parameter values that are decorated as "sensitive" in the API will not
  2526  // be included in the string output. The member name will be present, but the
  2527  // value will be replaced with "sensitive".
  2528  func (s CellInput) GoString() string {
  2529  	return s.String()
  2530  }
  2531  
  2532  // SetFact sets the Fact field's value.
  2533  func (s *CellInput) SetFact(v string) *CellInput {
  2534  	s.Fact = &v
  2535  	return s
  2536  }
  2537  
  2538  // Metadata for column in the table.
  2539  type ColumnMetadata struct {
  2540  	_ struct{} `type:"structure"`
  2541  
  2542  	// The format of the column.
  2543  	//
  2544  	// Format is a required field
  2545  	Format *string `locationName:"format" type:"string" required:"true" enum:"Format"`
  2546  
  2547  	// The name of the column.
  2548  	//
  2549  	// Name is a sensitive parameter and its value will be
  2550  	// replaced with "sensitive" in string returned by ColumnMetadata's
  2551  	// String and GoString methods.
  2552  	//
  2553  	// Name is a required field
  2554  	Name *string `locationName:"name" type:"string" required:"true" sensitive:"true"`
  2555  }
  2556  
  2557  // String returns the string representation.
  2558  //
  2559  // API parameter values that are decorated as "sensitive" in the API will not
  2560  // be included in the string output. The member name will be present, but the
  2561  // value will be replaced with "sensitive".
  2562  func (s ColumnMetadata) String() string {
  2563  	return awsutil.Prettify(s)
  2564  }
  2565  
  2566  // GoString returns the string representation.
  2567  //
  2568  // API parameter values that are decorated as "sensitive" in the API will not
  2569  // be included in the string output. The member name will be present, but the
  2570  // value will be replaced with "sensitive".
  2571  func (s ColumnMetadata) GoString() string {
  2572  	return s.String()
  2573  }
  2574  
  2575  // SetFormat sets the Format field's value.
  2576  func (s *ColumnMetadata) SetFormat(v string) *ColumnMetadata {
  2577  	s.Format = &v
  2578  	return s
  2579  }
  2580  
  2581  // SetName sets the Name field's value.
  2582  func (s *ColumnMetadata) SetName(v string) *ColumnMetadata {
  2583  	s.Name = &v
  2584  	return s
  2585  }
  2586  
  2587  // Data needed to create a single row in a table as part of the BatchCreateTableRows
  2588  // request.
  2589  type CreateRowData struct {
  2590  	_ struct{} `type:"structure"`
  2591  
  2592  	// An external identifier that represents the single row that is being created
  2593  	// as part of the BatchCreateTableRows request. This can be any string that
  2594  	// you can use to identify the row in the request. The BatchCreateTableRows
  2595  	// API puts the batch item id in the results to allow you to link data in the
  2596  	// request to data in the results.
  2597  	//
  2598  	// BatchItemId is a required field
  2599  	BatchItemId *string `locationName:"batchItemId" min:"1" type:"string" required:"true"`
  2600  
  2601  	// A map representing the cells to create in the new row. The key is the column
  2602  	// id of the cell and the value is the CellInput object that represents the
  2603  	// data to set in that cell.
  2604  	//
  2605  	// CellsToCreate is a required field
  2606  	CellsToCreate map[string]*CellInput `locationName:"cellsToCreate" min:"1" type:"map" required:"true"`
  2607  }
  2608  
  2609  // String returns the string representation.
  2610  //
  2611  // API parameter values that are decorated as "sensitive" in the API will not
  2612  // be included in the string output. The member name will be present, but the
  2613  // value will be replaced with "sensitive".
  2614  func (s CreateRowData) String() string {
  2615  	return awsutil.Prettify(s)
  2616  }
  2617  
  2618  // GoString returns the string representation.
  2619  //
  2620  // API parameter values that are decorated as "sensitive" in the API will not
  2621  // be included in the string output. The member name will be present, but the
  2622  // value will be replaced with "sensitive".
  2623  func (s CreateRowData) GoString() string {
  2624  	return s.String()
  2625  }
  2626  
  2627  // Validate inspects the fields of the type to determine if they are valid.
  2628  func (s *CreateRowData) Validate() error {
  2629  	invalidParams := request.ErrInvalidParams{Context: "CreateRowData"}
  2630  	if s.BatchItemId == nil {
  2631  		invalidParams.Add(request.NewErrParamRequired("BatchItemId"))
  2632  	}
  2633  	if s.BatchItemId != nil && len(*s.BatchItemId) < 1 {
  2634  		invalidParams.Add(request.NewErrParamMinLen("BatchItemId", 1))
  2635  	}
  2636  	if s.CellsToCreate == nil {
  2637  		invalidParams.Add(request.NewErrParamRequired("CellsToCreate"))
  2638  	}
  2639  	if s.CellsToCreate != nil && len(s.CellsToCreate) < 1 {
  2640  		invalidParams.Add(request.NewErrParamMinLen("CellsToCreate", 1))
  2641  	}
  2642  
  2643  	if invalidParams.Len() > 0 {
  2644  		return invalidParams
  2645  	}
  2646  	return nil
  2647  }
  2648  
  2649  // SetBatchItemId sets the BatchItemId field's value.
  2650  func (s *CreateRowData) SetBatchItemId(v string) *CreateRowData {
  2651  	s.BatchItemId = &v
  2652  	return s
  2653  }
  2654  
  2655  // SetCellsToCreate sets the CellsToCreate field's value.
  2656  func (s *CreateRowData) SetCellsToCreate(v map[string]*CellInput) *CreateRowData {
  2657  	s.CellsToCreate = v
  2658  	return s
  2659  }
  2660  
  2661  // The data in a particular data cell defined on the screen.
  2662  type DataItem struct {
  2663  	_ struct{} `type:"structure" sensitive:"true"`
  2664  
  2665  	// The formatted value of the data. e.g. John Smith.
  2666  	FormattedValue *string `locationName:"formattedValue" type:"string"`
  2667  
  2668  	// The overrideFormat is optional and is specified only if a particular row
  2669  	// of data has a different format for the data than the default format defined
  2670  	// on the screen or the table.
  2671  	OverrideFormat *string `locationName:"overrideFormat" type:"string" enum:"Format"`
  2672  
  2673  	// The raw value of the data. e.g. jsmith@example.com
  2674  	RawValue *string `locationName:"rawValue" type:"string"`
  2675  }
  2676  
  2677  // String returns the string representation.
  2678  //
  2679  // API parameter values that are decorated as "sensitive" in the API will not
  2680  // be included in the string output. The member name will be present, but the
  2681  // value will be replaced with "sensitive".
  2682  func (s DataItem) String() string {
  2683  	return awsutil.Prettify(s)
  2684  }
  2685  
  2686  // GoString returns the string representation.
  2687  //
  2688  // API parameter values that are decorated as "sensitive" in the API will not
  2689  // be included in the string output. The member name will be present, but the
  2690  // value will be replaced with "sensitive".
  2691  func (s DataItem) GoString() string {
  2692  	return s.String()
  2693  }
  2694  
  2695  // SetFormattedValue sets the FormattedValue field's value.
  2696  func (s *DataItem) SetFormattedValue(v string) *DataItem {
  2697  	s.FormattedValue = &v
  2698  	return s
  2699  }
  2700  
  2701  // SetOverrideFormat sets the OverrideFormat field's value.
  2702  func (s *DataItem) SetOverrideFormat(v string) *DataItem {
  2703  	s.OverrideFormat = &v
  2704  	return s
  2705  }
  2706  
  2707  // SetRawValue sets the RawValue field's value.
  2708  func (s *DataItem) SetRawValue(v string) *DataItem {
  2709  	s.RawValue = &v
  2710  	return s
  2711  }
  2712  
  2713  // An object that contains the options relating to parsing delimited text as
  2714  // part of an import request.
  2715  type DelimitedTextImportOptions struct {
  2716  	_ struct{} `type:"structure"`
  2717  
  2718  	// The encoding of the data in the input file.
  2719  	DataCharacterEncoding *string `locationName:"dataCharacterEncoding" type:"string" enum:"ImportDataCharacterEncoding"`
  2720  
  2721  	// The delimiter to use for separating columns in a single row of the input.
  2722  	//
  2723  	// Delimiter is a required field
  2724  	Delimiter *string `locationName:"delimiter" min:"1" type:"string" required:"true"`
  2725  
  2726  	// Indicates whether the input file has a header row at the top containing the
  2727  	// column names.
  2728  	HasHeaderRow *bool `locationName:"hasHeaderRow" type:"boolean"`
  2729  
  2730  	// A parameter to indicate whether empty rows should be ignored or be included
  2731  	// in the import.
  2732  	IgnoreEmptyRows *bool `locationName:"ignoreEmptyRows" type:"boolean"`
  2733  }
  2734  
  2735  // String returns the string representation.
  2736  //
  2737  // API parameter values that are decorated as "sensitive" in the API will not
  2738  // be included in the string output. The member name will be present, but the
  2739  // value will be replaced with "sensitive".
  2740  func (s DelimitedTextImportOptions) String() string {
  2741  	return awsutil.Prettify(s)
  2742  }
  2743  
  2744  // GoString returns the string representation.
  2745  //
  2746  // API parameter values that are decorated as "sensitive" in the API will not
  2747  // be included in the string output. The member name will be present, but the
  2748  // value will be replaced with "sensitive".
  2749  func (s DelimitedTextImportOptions) GoString() string {
  2750  	return s.String()
  2751  }
  2752  
  2753  // Validate inspects the fields of the type to determine if they are valid.
  2754  func (s *DelimitedTextImportOptions) Validate() error {
  2755  	invalidParams := request.ErrInvalidParams{Context: "DelimitedTextImportOptions"}
  2756  	if s.Delimiter == nil {
  2757  		invalidParams.Add(request.NewErrParamRequired("Delimiter"))
  2758  	}
  2759  	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
  2760  		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
  2761  	}
  2762  
  2763  	if invalidParams.Len() > 0 {
  2764  		return invalidParams
  2765  	}
  2766  	return nil
  2767  }
  2768  
  2769  // SetDataCharacterEncoding sets the DataCharacterEncoding field's value.
  2770  func (s *DelimitedTextImportOptions) SetDataCharacterEncoding(v string) *DelimitedTextImportOptions {
  2771  	s.DataCharacterEncoding = &v
  2772  	return s
  2773  }
  2774  
  2775  // SetDelimiter sets the Delimiter field's value.
  2776  func (s *DelimitedTextImportOptions) SetDelimiter(v string) *DelimitedTextImportOptions {
  2777  	s.Delimiter = &v
  2778  	return s
  2779  }
  2780  
  2781  // SetHasHeaderRow sets the HasHeaderRow field's value.
  2782  func (s *DelimitedTextImportOptions) SetHasHeaderRow(v bool) *DelimitedTextImportOptions {
  2783  	s.HasHeaderRow = &v
  2784  	return s
  2785  }
  2786  
  2787  // SetIgnoreEmptyRows sets the IgnoreEmptyRows field's value.
  2788  func (s *DelimitedTextImportOptions) SetIgnoreEmptyRows(v bool) *DelimitedTextImportOptions {
  2789  	s.IgnoreEmptyRows = &v
  2790  	return s
  2791  }
  2792  
  2793  type DescribeTableDataImportJobInput struct {
  2794  	_ struct{} `type:"structure" nopayload:"true"`
  2795  
  2796  	// The ID of the job that was returned by the StartTableDataImportJob request.
  2797  	//
  2798  	// If a job with the specified id could not be found, this API throws ResourceNotFoundException.
  2799  	//
  2800  	// JobId is a required field
  2801  	JobId *string `location:"uri" locationName:"jobId" min:"1" type:"string" required:"true"`
  2802  
  2803  	// The ID of the table into which data was imported.
  2804  	//
  2805  	// If a table with the specified id could not be found, this API throws ResourceNotFoundException.
  2806  	//
  2807  	// TableId is a required field
  2808  	TableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  2809  
  2810  	// The ID of the workbook into which data was imported.
  2811  	//
  2812  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  2813  	//
  2814  	// WorkbookId is a required field
  2815  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  2816  }
  2817  
  2818  // String returns the string representation.
  2819  //
  2820  // API parameter values that are decorated as "sensitive" in the API will not
  2821  // be included in the string output. The member name will be present, but the
  2822  // value will be replaced with "sensitive".
  2823  func (s DescribeTableDataImportJobInput) String() string {
  2824  	return awsutil.Prettify(s)
  2825  }
  2826  
  2827  // GoString returns the string representation.
  2828  //
  2829  // API parameter values that are decorated as "sensitive" in the API will not
  2830  // be included in the string output. The member name will be present, but the
  2831  // value will be replaced with "sensitive".
  2832  func (s DescribeTableDataImportJobInput) GoString() string {
  2833  	return s.String()
  2834  }
  2835  
  2836  // Validate inspects the fields of the type to determine if they are valid.
  2837  func (s *DescribeTableDataImportJobInput) Validate() error {
  2838  	invalidParams := request.ErrInvalidParams{Context: "DescribeTableDataImportJobInput"}
  2839  	if s.JobId == nil {
  2840  		invalidParams.Add(request.NewErrParamRequired("JobId"))
  2841  	}
  2842  	if s.JobId != nil && len(*s.JobId) < 1 {
  2843  		invalidParams.Add(request.NewErrParamMinLen("JobId", 1))
  2844  	}
  2845  	if s.TableId == nil {
  2846  		invalidParams.Add(request.NewErrParamRequired("TableId"))
  2847  	}
  2848  	if s.TableId != nil && len(*s.TableId) < 36 {
  2849  		invalidParams.Add(request.NewErrParamMinLen("TableId", 36))
  2850  	}
  2851  	if s.WorkbookId == nil {
  2852  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  2853  	}
  2854  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  2855  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  2856  	}
  2857  
  2858  	if invalidParams.Len() > 0 {
  2859  		return invalidParams
  2860  	}
  2861  	return nil
  2862  }
  2863  
  2864  // SetJobId sets the JobId field's value.
  2865  func (s *DescribeTableDataImportJobInput) SetJobId(v string) *DescribeTableDataImportJobInput {
  2866  	s.JobId = &v
  2867  	return s
  2868  }
  2869  
  2870  // SetTableId sets the TableId field's value.
  2871  func (s *DescribeTableDataImportJobInput) SetTableId(v string) *DescribeTableDataImportJobInput {
  2872  	s.TableId = &v
  2873  	return s
  2874  }
  2875  
  2876  // SetWorkbookId sets the WorkbookId field's value.
  2877  func (s *DescribeTableDataImportJobInput) SetWorkbookId(v string) *DescribeTableDataImportJobInput {
  2878  	s.WorkbookId = &v
  2879  	return s
  2880  }
  2881  
  2882  type DescribeTableDataImportJobOutput struct {
  2883  	_ struct{} `type:"structure"`
  2884  
  2885  	// The metadata about the job that was submitted for import.
  2886  	//
  2887  	// JobMetadata is a required field
  2888  	JobMetadata *TableDataImportJobMetadata `locationName:"jobMetadata" type:"structure" required:"true"`
  2889  
  2890  	// The current status of the import job.
  2891  	//
  2892  	// JobStatus is a required field
  2893  	JobStatus *string `locationName:"jobStatus" type:"string" required:"true" enum:"TableDataImportJobStatus"`
  2894  
  2895  	// A message providing more details about the current status of the import job.
  2896  	//
  2897  	// Message is a required field
  2898  	Message *string `locationName:"message" type:"string" required:"true"`
  2899  }
  2900  
  2901  // String returns the string representation.
  2902  //
  2903  // API parameter values that are decorated as "sensitive" in the API will not
  2904  // be included in the string output. The member name will be present, but the
  2905  // value will be replaced with "sensitive".
  2906  func (s DescribeTableDataImportJobOutput) String() string {
  2907  	return awsutil.Prettify(s)
  2908  }
  2909  
  2910  // GoString returns the string representation.
  2911  //
  2912  // API parameter values that are decorated as "sensitive" in the API will not
  2913  // be included in the string output. The member name will be present, but the
  2914  // value will be replaced with "sensitive".
  2915  func (s DescribeTableDataImportJobOutput) GoString() string {
  2916  	return s.String()
  2917  }
  2918  
  2919  // SetJobMetadata sets the JobMetadata field's value.
  2920  func (s *DescribeTableDataImportJobOutput) SetJobMetadata(v *TableDataImportJobMetadata) *DescribeTableDataImportJobOutput {
  2921  	s.JobMetadata = v
  2922  	return s
  2923  }
  2924  
  2925  // SetJobStatus sets the JobStatus field's value.
  2926  func (s *DescribeTableDataImportJobOutput) SetJobStatus(v string) *DescribeTableDataImportJobOutput {
  2927  	s.JobStatus = &v
  2928  	return s
  2929  }
  2930  
  2931  // SetMessage sets the Message field's value.
  2932  func (s *DescribeTableDataImportJobOutput) SetMessage(v string) *DescribeTableDataImportJobOutput {
  2933  	s.Message = &v
  2934  	return s
  2935  }
  2936  
  2937  // An object that contains the options relating to the destination of the import
  2938  // request.
  2939  type DestinationOptions struct {
  2940  	_ struct{} `type:"structure"`
  2941  
  2942  	// A map of the column id to the import properties for each column.
  2943  	ColumnMap map[string]*SourceDataColumnProperties `locationName:"columnMap" type:"map"`
  2944  }
  2945  
  2946  // String returns the string representation.
  2947  //
  2948  // API parameter values that are decorated as "sensitive" in the API will not
  2949  // be included in the string output. The member name will be present, but the
  2950  // value will be replaced with "sensitive".
  2951  func (s DestinationOptions) String() string {
  2952  	return awsutil.Prettify(s)
  2953  }
  2954  
  2955  // GoString returns the string representation.
  2956  //
  2957  // API parameter values that are decorated as "sensitive" in the API will not
  2958  // be included in the string output. The member name will be present, but the
  2959  // value will be replaced with "sensitive".
  2960  func (s DestinationOptions) GoString() string {
  2961  	return s.String()
  2962  }
  2963  
  2964  // Validate inspects the fields of the type to determine if they are valid.
  2965  func (s *DestinationOptions) Validate() error {
  2966  	invalidParams := request.ErrInvalidParams{Context: "DestinationOptions"}
  2967  	if s.ColumnMap != nil {
  2968  		for i, v := range s.ColumnMap {
  2969  			if v == nil {
  2970  				continue
  2971  			}
  2972  			if err := v.Validate(); err != nil {
  2973  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnMap", i), err.(request.ErrInvalidParams))
  2974  			}
  2975  		}
  2976  	}
  2977  
  2978  	if invalidParams.Len() > 0 {
  2979  		return invalidParams
  2980  	}
  2981  	return nil
  2982  }
  2983  
  2984  // SetColumnMap sets the ColumnMap field's value.
  2985  func (s *DestinationOptions) SetColumnMap(v map[string]*SourceDataColumnProperties) *DestinationOptions {
  2986  	s.ColumnMap = v
  2987  	return s
  2988  }
  2989  
  2990  // A single item in a batch that failed to perform the intended action because
  2991  // of an error preventing it from succeeding.
  2992  type FailedBatchItem struct {
  2993  	_ struct{} `type:"structure"`
  2994  
  2995  	// The error message that indicates why the batch item failed.
  2996  	//
  2997  	// ErrorMessage is a required field
  2998  	ErrorMessage *string `locationName:"errorMessage" type:"string" required:"true"`
  2999  
  3000  	// The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows
  3001  	// and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows
  3002  	// and BatchDeleteTableRows operations.
  3003  	//
  3004  	// Id is a required field
  3005  	Id *string `locationName:"id" min:"1" type:"string" required:"true"`
  3006  }
  3007  
  3008  // String returns the string representation.
  3009  //
  3010  // API parameter values that are decorated as "sensitive" in the API will not
  3011  // be included in the string output. The member name will be present, but the
  3012  // value will be replaced with "sensitive".
  3013  func (s FailedBatchItem) String() string {
  3014  	return awsutil.Prettify(s)
  3015  }
  3016  
  3017  // GoString returns the string representation.
  3018  //
  3019  // API parameter values that are decorated as "sensitive" in the API will not
  3020  // be included in the string output. The member name will be present, but the
  3021  // value will be replaced with "sensitive".
  3022  func (s FailedBatchItem) GoString() string {
  3023  	return s.String()
  3024  }
  3025  
  3026  // SetErrorMessage sets the ErrorMessage field's value.
  3027  func (s *FailedBatchItem) SetErrorMessage(v string) *FailedBatchItem {
  3028  	s.ErrorMessage = &v
  3029  	return s
  3030  }
  3031  
  3032  // SetId sets the Id field's value.
  3033  func (s *FailedBatchItem) SetId(v string) *FailedBatchItem {
  3034  	s.Id = &v
  3035  	return s
  3036  }
  3037  
  3038  // An object that represents a filter formula along with the id of the context
  3039  // row under which the filter function needs to evaluate.
  3040  type Filter struct {
  3041  	_ struct{} `type:"structure"`
  3042  
  3043  	// The optional contextRowId attribute can be used to specify the row id of
  3044  	// the context row if the filter formula contains unqualified references to
  3045  	// table columns and needs a context row to evaluate them successfully.
  3046  	ContextRowId *string `locationName:"contextRowId" min:"77" type:"string"`
  3047  
  3048  	// A formula representing a filter function that returns zero or more matching
  3049  	// rows from a table. Valid formulas in this field return a list of rows from
  3050  	// a table. The most common ways of writing a formula to return a list of rows
  3051  	// are to use the FindRow() or Filter() functions. Any other formula that returns
  3052  	// zero or more rows is also acceptable. For example, you can use a formula
  3053  	// that points to a cell that contains a filter function.
  3054  	//
  3055  	// Formula is a sensitive parameter and its value will be
  3056  	// replaced with "sensitive" in string returned by Filter's
  3057  	// String and GoString methods.
  3058  	//
  3059  	// Formula is a required field
  3060  	Formula *string `locationName:"formula" type:"string" required:"true" sensitive:"true"`
  3061  }
  3062  
  3063  // String returns the string representation.
  3064  //
  3065  // API parameter values that are decorated as "sensitive" in the API will not
  3066  // be included in the string output. The member name will be present, but the
  3067  // value will be replaced with "sensitive".
  3068  func (s Filter) String() string {
  3069  	return awsutil.Prettify(s)
  3070  }
  3071  
  3072  // GoString returns the string representation.
  3073  //
  3074  // API parameter values that are decorated as "sensitive" in the API will not
  3075  // be included in the string output. The member name will be present, but the
  3076  // value will be replaced with "sensitive".
  3077  func (s Filter) GoString() string {
  3078  	return s.String()
  3079  }
  3080  
  3081  // Validate inspects the fields of the type to determine if they are valid.
  3082  func (s *Filter) Validate() error {
  3083  	invalidParams := request.ErrInvalidParams{Context: "Filter"}
  3084  	if s.ContextRowId != nil && len(*s.ContextRowId) < 77 {
  3085  		invalidParams.Add(request.NewErrParamMinLen("ContextRowId", 77))
  3086  	}
  3087  	if s.Formula == nil {
  3088  		invalidParams.Add(request.NewErrParamRequired("Formula"))
  3089  	}
  3090  
  3091  	if invalidParams.Len() > 0 {
  3092  		return invalidParams
  3093  	}
  3094  	return nil
  3095  }
  3096  
  3097  // SetContextRowId sets the ContextRowId field's value.
  3098  func (s *Filter) SetContextRowId(v string) *Filter {
  3099  	s.ContextRowId = &v
  3100  	return s
  3101  }
  3102  
  3103  // SetFormula sets the Formula field's value.
  3104  func (s *Filter) SetFormula(v string) *Filter {
  3105  	s.Formula = &v
  3106  	return s
  3107  }
  3108  
  3109  type GetScreenDataInput struct {
  3110  	_ struct{} `type:"structure"`
  3111  
  3112  	// The ID of the app that contains the screem.
  3113  	//
  3114  	// AppId is a required field
  3115  	AppId *string `locationName:"appId" min:"36" type:"string" required:"true"`
  3116  
  3117  	// The number of results to be returned on a single page. Specify a number between
  3118  	// 1 and 100. The maximum value is 100.
  3119  	//
  3120  	// This parameter is optional. If you don't specify this parameter, the default
  3121  	// page size is 100.
  3122  	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
  3123  
  3124  	// This parameter is optional. If a nextToken is not specified, the API returns
  3125  	// the first page of data.
  3126  	//
  3127  	// Pagination tokens expire after 1 hour. If you use a token that was returned
  3128  	// more than an hour back, the API will throw ValidationException.
  3129  	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  3130  
  3131  	// The ID of the screen.
  3132  	//
  3133  	// ScreenId is a required field
  3134  	ScreenId *string `locationName:"screenId" min:"36" type:"string" required:"true"`
  3135  
  3136  	// Variables are optional and are needed only if the screen requires them to
  3137  	// render correctly. Variables are specified as a map where the key is the name
  3138  	// of the variable as defined on the screen. The value is an object which currently
  3139  	// has only one property, rawValue, which holds the value of the variable to
  3140  	// be passed to the screen.
  3141  	//
  3142  	// Variables is a sensitive parameter and its value will be
  3143  	// replaced with "sensitive" in string returned by GetScreenDataInput's
  3144  	// String and GoString methods.
  3145  	Variables map[string]*VariableValue `locationName:"variables" type:"map" sensitive:"true"`
  3146  
  3147  	// The ID of the workbook that contains the screen.
  3148  	//
  3149  	// WorkbookId is a required field
  3150  	WorkbookId *string `locationName:"workbookId" min:"36" type:"string" required:"true"`
  3151  }
  3152  
  3153  // String returns the string representation.
  3154  //
  3155  // API parameter values that are decorated as "sensitive" in the API will not
  3156  // be included in the string output. The member name will be present, but the
  3157  // value will be replaced with "sensitive".
  3158  func (s GetScreenDataInput) String() string {
  3159  	return awsutil.Prettify(s)
  3160  }
  3161  
  3162  // GoString returns the string representation.
  3163  //
  3164  // API parameter values that are decorated as "sensitive" in the API will not
  3165  // be included in the string output. The member name will be present, but the
  3166  // value will be replaced with "sensitive".
  3167  func (s GetScreenDataInput) GoString() string {
  3168  	return s.String()
  3169  }
  3170  
  3171  // Validate inspects the fields of the type to determine if they are valid.
  3172  func (s *GetScreenDataInput) Validate() error {
  3173  	invalidParams := request.ErrInvalidParams{Context: "GetScreenDataInput"}
  3174  	if s.AppId == nil {
  3175  		invalidParams.Add(request.NewErrParamRequired("AppId"))
  3176  	}
  3177  	if s.AppId != nil && len(*s.AppId) < 36 {
  3178  		invalidParams.Add(request.NewErrParamMinLen("AppId", 36))
  3179  	}
  3180  	if s.MaxResults != nil && *s.MaxResults < 1 {
  3181  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  3182  	}
  3183  	if s.NextToken != nil && len(*s.NextToken) < 1 {
  3184  		invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  3185  	}
  3186  	if s.ScreenId == nil {
  3187  		invalidParams.Add(request.NewErrParamRequired("ScreenId"))
  3188  	}
  3189  	if s.ScreenId != nil && len(*s.ScreenId) < 36 {
  3190  		invalidParams.Add(request.NewErrParamMinLen("ScreenId", 36))
  3191  	}
  3192  	if s.WorkbookId == nil {
  3193  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  3194  	}
  3195  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  3196  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  3197  	}
  3198  	if s.Variables != nil {
  3199  		for i, v := range s.Variables {
  3200  			if v == nil {
  3201  				continue
  3202  			}
  3203  			if err := v.Validate(); err != nil {
  3204  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Variables", i), err.(request.ErrInvalidParams))
  3205  			}
  3206  		}
  3207  	}
  3208  
  3209  	if invalidParams.Len() > 0 {
  3210  		return invalidParams
  3211  	}
  3212  	return nil
  3213  }
  3214  
  3215  // SetAppId sets the AppId field's value.
  3216  func (s *GetScreenDataInput) SetAppId(v string) *GetScreenDataInput {
  3217  	s.AppId = &v
  3218  	return s
  3219  }
  3220  
  3221  // SetMaxResults sets the MaxResults field's value.
  3222  func (s *GetScreenDataInput) SetMaxResults(v int64) *GetScreenDataInput {
  3223  	s.MaxResults = &v
  3224  	return s
  3225  }
  3226  
  3227  // SetNextToken sets the NextToken field's value.
  3228  func (s *GetScreenDataInput) SetNextToken(v string) *GetScreenDataInput {
  3229  	s.NextToken = &v
  3230  	return s
  3231  }
  3232  
  3233  // SetScreenId sets the ScreenId field's value.
  3234  func (s *GetScreenDataInput) SetScreenId(v string) *GetScreenDataInput {
  3235  	s.ScreenId = &v
  3236  	return s
  3237  }
  3238  
  3239  // SetVariables sets the Variables field's value.
  3240  func (s *GetScreenDataInput) SetVariables(v map[string]*VariableValue) *GetScreenDataInput {
  3241  	s.Variables = v
  3242  	return s
  3243  }
  3244  
  3245  // SetWorkbookId sets the WorkbookId field's value.
  3246  func (s *GetScreenDataInput) SetWorkbookId(v string) *GetScreenDataInput {
  3247  	s.WorkbookId = &v
  3248  	return s
  3249  }
  3250  
  3251  type GetScreenDataOutput struct {
  3252  	_ struct{} `type:"structure"`
  3253  
  3254  	// Provides the pagination token to load the next page if there are more results
  3255  	// matching the request. If a pagination token is not present in the response,
  3256  	// it means that all data matching the query has been loaded.
  3257  	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  3258  
  3259  	// A map of all the rows on the screen keyed by block name.
  3260  	//
  3261  	// Results is a required field
  3262  	Results map[string]*ResultSet `locationName:"results" type:"map" required:"true"`
  3263  
  3264  	// Indicates the cursor of the workbook at which the data returned by this workbook
  3265  	// is read. Workbook cursor keeps increasing with every update and the increments
  3266  	// are not sequential.
  3267  	//
  3268  	// WorkbookCursor is a required field
  3269  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"`
  3270  }
  3271  
  3272  // String returns the string representation.
  3273  //
  3274  // API parameter values that are decorated as "sensitive" in the API will not
  3275  // be included in the string output. The member name will be present, but the
  3276  // value will be replaced with "sensitive".
  3277  func (s GetScreenDataOutput) String() string {
  3278  	return awsutil.Prettify(s)
  3279  }
  3280  
  3281  // GoString returns the string representation.
  3282  //
  3283  // API parameter values that are decorated as "sensitive" in the API will not
  3284  // be included in the string output. The member name will be present, but the
  3285  // value will be replaced with "sensitive".
  3286  func (s GetScreenDataOutput) GoString() string {
  3287  	return s.String()
  3288  }
  3289  
  3290  // SetNextToken sets the NextToken field's value.
  3291  func (s *GetScreenDataOutput) SetNextToken(v string) *GetScreenDataOutput {
  3292  	s.NextToken = &v
  3293  	return s
  3294  }
  3295  
  3296  // SetResults sets the Results field's value.
  3297  func (s *GetScreenDataOutput) SetResults(v map[string]*ResultSet) *GetScreenDataOutput {
  3298  	s.Results = v
  3299  	return s
  3300  }
  3301  
  3302  // SetWorkbookCursor sets the WorkbookCursor field's value.
  3303  func (s *GetScreenDataOutput) SetWorkbookCursor(v int64) *GetScreenDataOutput {
  3304  	s.WorkbookCursor = &v
  3305  	return s
  3306  }
  3307  
  3308  // An object that has details about the source of the data that was submitted
  3309  // for import.
  3310  type ImportDataSource struct {
  3311  	_ struct{} `type:"structure"`
  3312  
  3313  	// The configuration parameters for the data source of the import
  3314  	//
  3315  	// DataSourceConfig is a required field
  3316  	DataSourceConfig *ImportDataSourceConfig `locationName:"dataSourceConfig" type:"structure" required:"true"`
  3317  }
  3318  
  3319  // String returns the string representation.
  3320  //
  3321  // API parameter values that are decorated as "sensitive" in the API will not
  3322  // be included in the string output. The member name will be present, but the
  3323  // value will be replaced with "sensitive".
  3324  func (s ImportDataSource) String() string {
  3325  	return awsutil.Prettify(s)
  3326  }
  3327  
  3328  // GoString returns the string representation.
  3329  //
  3330  // API parameter values that are decorated as "sensitive" in the API will not
  3331  // be included in the string output. The member name will be present, but the
  3332  // value will be replaced with "sensitive".
  3333  func (s ImportDataSource) GoString() string {
  3334  	return s.String()
  3335  }
  3336  
  3337  // Validate inspects the fields of the type to determine if they are valid.
  3338  func (s *ImportDataSource) Validate() error {
  3339  	invalidParams := request.ErrInvalidParams{Context: "ImportDataSource"}
  3340  	if s.DataSourceConfig == nil {
  3341  		invalidParams.Add(request.NewErrParamRequired("DataSourceConfig"))
  3342  	}
  3343  	if s.DataSourceConfig != nil {
  3344  		if err := s.DataSourceConfig.Validate(); err != nil {
  3345  			invalidParams.AddNested("DataSourceConfig", err.(request.ErrInvalidParams))
  3346  		}
  3347  	}
  3348  
  3349  	if invalidParams.Len() > 0 {
  3350  		return invalidParams
  3351  	}
  3352  	return nil
  3353  }
  3354  
  3355  // SetDataSourceConfig sets the DataSourceConfig field's value.
  3356  func (s *ImportDataSource) SetDataSourceConfig(v *ImportDataSourceConfig) *ImportDataSource {
  3357  	s.DataSourceConfig = v
  3358  	return s
  3359  }
  3360  
  3361  // An object that contains the configuration parameters for the data source
  3362  // of an import request.
  3363  type ImportDataSourceConfig struct {
  3364  	_ struct{} `type:"structure"`
  3365  
  3366  	// The URL from which source data will be downloaded for the import request.
  3367  	DataSourceUrl *string `locationName:"dataSourceUrl" min:"1" type:"string"`
  3368  }
  3369  
  3370  // String returns the string representation.
  3371  //
  3372  // API parameter values that are decorated as "sensitive" in the API will not
  3373  // be included in the string output. The member name will be present, but the
  3374  // value will be replaced with "sensitive".
  3375  func (s ImportDataSourceConfig) String() string {
  3376  	return awsutil.Prettify(s)
  3377  }
  3378  
  3379  // GoString returns the string representation.
  3380  //
  3381  // API parameter values that are decorated as "sensitive" in the API will not
  3382  // be included in the string output. The member name will be present, but the
  3383  // value will be replaced with "sensitive".
  3384  func (s ImportDataSourceConfig) GoString() string {
  3385  	return s.String()
  3386  }
  3387  
  3388  // Validate inspects the fields of the type to determine if they are valid.
  3389  func (s *ImportDataSourceConfig) Validate() error {
  3390  	invalidParams := request.ErrInvalidParams{Context: "ImportDataSourceConfig"}
  3391  	if s.DataSourceUrl != nil && len(*s.DataSourceUrl) < 1 {
  3392  		invalidParams.Add(request.NewErrParamMinLen("DataSourceUrl", 1))
  3393  	}
  3394  
  3395  	if invalidParams.Len() > 0 {
  3396  		return invalidParams
  3397  	}
  3398  	return nil
  3399  }
  3400  
  3401  // SetDataSourceUrl sets the DataSourceUrl field's value.
  3402  func (s *ImportDataSourceConfig) SetDataSourceUrl(v string) *ImportDataSourceConfig {
  3403  	s.DataSourceUrl = &v
  3404  	return s
  3405  }
  3406  
  3407  // An object that contains the attributes of the submitter of the import job.
  3408  type ImportJobSubmitter struct {
  3409  	_ struct{} `type:"structure"`
  3410  
  3411  	// The email id of the submitter of the import job, if available.
  3412  	//
  3413  	// Email is a sensitive parameter and its value will be
  3414  	// replaced with "sensitive" in string returned by ImportJobSubmitter's
  3415  	// String and GoString methods.
  3416  	Email *string `locationName:"email" min:"3" type:"string" sensitive:"true"`
  3417  
  3418  	// The AWS user ARN of the submitter of the import job, if available.
  3419  	UserArn *string `locationName:"userArn" min:"20" type:"string"`
  3420  }
  3421  
  3422  // String returns the string representation.
  3423  //
  3424  // API parameter values that are decorated as "sensitive" in the API will not
  3425  // be included in the string output. The member name will be present, but the
  3426  // value will be replaced with "sensitive".
  3427  func (s ImportJobSubmitter) String() string {
  3428  	return awsutil.Prettify(s)
  3429  }
  3430  
  3431  // GoString returns the string representation.
  3432  //
  3433  // API parameter values that are decorated as "sensitive" in the API will not
  3434  // be included in the string output. The member name will be present, but the
  3435  // value will be replaced with "sensitive".
  3436  func (s ImportJobSubmitter) GoString() string {
  3437  	return s.String()
  3438  }
  3439  
  3440  // SetEmail sets the Email field's value.
  3441  func (s *ImportJobSubmitter) SetEmail(v string) *ImportJobSubmitter {
  3442  	s.Email = &v
  3443  	return s
  3444  }
  3445  
  3446  // SetUserArn sets the UserArn field's value.
  3447  func (s *ImportJobSubmitter) SetUserArn(v string) *ImportJobSubmitter {
  3448  	s.UserArn = &v
  3449  	return s
  3450  }
  3451  
  3452  // An object that contains the options specified by the sumitter of the import
  3453  // request.
  3454  type ImportOptions struct {
  3455  	_ struct{} `type:"structure"`
  3456  
  3457  	// Options relating to parsing delimited text. Required if dataFormat is DELIMITED_TEXT.
  3458  	DelimitedTextOptions *DelimitedTextImportOptions `locationName:"delimitedTextOptions" type:"structure"`
  3459  
  3460  	// Options relating to the destination of the import request.
  3461  	DestinationOptions *DestinationOptions `locationName:"destinationOptions" type:"structure"`
  3462  }
  3463  
  3464  // String returns the string representation.
  3465  //
  3466  // API parameter values that are decorated as "sensitive" in the API will not
  3467  // be included in the string output. The member name will be present, but the
  3468  // value will be replaced with "sensitive".
  3469  func (s ImportOptions) String() string {
  3470  	return awsutil.Prettify(s)
  3471  }
  3472  
  3473  // GoString returns the string representation.
  3474  //
  3475  // API parameter values that are decorated as "sensitive" in the API will not
  3476  // be included in the string output. The member name will be present, but the
  3477  // value will be replaced with "sensitive".
  3478  func (s ImportOptions) GoString() string {
  3479  	return s.String()
  3480  }
  3481  
  3482  // Validate inspects the fields of the type to determine if they are valid.
  3483  func (s *ImportOptions) Validate() error {
  3484  	invalidParams := request.ErrInvalidParams{Context: "ImportOptions"}
  3485  	if s.DelimitedTextOptions != nil {
  3486  		if err := s.DelimitedTextOptions.Validate(); err != nil {
  3487  			invalidParams.AddNested("DelimitedTextOptions", err.(request.ErrInvalidParams))
  3488  		}
  3489  	}
  3490  	if s.DestinationOptions != nil {
  3491  		if err := s.DestinationOptions.Validate(); err != nil {
  3492  			invalidParams.AddNested("DestinationOptions", err.(request.ErrInvalidParams))
  3493  		}
  3494  	}
  3495  
  3496  	if invalidParams.Len() > 0 {
  3497  		return invalidParams
  3498  	}
  3499  	return nil
  3500  }
  3501  
  3502  // SetDelimitedTextOptions sets the DelimitedTextOptions field's value.
  3503  func (s *ImportOptions) SetDelimitedTextOptions(v *DelimitedTextImportOptions) *ImportOptions {
  3504  	s.DelimitedTextOptions = v
  3505  	return s
  3506  }
  3507  
  3508  // SetDestinationOptions sets the DestinationOptions field's value.
  3509  func (s *ImportOptions) SetDestinationOptions(v *DestinationOptions) *ImportOptions {
  3510  	s.DestinationOptions = v
  3511  	return s
  3512  }
  3513  
  3514  // There were unexpected errors from the server.
  3515  type InternalServerException struct {
  3516  	_            struct{}                  `type:"structure"`
  3517  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  3518  
  3519  	Message_ *string `locationName:"message" type:"string"`
  3520  }
  3521  
  3522  // String returns the string representation.
  3523  //
  3524  // API parameter values that are decorated as "sensitive" in the API will not
  3525  // be included in the string output. The member name will be present, but the
  3526  // value will be replaced with "sensitive".
  3527  func (s InternalServerException) String() string {
  3528  	return awsutil.Prettify(s)
  3529  }
  3530  
  3531  // GoString returns the string representation.
  3532  //
  3533  // API parameter values that are decorated as "sensitive" in the API will not
  3534  // be included in the string output. The member name will be present, but the
  3535  // value will be replaced with "sensitive".
  3536  func (s InternalServerException) GoString() string {
  3537  	return s.String()
  3538  }
  3539  
  3540  func newErrorInternalServerException(v protocol.ResponseMetadata) error {
  3541  	return &InternalServerException{
  3542  		RespMetadata: v,
  3543  	}
  3544  }
  3545  
  3546  // Code returns the exception type name.
  3547  func (s *InternalServerException) Code() string {
  3548  	return "InternalServerException"
  3549  }
  3550  
  3551  // Message returns the exception's message.
  3552  func (s *InternalServerException) Message() string {
  3553  	if s.Message_ != nil {
  3554  		return *s.Message_
  3555  	}
  3556  	return ""
  3557  }
  3558  
  3559  // OrigErr always returns nil, satisfies awserr.Error interface.
  3560  func (s *InternalServerException) OrigErr() error {
  3561  	return nil
  3562  }
  3563  
  3564  func (s *InternalServerException) Error() string {
  3565  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  3566  }
  3567  
  3568  // Status code returns the HTTP status code for the request's response error.
  3569  func (s *InternalServerException) StatusCode() int {
  3570  	return s.RespMetadata.StatusCode
  3571  }
  3572  
  3573  // RequestID returns the service's response RequestID for request.
  3574  func (s *InternalServerException) RequestID() string {
  3575  	return s.RespMetadata.RequestID
  3576  }
  3577  
  3578  type InvokeScreenAutomationInput struct {
  3579  	_ struct{} `type:"structure"`
  3580  
  3581  	// The ID of the app that contains the screen automation.
  3582  	//
  3583  	// AppId is a required field
  3584  	AppId *string `location:"uri" locationName:"appId" min:"36" type:"string" required:"true"`
  3585  
  3586  	// The request token for performing the automation action. Request tokens help
  3587  	// to identify duplicate requests. If a call times out or fails due to a transient
  3588  	// error like a failed network connection, you can retry the call with the same
  3589  	// request token. The service ensures that if the first call using that request
  3590  	// token is successfully performed, the second call will return the response
  3591  	// of the previous call rather than performing the action again.
  3592  	//
  3593  	// Note that request tokens are valid only for a few minutes. You cannot use
  3594  	// request tokens to dedupe requests spanning hours or days.
  3595  	ClientRequestToken *string `locationName:"clientRequestToken" min:"32" type:"string"`
  3596  
  3597  	// The row ID for the automation if the automation is defined inside a block
  3598  	// with source or list.
  3599  	RowId *string `locationName:"rowId" min:"77" type:"string"`
  3600  
  3601  	// The ID of the automation action to be performed.
  3602  	//
  3603  	// ScreenAutomationId is a required field
  3604  	ScreenAutomationId *string `location:"uri" locationName:"automationId" min:"36" type:"string" required:"true"`
  3605  
  3606  	// The ID of the screen that contains the screen automation.
  3607  	//
  3608  	// ScreenId is a required field
  3609  	ScreenId *string `location:"uri" locationName:"screenId" min:"36" type:"string" required:"true"`
  3610  
  3611  	// Variables are specified as a map where the key is the name of the variable
  3612  	// as defined on the screen. The value is an object which currently has only
  3613  	// one property, rawValue, which holds the value of the variable to be passed
  3614  	// to the screen. Any variables defined in a screen are required to be passed
  3615  	// in the call.
  3616  	//
  3617  	// Variables is a sensitive parameter and its value will be
  3618  	// replaced with "sensitive" in string returned by InvokeScreenAutomationInput's
  3619  	// String and GoString methods.
  3620  	Variables map[string]*VariableValue `locationName:"variables" type:"map" sensitive:"true"`
  3621  
  3622  	// The ID of the workbook that contains the screen automation.
  3623  	//
  3624  	// WorkbookId is a required field
  3625  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  3626  }
  3627  
  3628  // String returns the string representation.
  3629  //
  3630  // API parameter values that are decorated as "sensitive" in the API will not
  3631  // be included in the string output. The member name will be present, but the
  3632  // value will be replaced with "sensitive".
  3633  func (s InvokeScreenAutomationInput) String() string {
  3634  	return awsutil.Prettify(s)
  3635  }
  3636  
  3637  // GoString returns the string representation.
  3638  //
  3639  // API parameter values that are decorated as "sensitive" in the API will not
  3640  // be included in the string output. The member name will be present, but the
  3641  // value will be replaced with "sensitive".
  3642  func (s InvokeScreenAutomationInput) GoString() string {
  3643  	return s.String()
  3644  }
  3645  
  3646  // Validate inspects the fields of the type to determine if they are valid.
  3647  func (s *InvokeScreenAutomationInput) Validate() error {
  3648  	invalidParams := request.ErrInvalidParams{Context: "InvokeScreenAutomationInput"}
  3649  	if s.AppId == nil {
  3650  		invalidParams.Add(request.NewErrParamRequired("AppId"))
  3651  	}
  3652  	if s.AppId != nil && len(*s.AppId) < 36 {
  3653  		invalidParams.Add(request.NewErrParamMinLen("AppId", 36))
  3654  	}
  3655  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
  3656  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
  3657  	}
  3658  	if s.RowId != nil && len(*s.RowId) < 77 {
  3659  		invalidParams.Add(request.NewErrParamMinLen("RowId", 77))
  3660  	}
  3661  	if s.ScreenAutomationId == nil {
  3662  		invalidParams.Add(request.NewErrParamRequired("ScreenAutomationId"))
  3663  	}
  3664  	if s.ScreenAutomationId != nil && len(*s.ScreenAutomationId) < 36 {
  3665  		invalidParams.Add(request.NewErrParamMinLen("ScreenAutomationId", 36))
  3666  	}
  3667  	if s.ScreenId == nil {
  3668  		invalidParams.Add(request.NewErrParamRequired("ScreenId"))
  3669  	}
  3670  	if s.ScreenId != nil && len(*s.ScreenId) < 36 {
  3671  		invalidParams.Add(request.NewErrParamMinLen("ScreenId", 36))
  3672  	}
  3673  	if s.WorkbookId == nil {
  3674  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  3675  	}
  3676  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  3677  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  3678  	}
  3679  	if s.Variables != nil {
  3680  		for i, v := range s.Variables {
  3681  			if v == nil {
  3682  				continue
  3683  			}
  3684  			if err := v.Validate(); err != nil {
  3685  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Variables", i), err.(request.ErrInvalidParams))
  3686  			}
  3687  		}
  3688  	}
  3689  
  3690  	if invalidParams.Len() > 0 {
  3691  		return invalidParams
  3692  	}
  3693  	return nil
  3694  }
  3695  
  3696  // SetAppId sets the AppId field's value.
  3697  func (s *InvokeScreenAutomationInput) SetAppId(v string) *InvokeScreenAutomationInput {
  3698  	s.AppId = &v
  3699  	return s
  3700  }
  3701  
  3702  // SetClientRequestToken sets the ClientRequestToken field's value.
  3703  func (s *InvokeScreenAutomationInput) SetClientRequestToken(v string) *InvokeScreenAutomationInput {
  3704  	s.ClientRequestToken = &v
  3705  	return s
  3706  }
  3707  
  3708  // SetRowId sets the RowId field's value.
  3709  func (s *InvokeScreenAutomationInput) SetRowId(v string) *InvokeScreenAutomationInput {
  3710  	s.RowId = &v
  3711  	return s
  3712  }
  3713  
  3714  // SetScreenAutomationId sets the ScreenAutomationId field's value.
  3715  func (s *InvokeScreenAutomationInput) SetScreenAutomationId(v string) *InvokeScreenAutomationInput {
  3716  	s.ScreenAutomationId = &v
  3717  	return s
  3718  }
  3719  
  3720  // SetScreenId sets the ScreenId field's value.
  3721  func (s *InvokeScreenAutomationInput) SetScreenId(v string) *InvokeScreenAutomationInput {
  3722  	s.ScreenId = &v
  3723  	return s
  3724  }
  3725  
  3726  // SetVariables sets the Variables field's value.
  3727  func (s *InvokeScreenAutomationInput) SetVariables(v map[string]*VariableValue) *InvokeScreenAutomationInput {
  3728  	s.Variables = v
  3729  	return s
  3730  }
  3731  
  3732  // SetWorkbookId sets the WorkbookId field's value.
  3733  func (s *InvokeScreenAutomationInput) SetWorkbookId(v string) *InvokeScreenAutomationInput {
  3734  	s.WorkbookId = &v
  3735  	return s
  3736  }
  3737  
  3738  type InvokeScreenAutomationOutput struct {
  3739  	_ struct{} `type:"structure"`
  3740  
  3741  	// The updated workbook cursor after performing the automation action.
  3742  	//
  3743  	// WorkbookCursor is a required field
  3744  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"`
  3745  }
  3746  
  3747  // String returns the string representation.
  3748  //
  3749  // API parameter values that are decorated as "sensitive" in the API will not
  3750  // be included in the string output. The member name will be present, but the
  3751  // value will be replaced with "sensitive".
  3752  func (s InvokeScreenAutomationOutput) String() string {
  3753  	return awsutil.Prettify(s)
  3754  }
  3755  
  3756  // GoString returns the string representation.
  3757  //
  3758  // API parameter values that are decorated as "sensitive" in the API will not
  3759  // be included in the string output. The member name will be present, but the
  3760  // value will be replaced with "sensitive".
  3761  func (s InvokeScreenAutomationOutput) GoString() string {
  3762  	return s.String()
  3763  }
  3764  
  3765  // SetWorkbookCursor sets the WorkbookCursor field's value.
  3766  func (s *InvokeScreenAutomationOutput) SetWorkbookCursor(v int64) *InvokeScreenAutomationOutput {
  3767  	s.WorkbookCursor = &v
  3768  	return s
  3769  }
  3770  
  3771  type ListTableColumnsInput struct {
  3772  	_ struct{} `type:"structure" nopayload:"true"`
  3773  
  3774  	// This parameter is optional. If a nextToken is not specified, the API returns
  3775  	// the first page of data.
  3776  	//
  3777  	// Pagination tokens expire after 1 hour. If you use a token that was returned
  3778  	// more than an hour back, the API will throw ValidationException.
  3779  	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
  3780  
  3781  	// The ID of the table whose columns are being retrieved.
  3782  	//
  3783  	// If a table with the specified id could not be found, this API throws ResourceNotFoundException.
  3784  	//
  3785  	// TableId is a required field
  3786  	TableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  3787  
  3788  	// The ID of the workbook that contains the table whose columns are being retrieved.
  3789  	//
  3790  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  3791  	//
  3792  	// WorkbookId is a required field
  3793  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  3794  }
  3795  
  3796  // String returns the string representation.
  3797  //
  3798  // API parameter values that are decorated as "sensitive" in the API will not
  3799  // be included in the string output. The member name will be present, but the
  3800  // value will be replaced with "sensitive".
  3801  func (s ListTableColumnsInput) String() string {
  3802  	return awsutil.Prettify(s)
  3803  }
  3804  
  3805  // GoString returns the string representation.
  3806  //
  3807  // API parameter values that are decorated as "sensitive" in the API will not
  3808  // be included in the string output. The member name will be present, but the
  3809  // value will be replaced with "sensitive".
  3810  func (s ListTableColumnsInput) GoString() string {
  3811  	return s.String()
  3812  }
  3813  
  3814  // Validate inspects the fields of the type to determine if they are valid.
  3815  func (s *ListTableColumnsInput) Validate() error {
  3816  	invalidParams := request.ErrInvalidParams{Context: "ListTableColumnsInput"}
  3817  	if s.NextToken != nil && len(*s.NextToken) < 1 {
  3818  		invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  3819  	}
  3820  	if s.TableId == nil {
  3821  		invalidParams.Add(request.NewErrParamRequired("TableId"))
  3822  	}
  3823  	if s.TableId != nil && len(*s.TableId) < 36 {
  3824  		invalidParams.Add(request.NewErrParamMinLen("TableId", 36))
  3825  	}
  3826  	if s.WorkbookId == nil {
  3827  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  3828  	}
  3829  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  3830  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  3831  	}
  3832  
  3833  	if invalidParams.Len() > 0 {
  3834  		return invalidParams
  3835  	}
  3836  	return nil
  3837  }
  3838  
  3839  // SetNextToken sets the NextToken field's value.
  3840  func (s *ListTableColumnsInput) SetNextToken(v string) *ListTableColumnsInput {
  3841  	s.NextToken = &v
  3842  	return s
  3843  }
  3844  
  3845  // SetTableId sets the TableId field's value.
  3846  func (s *ListTableColumnsInput) SetTableId(v string) *ListTableColumnsInput {
  3847  	s.TableId = &v
  3848  	return s
  3849  }
  3850  
  3851  // SetWorkbookId sets the WorkbookId field's value.
  3852  func (s *ListTableColumnsInput) SetWorkbookId(v string) *ListTableColumnsInput {
  3853  	s.WorkbookId = &v
  3854  	return s
  3855  }
  3856  
  3857  type ListTableColumnsOutput struct {
  3858  	_ struct{} `type:"structure"`
  3859  
  3860  	// Provides the pagination token to load the next page if there are more results
  3861  	// matching the request. If a pagination token is not present in the response,
  3862  	// it means that all data matching the request has been loaded.
  3863  	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  3864  
  3865  	// The list of columns in the table.
  3866  	//
  3867  	// TableColumns is a required field
  3868  	TableColumns []*TableColumn `locationName:"tableColumns" type:"list" required:"true"`
  3869  
  3870  	// Indicates the cursor of the workbook at which the data returned by this request
  3871  	// is read. Workbook cursor keeps increasing with every update and the increments
  3872  	// are not sequential.
  3873  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long"`
  3874  }
  3875  
  3876  // String returns the string representation.
  3877  //
  3878  // API parameter values that are decorated as "sensitive" in the API will not
  3879  // be included in the string output. The member name will be present, but the
  3880  // value will be replaced with "sensitive".
  3881  func (s ListTableColumnsOutput) String() string {
  3882  	return awsutil.Prettify(s)
  3883  }
  3884  
  3885  // GoString returns the string representation.
  3886  //
  3887  // API parameter values that are decorated as "sensitive" in the API will not
  3888  // be included in the string output. The member name will be present, but the
  3889  // value will be replaced with "sensitive".
  3890  func (s ListTableColumnsOutput) GoString() string {
  3891  	return s.String()
  3892  }
  3893  
  3894  // SetNextToken sets the NextToken field's value.
  3895  func (s *ListTableColumnsOutput) SetNextToken(v string) *ListTableColumnsOutput {
  3896  	s.NextToken = &v
  3897  	return s
  3898  }
  3899  
  3900  // SetTableColumns sets the TableColumns field's value.
  3901  func (s *ListTableColumnsOutput) SetTableColumns(v []*TableColumn) *ListTableColumnsOutput {
  3902  	s.TableColumns = v
  3903  	return s
  3904  }
  3905  
  3906  // SetWorkbookCursor sets the WorkbookCursor field's value.
  3907  func (s *ListTableColumnsOutput) SetWorkbookCursor(v int64) *ListTableColumnsOutput {
  3908  	s.WorkbookCursor = &v
  3909  	return s
  3910  }
  3911  
  3912  type ListTableRowsInput struct {
  3913  	_ struct{} `type:"structure"`
  3914  
  3915  	// The maximum number of rows to return in each page of the results.
  3916  	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
  3917  
  3918  	// This parameter is optional. If a nextToken is not specified, the API returns
  3919  	// the first page of data.
  3920  	//
  3921  	// Pagination tokens expire after 1 hour. If you use a token that was returned
  3922  	// more than an hour back, the API will throw ValidationException.
  3923  	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  3924  
  3925  	// This parameter is optional. If one or more row ids are specified in this
  3926  	// list, then only the specified row ids are returned in the result. If no row
  3927  	// ids are specified here, then all the rows in the table are returned.
  3928  	RowIds []*string `locationName:"rowIds" min:"1" type:"list"`
  3929  
  3930  	// The ID of the table whose rows are being retrieved.
  3931  	//
  3932  	// If a table with the specified id could not be found, this API throws ResourceNotFoundException.
  3933  	//
  3934  	// TableId is a required field
  3935  	TableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  3936  
  3937  	// The ID of the workbook that contains the table whose rows are being retrieved.
  3938  	//
  3939  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  3940  	//
  3941  	// WorkbookId is a required field
  3942  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  3943  }
  3944  
  3945  // String returns the string representation.
  3946  //
  3947  // API parameter values that are decorated as "sensitive" in the API will not
  3948  // be included in the string output. The member name will be present, but the
  3949  // value will be replaced with "sensitive".
  3950  func (s ListTableRowsInput) String() string {
  3951  	return awsutil.Prettify(s)
  3952  }
  3953  
  3954  // GoString returns the string representation.
  3955  //
  3956  // API parameter values that are decorated as "sensitive" in the API will not
  3957  // be included in the string output. The member name will be present, but the
  3958  // value will be replaced with "sensitive".
  3959  func (s ListTableRowsInput) GoString() string {
  3960  	return s.String()
  3961  }
  3962  
  3963  // Validate inspects the fields of the type to determine if they are valid.
  3964  func (s *ListTableRowsInput) Validate() error {
  3965  	invalidParams := request.ErrInvalidParams{Context: "ListTableRowsInput"}
  3966  	if s.MaxResults != nil && *s.MaxResults < 1 {
  3967  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  3968  	}
  3969  	if s.NextToken != nil && len(*s.NextToken) < 1 {
  3970  		invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  3971  	}
  3972  	if s.RowIds != nil && len(s.RowIds) < 1 {
  3973  		invalidParams.Add(request.NewErrParamMinLen("RowIds", 1))
  3974  	}
  3975  	if s.TableId == nil {
  3976  		invalidParams.Add(request.NewErrParamRequired("TableId"))
  3977  	}
  3978  	if s.TableId != nil && len(*s.TableId) < 36 {
  3979  		invalidParams.Add(request.NewErrParamMinLen("TableId", 36))
  3980  	}
  3981  	if s.WorkbookId == nil {
  3982  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  3983  	}
  3984  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  3985  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  3986  	}
  3987  
  3988  	if invalidParams.Len() > 0 {
  3989  		return invalidParams
  3990  	}
  3991  	return nil
  3992  }
  3993  
  3994  // SetMaxResults sets the MaxResults field's value.
  3995  func (s *ListTableRowsInput) SetMaxResults(v int64) *ListTableRowsInput {
  3996  	s.MaxResults = &v
  3997  	return s
  3998  }
  3999  
  4000  // SetNextToken sets the NextToken field's value.
  4001  func (s *ListTableRowsInput) SetNextToken(v string) *ListTableRowsInput {
  4002  	s.NextToken = &v
  4003  	return s
  4004  }
  4005  
  4006  // SetRowIds sets the RowIds field's value.
  4007  func (s *ListTableRowsInput) SetRowIds(v []*string) *ListTableRowsInput {
  4008  	s.RowIds = v
  4009  	return s
  4010  }
  4011  
  4012  // SetTableId sets the TableId field's value.
  4013  func (s *ListTableRowsInput) SetTableId(v string) *ListTableRowsInput {
  4014  	s.TableId = &v
  4015  	return s
  4016  }
  4017  
  4018  // SetWorkbookId sets the WorkbookId field's value.
  4019  func (s *ListTableRowsInput) SetWorkbookId(v string) *ListTableRowsInput {
  4020  	s.WorkbookId = &v
  4021  	return s
  4022  }
  4023  
  4024  type ListTableRowsOutput struct {
  4025  	_ struct{} `type:"structure"`
  4026  
  4027  	// The list of columns in the table whose row data is returned in the result.
  4028  	//
  4029  	// ColumnIds is a required field
  4030  	ColumnIds []*string `locationName:"columnIds" min:"1" type:"list" required:"true"`
  4031  
  4032  	// Provides the pagination token to load the next page if there are more results
  4033  	// matching the request. If a pagination token is not present in the response,
  4034  	// it means that all data matching the request has been loaded.
  4035  	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  4036  
  4037  	// The list of row ids included in the request that were not found in the table.
  4038  	RowIdsNotFound []*string `locationName:"rowIdsNotFound" min:"1" type:"list"`
  4039  
  4040  	// The list of rows in the table. Note that this result is paginated, so this
  4041  	// list contains a maximum of 100 rows.
  4042  	//
  4043  	// Rows is a required field
  4044  	Rows []*TableRow `locationName:"rows" type:"list" required:"true"`
  4045  
  4046  	// Indicates the cursor of the workbook at which the data returned by this request
  4047  	// is read. Workbook cursor keeps increasing with every update and the increments
  4048  	// are not sequential.
  4049  	//
  4050  	// WorkbookCursor is a required field
  4051  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"`
  4052  }
  4053  
  4054  // String returns the string representation.
  4055  //
  4056  // API parameter values that are decorated as "sensitive" in the API will not
  4057  // be included in the string output. The member name will be present, but the
  4058  // value will be replaced with "sensitive".
  4059  func (s ListTableRowsOutput) String() string {
  4060  	return awsutil.Prettify(s)
  4061  }
  4062  
  4063  // GoString returns the string representation.
  4064  //
  4065  // API parameter values that are decorated as "sensitive" in the API will not
  4066  // be included in the string output. The member name will be present, but the
  4067  // value will be replaced with "sensitive".
  4068  func (s ListTableRowsOutput) GoString() string {
  4069  	return s.String()
  4070  }
  4071  
  4072  // SetColumnIds sets the ColumnIds field's value.
  4073  func (s *ListTableRowsOutput) SetColumnIds(v []*string) *ListTableRowsOutput {
  4074  	s.ColumnIds = v
  4075  	return s
  4076  }
  4077  
  4078  // SetNextToken sets the NextToken field's value.
  4079  func (s *ListTableRowsOutput) SetNextToken(v string) *ListTableRowsOutput {
  4080  	s.NextToken = &v
  4081  	return s
  4082  }
  4083  
  4084  // SetRowIdsNotFound sets the RowIdsNotFound field's value.
  4085  func (s *ListTableRowsOutput) SetRowIdsNotFound(v []*string) *ListTableRowsOutput {
  4086  	s.RowIdsNotFound = v
  4087  	return s
  4088  }
  4089  
  4090  // SetRows sets the Rows field's value.
  4091  func (s *ListTableRowsOutput) SetRows(v []*TableRow) *ListTableRowsOutput {
  4092  	s.Rows = v
  4093  	return s
  4094  }
  4095  
  4096  // SetWorkbookCursor sets the WorkbookCursor field's value.
  4097  func (s *ListTableRowsOutput) SetWorkbookCursor(v int64) *ListTableRowsOutput {
  4098  	s.WorkbookCursor = &v
  4099  	return s
  4100  }
  4101  
  4102  type ListTablesInput struct {
  4103  	_ struct{} `type:"structure" nopayload:"true"`
  4104  
  4105  	// The maximum number of tables to return in each page of the results.
  4106  	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
  4107  
  4108  	// This parameter is optional. If a nextToken is not specified, the API returns
  4109  	// the first page of data.
  4110  	//
  4111  	// Pagination tokens expire after 1 hour. If you use a token that was returned
  4112  	// more than an hour back, the API will throw ValidationException.
  4113  	NextToken *string `location:"querystring" locationName:"nextToken" min:"1" type:"string"`
  4114  
  4115  	// The ID of the workbook whose tables are being retrieved.
  4116  	//
  4117  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  4118  	//
  4119  	// WorkbookId is a required field
  4120  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  4121  }
  4122  
  4123  // String returns the string representation.
  4124  //
  4125  // API parameter values that are decorated as "sensitive" in the API will not
  4126  // be included in the string output. The member name will be present, but the
  4127  // value will be replaced with "sensitive".
  4128  func (s ListTablesInput) String() string {
  4129  	return awsutil.Prettify(s)
  4130  }
  4131  
  4132  // GoString returns the string representation.
  4133  //
  4134  // API parameter values that are decorated as "sensitive" in the API will not
  4135  // be included in the string output. The member name will be present, but the
  4136  // value will be replaced with "sensitive".
  4137  func (s ListTablesInput) GoString() string {
  4138  	return s.String()
  4139  }
  4140  
  4141  // Validate inspects the fields of the type to determine if they are valid.
  4142  func (s *ListTablesInput) Validate() error {
  4143  	invalidParams := request.ErrInvalidParams{Context: "ListTablesInput"}
  4144  	if s.MaxResults != nil && *s.MaxResults < 1 {
  4145  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  4146  	}
  4147  	if s.NextToken != nil && len(*s.NextToken) < 1 {
  4148  		invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  4149  	}
  4150  	if s.WorkbookId == nil {
  4151  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  4152  	}
  4153  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  4154  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  4155  	}
  4156  
  4157  	if invalidParams.Len() > 0 {
  4158  		return invalidParams
  4159  	}
  4160  	return nil
  4161  }
  4162  
  4163  // SetMaxResults sets the MaxResults field's value.
  4164  func (s *ListTablesInput) SetMaxResults(v int64) *ListTablesInput {
  4165  	s.MaxResults = &v
  4166  	return s
  4167  }
  4168  
  4169  // SetNextToken sets the NextToken field's value.
  4170  func (s *ListTablesInput) SetNextToken(v string) *ListTablesInput {
  4171  	s.NextToken = &v
  4172  	return s
  4173  }
  4174  
  4175  // SetWorkbookId sets the WorkbookId field's value.
  4176  func (s *ListTablesInput) SetWorkbookId(v string) *ListTablesInput {
  4177  	s.WorkbookId = &v
  4178  	return s
  4179  }
  4180  
  4181  type ListTablesOutput struct {
  4182  	_ struct{} `type:"structure"`
  4183  
  4184  	// Provides the pagination token to load the next page if there are more results
  4185  	// matching the request. If a pagination token is not present in the response,
  4186  	// it means that all data matching the request has been loaded.
  4187  	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  4188  
  4189  	// The list of tables in the workbook.
  4190  	//
  4191  	// Tables is a required field
  4192  	Tables []*Table `locationName:"tables" type:"list" required:"true"`
  4193  
  4194  	// Indicates the cursor of the workbook at which the data returned by this request
  4195  	// is read. Workbook cursor keeps increasing with every update and the increments
  4196  	// are not sequential.
  4197  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long"`
  4198  }
  4199  
  4200  // String returns the string representation.
  4201  //
  4202  // API parameter values that are decorated as "sensitive" in the API will not
  4203  // be included in the string output. The member name will be present, but the
  4204  // value will be replaced with "sensitive".
  4205  func (s ListTablesOutput) String() string {
  4206  	return awsutil.Prettify(s)
  4207  }
  4208  
  4209  // GoString returns the string representation.
  4210  //
  4211  // API parameter values that are decorated as "sensitive" in the API will not
  4212  // be included in the string output. The member name will be present, but the
  4213  // value will be replaced with "sensitive".
  4214  func (s ListTablesOutput) GoString() string {
  4215  	return s.String()
  4216  }
  4217  
  4218  // SetNextToken sets the NextToken field's value.
  4219  func (s *ListTablesOutput) SetNextToken(v string) *ListTablesOutput {
  4220  	s.NextToken = &v
  4221  	return s
  4222  }
  4223  
  4224  // SetTables sets the Tables field's value.
  4225  func (s *ListTablesOutput) SetTables(v []*Table) *ListTablesOutput {
  4226  	s.Tables = v
  4227  	return s
  4228  }
  4229  
  4230  // SetWorkbookCursor sets the WorkbookCursor field's value.
  4231  func (s *ListTablesOutput) SetWorkbookCursor(v int64) *ListTablesOutput {
  4232  	s.WorkbookCursor = &v
  4233  	return s
  4234  }
  4235  
  4236  type QueryTableRowsInput struct {
  4237  	_ struct{} `type:"structure"`
  4238  
  4239  	// An object that represents a filter formula along with the id of the context
  4240  	// row under which the filter function needs to evaluate.
  4241  	//
  4242  	// FilterFormula is a required field
  4243  	FilterFormula *Filter `locationName:"filterFormula" type:"structure" required:"true"`
  4244  
  4245  	// The maximum number of rows to return in each page of the results.
  4246  	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
  4247  
  4248  	// This parameter is optional. If a nextToken is not specified, the API returns
  4249  	// the first page of data.
  4250  	//
  4251  	// Pagination tokens expire after 1 hour. If you use a token that was returned
  4252  	// more than an hour back, the API will throw ValidationException.
  4253  	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  4254  
  4255  	// The ID of the table whose rows are being queried.
  4256  	//
  4257  	// If a table with the specified id could not be found, this API throws ResourceNotFoundException.
  4258  	//
  4259  	// TableId is a required field
  4260  	TableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  4261  
  4262  	// The ID of the workbook whose table rows are being queried.
  4263  	//
  4264  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  4265  	//
  4266  	// WorkbookId is a required field
  4267  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  4268  }
  4269  
  4270  // String returns the string representation.
  4271  //
  4272  // API parameter values that are decorated as "sensitive" in the API will not
  4273  // be included in the string output. The member name will be present, but the
  4274  // value will be replaced with "sensitive".
  4275  func (s QueryTableRowsInput) String() string {
  4276  	return awsutil.Prettify(s)
  4277  }
  4278  
  4279  // GoString returns the string representation.
  4280  //
  4281  // API parameter values that are decorated as "sensitive" in the API will not
  4282  // be included in the string output. The member name will be present, but the
  4283  // value will be replaced with "sensitive".
  4284  func (s QueryTableRowsInput) GoString() string {
  4285  	return s.String()
  4286  }
  4287  
  4288  // Validate inspects the fields of the type to determine if they are valid.
  4289  func (s *QueryTableRowsInput) Validate() error {
  4290  	invalidParams := request.ErrInvalidParams{Context: "QueryTableRowsInput"}
  4291  	if s.FilterFormula == nil {
  4292  		invalidParams.Add(request.NewErrParamRequired("FilterFormula"))
  4293  	}
  4294  	if s.MaxResults != nil && *s.MaxResults < 1 {
  4295  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  4296  	}
  4297  	if s.NextToken != nil && len(*s.NextToken) < 1 {
  4298  		invalidParams.Add(request.NewErrParamMinLen("NextToken", 1))
  4299  	}
  4300  	if s.TableId == nil {
  4301  		invalidParams.Add(request.NewErrParamRequired("TableId"))
  4302  	}
  4303  	if s.TableId != nil && len(*s.TableId) < 36 {
  4304  		invalidParams.Add(request.NewErrParamMinLen("TableId", 36))
  4305  	}
  4306  	if s.WorkbookId == nil {
  4307  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  4308  	}
  4309  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  4310  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  4311  	}
  4312  	if s.FilterFormula != nil {
  4313  		if err := s.FilterFormula.Validate(); err != nil {
  4314  			invalidParams.AddNested("FilterFormula", err.(request.ErrInvalidParams))
  4315  		}
  4316  	}
  4317  
  4318  	if invalidParams.Len() > 0 {
  4319  		return invalidParams
  4320  	}
  4321  	return nil
  4322  }
  4323  
  4324  // SetFilterFormula sets the FilterFormula field's value.
  4325  func (s *QueryTableRowsInput) SetFilterFormula(v *Filter) *QueryTableRowsInput {
  4326  	s.FilterFormula = v
  4327  	return s
  4328  }
  4329  
  4330  // SetMaxResults sets the MaxResults field's value.
  4331  func (s *QueryTableRowsInput) SetMaxResults(v int64) *QueryTableRowsInput {
  4332  	s.MaxResults = &v
  4333  	return s
  4334  }
  4335  
  4336  // SetNextToken sets the NextToken field's value.
  4337  func (s *QueryTableRowsInput) SetNextToken(v string) *QueryTableRowsInput {
  4338  	s.NextToken = &v
  4339  	return s
  4340  }
  4341  
  4342  // SetTableId sets the TableId field's value.
  4343  func (s *QueryTableRowsInput) SetTableId(v string) *QueryTableRowsInput {
  4344  	s.TableId = &v
  4345  	return s
  4346  }
  4347  
  4348  // SetWorkbookId sets the WorkbookId field's value.
  4349  func (s *QueryTableRowsInput) SetWorkbookId(v string) *QueryTableRowsInput {
  4350  	s.WorkbookId = &v
  4351  	return s
  4352  }
  4353  
  4354  type QueryTableRowsOutput struct {
  4355  	_ struct{} `type:"structure"`
  4356  
  4357  	// The list of columns in the table whose row data is returned in the result.
  4358  	//
  4359  	// ColumnIds is a required field
  4360  	ColumnIds []*string `locationName:"columnIds" min:"1" type:"list" required:"true"`
  4361  
  4362  	// Provides the pagination token to load the next page if there are more results
  4363  	// matching the request. If a pagination token is not present in the response,
  4364  	// it means that all data matching the request has been loaded.
  4365  	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
  4366  
  4367  	// The list of rows in the table that match the query filter.
  4368  	//
  4369  	// Rows is a required field
  4370  	Rows []*TableRow `locationName:"rows" type:"list" required:"true"`
  4371  
  4372  	// Indicates the cursor of the workbook at which the data returned by this request
  4373  	// is read. Workbook cursor keeps increasing with every update and the increments
  4374  	// are not sequential.
  4375  	//
  4376  	// WorkbookCursor is a required field
  4377  	WorkbookCursor *int64 `locationName:"workbookCursor" type:"long" required:"true"`
  4378  }
  4379  
  4380  // String returns the string representation.
  4381  //
  4382  // API parameter values that are decorated as "sensitive" in the API will not
  4383  // be included in the string output. The member name will be present, but the
  4384  // value will be replaced with "sensitive".
  4385  func (s QueryTableRowsOutput) String() string {
  4386  	return awsutil.Prettify(s)
  4387  }
  4388  
  4389  // GoString returns the string representation.
  4390  //
  4391  // API parameter values that are decorated as "sensitive" in the API will not
  4392  // be included in the string output. The member name will be present, but the
  4393  // value will be replaced with "sensitive".
  4394  func (s QueryTableRowsOutput) GoString() string {
  4395  	return s.String()
  4396  }
  4397  
  4398  // SetColumnIds sets the ColumnIds field's value.
  4399  func (s *QueryTableRowsOutput) SetColumnIds(v []*string) *QueryTableRowsOutput {
  4400  	s.ColumnIds = v
  4401  	return s
  4402  }
  4403  
  4404  // SetNextToken sets the NextToken field's value.
  4405  func (s *QueryTableRowsOutput) SetNextToken(v string) *QueryTableRowsOutput {
  4406  	s.NextToken = &v
  4407  	return s
  4408  }
  4409  
  4410  // SetRows sets the Rows field's value.
  4411  func (s *QueryTableRowsOutput) SetRows(v []*TableRow) *QueryTableRowsOutput {
  4412  	s.Rows = v
  4413  	return s
  4414  }
  4415  
  4416  // SetWorkbookCursor sets the WorkbookCursor field's value.
  4417  func (s *QueryTableRowsOutput) SetWorkbookCursor(v int64) *QueryTableRowsOutput {
  4418  	s.WorkbookCursor = &v
  4419  	return s
  4420  }
  4421  
  4422  // The request timed out.
  4423  type RequestTimeoutException struct {
  4424  	_            struct{}                  `type:"structure"`
  4425  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4426  
  4427  	Message_ *string `locationName:"message" type:"string"`
  4428  }
  4429  
  4430  // String returns the string representation.
  4431  //
  4432  // API parameter values that are decorated as "sensitive" in the API will not
  4433  // be included in the string output. The member name will be present, but the
  4434  // value will be replaced with "sensitive".
  4435  func (s RequestTimeoutException) String() string {
  4436  	return awsutil.Prettify(s)
  4437  }
  4438  
  4439  // GoString returns the string representation.
  4440  //
  4441  // API parameter values that are decorated as "sensitive" in the API will not
  4442  // be included in the string output. The member name will be present, but the
  4443  // value will be replaced with "sensitive".
  4444  func (s RequestTimeoutException) GoString() string {
  4445  	return s.String()
  4446  }
  4447  
  4448  func newErrorRequestTimeoutException(v protocol.ResponseMetadata) error {
  4449  	return &RequestTimeoutException{
  4450  		RespMetadata: v,
  4451  	}
  4452  }
  4453  
  4454  // Code returns the exception type name.
  4455  func (s *RequestTimeoutException) Code() string {
  4456  	return "RequestTimeoutException"
  4457  }
  4458  
  4459  // Message returns the exception's message.
  4460  func (s *RequestTimeoutException) Message() string {
  4461  	if s.Message_ != nil {
  4462  		return *s.Message_
  4463  	}
  4464  	return ""
  4465  }
  4466  
  4467  // OrigErr always returns nil, satisfies awserr.Error interface.
  4468  func (s *RequestTimeoutException) OrigErr() error {
  4469  	return nil
  4470  }
  4471  
  4472  func (s *RequestTimeoutException) Error() string {
  4473  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4474  }
  4475  
  4476  // Status code returns the HTTP status code for the request's response error.
  4477  func (s *RequestTimeoutException) StatusCode() int {
  4478  	return s.RespMetadata.StatusCode
  4479  }
  4480  
  4481  // RequestID returns the service's response RequestID for request.
  4482  func (s *RequestTimeoutException) RequestID() string {
  4483  	return s.RespMetadata.RequestID
  4484  }
  4485  
  4486  // A Workbook, Table, App, Screen or Screen Automation was not found with the
  4487  // given ID.
  4488  type ResourceNotFoundException struct {
  4489  	_            struct{}                  `type:"structure"`
  4490  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4491  
  4492  	Message_ *string `locationName:"message" type:"string"`
  4493  }
  4494  
  4495  // String returns the string representation.
  4496  //
  4497  // API parameter values that are decorated as "sensitive" in the API will not
  4498  // be included in the string output. The member name will be present, but the
  4499  // value will be replaced with "sensitive".
  4500  func (s ResourceNotFoundException) String() string {
  4501  	return awsutil.Prettify(s)
  4502  }
  4503  
  4504  // GoString returns the string representation.
  4505  //
  4506  // API parameter values that are decorated as "sensitive" in the API will not
  4507  // be included in the string output. The member name will be present, but the
  4508  // value will be replaced with "sensitive".
  4509  func (s ResourceNotFoundException) GoString() string {
  4510  	return s.String()
  4511  }
  4512  
  4513  func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
  4514  	return &ResourceNotFoundException{
  4515  		RespMetadata: v,
  4516  	}
  4517  }
  4518  
  4519  // Code returns the exception type name.
  4520  func (s *ResourceNotFoundException) Code() string {
  4521  	return "ResourceNotFoundException"
  4522  }
  4523  
  4524  // Message returns the exception's message.
  4525  func (s *ResourceNotFoundException) Message() string {
  4526  	if s.Message_ != nil {
  4527  		return *s.Message_
  4528  	}
  4529  	return ""
  4530  }
  4531  
  4532  // OrigErr always returns nil, satisfies awserr.Error interface.
  4533  func (s *ResourceNotFoundException) OrigErr() error {
  4534  	return nil
  4535  }
  4536  
  4537  func (s *ResourceNotFoundException) Error() string {
  4538  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4539  }
  4540  
  4541  // Status code returns the HTTP status code for the request's response error.
  4542  func (s *ResourceNotFoundException) StatusCode() int {
  4543  	return s.RespMetadata.StatusCode
  4544  }
  4545  
  4546  // RequestID returns the service's response RequestID for request.
  4547  func (s *ResourceNotFoundException) RequestID() string {
  4548  	return s.RespMetadata.RequestID
  4549  }
  4550  
  4551  // A single row in the ResultSet.
  4552  type ResultRow struct {
  4553  	_ struct{} `type:"structure"`
  4554  
  4555  	// List of all the data cells in a row.
  4556  	//
  4557  	// DataItems is a required field
  4558  	DataItems []*DataItem `locationName:"dataItems" type:"list" required:"true"`
  4559  
  4560  	// The ID for a particular row.
  4561  	RowId *string `locationName:"rowId" min:"77" type:"string"`
  4562  }
  4563  
  4564  // String returns the string representation.
  4565  //
  4566  // API parameter values that are decorated as "sensitive" in the API will not
  4567  // be included in the string output. The member name will be present, but the
  4568  // value will be replaced with "sensitive".
  4569  func (s ResultRow) String() string {
  4570  	return awsutil.Prettify(s)
  4571  }
  4572  
  4573  // GoString returns the string representation.
  4574  //
  4575  // API parameter values that are decorated as "sensitive" in the API will not
  4576  // be included in the string output. The member name will be present, but the
  4577  // value will be replaced with "sensitive".
  4578  func (s ResultRow) GoString() string {
  4579  	return s.String()
  4580  }
  4581  
  4582  // SetDataItems sets the DataItems field's value.
  4583  func (s *ResultRow) SetDataItems(v []*DataItem) *ResultRow {
  4584  	s.DataItems = v
  4585  	return s
  4586  }
  4587  
  4588  // SetRowId sets the RowId field's value.
  4589  func (s *ResultRow) SetRowId(v string) *ResultRow {
  4590  	s.RowId = &v
  4591  	return s
  4592  }
  4593  
  4594  // ResultSet contains the results of the request for a single block or list
  4595  // defined on the screen.
  4596  type ResultSet struct {
  4597  	_ struct{} `type:"structure"`
  4598  
  4599  	// List of headers for all the data cells in the block. The header identifies
  4600  	// the name and default format of the data cell. Data cells appear in the same
  4601  	// order in all rows as defined in the header. The names and formats are not
  4602  	// repeated in the rows. If a particular row does not have a value for a data
  4603  	// cell, a blank value is used.
  4604  	//
  4605  	// For example, a task list that displays the task name, due date and assigned
  4606  	// person might have headers [ { "name": "Task Name"}, {"name": "Due Date",
  4607  	// "format": "DATE"}, {"name": "Assigned", "format": "CONTACT"} ]. Every row
  4608  	// in the result will have the task name as the first item, due date as the
  4609  	// second item and assigned person as the third item. If a particular task does
  4610  	// not have a due date, that row will still have a blank value in the second
  4611  	// element and the assigned person will still be in the third element.
  4612  	//
  4613  	// Headers is a required field
  4614  	Headers []*ColumnMetadata `locationName:"headers" type:"list" required:"true"`
  4615  
  4616  	// List of rows returned by the request. Each row has a row Id and a list of
  4617  	// data cells in that row. The data cells will be present in the same order
  4618  	// as they are defined in the header.
  4619  	//
  4620  	// Rows is a required field
  4621  	Rows []*ResultRow `locationName:"rows" type:"list" required:"true"`
  4622  }
  4623  
  4624  // String returns the string representation.
  4625  //
  4626  // API parameter values that are decorated as "sensitive" in the API will not
  4627  // be included in the string output. The member name will be present, but the
  4628  // value will be replaced with "sensitive".
  4629  func (s ResultSet) String() string {
  4630  	return awsutil.Prettify(s)
  4631  }
  4632  
  4633  // GoString returns the string representation.
  4634  //
  4635  // API parameter values that are decorated as "sensitive" in the API will not
  4636  // be included in the string output. The member name will be present, but the
  4637  // value will be replaced with "sensitive".
  4638  func (s ResultSet) GoString() string {
  4639  	return s.String()
  4640  }
  4641  
  4642  // SetHeaders sets the Headers field's value.
  4643  func (s *ResultSet) SetHeaders(v []*ColumnMetadata) *ResultSet {
  4644  	s.Headers = v
  4645  	return s
  4646  }
  4647  
  4648  // SetRows sets the Rows field's value.
  4649  func (s *ResultSet) SetRows(v []*ResultRow) *ResultSet {
  4650  	s.Rows = v
  4651  	return s
  4652  }
  4653  
  4654  // The request caused service quota to be breached.
  4655  type ServiceQuotaExceededException struct {
  4656  	_            struct{}                  `type:"structure"`
  4657  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4658  
  4659  	Message_ *string `locationName:"message" type:"string"`
  4660  }
  4661  
  4662  // String returns the string representation.
  4663  //
  4664  // API parameter values that are decorated as "sensitive" in the API will not
  4665  // be included in the string output. The member name will be present, but the
  4666  // value will be replaced with "sensitive".
  4667  func (s ServiceQuotaExceededException) String() string {
  4668  	return awsutil.Prettify(s)
  4669  }
  4670  
  4671  // GoString returns the string representation.
  4672  //
  4673  // API parameter values that are decorated as "sensitive" in the API will not
  4674  // be included in the string output. The member name will be present, but the
  4675  // value will be replaced with "sensitive".
  4676  func (s ServiceQuotaExceededException) GoString() string {
  4677  	return s.String()
  4678  }
  4679  
  4680  func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
  4681  	return &ServiceQuotaExceededException{
  4682  		RespMetadata: v,
  4683  	}
  4684  }
  4685  
  4686  // Code returns the exception type name.
  4687  func (s *ServiceQuotaExceededException) Code() string {
  4688  	return "ServiceQuotaExceededException"
  4689  }
  4690  
  4691  // Message returns the exception's message.
  4692  func (s *ServiceQuotaExceededException) Message() string {
  4693  	if s.Message_ != nil {
  4694  		return *s.Message_
  4695  	}
  4696  	return ""
  4697  }
  4698  
  4699  // OrigErr always returns nil, satisfies awserr.Error interface.
  4700  func (s *ServiceQuotaExceededException) OrigErr() error {
  4701  	return nil
  4702  }
  4703  
  4704  func (s *ServiceQuotaExceededException) Error() string {
  4705  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4706  }
  4707  
  4708  // Status code returns the HTTP status code for the request's response error.
  4709  func (s *ServiceQuotaExceededException) StatusCode() int {
  4710  	return s.RespMetadata.StatusCode
  4711  }
  4712  
  4713  // RequestID returns the service's response RequestID for request.
  4714  func (s *ServiceQuotaExceededException) RequestID() string {
  4715  	return s.RespMetadata.RequestID
  4716  }
  4717  
  4718  // Remote service is unreachable.
  4719  type ServiceUnavailableException struct {
  4720  	_            struct{}                  `type:"structure"`
  4721  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  4722  
  4723  	Message_ *string `locationName:"message" type:"string"`
  4724  }
  4725  
  4726  // String returns the string representation.
  4727  //
  4728  // API parameter values that are decorated as "sensitive" in the API will not
  4729  // be included in the string output. The member name will be present, but the
  4730  // value will be replaced with "sensitive".
  4731  func (s ServiceUnavailableException) String() string {
  4732  	return awsutil.Prettify(s)
  4733  }
  4734  
  4735  // GoString returns the string representation.
  4736  //
  4737  // API parameter values that are decorated as "sensitive" in the API will not
  4738  // be included in the string output. The member name will be present, but the
  4739  // value will be replaced with "sensitive".
  4740  func (s ServiceUnavailableException) GoString() string {
  4741  	return s.String()
  4742  }
  4743  
  4744  func newErrorServiceUnavailableException(v protocol.ResponseMetadata) error {
  4745  	return &ServiceUnavailableException{
  4746  		RespMetadata: v,
  4747  	}
  4748  }
  4749  
  4750  // Code returns the exception type name.
  4751  func (s *ServiceUnavailableException) Code() string {
  4752  	return "ServiceUnavailableException"
  4753  }
  4754  
  4755  // Message returns the exception's message.
  4756  func (s *ServiceUnavailableException) Message() string {
  4757  	if s.Message_ != nil {
  4758  		return *s.Message_
  4759  	}
  4760  	return ""
  4761  }
  4762  
  4763  // OrigErr always returns nil, satisfies awserr.Error interface.
  4764  func (s *ServiceUnavailableException) OrigErr() error {
  4765  	return nil
  4766  }
  4767  
  4768  func (s *ServiceUnavailableException) Error() string {
  4769  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  4770  }
  4771  
  4772  // Status code returns the HTTP status code for the request's response error.
  4773  func (s *ServiceUnavailableException) StatusCode() int {
  4774  	return s.RespMetadata.StatusCode
  4775  }
  4776  
  4777  // RequestID returns the service's response RequestID for request.
  4778  func (s *ServiceUnavailableException) RequestID() string {
  4779  	return s.RespMetadata.RequestID
  4780  }
  4781  
  4782  // An object that contains the properties for importing data to a specific column
  4783  // in a table.
  4784  type SourceDataColumnProperties struct {
  4785  	_ struct{} `type:"structure"`
  4786  
  4787  	// The index of the column in the input file.
  4788  	ColumnIndex *int64 `locationName:"columnIndex" min:"1" type:"integer"`
  4789  }
  4790  
  4791  // String returns the string representation.
  4792  //
  4793  // API parameter values that are decorated as "sensitive" in the API will not
  4794  // be included in the string output. The member name will be present, but the
  4795  // value will be replaced with "sensitive".
  4796  func (s SourceDataColumnProperties) String() string {
  4797  	return awsutil.Prettify(s)
  4798  }
  4799  
  4800  // GoString returns the string representation.
  4801  //
  4802  // API parameter values that are decorated as "sensitive" in the API will not
  4803  // be included in the string output. The member name will be present, but the
  4804  // value will be replaced with "sensitive".
  4805  func (s SourceDataColumnProperties) GoString() string {
  4806  	return s.String()
  4807  }
  4808  
  4809  // Validate inspects the fields of the type to determine if they are valid.
  4810  func (s *SourceDataColumnProperties) Validate() error {
  4811  	invalidParams := request.ErrInvalidParams{Context: "SourceDataColumnProperties"}
  4812  	if s.ColumnIndex != nil && *s.ColumnIndex < 1 {
  4813  		invalidParams.Add(request.NewErrParamMinValue("ColumnIndex", 1))
  4814  	}
  4815  
  4816  	if invalidParams.Len() > 0 {
  4817  		return invalidParams
  4818  	}
  4819  	return nil
  4820  }
  4821  
  4822  // SetColumnIndex sets the ColumnIndex field's value.
  4823  func (s *SourceDataColumnProperties) SetColumnIndex(v int64) *SourceDataColumnProperties {
  4824  	s.ColumnIndex = &v
  4825  	return s
  4826  }
  4827  
  4828  type StartTableDataImportJobInput struct {
  4829  	_ struct{} `type:"structure"`
  4830  
  4831  	// The request token for performing the update action. Request tokens help to
  4832  	// identify duplicate requests. If a call times out or fails due to a transient
  4833  	// error like a failed network connection, you can retry the call with the same
  4834  	// request token. The service ensures that if the first call using that request
  4835  	// token is successfully performed, the second call will not perform the action
  4836  	// again.
  4837  	//
  4838  	// Note that request tokens are valid only for a few minutes. You cannot use
  4839  	// request tokens to dedupe requests spanning hours or days.
  4840  	//
  4841  	// ClientRequestToken is a required field
  4842  	ClientRequestToken *string `locationName:"clientRequestToken" min:"32" type:"string" required:"true"`
  4843  
  4844  	// The format of the data that is being imported. Currently the only option
  4845  	// supported is "DELIMITED_TEXT".
  4846  	//
  4847  	// DataFormat is a required field
  4848  	DataFormat *string `locationName:"dataFormat" type:"string" required:"true" enum:"ImportSourceDataFormat"`
  4849  
  4850  	// The source of the data that is being imported. The size of source must be
  4851  	// no larger than 100 MB. Source must have no more than 100,000 cells and no
  4852  	// more than 1,000 rows.
  4853  	//
  4854  	// DataSource is a required field
  4855  	DataSource *ImportDataSource `locationName:"dataSource" type:"structure" required:"true"`
  4856  
  4857  	// The ID of the table where the rows are being imported.
  4858  	//
  4859  	// If a table with the specified id could not be found, this API throws ResourceNotFoundException.
  4860  	//
  4861  	// DestinationTableId is a required field
  4862  	DestinationTableId *string `location:"uri" locationName:"tableId" min:"36" type:"string" required:"true"`
  4863  
  4864  	// The options for customizing this import request.
  4865  	//
  4866  	// ImportOptions is a required field
  4867  	ImportOptions *ImportOptions `locationName:"importOptions" type:"structure" required:"true"`
  4868  
  4869  	// The ID of the workbook where the rows are being imported.
  4870  	//
  4871  	// If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.
  4872  	//
  4873  	// WorkbookId is a required field
  4874  	WorkbookId *string `location:"uri" locationName:"workbookId" min:"36" type:"string" required:"true"`
  4875  }
  4876  
  4877  // String returns the string representation.
  4878  //
  4879  // API parameter values that are decorated as "sensitive" in the API will not
  4880  // be included in the string output. The member name will be present, but the
  4881  // value will be replaced with "sensitive".
  4882  func (s StartTableDataImportJobInput) String() string {
  4883  	return awsutil.Prettify(s)
  4884  }
  4885  
  4886  // GoString returns the string representation.
  4887  //
  4888  // API parameter values that are decorated as "sensitive" in the API will not
  4889  // be included in the string output. The member name will be present, but the
  4890  // value will be replaced with "sensitive".
  4891  func (s StartTableDataImportJobInput) GoString() string {
  4892  	return s.String()
  4893  }
  4894  
  4895  // Validate inspects the fields of the type to determine if they are valid.
  4896  func (s *StartTableDataImportJobInput) Validate() error {
  4897  	invalidParams := request.ErrInvalidParams{Context: "StartTableDataImportJobInput"}
  4898  	if s.ClientRequestToken == nil {
  4899  		invalidParams.Add(request.NewErrParamRequired("ClientRequestToken"))
  4900  	}
  4901  	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
  4902  		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
  4903  	}
  4904  	if s.DataFormat == nil {
  4905  		invalidParams.Add(request.NewErrParamRequired("DataFormat"))
  4906  	}
  4907  	if s.DataSource == nil {
  4908  		invalidParams.Add(request.NewErrParamRequired("DataSource"))
  4909  	}
  4910  	if s.DestinationTableId == nil {
  4911  		invalidParams.Add(request.NewErrParamRequired("DestinationTableId"))
  4912  	}
  4913  	if s.DestinationTableId != nil && len(*s.DestinationTableId) < 36 {
  4914  		invalidParams.Add(request.NewErrParamMinLen("DestinationTableId", 36))
  4915  	}
  4916  	if s.ImportOptions == nil {
  4917  		invalidParams.Add(request.NewErrParamRequired("ImportOptions"))
  4918  	}
  4919  	if s.WorkbookId == nil {
  4920  		invalidParams.Add(request.NewErrParamRequired("WorkbookId"))
  4921  	}
  4922  	if s.WorkbookId != nil && len(*s.WorkbookId) < 36 {
  4923  		invalidParams.Add(request.NewErrParamMinLen("WorkbookId", 36))
  4924  	}
  4925  	if s.DataSource != nil {
  4926  		if err := s.DataSource.Validate(); err != nil {
  4927  			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
  4928  		}
  4929  	}
  4930  	if s.ImportOptions != nil {
  4931  		if err := s.ImportOptions.Validate(); err != nil {
  4932  			invalidParams.AddNested("ImportOptions", err.(request.ErrInvalidParams))
  4933  		}
  4934  	}
  4935  
  4936  	if invalidParams.Len() > 0 {
  4937  		return invalidParams
  4938  	}
  4939  	return nil
  4940  }
  4941  
  4942  // SetClientRequestToken sets the ClientRequestToken field's value.
  4943  func (s *StartTableDataImportJobInput) SetClientRequestToken(v string) *StartTableDataImportJobInput {
  4944  	s.ClientRequestToken = &v
  4945  	return s
  4946  }
  4947  
  4948  // SetDataFormat sets the DataFormat field's value.
  4949  func (s *StartTableDataImportJobInput) SetDataFormat(v string) *StartTableDataImportJobInput {
  4950  	s.DataFormat = &v
  4951  	return s
  4952  }
  4953  
  4954  // SetDataSource sets the DataSource field's value.
  4955  func (s *StartTableDataImportJobInput) SetDataSource(v *ImportDataSource) *StartTableDataImportJobInput {
  4956  	s.DataSource = v
  4957  	return s
  4958  }
  4959  
  4960  // SetDestinationTableId sets the DestinationTableId field's value.
  4961  func (s *StartTableDataImportJobInput) SetDestinationTableId(v string) *StartTableDataImportJobInput {
  4962  	s.DestinationTableId = &v
  4963  	return s
  4964  }
  4965  
  4966  // SetImportOptions sets the ImportOptions field's value.
  4967  func (s *StartTableDataImportJobInput) SetImportOptions(v *ImportOptions) *StartTableDataImportJobInput {
  4968  	s.ImportOptions = v
  4969  	return s
  4970  }
  4971  
  4972  // SetWorkbookId sets the WorkbookId field's value.
  4973  func (s *StartTableDataImportJobInput) SetWorkbookId(v string) *StartTableDataImportJobInput {
  4974  	s.WorkbookId = &v
  4975  	return s
  4976  }
  4977  
  4978  type StartTableDataImportJobOutput struct {
  4979  	_ struct{} `type:"structure"`
  4980  
  4981  	// The id that is assigned to this import job. Future requests to find out the
  4982  	// status of this import job need to send this id in the appropriate parameter
  4983  	// in the request.
  4984  	//
  4985  	// JobId is a required field
  4986  	JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"`
  4987  
  4988  	// The status of the import job immediately after submitting the request.
  4989  	//
  4990  	// JobStatus is a required field
  4991  	JobStatus *string `locationName:"jobStatus" type:"string" required:"true" enum:"TableDataImportJobStatus"`
  4992  }
  4993  
  4994  // String returns the string representation.
  4995  //
  4996  // API parameter values that are decorated as "sensitive" in the API will not
  4997  // be included in the string output. The member name will be present, but the
  4998  // value will be replaced with "sensitive".
  4999  func (s StartTableDataImportJobOutput) String() string {
  5000  	return awsutil.Prettify(s)
  5001  }
  5002  
  5003  // GoString returns the string representation.
  5004  //
  5005  // API parameter values that are decorated as "sensitive" in the API will not
  5006  // be included in the string output. The member name will be present, but the
  5007  // value will be replaced with "sensitive".
  5008  func (s StartTableDataImportJobOutput) GoString() string {
  5009  	return s.String()
  5010  }
  5011  
  5012  // SetJobId sets the JobId field's value.
  5013  func (s *StartTableDataImportJobOutput) SetJobId(v string) *StartTableDataImportJobOutput {
  5014  	s.JobId = &v
  5015  	return s
  5016  }
  5017  
  5018  // SetJobStatus sets the JobStatus field's value.
  5019  func (s *StartTableDataImportJobOutput) SetJobStatus(v string) *StartTableDataImportJobOutput {
  5020  	s.JobStatus = &v
  5021  	return s
  5022  }
  5023  
  5024  // An object representing the properties of a table in a workbook.
  5025  type Table struct {
  5026  	_ struct{} `type:"structure"`
  5027  
  5028  	// The id of the table.
  5029  	TableId *string `locationName:"tableId" min:"36" type:"string"`
  5030  
  5031  	// The name of the table.
  5032  	TableName *string `locationName:"tableName" type:"string"`
  5033  }
  5034  
  5035  // String returns the string representation.
  5036  //
  5037  // API parameter values that are decorated as "sensitive" in the API will not
  5038  // be included in the string output. The member name will be present, but the
  5039  // value will be replaced with "sensitive".
  5040  func (s Table) String() string {
  5041  	return awsutil.Prettify(s)
  5042  }
  5043  
  5044  // GoString returns the string representation.
  5045  //
  5046  // API parameter values that are decorated as "sensitive" in the API will not
  5047  // be included in the string output. The member name will be present, but the
  5048  // value will be replaced with "sensitive".
  5049  func (s Table) GoString() string {
  5050  	return s.String()
  5051  }
  5052  
  5053  // SetTableId sets the TableId field's value.
  5054  func (s *Table) SetTableId(v string) *Table {
  5055  	s.TableId = &v
  5056  	return s
  5057  }
  5058  
  5059  // SetTableName sets the TableName field's value.
  5060  func (s *Table) SetTableName(v string) *Table {
  5061  	s.TableName = &v
  5062  	return s
  5063  }
  5064  
  5065  // An object that contains attributes about a single column in a table
  5066  type TableColumn struct {
  5067  	_ struct{} `type:"structure"`
  5068  
  5069  	// The column level format that is applied in the table. An empty value in this
  5070  	// field means that the column format is the default value 'AUTO'.
  5071  	Format *string `locationName:"format" type:"string" enum:"Format"`
  5072  
  5073  	// The id of the column in the table.
  5074  	TableColumnId *string `locationName:"tableColumnId" min:"36" type:"string"`
  5075  
  5076  	// The name of the column in the table.
  5077  	TableColumnName *string `locationName:"tableColumnName" type:"string"`
  5078  }
  5079  
  5080  // String returns the string representation.
  5081  //
  5082  // API parameter values that are decorated as "sensitive" in the API will not
  5083  // be included in the string output. The member name will be present, but the
  5084  // value will be replaced with "sensitive".
  5085  func (s TableColumn) String() string {
  5086  	return awsutil.Prettify(s)
  5087  }
  5088  
  5089  // GoString returns the string representation.
  5090  //
  5091  // API parameter values that are decorated as "sensitive" in the API will not
  5092  // be included in the string output. The member name will be present, but the
  5093  // value will be replaced with "sensitive".
  5094  func (s TableColumn) GoString() string {
  5095  	return s.String()
  5096  }
  5097  
  5098  // SetFormat sets the Format field's value.
  5099  func (s *TableColumn) SetFormat(v string) *TableColumn {
  5100  	s.Format = &v
  5101  	return s
  5102  }
  5103  
  5104  // SetTableColumnId sets the TableColumnId field's value.
  5105  func (s *TableColumn) SetTableColumnId(v string) *TableColumn {
  5106  	s.TableColumnId = &v
  5107  	return s
  5108  }
  5109  
  5110  // SetTableColumnName sets the TableColumnName field's value.
  5111  func (s *TableColumn) SetTableColumnName(v string) *TableColumn {
  5112  	s.TableColumnName = &v
  5113  	return s
  5114  }
  5115  
  5116  // The metadata associated with the table data import job that was submitted.
  5117  type TableDataImportJobMetadata struct {
  5118  	_ struct{} `type:"structure"`
  5119  
  5120  	// The source of the data that was submitted for import.
  5121  	//
  5122  	// DataSource is a required field
  5123  	DataSource *ImportDataSource `locationName:"dataSource" type:"structure" required:"true"`
  5124  
  5125  	// The options that was specified at the time of submitting the import request.
  5126  	//
  5127  	// ImportOptions is a required field
  5128  	ImportOptions *ImportOptions `locationName:"importOptions" type:"structure" required:"true"`
  5129  
  5130  	// The timestamp when the job was submitted for import.
  5131  	//
  5132  	// SubmitTime is a required field
  5133  	SubmitTime *time.Time `locationName:"submitTime" type:"timestamp" required:"true"`
  5134  
  5135  	// Details about the submitter of the import request.
  5136  	//
  5137  	// Submitter is a required field
  5138  	Submitter *ImportJobSubmitter `locationName:"submitter" type:"structure" required:"true"`
  5139  }
  5140  
  5141  // String returns the string representation.
  5142  //
  5143  // API parameter values that are decorated as "sensitive" in the API will not
  5144  // be included in the string output. The member name will be present, but the
  5145  // value will be replaced with "sensitive".
  5146  func (s TableDataImportJobMetadata) String() string {
  5147  	return awsutil.Prettify(s)
  5148  }
  5149  
  5150  // GoString returns the string representation.
  5151  //
  5152  // API parameter values that are decorated as "sensitive" in the API will not
  5153  // be included in the string output. The member name will be present, but the
  5154  // value will be replaced with "sensitive".
  5155  func (s TableDataImportJobMetadata) GoString() string {
  5156  	return s.String()
  5157  }
  5158  
  5159  // SetDataSource sets the DataSource field's value.
  5160  func (s *TableDataImportJobMetadata) SetDataSource(v *ImportDataSource) *TableDataImportJobMetadata {
  5161  	s.DataSource = v
  5162  	return s
  5163  }
  5164  
  5165  // SetImportOptions sets the ImportOptions field's value.
  5166  func (s *TableDataImportJobMetadata) SetImportOptions(v *ImportOptions) *TableDataImportJobMetadata {
  5167  	s.ImportOptions = v
  5168  	return s
  5169  }
  5170  
  5171  // SetSubmitTime sets the SubmitTime field's value.
  5172  func (s *TableDataImportJobMetadata) SetSubmitTime(v time.Time) *TableDataImportJobMetadata {
  5173  	s.SubmitTime = &v
  5174  	return s
  5175  }
  5176  
  5177  // SetSubmitter sets the Submitter field's value.
  5178  func (s *TableDataImportJobMetadata) SetSubmitter(v *ImportJobSubmitter) *TableDataImportJobMetadata {
  5179  	s.Submitter = v
  5180  	return s
  5181  }
  5182  
  5183  // An object that contains attributes about a single row in a table
  5184  type TableRow struct {
  5185  	_ struct{} `type:"structure"`
  5186  
  5187  	// A list of cells in the table row. The cells appear in the same order as the
  5188  	// columns of the table.
  5189  	//
  5190  	// Cells is a required field
  5191  	Cells []*Cell `locationName:"cells" type:"list" required:"true"`
  5192  
  5193  	// The id of the row in the table.
  5194  	//
  5195  	// RowId is a required field
  5196  	RowId *string `locationName:"rowId" min:"77" type:"string" required:"true"`
  5197  }
  5198  
  5199  // String returns the string representation.
  5200  //
  5201  // API parameter values that are decorated as "sensitive" in the API will not
  5202  // be included in the string output. The member name will be present, but the
  5203  // value will be replaced with "sensitive".
  5204  func (s TableRow) String() string {
  5205  	return awsutil.Prettify(s)
  5206  }
  5207  
  5208  // GoString returns the string representation.
  5209  //
  5210  // API parameter values that are decorated as "sensitive" in the API will not
  5211  // be included in the string output. The member name will be present, but the
  5212  // value will be replaced with "sensitive".
  5213  func (s TableRow) GoString() string {
  5214  	return s.String()
  5215  }
  5216  
  5217  // SetCells sets the Cells field's value.
  5218  func (s *TableRow) SetCells(v []*Cell) *TableRow {
  5219  	s.Cells = v
  5220  	return s
  5221  }
  5222  
  5223  // SetRowId sets the RowId field's value.
  5224  func (s *TableRow) SetRowId(v string) *TableRow {
  5225  	s.RowId = &v
  5226  	return s
  5227  }
  5228  
  5229  // Tps(transactions per second) rate reached.
  5230  type ThrottlingException struct {
  5231  	_            struct{}                  `type:"structure"`
  5232  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5233  
  5234  	Message_ *string `locationName:"message" type:"string"`
  5235  }
  5236  
  5237  // String returns the string representation.
  5238  //
  5239  // API parameter values that are decorated as "sensitive" in the API will not
  5240  // be included in the string output. The member name will be present, but the
  5241  // value will be replaced with "sensitive".
  5242  func (s ThrottlingException) String() string {
  5243  	return awsutil.Prettify(s)
  5244  }
  5245  
  5246  // GoString returns the string representation.
  5247  //
  5248  // API parameter values that are decorated as "sensitive" in the API will not
  5249  // be included in the string output. The member name will be present, but the
  5250  // value will be replaced with "sensitive".
  5251  func (s ThrottlingException) GoString() string {
  5252  	return s.String()
  5253  }
  5254  
  5255  func newErrorThrottlingException(v protocol.ResponseMetadata) error {
  5256  	return &ThrottlingException{
  5257  		RespMetadata: v,
  5258  	}
  5259  }
  5260  
  5261  // Code returns the exception type name.
  5262  func (s *ThrottlingException) Code() string {
  5263  	return "ThrottlingException"
  5264  }
  5265  
  5266  // Message returns the exception's message.
  5267  func (s *ThrottlingException) Message() string {
  5268  	if s.Message_ != nil {
  5269  		return *s.Message_
  5270  	}
  5271  	return ""
  5272  }
  5273  
  5274  // OrigErr always returns nil, satisfies awserr.Error interface.
  5275  func (s *ThrottlingException) OrigErr() error {
  5276  	return nil
  5277  }
  5278  
  5279  func (s *ThrottlingException) Error() string {
  5280  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5281  }
  5282  
  5283  // Status code returns the HTTP status code for the request's response error.
  5284  func (s *ThrottlingException) StatusCode() int {
  5285  	return s.RespMetadata.StatusCode
  5286  }
  5287  
  5288  // RequestID returns the service's response RequestID for request.
  5289  func (s *ThrottlingException) RequestID() string {
  5290  	return s.RespMetadata.RequestID
  5291  }
  5292  
  5293  // Data needed to create a single row in a table as part of the BatchCreateTableRows
  5294  // request.
  5295  type UpdateRowData struct {
  5296  	_ struct{} `type:"structure"`
  5297  
  5298  	// A map representing the cells to update in the given row. The key is the column
  5299  	// id of the cell and the value is the CellInput object that represents the
  5300  	// data to set in that cell.
  5301  	//
  5302  	// CellsToUpdate is a required field
  5303  	CellsToUpdate map[string]*CellInput `locationName:"cellsToUpdate" min:"1" type:"map" required:"true"`
  5304  
  5305  	// The id of the row that needs to be updated.
  5306  	//
  5307  	// RowId is a required field
  5308  	RowId *string `locationName:"rowId" min:"77" type:"string" required:"true"`
  5309  }
  5310  
  5311  // String returns the string representation.
  5312  //
  5313  // API parameter values that are decorated as "sensitive" in the API will not
  5314  // be included in the string output. The member name will be present, but the
  5315  // value will be replaced with "sensitive".
  5316  func (s UpdateRowData) String() string {
  5317  	return awsutil.Prettify(s)
  5318  }
  5319  
  5320  // GoString returns the string representation.
  5321  //
  5322  // API parameter values that are decorated as "sensitive" in the API will not
  5323  // be included in the string output. The member name will be present, but the
  5324  // value will be replaced with "sensitive".
  5325  func (s UpdateRowData) GoString() string {
  5326  	return s.String()
  5327  }
  5328  
  5329  // Validate inspects the fields of the type to determine if they are valid.
  5330  func (s *UpdateRowData) Validate() error {
  5331  	invalidParams := request.ErrInvalidParams{Context: "UpdateRowData"}
  5332  	if s.CellsToUpdate == nil {
  5333  		invalidParams.Add(request.NewErrParamRequired("CellsToUpdate"))
  5334  	}
  5335  	if s.CellsToUpdate != nil && len(s.CellsToUpdate) < 1 {
  5336  		invalidParams.Add(request.NewErrParamMinLen("CellsToUpdate", 1))
  5337  	}
  5338  	if s.RowId == nil {
  5339  		invalidParams.Add(request.NewErrParamRequired("RowId"))
  5340  	}
  5341  	if s.RowId != nil && len(*s.RowId) < 77 {
  5342  		invalidParams.Add(request.NewErrParamMinLen("RowId", 77))
  5343  	}
  5344  
  5345  	if invalidParams.Len() > 0 {
  5346  		return invalidParams
  5347  	}
  5348  	return nil
  5349  }
  5350  
  5351  // SetCellsToUpdate sets the CellsToUpdate field's value.
  5352  func (s *UpdateRowData) SetCellsToUpdate(v map[string]*CellInput) *UpdateRowData {
  5353  	s.CellsToUpdate = v
  5354  	return s
  5355  }
  5356  
  5357  // SetRowId sets the RowId field's value.
  5358  func (s *UpdateRowData) SetRowId(v string) *UpdateRowData {
  5359  	s.RowId = &v
  5360  	return s
  5361  }
  5362  
  5363  // Data needed to upsert rows in a table as part of a single item in the BatchUpsertTableRows
  5364  // request.
  5365  type UpsertRowData struct {
  5366  	_ struct{} `type:"structure"`
  5367  
  5368  	// An external identifier that represents a single item in the request that
  5369  	// is being upserted as part of the BatchUpsertTableRows request. This can be
  5370  	// any string that you can use to identify the item in the request. The BatchUpsertTableRows
  5371  	// API puts the batch item id in the results to allow you to link data in the
  5372  	// request to data in the results.
  5373  	//
  5374  	// BatchItemId is a required field
  5375  	BatchItemId *string `locationName:"batchItemId" min:"1" type:"string" required:"true"`
  5376  
  5377  	// A map representing the cells to update for the matching rows or an appended
  5378  	// row. The key is the column id of the cell and the value is the CellInput
  5379  	// object that represents the data to set in that cell.
  5380  	//
  5381  	// CellsToUpdate is a required field
  5382  	CellsToUpdate map[string]*CellInput `locationName:"cellsToUpdate" min:"1" type:"map" required:"true"`
  5383  
  5384  	// The filter formula to use to find existing matching rows to update. The formula
  5385  	// needs to return zero or more rows. If the formula returns 0 rows, then a
  5386  	// new row will be appended in the target table. If the formula returns one
  5387  	// or more rows, then the returned rows will be updated.
  5388  	//
  5389  	// Note that the filter formula needs to return rows from the target table for
  5390  	// the upsert operation to succeed. If the filter formula has a syntax error
  5391  	// or it doesn't evaluate to zero or more rows in the target table for any one
  5392  	// item in the input list, then the entire BatchUpsertTableRows request fails
  5393  	// and no updates are made to the table.
  5394  	//
  5395  	// Filter is a required field
  5396  	Filter *Filter `locationName:"filter" type:"structure" required:"true"`
  5397  }
  5398  
  5399  // String returns the string representation.
  5400  //
  5401  // API parameter values that are decorated as "sensitive" in the API will not
  5402  // be included in the string output. The member name will be present, but the
  5403  // value will be replaced with "sensitive".
  5404  func (s UpsertRowData) String() string {
  5405  	return awsutil.Prettify(s)
  5406  }
  5407  
  5408  // GoString returns the string representation.
  5409  //
  5410  // API parameter values that are decorated as "sensitive" in the API will not
  5411  // be included in the string output. The member name will be present, but the
  5412  // value will be replaced with "sensitive".
  5413  func (s UpsertRowData) GoString() string {
  5414  	return s.String()
  5415  }
  5416  
  5417  // Validate inspects the fields of the type to determine if they are valid.
  5418  func (s *UpsertRowData) Validate() error {
  5419  	invalidParams := request.ErrInvalidParams{Context: "UpsertRowData"}
  5420  	if s.BatchItemId == nil {
  5421  		invalidParams.Add(request.NewErrParamRequired("BatchItemId"))
  5422  	}
  5423  	if s.BatchItemId != nil && len(*s.BatchItemId) < 1 {
  5424  		invalidParams.Add(request.NewErrParamMinLen("BatchItemId", 1))
  5425  	}
  5426  	if s.CellsToUpdate == nil {
  5427  		invalidParams.Add(request.NewErrParamRequired("CellsToUpdate"))
  5428  	}
  5429  	if s.CellsToUpdate != nil && len(s.CellsToUpdate) < 1 {
  5430  		invalidParams.Add(request.NewErrParamMinLen("CellsToUpdate", 1))
  5431  	}
  5432  	if s.Filter == nil {
  5433  		invalidParams.Add(request.NewErrParamRequired("Filter"))
  5434  	}
  5435  	if s.Filter != nil {
  5436  		if err := s.Filter.Validate(); err != nil {
  5437  			invalidParams.AddNested("Filter", err.(request.ErrInvalidParams))
  5438  		}
  5439  	}
  5440  
  5441  	if invalidParams.Len() > 0 {
  5442  		return invalidParams
  5443  	}
  5444  	return nil
  5445  }
  5446  
  5447  // SetBatchItemId sets the BatchItemId field's value.
  5448  func (s *UpsertRowData) SetBatchItemId(v string) *UpsertRowData {
  5449  	s.BatchItemId = &v
  5450  	return s
  5451  }
  5452  
  5453  // SetCellsToUpdate sets the CellsToUpdate field's value.
  5454  func (s *UpsertRowData) SetCellsToUpdate(v map[string]*CellInput) *UpsertRowData {
  5455  	s.CellsToUpdate = v
  5456  	return s
  5457  }
  5458  
  5459  // SetFilter sets the Filter field's value.
  5460  func (s *UpsertRowData) SetFilter(v *Filter) *UpsertRowData {
  5461  	s.Filter = v
  5462  	return s
  5463  }
  5464  
  5465  // An object that represents the result of a single upsert row request.
  5466  type UpsertRowsResult struct {
  5467  	_ struct{} `type:"structure"`
  5468  
  5469  	// The list of row ids that were changed as part of an upsert row operation.
  5470  	// If the upsert resulted in an update, this list could potentially contain
  5471  	// multiple rows that matched the filter and hence got updated. If the upsert
  5472  	// resulted in an append, this list would only have the single row that was
  5473  	// appended.
  5474  	//
  5475  	// RowIds is a required field
  5476  	RowIds []*string `locationName:"rowIds" min:"1" type:"list" required:"true"`
  5477  
  5478  	// The result of the upsert action.
  5479  	//
  5480  	// UpsertAction is a required field
  5481  	UpsertAction *string `locationName:"upsertAction" type:"string" required:"true" enum:"UpsertAction"`
  5482  }
  5483  
  5484  // String returns the string representation.
  5485  //
  5486  // API parameter values that are decorated as "sensitive" in the API will not
  5487  // be included in the string output. The member name will be present, but the
  5488  // value will be replaced with "sensitive".
  5489  func (s UpsertRowsResult) String() string {
  5490  	return awsutil.Prettify(s)
  5491  }
  5492  
  5493  // GoString returns the string representation.
  5494  //
  5495  // API parameter values that are decorated as "sensitive" in the API will not
  5496  // be included in the string output. The member name will be present, but the
  5497  // value will be replaced with "sensitive".
  5498  func (s UpsertRowsResult) GoString() string {
  5499  	return s.String()
  5500  }
  5501  
  5502  // SetRowIds sets the RowIds field's value.
  5503  func (s *UpsertRowsResult) SetRowIds(v []*string) *UpsertRowsResult {
  5504  	s.RowIds = v
  5505  	return s
  5506  }
  5507  
  5508  // SetUpsertAction sets the UpsertAction field's value.
  5509  func (s *UpsertRowsResult) SetUpsertAction(v string) *UpsertRowsResult {
  5510  	s.UpsertAction = &v
  5511  	return s
  5512  }
  5513  
  5514  // Request is invalid. The message in the response contains details on why the
  5515  // request is invalid.
  5516  type ValidationException struct {
  5517  	_            struct{}                  `type:"structure"`
  5518  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5519  
  5520  	Message_ *string `locationName:"message" type:"string"`
  5521  }
  5522  
  5523  // String returns the string representation.
  5524  //
  5525  // API parameter values that are decorated as "sensitive" in the API will not
  5526  // be included in the string output. The member name will be present, but the
  5527  // value will be replaced with "sensitive".
  5528  func (s ValidationException) String() string {
  5529  	return awsutil.Prettify(s)
  5530  }
  5531  
  5532  // GoString returns the string representation.
  5533  //
  5534  // API parameter values that are decorated as "sensitive" in the API will not
  5535  // be included in the string output. The member name will be present, but the
  5536  // value will be replaced with "sensitive".
  5537  func (s ValidationException) GoString() string {
  5538  	return s.String()
  5539  }
  5540  
  5541  func newErrorValidationException(v protocol.ResponseMetadata) error {
  5542  	return &ValidationException{
  5543  		RespMetadata: v,
  5544  	}
  5545  }
  5546  
  5547  // Code returns the exception type name.
  5548  func (s *ValidationException) Code() string {
  5549  	return "ValidationException"
  5550  }
  5551  
  5552  // Message returns the exception's message.
  5553  func (s *ValidationException) Message() string {
  5554  	if s.Message_ != nil {
  5555  		return *s.Message_
  5556  	}
  5557  	return ""
  5558  }
  5559  
  5560  // OrigErr always returns nil, satisfies awserr.Error interface.
  5561  func (s *ValidationException) OrigErr() error {
  5562  	return nil
  5563  }
  5564  
  5565  func (s *ValidationException) Error() string {
  5566  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5567  }
  5568  
  5569  // Status code returns the HTTP status code for the request's response error.
  5570  func (s *ValidationException) StatusCode() int {
  5571  	return s.RespMetadata.StatusCode
  5572  }
  5573  
  5574  // RequestID returns the service's response RequestID for request.
  5575  func (s *ValidationException) RequestID() string {
  5576  	return s.RespMetadata.RequestID
  5577  }
  5578  
  5579  // The input variables to the app to be used by the InvokeScreenAutomation action
  5580  // request.
  5581  type VariableValue struct {
  5582  	_ struct{} `type:"structure" sensitive:"true"`
  5583  
  5584  	// Raw value of the variable.
  5585  	//
  5586  	// RawValue is a required field
  5587  	RawValue *string `locationName:"rawValue" type:"string" required:"true"`
  5588  }
  5589  
  5590  // String returns the string representation.
  5591  //
  5592  // API parameter values that are decorated as "sensitive" in the API will not
  5593  // be included in the string output. The member name will be present, but the
  5594  // value will be replaced with "sensitive".
  5595  func (s VariableValue) String() string {
  5596  	return awsutil.Prettify(s)
  5597  }
  5598  
  5599  // GoString returns the string representation.
  5600  //
  5601  // API parameter values that are decorated as "sensitive" in the API will not
  5602  // be included in the string output. The member name will be present, but the
  5603  // value will be replaced with "sensitive".
  5604  func (s VariableValue) GoString() string {
  5605  	return s.String()
  5606  }
  5607  
  5608  // Validate inspects the fields of the type to determine if they are valid.
  5609  func (s *VariableValue) Validate() error {
  5610  	invalidParams := request.ErrInvalidParams{Context: "VariableValue"}
  5611  	if s.RawValue == nil {
  5612  		invalidParams.Add(request.NewErrParamRequired("RawValue"))
  5613  	}
  5614  
  5615  	if invalidParams.Len() > 0 {
  5616  		return invalidParams
  5617  	}
  5618  	return nil
  5619  }
  5620  
  5621  // SetRawValue sets the RawValue field's value.
  5622  func (s *VariableValue) SetRawValue(v string) *VariableValue {
  5623  	s.RawValue = &v
  5624  	return s
  5625  }
  5626  
  5627  const (
  5628  	// FormatAuto is a Format enum value
  5629  	FormatAuto = "AUTO"
  5630  
  5631  	// FormatNumber is a Format enum value
  5632  	FormatNumber = "NUMBER"
  5633  
  5634  	// FormatCurrency is a Format enum value
  5635  	FormatCurrency = "CURRENCY"
  5636  
  5637  	// FormatDate is a Format enum value
  5638  	FormatDate = "DATE"
  5639  
  5640  	// FormatTime is a Format enum value
  5641  	FormatTime = "TIME"
  5642  
  5643  	// FormatDateTime is a Format enum value
  5644  	FormatDateTime = "DATE_TIME"
  5645  
  5646  	// FormatPercentage is a Format enum value
  5647  	FormatPercentage = "PERCENTAGE"
  5648  
  5649  	// FormatText is a Format enum value
  5650  	FormatText = "TEXT"
  5651  
  5652  	// FormatAccounting is a Format enum value
  5653  	FormatAccounting = "ACCOUNTING"
  5654  
  5655  	// FormatContact is a Format enum value
  5656  	FormatContact = "CONTACT"
  5657  
  5658  	// FormatRowlink is a Format enum value
  5659  	FormatRowlink = "ROWLINK"
  5660  )
  5661  
  5662  // Format_Values returns all elements of the Format enum
  5663  func Format_Values() []string {
  5664  	return []string{
  5665  		FormatAuto,
  5666  		FormatNumber,
  5667  		FormatCurrency,
  5668  		FormatDate,
  5669  		FormatTime,
  5670  		FormatDateTime,
  5671  		FormatPercentage,
  5672  		FormatText,
  5673  		FormatAccounting,
  5674  		FormatContact,
  5675  		FormatRowlink,
  5676  	}
  5677  }
  5678  
  5679  const (
  5680  	// ImportDataCharacterEncodingUtf8 is a ImportDataCharacterEncoding enum value
  5681  	ImportDataCharacterEncodingUtf8 = "UTF-8"
  5682  
  5683  	// ImportDataCharacterEncodingUsAscii is a ImportDataCharacterEncoding enum value
  5684  	ImportDataCharacterEncodingUsAscii = "US-ASCII"
  5685  
  5686  	// ImportDataCharacterEncodingIso88591 is a ImportDataCharacterEncoding enum value
  5687  	ImportDataCharacterEncodingIso88591 = "ISO-8859-1"
  5688  
  5689  	// ImportDataCharacterEncodingUtf16be is a ImportDataCharacterEncoding enum value
  5690  	ImportDataCharacterEncodingUtf16be = "UTF-16BE"
  5691  
  5692  	// ImportDataCharacterEncodingUtf16le is a ImportDataCharacterEncoding enum value
  5693  	ImportDataCharacterEncodingUtf16le = "UTF-16LE"
  5694  
  5695  	// ImportDataCharacterEncodingUtf16 is a ImportDataCharacterEncoding enum value
  5696  	ImportDataCharacterEncodingUtf16 = "UTF-16"
  5697  )
  5698  
  5699  // ImportDataCharacterEncoding_Values returns all elements of the ImportDataCharacterEncoding enum
  5700  func ImportDataCharacterEncoding_Values() []string {
  5701  	return []string{
  5702  		ImportDataCharacterEncodingUtf8,
  5703  		ImportDataCharacterEncodingUsAscii,
  5704  		ImportDataCharacterEncodingIso88591,
  5705  		ImportDataCharacterEncodingUtf16be,
  5706  		ImportDataCharacterEncodingUtf16le,
  5707  		ImportDataCharacterEncodingUtf16,
  5708  	}
  5709  }
  5710  
  5711  const (
  5712  	// ImportSourceDataFormatDelimitedText is a ImportSourceDataFormat enum value
  5713  	ImportSourceDataFormatDelimitedText = "DELIMITED_TEXT"
  5714  )
  5715  
  5716  // ImportSourceDataFormat_Values returns all elements of the ImportSourceDataFormat enum
  5717  func ImportSourceDataFormat_Values() []string {
  5718  	return []string{
  5719  		ImportSourceDataFormatDelimitedText,
  5720  	}
  5721  }
  5722  
  5723  const (
  5724  	// TableDataImportJobStatusSubmitted is a TableDataImportJobStatus enum value
  5725  	TableDataImportJobStatusSubmitted = "SUBMITTED"
  5726  
  5727  	// TableDataImportJobStatusInProgress is a TableDataImportJobStatus enum value
  5728  	TableDataImportJobStatusInProgress = "IN_PROGRESS"
  5729  
  5730  	// TableDataImportJobStatusCompleted is a TableDataImportJobStatus enum value
  5731  	TableDataImportJobStatusCompleted = "COMPLETED"
  5732  
  5733  	// TableDataImportJobStatusFailed is a TableDataImportJobStatus enum value
  5734  	TableDataImportJobStatusFailed = "FAILED"
  5735  )
  5736  
  5737  // TableDataImportJobStatus_Values returns all elements of the TableDataImportJobStatus enum
  5738  func TableDataImportJobStatus_Values() []string {
  5739  	return []string{
  5740  		TableDataImportJobStatusSubmitted,
  5741  		TableDataImportJobStatusInProgress,
  5742  		TableDataImportJobStatusCompleted,
  5743  		TableDataImportJobStatusFailed,
  5744  	}
  5745  }
  5746  
  5747  const (
  5748  	// UpsertActionUpdated is a UpsertAction enum value
  5749  	UpsertActionUpdated = "UPDATED"
  5750  
  5751  	// UpsertActionAppended is a UpsertAction enum value
  5752  	UpsertActionAppended = "APPENDED"
  5753  )
  5754  
  5755  // UpsertAction_Values returns all elements of the UpsertAction enum
  5756  func UpsertAction_Values() []string {
  5757  	return []string{
  5758  		UpsertActionUpdated,
  5759  		UpsertActionAppended,
  5760  	}
  5761  }