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

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package lookoutequipment
     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  	"github.com/aavshr/aws-sdk-go/private/protocol/jsonrpc"
    14  )
    15  
    16  const opCreateDataset = "CreateDataset"
    17  
    18  // CreateDatasetRequest generates a "aws/request.Request" representing the
    19  // client's request for the CreateDataset operation. The "output" return
    20  // value will be populated with the request's response once the request completes
    21  // successfully.
    22  //
    23  // Use "Send" method on the returned Request to send the API call to the service.
    24  // the "output" return value is not valid until after Send returns without error.
    25  //
    26  // See CreateDataset for more information on using the CreateDataset
    27  // API call, and error handling.
    28  //
    29  // This method is useful when you want to inject custom logic or configuration
    30  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
    31  //
    32  //
    33  //    // Example sending a request using the CreateDatasetRequest method.
    34  //    req, resp := client.CreateDatasetRequest(params)
    35  //
    36  //    err := req.Send()
    37  //    if err == nil { // resp is now filled
    38  //        fmt.Println(resp)
    39  //    }
    40  //
    41  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateDataset
    42  func (c *LookoutEquipment) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) {
    43  	op := &request.Operation{
    44  		Name:       opCreateDataset,
    45  		HTTPMethod: "POST",
    46  		HTTPPath:   "/",
    47  	}
    48  
    49  	if input == nil {
    50  		input = &CreateDatasetInput{}
    51  	}
    52  
    53  	output = &CreateDatasetOutput{}
    54  	req = c.newRequest(op, input, output)
    55  	return
    56  }
    57  
    58  // CreateDataset API operation for Amazon Lookout for Equipment.
    59  //
    60  // Creates a container for a collection of data being ingested for analysis.
    61  // The dataset contains the metadata describing where the data is and what the
    62  // data actually looks like. In other words, it contains the location of the
    63  // data source, the data schema, and other information. A dataset also contains
    64  // any tags associated with the ingested data.
    65  //
    66  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
    67  // with awserr.Error's Code and Message methods to get detailed information about
    68  // the error.
    69  //
    70  // See the AWS API reference guide for Amazon Lookout for Equipment's
    71  // API operation CreateDataset for usage and error information.
    72  //
    73  // Returned Error Types:
    74  //   * ValidationException
    75  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
    76  //   or a related AWS service that's being utilized.
    77  //
    78  //   * ConflictException
    79  //   The request could not be completed due to a conflict with the current state
    80  //   of the target resource.
    81  //
    82  //   * ThrottlingException
    83  //   The request was denied due to request throttling.
    84  //
    85  //   * ServiceQuotaExceededException
    86  //   Resource limitations have been exceeded.
    87  //
    88  //   * AccessDeniedException
    89  //   The request could not be completed because you do not have access to the
    90  //   resource.
    91  //
    92  //   * InternalServerException
    93  //   Processing of the request has failed because of an unknown error, exception
    94  //   or failure.
    95  //
    96  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateDataset
    97  func (c *LookoutEquipment) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) {
    98  	req, out := c.CreateDatasetRequest(input)
    99  	return out, req.Send()
   100  }
   101  
   102  // CreateDatasetWithContext is the same as CreateDataset with the addition of
   103  // the ability to pass a context and additional request options.
   104  //
   105  // See CreateDataset for details on how to use this API operation.
   106  //
   107  // The context must be non-nil and will be used for request cancellation. If
   108  // the context is nil a panic will occur. In the future the SDK may create
   109  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   110  // for more information on using Contexts.
   111  func (c *LookoutEquipment) CreateDatasetWithContext(ctx aws.Context, input *CreateDatasetInput, opts ...request.Option) (*CreateDatasetOutput, error) {
   112  	req, out := c.CreateDatasetRequest(input)
   113  	req.SetContext(ctx)
   114  	req.ApplyOptions(opts...)
   115  	return out, req.Send()
   116  }
   117  
   118  const opCreateInferenceScheduler = "CreateInferenceScheduler"
   119  
   120  // CreateInferenceSchedulerRequest generates a "aws/request.Request" representing the
   121  // client's request for the CreateInferenceScheduler operation. The "output" return
   122  // value will be populated with the request's response once the request completes
   123  // successfully.
   124  //
   125  // Use "Send" method on the returned Request to send the API call to the service.
   126  // the "output" return value is not valid until after Send returns without error.
   127  //
   128  // See CreateInferenceScheduler for more information on using the CreateInferenceScheduler
   129  // API call, and error handling.
   130  //
   131  // This method is useful when you want to inject custom logic or configuration
   132  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   133  //
   134  //
   135  //    // Example sending a request using the CreateInferenceSchedulerRequest method.
   136  //    req, resp := client.CreateInferenceSchedulerRequest(params)
   137  //
   138  //    err := req.Send()
   139  //    if err == nil { // resp is now filled
   140  //        fmt.Println(resp)
   141  //    }
   142  //
   143  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateInferenceScheduler
   144  func (c *LookoutEquipment) CreateInferenceSchedulerRequest(input *CreateInferenceSchedulerInput) (req *request.Request, output *CreateInferenceSchedulerOutput) {
   145  	op := &request.Operation{
   146  		Name:       opCreateInferenceScheduler,
   147  		HTTPMethod: "POST",
   148  		HTTPPath:   "/",
   149  	}
   150  
   151  	if input == nil {
   152  		input = &CreateInferenceSchedulerInput{}
   153  	}
   154  
   155  	output = &CreateInferenceSchedulerOutput{}
   156  	req = c.newRequest(op, input, output)
   157  	return
   158  }
   159  
   160  // CreateInferenceScheduler API operation for Amazon Lookout for Equipment.
   161  //
   162  // Creates a scheduled inference. Scheduling an inference is setting up a continuous
   163  // real-time inference plan to analyze new measurement data. When setting up
   164  // the schedule, you provide an S3 bucket location for the input data, assign
   165  // it a delimiter between separate entries in the data, set an offset delay
   166  // if desired, and set the frequency of inferencing. You must also provide an
   167  // S3 bucket location for the output data.
   168  //
   169  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   170  // with awserr.Error's Code and Message methods to get detailed information about
   171  // the error.
   172  //
   173  // See the AWS API reference guide for Amazon Lookout for Equipment's
   174  // API operation CreateInferenceScheduler for usage and error information.
   175  //
   176  // Returned Error Types:
   177  //   * ConflictException
   178  //   The request could not be completed due to a conflict with the current state
   179  //   of the target resource.
   180  //
   181  //   * ResourceNotFoundException
   182  //   The resource requested could not be found. Verify the resource ID and retry
   183  //   your request.
   184  //
   185  //   * ValidationException
   186  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
   187  //   or a related AWS service that's being utilized.
   188  //
   189  //   * ServiceQuotaExceededException
   190  //   Resource limitations have been exceeded.
   191  //
   192  //   * ThrottlingException
   193  //   The request was denied due to request throttling.
   194  //
   195  //   * AccessDeniedException
   196  //   The request could not be completed because you do not have access to the
   197  //   resource.
   198  //
   199  //   * InternalServerException
   200  //   Processing of the request has failed because of an unknown error, exception
   201  //   or failure.
   202  //
   203  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateInferenceScheduler
   204  func (c *LookoutEquipment) CreateInferenceScheduler(input *CreateInferenceSchedulerInput) (*CreateInferenceSchedulerOutput, error) {
   205  	req, out := c.CreateInferenceSchedulerRequest(input)
   206  	return out, req.Send()
   207  }
   208  
   209  // CreateInferenceSchedulerWithContext is the same as CreateInferenceScheduler with the addition of
   210  // the ability to pass a context and additional request options.
   211  //
   212  // See CreateInferenceScheduler for details on how to use this API operation.
   213  //
   214  // The context must be non-nil and will be used for request cancellation. If
   215  // the context is nil a panic will occur. In the future the SDK may create
   216  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   217  // for more information on using Contexts.
   218  func (c *LookoutEquipment) CreateInferenceSchedulerWithContext(ctx aws.Context, input *CreateInferenceSchedulerInput, opts ...request.Option) (*CreateInferenceSchedulerOutput, error) {
   219  	req, out := c.CreateInferenceSchedulerRequest(input)
   220  	req.SetContext(ctx)
   221  	req.ApplyOptions(opts...)
   222  	return out, req.Send()
   223  }
   224  
   225  const opCreateModel = "CreateModel"
   226  
   227  // CreateModelRequest generates a "aws/request.Request" representing the
   228  // client's request for the CreateModel operation. The "output" return
   229  // value will be populated with the request's response once the request completes
   230  // successfully.
   231  //
   232  // Use "Send" method on the returned Request to send the API call to the service.
   233  // the "output" return value is not valid until after Send returns without error.
   234  //
   235  // See CreateModel for more information on using the CreateModel
   236  // API call, and error handling.
   237  //
   238  // This method is useful when you want to inject custom logic or configuration
   239  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   240  //
   241  //
   242  //    // Example sending a request using the CreateModelRequest method.
   243  //    req, resp := client.CreateModelRequest(params)
   244  //
   245  //    err := req.Send()
   246  //    if err == nil { // resp is now filled
   247  //        fmt.Println(resp)
   248  //    }
   249  //
   250  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateModel
   251  func (c *LookoutEquipment) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) {
   252  	op := &request.Operation{
   253  		Name:       opCreateModel,
   254  		HTTPMethod: "POST",
   255  		HTTPPath:   "/",
   256  	}
   257  
   258  	if input == nil {
   259  		input = &CreateModelInput{}
   260  	}
   261  
   262  	output = &CreateModelOutput{}
   263  	req = c.newRequest(op, input, output)
   264  	return
   265  }
   266  
   267  // CreateModel API operation for Amazon Lookout for Equipment.
   268  //
   269  // Creates an ML model for data inference.
   270  //
   271  // A machine-learning (ML) model is a mathematical model that finds patterns
   272  // in your data. In Amazon Lookout for Equipment, the model learns the patterns
   273  // of normal behavior and detects abnormal behavior that could be potential
   274  // equipment failure (or maintenance events). The models are made by analyzing
   275  // normal data and abnormalities in machine behavior that have already occurred.
   276  //
   277  // Your model is trained using a portion of the data from your dataset and uses
   278  // that data to learn patterns of normal behavior and abnormal patterns that
   279  // lead to equipment failure. Another portion of the data is used to evaluate
   280  // the model's accuracy.
   281  //
   282  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   283  // with awserr.Error's Code and Message methods to get detailed information about
   284  // the error.
   285  //
   286  // See the AWS API reference guide for Amazon Lookout for Equipment's
   287  // API operation CreateModel for usage and error information.
   288  //
   289  // Returned Error Types:
   290  //   * ValidationException
   291  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
   292  //   or a related AWS service that's being utilized.
   293  //
   294  //   * ConflictException
   295  //   The request could not be completed due to a conflict with the current state
   296  //   of the target resource.
   297  //
   298  //   * ThrottlingException
   299  //   The request was denied due to request throttling.
   300  //
   301  //   * ServiceQuotaExceededException
   302  //   Resource limitations have been exceeded.
   303  //
   304  //   * InternalServerException
   305  //   Processing of the request has failed because of an unknown error, exception
   306  //   or failure.
   307  //
   308  //   * ResourceNotFoundException
   309  //   The resource requested could not be found. Verify the resource ID and retry
   310  //   your request.
   311  //
   312  //   * AccessDeniedException
   313  //   The request could not be completed because you do not have access to the
   314  //   resource.
   315  //
   316  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateModel
   317  func (c *LookoutEquipment) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) {
   318  	req, out := c.CreateModelRequest(input)
   319  	return out, req.Send()
   320  }
   321  
   322  // CreateModelWithContext is the same as CreateModel with the addition of
   323  // the ability to pass a context and additional request options.
   324  //
   325  // See CreateModel 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 *LookoutEquipment) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error) {
   332  	req, out := c.CreateModelRequest(input)
   333  	req.SetContext(ctx)
   334  	req.ApplyOptions(opts...)
   335  	return out, req.Send()
   336  }
   337  
   338  const opDeleteDataset = "DeleteDataset"
   339  
   340  // DeleteDatasetRequest generates a "aws/request.Request" representing the
   341  // client's request for the DeleteDataset 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 DeleteDataset for more information on using the DeleteDataset
   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 DeleteDatasetRequest method.
   356  //    req, resp := client.DeleteDatasetRequest(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/lookoutequipment-2020-12-15/DeleteDataset
   364  func (c *LookoutEquipment) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) {
   365  	op := &request.Operation{
   366  		Name:       opDeleteDataset,
   367  		HTTPMethod: "POST",
   368  		HTTPPath:   "/",
   369  	}
   370  
   371  	if input == nil {
   372  		input = &DeleteDatasetInput{}
   373  	}
   374  
   375  	output = &DeleteDatasetOutput{}
   376  	req = c.newRequest(op, input, output)
   377  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   378  	return
   379  }
   380  
   381  // DeleteDataset API operation for Amazon Lookout for Equipment.
   382  //
   383  // Deletes a dataset and associated artifacts. The operation will check to see
   384  // if any inference scheduler or data ingestion job is currently using the dataset,
   385  // and if there isn't, the dataset, its metadata, and any associated data stored
   386  // in S3 will be deleted. This does not affect any models that used this dataset
   387  // for training and evaluation, but does prevent it from being used in the future.
   388  //
   389  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   390  // with awserr.Error's Code and Message methods to get detailed information about
   391  // the error.
   392  //
   393  // See the AWS API reference guide for Amazon Lookout for Equipment's
   394  // API operation DeleteDataset for usage and error information.
   395  //
   396  // Returned Error Types:
   397  //   * ResourceNotFoundException
   398  //   The resource requested could not be found. Verify the resource ID and retry
   399  //   your request.
   400  //
   401  //   * ThrottlingException
   402  //   The request was denied due to request throttling.
   403  //
   404  //   * InternalServerException
   405  //   Processing of the request has failed because of an unknown error, exception
   406  //   or failure.
   407  //
   408  //   * AccessDeniedException
   409  //   The request could not be completed because you do not have access to the
   410  //   resource.
   411  //
   412  //   * ConflictException
   413  //   The request could not be completed due to a conflict with the current state
   414  //   of the target resource.
   415  //
   416  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteDataset
   417  func (c *LookoutEquipment) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) {
   418  	req, out := c.DeleteDatasetRequest(input)
   419  	return out, req.Send()
   420  }
   421  
   422  // DeleteDatasetWithContext is the same as DeleteDataset with the addition of
   423  // the ability to pass a context and additional request options.
   424  //
   425  // See DeleteDataset for details on how to use this API operation.
   426  //
   427  // The context must be non-nil and will be used for request cancellation. If
   428  // the context is nil a panic will occur. In the future the SDK may create
   429  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   430  // for more information on using Contexts.
   431  func (c *LookoutEquipment) DeleteDatasetWithContext(ctx aws.Context, input *DeleteDatasetInput, opts ...request.Option) (*DeleteDatasetOutput, error) {
   432  	req, out := c.DeleteDatasetRequest(input)
   433  	req.SetContext(ctx)
   434  	req.ApplyOptions(opts...)
   435  	return out, req.Send()
   436  }
   437  
   438  const opDeleteInferenceScheduler = "DeleteInferenceScheduler"
   439  
   440  // DeleteInferenceSchedulerRequest generates a "aws/request.Request" representing the
   441  // client's request for the DeleteInferenceScheduler operation. The "output" return
   442  // value will be populated with the request's response once the request completes
   443  // successfully.
   444  //
   445  // Use "Send" method on the returned Request to send the API call to the service.
   446  // the "output" return value is not valid until after Send returns without error.
   447  //
   448  // See DeleteInferenceScheduler for more information on using the DeleteInferenceScheduler
   449  // API call, and error handling.
   450  //
   451  // This method is useful when you want to inject custom logic or configuration
   452  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   453  //
   454  //
   455  //    // Example sending a request using the DeleteInferenceSchedulerRequest method.
   456  //    req, resp := client.DeleteInferenceSchedulerRequest(params)
   457  //
   458  //    err := req.Send()
   459  //    if err == nil { // resp is now filled
   460  //        fmt.Println(resp)
   461  //    }
   462  //
   463  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteInferenceScheduler
   464  func (c *LookoutEquipment) DeleteInferenceSchedulerRequest(input *DeleteInferenceSchedulerInput) (req *request.Request, output *DeleteInferenceSchedulerOutput) {
   465  	op := &request.Operation{
   466  		Name:       opDeleteInferenceScheduler,
   467  		HTTPMethod: "POST",
   468  		HTTPPath:   "/",
   469  	}
   470  
   471  	if input == nil {
   472  		input = &DeleteInferenceSchedulerInput{}
   473  	}
   474  
   475  	output = &DeleteInferenceSchedulerOutput{}
   476  	req = c.newRequest(op, input, output)
   477  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   478  	return
   479  }
   480  
   481  // DeleteInferenceScheduler API operation for Amazon Lookout for Equipment.
   482  //
   483  // Deletes an inference scheduler that has been set up. Already processed output
   484  // results are not affected.
   485  //
   486  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   487  // with awserr.Error's Code and Message methods to get detailed information about
   488  // the error.
   489  //
   490  // See the AWS API reference guide for Amazon Lookout for Equipment's
   491  // API operation DeleteInferenceScheduler for usage and error information.
   492  //
   493  // Returned Error Types:
   494  //   * ValidationException
   495  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
   496  //   or a related AWS service that's being utilized.
   497  //
   498  //   * ResourceNotFoundException
   499  //   The resource requested could not be found. Verify the resource ID and retry
   500  //   your request.
   501  //
   502  //   * ConflictException
   503  //   The request could not be completed due to a conflict with the current state
   504  //   of the target resource.
   505  //
   506  //   * ThrottlingException
   507  //   The request was denied due to request throttling.
   508  //
   509  //   * AccessDeniedException
   510  //   The request could not be completed because you do not have access to the
   511  //   resource.
   512  //
   513  //   * InternalServerException
   514  //   Processing of the request has failed because of an unknown error, exception
   515  //   or failure.
   516  //
   517  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteInferenceScheduler
   518  func (c *LookoutEquipment) DeleteInferenceScheduler(input *DeleteInferenceSchedulerInput) (*DeleteInferenceSchedulerOutput, error) {
   519  	req, out := c.DeleteInferenceSchedulerRequest(input)
   520  	return out, req.Send()
   521  }
   522  
   523  // DeleteInferenceSchedulerWithContext is the same as DeleteInferenceScheduler with the addition of
   524  // the ability to pass a context and additional request options.
   525  //
   526  // See DeleteInferenceScheduler for details on how to use this API operation.
   527  //
   528  // The context must be non-nil and will be used for request cancellation. If
   529  // the context is nil a panic will occur. In the future the SDK may create
   530  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   531  // for more information on using Contexts.
   532  func (c *LookoutEquipment) DeleteInferenceSchedulerWithContext(ctx aws.Context, input *DeleteInferenceSchedulerInput, opts ...request.Option) (*DeleteInferenceSchedulerOutput, error) {
   533  	req, out := c.DeleteInferenceSchedulerRequest(input)
   534  	req.SetContext(ctx)
   535  	req.ApplyOptions(opts...)
   536  	return out, req.Send()
   537  }
   538  
   539  const opDeleteModel = "DeleteModel"
   540  
   541  // DeleteModelRequest generates a "aws/request.Request" representing the
   542  // client's request for the DeleteModel operation. The "output" return
   543  // value will be populated with the request's response once the request completes
   544  // successfully.
   545  //
   546  // Use "Send" method on the returned Request to send the API call to the service.
   547  // the "output" return value is not valid until after Send returns without error.
   548  //
   549  // See DeleteModel for more information on using the DeleteModel
   550  // API call, and error handling.
   551  //
   552  // This method is useful when you want to inject custom logic or configuration
   553  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   554  //
   555  //
   556  //    // Example sending a request using the DeleteModelRequest method.
   557  //    req, resp := client.DeleteModelRequest(params)
   558  //
   559  //    err := req.Send()
   560  //    if err == nil { // resp is now filled
   561  //        fmt.Println(resp)
   562  //    }
   563  //
   564  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteModel
   565  func (c *LookoutEquipment) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) {
   566  	op := &request.Operation{
   567  		Name:       opDeleteModel,
   568  		HTTPMethod: "POST",
   569  		HTTPPath:   "/",
   570  	}
   571  
   572  	if input == nil {
   573  		input = &DeleteModelInput{}
   574  	}
   575  
   576  	output = &DeleteModelOutput{}
   577  	req = c.newRequest(op, input, output)
   578  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   579  	return
   580  }
   581  
   582  // DeleteModel API operation for Amazon Lookout for Equipment.
   583  //
   584  // Deletes an ML model currently available for Amazon Lookout for Equipment.
   585  // This will prevent it from being used with an inference scheduler, even one
   586  // that is already set up.
   587  //
   588  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   589  // with awserr.Error's Code and Message methods to get detailed information about
   590  // the error.
   591  //
   592  // See the AWS API reference guide for Amazon Lookout for Equipment's
   593  // API operation DeleteModel for usage and error information.
   594  //
   595  // Returned Error Types:
   596  //   * ResourceNotFoundException
   597  //   The resource requested could not be found. Verify the resource ID and retry
   598  //   your request.
   599  //
   600  //   * ThrottlingException
   601  //   The request was denied due to request throttling.
   602  //
   603  //   * InternalServerException
   604  //   Processing of the request has failed because of an unknown error, exception
   605  //   or failure.
   606  //
   607  //   * ConflictException
   608  //   The request could not be completed due to a conflict with the current state
   609  //   of the target resource.
   610  //
   611  //   * AccessDeniedException
   612  //   The request could not be completed because you do not have access to the
   613  //   resource.
   614  //
   615  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteModel
   616  func (c *LookoutEquipment) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) {
   617  	req, out := c.DeleteModelRequest(input)
   618  	return out, req.Send()
   619  }
   620  
   621  // DeleteModelWithContext is the same as DeleteModel with the addition of
   622  // the ability to pass a context and additional request options.
   623  //
   624  // See DeleteModel for details on how to use this API operation.
   625  //
   626  // The context must be non-nil and will be used for request cancellation. If
   627  // the context is nil a panic will occur. In the future the SDK may create
   628  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   629  // for more information on using Contexts.
   630  func (c *LookoutEquipment) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) {
   631  	req, out := c.DeleteModelRequest(input)
   632  	req.SetContext(ctx)
   633  	req.ApplyOptions(opts...)
   634  	return out, req.Send()
   635  }
   636  
   637  const opDescribeDataIngestionJob = "DescribeDataIngestionJob"
   638  
   639  // DescribeDataIngestionJobRequest generates a "aws/request.Request" representing the
   640  // client's request for the DescribeDataIngestionJob operation. The "output" return
   641  // value will be populated with the request's response once the request completes
   642  // successfully.
   643  //
   644  // Use "Send" method on the returned Request to send the API call to the service.
   645  // the "output" return value is not valid until after Send returns without error.
   646  //
   647  // See DescribeDataIngestionJob for more information on using the DescribeDataIngestionJob
   648  // API call, and error handling.
   649  //
   650  // This method is useful when you want to inject custom logic or configuration
   651  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   652  //
   653  //
   654  //    // Example sending a request using the DescribeDataIngestionJobRequest method.
   655  //    req, resp := client.DescribeDataIngestionJobRequest(params)
   656  //
   657  //    err := req.Send()
   658  //    if err == nil { // resp is now filled
   659  //        fmt.Println(resp)
   660  //    }
   661  //
   662  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob
   663  func (c *LookoutEquipment) DescribeDataIngestionJobRequest(input *DescribeDataIngestionJobInput) (req *request.Request, output *DescribeDataIngestionJobOutput) {
   664  	op := &request.Operation{
   665  		Name:       opDescribeDataIngestionJob,
   666  		HTTPMethod: "POST",
   667  		HTTPPath:   "/",
   668  	}
   669  
   670  	if input == nil {
   671  		input = &DescribeDataIngestionJobInput{}
   672  	}
   673  
   674  	output = &DescribeDataIngestionJobOutput{}
   675  	req = c.newRequest(op, input, output)
   676  	return
   677  }
   678  
   679  // DescribeDataIngestionJob API operation for Amazon Lookout for Equipment.
   680  //
   681  // Provides information on a specific data ingestion job such as creation time,
   682  // dataset ARN, status, and so on.
   683  //
   684  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   685  // with awserr.Error's Code and Message methods to get detailed information about
   686  // the error.
   687  //
   688  // See the AWS API reference guide for Amazon Lookout for Equipment's
   689  // API operation DescribeDataIngestionJob for usage and error information.
   690  //
   691  // Returned Error Types:
   692  //   * ValidationException
   693  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
   694  //   or a related AWS service that's being utilized.
   695  //
   696  //   * ResourceNotFoundException
   697  //   The resource requested could not be found. Verify the resource ID and retry
   698  //   your request.
   699  //
   700  //   * ThrottlingException
   701  //   The request was denied due to request throttling.
   702  //
   703  //   * AccessDeniedException
   704  //   The request could not be completed because you do not have access to the
   705  //   resource.
   706  //
   707  //   * InternalServerException
   708  //   Processing of the request has failed because of an unknown error, exception
   709  //   or failure.
   710  //
   711  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob
   712  func (c *LookoutEquipment) DescribeDataIngestionJob(input *DescribeDataIngestionJobInput) (*DescribeDataIngestionJobOutput, error) {
   713  	req, out := c.DescribeDataIngestionJobRequest(input)
   714  	return out, req.Send()
   715  }
   716  
   717  // DescribeDataIngestionJobWithContext is the same as DescribeDataIngestionJob with the addition of
   718  // the ability to pass a context and additional request options.
   719  //
   720  // See DescribeDataIngestionJob for details on how to use this API operation.
   721  //
   722  // The context must be non-nil and will be used for request cancellation. If
   723  // the context is nil a panic will occur. In the future the SDK may create
   724  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   725  // for more information on using Contexts.
   726  func (c *LookoutEquipment) DescribeDataIngestionJobWithContext(ctx aws.Context, input *DescribeDataIngestionJobInput, opts ...request.Option) (*DescribeDataIngestionJobOutput, error) {
   727  	req, out := c.DescribeDataIngestionJobRequest(input)
   728  	req.SetContext(ctx)
   729  	req.ApplyOptions(opts...)
   730  	return out, req.Send()
   731  }
   732  
   733  const opDescribeDataset = "DescribeDataset"
   734  
   735  // DescribeDatasetRequest generates a "aws/request.Request" representing the
   736  // client's request for the DescribeDataset operation. The "output" return
   737  // value will be populated with the request's response once the request completes
   738  // successfully.
   739  //
   740  // Use "Send" method on the returned Request to send the API call to the service.
   741  // the "output" return value is not valid until after Send returns without error.
   742  //
   743  // See DescribeDataset for more information on using the DescribeDataset
   744  // API call, and error handling.
   745  //
   746  // This method is useful when you want to inject custom logic or configuration
   747  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   748  //
   749  //
   750  //    // Example sending a request using the DescribeDatasetRequest method.
   751  //    req, resp := client.DescribeDatasetRequest(params)
   752  //
   753  //    err := req.Send()
   754  //    if err == nil { // resp is now filled
   755  //        fmt.Println(resp)
   756  //    }
   757  //
   758  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset
   759  func (c *LookoutEquipment) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) {
   760  	op := &request.Operation{
   761  		Name:       opDescribeDataset,
   762  		HTTPMethod: "POST",
   763  		HTTPPath:   "/",
   764  	}
   765  
   766  	if input == nil {
   767  		input = &DescribeDatasetInput{}
   768  	}
   769  
   770  	output = &DescribeDatasetOutput{}
   771  	req = c.newRequest(op, input, output)
   772  	return
   773  }
   774  
   775  // DescribeDataset API operation for Amazon Lookout for Equipment.
   776  //
   777  // Provides a JSON description of the data that is in each time series dataset,
   778  // including names, column names, and data types.
   779  //
   780  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   781  // with awserr.Error's Code and Message methods to get detailed information about
   782  // the error.
   783  //
   784  // See the AWS API reference guide for Amazon Lookout for Equipment's
   785  // API operation DescribeDataset for usage and error information.
   786  //
   787  // Returned Error Types:
   788  //   * ValidationException
   789  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
   790  //   or a related AWS service that's being utilized.
   791  //
   792  //   * ResourceNotFoundException
   793  //   The resource requested could not be found. Verify the resource ID and retry
   794  //   your request.
   795  //
   796  //   * ThrottlingException
   797  //   The request was denied due to request throttling.
   798  //
   799  //   * AccessDeniedException
   800  //   The request could not be completed because you do not have access to the
   801  //   resource.
   802  //
   803  //   * InternalServerException
   804  //   Processing of the request has failed because of an unknown error, exception
   805  //   or failure.
   806  //
   807  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset
   808  func (c *LookoutEquipment) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) {
   809  	req, out := c.DescribeDatasetRequest(input)
   810  	return out, req.Send()
   811  }
   812  
   813  // DescribeDatasetWithContext is the same as DescribeDataset with the addition of
   814  // the ability to pass a context and additional request options.
   815  //
   816  // See DescribeDataset for details on how to use this API operation.
   817  //
   818  // The context must be non-nil and will be used for request cancellation. If
   819  // the context is nil a panic will occur. In the future the SDK may create
   820  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   821  // for more information on using Contexts.
   822  func (c *LookoutEquipment) DescribeDatasetWithContext(ctx aws.Context, input *DescribeDatasetInput, opts ...request.Option) (*DescribeDatasetOutput, error) {
   823  	req, out := c.DescribeDatasetRequest(input)
   824  	req.SetContext(ctx)
   825  	req.ApplyOptions(opts...)
   826  	return out, req.Send()
   827  }
   828  
   829  const opDescribeInferenceScheduler = "DescribeInferenceScheduler"
   830  
   831  // DescribeInferenceSchedulerRequest generates a "aws/request.Request" representing the
   832  // client's request for the DescribeInferenceScheduler operation. The "output" return
   833  // value will be populated with the request's response once the request completes
   834  // successfully.
   835  //
   836  // Use "Send" method on the returned Request to send the API call to the service.
   837  // the "output" return value is not valid until after Send returns without error.
   838  //
   839  // See DescribeInferenceScheduler for more information on using the DescribeInferenceScheduler
   840  // API call, and error handling.
   841  //
   842  // This method is useful when you want to inject custom logic or configuration
   843  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   844  //
   845  //
   846  //    // Example sending a request using the DescribeInferenceSchedulerRequest method.
   847  //    req, resp := client.DescribeInferenceSchedulerRequest(params)
   848  //
   849  //    err := req.Send()
   850  //    if err == nil { // resp is now filled
   851  //        fmt.Println(resp)
   852  //    }
   853  //
   854  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeInferenceScheduler
   855  func (c *LookoutEquipment) DescribeInferenceSchedulerRequest(input *DescribeInferenceSchedulerInput) (req *request.Request, output *DescribeInferenceSchedulerOutput) {
   856  	op := &request.Operation{
   857  		Name:       opDescribeInferenceScheduler,
   858  		HTTPMethod: "POST",
   859  		HTTPPath:   "/",
   860  	}
   861  
   862  	if input == nil {
   863  		input = &DescribeInferenceSchedulerInput{}
   864  	}
   865  
   866  	output = &DescribeInferenceSchedulerOutput{}
   867  	req = c.newRequest(op, input, output)
   868  	return
   869  }
   870  
   871  // DescribeInferenceScheduler API operation for Amazon Lookout for Equipment.
   872  //
   873  // Specifies information about the inference scheduler being used, including
   874  // name, model, status, and associated metadata
   875  //
   876  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   877  // with awserr.Error's Code and Message methods to get detailed information about
   878  // the error.
   879  //
   880  // See the AWS API reference guide for Amazon Lookout for Equipment's
   881  // API operation DescribeInferenceScheduler for usage and error information.
   882  //
   883  // Returned Error Types:
   884  //   * ValidationException
   885  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
   886  //   or a related AWS service that's being utilized.
   887  //
   888  //   * ResourceNotFoundException
   889  //   The resource requested could not be found. Verify the resource ID and retry
   890  //   your request.
   891  //
   892  //   * ThrottlingException
   893  //   The request was denied due to request throttling.
   894  //
   895  //   * AccessDeniedException
   896  //   The request could not be completed because you do not have access to the
   897  //   resource.
   898  //
   899  //   * InternalServerException
   900  //   Processing of the request has failed because of an unknown error, exception
   901  //   or failure.
   902  //
   903  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeInferenceScheduler
   904  func (c *LookoutEquipment) DescribeInferenceScheduler(input *DescribeInferenceSchedulerInput) (*DescribeInferenceSchedulerOutput, error) {
   905  	req, out := c.DescribeInferenceSchedulerRequest(input)
   906  	return out, req.Send()
   907  }
   908  
   909  // DescribeInferenceSchedulerWithContext is the same as DescribeInferenceScheduler with the addition of
   910  // the ability to pass a context and additional request options.
   911  //
   912  // See DescribeInferenceScheduler for details on how to use this API operation.
   913  //
   914  // The context must be non-nil and will be used for request cancellation. If
   915  // the context is nil a panic will occur. In the future the SDK may create
   916  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   917  // for more information on using Contexts.
   918  func (c *LookoutEquipment) DescribeInferenceSchedulerWithContext(ctx aws.Context, input *DescribeInferenceSchedulerInput, opts ...request.Option) (*DescribeInferenceSchedulerOutput, error) {
   919  	req, out := c.DescribeInferenceSchedulerRequest(input)
   920  	req.SetContext(ctx)
   921  	req.ApplyOptions(opts...)
   922  	return out, req.Send()
   923  }
   924  
   925  const opDescribeModel = "DescribeModel"
   926  
   927  // DescribeModelRequest generates a "aws/request.Request" representing the
   928  // client's request for the DescribeModel operation. The "output" return
   929  // value will be populated with the request's response once the request completes
   930  // successfully.
   931  //
   932  // Use "Send" method on the returned Request to send the API call to the service.
   933  // the "output" return value is not valid until after Send returns without error.
   934  //
   935  // See DescribeModel for more information on using the DescribeModel
   936  // API call, and error handling.
   937  //
   938  // This method is useful when you want to inject custom logic or configuration
   939  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   940  //
   941  //
   942  //    // Example sending a request using the DescribeModelRequest method.
   943  //    req, resp := client.DescribeModelRequest(params)
   944  //
   945  //    err := req.Send()
   946  //    if err == nil { // resp is now filled
   947  //        fmt.Println(resp)
   948  //    }
   949  //
   950  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel
   951  func (c *LookoutEquipment) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) {
   952  	op := &request.Operation{
   953  		Name:       opDescribeModel,
   954  		HTTPMethod: "POST",
   955  		HTTPPath:   "/",
   956  	}
   957  
   958  	if input == nil {
   959  		input = &DescribeModelInput{}
   960  	}
   961  
   962  	output = &DescribeModelOutput{}
   963  	req = c.newRequest(op, input, output)
   964  	return
   965  }
   966  
   967  // DescribeModel API operation for Amazon Lookout for Equipment.
   968  //
   969  // Provides a JSON containing the overall information about a specific ML model,
   970  // including model name and ARN, dataset, training and evaluation information,
   971  // status, and so on.
   972  //
   973  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   974  // with awserr.Error's Code and Message methods to get detailed information about
   975  // the error.
   976  //
   977  // See the AWS API reference guide for Amazon Lookout for Equipment's
   978  // API operation DescribeModel for usage and error information.
   979  //
   980  // Returned Error Types:
   981  //   * ValidationException
   982  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
   983  //   or a related AWS service that's being utilized.
   984  //
   985  //   * ResourceNotFoundException
   986  //   The resource requested could not be found. Verify the resource ID and retry
   987  //   your request.
   988  //
   989  //   * ThrottlingException
   990  //   The request was denied due to request throttling.
   991  //
   992  //   * AccessDeniedException
   993  //   The request could not be completed because you do not have access to the
   994  //   resource.
   995  //
   996  //   * InternalServerException
   997  //   Processing of the request has failed because of an unknown error, exception
   998  //   or failure.
   999  //
  1000  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel
  1001  func (c *LookoutEquipment) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) {
  1002  	req, out := c.DescribeModelRequest(input)
  1003  	return out, req.Send()
  1004  }
  1005  
  1006  // DescribeModelWithContext is the same as DescribeModel with the addition of
  1007  // the ability to pass a context and additional request options.
  1008  //
  1009  // See DescribeModel for details on how to use this API operation.
  1010  //
  1011  // The context must be non-nil and will be used for request cancellation. If
  1012  // the context is nil a panic will occur. In the future the SDK may create
  1013  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1014  // for more information on using Contexts.
  1015  func (c *LookoutEquipment) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) {
  1016  	req, out := c.DescribeModelRequest(input)
  1017  	req.SetContext(ctx)
  1018  	req.ApplyOptions(opts...)
  1019  	return out, req.Send()
  1020  }
  1021  
  1022  const opListDataIngestionJobs = "ListDataIngestionJobs"
  1023  
  1024  // ListDataIngestionJobsRequest generates a "aws/request.Request" representing the
  1025  // client's request for the ListDataIngestionJobs operation. The "output" return
  1026  // value will be populated with the request's response once the request completes
  1027  // successfully.
  1028  //
  1029  // Use "Send" method on the returned Request to send the API call to the service.
  1030  // the "output" return value is not valid until after Send returns without error.
  1031  //
  1032  // See ListDataIngestionJobs for more information on using the ListDataIngestionJobs
  1033  // API call, and error handling.
  1034  //
  1035  // This method is useful when you want to inject custom logic or configuration
  1036  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1037  //
  1038  //
  1039  //    // Example sending a request using the ListDataIngestionJobsRequest method.
  1040  //    req, resp := client.ListDataIngestionJobsRequest(params)
  1041  //
  1042  //    err := req.Send()
  1043  //    if err == nil { // resp is now filled
  1044  //        fmt.Println(resp)
  1045  //    }
  1046  //
  1047  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs
  1048  func (c *LookoutEquipment) ListDataIngestionJobsRequest(input *ListDataIngestionJobsInput) (req *request.Request, output *ListDataIngestionJobsOutput) {
  1049  	op := &request.Operation{
  1050  		Name:       opListDataIngestionJobs,
  1051  		HTTPMethod: "POST",
  1052  		HTTPPath:   "/",
  1053  		Paginator: &request.Paginator{
  1054  			InputTokens:     []string{"NextToken"},
  1055  			OutputTokens:    []string{"NextToken"},
  1056  			LimitToken:      "MaxResults",
  1057  			TruncationToken: "",
  1058  		},
  1059  	}
  1060  
  1061  	if input == nil {
  1062  		input = &ListDataIngestionJobsInput{}
  1063  	}
  1064  
  1065  	output = &ListDataIngestionJobsOutput{}
  1066  	req = c.newRequest(op, input, output)
  1067  	return
  1068  }
  1069  
  1070  // ListDataIngestionJobs API operation for Amazon Lookout for Equipment.
  1071  //
  1072  // Provides a list of all data ingestion jobs, including dataset name and ARN,
  1073  // S3 location of the input data, status, and so on.
  1074  //
  1075  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1076  // with awserr.Error's Code and Message methods to get detailed information about
  1077  // the error.
  1078  //
  1079  // See the AWS API reference guide for Amazon Lookout for Equipment's
  1080  // API operation ListDataIngestionJobs for usage and error information.
  1081  //
  1082  // Returned Error Types:
  1083  //   * ValidationException
  1084  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  1085  //   or a related AWS service that's being utilized.
  1086  //
  1087  //   * ThrottlingException
  1088  //   The request was denied due to request throttling.
  1089  //
  1090  //   * AccessDeniedException
  1091  //   The request could not be completed because you do not have access to the
  1092  //   resource.
  1093  //
  1094  //   * InternalServerException
  1095  //   Processing of the request has failed because of an unknown error, exception
  1096  //   or failure.
  1097  //
  1098  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs
  1099  func (c *LookoutEquipment) ListDataIngestionJobs(input *ListDataIngestionJobsInput) (*ListDataIngestionJobsOutput, error) {
  1100  	req, out := c.ListDataIngestionJobsRequest(input)
  1101  	return out, req.Send()
  1102  }
  1103  
  1104  // ListDataIngestionJobsWithContext is the same as ListDataIngestionJobs with the addition of
  1105  // the ability to pass a context and additional request options.
  1106  //
  1107  // See ListDataIngestionJobs for details on how to use this API operation.
  1108  //
  1109  // The context must be non-nil and will be used for request cancellation. If
  1110  // the context is nil a panic will occur. In the future the SDK may create
  1111  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1112  // for more information on using Contexts.
  1113  func (c *LookoutEquipment) ListDataIngestionJobsWithContext(ctx aws.Context, input *ListDataIngestionJobsInput, opts ...request.Option) (*ListDataIngestionJobsOutput, error) {
  1114  	req, out := c.ListDataIngestionJobsRequest(input)
  1115  	req.SetContext(ctx)
  1116  	req.ApplyOptions(opts...)
  1117  	return out, req.Send()
  1118  }
  1119  
  1120  // ListDataIngestionJobsPages iterates over the pages of a ListDataIngestionJobs operation,
  1121  // calling the "fn" function with the response data for each page. To stop
  1122  // iterating, return false from the fn function.
  1123  //
  1124  // See ListDataIngestionJobs method for more information on how to use this operation.
  1125  //
  1126  // Note: This operation can generate multiple requests to a service.
  1127  //
  1128  //    // Example iterating over at most 3 pages of a ListDataIngestionJobs operation.
  1129  //    pageNum := 0
  1130  //    err := client.ListDataIngestionJobsPages(params,
  1131  //        func(page *lookoutequipment.ListDataIngestionJobsOutput, lastPage bool) bool {
  1132  //            pageNum++
  1133  //            fmt.Println(page)
  1134  //            return pageNum <= 3
  1135  //        })
  1136  //
  1137  func (c *LookoutEquipment) ListDataIngestionJobsPages(input *ListDataIngestionJobsInput, fn func(*ListDataIngestionJobsOutput, bool) bool) error {
  1138  	return c.ListDataIngestionJobsPagesWithContext(aws.BackgroundContext(), input, fn)
  1139  }
  1140  
  1141  // ListDataIngestionJobsPagesWithContext same as ListDataIngestionJobsPages except
  1142  // it takes a Context and allows setting request options on the pages.
  1143  //
  1144  // The context must be non-nil and will be used for request cancellation. If
  1145  // the context is nil a panic will occur. In the future the SDK may create
  1146  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1147  // for more information on using Contexts.
  1148  func (c *LookoutEquipment) ListDataIngestionJobsPagesWithContext(ctx aws.Context, input *ListDataIngestionJobsInput, fn func(*ListDataIngestionJobsOutput, bool) bool, opts ...request.Option) error {
  1149  	p := request.Pagination{
  1150  		NewRequest: func() (*request.Request, error) {
  1151  			var inCpy *ListDataIngestionJobsInput
  1152  			if input != nil {
  1153  				tmp := *input
  1154  				inCpy = &tmp
  1155  			}
  1156  			req, _ := c.ListDataIngestionJobsRequest(inCpy)
  1157  			req.SetContext(ctx)
  1158  			req.ApplyOptions(opts...)
  1159  			return req, nil
  1160  		},
  1161  	}
  1162  
  1163  	for p.Next() {
  1164  		if !fn(p.Page().(*ListDataIngestionJobsOutput), !p.HasNextPage()) {
  1165  			break
  1166  		}
  1167  	}
  1168  
  1169  	return p.Err()
  1170  }
  1171  
  1172  const opListDatasets = "ListDatasets"
  1173  
  1174  // ListDatasetsRequest generates a "aws/request.Request" representing the
  1175  // client's request for the ListDatasets operation. The "output" return
  1176  // value will be populated with the request's response once the request completes
  1177  // successfully.
  1178  //
  1179  // Use "Send" method on the returned Request to send the API call to the service.
  1180  // the "output" return value is not valid until after Send returns without error.
  1181  //
  1182  // See ListDatasets for more information on using the ListDatasets
  1183  // API call, and error handling.
  1184  //
  1185  // This method is useful when you want to inject custom logic or configuration
  1186  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1187  //
  1188  //
  1189  //    // Example sending a request using the ListDatasetsRequest method.
  1190  //    req, resp := client.ListDatasetsRequest(params)
  1191  //
  1192  //    err := req.Send()
  1193  //    if err == nil { // resp is now filled
  1194  //        fmt.Println(resp)
  1195  //    }
  1196  //
  1197  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets
  1198  func (c *LookoutEquipment) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) {
  1199  	op := &request.Operation{
  1200  		Name:       opListDatasets,
  1201  		HTTPMethod: "POST",
  1202  		HTTPPath:   "/",
  1203  		Paginator: &request.Paginator{
  1204  			InputTokens:     []string{"NextToken"},
  1205  			OutputTokens:    []string{"NextToken"},
  1206  			LimitToken:      "MaxResults",
  1207  			TruncationToken: "",
  1208  		},
  1209  	}
  1210  
  1211  	if input == nil {
  1212  		input = &ListDatasetsInput{}
  1213  	}
  1214  
  1215  	output = &ListDatasetsOutput{}
  1216  	req = c.newRequest(op, input, output)
  1217  	return
  1218  }
  1219  
  1220  // ListDatasets API operation for Amazon Lookout for Equipment.
  1221  //
  1222  // Lists all datasets currently available in your account, filtering on the
  1223  // dataset name.
  1224  //
  1225  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1226  // with awserr.Error's Code and Message methods to get detailed information about
  1227  // the error.
  1228  //
  1229  // See the AWS API reference guide for Amazon Lookout for Equipment's
  1230  // API operation ListDatasets for usage and error information.
  1231  //
  1232  // Returned Error Types:
  1233  //   * ValidationException
  1234  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  1235  //   or a related AWS service that's being utilized.
  1236  //
  1237  //   * ThrottlingException
  1238  //   The request was denied due to request throttling.
  1239  //
  1240  //   * AccessDeniedException
  1241  //   The request could not be completed because you do not have access to the
  1242  //   resource.
  1243  //
  1244  //   * InternalServerException
  1245  //   Processing of the request has failed because of an unknown error, exception
  1246  //   or failure.
  1247  //
  1248  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets
  1249  func (c *LookoutEquipment) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) {
  1250  	req, out := c.ListDatasetsRequest(input)
  1251  	return out, req.Send()
  1252  }
  1253  
  1254  // ListDatasetsWithContext is the same as ListDatasets with the addition of
  1255  // the ability to pass a context and additional request options.
  1256  //
  1257  // See ListDatasets for details on how to use this API operation.
  1258  //
  1259  // The context must be non-nil and will be used for request cancellation. If
  1260  // the context is nil a panic will occur. In the future the SDK may create
  1261  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1262  // for more information on using Contexts.
  1263  func (c *LookoutEquipment) ListDatasetsWithContext(ctx aws.Context, input *ListDatasetsInput, opts ...request.Option) (*ListDatasetsOutput, error) {
  1264  	req, out := c.ListDatasetsRequest(input)
  1265  	req.SetContext(ctx)
  1266  	req.ApplyOptions(opts...)
  1267  	return out, req.Send()
  1268  }
  1269  
  1270  // ListDatasetsPages iterates over the pages of a ListDatasets operation,
  1271  // calling the "fn" function with the response data for each page. To stop
  1272  // iterating, return false from the fn function.
  1273  //
  1274  // See ListDatasets method for more information on how to use this operation.
  1275  //
  1276  // Note: This operation can generate multiple requests to a service.
  1277  //
  1278  //    // Example iterating over at most 3 pages of a ListDatasets operation.
  1279  //    pageNum := 0
  1280  //    err := client.ListDatasetsPages(params,
  1281  //        func(page *lookoutequipment.ListDatasetsOutput, lastPage bool) bool {
  1282  //            pageNum++
  1283  //            fmt.Println(page)
  1284  //            return pageNum <= 3
  1285  //        })
  1286  //
  1287  func (c *LookoutEquipment) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error {
  1288  	return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn)
  1289  }
  1290  
  1291  // ListDatasetsPagesWithContext same as ListDatasetsPages except
  1292  // it takes a Context and allows setting request options on the pages.
  1293  //
  1294  // The context must be non-nil and will be used for request cancellation. If
  1295  // the context is nil a panic will occur. In the future the SDK may create
  1296  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1297  // for more information on using Contexts.
  1298  func (c *LookoutEquipment) ListDatasetsPagesWithContext(ctx aws.Context, input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool, opts ...request.Option) error {
  1299  	p := request.Pagination{
  1300  		NewRequest: func() (*request.Request, error) {
  1301  			var inCpy *ListDatasetsInput
  1302  			if input != nil {
  1303  				tmp := *input
  1304  				inCpy = &tmp
  1305  			}
  1306  			req, _ := c.ListDatasetsRequest(inCpy)
  1307  			req.SetContext(ctx)
  1308  			req.ApplyOptions(opts...)
  1309  			return req, nil
  1310  		},
  1311  	}
  1312  
  1313  	for p.Next() {
  1314  		if !fn(p.Page().(*ListDatasetsOutput), !p.HasNextPage()) {
  1315  			break
  1316  		}
  1317  	}
  1318  
  1319  	return p.Err()
  1320  }
  1321  
  1322  const opListInferenceExecutions = "ListInferenceExecutions"
  1323  
  1324  // ListInferenceExecutionsRequest generates a "aws/request.Request" representing the
  1325  // client's request for the ListInferenceExecutions operation. The "output" return
  1326  // value will be populated with the request's response once the request completes
  1327  // successfully.
  1328  //
  1329  // Use "Send" method on the returned Request to send the API call to the service.
  1330  // the "output" return value is not valid until after Send returns without error.
  1331  //
  1332  // See ListInferenceExecutions for more information on using the ListInferenceExecutions
  1333  // API call, and error handling.
  1334  //
  1335  // This method is useful when you want to inject custom logic or configuration
  1336  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1337  //
  1338  //
  1339  //    // Example sending a request using the ListInferenceExecutionsRequest method.
  1340  //    req, resp := client.ListInferenceExecutionsRequest(params)
  1341  //
  1342  //    err := req.Send()
  1343  //    if err == nil { // resp is now filled
  1344  //        fmt.Println(resp)
  1345  //    }
  1346  //
  1347  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceExecutions
  1348  func (c *LookoutEquipment) ListInferenceExecutionsRequest(input *ListInferenceExecutionsInput) (req *request.Request, output *ListInferenceExecutionsOutput) {
  1349  	op := &request.Operation{
  1350  		Name:       opListInferenceExecutions,
  1351  		HTTPMethod: "POST",
  1352  		HTTPPath:   "/",
  1353  		Paginator: &request.Paginator{
  1354  			InputTokens:     []string{"NextToken"},
  1355  			OutputTokens:    []string{"NextToken"},
  1356  			LimitToken:      "MaxResults",
  1357  			TruncationToken: "",
  1358  		},
  1359  	}
  1360  
  1361  	if input == nil {
  1362  		input = &ListInferenceExecutionsInput{}
  1363  	}
  1364  
  1365  	output = &ListInferenceExecutionsOutput{}
  1366  	req = c.newRequest(op, input, output)
  1367  	return
  1368  }
  1369  
  1370  // ListInferenceExecutions API operation for Amazon Lookout for Equipment.
  1371  //
  1372  // Lists all inference executions that have been performed by the specified
  1373  // inference scheduler.
  1374  //
  1375  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1376  // with awserr.Error's Code and Message methods to get detailed information about
  1377  // the error.
  1378  //
  1379  // See the AWS API reference guide for Amazon Lookout for Equipment's
  1380  // API operation ListInferenceExecutions for usage and error information.
  1381  //
  1382  // Returned Error Types:
  1383  //   * ValidationException
  1384  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  1385  //   or a related AWS service that's being utilized.
  1386  //
  1387  //   * ThrottlingException
  1388  //   The request was denied due to request throttling.
  1389  //
  1390  //   * ResourceNotFoundException
  1391  //   The resource requested could not be found. Verify the resource ID and retry
  1392  //   your request.
  1393  //
  1394  //   * AccessDeniedException
  1395  //   The request could not be completed because you do not have access to the
  1396  //   resource.
  1397  //
  1398  //   * InternalServerException
  1399  //   Processing of the request has failed because of an unknown error, exception
  1400  //   or failure.
  1401  //
  1402  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceExecutions
  1403  func (c *LookoutEquipment) ListInferenceExecutions(input *ListInferenceExecutionsInput) (*ListInferenceExecutionsOutput, error) {
  1404  	req, out := c.ListInferenceExecutionsRequest(input)
  1405  	return out, req.Send()
  1406  }
  1407  
  1408  // ListInferenceExecutionsWithContext is the same as ListInferenceExecutions with the addition of
  1409  // the ability to pass a context and additional request options.
  1410  //
  1411  // See ListInferenceExecutions for details on how to use this API operation.
  1412  //
  1413  // The context must be non-nil and will be used for request cancellation. If
  1414  // the context is nil a panic will occur. In the future the SDK may create
  1415  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1416  // for more information on using Contexts.
  1417  func (c *LookoutEquipment) ListInferenceExecutionsWithContext(ctx aws.Context, input *ListInferenceExecutionsInput, opts ...request.Option) (*ListInferenceExecutionsOutput, error) {
  1418  	req, out := c.ListInferenceExecutionsRequest(input)
  1419  	req.SetContext(ctx)
  1420  	req.ApplyOptions(opts...)
  1421  	return out, req.Send()
  1422  }
  1423  
  1424  // ListInferenceExecutionsPages iterates over the pages of a ListInferenceExecutions operation,
  1425  // calling the "fn" function with the response data for each page. To stop
  1426  // iterating, return false from the fn function.
  1427  //
  1428  // See ListInferenceExecutions method for more information on how to use this operation.
  1429  //
  1430  // Note: This operation can generate multiple requests to a service.
  1431  //
  1432  //    // Example iterating over at most 3 pages of a ListInferenceExecutions operation.
  1433  //    pageNum := 0
  1434  //    err := client.ListInferenceExecutionsPages(params,
  1435  //        func(page *lookoutequipment.ListInferenceExecutionsOutput, lastPage bool) bool {
  1436  //            pageNum++
  1437  //            fmt.Println(page)
  1438  //            return pageNum <= 3
  1439  //        })
  1440  //
  1441  func (c *LookoutEquipment) ListInferenceExecutionsPages(input *ListInferenceExecutionsInput, fn func(*ListInferenceExecutionsOutput, bool) bool) error {
  1442  	return c.ListInferenceExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
  1443  }
  1444  
  1445  // ListInferenceExecutionsPagesWithContext same as ListInferenceExecutionsPages except
  1446  // it takes a Context and allows setting request options on the pages.
  1447  //
  1448  // The context must be non-nil and will be used for request cancellation. If
  1449  // the context is nil a panic will occur. In the future the SDK may create
  1450  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1451  // for more information on using Contexts.
  1452  func (c *LookoutEquipment) ListInferenceExecutionsPagesWithContext(ctx aws.Context, input *ListInferenceExecutionsInput, fn func(*ListInferenceExecutionsOutput, bool) bool, opts ...request.Option) error {
  1453  	p := request.Pagination{
  1454  		NewRequest: func() (*request.Request, error) {
  1455  			var inCpy *ListInferenceExecutionsInput
  1456  			if input != nil {
  1457  				tmp := *input
  1458  				inCpy = &tmp
  1459  			}
  1460  			req, _ := c.ListInferenceExecutionsRequest(inCpy)
  1461  			req.SetContext(ctx)
  1462  			req.ApplyOptions(opts...)
  1463  			return req, nil
  1464  		},
  1465  	}
  1466  
  1467  	for p.Next() {
  1468  		if !fn(p.Page().(*ListInferenceExecutionsOutput), !p.HasNextPage()) {
  1469  			break
  1470  		}
  1471  	}
  1472  
  1473  	return p.Err()
  1474  }
  1475  
  1476  const opListInferenceSchedulers = "ListInferenceSchedulers"
  1477  
  1478  // ListInferenceSchedulersRequest generates a "aws/request.Request" representing the
  1479  // client's request for the ListInferenceSchedulers operation. The "output" return
  1480  // value will be populated with the request's response once the request completes
  1481  // successfully.
  1482  //
  1483  // Use "Send" method on the returned Request to send the API call to the service.
  1484  // the "output" return value is not valid until after Send returns without error.
  1485  //
  1486  // See ListInferenceSchedulers for more information on using the ListInferenceSchedulers
  1487  // API call, and error handling.
  1488  //
  1489  // This method is useful when you want to inject custom logic or configuration
  1490  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1491  //
  1492  //
  1493  //    // Example sending a request using the ListInferenceSchedulersRequest method.
  1494  //    req, resp := client.ListInferenceSchedulersRequest(params)
  1495  //
  1496  //    err := req.Send()
  1497  //    if err == nil { // resp is now filled
  1498  //        fmt.Println(resp)
  1499  //    }
  1500  //
  1501  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceSchedulers
  1502  func (c *LookoutEquipment) ListInferenceSchedulersRequest(input *ListInferenceSchedulersInput) (req *request.Request, output *ListInferenceSchedulersOutput) {
  1503  	op := &request.Operation{
  1504  		Name:       opListInferenceSchedulers,
  1505  		HTTPMethod: "POST",
  1506  		HTTPPath:   "/",
  1507  		Paginator: &request.Paginator{
  1508  			InputTokens:     []string{"NextToken"},
  1509  			OutputTokens:    []string{"NextToken"},
  1510  			LimitToken:      "MaxResults",
  1511  			TruncationToken: "",
  1512  		},
  1513  	}
  1514  
  1515  	if input == nil {
  1516  		input = &ListInferenceSchedulersInput{}
  1517  	}
  1518  
  1519  	output = &ListInferenceSchedulersOutput{}
  1520  	req = c.newRequest(op, input, output)
  1521  	return
  1522  }
  1523  
  1524  // ListInferenceSchedulers API operation for Amazon Lookout for Equipment.
  1525  //
  1526  // Retrieves a list of all inference schedulers currently available for your
  1527  // account.
  1528  //
  1529  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1530  // with awserr.Error's Code and Message methods to get detailed information about
  1531  // the error.
  1532  //
  1533  // See the AWS API reference guide for Amazon Lookout for Equipment's
  1534  // API operation ListInferenceSchedulers for usage and error information.
  1535  //
  1536  // Returned Error Types:
  1537  //   * ValidationException
  1538  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  1539  //   or a related AWS service that's being utilized.
  1540  //
  1541  //   * ThrottlingException
  1542  //   The request was denied due to request throttling.
  1543  //
  1544  //   * AccessDeniedException
  1545  //   The request could not be completed because you do not have access to the
  1546  //   resource.
  1547  //
  1548  //   * InternalServerException
  1549  //   Processing of the request has failed because of an unknown error, exception
  1550  //   or failure.
  1551  //
  1552  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceSchedulers
  1553  func (c *LookoutEquipment) ListInferenceSchedulers(input *ListInferenceSchedulersInput) (*ListInferenceSchedulersOutput, error) {
  1554  	req, out := c.ListInferenceSchedulersRequest(input)
  1555  	return out, req.Send()
  1556  }
  1557  
  1558  // ListInferenceSchedulersWithContext is the same as ListInferenceSchedulers with the addition of
  1559  // the ability to pass a context and additional request options.
  1560  //
  1561  // See ListInferenceSchedulers for details on how to use this API operation.
  1562  //
  1563  // The context must be non-nil and will be used for request cancellation. If
  1564  // the context is nil a panic will occur. In the future the SDK may create
  1565  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1566  // for more information on using Contexts.
  1567  func (c *LookoutEquipment) ListInferenceSchedulersWithContext(ctx aws.Context, input *ListInferenceSchedulersInput, opts ...request.Option) (*ListInferenceSchedulersOutput, error) {
  1568  	req, out := c.ListInferenceSchedulersRequest(input)
  1569  	req.SetContext(ctx)
  1570  	req.ApplyOptions(opts...)
  1571  	return out, req.Send()
  1572  }
  1573  
  1574  // ListInferenceSchedulersPages iterates over the pages of a ListInferenceSchedulers operation,
  1575  // calling the "fn" function with the response data for each page. To stop
  1576  // iterating, return false from the fn function.
  1577  //
  1578  // See ListInferenceSchedulers method for more information on how to use this operation.
  1579  //
  1580  // Note: This operation can generate multiple requests to a service.
  1581  //
  1582  //    // Example iterating over at most 3 pages of a ListInferenceSchedulers operation.
  1583  //    pageNum := 0
  1584  //    err := client.ListInferenceSchedulersPages(params,
  1585  //        func(page *lookoutequipment.ListInferenceSchedulersOutput, lastPage bool) bool {
  1586  //            pageNum++
  1587  //            fmt.Println(page)
  1588  //            return pageNum <= 3
  1589  //        })
  1590  //
  1591  func (c *LookoutEquipment) ListInferenceSchedulersPages(input *ListInferenceSchedulersInput, fn func(*ListInferenceSchedulersOutput, bool) bool) error {
  1592  	return c.ListInferenceSchedulersPagesWithContext(aws.BackgroundContext(), input, fn)
  1593  }
  1594  
  1595  // ListInferenceSchedulersPagesWithContext same as ListInferenceSchedulersPages except
  1596  // it takes a Context and allows setting request options on the pages.
  1597  //
  1598  // The context must be non-nil and will be used for request cancellation. If
  1599  // the context is nil a panic will occur. In the future the SDK may create
  1600  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1601  // for more information on using Contexts.
  1602  func (c *LookoutEquipment) ListInferenceSchedulersPagesWithContext(ctx aws.Context, input *ListInferenceSchedulersInput, fn func(*ListInferenceSchedulersOutput, bool) bool, opts ...request.Option) error {
  1603  	p := request.Pagination{
  1604  		NewRequest: func() (*request.Request, error) {
  1605  			var inCpy *ListInferenceSchedulersInput
  1606  			if input != nil {
  1607  				tmp := *input
  1608  				inCpy = &tmp
  1609  			}
  1610  			req, _ := c.ListInferenceSchedulersRequest(inCpy)
  1611  			req.SetContext(ctx)
  1612  			req.ApplyOptions(opts...)
  1613  			return req, nil
  1614  		},
  1615  	}
  1616  
  1617  	for p.Next() {
  1618  		if !fn(p.Page().(*ListInferenceSchedulersOutput), !p.HasNextPage()) {
  1619  			break
  1620  		}
  1621  	}
  1622  
  1623  	return p.Err()
  1624  }
  1625  
  1626  const opListModels = "ListModels"
  1627  
  1628  // ListModelsRequest generates a "aws/request.Request" representing the
  1629  // client's request for the ListModels operation. The "output" return
  1630  // value will be populated with the request's response once the request completes
  1631  // successfully.
  1632  //
  1633  // Use "Send" method on the returned Request to send the API call to the service.
  1634  // the "output" return value is not valid until after Send returns without error.
  1635  //
  1636  // See ListModels for more information on using the ListModels
  1637  // API call, and error handling.
  1638  //
  1639  // This method is useful when you want to inject custom logic or configuration
  1640  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1641  //
  1642  //
  1643  //    // Example sending a request using the ListModelsRequest method.
  1644  //    req, resp := client.ListModelsRequest(params)
  1645  //
  1646  //    err := req.Send()
  1647  //    if err == nil { // resp is now filled
  1648  //        fmt.Println(resp)
  1649  //    }
  1650  //
  1651  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels
  1652  func (c *LookoutEquipment) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) {
  1653  	op := &request.Operation{
  1654  		Name:       opListModels,
  1655  		HTTPMethod: "POST",
  1656  		HTTPPath:   "/",
  1657  		Paginator: &request.Paginator{
  1658  			InputTokens:     []string{"NextToken"},
  1659  			OutputTokens:    []string{"NextToken"},
  1660  			LimitToken:      "MaxResults",
  1661  			TruncationToken: "",
  1662  		},
  1663  	}
  1664  
  1665  	if input == nil {
  1666  		input = &ListModelsInput{}
  1667  	}
  1668  
  1669  	output = &ListModelsOutput{}
  1670  	req = c.newRequest(op, input, output)
  1671  	return
  1672  }
  1673  
  1674  // ListModels API operation for Amazon Lookout for Equipment.
  1675  //
  1676  // Generates a list of all models in the account, including model name and ARN,
  1677  // dataset, and status.
  1678  //
  1679  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1680  // with awserr.Error's Code and Message methods to get detailed information about
  1681  // the error.
  1682  //
  1683  // See the AWS API reference guide for Amazon Lookout for Equipment's
  1684  // API operation ListModels for usage and error information.
  1685  //
  1686  // Returned Error Types:
  1687  //   * ValidationException
  1688  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  1689  //   or a related AWS service that's being utilized.
  1690  //
  1691  //   * ThrottlingException
  1692  //   The request was denied due to request throttling.
  1693  //
  1694  //   * AccessDeniedException
  1695  //   The request could not be completed because you do not have access to the
  1696  //   resource.
  1697  //
  1698  //   * InternalServerException
  1699  //   Processing of the request has failed because of an unknown error, exception
  1700  //   or failure.
  1701  //
  1702  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels
  1703  func (c *LookoutEquipment) ListModels(input *ListModelsInput) (*ListModelsOutput, error) {
  1704  	req, out := c.ListModelsRequest(input)
  1705  	return out, req.Send()
  1706  }
  1707  
  1708  // ListModelsWithContext is the same as ListModels with the addition of
  1709  // the ability to pass a context and additional request options.
  1710  //
  1711  // See ListModels for details on how to use this API operation.
  1712  //
  1713  // The context must be non-nil and will be used for request cancellation. If
  1714  // the context is nil a panic will occur. In the future the SDK may create
  1715  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1716  // for more information on using Contexts.
  1717  func (c *LookoutEquipment) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) {
  1718  	req, out := c.ListModelsRequest(input)
  1719  	req.SetContext(ctx)
  1720  	req.ApplyOptions(opts...)
  1721  	return out, req.Send()
  1722  }
  1723  
  1724  // ListModelsPages iterates over the pages of a ListModels operation,
  1725  // calling the "fn" function with the response data for each page. To stop
  1726  // iterating, return false from the fn function.
  1727  //
  1728  // See ListModels method for more information on how to use this operation.
  1729  //
  1730  // Note: This operation can generate multiple requests to a service.
  1731  //
  1732  //    // Example iterating over at most 3 pages of a ListModels operation.
  1733  //    pageNum := 0
  1734  //    err := client.ListModelsPages(params,
  1735  //        func(page *lookoutequipment.ListModelsOutput, lastPage bool) bool {
  1736  //            pageNum++
  1737  //            fmt.Println(page)
  1738  //            return pageNum <= 3
  1739  //        })
  1740  //
  1741  func (c *LookoutEquipment) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error {
  1742  	return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn)
  1743  }
  1744  
  1745  // ListModelsPagesWithContext same as ListModelsPages except
  1746  // it takes a Context and allows setting request options on the pages.
  1747  //
  1748  // The context must be non-nil and will be used for request cancellation. If
  1749  // the context is nil a panic will occur. In the future the SDK may create
  1750  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1751  // for more information on using Contexts.
  1752  func (c *LookoutEquipment) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error {
  1753  	p := request.Pagination{
  1754  		NewRequest: func() (*request.Request, error) {
  1755  			var inCpy *ListModelsInput
  1756  			if input != nil {
  1757  				tmp := *input
  1758  				inCpy = &tmp
  1759  			}
  1760  			req, _ := c.ListModelsRequest(inCpy)
  1761  			req.SetContext(ctx)
  1762  			req.ApplyOptions(opts...)
  1763  			return req, nil
  1764  		},
  1765  	}
  1766  
  1767  	for p.Next() {
  1768  		if !fn(p.Page().(*ListModelsOutput), !p.HasNextPage()) {
  1769  			break
  1770  		}
  1771  	}
  1772  
  1773  	return p.Err()
  1774  }
  1775  
  1776  const opListTagsForResource = "ListTagsForResource"
  1777  
  1778  // ListTagsForResourceRequest generates a "aws/request.Request" representing the
  1779  // client's request for the ListTagsForResource operation. The "output" return
  1780  // value will be populated with the request's response once the request completes
  1781  // successfully.
  1782  //
  1783  // Use "Send" method on the returned Request to send the API call to the service.
  1784  // the "output" return value is not valid until after Send returns without error.
  1785  //
  1786  // See ListTagsForResource for more information on using the ListTagsForResource
  1787  // API call, and error handling.
  1788  //
  1789  // This method is useful when you want to inject custom logic or configuration
  1790  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1791  //
  1792  //
  1793  //    // Example sending a request using the ListTagsForResourceRequest method.
  1794  //    req, resp := client.ListTagsForResourceRequest(params)
  1795  //
  1796  //    err := req.Send()
  1797  //    if err == nil { // resp is now filled
  1798  //        fmt.Println(resp)
  1799  //    }
  1800  //
  1801  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListTagsForResource
  1802  func (c *LookoutEquipment) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
  1803  	op := &request.Operation{
  1804  		Name:       opListTagsForResource,
  1805  		HTTPMethod: "POST",
  1806  		HTTPPath:   "/",
  1807  	}
  1808  
  1809  	if input == nil {
  1810  		input = &ListTagsForResourceInput{}
  1811  	}
  1812  
  1813  	output = &ListTagsForResourceOutput{}
  1814  	req = c.newRequest(op, input, output)
  1815  	return
  1816  }
  1817  
  1818  // ListTagsForResource API operation for Amazon Lookout for Equipment.
  1819  //
  1820  // Lists all the tags for a specified resource, including key and value.
  1821  //
  1822  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1823  // with awserr.Error's Code and Message methods to get detailed information about
  1824  // the error.
  1825  //
  1826  // See the AWS API reference guide for Amazon Lookout for Equipment's
  1827  // API operation ListTagsForResource for usage and error information.
  1828  //
  1829  // Returned Error Types:
  1830  //   * ValidationException
  1831  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  1832  //   or a related AWS service that's being utilized.
  1833  //
  1834  //   * ResourceNotFoundException
  1835  //   The resource requested could not be found. Verify the resource ID and retry
  1836  //   your request.
  1837  //
  1838  //   * ThrottlingException
  1839  //   The request was denied due to request throttling.
  1840  //
  1841  //   * AccessDeniedException
  1842  //   The request could not be completed because you do not have access to the
  1843  //   resource.
  1844  //
  1845  //   * InternalServerException
  1846  //   Processing of the request has failed because of an unknown error, exception
  1847  //   or failure.
  1848  //
  1849  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListTagsForResource
  1850  func (c *LookoutEquipment) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
  1851  	req, out := c.ListTagsForResourceRequest(input)
  1852  	return out, req.Send()
  1853  }
  1854  
  1855  // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
  1856  // the ability to pass a context and additional request options.
  1857  //
  1858  // See ListTagsForResource for details on how to use this API operation.
  1859  //
  1860  // The context must be non-nil and will be used for request cancellation. If
  1861  // the context is nil a panic will occur. In the future the SDK may create
  1862  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1863  // for more information on using Contexts.
  1864  func (c *LookoutEquipment) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
  1865  	req, out := c.ListTagsForResourceRequest(input)
  1866  	req.SetContext(ctx)
  1867  	req.ApplyOptions(opts...)
  1868  	return out, req.Send()
  1869  }
  1870  
  1871  const opStartDataIngestionJob = "StartDataIngestionJob"
  1872  
  1873  // StartDataIngestionJobRequest generates a "aws/request.Request" representing the
  1874  // client's request for the StartDataIngestionJob operation. The "output" return
  1875  // value will be populated with the request's response once the request completes
  1876  // successfully.
  1877  //
  1878  // Use "Send" method on the returned Request to send the API call to the service.
  1879  // the "output" return value is not valid until after Send returns without error.
  1880  //
  1881  // See StartDataIngestionJob for more information on using the StartDataIngestionJob
  1882  // API call, and error handling.
  1883  //
  1884  // This method is useful when you want to inject custom logic or configuration
  1885  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1886  //
  1887  //
  1888  //    // Example sending a request using the StartDataIngestionJobRequest method.
  1889  //    req, resp := client.StartDataIngestionJobRequest(params)
  1890  //
  1891  //    err := req.Send()
  1892  //    if err == nil { // resp is now filled
  1893  //        fmt.Println(resp)
  1894  //    }
  1895  //
  1896  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob
  1897  func (c *LookoutEquipment) StartDataIngestionJobRequest(input *StartDataIngestionJobInput) (req *request.Request, output *StartDataIngestionJobOutput) {
  1898  	op := &request.Operation{
  1899  		Name:       opStartDataIngestionJob,
  1900  		HTTPMethod: "POST",
  1901  		HTTPPath:   "/",
  1902  	}
  1903  
  1904  	if input == nil {
  1905  		input = &StartDataIngestionJobInput{}
  1906  	}
  1907  
  1908  	output = &StartDataIngestionJobOutput{}
  1909  	req = c.newRequest(op, input, output)
  1910  	return
  1911  }
  1912  
  1913  // StartDataIngestionJob API operation for Amazon Lookout for Equipment.
  1914  //
  1915  // Starts a data ingestion job. Amazon Lookout for Equipment returns the job
  1916  // status.
  1917  //
  1918  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1919  // with awserr.Error's Code and Message methods to get detailed information about
  1920  // the error.
  1921  //
  1922  // See the AWS API reference guide for Amazon Lookout for Equipment's
  1923  // API operation StartDataIngestionJob for usage and error information.
  1924  //
  1925  // Returned Error Types:
  1926  //   * ValidationException
  1927  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  1928  //   or a related AWS service that's being utilized.
  1929  //
  1930  //   * ResourceNotFoundException
  1931  //   The resource requested could not be found. Verify the resource ID and retry
  1932  //   your request.
  1933  //
  1934  //   * ConflictException
  1935  //   The request could not be completed due to a conflict with the current state
  1936  //   of the target resource.
  1937  //
  1938  //   * ThrottlingException
  1939  //   The request was denied due to request throttling.
  1940  //
  1941  //   * ServiceQuotaExceededException
  1942  //   Resource limitations have been exceeded.
  1943  //
  1944  //   * AccessDeniedException
  1945  //   The request could not be completed because you do not have access to the
  1946  //   resource.
  1947  //
  1948  //   * InternalServerException
  1949  //   Processing of the request has failed because of an unknown error, exception
  1950  //   or failure.
  1951  //
  1952  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob
  1953  func (c *LookoutEquipment) StartDataIngestionJob(input *StartDataIngestionJobInput) (*StartDataIngestionJobOutput, error) {
  1954  	req, out := c.StartDataIngestionJobRequest(input)
  1955  	return out, req.Send()
  1956  }
  1957  
  1958  // StartDataIngestionJobWithContext is the same as StartDataIngestionJob with the addition of
  1959  // the ability to pass a context and additional request options.
  1960  //
  1961  // See StartDataIngestionJob for details on how to use this API operation.
  1962  //
  1963  // The context must be non-nil and will be used for request cancellation. If
  1964  // the context is nil a panic will occur. In the future the SDK may create
  1965  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1966  // for more information on using Contexts.
  1967  func (c *LookoutEquipment) StartDataIngestionJobWithContext(ctx aws.Context, input *StartDataIngestionJobInput, opts ...request.Option) (*StartDataIngestionJobOutput, error) {
  1968  	req, out := c.StartDataIngestionJobRequest(input)
  1969  	req.SetContext(ctx)
  1970  	req.ApplyOptions(opts...)
  1971  	return out, req.Send()
  1972  }
  1973  
  1974  const opStartInferenceScheduler = "StartInferenceScheduler"
  1975  
  1976  // StartInferenceSchedulerRequest generates a "aws/request.Request" representing the
  1977  // client's request for the StartInferenceScheduler operation. The "output" return
  1978  // value will be populated with the request's response once the request completes
  1979  // successfully.
  1980  //
  1981  // Use "Send" method on the returned Request to send the API call to the service.
  1982  // the "output" return value is not valid until after Send returns without error.
  1983  //
  1984  // See StartInferenceScheduler for more information on using the StartInferenceScheduler
  1985  // API call, and error handling.
  1986  //
  1987  // This method is useful when you want to inject custom logic or configuration
  1988  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1989  //
  1990  //
  1991  //    // Example sending a request using the StartInferenceSchedulerRequest method.
  1992  //    req, resp := client.StartInferenceSchedulerRequest(params)
  1993  //
  1994  //    err := req.Send()
  1995  //    if err == nil { // resp is now filled
  1996  //        fmt.Println(resp)
  1997  //    }
  1998  //
  1999  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartInferenceScheduler
  2000  func (c *LookoutEquipment) StartInferenceSchedulerRequest(input *StartInferenceSchedulerInput) (req *request.Request, output *StartInferenceSchedulerOutput) {
  2001  	op := &request.Operation{
  2002  		Name:       opStartInferenceScheduler,
  2003  		HTTPMethod: "POST",
  2004  		HTTPPath:   "/",
  2005  	}
  2006  
  2007  	if input == nil {
  2008  		input = &StartInferenceSchedulerInput{}
  2009  	}
  2010  
  2011  	output = &StartInferenceSchedulerOutput{}
  2012  	req = c.newRequest(op, input, output)
  2013  	return
  2014  }
  2015  
  2016  // StartInferenceScheduler API operation for Amazon Lookout for Equipment.
  2017  //
  2018  // Starts an inference scheduler.
  2019  //
  2020  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2021  // with awserr.Error's Code and Message methods to get detailed information about
  2022  // the error.
  2023  //
  2024  // See the AWS API reference guide for Amazon Lookout for Equipment's
  2025  // API operation StartInferenceScheduler for usage and error information.
  2026  //
  2027  // Returned Error Types:
  2028  //   * ValidationException
  2029  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  2030  //   or a related AWS service that's being utilized.
  2031  //
  2032  //   * ConflictException
  2033  //   The request could not be completed due to a conflict with the current state
  2034  //   of the target resource.
  2035  //
  2036  //   * ResourceNotFoundException
  2037  //   The resource requested could not be found. Verify the resource ID and retry
  2038  //   your request.
  2039  //
  2040  //   * ThrottlingException
  2041  //   The request was denied due to request throttling.
  2042  //
  2043  //   * AccessDeniedException
  2044  //   The request could not be completed because you do not have access to the
  2045  //   resource.
  2046  //
  2047  //   * InternalServerException
  2048  //   Processing of the request has failed because of an unknown error, exception
  2049  //   or failure.
  2050  //
  2051  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartInferenceScheduler
  2052  func (c *LookoutEquipment) StartInferenceScheduler(input *StartInferenceSchedulerInput) (*StartInferenceSchedulerOutput, error) {
  2053  	req, out := c.StartInferenceSchedulerRequest(input)
  2054  	return out, req.Send()
  2055  }
  2056  
  2057  // StartInferenceSchedulerWithContext is the same as StartInferenceScheduler with the addition of
  2058  // the ability to pass a context and additional request options.
  2059  //
  2060  // See StartInferenceScheduler for details on how to use this API operation.
  2061  //
  2062  // The context must be non-nil and will be used for request cancellation. If
  2063  // the context is nil a panic will occur. In the future the SDK may create
  2064  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2065  // for more information on using Contexts.
  2066  func (c *LookoutEquipment) StartInferenceSchedulerWithContext(ctx aws.Context, input *StartInferenceSchedulerInput, opts ...request.Option) (*StartInferenceSchedulerOutput, error) {
  2067  	req, out := c.StartInferenceSchedulerRequest(input)
  2068  	req.SetContext(ctx)
  2069  	req.ApplyOptions(opts...)
  2070  	return out, req.Send()
  2071  }
  2072  
  2073  const opStopInferenceScheduler = "StopInferenceScheduler"
  2074  
  2075  // StopInferenceSchedulerRequest generates a "aws/request.Request" representing the
  2076  // client's request for the StopInferenceScheduler operation. The "output" return
  2077  // value will be populated with the request's response once the request completes
  2078  // successfully.
  2079  //
  2080  // Use "Send" method on the returned Request to send the API call to the service.
  2081  // the "output" return value is not valid until after Send returns without error.
  2082  //
  2083  // See StopInferenceScheduler for more information on using the StopInferenceScheduler
  2084  // API call, and error handling.
  2085  //
  2086  // This method is useful when you want to inject custom logic or configuration
  2087  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2088  //
  2089  //
  2090  //    // Example sending a request using the StopInferenceSchedulerRequest method.
  2091  //    req, resp := client.StopInferenceSchedulerRequest(params)
  2092  //
  2093  //    err := req.Send()
  2094  //    if err == nil { // resp is now filled
  2095  //        fmt.Println(resp)
  2096  //    }
  2097  //
  2098  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StopInferenceScheduler
  2099  func (c *LookoutEquipment) StopInferenceSchedulerRequest(input *StopInferenceSchedulerInput) (req *request.Request, output *StopInferenceSchedulerOutput) {
  2100  	op := &request.Operation{
  2101  		Name:       opStopInferenceScheduler,
  2102  		HTTPMethod: "POST",
  2103  		HTTPPath:   "/",
  2104  	}
  2105  
  2106  	if input == nil {
  2107  		input = &StopInferenceSchedulerInput{}
  2108  	}
  2109  
  2110  	output = &StopInferenceSchedulerOutput{}
  2111  	req = c.newRequest(op, input, output)
  2112  	return
  2113  }
  2114  
  2115  // StopInferenceScheduler API operation for Amazon Lookout for Equipment.
  2116  //
  2117  // Stops an inference scheduler.
  2118  //
  2119  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2120  // with awserr.Error's Code and Message methods to get detailed information about
  2121  // the error.
  2122  //
  2123  // See the AWS API reference guide for Amazon Lookout for Equipment's
  2124  // API operation StopInferenceScheduler for usage and error information.
  2125  //
  2126  // Returned Error Types:
  2127  //   * ValidationException
  2128  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  2129  //   or a related AWS service that's being utilized.
  2130  //
  2131  //   * ConflictException
  2132  //   The request could not be completed due to a conflict with the current state
  2133  //   of the target resource.
  2134  //
  2135  //   * ResourceNotFoundException
  2136  //   The resource requested could not be found. Verify the resource ID and retry
  2137  //   your request.
  2138  //
  2139  //   * ThrottlingException
  2140  //   The request was denied due to request throttling.
  2141  //
  2142  //   * AccessDeniedException
  2143  //   The request could not be completed because you do not have access to the
  2144  //   resource.
  2145  //
  2146  //   * InternalServerException
  2147  //   Processing of the request has failed because of an unknown error, exception
  2148  //   or failure.
  2149  //
  2150  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StopInferenceScheduler
  2151  func (c *LookoutEquipment) StopInferenceScheduler(input *StopInferenceSchedulerInput) (*StopInferenceSchedulerOutput, error) {
  2152  	req, out := c.StopInferenceSchedulerRequest(input)
  2153  	return out, req.Send()
  2154  }
  2155  
  2156  // StopInferenceSchedulerWithContext is the same as StopInferenceScheduler with the addition of
  2157  // the ability to pass a context and additional request options.
  2158  //
  2159  // See StopInferenceScheduler for details on how to use this API operation.
  2160  //
  2161  // The context must be non-nil and will be used for request cancellation. If
  2162  // the context is nil a panic will occur. In the future the SDK may create
  2163  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2164  // for more information on using Contexts.
  2165  func (c *LookoutEquipment) StopInferenceSchedulerWithContext(ctx aws.Context, input *StopInferenceSchedulerInput, opts ...request.Option) (*StopInferenceSchedulerOutput, error) {
  2166  	req, out := c.StopInferenceSchedulerRequest(input)
  2167  	req.SetContext(ctx)
  2168  	req.ApplyOptions(opts...)
  2169  	return out, req.Send()
  2170  }
  2171  
  2172  const opTagResource = "TagResource"
  2173  
  2174  // TagResourceRequest generates a "aws/request.Request" representing the
  2175  // client's request for the TagResource operation. The "output" return
  2176  // value will be populated with the request's response once the request completes
  2177  // successfully.
  2178  //
  2179  // Use "Send" method on the returned Request to send the API call to the service.
  2180  // the "output" return value is not valid until after Send returns without error.
  2181  //
  2182  // See TagResource for more information on using the TagResource
  2183  // API call, and error handling.
  2184  //
  2185  // This method is useful when you want to inject custom logic or configuration
  2186  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2187  //
  2188  //
  2189  //    // Example sending a request using the TagResourceRequest method.
  2190  //    req, resp := client.TagResourceRequest(params)
  2191  //
  2192  //    err := req.Send()
  2193  //    if err == nil { // resp is now filled
  2194  //        fmt.Println(resp)
  2195  //    }
  2196  //
  2197  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/TagResource
  2198  func (c *LookoutEquipment) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
  2199  	op := &request.Operation{
  2200  		Name:       opTagResource,
  2201  		HTTPMethod: "POST",
  2202  		HTTPPath:   "/",
  2203  	}
  2204  
  2205  	if input == nil {
  2206  		input = &TagResourceInput{}
  2207  	}
  2208  
  2209  	output = &TagResourceOutput{}
  2210  	req = c.newRequest(op, input, output)
  2211  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2212  	return
  2213  }
  2214  
  2215  // TagResource API operation for Amazon Lookout for Equipment.
  2216  //
  2217  // Associates a given tag to a resource in your account. A tag is a key-value
  2218  // pair which can be added to an Amazon Lookout for Equipment resource as metadata.
  2219  // Tags can be used for organizing your resources as well as helping you to
  2220  // search and filter by tag. Multiple tags can be added to a resource, either
  2221  // when you create it, or later. Up to 50 tags can be associated with each resource.
  2222  //
  2223  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2224  // with awserr.Error's Code and Message methods to get detailed information about
  2225  // the error.
  2226  //
  2227  // See the AWS API reference guide for Amazon Lookout for Equipment's
  2228  // API operation TagResource for usage and error information.
  2229  //
  2230  // Returned Error Types:
  2231  //   * ValidationException
  2232  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  2233  //   or a related AWS service that's being utilized.
  2234  //
  2235  //   * ResourceNotFoundException
  2236  //   The resource requested could not be found. Verify the resource ID and retry
  2237  //   your request.
  2238  //
  2239  //   * ServiceQuotaExceededException
  2240  //   Resource limitations have been exceeded.
  2241  //
  2242  //   * ThrottlingException
  2243  //   The request was denied due to request throttling.
  2244  //
  2245  //   * AccessDeniedException
  2246  //   The request could not be completed because you do not have access to the
  2247  //   resource.
  2248  //
  2249  //   * InternalServerException
  2250  //   Processing of the request has failed because of an unknown error, exception
  2251  //   or failure.
  2252  //
  2253  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/TagResource
  2254  func (c *LookoutEquipment) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
  2255  	req, out := c.TagResourceRequest(input)
  2256  	return out, req.Send()
  2257  }
  2258  
  2259  // TagResourceWithContext is the same as TagResource with the addition of
  2260  // the ability to pass a context and additional request options.
  2261  //
  2262  // See TagResource for details on how to use this API operation.
  2263  //
  2264  // The context must be non-nil and will be used for request cancellation. If
  2265  // the context is nil a panic will occur. In the future the SDK may create
  2266  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2267  // for more information on using Contexts.
  2268  func (c *LookoutEquipment) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
  2269  	req, out := c.TagResourceRequest(input)
  2270  	req.SetContext(ctx)
  2271  	req.ApplyOptions(opts...)
  2272  	return out, req.Send()
  2273  }
  2274  
  2275  const opUntagResource = "UntagResource"
  2276  
  2277  // UntagResourceRequest generates a "aws/request.Request" representing the
  2278  // client's request for the UntagResource operation. The "output" return
  2279  // value will be populated with the request's response once the request completes
  2280  // successfully.
  2281  //
  2282  // Use "Send" method on the returned Request to send the API call to the service.
  2283  // the "output" return value is not valid until after Send returns without error.
  2284  //
  2285  // See UntagResource for more information on using the UntagResource
  2286  // API call, and error handling.
  2287  //
  2288  // This method is useful when you want to inject custom logic or configuration
  2289  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2290  //
  2291  //
  2292  //    // Example sending a request using the UntagResourceRequest method.
  2293  //    req, resp := client.UntagResourceRequest(params)
  2294  //
  2295  //    err := req.Send()
  2296  //    if err == nil { // resp is now filled
  2297  //        fmt.Println(resp)
  2298  //    }
  2299  //
  2300  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UntagResource
  2301  func (c *LookoutEquipment) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
  2302  	op := &request.Operation{
  2303  		Name:       opUntagResource,
  2304  		HTTPMethod: "POST",
  2305  		HTTPPath:   "/",
  2306  	}
  2307  
  2308  	if input == nil {
  2309  		input = &UntagResourceInput{}
  2310  	}
  2311  
  2312  	output = &UntagResourceOutput{}
  2313  	req = c.newRequest(op, input, output)
  2314  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2315  	return
  2316  }
  2317  
  2318  // UntagResource API operation for Amazon Lookout for Equipment.
  2319  //
  2320  // Removes a specific tag from a given resource. The tag is specified by its
  2321  // key.
  2322  //
  2323  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2324  // with awserr.Error's Code and Message methods to get detailed information about
  2325  // the error.
  2326  //
  2327  // See the AWS API reference guide for Amazon Lookout for Equipment's
  2328  // API operation UntagResource for usage and error information.
  2329  //
  2330  // Returned Error Types:
  2331  //   * ValidationException
  2332  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  2333  //   or a related AWS service that's being utilized.
  2334  //
  2335  //   * ResourceNotFoundException
  2336  //   The resource requested could not be found. Verify the resource ID and retry
  2337  //   your request.
  2338  //
  2339  //   * ThrottlingException
  2340  //   The request was denied due to request throttling.
  2341  //
  2342  //   * AccessDeniedException
  2343  //   The request could not be completed because you do not have access to the
  2344  //   resource.
  2345  //
  2346  //   * InternalServerException
  2347  //   Processing of the request has failed because of an unknown error, exception
  2348  //   or failure.
  2349  //
  2350  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UntagResource
  2351  func (c *LookoutEquipment) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
  2352  	req, out := c.UntagResourceRequest(input)
  2353  	return out, req.Send()
  2354  }
  2355  
  2356  // UntagResourceWithContext is the same as UntagResource with the addition of
  2357  // the ability to pass a context and additional request options.
  2358  //
  2359  // See UntagResource for details on how to use this API operation.
  2360  //
  2361  // The context must be non-nil and will be used for request cancellation. If
  2362  // the context is nil a panic will occur. In the future the SDK may create
  2363  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2364  // for more information on using Contexts.
  2365  func (c *LookoutEquipment) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
  2366  	req, out := c.UntagResourceRequest(input)
  2367  	req.SetContext(ctx)
  2368  	req.ApplyOptions(opts...)
  2369  	return out, req.Send()
  2370  }
  2371  
  2372  const opUpdateInferenceScheduler = "UpdateInferenceScheduler"
  2373  
  2374  // UpdateInferenceSchedulerRequest generates a "aws/request.Request" representing the
  2375  // client's request for the UpdateInferenceScheduler operation. The "output" return
  2376  // value will be populated with the request's response once the request completes
  2377  // successfully.
  2378  //
  2379  // Use "Send" method on the returned Request to send the API call to the service.
  2380  // the "output" return value is not valid until after Send returns without error.
  2381  //
  2382  // See UpdateInferenceScheduler for more information on using the UpdateInferenceScheduler
  2383  // API call, and error handling.
  2384  //
  2385  // This method is useful when you want to inject custom logic or configuration
  2386  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  2387  //
  2388  //
  2389  //    // Example sending a request using the UpdateInferenceSchedulerRequest method.
  2390  //    req, resp := client.UpdateInferenceSchedulerRequest(params)
  2391  //
  2392  //    err := req.Send()
  2393  //    if err == nil { // resp is now filled
  2394  //        fmt.Println(resp)
  2395  //    }
  2396  //
  2397  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateInferenceScheduler
  2398  func (c *LookoutEquipment) UpdateInferenceSchedulerRequest(input *UpdateInferenceSchedulerInput) (req *request.Request, output *UpdateInferenceSchedulerOutput) {
  2399  	op := &request.Operation{
  2400  		Name:       opUpdateInferenceScheduler,
  2401  		HTTPMethod: "POST",
  2402  		HTTPPath:   "/",
  2403  	}
  2404  
  2405  	if input == nil {
  2406  		input = &UpdateInferenceSchedulerInput{}
  2407  	}
  2408  
  2409  	output = &UpdateInferenceSchedulerOutput{}
  2410  	req = c.newRequest(op, input, output)
  2411  	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  2412  	return
  2413  }
  2414  
  2415  // UpdateInferenceScheduler API operation for Amazon Lookout for Equipment.
  2416  //
  2417  // Updates an inference scheduler.
  2418  //
  2419  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  2420  // with awserr.Error's Code and Message methods to get detailed information about
  2421  // the error.
  2422  //
  2423  // See the AWS API reference guide for Amazon Lookout for Equipment's
  2424  // API operation UpdateInferenceScheduler for usage and error information.
  2425  //
  2426  // Returned Error Types:
  2427  //   * ConflictException
  2428  //   The request could not be completed due to a conflict with the current state
  2429  //   of the target resource.
  2430  //
  2431  //   * ResourceNotFoundException
  2432  //   The resource requested could not be found. Verify the resource ID and retry
  2433  //   your request.
  2434  //
  2435  //   * ValidationException
  2436  //   The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  2437  //   or a related AWS service that's being utilized.
  2438  //
  2439  //   * ThrottlingException
  2440  //   The request was denied due to request throttling.
  2441  //
  2442  //   * AccessDeniedException
  2443  //   The request could not be completed because you do not have access to the
  2444  //   resource.
  2445  //
  2446  //   * InternalServerException
  2447  //   Processing of the request has failed because of an unknown error, exception
  2448  //   or failure.
  2449  //
  2450  // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateInferenceScheduler
  2451  func (c *LookoutEquipment) UpdateInferenceScheduler(input *UpdateInferenceSchedulerInput) (*UpdateInferenceSchedulerOutput, error) {
  2452  	req, out := c.UpdateInferenceSchedulerRequest(input)
  2453  	return out, req.Send()
  2454  }
  2455  
  2456  // UpdateInferenceSchedulerWithContext is the same as UpdateInferenceScheduler with the addition of
  2457  // the ability to pass a context and additional request options.
  2458  //
  2459  // See UpdateInferenceScheduler for details on how to use this API operation.
  2460  //
  2461  // The context must be non-nil and will be used for request cancellation. If
  2462  // the context is nil a panic will occur. In the future the SDK may create
  2463  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  2464  // for more information on using Contexts.
  2465  func (c *LookoutEquipment) UpdateInferenceSchedulerWithContext(ctx aws.Context, input *UpdateInferenceSchedulerInput, opts ...request.Option) (*UpdateInferenceSchedulerOutput, error) {
  2466  	req, out := c.UpdateInferenceSchedulerRequest(input)
  2467  	req.SetContext(ctx)
  2468  	req.ApplyOptions(opts...)
  2469  	return out, req.Send()
  2470  }
  2471  
  2472  // The request could not be completed because you do not have access to the
  2473  // resource.
  2474  type AccessDeniedException struct {
  2475  	_            struct{}                  `type:"structure"`
  2476  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  2477  
  2478  	Message_ *string `locationName:"Message" min:"1" type:"string"`
  2479  }
  2480  
  2481  // String returns the string representation.
  2482  //
  2483  // API parameter values that are decorated as "sensitive" in the API will not
  2484  // be included in the string output. The member name will be present, but the
  2485  // value will be replaced with "sensitive".
  2486  func (s AccessDeniedException) String() string {
  2487  	return awsutil.Prettify(s)
  2488  }
  2489  
  2490  // GoString returns the string representation.
  2491  //
  2492  // API parameter values that are decorated as "sensitive" in the API will not
  2493  // be included in the string output. The member name will be present, but the
  2494  // value will be replaced with "sensitive".
  2495  func (s AccessDeniedException) GoString() string {
  2496  	return s.String()
  2497  }
  2498  
  2499  func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
  2500  	return &AccessDeniedException{
  2501  		RespMetadata: v,
  2502  	}
  2503  }
  2504  
  2505  // Code returns the exception type name.
  2506  func (s *AccessDeniedException) Code() string {
  2507  	return "AccessDeniedException"
  2508  }
  2509  
  2510  // Message returns the exception's message.
  2511  func (s *AccessDeniedException) Message() string {
  2512  	if s.Message_ != nil {
  2513  		return *s.Message_
  2514  	}
  2515  	return ""
  2516  }
  2517  
  2518  // OrigErr always returns nil, satisfies awserr.Error interface.
  2519  func (s *AccessDeniedException) OrigErr() error {
  2520  	return nil
  2521  }
  2522  
  2523  func (s *AccessDeniedException) Error() string {
  2524  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  2525  }
  2526  
  2527  // Status code returns the HTTP status code for the request's response error.
  2528  func (s *AccessDeniedException) StatusCode() int {
  2529  	return s.RespMetadata.StatusCode
  2530  }
  2531  
  2532  // RequestID returns the service's response RequestID for request.
  2533  func (s *AccessDeniedException) RequestID() string {
  2534  	return s.RespMetadata.RequestID
  2535  }
  2536  
  2537  // The request could not be completed due to a conflict with the current state
  2538  // of the target resource.
  2539  type ConflictException struct {
  2540  	_            struct{}                  `type:"structure"`
  2541  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  2542  
  2543  	Message_ *string `locationName:"Message" min:"1" type:"string"`
  2544  }
  2545  
  2546  // String returns the string representation.
  2547  //
  2548  // API parameter values that are decorated as "sensitive" in the API will not
  2549  // be included in the string output. The member name will be present, but the
  2550  // value will be replaced with "sensitive".
  2551  func (s ConflictException) String() string {
  2552  	return awsutil.Prettify(s)
  2553  }
  2554  
  2555  // GoString returns the string representation.
  2556  //
  2557  // API parameter values that are decorated as "sensitive" in the API will not
  2558  // be included in the string output. The member name will be present, but the
  2559  // value will be replaced with "sensitive".
  2560  func (s ConflictException) GoString() string {
  2561  	return s.String()
  2562  }
  2563  
  2564  func newErrorConflictException(v protocol.ResponseMetadata) error {
  2565  	return &ConflictException{
  2566  		RespMetadata: v,
  2567  	}
  2568  }
  2569  
  2570  // Code returns the exception type name.
  2571  func (s *ConflictException) Code() string {
  2572  	return "ConflictException"
  2573  }
  2574  
  2575  // Message returns the exception's message.
  2576  func (s *ConflictException) Message() string {
  2577  	if s.Message_ != nil {
  2578  		return *s.Message_
  2579  	}
  2580  	return ""
  2581  }
  2582  
  2583  // OrigErr always returns nil, satisfies awserr.Error interface.
  2584  func (s *ConflictException) OrigErr() error {
  2585  	return nil
  2586  }
  2587  
  2588  func (s *ConflictException) Error() string {
  2589  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  2590  }
  2591  
  2592  // Status code returns the HTTP status code for the request's response error.
  2593  func (s *ConflictException) StatusCode() int {
  2594  	return s.RespMetadata.StatusCode
  2595  }
  2596  
  2597  // RequestID returns the service's response RequestID for request.
  2598  func (s *ConflictException) RequestID() string {
  2599  	return s.RespMetadata.RequestID
  2600  }
  2601  
  2602  type CreateDatasetInput struct {
  2603  	_ struct{} `type:"structure"`
  2604  
  2605  	// A unique identifier for the request. If you do not set the client request
  2606  	// token, Amazon Lookout for Equipment generates one.
  2607  	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
  2608  
  2609  	// The name of the dataset being created.
  2610  	//
  2611  	// DatasetName is a required field
  2612  	DatasetName *string `min:"1" type:"string" required:"true"`
  2613  
  2614  	// A JSON description of the data that is in each time series dataset, including
  2615  	// names, column names, and data types.
  2616  	//
  2617  	// DatasetSchema is a required field
  2618  	DatasetSchema *DatasetSchema `type:"structure" required:"true"`
  2619  
  2620  	// Provides the identifier of the KMS key used to encrypt dataset data by Amazon
  2621  	// Lookout for Equipment.
  2622  	ServerSideKmsKeyId *string `min:"1" type:"string"`
  2623  
  2624  	// Any tags associated with the ingested data described in the dataset.
  2625  	Tags []*Tag `type:"list"`
  2626  }
  2627  
  2628  // String returns the string representation.
  2629  //
  2630  // API parameter values that are decorated as "sensitive" in the API will not
  2631  // be included in the string output. The member name will be present, but the
  2632  // value will be replaced with "sensitive".
  2633  func (s CreateDatasetInput) String() string {
  2634  	return awsutil.Prettify(s)
  2635  }
  2636  
  2637  // GoString returns the string representation.
  2638  //
  2639  // API parameter values that are decorated as "sensitive" in the API will not
  2640  // be included in the string output. The member name will be present, but the
  2641  // value will be replaced with "sensitive".
  2642  func (s CreateDatasetInput) GoString() string {
  2643  	return s.String()
  2644  }
  2645  
  2646  // Validate inspects the fields of the type to determine if they are valid.
  2647  func (s *CreateDatasetInput) Validate() error {
  2648  	invalidParams := request.ErrInvalidParams{Context: "CreateDatasetInput"}
  2649  	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
  2650  		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
  2651  	}
  2652  	if s.DatasetName == nil {
  2653  		invalidParams.Add(request.NewErrParamRequired("DatasetName"))
  2654  	}
  2655  	if s.DatasetName != nil && len(*s.DatasetName) < 1 {
  2656  		invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1))
  2657  	}
  2658  	if s.DatasetSchema == nil {
  2659  		invalidParams.Add(request.NewErrParamRequired("DatasetSchema"))
  2660  	}
  2661  	if s.ServerSideKmsKeyId != nil && len(*s.ServerSideKmsKeyId) < 1 {
  2662  		invalidParams.Add(request.NewErrParamMinLen("ServerSideKmsKeyId", 1))
  2663  	}
  2664  	if s.Tags != nil {
  2665  		for i, v := range s.Tags {
  2666  			if v == nil {
  2667  				continue
  2668  			}
  2669  			if err := v.Validate(); err != nil {
  2670  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
  2671  			}
  2672  		}
  2673  	}
  2674  
  2675  	if invalidParams.Len() > 0 {
  2676  		return invalidParams
  2677  	}
  2678  	return nil
  2679  }
  2680  
  2681  // SetClientToken sets the ClientToken field's value.
  2682  func (s *CreateDatasetInput) SetClientToken(v string) *CreateDatasetInput {
  2683  	s.ClientToken = &v
  2684  	return s
  2685  }
  2686  
  2687  // SetDatasetName sets the DatasetName field's value.
  2688  func (s *CreateDatasetInput) SetDatasetName(v string) *CreateDatasetInput {
  2689  	s.DatasetName = &v
  2690  	return s
  2691  }
  2692  
  2693  // SetDatasetSchema sets the DatasetSchema field's value.
  2694  func (s *CreateDatasetInput) SetDatasetSchema(v *DatasetSchema) *CreateDatasetInput {
  2695  	s.DatasetSchema = v
  2696  	return s
  2697  }
  2698  
  2699  // SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value.
  2700  func (s *CreateDatasetInput) SetServerSideKmsKeyId(v string) *CreateDatasetInput {
  2701  	s.ServerSideKmsKeyId = &v
  2702  	return s
  2703  }
  2704  
  2705  // SetTags sets the Tags field's value.
  2706  func (s *CreateDatasetInput) SetTags(v []*Tag) *CreateDatasetInput {
  2707  	s.Tags = v
  2708  	return s
  2709  }
  2710  
  2711  type CreateDatasetOutput struct {
  2712  	_ struct{} `type:"structure"`
  2713  
  2714  	// The Amazon Resource Name (ARN) of the dataset being created.
  2715  	DatasetArn *string `min:"20" type:"string"`
  2716  
  2717  	// The name of the dataset being created.
  2718  	DatasetName *string `min:"1" type:"string"`
  2719  
  2720  	// Indicates the status of the CreateDataset operation.
  2721  	Status *string `type:"string" enum:"DatasetStatus"`
  2722  }
  2723  
  2724  // String returns the string representation.
  2725  //
  2726  // API parameter values that are decorated as "sensitive" in the API will not
  2727  // be included in the string output. The member name will be present, but the
  2728  // value will be replaced with "sensitive".
  2729  func (s CreateDatasetOutput) String() string {
  2730  	return awsutil.Prettify(s)
  2731  }
  2732  
  2733  // GoString returns the string representation.
  2734  //
  2735  // API parameter values that are decorated as "sensitive" in the API will not
  2736  // be included in the string output. The member name will be present, but the
  2737  // value will be replaced with "sensitive".
  2738  func (s CreateDatasetOutput) GoString() string {
  2739  	return s.String()
  2740  }
  2741  
  2742  // SetDatasetArn sets the DatasetArn field's value.
  2743  func (s *CreateDatasetOutput) SetDatasetArn(v string) *CreateDatasetOutput {
  2744  	s.DatasetArn = &v
  2745  	return s
  2746  }
  2747  
  2748  // SetDatasetName sets the DatasetName field's value.
  2749  func (s *CreateDatasetOutput) SetDatasetName(v string) *CreateDatasetOutput {
  2750  	s.DatasetName = &v
  2751  	return s
  2752  }
  2753  
  2754  // SetStatus sets the Status field's value.
  2755  func (s *CreateDatasetOutput) SetStatus(v string) *CreateDatasetOutput {
  2756  	s.Status = &v
  2757  	return s
  2758  }
  2759  
  2760  type CreateInferenceSchedulerInput struct {
  2761  	_ struct{} `type:"structure"`
  2762  
  2763  	// A unique identifier for the request. If you do not set the client request
  2764  	// token, Amazon Lookout for Equipment generates one.
  2765  	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
  2766  
  2767  	// A period of time (in minutes) by which inference on the data is delayed after
  2768  	// the data starts. For instance, if you select an offset delay time of five
  2769  	// minutes, inference will not begin on the data until the first data measurement
  2770  	// after the five minute mark. For example, if five minutes is selected, the
  2771  	// inference scheduler will wake up at the configured frequency with the additional
  2772  	// five minute delay time to check the customer S3 bucket. The customer can
  2773  	// upload data at the same frequency and they don't need to stop and restart
  2774  	// the scheduler when uploading new data.
  2775  	DataDelayOffsetInMinutes *int64 `type:"long"`
  2776  
  2777  	// Specifies configuration information for the input data for the inference
  2778  	// scheduler, including delimiter, format, and dataset location.
  2779  	//
  2780  	// DataInputConfiguration is a required field
  2781  	DataInputConfiguration *InferenceInputConfiguration `type:"structure" required:"true"`
  2782  
  2783  	// Specifies configuration information for the output results for the inference
  2784  	// scheduler, including the S3 location for the output.
  2785  	//
  2786  	// DataOutputConfiguration is a required field
  2787  	DataOutputConfiguration *InferenceOutputConfiguration `type:"structure" required:"true"`
  2788  
  2789  	// How often data is uploaded to the source S3 bucket for the input data. The
  2790  	// value chosen is the length of time between data uploads. For instance, if
  2791  	// you select 5 minutes, Amazon Lookout for Equipment will upload the real-time
  2792  	// data to the source bucket once every 5 minutes. This frequency also determines
  2793  	// how often Amazon Lookout for Equipment starts a scheduled inference on your
  2794  	// data. In this example, it starts once every 5 minutes.
  2795  	//
  2796  	// DataUploadFrequency is a required field
  2797  	DataUploadFrequency *string `type:"string" required:"true" enum:"DataUploadFrequency"`
  2798  
  2799  	// The name of the inference scheduler being created.
  2800  	//
  2801  	// InferenceSchedulerName is a required field
  2802  	InferenceSchedulerName *string `min:"1" type:"string" required:"true"`
  2803  
  2804  	// The name of the previously trained ML model being used to create the inference
  2805  	// scheduler.
  2806  	//
  2807  	// ModelName is a required field
  2808  	ModelName *string `min:"1" type:"string" required:"true"`
  2809  
  2810  	// The Amazon Resource Name (ARN) of a role with permission to access the data
  2811  	// source being used for the inference.
  2812  	//
  2813  	// RoleArn is a required field
  2814  	RoleArn *string `min:"20" type:"string" required:"true"`
  2815  
  2816  	// Provides the identifier of the KMS key used to encrypt inference scheduler
  2817  	// data by Amazon Lookout for Equipment.
  2818  	ServerSideKmsKeyId *string `min:"1" type:"string"`
  2819  
  2820  	// Any tags associated with the inference scheduler.
  2821  	Tags []*Tag `type:"list"`
  2822  }
  2823  
  2824  // String returns the string representation.
  2825  //
  2826  // API parameter values that are decorated as "sensitive" in the API will not
  2827  // be included in the string output. The member name will be present, but the
  2828  // value will be replaced with "sensitive".
  2829  func (s CreateInferenceSchedulerInput) String() string {
  2830  	return awsutil.Prettify(s)
  2831  }
  2832  
  2833  // GoString returns the string representation.
  2834  //
  2835  // API parameter values that are decorated as "sensitive" in the API will not
  2836  // be included in the string output. The member name will be present, but the
  2837  // value will be replaced with "sensitive".
  2838  func (s CreateInferenceSchedulerInput) GoString() string {
  2839  	return s.String()
  2840  }
  2841  
  2842  // Validate inspects the fields of the type to determine if they are valid.
  2843  func (s *CreateInferenceSchedulerInput) Validate() error {
  2844  	invalidParams := request.ErrInvalidParams{Context: "CreateInferenceSchedulerInput"}
  2845  	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
  2846  		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
  2847  	}
  2848  	if s.DataInputConfiguration == nil {
  2849  		invalidParams.Add(request.NewErrParamRequired("DataInputConfiguration"))
  2850  	}
  2851  	if s.DataOutputConfiguration == nil {
  2852  		invalidParams.Add(request.NewErrParamRequired("DataOutputConfiguration"))
  2853  	}
  2854  	if s.DataUploadFrequency == nil {
  2855  		invalidParams.Add(request.NewErrParamRequired("DataUploadFrequency"))
  2856  	}
  2857  	if s.InferenceSchedulerName == nil {
  2858  		invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName"))
  2859  	}
  2860  	if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 {
  2861  		invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1))
  2862  	}
  2863  	if s.ModelName == nil {
  2864  		invalidParams.Add(request.NewErrParamRequired("ModelName"))
  2865  	}
  2866  	if s.ModelName != nil && len(*s.ModelName) < 1 {
  2867  		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
  2868  	}
  2869  	if s.RoleArn == nil {
  2870  		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
  2871  	}
  2872  	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
  2873  		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
  2874  	}
  2875  	if s.ServerSideKmsKeyId != nil && len(*s.ServerSideKmsKeyId) < 1 {
  2876  		invalidParams.Add(request.NewErrParamMinLen("ServerSideKmsKeyId", 1))
  2877  	}
  2878  	if s.DataInputConfiguration != nil {
  2879  		if err := s.DataInputConfiguration.Validate(); err != nil {
  2880  			invalidParams.AddNested("DataInputConfiguration", err.(request.ErrInvalidParams))
  2881  		}
  2882  	}
  2883  	if s.DataOutputConfiguration != nil {
  2884  		if err := s.DataOutputConfiguration.Validate(); err != nil {
  2885  			invalidParams.AddNested("DataOutputConfiguration", err.(request.ErrInvalidParams))
  2886  		}
  2887  	}
  2888  	if s.Tags != nil {
  2889  		for i, v := range s.Tags {
  2890  			if v == nil {
  2891  				continue
  2892  			}
  2893  			if err := v.Validate(); err != nil {
  2894  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
  2895  			}
  2896  		}
  2897  	}
  2898  
  2899  	if invalidParams.Len() > 0 {
  2900  		return invalidParams
  2901  	}
  2902  	return nil
  2903  }
  2904  
  2905  // SetClientToken sets the ClientToken field's value.
  2906  func (s *CreateInferenceSchedulerInput) SetClientToken(v string) *CreateInferenceSchedulerInput {
  2907  	s.ClientToken = &v
  2908  	return s
  2909  }
  2910  
  2911  // SetDataDelayOffsetInMinutes sets the DataDelayOffsetInMinutes field's value.
  2912  func (s *CreateInferenceSchedulerInput) SetDataDelayOffsetInMinutes(v int64) *CreateInferenceSchedulerInput {
  2913  	s.DataDelayOffsetInMinutes = &v
  2914  	return s
  2915  }
  2916  
  2917  // SetDataInputConfiguration sets the DataInputConfiguration field's value.
  2918  func (s *CreateInferenceSchedulerInput) SetDataInputConfiguration(v *InferenceInputConfiguration) *CreateInferenceSchedulerInput {
  2919  	s.DataInputConfiguration = v
  2920  	return s
  2921  }
  2922  
  2923  // SetDataOutputConfiguration sets the DataOutputConfiguration field's value.
  2924  func (s *CreateInferenceSchedulerInput) SetDataOutputConfiguration(v *InferenceOutputConfiguration) *CreateInferenceSchedulerInput {
  2925  	s.DataOutputConfiguration = v
  2926  	return s
  2927  }
  2928  
  2929  // SetDataUploadFrequency sets the DataUploadFrequency field's value.
  2930  func (s *CreateInferenceSchedulerInput) SetDataUploadFrequency(v string) *CreateInferenceSchedulerInput {
  2931  	s.DataUploadFrequency = &v
  2932  	return s
  2933  }
  2934  
  2935  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  2936  func (s *CreateInferenceSchedulerInput) SetInferenceSchedulerName(v string) *CreateInferenceSchedulerInput {
  2937  	s.InferenceSchedulerName = &v
  2938  	return s
  2939  }
  2940  
  2941  // SetModelName sets the ModelName field's value.
  2942  func (s *CreateInferenceSchedulerInput) SetModelName(v string) *CreateInferenceSchedulerInput {
  2943  	s.ModelName = &v
  2944  	return s
  2945  }
  2946  
  2947  // SetRoleArn sets the RoleArn field's value.
  2948  func (s *CreateInferenceSchedulerInput) SetRoleArn(v string) *CreateInferenceSchedulerInput {
  2949  	s.RoleArn = &v
  2950  	return s
  2951  }
  2952  
  2953  // SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value.
  2954  func (s *CreateInferenceSchedulerInput) SetServerSideKmsKeyId(v string) *CreateInferenceSchedulerInput {
  2955  	s.ServerSideKmsKeyId = &v
  2956  	return s
  2957  }
  2958  
  2959  // SetTags sets the Tags field's value.
  2960  func (s *CreateInferenceSchedulerInput) SetTags(v []*Tag) *CreateInferenceSchedulerInput {
  2961  	s.Tags = v
  2962  	return s
  2963  }
  2964  
  2965  type CreateInferenceSchedulerOutput struct {
  2966  	_ struct{} `type:"structure"`
  2967  
  2968  	// The Amazon Resource Name (ARN) of the inference scheduler being created.
  2969  	InferenceSchedulerArn *string `min:"20" type:"string"`
  2970  
  2971  	// The name of inference scheduler being created.
  2972  	InferenceSchedulerName *string `min:"1" type:"string"`
  2973  
  2974  	// Indicates the status of the CreateInferenceScheduler operation.
  2975  	Status *string `type:"string" enum:"InferenceSchedulerStatus"`
  2976  }
  2977  
  2978  // String returns the string representation.
  2979  //
  2980  // API parameter values that are decorated as "sensitive" in the API will not
  2981  // be included in the string output. The member name will be present, but the
  2982  // value will be replaced with "sensitive".
  2983  func (s CreateInferenceSchedulerOutput) String() string {
  2984  	return awsutil.Prettify(s)
  2985  }
  2986  
  2987  // GoString returns the string representation.
  2988  //
  2989  // API parameter values that are decorated as "sensitive" in the API will not
  2990  // be included in the string output. The member name will be present, but the
  2991  // value will be replaced with "sensitive".
  2992  func (s CreateInferenceSchedulerOutput) GoString() string {
  2993  	return s.String()
  2994  }
  2995  
  2996  // SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value.
  2997  func (s *CreateInferenceSchedulerOutput) SetInferenceSchedulerArn(v string) *CreateInferenceSchedulerOutput {
  2998  	s.InferenceSchedulerArn = &v
  2999  	return s
  3000  }
  3001  
  3002  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  3003  func (s *CreateInferenceSchedulerOutput) SetInferenceSchedulerName(v string) *CreateInferenceSchedulerOutput {
  3004  	s.InferenceSchedulerName = &v
  3005  	return s
  3006  }
  3007  
  3008  // SetStatus sets the Status field's value.
  3009  func (s *CreateInferenceSchedulerOutput) SetStatus(v string) *CreateInferenceSchedulerOutput {
  3010  	s.Status = &v
  3011  	return s
  3012  }
  3013  
  3014  type CreateModelInput struct {
  3015  	_ struct{} `type:"structure"`
  3016  
  3017  	// A unique identifier for the request. If you do not set the client request
  3018  	// token, Amazon Lookout for Equipment generates one.
  3019  	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
  3020  
  3021  	// The configuration is the TargetSamplingRate, which is the sampling rate of
  3022  	// the data after post processing by Amazon Lookout for Equipment. For example,
  3023  	// if you provide data that has been collected at a 1 second level and you want
  3024  	// the system to resample the data at a 1 minute rate before training, the TargetSamplingRate
  3025  	// is 1 minute.
  3026  	//
  3027  	// When providing a value for the TargetSamplingRate, you must attach the prefix
  3028  	// "PT" to the rate you want. The value for a 1 second rate is therefore PT1S,
  3029  	// the value for a 15 minute rate is PT15M, and the value for a 1 hour rate
  3030  	// is PT1H
  3031  	DataPreProcessingConfiguration *DataPreProcessingConfiguration `type:"structure"`
  3032  
  3033  	// The name of the dataset for the ML model being created.
  3034  	//
  3035  	// DatasetName is a required field
  3036  	DatasetName *string `min:"1" type:"string" required:"true"`
  3037  
  3038  	// The data schema for the ML model being created.
  3039  	DatasetSchema *DatasetSchema `type:"structure"`
  3040  
  3041  	// Indicates the time reference in the dataset that should be used to end the
  3042  	// subset of evaluation data for the ML model.
  3043  	EvaluationDataEndTime *time.Time `type:"timestamp"`
  3044  
  3045  	// Indicates the time reference in the dataset that should be used to begin
  3046  	// the subset of evaluation data for the ML model.
  3047  	EvaluationDataStartTime *time.Time `type:"timestamp"`
  3048  
  3049  	// The input configuration for the labels being used for the ML model that's
  3050  	// being created.
  3051  	LabelsInputConfiguration *LabelsInputConfiguration `type:"structure"`
  3052  
  3053  	// The name for the ML model to be created.
  3054  	//
  3055  	// ModelName is a required field
  3056  	ModelName *string `min:"1" type:"string" required:"true"`
  3057  
  3058  	// Indicates that the asset associated with this sensor has been shut off. As
  3059  	// long as this condition is met, Lookout for Equipment will not use data from
  3060  	// this asset for training, evaluation, or inference.
  3061  	OffCondition *string `min:"1" type:"string"`
  3062  
  3063  	// The Amazon Resource Name (ARN) of a role with permission to access the data
  3064  	// source being used to create the ML model.
  3065  	RoleArn *string `min:"20" type:"string"`
  3066  
  3067  	// Provides the identifier of the KMS key used to encrypt model data by Amazon
  3068  	// Lookout for Equipment.
  3069  	ServerSideKmsKeyId *string `min:"1" type:"string"`
  3070  
  3071  	// Any tags associated with the ML model being created.
  3072  	Tags []*Tag `type:"list"`
  3073  
  3074  	// Indicates the time reference in the dataset that should be used to end the
  3075  	// subset of training data for the ML model.
  3076  	TrainingDataEndTime *time.Time `type:"timestamp"`
  3077  
  3078  	// Indicates the time reference in the dataset that should be used to begin
  3079  	// the subset of training data for the ML model.
  3080  	TrainingDataStartTime *time.Time `type:"timestamp"`
  3081  }
  3082  
  3083  // String returns the string representation.
  3084  //
  3085  // API parameter values that are decorated as "sensitive" in the API will not
  3086  // be included in the string output. The member name will be present, but the
  3087  // value will be replaced with "sensitive".
  3088  func (s CreateModelInput) String() string {
  3089  	return awsutil.Prettify(s)
  3090  }
  3091  
  3092  // GoString returns the string representation.
  3093  //
  3094  // API parameter values that are decorated as "sensitive" in the API will not
  3095  // be included in the string output. The member name will be present, but the
  3096  // value will be replaced with "sensitive".
  3097  func (s CreateModelInput) GoString() string {
  3098  	return s.String()
  3099  }
  3100  
  3101  // Validate inspects the fields of the type to determine if they are valid.
  3102  func (s *CreateModelInput) Validate() error {
  3103  	invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"}
  3104  	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
  3105  		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
  3106  	}
  3107  	if s.DatasetName == nil {
  3108  		invalidParams.Add(request.NewErrParamRequired("DatasetName"))
  3109  	}
  3110  	if s.DatasetName != nil && len(*s.DatasetName) < 1 {
  3111  		invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1))
  3112  	}
  3113  	if s.ModelName == nil {
  3114  		invalidParams.Add(request.NewErrParamRequired("ModelName"))
  3115  	}
  3116  	if s.ModelName != nil && len(*s.ModelName) < 1 {
  3117  		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
  3118  	}
  3119  	if s.OffCondition != nil && len(*s.OffCondition) < 1 {
  3120  		invalidParams.Add(request.NewErrParamMinLen("OffCondition", 1))
  3121  	}
  3122  	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
  3123  		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
  3124  	}
  3125  	if s.ServerSideKmsKeyId != nil && len(*s.ServerSideKmsKeyId) < 1 {
  3126  		invalidParams.Add(request.NewErrParamMinLen("ServerSideKmsKeyId", 1))
  3127  	}
  3128  	if s.LabelsInputConfiguration != nil {
  3129  		if err := s.LabelsInputConfiguration.Validate(); err != nil {
  3130  			invalidParams.AddNested("LabelsInputConfiguration", err.(request.ErrInvalidParams))
  3131  		}
  3132  	}
  3133  	if s.Tags != nil {
  3134  		for i, v := range s.Tags {
  3135  			if v == nil {
  3136  				continue
  3137  			}
  3138  			if err := v.Validate(); err != nil {
  3139  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
  3140  			}
  3141  		}
  3142  	}
  3143  
  3144  	if invalidParams.Len() > 0 {
  3145  		return invalidParams
  3146  	}
  3147  	return nil
  3148  }
  3149  
  3150  // SetClientToken sets the ClientToken field's value.
  3151  func (s *CreateModelInput) SetClientToken(v string) *CreateModelInput {
  3152  	s.ClientToken = &v
  3153  	return s
  3154  }
  3155  
  3156  // SetDataPreProcessingConfiguration sets the DataPreProcessingConfiguration field's value.
  3157  func (s *CreateModelInput) SetDataPreProcessingConfiguration(v *DataPreProcessingConfiguration) *CreateModelInput {
  3158  	s.DataPreProcessingConfiguration = v
  3159  	return s
  3160  }
  3161  
  3162  // SetDatasetName sets the DatasetName field's value.
  3163  func (s *CreateModelInput) SetDatasetName(v string) *CreateModelInput {
  3164  	s.DatasetName = &v
  3165  	return s
  3166  }
  3167  
  3168  // SetDatasetSchema sets the DatasetSchema field's value.
  3169  func (s *CreateModelInput) SetDatasetSchema(v *DatasetSchema) *CreateModelInput {
  3170  	s.DatasetSchema = v
  3171  	return s
  3172  }
  3173  
  3174  // SetEvaluationDataEndTime sets the EvaluationDataEndTime field's value.
  3175  func (s *CreateModelInput) SetEvaluationDataEndTime(v time.Time) *CreateModelInput {
  3176  	s.EvaluationDataEndTime = &v
  3177  	return s
  3178  }
  3179  
  3180  // SetEvaluationDataStartTime sets the EvaluationDataStartTime field's value.
  3181  func (s *CreateModelInput) SetEvaluationDataStartTime(v time.Time) *CreateModelInput {
  3182  	s.EvaluationDataStartTime = &v
  3183  	return s
  3184  }
  3185  
  3186  // SetLabelsInputConfiguration sets the LabelsInputConfiguration field's value.
  3187  func (s *CreateModelInput) SetLabelsInputConfiguration(v *LabelsInputConfiguration) *CreateModelInput {
  3188  	s.LabelsInputConfiguration = v
  3189  	return s
  3190  }
  3191  
  3192  // SetModelName sets the ModelName field's value.
  3193  func (s *CreateModelInput) SetModelName(v string) *CreateModelInput {
  3194  	s.ModelName = &v
  3195  	return s
  3196  }
  3197  
  3198  // SetOffCondition sets the OffCondition field's value.
  3199  func (s *CreateModelInput) SetOffCondition(v string) *CreateModelInput {
  3200  	s.OffCondition = &v
  3201  	return s
  3202  }
  3203  
  3204  // SetRoleArn sets the RoleArn field's value.
  3205  func (s *CreateModelInput) SetRoleArn(v string) *CreateModelInput {
  3206  	s.RoleArn = &v
  3207  	return s
  3208  }
  3209  
  3210  // SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value.
  3211  func (s *CreateModelInput) SetServerSideKmsKeyId(v string) *CreateModelInput {
  3212  	s.ServerSideKmsKeyId = &v
  3213  	return s
  3214  }
  3215  
  3216  // SetTags sets the Tags field's value.
  3217  func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput {
  3218  	s.Tags = v
  3219  	return s
  3220  }
  3221  
  3222  // SetTrainingDataEndTime sets the TrainingDataEndTime field's value.
  3223  func (s *CreateModelInput) SetTrainingDataEndTime(v time.Time) *CreateModelInput {
  3224  	s.TrainingDataEndTime = &v
  3225  	return s
  3226  }
  3227  
  3228  // SetTrainingDataStartTime sets the TrainingDataStartTime field's value.
  3229  func (s *CreateModelInput) SetTrainingDataStartTime(v time.Time) *CreateModelInput {
  3230  	s.TrainingDataStartTime = &v
  3231  	return s
  3232  }
  3233  
  3234  type CreateModelOutput struct {
  3235  	_ struct{} `type:"structure"`
  3236  
  3237  	// The Amazon Resource Name (ARN) of the model being created.
  3238  	ModelArn *string `min:"20" type:"string"`
  3239  
  3240  	// Indicates the status of the CreateModel operation.
  3241  	Status *string `type:"string" enum:"ModelStatus"`
  3242  }
  3243  
  3244  // String returns the string representation.
  3245  //
  3246  // API parameter values that are decorated as "sensitive" in the API will not
  3247  // be included in the string output. The member name will be present, but the
  3248  // value will be replaced with "sensitive".
  3249  func (s CreateModelOutput) String() string {
  3250  	return awsutil.Prettify(s)
  3251  }
  3252  
  3253  // GoString returns the string representation.
  3254  //
  3255  // API parameter values that are decorated as "sensitive" in the API will not
  3256  // be included in the string output. The member name will be present, but the
  3257  // value will be replaced with "sensitive".
  3258  func (s CreateModelOutput) GoString() string {
  3259  	return s.String()
  3260  }
  3261  
  3262  // SetModelArn sets the ModelArn field's value.
  3263  func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput {
  3264  	s.ModelArn = &v
  3265  	return s
  3266  }
  3267  
  3268  // SetStatus sets the Status field's value.
  3269  func (s *CreateModelOutput) SetStatus(v string) *CreateModelOutput {
  3270  	s.Status = &v
  3271  	return s
  3272  }
  3273  
  3274  // Provides information about a specified data ingestion job, including dataset
  3275  // information, data ingestion configuration, and status.
  3276  type DataIngestionJobSummary struct {
  3277  	_ struct{} `type:"structure"`
  3278  
  3279  	// The Amazon Resource Name (ARN) of the dataset used in the data ingestion
  3280  	// job.
  3281  	DatasetArn *string `min:"20" type:"string"`
  3282  
  3283  	// The name of the dataset used for the data ingestion job.
  3284  	DatasetName *string `min:"1" type:"string"`
  3285  
  3286  	// Specifies information for the input data for the data inference job, including
  3287  	// data S3 location parameters.
  3288  	IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"`
  3289  
  3290  	// Indicates the job ID of the data ingestion job.
  3291  	JobId *string `type:"string"`
  3292  
  3293  	// Indicates the status of the data ingestion job.
  3294  	Status *string `type:"string" enum:"IngestionJobStatus"`
  3295  }
  3296  
  3297  // String returns the string representation.
  3298  //
  3299  // API parameter values that are decorated as "sensitive" in the API will not
  3300  // be included in the string output. The member name will be present, but the
  3301  // value will be replaced with "sensitive".
  3302  func (s DataIngestionJobSummary) String() string {
  3303  	return awsutil.Prettify(s)
  3304  }
  3305  
  3306  // GoString returns the string representation.
  3307  //
  3308  // API parameter values that are decorated as "sensitive" in the API will not
  3309  // be included in the string output. The member name will be present, but the
  3310  // value will be replaced with "sensitive".
  3311  func (s DataIngestionJobSummary) GoString() string {
  3312  	return s.String()
  3313  }
  3314  
  3315  // SetDatasetArn sets the DatasetArn field's value.
  3316  func (s *DataIngestionJobSummary) SetDatasetArn(v string) *DataIngestionJobSummary {
  3317  	s.DatasetArn = &v
  3318  	return s
  3319  }
  3320  
  3321  // SetDatasetName sets the DatasetName field's value.
  3322  func (s *DataIngestionJobSummary) SetDatasetName(v string) *DataIngestionJobSummary {
  3323  	s.DatasetName = &v
  3324  	return s
  3325  }
  3326  
  3327  // SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value.
  3328  func (s *DataIngestionJobSummary) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DataIngestionJobSummary {
  3329  	s.IngestionInputConfiguration = v
  3330  	return s
  3331  }
  3332  
  3333  // SetJobId sets the JobId field's value.
  3334  func (s *DataIngestionJobSummary) SetJobId(v string) *DataIngestionJobSummary {
  3335  	s.JobId = &v
  3336  	return s
  3337  }
  3338  
  3339  // SetStatus sets the Status field's value.
  3340  func (s *DataIngestionJobSummary) SetStatus(v string) *DataIngestionJobSummary {
  3341  	s.Status = &v
  3342  	return s
  3343  }
  3344  
  3345  // The configuration is the TargetSamplingRate, which is the sampling rate of
  3346  // the data after post processing by Amazon Lookout for Equipment. For example,
  3347  // if you provide data that has been collected at a 1 second level and you want
  3348  // the system to resample the data at a 1 minute rate before training, the TargetSamplingRate
  3349  // is 1 minute.
  3350  //
  3351  // When providing a value for the TargetSamplingRate, you must attach the prefix
  3352  // "PT" to the rate you want. The value for a 1 second rate is therefore PT1S,
  3353  // the value for a 15 minute rate is PT15M, and the value for a 1 hour rate
  3354  // is PT1H
  3355  type DataPreProcessingConfiguration struct {
  3356  	_ struct{} `type:"structure"`
  3357  
  3358  	// The sampling rate of the data after post processing by Amazon Lookout for
  3359  	// Equipment. For example, if you provide data that has been collected at a
  3360  	// 1 second level and you want the system to resample the data at a 1 minute
  3361  	// rate before training, the TargetSamplingRate is 1 minute.
  3362  	//
  3363  	// When providing a value for the TargetSamplingRate, you must attach the prefix
  3364  	// "PT" to the rate you want. The value for a 1 second rate is therefore PT1S,
  3365  	// the value for a 15 minute rate is PT15M, and the value for a 1 hour rate
  3366  	// is PT1H
  3367  	TargetSamplingRate *string `type:"string" enum:"TargetSamplingRate"`
  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 DataPreProcessingConfiguration) 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 DataPreProcessingConfiguration) GoString() string {
  3385  	return s.String()
  3386  }
  3387  
  3388  // SetTargetSamplingRate sets the TargetSamplingRate field's value.
  3389  func (s *DataPreProcessingConfiguration) SetTargetSamplingRate(v string) *DataPreProcessingConfiguration {
  3390  	s.TargetSamplingRate = &v
  3391  	return s
  3392  }
  3393  
  3394  // Provides information about the data schema used with the given dataset.
  3395  type DatasetSchema struct {
  3396  	_ struct{} `type:"structure"`
  3397  
  3398  	InlineDataSchema aws.JSONValue `type:"jsonvalue"`
  3399  }
  3400  
  3401  // String returns the string representation.
  3402  //
  3403  // API parameter values that are decorated as "sensitive" in the API will not
  3404  // be included in the string output. The member name will be present, but the
  3405  // value will be replaced with "sensitive".
  3406  func (s DatasetSchema) String() string {
  3407  	return awsutil.Prettify(s)
  3408  }
  3409  
  3410  // GoString returns the string representation.
  3411  //
  3412  // API parameter values that are decorated as "sensitive" in the API will not
  3413  // be included in the string output. The member name will be present, but the
  3414  // value will be replaced with "sensitive".
  3415  func (s DatasetSchema) GoString() string {
  3416  	return s.String()
  3417  }
  3418  
  3419  // SetInlineDataSchema sets the InlineDataSchema field's value.
  3420  func (s *DatasetSchema) SetInlineDataSchema(v aws.JSONValue) *DatasetSchema {
  3421  	s.InlineDataSchema = v
  3422  	return s
  3423  }
  3424  
  3425  // Contains information about the specific data set, including name, ARN, and
  3426  // status.
  3427  type DatasetSummary struct {
  3428  	_ struct{} `type:"structure"`
  3429  
  3430  	// The time at which the dataset was created in Amazon Lookout for Equipment.
  3431  	CreatedAt *time.Time `type:"timestamp"`
  3432  
  3433  	// The Amazon Resource Name (ARN) of the specified dataset.
  3434  	DatasetArn *string `min:"20" type:"string"`
  3435  
  3436  	// The name of the dataset.
  3437  	DatasetName *string `min:"1" type:"string"`
  3438  
  3439  	// Indicates the status of the dataset.
  3440  	Status *string `type:"string" enum:"DatasetStatus"`
  3441  }
  3442  
  3443  // String returns the string representation.
  3444  //
  3445  // API parameter values that are decorated as "sensitive" in the API will not
  3446  // be included in the string output. The member name will be present, but the
  3447  // value will be replaced with "sensitive".
  3448  func (s DatasetSummary) String() string {
  3449  	return awsutil.Prettify(s)
  3450  }
  3451  
  3452  // GoString returns the string representation.
  3453  //
  3454  // API parameter values that are decorated as "sensitive" in the API will not
  3455  // be included in the string output. The member name will be present, but the
  3456  // value will be replaced with "sensitive".
  3457  func (s DatasetSummary) GoString() string {
  3458  	return s.String()
  3459  }
  3460  
  3461  // SetCreatedAt sets the CreatedAt field's value.
  3462  func (s *DatasetSummary) SetCreatedAt(v time.Time) *DatasetSummary {
  3463  	s.CreatedAt = &v
  3464  	return s
  3465  }
  3466  
  3467  // SetDatasetArn sets the DatasetArn field's value.
  3468  func (s *DatasetSummary) SetDatasetArn(v string) *DatasetSummary {
  3469  	s.DatasetArn = &v
  3470  	return s
  3471  }
  3472  
  3473  // SetDatasetName sets the DatasetName field's value.
  3474  func (s *DatasetSummary) SetDatasetName(v string) *DatasetSummary {
  3475  	s.DatasetName = &v
  3476  	return s
  3477  }
  3478  
  3479  // SetStatus sets the Status field's value.
  3480  func (s *DatasetSummary) SetStatus(v string) *DatasetSummary {
  3481  	s.Status = &v
  3482  	return s
  3483  }
  3484  
  3485  type DeleteDatasetInput struct {
  3486  	_ struct{} `type:"structure"`
  3487  
  3488  	// The name of the dataset to be deleted.
  3489  	//
  3490  	// DatasetName is a required field
  3491  	DatasetName *string `min:"1" type:"string" required:"true"`
  3492  }
  3493  
  3494  // String returns the string representation.
  3495  //
  3496  // API parameter values that are decorated as "sensitive" in the API will not
  3497  // be included in the string output. The member name will be present, but the
  3498  // value will be replaced with "sensitive".
  3499  func (s DeleteDatasetInput) String() string {
  3500  	return awsutil.Prettify(s)
  3501  }
  3502  
  3503  // GoString returns the string representation.
  3504  //
  3505  // API parameter values that are decorated as "sensitive" in the API will not
  3506  // be included in the string output. The member name will be present, but the
  3507  // value will be replaced with "sensitive".
  3508  func (s DeleteDatasetInput) GoString() string {
  3509  	return s.String()
  3510  }
  3511  
  3512  // Validate inspects the fields of the type to determine if they are valid.
  3513  func (s *DeleteDatasetInput) Validate() error {
  3514  	invalidParams := request.ErrInvalidParams{Context: "DeleteDatasetInput"}
  3515  	if s.DatasetName == nil {
  3516  		invalidParams.Add(request.NewErrParamRequired("DatasetName"))
  3517  	}
  3518  	if s.DatasetName != nil && len(*s.DatasetName) < 1 {
  3519  		invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1))
  3520  	}
  3521  
  3522  	if invalidParams.Len() > 0 {
  3523  		return invalidParams
  3524  	}
  3525  	return nil
  3526  }
  3527  
  3528  // SetDatasetName sets the DatasetName field's value.
  3529  func (s *DeleteDatasetInput) SetDatasetName(v string) *DeleteDatasetInput {
  3530  	s.DatasetName = &v
  3531  	return s
  3532  }
  3533  
  3534  type DeleteDatasetOutput struct {
  3535  	_ struct{} `type:"structure"`
  3536  }
  3537  
  3538  // String returns the string representation.
  3539  //
  3540  // API parameter values that are decorated as "sensitive" in the API will not
  3541  // be included in the string output. The member name will be present, but the
  3542  // value will be replaced with "sensitive".
  3543  func (s DeleteDatasetOutput) String() string {
  3544  	return awsutil.Prettify(s)
  3545  }
  3546  
  3547  // GoString returns the string representation.
  3548  //
  3549  // API parameter values that are decorated as "sensitive" in the API will not
  3550  // be included in the string output. The member name will be present, but the
  3551  // value will be replaced with "sensitive".
  3552  func (s DeleteDatasetOutput) GoString() string {
  3553  	return s.String()
  3554  }
  3555  
  3556  type DeleteInferenceSchedulerInput struct {
  3557  	_ struct{} `type:"structure"`
  3558  
  3559  	// The name of the inference scheduler to be deleted.
  3560  	//
  3561  	// InferenceSchedulerName is a required field
  3562  	InferenceSchedulerName *string `min:"1" type:"string" required:"true"`
  3563  }
  3564  
  3565  // String returns the string representation.
  3566  //
  3567  // API parameter values that are decorated as "sensitive" in the API will not
  3568  // be included in the string output. The member name will be present, but the
  3569  // value will be replaced with "sensitive".
  3570  func (s DeleteInferenceSchedulerInput) String() string {
  3571  	return awsutil.Prettify(s)
  3572  }
  3573  
  3574  // GoString returns the string representation.
  3575  //
  3576  // API parameter values that are decorated as "sensitive" in the API will not
  3577  // be included in the string output. The member name will be present, but the
  3578  // value will be replaced with "sensitive".
  3579  func (s DeleteInferenceSchedulerInput) GoString() string {
  3580  	return s.String()
  3581  }
  3582  
  3583  // Validate inspects the fields of the type to determine if they are valid.
  3584  func (s *DeleteInferenceSchedulerInput) Validate() error {
  3585  	invalidParams := request.ErrInvalidParams{Context: "DeleteInferenceSchedulerInput"}
  3586  	if s.InferenceSchedulerName == nil {
  3587  		invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName"))
  3588  	}
  3589  	if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 {
  3590  		invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1))
  3591  	}
  3592  
  3593  	if invalidParams.Len() > 0 {
  3594  		return invalidParams
  3595  	}
  3596  	return nil
  3597  }
  3598  
  3599  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  3600  func (s *DeleteInferenceSchedulerInput) SetInferenceSchedulerName(v string) *DeleteInferenceSchedulerInput {
  3601  	s.InferenceSchedulerName = &v
  3602  	return s
  3603  }
  3604  
  3605  type DeleteInferenceSchedulerOutput struct {
  3606  	_ struct{} `type:"structure"`
  3607  }
  3608  
  3609  // String returns the string representation.
  3610  //
  3611  // API parameter values that are decorated as "sensitive" in the API will not
  3612  // be included in the string output. The member name will be present, but the
  3613  // value will be replaced with "sensitive".
  3614  func (s DeleteInferenceSchedulerOutput) String() string {
  3615  	return awsutil.Prettify(s)
  3616  }
  3617  
  3618  // GoString returns the string representation.
  3619  //
  3620  // API parameter values that are decorated as "sensitive" in the API will not
  3621  // be included in the string output. The member name will be present, but the
  3622  // value will be replaced with "sensitive".
  3623  func (s DeleteInferenceSchedulerOutput) GoString() string {
  3624  	return s.String()
  3625  }
  3626  
  3627  type DeleteModelInput struct {
  3628  	_ struct{} `type:"structure"`
  3629  
  3630  	// The name of the ML model to be deleted.
  3631  	//
  3632  	// ModelName is a required field
  3633  	ModelName *string `min:"1" type:"string" required:"true"`
  3634  }
  3635  
  3636  // String returns the string representation.
  3637  //
  3638  // API parameter values that are decorated as "sensitive" in the API will not
  3639  // be included in the string output. The member name will be present, but the
  3640  // value will be replaced with "sensitive".
  3641  func (s DeleteModelInput) String() string {
  3642  	return awsutil.Prettify(s)
  3643  }
  3644  
  3645  // GoString returns the string representation.
  3646  //
  3647  // API parameter values that are decorated as "sensitive" in the API will not
  3648  // be included in the string output. The member name will be present, but the
  3649  // value will be replaced with "sensitive".
  3650  func (s DeleteModelInput) GoString() string {
  3651  	return s.String()
  3652  }
  3653  
  3654  // Validate inspects the fields of the type to determine if they are valid.
  3655  func (s *DeleteModelInput) Validate() error {
  3656  	invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"}
  3657  	if s.ModelName == nil {
  3658  		invalidParams.Add(request.NewErrParamRequired("ModelName"))
  3659  	}
  3660  	if s.ModelName != nil && len(*s.ModelName) < 1 {
  3661  		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
  3662  	}
  3663  
  3664  	if invalidParams.Len() > 0 {
  3665  		return invalidParams
  3666  	}
  3667  	return nil
  3668  }
  3669  
  3670  // SetModelName sets the ModelName field's value.
  3671  func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput {
  3672  	s.ModelName = &v
  3673  	return s
  3674  }
  3675  
  3676  type DeleteModelOutput struct {
  3677  	_ struct{} `type:"structure"`
  3678  }
  3679  
  3680  // String returns the string representation.
  3681  //
  3682  // API parameter values that are decorated as "sensitive" in the API will not
  3683  // be included in the string output. The member name will be present, but the
  3684  // value will be replaced with "sensitive".
  3685  func (s DeleteModelOutput) String() string {
  3686  	return awsutil.Prettify(s)
  3687  }
  3688  
  3689  // GoString returns the string representation.
  3690  //
  3691  // API parameter values that are decorated as "sensitive" in the API will not
  3692  // be included in the string output. The member name will be present, but the
  3693  // value will be replaced with "sensitive".
  3694  func (s DeleteModelOutput) GoString() string {
  3695  	return s.String()
  3696  }
  3697  
  3698  type DescribeDataIngestionJobInput struct {
  3699  	_ struct{} `type:"structure"`
  3700  
  3701  	// The job ID of the data ingestion job.
  3702  	//
  3703  	// JobId is a required field
  3704  	JobId *string `type:"string" required:"true"`
  3705  }
  3706  
  3707  // String returns the string representation.
  3708  //
  3709  // API parameter values that are decorated as "sensitive" in the API will not
  3710  // be included in the string output. The member name will be present, but the
  3711  // value will be replaced with "sensitive".
  3712  func (s DescribeDataIngestionJobInput) String() string {
  3713  	return awsutil.Prettify(s)
  3714  }
  3715  
  3716  // GoString returns the string representation.
  3717  //
  3718  // API parameter values that are decorated as "sensitive" in the API will not
  3719  // be included in the string output. The member name will be present, but the
  3720  // value will be replaced with "sensitive".
  3721  func (s DescribeDataIngestionJobInput) GoString() string {
  3722  	return s.String()
  3723  }
  3724  
  3725  // Validate inspects the fields of the type to determine if they are valid.
  3726  func (s *DescribeDataIngestionJobInput) Validate() error {
  3727  	invalidParams := request.ErrInvalidParams{Context: "DescribeDataIngestionJobInput"}
  3728  	if s.JobId == nil {
  3729  		invalidParams.Add(request.NewErrParamRequired("JobId"))
  3730  	}
  3731  
  3732  	if invalidParams.Len() > 0 {
  3733  		return invalidParams
  3734  	}
  3735  	return nil
  3736  }
  3737  
  3738  // SetJobId sets the JobId field's value.
  3739  func (s *DescribeDataIngestionJobInput) SetJobId(v string) *DescribeDataIngestionJobInput {
  3740  	s.JobId = &v
  3741  	return s
  3742  }
  3743  
  3744  type DescribeDataIngestionJobOutput struct {
  3745  	_ struct{} `type:"structure"`
  3746  
  3747  	// The time at which the data ingestion job was created.
  3748  	CreatedAt *time.Time `type:"timestamp"`
  3749  
  3750  	// The Amazon Resource Name (ARN) of the dataset being used in the data ingestion
  3751  	// job.
  3752  	DatasetArn *string `min:"20" type:"string"`
  3753  
  3754  	// Specifies the reason for failure when a data ingestion job has failed.
  3755  	FailedReason *string `min:"1" type:"string"`
  3756  
  3757  	// Specifies the S3 location configuration for the data input for the data ingestion
  3758  	// job.
  3759  	IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"`
  3760  
  3761  	// Indicates the job ID of the data ingestion job.
  3762  	JobId *string `type:"string"`
  3763  
  3764  	// The Amazon Resource Name (ARN) of an IAM role with permission to access the
  3765  	// data source being ingested.
  3766  	RoleArn *string `min:"20" type:"string"`
  3767  
  3768  	// Indicates the status of the DataIngestionJob operation.
  3769  	Status *string `type:"string" enum:"IngestionJobStatus"`
  3770  }
  3771  
  3772  // String returns the string representation.
  3773  //
  3774  // API parameter values that are decorated as "sensitive" in the API will not
  3775  // be included in the string output. The member name will be present, but the
  3776  // value will be replaced with "sensitive".
  3777  func (s DescribeDataIngestionJobOutput) String() string {
  3778  	return awsutil.Prettify(s)
  3779  }
  3780  
  3781  // GoString returns the string representation.
  3782  //
  3783  // API parameter values that are decorated as "sensitive" in the API will not
  3784  // be included in the string output. The member name will be present, but the
  3785  // value will be replaced with "sensitive".
  3786  func (s DescribeDataIngestionJobOutput) GoString() string {
  3787  	return s.String()
  3788  }
  3789  
  3790  // SetCreatedAt sets the CreatedAt field's value.
  3791  func (s *DescribeDataIngestionJobOutput) SetCreatedAt(v time.Time) *DescribeDataIngestionJobOutput {
  3792  	s.CreatedAt = &v
  3793  	return s
  3794  }
  3795  
  3796  // SetDatasetArn sets the DatasetArn field's value.
  3797  func (s *DescribeDataIngestionJobOutput) SetDatasetArn(v string) *DescribeDataIngestionJobOutput {
  3798  	s.DatasetArn = &v
  3799  	return s
  3800  }
  3801  
  3802  // SetFailedReason sets the FailedReason field's value.
  3803  func (s *DescribeDataIngestionJobOutput) SetFailedReason(v string) *DescribeDataIngestionJobOutput {
  3804  	s.FailedReason = &v
  3805  	return s
  3806  }
  3807  
  3808  // SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value.
  3809  func (s *DescribeDataIngestionJobOutput) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DescribeDataIngestionJobOutput {
  3810  	s.IngestionInputConfiguration = v
  3811  	return s
  3812  }
  3813  
  3814  // SetJobId sets the JobId field's value.
  3815  func (s *DescribeDataIngestionJobOutput) SetJobId(v string) *DescribeDataIngestionJobOutput {
  3816  	s.JobId = &v
  3817  	return s
  3818  }
  3819  
  3820  // SetRoleArn sets the RoleArn field's value.
  3821  func (s *DescribeDataIngestionJobOutput) SetRoleArn(v string) *DescribeDataIngestionJobOutput {
  3822  	s.RoleArn = &v
  3823  	return s
  3824  }
  3825  
  3826  // SetStatus sets the Status field's value.
  3827  func (s *DescribeDataIngestionJobOutput) SetStatus(v string) *DescribeDataIngestionJobOutput {
  3828  	s.Status = &v
  3829  	return s
  3830  }
  3831  
  3832  type DescribeDatasetInput struct {
  3833  	_ struct{} `type:"structure"`
  3834  
  3835  	// The name of the dataset to be described.
  3836  	//
  3837  	// DatasetName is a required field
  3838  	DatasetName *string `min:"1" type:"string" required:"true"`
  3839  }
  3840  
  3841  // String returns the string representation.
  3842  //
  3843  // API parameter values that are decorated as "sensitive" in the API will not
  3844  // be included in the string output. The member name will be present, but the
  3845  // value will be replaced with "sensitive".
  3846  func (s DescribeDatasetInput) String() string {
  3847  	return awsutil.Prettify(s)
  3848  }
  3849  
  3850  // GoString returns the string representation.
  3851  //
  3852  // API parameter values that are decorated as "sensitive" in the API will not
  3853  // be included in the string output. The member name will be present, but the
  3854  // value will be replaced with "sensitive".
  3855  func (s DescribeDatasetInput) GoString() string {
  3856  	return s.String()
  3857  }
  3858  
  3859  // Validate inspects the fields of the type to determine if they are valid.
  3860  func (s *DescribeDatasetInput) Validate() error {
  3861  	invalidParams := request.ErrInvalidParams{Context: "DescribeDatasetInput"}
  3862  	if s.DatasetName == nil {
  3863  		invalidParams.Add(request.NewErrParamRequired("DatasetName"))
  3864  	}
  3865  	if s.DatasetName != nil && len(*s.DatasetName) < 1 {
  3866  		invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1))
  3867  	}
  3868  
  3869  	if invalidParams.Len() > 0 {
  3870  		return invalidParams
  3871  	}
  3872  	return nil
  3873  }
  3874  
  3875  // SetDatasetName sets the DatasetName field's value.
  3876  func (s *DescribeDatasetInput) SetDatasetName(v string) *DescribeDatasetInput {
  3877  	s.DatasetName = &v
  3878  	return s
  3879  }
  3880  
  3881  type DescribeDatasetOutput struct {
  3882  	_ struct{} `type:"structure"`
  3883  
  3884  	// Specifies the time the dataset was created in Amazon Lookout for Equipment.
  3885  	CreatedAt *time.Time `type:"timestamp"`
  3886  
  3887  	// The Amazon Resource Name (ARN) of the dataset being described.
  3888  	DatasetArn *string `min:"20" type:"string"`
  3889  
  3890  	// The name of the dataset being described.
  3891  	DatasetName *string `min:"1" type:"string"`
  3892  
  3893  	// Specifies the S3 location configuration for the data input for the data ingestion
  3894  	// job.
  3895  	IngestionInputConfiguration *IngestionInputConfiguration `type:"structure"`
  3896  
  3897  	// Specifies the time the dataset was last updated, if it was.
  3898  	LastUpdatedAt *time.Time `type:"timestamp"`
  3899  
  3900  	// A JSON description of the data that is in each time series dataset, including
  3901  	// names, column names, and data types.
  3902  	Schema aws.JSONValue `type:"jsonvalue"`
  3903  
  3904  	// Provides the identifier of the KMS key used to encrypt dataset data by Amazon
  3905  	// Lookout for Equipment.
  3906  	ServerSideKmsKeyId *string `min:"1" type:"string"`
  3907  
  3908  	// Indicates the status of the dataset.
  3909  	Status *string `type:"string" enum:"DatasetStatus"`
  3910  }
  3911  
  3912  // String returns the string representation.
  3913  //
  3914  // API parameter values that are decorated as "sensitive" in the API will not
  3915  // be included in the string output. The member name will be present, but the
  3916  // value will be replaced with "sensitive".
  3917  func (s DescribeDatasetOutput) String() string {
  3918  	return awsutil.Prettify(s)
  3919  }
  3920  
  3921  // GoString returns the string representation.
  3922  //
  3923  // API parameter values that are decorated as "sensitive" in the API will not
  3924  // be included in the string output. The member name will be present, but the
  3925  // value will be replaced with "sensitive".
  3926  func (s DescribeDatasetOutput) GoString() string {
  3927  	return s.String()
  3928  }
  3929  
  3930  // SetCreatedAt sets the CreatedAt field's value.
  3931  func (s *DescribeDatasetOutput) SetCreatedAt(v time.Time) *DescribeDatasetOutput {
  3932  	s.CreatedAt = &v
  3933  	return s
  3934  }
  3935  
  3936  // SetDatasetArn sets the DatasetArn field's value.
  3937  func (s *DescribeDatasetOutput) SetDatasetArn(v string) *DescribeDatasetOutput {
  3938  	s.DatasetArn = &v
  3939  	return s
  3940  }
  3941  
  3942  // SetDatasetName sets the DatasetName field's value.
  3943  func (s *DescribeDatasetOutput) SetDatasetName(v string) *DescribeDatasetOutput {
  3944  	s.DatasetName = &v
  3945  	return s
  3946  }
  3947  
  3948  // SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value.
  3949  func (s *DescribeDatasetOutput) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *DescribeDatasetOutput {
  3950  	s.IngestionInputConfiguration = v
  3951  	return s
  3952  }
  3953  
  3954  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  3955  func (s *DescribeDatasetOutput) SetLastUpdatedAt(v time.Time) *DescribeDatasetOutput {
  3956  	s.LastUpdatedAt = &v
  3957  	return s
  3958  }
  3959  
  3960  // SetSchema sets the Schema field's value.
  3961  func (s *DescribeDatasetOutput) SetSchema(v aws.JSONValue) *DescribeDatasetOutput {
  3962  	s.Schema = v
  3963  	return s
  3964  }
  3965  
  3966  // SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value.
  3967  func (s *DescribeDatasetOutput) SetServerSideKmsKeyId(v string) *DescribeDatasetOutput {
  3968  	s.ServerSideKmsKeyId = &v
  3969  	return s
  3970  }
  3971  
  3972  // SetStatus sets the Status field's value.
  3973  func (s *DescribeDatasetOutput) SetStatus(v string) *DescribeDatasetOutput {
  3974  	s.Status = &v
  3975  	return s
  3976  }
  3977  
  3978  type DescribeInferenceSchedulerInput struct {
  3979  	_ struct{} `type:"structure"`
  3980  
  3981  	// The name of the inference scheduler being described.
  3982  	//
  3983  	// InferenceSchedulerName is a required field
  3984  	InferenceSchedulerName *string `min:"1" type:"string" required:"true"`
  3985  }
  3986  
  3987  // String returns the string representation.
  3988  //
  3989  // API parameter values that are decorated as "sensitive" in the API will not
  3990  // be included in the string output. The member name will be present, but the
  3991  // value will be replaced with "sensitive".
  3992  func (s DescribeInferenceSchedulerInput) String() string {
  3993  	return awsutil.Prettify(s)
  3994  }
  3995  
  3996  // GoString returns the string representation.
  3997  //
  3998  // API parameter values that are decorated as "sensitive" in the API will not
  3999  // be included in the string output. The member name will be present, but the
  4000  // value will be replaced with "sensitive".
  4001  func (s DescribeInferenceSchedulerInput) GoString() string {
  4002  	return s.String()
  4003  }
  4004  
  4005  // Validate inspects the fields of the type to determine if they are valid.
  4006  func (s *DescribeInferenceSchedulerInput) Validate() error {
  4007  	invalidParams := request.ErrInvalidParams{Context: "DescribeInferenceSchedulerInput"}
  4008  	if s.InferenceSchedulerName == nil {
  4009  		invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName"))
  4010  	}
  4011  	if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 {
  4012  		invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1))
  4013  	}
  4014  
  4015  	if invalidParams.Len() > 0 {
  4016  		return invalidParams
  4017  	}
  4018  	return nil
  4019  }
  4020  
  4021  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  4022  func (s *DescribeInferenceSchedulerInput) SetInferenceSchedulerName(v string) *DescribeInferenceSchedulerInput {
  4023  	s.InferenceSchedulerName = &v
  4024  	return s
  4025  }
  4026  
  4027  type DescribeInferenceSchedulerOutput struct {
  4028  	_ struct{} `type:"structure"`
  4029  
  4030  	// Specifies the time at which the inference scheduler was created.
  4031  	CreatedAt *time.Time `type:"timestamp"`
  4032  
  4033  	// A period of time (in minutes) by which inference on the data is delayed after
  4034  	// the data starts. For instance, if you select an offset delay time of five
  4035  	// minutes, inference will not begin on the data until the first data measurement
  4036  	// after the five minute mark. For example, if five minutes is selected, the
  4037  	// inference scheduler will wake up at the configured frequency with the additional
  4038  	// five minute delay time to check the customer S3 bucket. The customer can
  4039  	// upload data at the same frequency and they don't need to stop and restart
  4040  	// the scheduler when uploading new data.
  4041  	DataDelayOffsetInMinutes *int64 `type:"long"`
  4042  
  4043  	// Specifies configuration information for the input data for the inference
  4044  	// scheduler, including delimiter, format, and dataset location.
  4045  	DataInputConfiguration *InferenceInputConfiguration `type:"structure"`
  4046  
  4047  	// Specifies information for the output results for the inference scheduler,
  4048  	// including the output S3 location.
  4049  	DataOutputConfiguration *InferenceOutputConfiguration `type:"structure"`
  4050  
  4051  	// Specifies how often data is uploaded to the source S3 bucket for the input
  4052  	// data. This value is the length of time between data uploads. For instance,
  4053  	// if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time
  4054  	// data to the source bucket once every 5 minutes. This frequency also determines
  4055  	// how often Amazon Lookout for Equipment starts a scheduled inference on your
  4056  	// data. In this example, it starts once every 5 minutes.
  4057  	DataUploadFrequency *string `type:"string" enum:"DataUploadFrequency"`
  4058  
  4059  	// The Amazon Resource Name (ARN) of the inference scheduler being described.
  4060  	InferenceSchedulerArn *string `min:"20" type:"string"`
  4061  
  4062  	// The name of the inference scheduler being described.
  4063  	InferenceSchedulerName *string `min:"1" type:"string"`
  4064  
  4065  	// The Amazon Resource Name (ARN) of the ML model of the inference scheduler
  4066  	// being described.
  4067  	ModelArn *string `min:"20" type:"string"`
  4068  
  4069  	// The name of the ML model of the inference scheduler being described.
  4070  	ModelName *string `min:"1" type:"string"`
  4071  
  4072  	// The Amazon Resource Name (ARN) of a role with permission to access the data
  4073  	// source for the inference scheduler being described.
  4074  	RoleArn *string `min:"20" type:"string"`
  4075  
  4076  	// Provides the identifier of the KMS key used to encrypt inference scheduler
  4077  	// data by Amazon Lookout for Equipment.
  4078  	ServerSideKmsKeyId *string `min:"1" type:"string"`
  4079  
  4080  	// Indicates the status of the inference scheduler.
  4081  	Status *string `type:"string" enum:"InferenceSchedulerStatus"`
  4082  
  4083  	// Specifies the time at which the inference scheduler was last updated, if
  4084  	// it was.
  4085  	UpdatedAt *time.Time `type:"timestamp"`
  4086  }
  4087  
  4088  // String returns the string representation.
  4089  //
  4090  // API parameter values that are decorated as "sensitive" in the API will not
  4091  // be included in the string output. The member name will be present, but the
  4092  // value will be replaced with "sensitive".
  4093  func (s DescribeInferenceSchedulerOutput) String() string {
  4094  	return awsutil.Prettify(s)
  4095  }
  4096  
  4097  // GoString returns the string representation.
  4098  //
  4099  // API parameter values that are decorated as "sensitive" in the API will not
  4100  // be included in the string output. The member name will be present, but the
  4101  // value will be replaced with "sensitive".
  4102  func (s DescribeInferenceSchedulerOutput) GoString() string {
  4103  	return s.String()
  4104  }
  4105  
  4106  // SetCreatedAt sets the CreatedAt field's value.
  4107  func (s *DescribeInferenceSchedulerOutput) SetCreatedAt(v time.Time) *DescribeInferenceSchedulerOutput {
  4108  	s.CreatedAt = &v
  4109  	return s
  4110  }
  4111  
  4112  // SetDataDelayOffsetInMinutes sets the DataDelayOffsetInMinutes field's value.
  4113  func (s *DescribeInferenceSchedulerOutput) SetDataDelayOffsetInMinutes(v int64) *DescribeInferenceSchedulerOutput {
  4114  	s.DataDelayOffsetInMinutes = &v
  4115  	return s
  4116  }
  4117  
  4118  // SetDataInputConfiguration sets the DataInputConfiguration field's value.
  4119  func (s *DescribeInferenceSchedulerOutput) SetDataInputConfiguration(v *InferenceInputConfiguration) *DescribeInferenceSchedulerOutput {
  4120  	s.DataInputConfiguration = v
  4121  	return s
  4122  }
  4123  
  4124  // SetDataOutputConfiguration sets the DataOutputConfiguration field's value.
  4125  func (s *DescribeInferenceSchedulerOutput) SetDataOutputConfiguration(v *InferenceOutputConfiguration) *DescribeInferenceSchedulerOutput {
  4126  	s.DataOutputConfiguration = v
  4127  	return s
  4128  }
  4129  
  4130  // SetDataUploadFrequency sets the DataUploadFrequency field's value.
  4131  func (s *DescribeInferenceSchedulerOutput) SetDataUploadFrequency(v string) *DescribeInferenceSchedulerOutput {
  4132  	s.DataUploadFrequency = &v
  4133  	return s
  4134  }
  4135  
  4136  // SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value.
  4137  func (s *DescribeInferenceSchedulerOutput) SetInferenceSchedulerArn(v string) *DescribeInferenceSchedulerOutput {
  4138  	s.InferenceSchedulerArn = &v
  4139  	return s
  4140  }
  4141  
  4142  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  4143  func (s *DescribeInferenceSchedulerOutput) SetInferenceSchedulerName(v string) *DescribeInferenceSchedulerOutput {
  4144  	s.InferenceSchedulerName = &v
  4145  	return s
  4146  }
  4147  
  4148  // SetModelArn sets the ModelArn field's value.
  4149  func (s *DescribeInferenceSchedulerOutput) SetModelArn(v string) *DescribeInferenceSchedulerOutput {
  4150  	s.ModelArn = &v
  4151  	return s
  4152  }
  4153  
  4154  // SetModelName sets the ModelName field's value.
  4155  func (s *DescribeInferenceSchedulerOutput) SetModelName(v string) *DescribeInferenceSchedulerOutput {
  4156  	s.ModelName = &v
  4157  	return s
  4158  }
  4159  
  4160  // SetRoleArn sets the RoleArn field's value.
  4161  func (s *DescribeInferenceSchedulerOutput) SetRoleArn(v string) *DescribeInferenceSchedulerOutput {
  4162  	s.RoleArn = &v
  4163  	return s
  4164  }
  4165  
  4166  // SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value.
  4167  func (s *DescribeInferenceSchedulerOutput) SetServerSideKmsKeyId(v string) *DescribeInferenceSchedulerOutput {
  4168  	s.ServerSideKmsKeyId = &v
  4169  	return s
  4170  }
  4171  
  4172  // SetStatus sets the Status field's value.
  4173  func (s *DescribeInferenceSchedulerOutput) SetStatus(v string) *DescribeInferenceSchedulerOutput {
  4174  	s.Status = &v
  4175  	return s
  4176  }
  4177  
  4178  // SetUpdatedAt sets the UpdatedAt field's value.
  4179  func (s *DescribeInferenceSchedulerOutput) SetUpdatedAt(v time.Time) *DescribeInferenceSchedulerOutput {
  4180  	s.UpdatedAt = &v
  4181  	return s
  4182  }
  4183  
  4184  type DescribeModelInput struct {
  4185  	_ struct{} `type:"structure"`
  4186  
  4187  	// The name of the ML model to be described.
  4188  	//
  4189  	// ModelName is a required field
  4190  	ModelName *string `min:"1" type:"string" required:"true"`
  4191  }
  4192  
  4193  // String returns the string representation.
  4194  //
  4195  // API parameter values that are decorated as "sensitive" in the API will not
  4196  // be included in the string output. The member name will be present, but the
  4197  // value will be replaced with "sensitive".
  4198  func (s DescribeModelInput) String() string {
  4199  	return awsutil.Prettify(s)
  4200  }
  4201  
  4202  // GoString returns the string representation.
  4203  //
  4204  // API parameter values that are decorated as "sensitive" in the API will not
  4205  // be included in the string output. The member name will be present, but the
  4206  // value will be replaced with "sensitive".
  4207  func (s DescribeModelInput) GoString() string {
  4208  	return s.String()
  4209  }
  4210  
  4211  // Validate inspects the fields of the type to determine if they are valid.
  4212  func (s *DescribeModelInput) Validate() error {
  4213  	invalidParams := request.ErrInvalidParams{Context: "DescribeModelInput"}
  4214  	if s.ModelName == nil {
  4215  		invalidParams.Add(request.NewErrParamRequired("ModelName"))
  4216  	}
  4217  	if s.ModelName != nil && len(*s.ModelName) < 1 {
  4218  		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
  4219  	}
  4220  
  4221  	if invalidParams.Len() > 0 {
  4222  		return invalidParams
  4223  	}
  4224  	return nil
  4225  }
  4226  
  4227  // SetModelName sets the ModelName field's value.
  4228  func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput {
  4229  	s.ModelName = &v
  4230  	return s
  4231  }
  4232  
  4233  type DescribeModelOutput struct {
  4234  	_ struct{} `type:"structure"`
  4235  
  4236  	// Indicates the time and date at which the ML model was created.
  4237  	CreatedAt *time.Time `type:"timestamp"`
  4238  
  4239  	// The configuration is the TargetSamplingRate, which is the sampling rate of
  4240  	// the data after post processing by Amazon Lookout for Equipment. For example,
  4241  	// if you provide data that has been collected at a 1 second level and you want
  4242  	// the system to resample the data at a 1 minute rate before training, the TargetSamplingRate
  4243  	// is 1 minute.
  4244  	//
  4245  	// When providing a value for the TargetSamplingRate, you must attach the prefix
  4246  	// "PT" to the rate you want. The value for a 1 second rate is therefore PT1S,
  4247  	// the value for a 15 minute rate is PT15M, and the value for a 1 hour rate
  4248  	// is PT1H
  4249  	DataPreProcessingConfiguration *DataPreProcessingConfiguration `type:"structure"`
  4250  
  4251  	// The Amazon Resouce Name (ARN) of the dataset used to create the ML model
  4252  	// being described.
  4253  	DatasetArn *string `min:"20" type:"string"`
  4254  
  4255  	// The name of the dataset being used by the ML being described.
  4256  	DatasetName *string `min:"1" type:"string"`
  4257  
  4258  	// Indicates the time reference in the dataset that was used to end the subset
  4259  	// of evaluation data for the ML model.
  4260  	EvaluationDataEndTime *time.Time `type:"timestamp"`
  4261  
  4262  	// Indicates the time reference in the dataset that was used to begin the subset
  4263  	// of evaluation data for the ML model.
  4264  	EvaluationDataStartTime *time.Time `type:"timestamp"`
  4265  
  4266  	// If the training of the ML model failed, this indicates the reason for that
  4267  	// failure.
  4268  	FailedReason *string `min:"1" type:"string"`
  4269  
  4270  	// Specifies configuration information about the labels input, including its
  4271  	// S3 location.
  4272  	LabelsInputConfiguration *LabelsInputConfiguration `type:"structure"`
  4273  
  4274  	// Indicates the last time the ML model was updated. The type of update is not
  4275  	// specified.
  4276  	LastUpdatedTime *time.Time `type:"timestamp"`
  4277  
  4278  	// The Amazon Resource Name (ARN) of the ML model being described.
  4279  	ModelArn *string `min:"20" type:"string"`
  4280  
  4281  	// The Model Metrics show an aggregated summary of the model's performance within
  4282  	// the evaluation time range. This is the JSON content of the metrics created
  4283  	// when evaluating the model.
  4284  	ModelMetrics aws.JSONValue `type:"jsonvalue"`
  4285  
  4286  	// The name of the ML model being described.
  4287  	ModelName *string `min:"1" type:"string"`
  4288  
  4289  	// Indicates that the asset associated with this sensor has been shut off. As
  4290  	// long as this condition is met, Lookout for Equipment will not use data from
  4291  	// this asset for training, evaluation, or inference.
  4292  	OffCondition *string `min:"1" type:"string"`
  4293  
  4294  	// The Amazon Resource Name (ARN) of a role with permission to access the data
  4295  	// source for the ML model being described.
  4296  	RoleArn *string `min:"20" type:"string"`
  4297  
  4298  	// A JSON description of the data that is in each time series dataset, including
  4299  	// names, column names, and data types.
  4300  	Schema aws.JSONValue `type:"jsonvalue"`
  4301  
  4302  	// Provides the identifier of the KMS key used to encrypt model data by Amazon
  4303  	// Lookout for Equipment.
  4304  	ServerSideKmsKeyId *string `min:"1" type:"string"`
  4305  
  4306  	// Specifies the current status of the model being described. Status describes
  4307  	// the status of the most recent action of the model.
  4308  	Status *string `type:"string" enum:"ModelStatus"`
  4309  
  4310  	// Indicates the time reference in the dataset that was used to end the subset
  4311  	// of training data for the ML model.
  4312  	TrainingDataEndTime *time.Time `type:"timestamp"`
  4313  
  4314  	// Indicates the time reference in the dataset that was used to begin the subset
  4315  	// of training data for the ML model.
  4316  	TrainingDataStartTime *time.Time `type:"timestamp"`
  4317  
  4318  	// Indicates the time at which the training of the ML model was completed.
  4319  	TrainingExecutionEndTime *time.Time `type:"timestamp"`
  4320  
  4321  	// Indicates the time at which the training of the ML model began.
  4322  	TrainingExecutionStartTime *time.Time `type:"timestamp"`
  4323  }
  4324  
  4325  // String returns the string representation.
  4326  //
  4327  // API parameter values that are decorated as "sensitive" in the API will not
  4328  // be included in the string output. The member name will be present, but the
  4329  // value will be replaced with "sensitive".
  4330  func (s DescribeModelOutput) String() string {
  4331  	return awsutil.Prettify(s)
  4332  }
  4333  
  4334  // GoString returns the string representation.
  4335  //
  4336  // API parameter values that are decorated as "sensitive" in the API will not
  4337  // be included in the string output. The member name will be present, but the
  4338  // value will be replaced with "sensitive".
  4339  func (s DescribeModelOutput) GoString() string {
  4340  	return s.String()
  4341  }
  4342  
  4343  // SetCreatedAt sets the CreatedAt field's value.
  4344  func (s *DescribeModelOutput) SetCreatedAt(v time.Time) *DescribeModelOutput {
  4345  	s.CreatedAt = &v
  4346  	return s
  4347  }
  4348  
  4349  // SetDataPreProcessingConfiguration sets the DataPreProcessingConfiguration field's value.
  4350  func (s *DescribeModelOutput) SetDataPreProcessingConfiguration(v *DataPreProcessingConfiguration) *DescribeModelOutput {
  4351  	s.DataPreProcessingConfiguration = v
  4352  	return s
  4353  }
  4354  
  4355  // SetDatasetArn sets the DatasetArn field's value.
  4356  func (s *DescribeModelOutput) SetDatasetArn(v string) *DescribeModelOutput {
  4357  	s.DatasetArn = &v
  4358  	return s
  4359  }
  4360  
  4361  // SetDatasetName sets the DatasetName field's value.
  4362  func (s *DescribeModelOutput) SetDatasetName(v string) *DescribeModelOutput {
  4363  	s.DatasetName = &v
  4364  	return s
  4365  }
  4366  
  4367  // SetEvaluationDataEndTime sets the EvaluationDataEndTime field's value.
  4368  func (s *DescribeModelOutput) SetEvaluationDataEndTime(v time.Time) *DescribeModelOutput {
  4369  	s.EvaluationDataEndTime = &v
  4370  	return s
  4371  }
  4372  
  4373  // SetEvaluationDataStartTime sets the EvaluationDataStartTime field's value.
  4374  func (s *DescribeModelOutput) SetEvaluationDataStartTime(v time.Time) *DescribeModelOutput {
  4375  	s.EvaluationDataStartTime = &v
  4376  	return s
  4377  }
  4378  
  4379  // SetFailedReason sets the FailedReason field's value.
  4380  func (s *DescribeModelOutput) SetFailedReason(v string) *DescribeModelOutput {
  4381  	s.FailedReason = &v
  4382  	return s
  4383  }
  4384  
  4385  // SetLabelsInputConfiguration sets the LabelsInputConfiguration field's value.
  4386  func (s *DescribeModelOutput) SetLabelsInputConfiguration(v *LabelsInputConfiguration) *DescribeModelOutput {
  4387  	s.LabelsInputConfiguration = v
  4388  	return s
  4389  }
  4390  
  4391  // SetLastUpdatedTime sets the LastUpdatedTime field's value.
  4392  func (s *DescribeModelOutput) SetLastUpdatedTime(v time.Time) *DescribeModelOutput {
  4393  	s.LastUpdatedTime = &v
  4394  	return s
  4395  }
  4396  
  4397  // SetModelArn sets the ModelArn field's value.
  4398  func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput {
  4399  	s.ModelArn = &v
  4400  	return s
  4401  }
  4402  
  4403  // SetModelMetrics sets the ModelMetrics field's value.
  4404  func (s *DescribeModelOutput) SetModelMetrics(v aws.JSONValue) *DescribeModelOutput {
  4405  	s.ModelMetrics = v
  4406  	return s
  4407  }
  4408  
  4409  // SetModelName sets the ModelName field's value.
  4410  func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput {
  4411  	s.ModelName = &v
  4412  	return s
  4413  }
  4414  
  4415  // SetOffCondition sets the OffCondition field's value.
  4416  func (s *DescribeModelOutput) SetOffCondition(v string) *DescribeModelOutput {
  4417  	s.OffCondition = &v
  4418  	return s
  4419  }
  4420  
  4421  // SetRoleArn sets the RoleArn field's value.
  4422  func (s *DescribeModelOutput) SetRoleArn(v string) *DescribeModelOutput {
  4423  	s.RoleArn = &v
  4424  	return s
  4425  }
  4426  
  4427  // SetSchema sets the Schema field's value.
  4428  func (s *DescribeModelOutput) SetSchema(v aws.JSONValue) *DescribeModelOutput {
  4429  	s.Schema = v
  4430  	return s
  4431  }
  4432  
  4433  // SetServerSideKmsKeyId sets the ServerSideKmsKeyId field's value.
  4434  func (s *DescribeModelOutput) SetServerSideKmsKeyId(v string) *DescribeModelOutput {
  4435  	s.ServerSideKmsKeyId = &v
  4436  	return s
  4437  }
  4438  
  4439  // SetStatus sets the Status field's value.
  4440  func (s *DescribeModelOutput) SetStatus(v string) *DescribeModelOutput {
  4441  	s.Status = &v
  4442  	return s
  4443  }
  4444  
  4445  // SetTrainingDataEndTime sets the TrainingDataEndTime field's value.
  4446  func (s *DescribeModelOutput) SetTrainingDataEndTime(v time.Time) *DescribeModelOutput {
  4447  	s.TrainingDataEndTime = &v
  4448  	return s
  4449  }
  4450  
  4451  // SetTrainingDataStartTime sets the TrainingDataStartTime field's value.
  4452  func (s *DescribeModelOutput) SetTrainingDataStartTime(v time.Time) *DescribeModelOutput {
  4453  	s.TrainingDataStartTime = &v
  4454  	return s
  4455  }
  4456  
  4457  // SetTrainingExecutionEndTime sets the TrainingExecutionEndTime field's value.
  4458  func (s *DescribeModelOutput) SetTrainingExecutionEndTime(v time.Time) *DescribeModelOutput {
  4459  	s.TrainingExecutionEndTime = &v
  4460  	return s
  4461  }
  4462  
  4463  // SetTrainingExecutionStartTime sets the TrainingExecutionStartTime field's value.
  4464  func (s *DescribeModelOutput) SetTrainingExecutionStartTime(v time.Time) *DescribeModelOutput {
  4465  	s.TrainingExecutionStartTime = &v
  4466  	return s
  4467  }
  4468  
  4469  // Contains information about the specific inference execution, including input
  4470  // and output data configuration, inference scheduling information, status,
  4471  // and so on.
  4472  type InferenceExecutionSummary struct {
  4473  	_ struct{} `type:"structure"`
  4474  
  4475  	// Contains information about an S3 bucket.
  4476  	CustomerResultObject *S3Object `type:"structure"`
  4477  
  4478  	// Indicates the time reference in the dataset at which the inference execution
  4479  	// stopped.
  4480  	DataEndTime *time.Time `type:"timestamp"`
  4481  
  4482  	// Specifies configuration information for the input data for the inference
  4483  	// scheduler, including delimiter, format, and dataset location.
  4484  	DataInputConfiguration *InferenceInputConfiguration `type:"structure"`
  4485  
  4486  	// Specifies configuration information for the output results from for the inference
  4487  	// execution, including the output S3 location.
  4488  	DataOutputConfiguration *InferenceOutputConfiguration `type:"structure"`
  4489  
  4490  	// Indicates the time reference in the dataset at which the inference execution
  4491  	// began.
  4492  	DataStartTime *time.Time `type:"timestamp"`
  4493  
  4494  	// Specifies the reason for failure when an inference execution has failed.
  4495  	FailedReason *string `min:"1" type:"string"`
  4496  
  4497  	// The Amazon Resource Name (ARN) of the inference scheduler being used for
  4498  	// the inference execution.
  4499  	InferenceSchedulerArn *string `min:"20" type:"string"`
  4500  
  4501  	// The name of the inference scheduler being used for the inference execution.
  4502  	InferenceSchedulerName *string `min:"1" type:"string"`
  4503  
  4504  	// The Amazon Resource Name (ARN) of the ML model used for the inference execution.
  4505  	ModelArn *string `min:"20" type:"string"`
  4506  
  4507  	// The name of the ML model being used for the inference execution.
  4508  	ModelName *string `min:"1" type:"string"`
  4509  
  4510  	// Indicates the start time at which the inference scheduler began the specific
  4511  	// inference execution.
  4512  	ScheduledStartTime *time.Time `type:"timestamp"`
  4513  
  4514  	// Indicates the status of the inference execution.
  4515  	Status *string `type:"string" enum:"InferenceExecutionStatus"`
  4516  }
  4517  
  4518  // String returns the string representation.
  4519  //
  4520  // API parameter values that are decorated as "sensitive" in the API will not
  4521  // be included in the string output. The member name will be present, but the
  4522  // value will be replaced with "sensitive".
  4523  func (s InferenceExecutionSummary) String() string {
  4524  	return awsutil.Prettify(s)
  4525  }
  4526  
  4527  // GoString returns the string representation.
  4528  //
  4529  // API parameter values that are decorated as "sensitive" in the API will not
  4530  // be included in the string output. The member name will be present, but the
  4531  // value will be replaced with "sensitive".
  4532  func (s InferenceExecutionSummary) GoString() string {
  4533  	return s.String()
  4534  }
  4535  
  4536  // SetCustomerResultObject sets the CustomerResultObject field's value.
  4537  func (s *InferenceExecutionSummary) SetCustomerResultObject(v *S3Object) *InferenceExecutionSummary {
  4538  	s.CustomerResultObject = v
  4539  	return s
  4540  }
  4541  
  4542  // SetDataEndTime sets the DataEndTime field's value.
  4543  func (s *InferenceExecutionSummary) SetDataEndTime(v time.Time) *InferenceExecutionSummary {
  4544  	s.DataEndTime = &v
  4545  	return s
  4546  }
  4547  
  4548  // SetDataInputConfiguration sets the DataInputConfiguration field's value.
  4549  func (s *InferenceExecutionSummary) SetDataInputConfiguration(v *InferenceInputConfiguration) *InferenceExecutionSummary {
  4550  	s.DataInputConfiguration = v
  4551  	return s
  4552  }
  4553  
  4554  // SetDataOutputConfiguration sets the DataOutputConfiguration field's value.
  4555  func (s *InferenceExecutionSummary) SetDataOutputConfiguration(v *InferenceOutputConfiguration) *InferenceExecutionSummary {
  4556  	s.DataOutputConfiguration = v
  4557  	return s
  4558  }
  4559  
  4560  // SetDataStartTime sets the DataStartTime field's value.
  4561  func (s *InferenceExecutionSummary) SetDataStartTime(v time.Time) *InferenceExecutionSummary {
  4562  	s.DataStartTime = &v
  4563  	return s
  4564  }
  4565  
  4566  // SetFailedReason sets the FailedReason field's value.
  4567  func (s *InferenceExecutionSummary) SetFailedReason(v string) *InferenceExecutionSummary {
  4568  	s.FailedReason = &v
  4569  	return s
  4570  }
  4571  
  4572  // SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value.
  4573  func (s *InferenceExecutionSummary) SetInferenceSchedulerArn(v string) *InferenceExecutionSummary {
  4574  	s.InferenceSchedulerArn = &v
  4575  	return s
  4576  }
  4577  
  4578  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  4579  func (s *InferenceExecutionSummary) SetInferenceSchedulerName(v string) *InferenceExecutionSummary {
  4580  	s.InferenceSchedulerName = &v
  4581  	return s
  4582  }
  4583  
  4584  // SetModelArn sets the ModelArn field's value.
  4585  func (s *InferenceExecutionSummary) SetModelArn(v string) *InferenceExecutionSummary {
  4586  	s.ModelArn = &v
  4587  	return s
  4588  }
  4589  
  4590  // SetModelName sets the ModelName field's value.
  4591  func (s *InferenceExecutionSummary) SetModelName(v string) *InferenceExecutionSummary {
  4592  	s.ModelName = &v
  4593  	return s
  4594  }
  4595  
  4596  // SetScheduledStartTime sets the ScheduledStartTime field's value.
  4597  func (s *InferenceExecutionSummary) SetScheduledStartTime(v time.Time) *InferenceExecutionSummary {
  4598  	s.ScheduledStartTime = &v
  4599  	return s
  4600  }
  4601  
  4602  // SetStatus sets the Status field's value.
  4603  func (s *InferenceExecutionSummary) SetStatus(v string) *InferenceExecutionSummary {
  4604  	s.Status = &v
  4605  	return s
  4606  }
  4607  
  4608  // Specifies configuration information for the input data for the inference,
  4609  // including S3 location of input data..
  4610  type InferenceInputConfiguration struct {
  4611  	_ struct{} `type:"structure"`
  4612  
  4613  	// Specifies configuration information for the input data for the inference,
  4614  	// including timestamp format and delimiter.
  4615  	InferenceInputNameConfiguration *InferenceInputNameConfiguration `type:"structure"`
  4616  
  4617  	// Indicates the difference between your time zone and Greenwich Mean Time (GMT).
  4618  	InputTimeZoneOffset *string `type:"string"`
  4619  
  4620  	// Specifies configuration information for the input data for the inference,
  4621  	// including S3 location of input data..
  4622  	S3InputConfiguration *InferenceS3InputConfiguration `type:"structure"`
  4623  }
  4624  
  4625  // String returns the string representation.
  4626  //
  4627  // API parameter values that are decorated as "sensitive" in the API will not
  4628  // be included in the string output. The member name will be present, but the
  4629  // value will be replaced with "sensitive".
  4630  func (s InferenceInputConfiguration) String() string {
  4631  	return awsutil.Prettify(s)
  4632  }
  4633  
  4634  // GoString returns the string representation.
  4635  //
  4636  // API parameter values that are decorated as "sensitive" in the API will not
  4637  // be included in the string output. The member name will be present, but the
  4638  // value will be replaced with "sensitive".
  4639  func (s InferenceInputConfiguration) GoString() string {
  4640  	return s.String()
  4641  }
  4642  
  4643  // Validate inspects the fields of the type to determine if they are valid.
  4644  func (s *InferenceInputConfiguration) Validate() error {
  4645  	invalidParams := request.ErrInvalidParams{Context: "InferenceInputConfiguration"}
  4646  	if s.S3InputConfiguration != nil {
  4647  		if err := s.S3InputConfiguration.Validate(); err != nil {
  4648  			invalidParams.AddNested("S3InputConfiguration", err.(request.ErrInvalidParams))
  4649  		}
  4650  	}
  4651  
  4652  	if invalidParams.Len() > 0 {
  4653  		return invalidParams
  4654  	}
  4655  	return nil
  4656  }
  4657  
  4658  // SetInferenceInputNameConfiguration sets the InferenceInputNameConfiguration field's value.
  4659  func (s *InferenceInputConfiguration) SetInferenceInputNameConfiguration(v *InferenceInputNameConfiguration) *InferenceInputConfiguration {
  4660  	s.InferenceInputNameConfiguration = v
  4661  	return s
  4662  }
  4663  
  4664  // SetInputTimeZoneOffset sets the InputTimeZoneOffset field's value.
  4665  func (s *InferenceInputConfiguration) SetInputTimeZoneOffset(v string) *InferenceInputConfiguration {
  4666  	s.InputTimeZoneOffset = &v
  4667  	return s
  4668  }
  4669  
  4670  // SetS3InputConfiguration sets the S3InputConfiguration field's value.
  4671  func (s *InferenceInputConfiguration) SetS3InputConfiguration(v *InferenceS3InputConfiguration) *InferenceInputConfiguration {
  4672  	s.S3InputConfiguration = v
  4673  	return s
  4674  }
  4675  
  4676  // Specifies configuration information for the input data for the inference,
  4677  // including timestamp format and delimiter.
  4678  type InferenceInputNameConfiguration struct {
  4679  	_ struct{} `type:"structure"`
  4680  
  4681  	// Indicates the delimiter character used between items in the data.
  4682  	ComponentTimestampDelimiter *string `type:"string"`
  4683  
  4684  	// The format of the timestamp, whether Epoch time, or standard, with or without
  4685  	// hyphens (-).
  4686  	TimestampFormat *string `type:"string"`
  4687  }
  4688  
  4689  // String returns the string representation.
  4690  //
  4691  // API parameter values that are decorated as "sensitive" in the API will not
  4692  // be included in the string output. The member name will be present, but the
  4693  // value will be replaced with "sensitive".
  4694  func (s InferenceInputNameConfiguration) String() string {
  4695  	return awsutil.Prettify(s)
  4696  }
  4697  
  4698  // GoString returns the string representation.
  4699  //
  4700  // API parameter values that are decorated as "sensitive" in the API will not
  4701  // be included in the string output. The member name will be present, but the
  4702  // value will be replaced with "sensitive".
  4703  func (s InferenceInputNameConfiguration) GoString() string {
  4704  	return s.String()
  4705  }
  4706  
  4707  // SetComponentTimestampDelimiter sets the ComponentTimestampDelimiter field's value.
  4708  func (s *InferenceInputNameConfiguration) SetComponentTimestampDelimiter(v string) *InferenceInputNameConfiguration {
  4709  	s.ComponentTimestampDelimiter = &v
  4710  	return s
  4711  }
  4712  
  4713  // SetTimestampFormat sets the TimestampFormat field's value.
  4714  func (s *InferenceInputNameConfiguration) SetTimestampFormat(v string) *InferenceInputNameConfiguration {
  4715  	s.TimestampFormat = &v
  4716  	return s
  4717  }
  4718  
  4719  // Specifies configuration information for the output results from for the inference,
  4720  // including KMS key ID and output S3 location.
  4721  type InferenceOutputConfiguration struct {
  4722  	_ struct{} `type:"structure"`
  4723  
  4724  	// The ID number for the AWS KMS key used to encrypt the inference output.
  4725  	KmsKeyId *string `min:"1" type:"string"`
  4726  
  4727  	// Specifies configuration information for the output results from for the inference,
  4728  	// output S3 location.
  4729  	//
  4730  	// S3OutputConfiguration is a required field
  4731  	S3OutputConfiguration *InferenceS3OutputConfiguration `type:"structure" required:"true"`
  4732  }
  4733  
  4734  // String returns the string representation.
  4735  //
  4736  // API parameter values that are decorated as "sensitive" in the API will not
  4737  // be included in the string output. The member name will be present, but the
  4738  // value will be replaced with "sensitive".
  4739  func (s InferenceOutputConfiguration) String() string {
  4740  	return awsutil.Prettify(s)
  4741  }
  4742  
  4743  // GoString returns the string representation.
  4744  //
  4745  // API parameter values that are decorated as "sensitive" in the API will not
  4746  // be included in the string output. The member name will be present, but the
  4747  // value will be replaced with "sensitive".
  4748  func (s InferenceOutputConfiguration) GoString() string {
  4749  	return s.String()
  4750  }
  4751  
  4752  // Validate inspects the fields of the type to determine if they are valid.
  4753  func (s *InferenceOutputConfiguration) Validate() error {
  4754  	invalidParams := request.ErrInvalidParams{Context: "InferenceOutputConfiguration"}
  4755  	if s.KmsKeyId != nil && len(*s.KmsKeyId) < 1 {
  4756  		invalidParams.Add(request.NewErrParamMinLen("KmsKeyId", 1))
  4757  	}
  4758  	if s.S3OutputConfiguration == nil {
  4759  		invalidParams.Add(request.NewErrParamRequired("S3OutputConfiguration"))
  4760  	}
  4761  	if s.S3OutputConfiguration != nil {
  4762  		if err := s.S3OutputConfiguration.Validate(); err != nil {
  4763  			invalidParams.AddNested("S3OutputConfiguration", err.(request.ErrInvalidParams))
  4764  		}
  4765  	}
  4766  
  4767  	if invalidParams.Len() > 0 {
  4768  		return invalidParams
  4769  	}
  4770  	return nil
  4771  }
  4772  
  4773  // SetKmsKeyId sets the KmsKeyId field's value.
  4774  func (s *InferenceOutputConfiguration) SetKmsKeyId(v string) *InferenceOutputConfiguration {
  4775  	s.KmsKeyId = &v
  4776  	return s
  4777  }
  4778  
  4779  // SetS3OutputConfiguration sets the S3OutputConfiguration field's value.
  4780  func (s *InferenceOutputConfiguration) SetS3OutputConfiguration(v *InferenceS3OutputConfiguration) *InferenceOutputConfiguration {
  4781  	s.S3OutputConfiguration = v
  4782  	return s
  4783  }
  4784  
  4785  // Specifies configuration information for the input data for the inference,
  4786  // including input data S3 location.
  4787  type InferenceS3InputConfiguration struct {
  4788  	_ struct{} `type:"structure"`
  4789  
  4790  	// The bucket containing the input dataset for the inference.
  4791  	//
  4792  	// Bucket is a required field
  4793  	Bucket *string `min:"3" type:"string" required:"true"`
  4794  
  4795  	// The prefix for the S3 bucket used for the input data for the inference.
  4796  	Prefix *string `type:"string"`
  4797  }
  4798  
  4799  // String returns the string representation.
  4800  //
  4801  // API parameter values that are decorated as "sensitive" in the API will not
  4802  // be included in the string output. The member name will be present, but the
  4803  // value will be replaced with "sensitive".
  4804  func (s InferenceS3InputConfiguration) String() string {
  4805  	return awsutil.Prettify(s)
  4806  }
  4807  
  4808  // GoString returns the string representation.
  4809  //
  4810  // API parameter values that are decorated as "sensitive" in the API will not
  4811  // be included in the string output. The member name will be present, but the
  4812  // value will be replaced with "sensitive".
  4813  func (s InferenceS3InputConfiguration) GoString() string {
  4814  	return s.String()
  4815  }
  4816  
  4817  // Validate inspects the fields of the type to determine if they are valid.
  4818  func (s *InferenceS3InputConfiguration) Validate() error {
  4819  	invalidParams := request.ErrInvalidParams{Context: "InferenceS3InputConfiguration"}
  4820  	if s.Bucket == nil {
  4821  		invalidParams.Add(request.NewErrParamRequired("Bucket"))
  4822  	}
  4823  	if s.Bucket != nil && len(*s.Bucket) < 3 {
  4824  		invalidParams.Add(request.NewErrParamMinLen("Bucket", 3))
  4825  	}
  4826  
  4827  	if invalidParams.Len() > 0 {
  4828  		return invalidParams
  4829  	}
  4830  	return nil
  4831  }
  4832  
  4833  // SetBucket sets the Bucket field's value.
  4834  func (s *InferenceS3InputConfiguration) SetBucket(v string) *InferenceS3InputConfiguration {
  4835  	s.Bucket = &v
  4836  	return s
  4837  }
  4838  
  4839  // SetPrefix sets the Prefix field's value.
  4840  func (s *InferenceS3InputConfiguration) SetPrefix(v string) *InferenceS3InputConfiguration {
  4841  	s.Prefix = &v
  4842  	return s
  4843  }
  4844  
  4845  // Specifies configuration information for the output results from the inference,
  4846  // including output S3 location.
  4847  type InferenceS3OutputConfiguration struct {
  4848  	_ struct{} `type:"structure"`
  4849  
  4850  	// The bucket containing the output results from the inference
  4851  	//
  4852  	// Bucket is a required field
  4853  	Bucket *string `min:"3" type:"string" required:"true"`
  4854  
  4855  	// The prefix for the S3 bucket used for the output results from the inference.
  4856  	Prefix *string `type:"string"`
  4857  }
  4858  
  4859  // String returns the string representation.
  4860  //
  4861  // API parameter values that are decorated as "sensitive" in the API will not
  4862  // be included in the string output. The member name will be present, but the
  4863  // value will be replaced with "sensitive".
  4864  func (s InferenceS3OutputConfiguration) String() string {
  4865  	return awsutil.Prettify(s)
  4866  }
  4867  
  4868  // GoString returns the string representation.
  4869  //
  4870  // API parameter values that are decorated as "sensitive" in the API will not
  4871  // be included in the string output. The member name will be present, but the
  4872  // value will be replaced with "sensitive".
  4873  func (s InferenceS3OutputConfiguration) GoString() string {
  4874  	return s.String()
  4875  }
  4876  
  4877  // Validate inspects the fields of the type to determine if they are valid.
  4878  func (s *InferenceS3OutputConfiguration) Validate() error {
  4879  	invalidParams := request.ErrInvalidParams{Context: "InferenceS3OutputConfiguration"}
  4880  	if s.Bucket == nil {
  4881  		invalidParams.Add(request.NewErrParamRequired("Bucket"))
  4882  	}
  4883  	if s.Bucket != nil && len(*s.Bucket) < 3 {
  4884  		invalidParams.Add(request.NewErrParamMinLen("Bucket", 3))
  4885  	}
  4886  
  4887  	if invalidParams.Len() > 0 {
  4888  		return invalidParams
  4889  	}
  4890  	return nil
  4891  }
  4892  
  4893  // SetBucket sets the Bucket field's value.
  4894  func (s *InferenceS3OutputConfiguration) SetBucket(v string) *InferenceS3OutputConfiguration {
  4895  	s.Bucket = &v
  4896  	return s
  4897  }
  4898  
  4899  // SetPrefix sets the Prefix field's value.
  4900  func (s *InferenceS3OutputConfiguration) SetPrefix(v string) *InferenceS3OutputConfiguration {
  4901  	s.Prefix = &v
  4902  	return s
  4903  }
  4904  
  4905  // Contains information about the specific inference scheduler, including data
  4906  // delay offset, model name and ARN, status, and so on.
  4907  type InferenceSchedulerSummary struct {
  4908  	_ struct{} `type:"structure"`
  4909  
  4910  	// A period of time (in minutes) by which inference on the data is delayed after
  4911  	// the data starts. For instance, if an offset delay time of five minutes was
  4912  	// selected, inference will not begin on the data until the first data measurement
  4913  	// after the five minute mark. For example, if five minutes is selected, the
  4914  	// inference scheduler will wake up at the configured frequency with the additional
  4915  	// five minute delay time to check the customer S3 bucket. The customer can
  4916  	// upload data at the same frequency and they don't need to stop and restart
  4917  	// the scheduler when uploading new data.
  4918  	DataDelayOffsetInMinutes *int64 `type:"long"`
  4919  
  4920  	// How often data is uploaded to the source S3 bucket for the input data. This
  4921  	// value is the length of time between data uploads. For instance, if you select
  4922  	// 5 minutes, Amazon Lookout for Equipment will upload the real-time data to
  4923  	// the source bucket once every 5 minutes. This frequency also determines how
  4924  	// often Amazon Lookout for Equipment starts a scheduled inference on your data.
  4925  	// In this example, it starts once every 5 minutes.
  4926  	DataUploadFrequency *string `type:"string" enum:"DataUploadFrequency"`
  4927  
  4928  	// The Amazon Resource Name (ARN) of the inference scheduler.
  4929  	InferenceSchedulerArn *string `min:"20" type:"string"`
  4930  
  4931  	// The name of the inference scheduler.
  4932  	InferenceSchedulerName *string `min:"1" type:"string"`
  4933  
  4934  	// The Amazon Resource Name (ARN) of the ML model used by the inference scheduler.
  4935  	ModelArn *string `min:"20" type:"string"`
  4936  
  4937  	// The name of the ML model used for the inference scheduler.
  4938  	ModelName *string `min:"1" type:"string"`
  4939  
  4940  	// Indicates the status of the inference scheduler.
  4941  	Status *string `type:"string" enum:"InferenceSchedulerStatus"`
  4942  }
  4943  
  4944  // String returns the string representation.
  4945  //
  4946  // API parameter values that are decorated as "sensitive" in the API will not
  4947  // be included in the string output. The member name will be present, but the
  4948  // value will be replaced with "sensitive".
  4949  func (s InferenceSchedulerSummary) String() string {
  4950  	return awsutil.Prettify(s)
  4951  }
  4952  
  4953  // GoString returns the string representation.
  4954  //
  4955  // API parameter values that are decorated as "sensitive" in the API will not
  4956  // be included in the string output. The member name will be present, but the
  4957  // value will be replaced with "sensitive".
  4958  func (s InferenceSchedulerSummary) GoString() string {
  4959  	return s.String()
  4960  }
  4961  
  4962  // SetDataDelayOffsetInMinutes sets the DataDelayOffsetInMinutes field's value.
  4963  func (s *InferenceSchedulerSummary) SetDataDelayOffsetInMinutes(v int64) *InferenceSchedulerSummary {
  4964  	s.DataDelayOffsetInMinutes = &v
  4965  	return s
  4966  }
  4967  
  4968  // SetDataUploadFrequency sets the DataUploadFrequency field's value.
  4969  func (s *InferenceSchedulerSummary) SetDataUploadFrequency(v string) *InferenceSchedulerSummary {
  4970  	s.DataUploadFrequency = &v
  4971  	return s
  4972  }
  4973  
  4974  // SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value.
  4975  func (s *InferenceSchedulerSummary) SetInferenceSchedulerArn(v string) *InferenceSchedulerSummary {
  4976  	s.InferenceSchedulerArn = &v
  4977  	return s
  4978  }
  4979  
  4980  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  4981  func (s *InferenceSchedulerSummary) SetInferenceSchedulerName(v string) *InferenceSchedulerSummary {
  4982  	s.InferenceSchedulerName = &v
  4983  	return s
  4984  }
  4985  
  4986  // SetModelArn sets the ModelArn field's value.
  4987  func (s *InferenceSchedulerSummary) SetModelArn(v string) *InferenceSchedulerSummary {
  4988  	s.ModelArn = &v
  4989  	return s
  4990  }
  4991  
  4992  // SetModelName sets the ModelName field's value.
  4993  func (s *InferenceSchedulerSummary) SetModelName(v string) *InferenceSchedulerSummary {
  4994  	s.ModelName = &v
  4995  	return s
  4996  }
  4997  
  4998  // SetStatus sets the Status field's value.
  4999  func (s *InferenceSchedulerSummary) SetStatus(v string) *InferenceSchedulerSummary {
  5000  	s.Status = &v
  5001  	return s
  5002  }
  5003  
  5004  // Specifies configuration information for the input data for the data ingestion
  5005  // job, including input data S3 location.
  5006  type IngestionInputConfiguration struct {
  5007  	_ struct{} `type:"structure"`
  5008  
  5009  	// The location information for the S3 bucket used for input data for the data
  5010  	// ingestion.
  5011  	//
  5012  	// S3InputConfiguration is a required field
  5013  	S3InputConfiguration *IngestionS3InputConfiguration `type:"structure" required:"true"`
  5014  }
  5015  
  5016  // String returns the string representation.
  5017  //
  5018  // API parameter values that are decorated as "sensitive" in the API will not
  5019  // be included in the string output. The member name will be present, but the
  5020  // value will be replaced with "sensitive".
  5021  func (s IngestionInputConfiguration) String() string {
  5022  	return awsutil.Prettify(s)
  5023  }
  5024  
  5025  // GoString returns the string representation.
  5026  //
  5027  // API parameter values that are decorated as "sensitive" in the API will not
  5028  // be included in the string output. The member name will be present, but the
  5029  // value will be replaced with "sensitive".
  5030  func (s IngestionInputConfiguration) GoString() string {
  5031  	return s.String()
  5032  }
  5033  
  5034  // Validate inspects the fields of the type to determine if they are valid.
  5035  func (s *IngestionInputConfiguration) Validate() error {
  5036  	invalidParams := request.ErrInvalidParams{Context: "IngestionInputConfiguration"}
  5037  	if s.S3InputConfiguration == nil {
  5038  		invalidParams.Add(request.NewErrParamRequired("S3InputConfiguration"))
  5039  	}
  5040  	if s.S3InputConfiguration != nil {
  5041  		if err := s.S3InputConfiguration.Validate(); err != nil {
  5042  			invalidParams.AddNested("S3InputConfiguration", err.(request.ErrInvalidParams))
  5043  		}
  5044  	}
  5045  
  5046  	if invalidParams.Len() > 0 {
  5047  		return invalidParams
  5048  	}
  5049  	return nil
  5050  }
  5051  
  5052  // SetS3InputConfiguration sets the S3InputConfiguration field's value.
  5053  func (s *IngestionInputConfiguration) SetS3InputConfiguration(v *IngestionS3InputConfiguration) *IngestionInputConfiguration {
  5054  	s.S3InputConfiguration = v
  5055  	return s
  5056  }
  5057  
  5058  // Specifies S3 configuration information for the input data for the data ingestion
  5059  // job.
  5060  type IngestionS3InputConfiguration struct {
  5061  	_ struct{} `type:"structure"`
  5062  
  5063  	// The name of the S3 bucket used for the input data for the data ingestion.
  5064  	//
  5065  	// Bucket is a required field
  5066  	Bucket *string `min:"3" type:"string" required:"true"`
  5067  
  5068  	// The prefix for the S3 location being used for the input data for the data
  5069  	// ingestion.
  5070  	Prefix *string `type:"string"`
  5071  }
  5072  
  5073  // String returns the string representation.
  5074  //
  5075  // API parameter values that are decorated as "sensitive" in the API will not
  5076  // be included in the string output. The member name will be present, but the
  5077  // value will be replaced with "sensitive".
  5078  func (s IngestionS3InputConfiguration) String() string {
  5079  	return awsutil.Prettify(s)
  5080  }
  5081  
  5082  // GoString returns the string representation.
  5083  //
  5084  // API parameter values that are decorated as "sensitive" in the API will not
  5085  // be included in the string output. The member name will be present, but the
  5086  // value will be replaced with "sensitive".
  5087  func (s IngestionS3InputConfiguration) GoString() string {
  5088  	return s.String()
  5089  }
  5090  
  5091  // Validate inspects the fields of the type to determine if they are valid.
  5092  func (s *IngestionS3InputConfiguration) Validate() error {
  5093  	invalidParams := request.ErrInvalidParams{Context: "IngestionS3InputConfiguration"}
  5094  	if s.Bucket == nil {
  5095  		invalidParams.Add(request.NewErrParamRequired("Bucket"))
  5096  	}
  5097  	if s.Bucket != nil && len(*s.Bucket) < 3 {
  5098  		invalidParams.Add(request.NewErrParamMinLen("Bucket", 3))
  5099  	}
  5100  
  5101  	if invalidParams.Len() > 0 {
  5102  		return invalidParams
  5103  	}
  5104  	return nil
  5105  }
  5106  
  5107  // SetBucket sets the Bucket field's value.
  5108  func (s *IngestionS3InputConfiguration) SetBucket(v string) *IngestionS3InputConfiguration {
  5109  	s.Bucket = &v
  5110  	return s
  5111  }
  5112  
  5113  // SetPrefix sets the Prefix field's value.
  5114  func (s *IngestionS3InputConfiguration) SetPrefix(v string) *IngestionS3InputConfiguration {
  5115  	s.Prefix = &v
  5116  	return s
  5117  }
  5118  
  5119  // Processing of the request has failed because of an unknown error, exception
  5120  // or failure.
  5121  type InternalServerException struct {
  5122  	_            struct{}                  `type:"structure"`
  5123  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  5124  
  5125  	Message_ *string `locationName:"Message" min:"1" type:"string"`
  5126  }
  5127  
  5128  // String returns the string representation.
  5129  //
  5130  // API parameter values that are decorated as "sensitive" in the API will not
  5131  // be included in the string output. The member name will be present, but the
  5132  // value will be replaced with "sensitive".
  5133  func (s InternalServerException) String() string {
  5134  	return awsutil.Prettify(s)
  5135  }
  5136  
  5137  // GoString returns the string representation.
  5138  //
  5139  // API parameter values that are decorated as "sensitive" in the API will not
  5140  // be included in the string output. The member name will be present, but the
  5141  // value will be replaced with "sensitive".
  5142  func (s InternalServerException) GoString() string {
  5143  	return s.String()
  5144  }
  5145  
  5146  func newErrorInternalServerException(v protocol.ResponseMetadata) error {
  5147  	return &InternalServerException{
  5148  		RespMetadata: v,
  5149  	}
  5150  }
  5151  
  5152  // Code returns the exception type name.
  5153  func (s *InternalServerException) Code() string {
  5154  	return "InternalServerException"
  5155  }
  5156  
  5157  // Message returns the exception's message.
  5158  func (s *InternalServerException) Message() string {
  5159  	if s.Message_ != nil {
  5160  		return *s.Message_
  5161  	}
  5162  	return ""
  5163  }
  5164  
  5165  // OrigErr always returns nil, satisfies awserr.Error interface.
  5166  func (s *InternalServerException) OrigErr() error {
  5167  	return nil
  5168  }
  5169  
  5170  func (s *InternalServerException) Error() string {
  5171  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  5172  }
  5173  
  5174  // Status code returns the HTTP status code for the request's response error.
  5175  func (s *InternalServerException) StatusCode() int {
  5176  	return s.RespMetadata.StatusCode
  5177  }
  5178  
  5179  // RequestID returns the service's response RequestID for request.
  5180  func (s *InternalServerException) RequestID() string {
  5181  	return s.RespMetadata.RequestID
  5182  }
  5183  
  5184  // Contains the configuration information for the S3 location being used to
  5185  // hold label data.
  5186  type LabelsInputConfiguration struct {
  5187  	_ struct{} `type:"structure"`
  5188  
  5189  	// Contains location information for the S3 location being used for label data.
  5190  	//
  5191  	// S3InputConfiguration is a required field
  5192  	S3InputConfiguration *LabelsS3InputConfiguration `type:"structure" required:"true"`
  5193  }
  5194  
  5195  // String returns the string representation.
  5196  //
  5197  // API parameter values that are decorated as "sensitive" in the API will not
  5198  // be included in the string output. The member name will be present, but the
  5199  // value will be replaced with "sensitive".
  5200  func (s LabelsInputConfiguration) String() string {
  5201  	return awsutil.Prettify(s)
  5202  }
  5203  
  5204  // GoString returns the string representation.
  5205  //
  5206  // API parameter values that are decorated as "sensitive" in the API will not
  5207  // be included in the string output. The member name will be present, but the
  5208  // value will be replaced with "sensitive".
  5209  func (s LabelsInputConfiguration) GoString() string {
  5210  	return s.String()
  5211  }
  5212  
  5213  // Validate inspects the fields of the type to determine if they are valid.
  5214  func (s *LabelsInputConfiguration) Validate() error {
  5215  	invalidParams := request.ErrInvalidParams{Context: "LabelsInputConfiguration"}
  5216  	if s.S3InputConfiguration == nil {
  5217  		invalidParams.Add(request.NewErrParamRequired("S3InputConfiguration"))
  5218  	}
  5219  	if s.S3InputConfiguration != nil {
  5220  		if err := s.S3InputConfiguration.Validate(); err != nil {
  5221  			invalidParams.AddNested("S3InputConfiguration", err.(request.ErrInvalidParams))
  5222  		}
  5223  	}
  5224  
  5225  	if invalidParams.Len() > 0 {
  5226  		return invalidParams
  5227  	}
  5228  	return nil
  5229  }
  5230  
  5231  // SetS3InputConfiguration sets the S3InputConfiguration field's value.
  5232  func (s *LabelsInputConfiguration) SetS3InputConfiguration(v *LabelsS3InputConfiguration) *LabelsInputConfiguration {
  5233  	s.S3InputConfiguration = v
  5234  	return s
  5235  }
  5236  
  5237  // The location information (prefix and bucket name) for the s3 location being
  5238  // used for label data.
  5239  type LabelsS3InputConfiguration struct {
  5240  	_ struct{} `type:"structure"`
  5241  
  5242  	// The name of the S3 bucket holding the label data.
  5243  	//
  5244  	// Bucket is a required field
  5245  	Bucket *string `min:"3" type:"string" required:"true"`
  5246  
  5247  	// The prefix for the S3 bucket used for the label data.
  5248  	Prefix *string `type:"string"`
  5249  }
  5250  
  5251  // String returns the string representation.
  5252  //
  5253  // API parameter values that are decorated as "sensitive" in the API will not
  5254  // be included in the string output. The member name will be present, but the
  5255  // value will be replaced with "sensitive".
  5256  func (s LabelsS3InputConfiguration) String() string {
  5257  	return awsutil.Prettify(s)
  5258  }
  5259  
  5260  // GoString returns the string representation.
  5261  //
  5262  // API parameter values that are decorated as "sensitive" in the API will not
  5263  // be included in the string output. The member name will be present, but the
  5264  // value will be replaced with "sensitive".
  5265  func (s LabelsS3InputConfiguration) GoString() string {
  5266  	return s.String()
  5267  }
  5268  
  5269  // Validate inspects the fields of the type to determine if they are valid.
  5270  func (s *LabelsS3InputConfiguration) Validate() error {
  5271  	invalidParams := request.ErrInvalidParams{Context: "LabelsS3InputConfiguration"}
  5272  	if s.Bucket == nil {
  5273  		invalidParams.Add(request.NewErrParamRequired("Bucket"))
  5274  	}
  5275  	if s.Bucket != nil && len(*s.Bucket) < 3 {
  5276  		invalidParams.Add(request.NewErrParamMinLen("Bucket", 3))
  5277  	}
  5278  
  5279  	if invalidParams.Len() > 0 {
  5280  		return invalidParams
  5281  	}
  5282  	return nil
  5283  }
  5284  
  5285  // SetBucket sets the Bucket field's value.
  5286  func (s *LabelsS3InputConfiguration) SetBucket(v string) *LabelsS3InputConfiguration {
  5287  	s.Bucket = &v
  5288  	return s
  5289  }
  5290  
  5291  // SetPrefix sets the Prefix field's value.
  5292  func (s *LabelsS3InputConfiguration) SetPrefix(v string) *LabelsS3InputConfiguration {
  5293  	s.Prefix = &v
  5294  	return s
  5295  }
  5296  
  5297  type ListDataIngestionJobsInput struct {
  5298  	_ struct{} `type:"structure"`
  5299  
  5300  	// The name of the dataset being used for the data ingestion job.
  5301  	DatasetName *string `min:"1" type:"string"`
  5302  
  5303  	// Specifies the maximum number of data ingestion jobs to list.
  5304  	MaxResults *int64 `min:"1" type:"integer"`
  5305  
  5306  	// An opaque pagination token indicating where to continue the listing of data
  5307  	// ingestion jobs.
  5308  	NextToken *string `type:"string"`
  5309  
  5310  	// Indicates the status of the data ingestion job.
  5311  	Status *string `type:"string" enum:"IngestionJobStatus"`
  5312  }
  5313  
  5314  // String returns the string representation.
  5315  //
  5316  // API parameter values that are decorated as "sensitive" in the API will not
  5317  // be included in the string output. The member name will be present, but the
  5318  // value will be replaced with "sensitive".
  5319  func (s ListDataIngestionJobsInput) String() string {
  5320  	return awsutil.Prettify(s)
  5321  }
  5322  
  5323  // GoString returns the string representation.
  5324  //
  5325  // API parameter values that are decorated as "sensitive" in the API will not
  5326  // be included in the string output. The member name will be present, but the
  5327  // value will be replaced with "sensitive".
  5328  func (s ListDataIngestionJobsInput) GoString() string {
  5329  	return s.String()
  5330  }
  5331  
  5332  // Validate inspects the fields of the type to determine if they are valid.
  5333  func (s *ListDataIngestionJobsInput) Validate() error {
  5334  	invalidParams := request.ErrInvalidParams{Context: "ListDataIngestionJobsInput"}
  5335  	if s.DatasetName != nil && len(*s.DatasetName) < 1 {
  5336  		invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1))
  5337  	}
  5338  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5339  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5340  	}
  5341  
  5342  	if invalidParams.Len() > 0 {
  5343  		return invalidParams
  5344  	}
  5345  	return nil
  5346  }
  5347  
  5348  // SetDatasetName sets the DatasetName field's value.
  5349  func (s *ListDataIngestionJobsInput) SetDatasetName(v string) *ListDataIngestionJobsInput {
  5350  	s.DatasetName = &v
  5351  	return s
  5352  }
  5353  
  5354  // SetMaxResults sets the MaxResults field's value.
  5355  func (s *ListDataIngestionJobsInput) SetMaxResults(v int64) *ListDataIngestionJobsInput {
  5356  	s.MaxResults = &v
  5357  	return s
  5358  }
  5359  
  5360  // SetNextToken sets the NextToken field's value.
  5361  func (s *ListDataIngestionJobsInput) SetNextToken(v string) *ListDataIngestionJobsInput {
  5362  	s.NextToken = &v
  5363  	return s
  5364  }
  5365  
  5366  // SetStatus sets the Status field's value.
  5367  func (s *ListDataIngestionJobsInput) SetStatus(v string) *ListDataIngestionJobsInput {
  5368  	s.Status = &v
  5369  	return s
  5370  }
  5371  
  5372  type ListDataIngestionJobsOutput struct {
  5373  	_ struct{} `type:"structure"`
  5374  
  5375  	// Specifies information about the specific data ingestion job, including dataset
  5376  	// name and status.
  5377  	DataIngestionJobSummaries []*DataIngestionJobSummary `type:"list"`
  5378  
  5379  	// An opaque pagination token indicating where to continue the listing of data
  5380  	// ingestion jobs.
  5381  	NextToken *string `type:"string"`
  5382  }
  5383  
  5384  // String returns the string representation.
  5385  //
  5386  // API parameter values that are decorated as "sensitive" in the API will not
  5387  // be included in the string output. The member name will be present, but the
  5388  // value will be replaced with "sensitive".
  5389  func (s ListDataIngestionJobsOutput) String() string {
  5390  	return awsutil.Prettify(s)
  5391  }
  5392  
  5393  // GoString returns the string representation.
  5394  //
  5395  // API parameter values that are decorated as "sensitive" in the API will not
  5396  // be included in the string output. The member name will be present, but the
  5397  // value will be replaced with "sensitive".
  5398  func (s ListDataIngestionJobsOutput) GoString() string {
  5399  	return s.String()
  5400  }
  5401  
  5402  // SetDataIngestionJobSummaries sets the DataIngestionJobSummaries field's value.
  5403  func (s *ListDataIngestionJobsOutput) SetDataIngestionJobSummaries(v []*DataIngestionJobSummary) *ListDataIngestionJobsOutput {
  5404  	s.DataIngestionJobSummaries = v
  5405  	return s
  5406  }
  5407  
  5408  // SetNextToken sets the NextToken field's value.
  5409  func (s *ListDataIngestionJobsOutput) SetNextToken(v string) *ListDataIngestionJobsOutput {
  5410  	s.NextToken = &v
  5411  	return s
  5412  }
  5413  
  5414  type ListDatasetsInput struct {
  5415  	_ struct{} `type:"structure"`
  5416  
  5417  	// The beginning of the name of the datasets to be listed.
  5418  	DatasetNameBeginsWith *string `min:"1" type:"string"`
  5419  
  5420  	// Specifies the maximum number of datasets to list.
  5421  	MaxResults *int64 `min:"1" type:"integer"`
  5422  
  5423  	// An opaque pagination token indicating where to continue the listing of datasets.
  5424  	NextToken *string `type:"string"`
  5425  }
  5426  
  5427  // String returns the string representation.
  5428  //
  5429  // API parameter values that are decorated as "sensitive" in the API will not
  5430  // be included in the string output. The member name will be present, but the
  5431  // value will be replaced with "sensitive".
  5432  func (s ListDatasetsInput) String() string {
  5433  	return awsutil.Prettify(s)
  5434  }
  5435  
  5436  // GoString returns the string representation.
  5437  //
  5438  // API parameter values that are decorated as "sensitive" in the API will not
  5439  // be included in the string output. The member name will be present, but the
  5440  // value will be replaced with "sensitive".
  5441  func (s ListDatasetsInput) GoString() string {
  5442  	return s.String()
  5443  }
  5444  
  5445  // Validate inspects the fields of the type to determine if they are valid.
  5446  func (s *ListDatasetsInput) Validate() error {
  5447  	invalidParams := request.ErrInvalidParams{Context: "ListDatasetsInput"}
  5448  	if s.DatasetNameBeginsWith != nil && len(*s.DatasetNameBeginsWith) < 1 {
  5449  		invalidParams.Add(request.NewErrParamMinLen("DatasetNameBeginsWith", 1))
  5450  	}
  5451  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5452  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5453  	}
  5454  
  5455  	if invalidParams.Len() > 0 {
  5456  		return invalidParams
  5457  	}
  5458  	return nil
  5459  }
  5460  
  5461  // SetDatasetNameBeginsWith sets the DatasetNameBeginsWith field's value.
  5462  func (s *ListDatasetsInput) SetDatasetNameBeginsWith(v string) *ListDatasetsInput {
  5463  	s.DatasetNameBeginsWith = &v
  5464  	return s
  5465  }
  5466  
  5467  // SetMaxResults sets the MaxResults field's value.
  5468  func (s *ListDatasetsInput) SetMaxResults(v int64) *ListDatasetsInput {
  5469  	s.MaxResults = &v
  5470  	return s
  5471  }
  5472  
  5473  // SetNextToken sets the NextToken field's value.
  5474  func (s *ListDatasetsInput) SetNextToken(v string) *ListDatasetsInput {
  5475  	s.NextToken = &v
  5476  	return s
  5477  }
  5478  
  5479  type ListDatasetsOutput struct {
  5480  	_ struct{} `type:"structure"`
  5481  
  5482  	// Provides information about the specified dataset, including creation time,
  5483  	// dataset ARN, and status.
  5484  	DatasetSummaries []*DatasetSummary `type:"list"`
  5485  
  5486  	// An opaque pagination token indicating where to continue the listing of datasets.
  5487  	NextToken *string `type:"string"`
  5488  }
  5489  
  5490  // String returns the string representation.
  5491  //
  5492  // API parameter values that are decorated as "sensitive" in the API will not
  5493  // be included in the string output. The member name will be present, but the
  5494  // value will be replaced with "sensitive".
  5495  func (s ListDatasetsOutput) String() string {
  5496  	return awsutil.Prettify(s)
  5497  }
  5498  
  5499  // GoString returns the string representation.
  5500  //
  5501  // API parameter values that are decorated as "sensitive" in the API will not
  5502  // be included in the string output. The member name will be present, but the
  5503  // value will be replaced with "sensitive".
  5504  func (s ListDatasetsOutput) GoString() string {
  5505  	return s.String()
  5506  }
  5507  
  5508  // SetDatasetSummaries sets the DatasetSummaries field's value.
  5509  func (s *ListDatasetsOutput) SetDatasetSummaries(v []*DatasetSummary) *ListDatasetsOutput {
  5510  	s.DatasetSummaries = v
  5511  	return s
  5512  }
  5513  
  5514  // SetNextToken sets the NextToken field's value.
  5515  func (s *ListDatasetsOutput) SetNextToken(v string) *ListDatasetsOutput {
  5516  	s.NextToken = &v
  5517  	return s
  5518  }
  5519  
  5520  type ListInferenceExecutionsInput struct {
  5521  	_ struct{} `type:"structure"`
  5522  
  5523  	// The time reference in the inferenced dataset before which Amazon Lookout
  5524  	// for Equipment stopped the inference execution.
  5525  	DataEndTimeBefore *time.Time `type:"timestamp"`
  5526  
  5527  	// The time reference in the inferenced dataset after which Amazon Lookout for
  5528  	// Equipment started the inference execution.
  5529  	DataStartTimeAfter *time.Time `type:"timestamp"`
  5530  
  5531  	// The name of the inference scheduler for the inference execution listed.
  5532  	//
  5533  	// InferenceSchedulerName is a required field
  5534  	InferenceSchedulerName *string `min:"1" type:"string" required:"true"`
  5535  
  5536  	// Specifies the maximum number of inference executions to list.
  5537  	MaxResults *int64 `min:"1" type:"integer"`
  5538  
  5539  	// An opaque pagination token indicating where to continue the listing of inference
  5540  	// executions.
  5541  	NextToken *string `type:"string"`
  5542  
  5543  	// The status of the inference execution.
  5544  	Status *string `type:"string" enum:"InferenceExecutionStatus"`
  5545  }
  5546  
  5547  // String returns the string representation.
  5548  //
  5549  // API parameter values that are decorated as "sensitive" in the API will not
  5550  // be included in the string output. The member name will be present, but the
  5551  // value will be replaced with "sensitive".
  5552  func (s ListInferenceExecutionsInput) String() string {
  5553  	return awsutil.Prettify(s)
  5554  }
  5555  
  5556  // GoString returns the string representation.
  5557  //
  5558  // API parameter values that are decorated as "sensitive" in the API will not
  5559  // be included in the string output. The member name will be present, but the
  5560  // value will be replaced with "sensitive".
  5561  func (s ListInferenceExecutionsInput) GoString() string {
  5562  	return s.String()
  5563  }
  5564  
  5565  // Validate inspects the fields of the type to determine if they are valid.
  5566  func (s *ListInferenceExecutionsInput) Validate() error {
  5567  	invalidParams := request.ErrInvalidParams{Context: "ListInferenceExecutionsInput"}
  5568  	if s.InferenceSchedulerName == nil {
  5569  		invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName"))
  5570  	}
  5571  	if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 {
  5572  		invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1))
  5573  	}
  5574  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5575  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5576  	}
  5577  
  5578  	if invalidParams.Len() > 0 {
  5579  		return invalidParams
  5580  	}
  5581  	return nil
  5582  }
  5583  
  5584  // SetDataEndTimeBefore sets the DataEndTimeBefore field's value.
  5585  func (s *ListInferenceExecutionsInput) SetDataEndTimeBefore(v time.Time) *ListInferenceExecutionsInput {
  5586  	s.DataEndTimeBefore = &v
  5587  	return s
  5588  }
  5589  
  5590  // SetDataStartTimeAfter sets the DataStartTimeAfter field's value.
  5591  func (s *ListInferenceExecutionsInput) SetDataStartTimeAfter(v time.Time) *ListInferenceExecutionsInput {
  5592  	s.DataStartTimeAfter = &v
  5593  	return s
  5594  }
  5595  
  5596  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  5597  func (s *ListInferenceExecutionsInput) SetInferenceSchedulerName(v string) *ListInferenceExecutionsInput {
  5598  	s.InferenceSchedulerName = &v
  5599  	return s
  5600  }
  5601  
  5602  // SetMaxResults sets the MaxResults field's value.
  5603  func (s *ListInferenceExecutionsInput) SetMaxResults(v int64) *ListInferenceExecutionsInput {
  5604  	s.MaxResults = &v
  5605  	return s
  5606  }
  5607  
  5608  // SetNextToken sets the NextToken field's value.
  5609  func (s *ListInferenceExecutionsInput) SetNextToken(v string) *ListInferenceExecutionsInput {
  5610  	s.NextToken = &v
  5611  	return s
  5612  }
  5613  
  5614  // SetStatus sets the Status field's value.
  5615  func (s *ListInferenceExecutionsInput) SetStatus(v string) *ListInferenceExecutionsInput {
  5616  	s.Status = &v
  5617  	return s
  5618  }
  5619  
  5620  type ListInferenceExecutionsOutput struct {
  5621  	_ struct{} `type:"structure"`
  5622  
  5623  	// Provides an array of information about the individual inference executions
  5624  	// returned from the ListInferenceExecutions operation, including model used,
  5625  	// inference scheduler, data configuration, and so on.
  5626  	InferenceExecutionSummaries []*InferenceExecutionSummary `type:"list"`
  5627  
  5628  	// An opaque pagination token indicating where to continue the listing of inference
  5629  	// executions.
  5630  	NextToken *string `type:"string"`
  5631  }
  5632  
  5633  // String returns the string representation.
  5634  //
  5635  // API parameter values that are decorated as "sensitive" in the API will not
  5636  // be included in the string output. The member name will be present, but the
  5637  // value will be replaced with "sensitive".
  5638  func (s ListInferenceExecutionsOutput) String() string {
  5639  	return awsutil.Prettify(s)
  5640  }
  5641  
  5642  // GoString returns the string representation.
  5643  //
  5644  // API parameter values that are decorated as "sensitive" in the API will not
  5645  // be included in the string output. The member name will be present, but the
  5646  // value will be replaced with "sensitive".
  5647  func (s ListInferenceExecutionsOutput) GoString() string {
  5648  	return s.String()
  5649  }
  5650  
  5651  // SetInferenceExecutionSummaries sets the InferenceExecutionSummaries field's value.
  5652  func (s *ListInferenceExecutionsOutput) SetInferenceExecutionSummaries(v []*InferenceExecutionSummary) *ListInferenceExecutionsOutput {
  5653  	s.InferenceExecutionSummaries = v
  5654  	return s
  5655  }
  5656  
  5657  // SetNextToken sets the NextToken field's value.
  5658  func (s *ListInferenceExecutionsOutput) SetNextToken(v string) *ListInferenceExecutionsOutput {
  5659  	s.NextToken = &v
  5660  	return s
  5661  }
  5662  
  5663  type ListInferenceSchedulersInput struct {
  5664  	_ struct{} `type:"structure"`
  5665  
  5666  	// The beginning of the name of the inference schedulers to be listed.
  5667  	InferenceSchedulerNameBeginsWith *string `min:"1" type:"string"`
  5668  
  5669  	// Specifies the maximum number of inference schedulers to list.
  5670  	MaxResults *int64 `min:"1" type:"integer"`
  5671  
  5672  	// The name of the ML model used by the inference scheduler to be listed.
  5673  	ModelName *string `min:"1" type:"string"`
  5674  
  5675  	// An opaque pagination token indicating where to continue the listing of inference
  5676  	// schedulers.
  5677  	NextToken *string `type:"string"`
  5678  }
  5679  
  5680  // String returns the string representation.
  5681  //
  5682  // API parameter values that are decorated as "sensitive" in the API will not
  5683  // be included in the string output. The member name will be present, but the
  5684  // value will be replaced with "sensitive".
  5685  func (s ListInferenceSchedulersInput) String() string {
  5686  	return awsutil.Prettify(s)
  5687  }
  5688  
  5689  // GoString returns the string representation.
  5690  //
  5691  // API parameter values that are decorated as "sensitive" in the API will not
  5692  // be included in the string output. The member name will be present, but the
  5693  // value will be replaced with "sensitive".
  5694  func (s ListInferenceSchedulersInput) GoString() string {
  5695  	return s.String()
  5696  }
  5697  
  5698  // Validate inspects the fields of the type to determine if they are valid.
  5699  func (s *ListInferenceSchedulersInput) Validate() error {
  5700  	invalidParams := request.ErrInvalidParams{Context: "ListInferenceSchedulersInput"}
  5701  	if s.InferenceSchedulerNameBeginsWith != nil && len(*s.InferenceSchedulerNameBeginsWith) < 1 {
  5702  		invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerNameBeginsWith", 1))
  5703  	}
  5704  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5705  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5706  	}
  5707  	if s.ModelName != nil && len(*s.ModelName) < 1 {
  5708  		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
  5709  	}
  5710  
  5711  	if invalidParams.Len() > 0 {
  5712  		return invalidParams
  5713  	}
  5714  	return nil
  5715  }
  5716  
  5717  // SetInferenceSchedulerNameBeginsWith sets the InferenceSchedulerNameBeginsWith field's value.
  5718  func (s *ListInferenceSchedulersInput) SetInferenceSchedulerNameBeginsWith(v string) *ListInferenceSchedulersInput {
  5719  	s.InferenceSchedulerNameBeginsWith = &v
  5720  	return s
  5721  }
  5722  
  5723  // SetMaxResults sets the MaxResults field's value.
  5724  func (s *ListInferenceSchedulersInput) SetMaxResults(v int64) *ListInferenceSchedulersInput {
  5725  	s.MaxResults = &v
  5726  	return s
  5727  }
  5728  
  5729  // SetModelName sets the ModelName field's value.
  5730  func (s *ListInferenceSchedulersInput) SetModelName(v string) *ListInferenceSchedulersInput {
  5731  	s.ModelName = &v
  5732  	return s
  5733  }
  5734  
  5735  // SetNextToken sets the NextToken field's value.
  5736  func (s *ListInferenceSchedulersInput) SetNextToken(v string) *ListInferenceSchedulersInput {
  5737  	s.NextToken = &v
  5738  	return s
  5739  }
  5740  
  5741  type ListInferenceSchedulersOutput struct {
  5742  	_ struct{} `type:"structure"`
  5743  
  5744  	// Provides information about the specified inference scheduler, including data
  5745  	// upload frequency, model name and ARN, and status.
  5746  	InferenceSchedulerSummaries []*InferenceSchedulerSummary `type:"list"`
  5747  
  5748  	// An opaque pagination token indicating where to continue the listing of inference
  5749  	// schedulers.
  5750  	NextToken *string `type:"string"`
  5751  }
  5752  
  5753  // String returns the string representation.
  5754  //
  5755  // API parameter values that are decorated as "sensitive" in the API will not
  5756  // be included in the string output. The member name will be present, but the
  5757  // value will be replaced with "sensitive".
  5758  func (s ListInferenceSchedulersOutput) String() string {
  5759  	return awsutil.Prettify(s)
  5760  }
  5761  
  5762  // GoString returns the string representation.
  5763  //
  5764  // API parameter values that are decorated as "sensitive" in the API will not
  5765  // be included in the string output. The member name will be present, but the
  5766  // value will be replaced with "sensitive".
  5767  func (s ListInferenceSchedulersOutput) GoString() string {
  5768  	return s.String()
  5769  }
  5770  
  5771  // SetInferenceSchedulerSummaries sets the InferenceSchedulerSummaries field's value.
  5772  func (s *ListInferenceSchedulersOutput) SetInferenceSchedulerSummaries(v []*InferenceSchedulerSummary) *ListInferenceSchedulersOutput {
  5773  	s.InferenceSchedulerSummaries = v
  5774  	return s
  5775  }
  5776  
  5777  // SetNextToken sets the NextToken field's value.
  5778  func (s *ListInferenceSchedulersOutput) SetNextToken(v string) *ListInferenceSchedulersOutput {
  5779  	s.NextToken = &v
  5780  	return s
  5781  }
  5782  
  5783  type ListModelsInput struct {
  5784  	_ struct{} `type:"structure"`
  5785  
  5786  	// The beginning of the name of the dataset of the ML models to be listed.
  5787  	DatasetNameBeginsWith *string `min:"1" type:"string"`
  5788  
  5789  	// Specifies the maximum number of ML models to list.
  5790  	MaxResults *int64 `min:"1" type:"integer"`
  5791  
  5792  	// The beginning of the name of the ML models being listed.
  5793  	ModelNameBeginsWith *string `min:"1" type:"string"`
  5794  
  5795  	// An opaque pagination token indicating where to continue the listing of ML
  5796  	// models.
  5797  	NextToken *string `type:"string"`
  5798  
  5799  	// The status of the ML model.
  5800  	Status *string `type:"string" enum:"ModelStatus"`
  5801  }
  5802  
  5803  // String returns the string representation.
  5804  //
  5805  // API parameter values that are decorated as "sensitive" in the API will not
  5806  // be included in the string output. The member name will be present, but the
  5807  // value will be replaced with "sensitive".
  5808  func (s ListModelsInput) String() string {
  5809  	return awsutil.Prettify(s)
  5810  }
  5811  
  5812  // GoString returns the string representation.
  5813  //
  5814  // API parameter values that are decorated as "sensitive" in the API will not
  5815  // be included in the string output. The member name will be present, but the
  5816  // value will be replaced with "sensitive".
  5817  func (s ListModelsInput) GoString() string {
  5818  	return s.String()
  5819  }
  5820  
  5821  // Validate inspects the fields of the type to determine if they are valid.
  5822  func (s *ListModelsInput) Validate() error {
  5823  	invalidParams := request.ErrInvalidParams{Context: "ListModelsInput"}
  5824  	if s.DatasetNameBeginsWith != nil && len(*s.DatasetNameBeginsWith) < 1 {
  5825  		invalidParams.Add(request.NewErrParamMinLen("DatasetNameBeginsWith", 1))
  5826  	}
  5827  	if s.MaxResults != nil && *s.MaxResults < 1 {
  5828  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  5829  	}
  5830  	if s.ModelNameBeginsWith != nil && len(*s.ModelNameBeginsWith) < 1 {
  5831  		invalidParams.Add(request.NewErrParamMinLen("ModelNameBeginsWith", 1))
  5832  	}
  5833  
  5834  	if invalidParams.Len() > 0 {
  5835  		return invalidParams
  5836  	}
  5837  	return nil
  5838  }
  5839  
  5840  // SetDatasetNameBeginsWith sets the DatasetNameBeginsWith field's value.
  5841  func (s *ListModelsInput) SetDatasetNameBeginsWith(v string) *ListModelsInput {
  5842  	s.DatasetNameBeginsWith = &v
  5843  	return s
  5844  }
  5845  
  5846  // SetMaxResults sets the MaxResults field's value.
  5847  func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput {
  5848  	s.MaxResults = &v
  5849  	return s
  5850  }
  5851  
  5852  // SetModelNameBeginsWith sets the ModelNameBeginsWith field's value.
  5853  func (s *ListModelsInput) SetModelNameBeginsWith(v string) *ListModelsInput {
  5854  	s.ModelNameBeginsWith = &v
  5855  	return s
  5856  }
  5857  
  5858  // SetNextToken sets the NextToken field's value.
  5859  func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput {
  5860  	s.NextToken = &v
  5861  	return s
  5862  }
  5863  
  5864  // SetStatus sets the Status field's value.
  5865  func (s *ListModelsInput) SetStatus(v string) *ListModelsInput {
  5866  	s.Status = &v
  5867  	return s
  5868  }
  5869  
  5870  type ListModelsOutput struct {
  5871  	_ struct{} `type:"structure"`
  5872  
  5873  	// Provides information on the specified model, including created time, model
  5874  	// and dataset ARNs, and status.
  5875  	ModelSummaries []*ModelSummary `type:"list"`
  5876  
  5877  	// An opaque pagination token indicating where to continue the listing of ML
  5878  	// models.
  5879  	NextToken *string `type:"string"`
  5880  }
  5881  
  5882  // String returns the string representation.
  5883  //
  5884  // API parameter values that are decorated as "sensitive" in the API will not
  5885  // be included in the string output. The member name will be present, but the
  5886  // value will be replaced with "sensitive".
  5887  func (s ListModelsOutput) String() string {
  5888  	return awsutil.Prettify(s)
  5889  }
  5890  
  5891  // GoString returns the string representation.
  5892  //
  5893  // API parameter values that are decorated as "sensitive" in the API will not
  5894  // be included in the string output. The member name will be present, but the
  5895  // value will be replaced with "sensitive".
  5896  func (s ListModelsOutput) GoString() string {
  5897  	return s.String()
  5898  }
  5899  
  5900  // SetModelSummaries sets the ModelSummaries field's value.
  5901  func (s *ListModelsOutput) SetModelSummaries(v []*ModelSummary) *ListModelsOutput {
  5902  	s.ModelSummaries = v
  5903  	return s
  5904  }
  5905  
  5906  // SetNextToken sets the NextToken field's value.
  5907  func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput {
  5908  	s.NextToken = &v
  5909  	return s
  5910  }
  5911  
  5912  type ListTagsForResourceInput struct {
  5913  	_ struct{} `type:"structure"`
  5914  
  5915  	// The Amazon Resource Name (ARN) of the resource (such as the dataset or model)
  5916  	// that is the focus of the ListTagsForResource operation.
  5917  	//
  5918  	// ResourceArn is a required field
  5919  	ResourceArn *string `min:"1" type:"string" required:"true"`
  5920  }
  5921  
  5922  // String returns the string representation.
  5923  //
  5924  // API parameter values that are decorated as "sensitive" in the API will not
  5925  // be included in the string output. The member name will be present, but the
  5926  // value will be replaced with "sensitive".
  5927  func (s ListTagsForResourceInput) String() string {
  5928  	return awsutil.Prettify(s)
  5929  }
  5930  
  5931  // GoString returns the string representation.
  5932  //
  5933  // API parameter values that are decorated as "sensitive" in the API will not
  5934  // be included in the string output. The member name will be present, but the
  5935  // value will be replaced with "sensitive".
  5936  func (s ListTagsForResourceInput) GoString() string {
  5937  	return s.String()
  5938  }
  5939  
  5940  // Validate inspects the fields of the type to determine if they are valid.
  5941  func (s *ListTagsForResourceInput) Validate() error {
  5942  	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
  5943  	if s.ResourceArn == nil {
  5944  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  5945  	}
  5946  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
  5947  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
  5948  	}
  5949  
  5950  	if invalidParams.Len() > 0 {
  5951  		return invalidParams
  5952  	}
  5953  	return nil
  5954  }
  5955  
  5956  // SetResourceArn sets the ResourceArn field's value.
  5957  func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
  5958  	s.ResourceArn = &v
  5959  	return s
  5960  }
  5961  
  5962  type ListTagsForResourceOutput struct {
  5963  	_ struct{} `type:"structure"`
  5964  
  5965  	// Any tags associated with the resource.
  5966  	Tags []*Tag `type:"list"`
  5967  }
  5968  
  5969  // String returns the string representation.
  5970  //
  5971  // API parameter values that are decorated as "sensitive" in the API will not
  5972  // be included in the string output. The member name will be present, but the
  5973  // value will be replaced with "sensitive".
  5974  func (s ListTagsForResourceOutput) String() string {
  5975  	return awsutil.Prettify(s)
  5976  }
  5977  
  5978  // GoString returns the string representation.
  5979  //
  5980  // API parameter values that are decorated as "sensitive" in the API will not
  5981  // be included in the string output. The member name will be present, but the
  5982  // value will be replaced with "sensitive".
  5983  func (s ListTagsForResourceOutput) GoString() string {
  5984  	return s.String()
  5985  }
  5986  
  5987  // SetTags sets the Tags field's value.
  5988  func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
  5989  	s.Tags = v
  5990  	return s
  5991  }
  5992  
  5993  // Provides information about the specified ML model, including dataset and
  5994  // model names and ARNs, as well as status.
  5995  type ModelSummary struct {
  5996  	_ struct{} `type:"structure"`
  5997  
  5998  	// The time at which the specific model was created.
  5999  	CreatedAt *time.Time `type:"timestamp"`
  6000  
  6001  	// The Amazon Resource Name (ARN) of the dataset used to create the model.
  6002  	DatasetArn *string `min:"20" type:"string"`
  6003  
  6004  	// The name of the dataset being used for the ML model.
  6005  	DatasetName *string `min:"1" type:"string"`
  6006  
  6007  	// The Amazon Resource Name (ARN) of the ML model.
  6008  	ModelArn *string `min:"20" type:"string"`
  6009  
  6010  	// The name of the ML model.
  6011  	ModelName *string `min:"1" type:"string"`
  6012  
  6013  	// Indicates the status of the ML model.
  6014  	Status *string `type:"string" enum:"ModelStatus"`
  6015  }
  6016  
  6017  // String returns the string representation.
  6018  //
  6019  // API parameter values that are decorated as "sensitive" in the API will not
  6020  // be included in the string output. The member name will be present, but the
  6021  // value will be replaced with "sensitive".
  6022  func (s ModelSummary) String() string {
  6023  	return awsutil.Prettify(s)
  6024  }
  6025  
  6026  // GoString returns the string representation.
  6027  //
  6028  // API parameter values that are decorated as "sensitive" in the API will not
  6029  // be included in the string output. The member name will be present, but the
  6030  // value will be replaced with "sensitive".
  6031  func (s ModelSummary) GoString() string {
  6032  	return s.String()
  6033  }
  6034  
  6035  // SetCreatedAt sets the CreatedAt field's value.
  6036  func (s *ModelSummary) SetCreatedAt(v time.Time) *ModelSummary {
  6037  	s.CreatedAt = &v
  6038  	return s
  6039  }
  6040  
  6041  // SetDatasetArn sets the DatasetArn field's value.
  6042  func (s *ModelSummary) SetDatasetArn(v string) *ModelSummary {
  6043  	s.DatasetArn = &v
  6044  	return s
  6045  }
  6046  
  6047  // SetDatasetName sets the DatasetName field's value.
  6048  func (s *ModelSummary) SetDatasetName(v string) *ModelSummary {
  6049  	s.DatasetName = &v
  6050  	return s
  6051  }
  6052  
  6053  // SetModelArn sets the ModelArn field's value.
  6054  func (s *ModelSummary) SetModelArn(v string) *ModelSummary {
  6055  	s.ModelArn = &v
  6056  	return s
  6057  }
  6058  
  6059  // SetModelName sets the ModelName field's value.
  6060  func (s *ModelSummary) SetModelName(v string) *ModelSummary {
  6061  	s.ModelName = &v
  6062  	return s
  6063  }
  6064  
  6065  // SetStatus sets the Status field's value.
  6066  func (s *ModelSummary) SetStatus(v string) *ModelSummary {
  6067  	s.Status = &v
  6068  	return s
  6069  }
  6070  
  6071  // The resource requested could not be found. Verify the resource ID and retry
  6072  // your request.
  6073  type ResourceNotFoundException struct {
  6074  	_            struct{}                  `type:"structure"`
  6075  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  6076  
  6077  	Message_ *string `locationName:"Message" min:"1" type:"string"`
  6078  }
  6079  
  6080  // String returns the string representation.
  6081  //
  6082  // API parameter values that are decorated as "sensitive" in the API will not
  6083  // be included in the string output. The member name will be present, but the
  6084  // value will be replaced with "sensitive".
  6085  func (s ResourceNotFoundException) String() string {
  6086  	return awsutil.Prettify(s)
  6087  }
  6088  
  6089  // GoString returns the string representation.
  6090  //
  6091  // API parameter values that are decorated as "sensitive" in the API will not
  6092  // be included in the string output. The member name will be present, but the
  6093  // value will be replaced with "sensitive".
  6094  func (s ResourceNotFoundException) GoString() string {
  6095  	return s.String()
  6096  }
  6097  
  6098  func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
  6099  	return &ResourceNotFoundException{
  6100  		RespMetadata: v,
  6101  	}
  6102  }
  6103  
  6104  // Code returns the exception type name.
  6105  func (s *ResourceNotFoundException) Code() string {
  6106  	return "ResourceNotFoundException"
  6107  }
  6108  
  6109  // Message returns the exception's message.
  6110  func (s *ResourceNotFoundException) Message() string {
  6111  	if s.Message_ != nil {
  6112  		return *s.Message_
  6113  	}
  6114  	return ""
  6115  }
  6116  
  6117  // OrigErr always returns nil, satisfies awserr.Error interface.
  6118  func (s *ResourceNotFoundException) OrigErr() error {
  6119  	return nil
  6120  }
  6121  
  6122  func (s *ResourceNotFoundException) Error() string {
  6123  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  6124  }
  6125  
  6126  // Status code returns the HTTP status code for the request's response error.
  6127  func (s *ResourceNotFoundException) StatusCode() int {
  6128  	return s.RespMetadata.StatusCode
  6129  }
  6130  
  6131  // RequestID returns the service's response RequestID for request.
  6132  func (s *ResourceNotFoundException) RequestID() string {
  6133  	return s.RespMetadata.RequestID
  6134  }
  6135  
  6136  // Contains information about an S3 bucket.
  6137  type S3Object struct {
  6138  	_ struct{} `type:"structure"`
  6139  
  6140  	// The name of the specific S3 bucket.
  6141  	//
  6142  	// Bucket is a required field
  6143  	Bucket *string `min:"3" type:"string" required:"true"`
  6144  
  6145  	// The AWS Key Management Service (AWS KMS) key being used to encrypt the S3
  6146  	// object. Without this key, data in the bucket is not accessible.
  6147  	//
  6148  	// Key is a required field
  6149  	Key *string `min:"1" type:"string" required:"true"`
  6150  }
  6151  
  6152  // String returns the string representation.
  6153  //
  6154  // API parameter values that are decorated as "sensitive" in the API will not
  6155  // be included in the string output. The member name will be present, but the
  6156  // value will be replaced with "sensitive".
  6157  func (s S3Object) String() string {
  6158  	return awsutil.Prettify(s)
  6159  }
  6160  
  6161  // GoString returns the string representation.
  6162  //
  6163  // API parameter values that are decorated as "sensitive" in the API will not
  6164  // be included in the string output. The member name will be present, but the
  6165  // value will be replaced with "sensitive".
  6166  func (s S3Object) GoString() string {
  6167  	return s.String()
  6168  }
  6169  
  6170  // SetBucket sets the Bucket field's value.
  6171  func (s *S3Object) SetBucket(v string) *S3Object {
  6172  	s.Bucket = &v
  6173  	return s
  6174  }
  6175  
  6176  // SetKey sets the Key field's value.
  6177  func (s *S3Object) SetKey(v string) *S3Object {
  6178  	s.Key = &v
  6179  	return s
  6180  }
  6181  
  6182  // Resource limitations have been exceeded.
  6183  type ServiceQuotaExceededException struct {
  6184  	_            struct{}                  `type:"structure"`
  6185  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  6186  
  6187  	Message_ *string `locationName:"Message" min:"1" type:"string"`
  6188  }
  6189  
  6190  // String returns the string representation.
  6191  //
  6192  // API parameter values that are decorated as "sensitive" in the API will not
  6193  // be included in the string output. The member name will be present, but the
  6194  // value will be replaced with "sensitive".
  6195  func (s ServiceQuotaExceededException) String() string {
  6196  	return awsutil.Prettify(s)
  6197  }
  6198  
  6199  // GoString returns the string representation.
  6200  //
  6201  // API parameter values that are decorated as "sensitive" in the API will not
  6202  // be included in the string output. The member name will be present, but the
  6203  // value will be replaced with "sensitive".
  6204  func (s ServiceQuotaExceededException) GoString() string {
  6205  	return s.String()
  6206  }
  6207  
  6208  func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
  6209  	return &ServiceQuotaExceededException{
  6210  		RespMetadata: v,
  6211  	}
  6212  }
  6213  
  6214  // Code returns the exception type name.
  6215  func (s *ServiceQuotaExceededException) Code() string {
  6216  	return "ServiceQuotaExceededException"
  6217  }
  6218  
  6219  // Message returns the exception's message.
  6220  func (s *ServiceQuotaExceededException) Message() string {
  6221  	if s.Message_ != nil {
  6222  		return *s.Message_
  6223  	}
  6224  	return ""
  6225  }
  6226  
  6227  // OrigErr always returns nil, satisfies awserr.Error interface.
  6228  func (s *ServiceQuotaExceededException) OrigErr() error {
  6229  	return nil
  6230  }
  6231  
  6232  func (s *ServiceQuotaExceededException) Error() string {
  6233  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  6234  }
  6235  
  6236  // Status code returns the HTTP status code for the request's response error.
  6237  func (s *ServiceQuotaExceededException) StatusCode() int {
  6238  	return s.RespMetadata.StatusCode
  6239  }
  6240  
  6241  // RequestID returns the service's response RequestID for request.
  6242  func (s *ServiceQuotaExceededException) RequestID() string {
  6243  	return s.RespMetadata.RequestID
  6244  }
  6245  
  6246  type StartDataIngestionJobInput struct {
  6247  	_ struct{} `type:"structure"`
  6248  
  6249  	// A unique identifier for the request. If you do not set the client request
  6250  	// token, Amazon Lookout for Equipment generates one.
  6251  	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
  6252  
  6253  	// The name of the dataset being used by the data ingestion job.
  6254  	//
  6255  	// DatasetName is a required field
  6256  	DatasetName *string `min:"1" type:"string" required:"true"`
  6257  
  6258  	// Specifies information for the input data for the data ingestion job, including
  6259  	// dataset S3 location.
  6260  	//
  6261  	// IngestionInputConfiguration is a required field
  6262  	IngestionInputConfiguration *IngestionInputConfiguration `type:"structure" required:"true"`
  6263  
  6264  	// The Amazon Resource Name (ARN) of a role with permission to access the data
  6265  	// source for the data ingestion job.
  6266  	//
  6267  	// RoleArn is a required field
  6268  	RoleArn *string `min:"20" type:"string" required:"true"`
  6269  }
  6270  
  6271  // String returns the string representation.
  6272  //
  6273  // API parameter values that are decorated as "sensitive" in the API will not
  6274  // be included in the string output. The member name will be present, but the
  6275  // value will be replaced with "sensitive".
  6276  func (s StartDataIngestionJobInput) String() string {
  6277  	return awsutil.Prettify(s)
  6278  }
  6279  
  6280  // GoString returns the string representation.
  6281  //
  6282  // API parameter values that are decorated as "sensitive" in the API will not
  6283  // be included in the string output. The member name will be present, but the
  6284  // value will be replaced with "sensitive".
  6285  func (s StartDataIngestionJobInput) GoString() string {
  6286  	return s.String()
  6287  }
  6288  
  6289  // Validate inspects the fields of the type to determine if they are valid.
  6290  func (s *StartDataIngestionJobInput) Validate() error {
  6291  	invalidParams := request.ErrInvalidParams{Context: "StartDataIngestionJobInput"}
  6292  	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
  6293  		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
  6294  	}
  6295  	if s.DatasetName == nil {
  6296  		invalidParams.Add(request.NewErrParamRequired("DatasetName"))
  6297  	}
  6298  	if s.DatasetName != nil && len(*s.DatasetName) < 1 {
  6299  		invalidParams.Add(request.NewErrParamMinLen("DatasetName", 1))
  6300  	}
  6301  	if s.IngestionInputConfiguration == nil {
  6302  		invalidParams.Add(request.NewErrParamRequired("IngestionInputConfiguration"))
  6303  	}
  6304  	if s.RoleArn == nil {
  6305  		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
  6306  	}
  6307  	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
  6308  		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
  6309  	}
  6310  	if s.IngestionInputConfiguration != nil {
  6311  		if err := s.IngestionInputConfiguration.Validate(); err != nil {
  6312  			invalidParams.AddNested("IngestionInputConfiguration", err.(request.ErrInvalidParams))
  6313  		}
  6314  	}
  6315  
  6316  	if invalidParams.Len() > 0 {
  6317  		return invalidParams
  6318  	}
  6319  	return nil
  6320  }
  6321  
  6322  // SetClientToken sets the ClientToken field's value.
  6323  func (s *StartDataIngestionJobInput) SetClientToken(v string) *StartDataIngestionJobInput {
  6324  	s.ClientToken = &v
  6325  	return s
  6326  }
  6327  
  6328  // SetDatasetName sets the DatasetName field's value.
  6329  func (s *StartDataIngestionJobInput) SetDatasetName(v string) *StartDataIngestionJobInput {
  6330  	s.DatasetName = &v
  6331  	return s
  6332  }
  6333  
  6334  // SetIngestionInputConfiguration sets the IngestionInputConfiguration field's value.
  6335  func (s *StartDataIngestionJobInput) SetIngestionInputConfiguration(v *IngestionInputConfiguration) *StartDataIngestionJobInput {
  6336  	s.IngestionInputConfiguration = v
  6337  	return s
  6338  }
  6339  
  6340  // SetRoleArn sets the RoleArn field's value.
  6341  func (s *StartDataIngestionJobInput) SetRoleArn(v string) *StartDataIngestionJobInput {
  6342  	s.RoleArn = &v
  6343  	return s
  6344  }
  6345  
  6346  type StartDataIngestionJobOutput struct {
  6347  	_ struct{} `type:"structure"`
  6348  
  6349  	// Indicates the job ID of the data ingestion job.
  6350  	JobId *string `type:"string"`
  6351  
  6352  	// Indicates the status of the StartDataIngestionJob operation.
  6353  	Status *string `type:"string" enum:"IngestionJobStatus"`
  6354  }
  6355  
  6356  // String returns the string representation.
  6357  //
  6358  // API parameter values that are decorated as "sensitive" in the API will not
  6359  // be included in the string output. The member name will be present, but the
  6360  // value will be replaced with "sensitive".
  6361  func (s StartDataIngestionJobOutput) String() string {
  6362  	return awsutil.Prettify(s)
  6363  }
  6364  
  6365  // GoString returns the string representation.
  6366  //
  6367  // API parameter values that are decorated as "sensitive" in the API will not
  6368  // be included in the string output. The member name will be present, but the
  6369  // value will be replaced with "sensitive".
  6370  func (s StartDataIngestionJobOutput) GoString() string {
  6371  	return s.String()
  6372  }
  6373  
  6374  // SetJobId sets the JobId field's value.
  6375  func (s *StartDataIngestionJobOutput) SetJobId(v string) *StartDataIngestionJobOutput {
  6376  	s.JobId = &v
  6377  	return s
  6378  }
  6379  
  6380  // SetStatus sets the Status field's value.
  6381  func (s *StartDataIngestionJobOutput) SetStatus(v string) *StartDataIngestionJobOutput {
  6382  	s.Status = &v
  6383  	return s
  6384  }
  6385  
  6386  type StartInferenceSchedulerInput struct {
  6387  	_ struct{} `type:"structure"`
  6388  
  6389  	// The name of the inference scheduler to be started.
  6390  	//
  6391  	// InferenceSchedulerName is a required field
  6392  	InferenceSchedulerName *string `min:"1" type:"string" required:"true"`
  6393  }
  6394  
  6395  // String returns the string representation.
  6396  //
  6397  // API parameter values that are decorated as "sensitive" in the API will not
  6398  // be included in the string output. The member name will be present, but the
  6399  // value will be replaced with "sensitive".
  6400  func (s StartInferenceSchedulerInput) String() string {
  6401  	return awsutil.Prettify(s)
  6402  }
  6403  
  6404  // GoString returns the string representation.
  6405  //
  6406  // API parameter values that are decorated as "sensitive" in the API will not
  6407  // be included in the string output. The member name will be present, but the
  6408  // value will be replaced with "sensitive".
  6409  func (s StartInferenceSchedulerInput) GoString() string {
  6410  	return s.String()
  6411  }
  6412  
  6413  // Validate inspects the fields of the type to determine if they are valid.
  6414  func (s *StartInferenceSchedulerInput) Validate() error {
  6415  	invalidParams := request.ErrInvalidParams{Context: "StartInferenceSchedulerInput"}
  6416  	if s.InferenceSchedulerName == nil {
  6417  		invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName"))
  6418  	}
  6419  	if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 {
  6420  		invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1))
  6421  	}
  6422  
  6423  	if invalidParams.Len() > 0 {
  6424  		return invalidParams
  6425  	}
  6426  	return nil
  6427  }
  6428  
  6429  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  6430  func (s *StartInferenceSchedulerInput) SetInferenceSchedulerName(v string) *StartInferenceSchedulerInput {
  6431  	s.InferenceSchedulerName = &v
  6432  	return s
  6433  }
  6434  
  6435  type StartInferenceSchedulerOutput struct {
  6436  	_ struct{} `type:"structure"`
  6437  
  6438  	// The Amazon Resource Name (ARN) of the inference scheduler being started.
  6439  	InferenceSchedulerArn *string `min:"20" type:"string"`
  6440  
  6441  	// The name of the inference scheduler being started.
  6442  	InferenceSchedulerName *string `min:"1" type:"string"`
  6443  
  6444  	// The Amazon Resource Name (ARN) of the ML model being used by the inference
  6445  	// scheduler.
  6446  	ModelArn *string `min:"20" type:"string"`
  6447  
  6448  	// The name of the ML model being used by the inference scheduler.
  6449  	ModelName *string `min:"1" type:"string"`
  6450  
  6451  	// Indicates the status of the inference scheduler.
  6452  	Status *string `type:"string" enum:"InferenceSchedulerStatus"`
  6453  }
  6454  
  6455  // String returns the string representation.
  6456  //
  6457  // API parameter values that are decorated as "sensitive" in the API will not
  6458  // be included in the string output. The member name will be present, but the
  6459  // value will be replaced with "sensitive".
  6460  func (s StartInferenceSchedulerOutput) String() string {
  6461  	return awsutil.Prettify(s)
  6462  }
  6463  
  6464  // GoString returns the string representation.
  6465  //
  6466  // API parameter values that are decorated as "sensitive" in the API will not
  6467  // be included in the string output. The member name will be present, but the
  6468  // value will be replaced with "sensitive".
  6469  func (s StartInferenceSchedulerOutput) GoString() string {
  6470  	return s.String()
  6471  }
  6472  
  6473  // SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value.
  6474  func (s *StartInferenceSchedulerOutput) SetInferenceSchedulerArn(v string) *StartInferenceSchedulerOutput {
  6475  	s.InferenceSchedulerArn = &v
  6476  	return s
  6477  }
  6478  
  6479  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  6480  func (s *StartInferenceSchedulerOutput) SetInferenceSchedulerName(v string) *StartInferenceSchedulerOutput {
  6481  	s.InferenceSchedulerName = &v
  6482  	return s
  6483  }
  6484  
  6485  // SetModelArn sets the ModelArn field's value.
  6486  func (s *StartInferenceSchedulerOutput) SetModelArn(v string) *StartInferenceSchedulerOutput {
  6487  	s.ModelArn = &v
  6488  	return s
  6489  }
  6490  
  6491  // SetModelName sets the ModelName field's value.
  6492  func (s *StartInferenceSchedulerOutput) SetModelName(v string) *StartInferenceSchedulerOutput {
  6493  	s.ModelName = &v
  6494  	return s
  6495  }
  6496  
  6497  // SetStatus sets the Status field's value.
  6498  func (s *StartInferenceSchedulerOutput) SetStatus(v string) *StartInferenceSchedulerOutput {
  6499  	s.Status = &v
  6500  	return s
  6501  }
  6502  
  6503  type StopInferenceSchedulerInput struct {
  6504  	_ struct{} `type:"structure"`
  6505  
  6506  	// The name of the inference scheduler to be stopped.
  6507  	//
  6508  	// InferenceSchedulerName is a required field
  6509  	InferenceSchedulerName *string `min:"1" type:"string" required:"true"`
  6510  }
  6511  
  6512  // String returns the string representation.
  6513  //
  6514  // API parameter values that are decorated as "sensitive" in the API will not
  6515  // be included in the string output. The member name will be present, but the
  6516  // value will be replaced with "sensitive".
  6517  func (s StopInferenceSchedulerInput) String() string {
  6518  	return awsutil.Prettify(s)
  6519  }
  6520  
  6521  // GoString returns the string representation.
  6522  //
  6523  // API parameter values that are decorated as "sensitive" in the API will not
  6524  // be included in the string output. The member name will be present, but the
  6525  // value will be replaced with "sensitive".
  6526  func (s StopInferenceSchedulerInput) GoString() string {
  6527  	return s.String()
  6528  }
  6529  
  6530  // Validate inspects the fields of the type to determine if they are valid.
  6531  func (s *StopInferenceSchedulerInput) Validate() error {
  6532  	invalidParams := request.ErrInvalidParams{Context: "StopInferenceSchedulerInput"}
  6533  	if s.InferenceSchedulerName == nil {
  6534  		invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName"))
  6535  	}
  6536  	if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 {
  6537  		invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1))
  6538  	}
  6539  
  6540  	if invalidParams.Len() > 0 {
  6541  		return invalidParams
  6542  	}
  6543  	return nil
  6544  }
  6545  
  6546  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  6547  func (s *StopInferenceSchedulerInput) SetInferenceSchedulerName(v string) *StopInferenceSchedulerInput {
  6548  	s.InferenceSchedulerName = &v
  6549  	return s
  6550  }
  6551  
  6552  type StopInferenceSchedulerOutput struct {
  6553  	_ struct{} `type:"structure"`
  6554  
  6555  	// The Amazon Resource Name (ARN) of the inference schedule being stopped.
  6556  	InferenceSchedulerArn *string `min:"20" type:"string"`
  6557  
  6558  	// The name of the inference scheduler being stopped.
  6559  	InferenceSchedulerName *string `min:"1" type:"string"`
  6560  
  6561  	// The Amazon Resource Name (ARN) of the ML model used by the inference scheduler
  6562  	// being stopped.
  6563  	ModelArn *string `min:"20" type:"string"`
  6564  
  6565  	// The name of the ML model used by the inference scheduler being stopped.
  6566  	ModelName *string `min:"1" type:"string"`
  6567  
  6568  	// Indicates the status of the inference scheduler.
  6569  	Status *string `type:"string" enum:"InferenceSchedulerStatus"`
  6570  }
  6571  
  6572  // String returns the string representation.
  6573  //
  6574  // API parameter values that are decorated as "sensitive" in the API will not
  6575  // be included in the string output. The member name will be present, but the
  6576  // value will be replaced with "sensitive".
  6577  func (s StopInferenceSchedulerOutput) String() string {
  6578  	return awsutil.Prettify(s)
  6579  }
  6580  
  6581  // GoString returns the string representation.
  6582  //
  6583  // API parameter values that are decorated as "sensitive" in the API will not
  6584  // be included in the string output. The member name will be present, but the
  6585  // value will be replaced with "sensitive".
  6586  func (s StopInferenceSchedulerOutput) GoString() string {
  6587  	return s.String()
  6588  }
  6589  
  6590  // SetInferenceSchedulerArn sets the InferenceSchedulerArn field's value.
  6591  func (s *StopInferenceSchedulerOutput) SetInferenceSchedulerArn(v string) *StopInferenceSchedulerOutput {
  6592  	s.InferenceSchedulerArn = &v
  6593  	return s
  6594  }
  6595  
  6596  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  6597  func (s *StopInferenceSchedulerOutput) SetInferenceSchedulerName(v string) *StopInferenceSchedulerOutput {
  6598  	s.InferenceSchedulerName = &v
  6599  	return s
  6600  }
  6601  
  6602  // SetModelArn sets the ModelArn field's value.
  6603  func (s *StopInferenceSchedulerOutput) SetModelArn(v string) *StopInferenceSchedulerOutput {
  6604  	s.ModelArn = &v
  6605  	return s
  6606  }
  6607  
  6608  // SetModelName sets the ModelName field's value.
  6609  func (s *StopInferenceSchedulerOutput) SetModelName(v string) *StopInferenceSchedulerOutput {
  6610  	s.ModelName = &v
  6611  	return s
  6612  }
  6613  
  6614  // SetStatus sets the Status field's value.
  6615  func (s *StopInferenceSchedulerOutput) SetStatus(v string) *StopInferenceSchedulerOutput {
  6616  	s.Status = &v
  6617  	return s
  6618  }
  6619  
  6620  // A tag is a key-value pair that can be added to a resource as metadata.
  6621  type Tag struct {
  6622  	_ struct{} `type:"structure"`
  6623  
  6624  	// The key for the specified tag.
  6625  	//
  6626  	// Key is a required field
  6627  	Key *string `min:"1" type:"string" required:"true"`
  6628  
  6629  	// The value for the specified tag.
  6630  	//
  6631  	// Value is a required field
  6632  	Value *string `type:"string" required:"true"`
  6633  }
  6634  
  6635  // String returns the string representation.
  6636  //
  6637  // API parameter values that are decorated as "sensitive" in the API will not
  6638  // be included in the string output. The member name will be present, but the
  6639  // value will be replaced with "sensitive".
  6640  func (s Tag) String() string {
  6641  	return awsutil.Prettify(s)
  6642  }
  6643  
  6644  // GoString returns the string representation.
  6645  //
  6646  // API parameter values that are decorated as "sensitive" in the API will not
  6647  // be included in the string output. The member name will be present, but the
  6648  // value will be replaced with "sensitive".
  6649  func (s Tag) GoString() string {
  6650  	return s.String()
  6651  }
  6652  
  6653  // Validate inspects the fields of the type to determine if they are valid.
  6654  func (s *Tag) Validate() error {
  6655  	invalidParams := request.ErrInvalidParams{Context: "Tag"}
  6656  	if s.Key == nil {
  6657  		invalidParams.Add(request.NewErrParamRequired("Key"))
  6658  	}
  6659  	if s.Key != nil && len(*s.Key) < 1 {
  6660  		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
  6661  	}
  6662  	if s.Value == nil {
  6663  		invalidParams.Add(request.NewErrParamRequired("Value"))
  6664  	}
  6665  
  6666  	if invalidParams.Len() > 0 {
  6667  		return invalidParams
  6668  	}
  6669  	return nil
  6670  }
  6671  
  6672  // SetKey sets the Key field's value.
  6673  func (s *Tag) SetKey(v string) *Tag {
  6674  	s.Key = &v
  6675  	return s
  6676  }
  6677  
  6678  // SetValue sets the Value field's value.
  6679  func (s *Tag) SetValue(v string) *Tag {
  6680  	s.Value = &v
  6681  	return s
  6682  }
  6683  
  6684  type TagResourceInput struct {
  6685  	_ struct{} `type:"structure"`
  6686  
  6687  	// The Amazon Resource Name (ARN) of the specific resource to which the tag
  6688  	// should be associated.
  6689  	//
  6690  	// ResourceArn is a required field
  6691  	ResourceArn *string `min:"1" type:"string" required:"true"`
  6692  
  6693  	// The tag or tags to be associated with a specific resource. Both the tag key
  6694  	// and value are specified.
  6695  	//
  6696  	// Tags is a required field
  6697  	Tags []*Tag `type:"list" required:"true"`
  6698  }
  6699  
  6700  // String returns the string representation.
  6701  //
  6702  // API parameter values that are decorated as "sensitive" in the API will not
  6703  // be included in the string output. The member name will be present, but the
  6704  // value will be replaced with "sensitive".
  6705  func (s TagResourceInput) String() string {
  6706  	return awsutil.Prettify(s)
  6707  }
  6708  
  6709  // GoString returns the string representation.
  6710  //
  6711  // API parameter values that are decorated as "sensitive" in the API will not
  6712  // be included in the string output. The member name will be present, but the
  6713  // value will be replaced with "sensitive".
  6714  func (s TagResourceInput) GoString() string {
  6715  	return s.String()
  6716  }
  6717  
  6718  // Validate inspects the fields of the type to determine if they are valid.
  6719  func (s *TagResourceInput) Validate() error {
  6720  	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
  6721  	if s.ResourceArn == nil {
  6722  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  6723  	}
  6724  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
  6725  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
  6726  	}
  6727  	if s.Tags == nil {
  6728  		invalidParams.Add(request.NewErrParamRequired("Tags"))
  6729  	}
  6730  	if s.Tags != nil {
  6731  		for i, v := range s.Tags {
  6732  			if v == nil {
  6733  				continue
  6734  			}
  6735  			if err := v.Validate(); err != nil {
  6736  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
  6737  			}
  6738  		}
  6739  	}
  6740  
  6741  	if invalidParams.Len() > 0 {
  6742  		return invalidParams
  6743  	}
  6744  	return nil
  6745  }
  6746  
  6747  // SetResourceArn sets the ResourceArn field's value.
  6748  func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
  6749  	s.ResourceArn = &v
  6750  	return s
  6751  }
  6752  
  6753  // SetTags sets the Tags field's value.
  6754  func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
  6755  	s.Tags = v
  6756  	return s
  6757  }
  6758  
  6759  type TagResourceOutput struct {
  6760  	_ struct{} `type:"structure"`
  6761  }
  6762  
  6763  // String returns the string representation.
  6764  //
  6765  // API parameter values that are decorated as "sensitive" in the API will not
  6766  // be included in the string output. The member name will be present, but the
  6767  // value will be replaced with "sensitive".
  6768  func (s TagResourceOutput) String() string {
  6769  	return awsutil.Prettify(s)
  6770  }
  6771  
  6772  // GoString returns the string representation.
  6773  //
  6774  // API parameter values that are decorated as "sensitive" in the API will not
  6775  // be included in the string output. The member name will be present, but the
  6776  // value will be replaced with "sensitive".
  6777  func (s TagResourceOutput) GoString() string {
  6778  	return s.String()
  6779  }
  6780  
  6781  // The request was denied due to request throttling.
  6782  type ThrottlingException struct {
  6783  	_            struct{}                  `type:"structure"`
  6784  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  6785  
  6786  	Message_ *string `locationName:"Message" min:"1" type:"string"`
  6787  }
  6788  
  6789  // String returns the string representation.
  6790  //
  6791  // API parameter values that are decorated as "sensitive" in the API will not
  6792  // be included in the string output. The member name will be present, but the
  6793  // value will be replaced with "sensitive".
  6794  func (s ThrottlingException) String() string {
  6795  	return awsutil.Prettify(s)
  6796  }
  6797  
  6798  // GoString returns the string representation.
  6799  //
  6800  // API parameter values that are decorated as "sensitive" in the API will not
  6801  // be included in the string output. The member name will be present, but the
  6802  // value will be replaced with "sensitive".
  6803  func (s ThrottlingException) GoString() string {
  6804  	return s.String()
  6805  }
  6806  
  6807  func newErrorThrottlingException(v protocol.ResponseMetadata) error {
  6808  	return &ThrottlingException{
  6809  		RespMetadata: v,
  6810  	}
  6811  }
  6812  
  6813  // Code returns the exception type name.
  6814  func (s *ThrottlingException) Code() string {
  6815  	return "ThrottlingException"
  6816  }
  6817  
  6818  // Message returns the exception's message.
  6819  func (s *ThrottlingException) Message() string {
  6820  	if s.Message_ != nil {
  6821  		return *s.Message_
  6822  	}
  6823  	return ""
  6824  }
  6825  
  6826  // OrigErr always returns nil, satisfies awserr.Error interface.
  6827  func (s *ThrottlingException) OrigErr() error {
  6828  	return nil
  6829  }
  6830  
  6831  func (s *ThrottlingException) Error() string {
  6832  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  6833  }
  6834  
  6835  // Status code returns the HTTP status code for the request's response error.
  6836  func (s *ThrottlingException) StatusCode() int {
  6837  	return s.RespMetadata.StatusCode
  6838  }
  6839  
  6840  // RequestID returns the service's response RequestID for request.
  6841  func (s *ThrottlingException) RequestID() string {
  6842  	return s.RespMetadata.RequestID
  6843  }
  6844  
  6845  type UntagResourceInput struct {
  6846  	_ struct{} `type:"structure"`
  6847  
  6848  	// The Amazon Resource Name (ARN) of the resource to which the tag is currently
  6849  	// associated.
  6850  	//
  6851  	// ResourceArn is a required field
  6852  	ResourceArn *string `min:"1" type:"string" required:"true"`
  6853  
  6854  	// Specifies the key of the tag to be removed from a specified resource.
  6855  	//
  6856  	// TagKeys is a required field
  6857  	TagKeys []*string `type:"list" required:"true"`
  6858  }
  6859  
  6860  // String returns the string representation.
  6861  //
  6862  // API parameter values that are decorated as "sensitive" in the API will not
  6863  // be included in the string output. The member name will be present, but the
  6864  // value will be replaced with "sensitive".
  6865  func (s UntagResourceInput) String() string {
  6866  	return awsutil.Prettify(s)
  6867  }
  6868  
  6869  // GoString returns the string representation.
  6870  //
  6871  // API parameter values that are decorated as "sensitive" in the API will not
  6872  // be included in the string output. The member name will be present, but the
  6873  // value will be replaced with "sensitive".
  6874  func (s UntagResourceInput) GoString() string {
  6875  	return s.String()
  6876  }
  6877  
  6878  // Validate inspects the fields of the type to determine if they are valid.
  6879  func (s *UntagResourceInput) Validate() error {
  6880  	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
  6881  	if s.ResourceArn == nil {
  6882  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  6883  	}
  6884  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
  6885  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
  6886  	}
  6887  	if s.TagKeys == nil {
  6888  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
  6889  	}
  6890  
  6891  	if invalidParams.Len() > 0 {
  6892  		return invalidParams
  6893  	}
  6894  	return nil
  6895  }
  6896  
  6897  // SetResourceArn sets the ResourceArn field's value.
  6898  func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
  6899  	s.ResourceArn = &v
  6900  	return s
  6901  }
  6902  
  6903  // SetTagKeys sets the TagKeys field's value.
  6904  func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
  6905  	s.TagKeys = v
  6906  	return s
  6907  }
  6908  
  6909  type UntagResourceOutput struct {
  6910  	_ struct{} `type:"structure"`
  6911  }
  6912  
  6913  // String returns the string representation.
  6914  //
  6915  // API parameter values that are decorated as "sensitive" in the API will not
  6916  // be included in the string output. The member name will be present, but the
  6917  // value will be replaced with "sensitive".
  6918  func (s UntagResourceOutput) String() string {
  6919  	return awsutil.Prettify(s)
  6920  }
  6921  
  6922  // GoString returns the string representation.
  6923  //
  6924  // API parameter values that are decorated as "sensitive" in the API will not
  6925  // be included in the string output. The member name will be present, but the
  6926  // value will be replaced with "sensitive".
  6927  func (s UntagResourceOutput) GoString() string {
  6928  	return s.String()
  6929  }
  6930  
  6931  type UpdateInferenceSchedulerInput struct {
  6932  	_ struct{} `type:"structure"`
  6933  
  6934  	// A period of time (in minutes) by which inference on the data is delayed after
  6935  	// the data starts. For instance, if you select an offset delay time of five
  6936  	// minutes, inference will not begin on the data until the first data measurement
  6937  	// after the five minute mark. For example, if five minutes is selected, the
  6938  	// inference scheduler will wake up at the configured frequency with the additional
  6939  	// five minute delay time to check the customer S3 bucket. The customer can
  6940  	// upload data at the same frequency and they don't need to stop and restart
  6941  	// the scheduler when uploading new data.
  6942  	DataDelayOffsetInMinutes *int64 `type:"long"`
  6943  
  6944  	// Specifies information for the input data for the inference scheduler, including
  6945  	// delimiter, format, and dataset location.
  6946  	DataInputConfiguration *InferenceInputConfiguration `type:"structure"`
  6947  
  6948  	// Specifies information for the output results from the inference scheduler,
  6949  	// including the output S3 location.
  6950  	DataOutputConfiguration *InferenceOutputConfiguration `type:"structure"`
  6951  
  6952  	// How often data is uploaded to the source S3 bucket for the input data. The
  6953  	// value chosen is the length of time between data uploads. For instance, if
  6954  	// you select 5 minutes, Amazon Lookout for Equipment will upload the real-time
  6955  	// data to the source bucket once every 5 minutes. This frequency also determines
  6956  	// how often Amazon Lookout for Equipment starts a scheduled inference on your
  6957  	// data. In this example, it starts once every 5 minutes.
  6958  	DataUploadFrequency *string `type:"string" enum:"DataUploadFrequency"`
  6959  
  6960  	// The name of the inference scheduler to be updated.
  6961  	//
  6962  	// InferenceSchedulerName is a required field
  6963  	InferenceSchedulerName *string `min:"1" type:"string" required:"true"`
  6964  
  6965  	// The Amazon Resource Name (ARN) of a role with permission to access the data
  6966  	// source for the inference scheduler.
  6967  	RoleArn *string `min:"20" type:"string"`
  6968  }
  6969  
  6970  // String returns the string representation.
  6971  //
  6972  // API parameter values that are decorated as "sensitive" in the API will not
  6973  // be included in the string output. The member name will be present, but the
  6974  // value will be replaced with "sensitive".
  6975  func (s UpdateInferenceSchedulerInput) String() string {
  6976  	return awsutil.Prettify(s)
  6977  }
  6978  
  6979  // GoString returns the string representation.
  6980  //
  6981  // API parameter values that are decorated as "sensitive" in the API will not
  6982  // be included in the string output. The member name will be present, but the
  6983  // value will be replaced with "sensitive".
  6984  func (s UpdateInferenceSchedulerInput) GoString() string {
  6985  	return s.String()
  6986  }
  6987  
  6988  // Validate inspects the fields of the type to determine if they are valid.
  6989  func (s *UpdateInferenceSchedulerInput) Validate() error {
  6990  	invalidParams := request.ErrInvalidParams{Context: "UpdateInferenceSchedulerInput"}
  6991  	if s.InferenceSchedulerName == nil {
  6992  		invalidParams.Add(request.NewErrParamRequired("InferenceSchedulerName"))
  6993  	}
  6994  	if s.InferenceSchedulerName != nil && len(*s.InferenceSchedulerName) < 1 {
  6995  		invalidParams.Add(request.NewErrParamMinLen("InferenceSchedulerName", 1))
  6996  	}
  6997  	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
  6998  		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
  6999  	}
  7000  	if s.DataInputConfiguration != nil {
  7001  		if err := s.DataInputConfiguration.Validate(); err != nil {
  7002  			invalidParams.AddNested("DataInputConfiguration", err.(request.ErrInvalidParams))
  7003  		}
  7004  	}
  7005  	if s.DataOutputConfiguration != nil {
  7006  		if err := s.DataOutputConfiguration.Validate(); err != nil {
  7007  			invalidParams.AddNested("DataOutputConfiguration", err.(request.ErrInvalidParams))
  7008  		}
  7009  	}
  7010  
  7011  	if invalidParams.Len() > 0 {
  7012  		return invalidParams
  7013  	}
  7014  	return nil
  7015  }
  7016  
  7017  // SetDataDelayOffsetInMinutes sets the DataDelayOffsetInMinutes field's value.
  7018  func (s *UpdateInferenceSchedulerInput) SetDataDelayOffsetInMinutes(v int64) *UpdateInferenceSchedulerInput {
  7019  	s.DataDelayOffsetInMinutes = &v
  7020  	return s
  7021  }
  7022  
  7023  // SetDataInputConfiguration sets the DataInputConfiguration field's value.
  7024  func (s *UpdateInferenceSchedulerInput) SetDataInputConfiguration(v *InferenceInputConfiguration) *UpdateInferenceSchedulerInput {
  7025  	s.DataInputConfiguration = v
  7026  	return s
  7027  }
  7028  
  7029  // SetDataOutputConfiguration sets the DataOutputConfiguration field's value.
  7030  func (s *UpdateInferenceSchedulerInput) SetDataOutputConfiguration(v *InferenceOutputConfiguration) *UpdateInferenceSchedulerInput {
  7031  	s.DataOutputConfiguration = v
  7032  	return s
  7033  }
  7034  
  7035  // SetDataUploadFrequency sets the DataUploadFrequency field's value.
  7036  func (s *UpdateInferenceSchedulerInput) SetDataUploadFrequency(v string) *UpdateInferenceSchedulerInput {
  7037  	s.DataUploadFrequency = &v
  7038  	return s
  7039  }
  7040  
  7041  // SetInferenceSchedulerName sets the InferenceSchedulerName field's value.
  7042  func (s *UpdateInferenceSchedulerInput) SetInferenceSchedulerName(v string) *UpdateInferenceSchedulerInput {
  7043  	s.InferenceSchedulerName = &v
  7044  	return s
  7045  }
  7046  
  7047  // SetRoleArn sets the RoleArn field's value.
  7048  func (s *UpdateInferenceSchedulerInput) SetRoleArn(v string) *UpdateInferenceSchedulerInput {
  7049  	s.RoleArn = &v
  7050  	return s
  7051  }
  7052  
  7053  type UpdateInferenceSchedulerOutput struct {
  7054  	_ struct{} `type:"structure"`
  7055  }
  7056  
  7057  // String returns the string representation.
  7058  //
  7059  // API parameter values that are decorated as "sensitive" in the API will not
  7060  // be included in the string output. The member name will be present, but the
  7061  // value will be replaced with "sensitive".
  7062  func (s UpdateInferenceSchedulerOutput) String() string {
  7063  	return awsutil.Prettify(s)
  7064  }
  7065  
  7066  // GoString returns the string representation.
  7067  //
  7068  // API parameter values that are decorated as "sensitive" in the API will not
  7069  // be included in the string output. The member name will be present, but the
  7070  // value will be replaced with "sensitive".
  7071  func (s UpdateInferenceSchedulerOutput) GoString() string {
  7072  	return s.String()
  7073  }
  7074  
  7075  // The input fails to satisfy constraints specified by Amazon Lookout for Equipment
  7076  // or a related AWS service that's being utilized.
  7077  type ValidationException struct {
  7078  	_            struct{}                  `type:"structure"`
  7079  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  7080  
  7081  	Message_ *string `locationName:"Message" min:"1" type:"string"`
  7082  }
  7083  
  7084  // String returns the string representation.
  7085  //
  7086  // API parameter values that are decorated as "sensitive" in the API will not
  7087  // be included in the string output. The member name will be present, but the
  7088  // value will be replaced with "sensitive".
  7089  func (s ValidationException) String() string {
  7090  	return awsutil.Prettify(s)
  7091  }
  7092  
  7093  // GoString returns the string representation.
  7094  //
  7095  // API parameter values that are decorated as "sensitive" in the API will not
  7096  // be included in the string output. The member name will be present, but the
  7097  // value will be replaced with "sensitive".
  7098  func (s ValidationException) GoString() string {
  7099  	return s.String()
  7100  }
  7101  
  7102  func newErrorValidationException(v protocol.ResponseMetadata) error {
  7103  	return &ValidationException{
  7104  		RespMetadata: v,
  7105  	}
  7106  }
  7107  
  7108  // Code returns the exception type name.
  7109  func (s *ValidationException) Code() string {
  7110  	return "ValidationException"
  7111  }
  7112  
  7113  // Message returns the exception's message.
  7114  func (s *ValidationException) Message() string {
  7115  	if s.Message_ != nil {
  7116  		return *s.Message_
  7117  	}
  7118  	return ""
  7119  }
  7120  
  7121  // OrigErr always returns nil, satisfies awserr.Error interface.
  7122  func (s *ValidationException) OrigErr() error {
  7123  	return nil
  7124  }
  7125  
  7126  func (s *ValidationException) Error() string {
  7127  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  7128  }
  7129  
  7130  // Status code returns the HTTP status code for the request's response error.
  7131  func (s *ValidationException) StatusCode() int {
  7132  	return s.RespMetadata.StatusCode
  7133  }
  7134  
  7135  // RequestID returns the service's response RequestID for request.
  7136  func (s *ValidationException) RequestID() string {
  7137  	return s.RespMetadata.RequestID
  7138  }
  7139  
  7140  const (
  7141  	// DataUploadFrequencyPt5m is a DataUploadFrequency enum value
  7142  	DataUploadFrequencyPt5m = "PT5M"
  7143  
  7144  	// DataUploadFrequencyPt10m is a DataUploadFrequency enum value
  7145  	DataUploadFrequencyPt10m = "PT10M"
  7146  
  7147  	// DataUploadFrequencyPt15m is a DataUploadFrequency enum value
  7148  	DataUploadFrequencyPt15m = "PT15M"
  7149  
  7150  	// DataUploadFrequencyPt30m is a DataUploadFrequency enum value
  7151  	DataUploadFrequencyPt30m = "PT30M"
  7152  
  7153  	// DataUploadFrequencyPt1h is a DataUploadFrequency enum value
  7154  	DataUploadFrequencyPt1h = "PT1H"
  7155  )
  7156  
  7157  // DataUploadFrequency_Values returns all elements of the DataUploadFrequency enum
  7158  func DataUploadFrequency_Values() []string {
  7159  	return []string{
  7160  		DataUploadFrequencyPt5m,
  7161  		DataUploadFrequencyPt10m,
  7162  		DataUploadFrequencyPt15m,
  7163  		DataUploadFrequencyPt30m,
  7164  		DataUploadFrequencyPt1h,
  7165  	}
  7166  }
  7167  
  7168  const (
  7169  	// DatasetStatusCreated is a DatasetStatus enum value
  7170  	DatasetStatusCreated = "CREATED"
  7171  
  7172  	// DatasetStatusIngestionInProgress is a DatasetStatus enum value
  7173  	DatasetStatusIngestionInProgress = "INGESTION_IN_PROGRESS"
  7174  
  7175  	// DatasetStatusActive is a DatasetStatus enum value
  7176  	DatasetStatusActive = "ACTIVE"
  7177  )
  7178  
  7179  // DatasetStatus_Values returns all elements of the DatasetStatus enum
  7180  func DatasetStatus_Values() []string {
  7181  	return []string{
  7182  		DatasetStatusCreated,
  7183  		DatasetStatusIngestionInProgress,
  7184  		DatasetStatusActive,
  7185  	}
  7186  }
  7187  
  7188  const (
  7189  	// InferenceExecutionStatusInProgress is a InferenceExecutionStatus enum value
  7190  	InferenceExecutionStatusInProgress = "IN_PROGRESS"
  7191  
  7192  	// InferenceExecutionStatusSuccess is a InferenceExecutionStatus enum value
  7193  	InferenceExecutionStatusSuccess = "SUCCESS"
  7194  
  7195  	// InferenceExecutionStatusFailed is a InferenceExecutionStatus enum value
  7196  	InferenceExecutionStatusFailed = "FAILED"
  7197  )
  7198  
  7199  // InferenceExecutionStatus_Values returns all elements of the InferenceExecutionStatus enum
  7200  func InferenceExecutionStatus_Values() []string {
  7201  	return []string{
  7202  		InferenceExecutionStatusInProgress,
  7203  		InferenceExecutionStatusSuccess,
  7204  		InferenceExecutionStatusFailed,
  7205  	}
  7206  }
  7207  
  7208  const (
  7209  	// InferenceSchedulerStatusPending is a InferenceSchedulerStatus enum value
  7210  	InferenceSchedulerStatusPending = "PENDING"
  7211  
  7212  	// InferenceSchedulerStatusRunning is a InferenceSchedulerStatus enum value
  7213  	InferenceSchedulerStatusRunning = "RUNNING"
  7214  
  7215  	// InferenceSchedulerStatusStopping is a InferenceSchedulerStatus enum value
  7216  	InferenceSchedulerStatusStopping = "STOPPING"
  7217  
  7218  	// InferenceSchedulerStatusStopped is a InferenceSchedulerStatus enum value
  7219  	InferenceSchedulerStatusStopped = "STOPPED"
  7220  )
  7221  
  7222  // InferenceSchedulerStatus_Values returns all elements of the InferenceSchedulerStatus enum
  7223  func InferenceSchedulerStatus_Values() []string {
  7224  	return []string{
  7225  		InferenceSchedulerStatusPending,
  7226  		InferenceSchedulerStatusRunning,
  7227  		InferenceSchedulerStatusStopping,
  7228  		InferenceSchedulerStatusStopped,
  7229  	}
  7230  }
  7231  
  7232  const (
  7233  	// IngestionJobStatusInProgress is a IngestionJobStatus enum value
  7234  	IngestionJobStatusInProgress = "IN_PROGRESS"
  7235  
  7236  	// IngestionJobStatusSuccess is a IngestionJobStatus enum value
  7237  	IngestionJobStatusSuccess = "SUCCESS"
  7238  
  7239  	// IngestionJobStatusFailed is a IngestionJobStatus enum value
  7240  	IngestionJobStatusFailed = "FAILED"
  7241  )
  7242  
  7243  // IngestionJobStatus_Values returns all elements of the IngestionJobStatus enum
  7244  func IngestionJobStatus_Values() []string {
  7245  	return []string{
  7246  		IngestionJobStatusInProgress,
  7247  		IngestionJobStatusSuccess,
  7248  		IngestionJobStatusFailed,
  7249  	}
  7250  }
  7251  
  7252  const (
  7253  	// ModelStatusInProgress is a ModelStatus enum value
  7254  	ModelStatusInProgress = "IN_PROGRESS"
  7255  
  7256  	// ModelStatusSuccess is a ModelStatus enum value
  7257  	ModelStatusSuccess = "SUCCESS"
  7258  
  7259  	// ModelStatusFailed is a ModelStatus enum value
  7260  	ModelStatusFailed = "FAILED"
  7261  )
  7262  
  7263  // ModelStatus_Values returns all elements of the ModelStatus enum
  7264  func ModelStatus_Values() []string {
  7265  	return []string{
  7266  		ModelStatusInProgress,
  7267  		ModelStatusSuccess,
  7268  		ModelStatusFailed,
  7269  	}
  7270  }
  7271  
  7272  const (
  7273  	// TargetSamplingRatePt1s is a TargetSamplingRate enum value
  7274  	TargetSamplingRatePt1s = "PT1S"
  7275  
  7276  	// TargetSamplingRatePt5s is a TargetSamplingRate enum value
  7277  	TargetSamplingRatePt5s = "PT5S"
  7278  
  7279  	// TargetSamplingRatePt10s is a TargetSamplingRate enum value
  7280  	TargetSamplingRatePt10s = "PT10S"
  7281  
  7282  	// TargetSamplingRatePt15s is a TargetSamplingRate enum value
  7283  	TargetSamplingRatePt15s = "PT15S"
  7284  
  7285  	// TargetSamplingRatePt30s is a TargetSamplingRate enum value
  7286  	TargetSamplingRatePt30s = "PT30S"
  7287  
  7288  	// TargetSamplingRatePt1m is a TargetSamplingRate enum value
  7289  	TargetSamplingRatePt1m = "PT1M"
  7290  
  7291  	// TargetSamplingRatePt5m is a TargetSamplingRate enum value
  7292  	TargetSamplingRatePt5m = "PT5M"
  7293  
  7294  	// TargetSamplingRatePt10m is a TargetSamplingRate enum value
  7295  	TargetSamplingRatePt10m = "PT10M"
  7296  
  7297  	// TargetSamplingRatePt15m is a TargetSamplingRate enum value
  7298  	TargetSamplingRatePt15m = "PT15M"
  7299  
  7300  	// TargetSamplingRatePt30m is a TargetSamplingRate enum value
  7301  	TargetSamplingRatePt30m = "PT30M"
  7302  
  7303  	// TargetSamplingRatePt1h is a TargetSamplingRate enum value
  7304  	TargetSamplingRatePt1h = "PT1H"
  7305  )
  7306  
  7307  // TargetSamplingRate_Values returns all elements of the TargetSamplingRate enum
  7308  func TargetSamplingRate_Values() []string {
  7309  	return []string{
  7310  		TargetSamplingRatePt1s,
  7311  		TargetSamplingRatePt5s,
  7312  		TargetSamplingRatePt10s,
  7313  		TargetSamplingRatePt15s,
  7314  		TargetSamplingRatePt30s,
  7315  		TargetSamplingRatePt1m,
  7316  		TargetSamplingRatePt5m,
  7317  		TargetSamplingRatePt10m,
  7318  		TargetSamplingRatePt15m,
  7319  		TargetSamplingRatePt30m,
  7320  		TargetSamplingRatePt1h,
  7321  	}
  7322  }