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

     1  // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
     2  
     3  package appflow
     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/restjson"
    14  )
    15  
    16  const opCreateConnectorProfile = "CreateConnectorProfile"
    17  
    18  // CreateConnectorProfileRequest generates a "aws/request.Request" representing the
    19  // client's request for the CreateConnectorProfile 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 CreateConnectorProfile for more information on using the CreateConnectorProfile
    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 CreateConnectorProfileRequest method.
    34  //    req, resp := client.CreateConnectorProfileRequest(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/appflow-2020-08-23/CreateConnectorProfile
    42  func (c *Appflow) CreateConnectorProfileRequest(input *CreateConnectorProfileInput) (req *request.Request, output *CreateConnectorProfileOutput) {
    43  	op := &request.Operation{
    44  		Name:       opCreateConnectorProfile,
    45  		HTTPMethod: "POST",
    46  		HTTPPath:   "/create-connector-profile",
    47  	}
    48  
    49  	if input == nil {
    50  		input = &CreateConnectorProfileInput{}
    51  	}
    52  
    53  	output = &CreateConnectorProfileOutput{}
    54  	req = c.newRequest(op, input, output)
    55  	return
    56  }
    57  
    58  // CreateConnectorProfile API operation for Amazon Appflow.
    59  //
    60  // Creates a new connector profile associated with your Amazon Web Services
    61  // account. There is a soft quota of 100 connector profiles per Amazon Web Services
    62  // account. If you need more connector profiles than this quota allows, you
    63  // can submit a request to the Amazon AppFlow team through the Amazon AppFlow
    64  // support channel.
    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 Appflow's
    71  // API operation CreateConnectorProfile for usage and error information.
    72  //
    73  // Returned Error Types:
    74  //   * ValidationException
    75  //   The request has invalid or missing parameters.
    76  //
    77  //   * ConflictException
    78  //   There was a conflict when processing the request (for example, a flow with
    79  //   the given name already exists within the account. Check for conflicting resource
    80  //   names and try again.
    81  //
    82  //   * ServiceQuotaExceededException
    83  //   The request would cause a service quota (such as the number of flows) to
    84  //   be exceeded.
    85  //
    86  //   * ConnectorAuthenticationException
    87  //   An error occurred when authenticating with the connector endpoint.
    88  //
    89  //   * InternalServerException
    90  //   An internal service error occurred during the processing of your request.
    91  //   Try again later.
    92  //
    93  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateConnectorProfile
    94  func (c *Appflow) CreateConnectorProfile(input *CreateConnectorProfileInput) (*CreateConnectorProfileOutput, error) {
    95  	req, out := c.CreateConnectorProfileRequest(input)
    96  	return out, req.Send()
    97  }
    98  
    99  // CreateConnectorProfileWithContext is the same as CreateConnectorProfile with the addition of
   100  // the ability to pass a context and additional request options.
   101  //
   102  // See CreateConnectorProfile for details on how to use this API operation.
   103  //
   104  // The context must be non-nil and will be used for request cancellation. If
   105  // the context is nil a panic will occur. In the future the SDK may create
   106  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   107  // for more information on using Contexts.
   108  func (c *Appflow) CreateConnectorProfileWithContext(ctx aws.Context, input *CreateConnectorProfileInput, opts ...request.Option) (*CreateConnectorProfileOutput, error) {
   109  	req, out := c.CreateConnectorProfileRequest(input)
   110  	req.SetContext(ctx)
   111  	req.ApplyOptions(opts...)
   112  	return out, req.Send()
   113  }
   114  
   115  const opCreateFlow = "CreateFlow"
   116  
   117  // CreateFlowRequest generates a "aws/request.Request" representing the
   118  // client's request for the CreateFlow operation. The "output" return
   119  // value will be populated with the request's response once the request completes
   120  // successfully.
   121  //
   122  // Use "Send" method on the returned Request to send the API call to the service.
   123  // the "output" return value is not valid until after Send returns without error.
   124  //
   125  // See CreateFlow for more information on using the CreateFlow
   126  // API call, and error handling.
   127  //
   128  // This method is useful when you want to inject custom logic or configuration
   129  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   130  //
   131  //
   132  //    // Example sending a request using the CreateFlowRequest method.
   133  //    req, resp := client.CreateFlowRequest(params)
   134  //
   135  //    err := req.Send()
   136  //    if err == nil { // resp is now filled
   137  //        fmt.Println(resp)
   138  //    }
   139  //
   140  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateFlow
   141  func (c *Appflow) CreateFlowRequest(input *CreateFlowInput) (req *request.Request, output *CreateFlowOutput) {
   142  	op := &request.Operation{
   143  		Name:       opCreateFlow,
   144  		HTTPMethod: "POST",
   145  		HTTPPath:   "/create-flow",
   146  	}
   147  
   148  	if input == nil {
   149  		input = &CreateFlowInput{}
   150  	}
   151  
   152  	output = &CreateFlowOutput{}
   153  	req = c.newRequest(op, input, output)
   154  	return
   155  }
   156  
   157  // CreateFlow API operation for Amazon Appflow.
   158  //
   159  // Enables your application to create a new flow using Amazon AppFlow. You must
   160  // create a connector profile before calling this API. Please note that the
   161  // Request Syntax below shows syntax for multiple destinations, however, you
   162  // can only transfer data to one item in this list at a time. Amazon AppFlow
   163  // does not currently support flows to multiple destinations at once.
   164  //
   165  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   166  // with awserr.Error's Code and Message methods to get detailed information about
   167  // the error.
   168  //
   169  // See the AWS API reference guide for Amazon Appflow's
   170  // API operation CreateFlow for usage and error information.
   171  //
   172  // Returned Error Types:
   173  //   * ValidationException
   174  //   The request has invalid or missing parameters.
   175  //
   176  //   * InternalServerException
   177  //   An internal service error occurred during the processing of your request.
   178  //   Try again later.
   179  //
   180  //   * ResourceNotFoundException
   181  //   The resource specified in the request (such as the source or destination
   182  //   connector profile) is not found.
   183  //
   184  //   * ServiceQuotaExceededException
   185  //   The request would cause a service quota (such as the number of flows) to
   186  //   be exceeded.
   187  //
   188  //   * ConflictException
   189  //   There was a conflict when processing the request (for example, a flow with
   190  //   the given name already exists within the account. Check for conflicting resource
   191  //   names and try again.
   192  //
   193  //   * ConnectorAuthenticationException
   194  //   An error occurred when authenticating with the connector endpoint.
   195  //
   196  //   * ConnectorServerException
   197  //   An error occurred when retrieving data from the connector endpoint.
   198  //
   199  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateFlow
   200  func (c *Appflow) CreateFlow(input *CreateFlowInput) (*CreateFlowOutput, error) {
   201  	req, out := c.CreateFlowRequest(input)
   202  	return out, req.Send()
   203  }
   204  
   205  // CreateFlowWithContext is the same as CreateFlow with the addition of
   206  // the ability to pass a context and additional request options.
   207  //
   208  // See CreateFlow for details on how to use this API operation.
   209  //
   210  // The context must be non-nil and will be used for request cancellation. If
   211  // the context is nil a panic will occur. In the future the SDK may create
   212  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   213  // for more information on using Contexts.
   214  func (c *Appflow) CreateFlowWithContext(ctx aws.Context, input *CreateFlowInput, opts ...request.Option) (*CreateFlowOutput, error) {
   215  	req, out := c.CreateFlowRequest(input)
   216  	req.SetContext(ctx)
   217  	req.ApplyOptions(opts...)
   218  	return out, req.Send()
   219  }
   220  
   221  const opDeleteConnectorProfile = "DeleteConnectorProfile"
   222  
   223  // DeleteConnectorProfileRequest generates a "aws/request.Request" representing the
   224  // client's request for the DeleteConnectorProfile operation. The "output" return
   225  // value will be populated with the request's response once the request completes
   226  // successfully.
   227  //
   228  // Use "Send" method on the returned Request to send the API call to the service.
   229  // the "output" return value is not valid until after Send returns without error.
   230  //
   231  // See DeleteConnectorProfile for more information on using the DeleteConnectorProfile
   232  // API call, and error handling.
   233  //
   234  // This method is useful when you want to inject custom logic or configuration
   235  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   236  //
   237  //
   238  //    // Example sending a request using the DeleteConnectorProfileRequest method.
   239  //    req, resp := client.DeleteConnectorProfileRequest(params)
   240  //
   241  //    err := req.Send()
   242  //    if err == nil { // resp is now filled
   243  //        fmt.Println(resp)
   244  //    }
   245  //
   246  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DeleteConnectorProfile
   247  func (c *Appflow) DeleteConnectorProfileRequest(input *DeleteConnectorProfileInput) (req *request.Request, output *DeleteConnectorProfileOutput) {
   248  	op := &request.Operation{
   249  		Name:       opDeleteConnectorProfile,
   250  		HTTPMethod: "POST",
   251  		HTTPPath:   "/delete-connector-profile",
   252  	}
   253  
   254  	if input == nil {
   255  		input = &DeleteConnectorProfileInput{}
   256  	}
   257  
   258  	output = &DeleteConnectorProfileOutput{}
   259  	req = c.newRequest(op, input, output)
   260  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   261  	return
   262  }
   263  
   264  // DeleteConnectorProfile API operation for Amazon Appflow.
   265  //
   266  // Enables you to delete an existing connector profile.
   267  //
   268  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   269  // with awserr.Error's Code and Message methods to get detailed information about
   270  // the error.
   271  //
   272  // See the AWS API reference guide for Amazon Appflow's
   273  // API operation DeleteConnectorProfile for usage and error information.
   274  //
   275  // Returned Error Types:
   276  //   * ResourceNotFoundException
   277  //   The resource specified in the request (such as the source or destination
   278  //   connector profile) is not found.
   279  //
   280  //   * ConflictException
   281  //   There was a conflict when processing the request (for example, a flow with
   282  //   the given name already exists within the account. Check for conflicting resource
   283  //   names and try again.
   284  //
   285  //   * InternalServerException
   286  //   An internal service error occurred during the processing of your request.
   287  //   Try again later.
   288  //
   289  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DeleteConnectorProfile
   290  func (c *Appflow) DeleteConnectorProfile(input *DeleteConnectorProfileInput) (*DeleteConnectorProfileOutput, error) {
   291  	req, out := c.DeleteConnectorProfileRequest(input)
   292  	return out, req.Send()
   293  }
   294  
   295  // DeleteConnectorProfileWithContext is the same as DeleteConnectorProfile with the addition of
   296  // the ability to pass a context and additional request options.
   297  //
   298  // See DeleteConnectorProfile for details on how to use this API operation.
   299  //
   300  // The context must be non-nil and will be used for request cancellation. If
   301  // the context is nil a panic will occur. In the future the SDK may create
   302  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   303  // for more information on using Contexts.
   304  func (c *Appflow) DeleteConnectorProfileWithContext(ctx aws.Context, input *DeleteConnectorProfileInput, opts ...request.Option) (*DeleteConnectorProfileOutput, error) {
   305  	req, out := c.DeleteConnectorProfileRequest(input)
   306  	req.SetContext(ctx)
   307  	req.ApplyOptions(opts...)
   308  	return out, req.Send()
   309  }
   310  
   311  const opDeleteFlow = "DeleteFlow"
   312  
   313  // DeleteFlowRequest generates a "aws/request.Request" representing the
   314  // client's request for the DeleteFlow operation. The "output" return
   315  // value will be populated with the request's response once the request completes
   316  // successfully.
   317  //
   318  // Use "Send" method on the returned Request to send the API call to the service.
   319  // the "output" return value is not valid until after Send returns without error.
   320  //
   321  // See DeleteFlow for more information on using the DeleteFlow
   322  // API call, and error handling.
   323  //
   324  // This method is useful when you want to inject custom logic or configuration
   325  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   326  //
   327  //
   328  //    // Example sending a request using the DeleteFlowRequest method.
   329  //    req, resp := client.DeleteFlowRequest(params)
   330  //
   331  //    err := req.Send()
   332  //    if err == nil { // resp is now filled
   333  //        fmt.Println(resp)
   334  //    }
   335  //
   336  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DeleteFlow
   337  func (c *Appflow) DeleteFlowRequest(input *DeleteFlowInput) (req *request.Request, output *DeleteFlowOutput) {
   338  	op := &request.Operation{
   339  		Name:       opDeleteFlow,
   340  		HTTPMethod: "POST",
   341  		HTTPPath:   "/delete-flow",
   342  	}
   343  
   344  	if input == nil {
   345  		input = &DeleteFlowInput{}
   346  	}
   347  
   348  	output = &DeleteFlowOutput{}
   349  	req = c.newRequest(op, input, output)
   350  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
   351  	return
   352  }
   353  
   354  // DeleteFlow API operation for Amazon Appflow.
   355  //
   356  // Enables your application to delete an existing flow. Before deleting the
   357  // flow, Amazon AppFlow validates the request by checking the flow configuration
   358  // and status. You can delete flows one at a time.
   359  //
   360  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   361  // with awserr.Error's Code and Message methods to get detailed information about
   362  // the error.
   363  //
   364  // See the AWS API reference guide for Amazon Appflow's
   365  // API operation DeleteFlow for usage and error information.
   366  //
   367  // Returned Error Types:
   368  //   * ResourceNotFoundException
   369  //   The resource specified in the request (such as the source or destination
   370  //   connector profile) is not found.
   371  //
   372  //   * ConflictException
   373  //   There was a conflict when processing the request (for example, a flow with
   374  //   the given name already exists within the account. Check for conflicting resource
   375  //   names and try again.
   376  //
   377  //   * InternalServerException
   378  //   An internal service error occurred during the processing of your request.
   379  //   Try again later.
   380  //
   381  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DeleteFlow
   382  func (c *Appflow) DeleteFlow(input *DeleteFlowInput) (*DeleteFlowOutput, error) {
   383  	req, out := c.DeleteFlowRequest(input)
   384  	return out, req.Send()
   385  }
   386  
   387  // DeleteFlowWithContext is the same as DeleteFlow with the addition of
   388  // the ability to pass a context and additional request options.
   389  //
   390  // See DeleteFlow for details on how to use this API operation.
   391  //
   392  // The context must be non-nil and will be used for request cancellation. If
   393  // the context is nil a panic will occur. In the future the SDK may create
   394  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   395  // for more information on using Contexts.
   396  func (c *Appflow) DeleteFlowWithContext(ctx aws.Context, input *DeleteFlowInput, opts ...request.Option) (*DeleteFlowOutput, error) {
   397  	req, out := c.DeleteFlowRequest(input)
   398  	req.SetContext(ctx)
   399  	req.ApplyOptions(opts...)
   400  	return out, req.Send()
   401  }
   402  
   403  const opDescribeConnectorEntity = "DescribeConnectorEntity"
   404  
   405  // DescribeConnectorEntityRequest generates a "aws/request.Request" representing the
   406  // client's request for the DescribeConnectorEntity operation. The "output" return
   407  // value will be populated with the request's response once the request completes
   408  // successfully.
   409  //
   410  // Use "Send" method on the returned Request to send the API call to the service.
   411  // the "output" return value is not valid until after Send returns without error.
   412  //
   413  // See DescribeConnectorEntity for more information on using the DescribeConnectorEntity
   414  // API call, and error handling.
   415  //
   416  // This method is useful when you want to inject custom logic or configuration
   417  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   418  //
   419  //
   420  //    // Example sending a request using the DescribeConnectorEntityRequest method.
   421  //    req, resp := client.DescribeConnectorEntityRequest(params)
   422  //
   423  //    err := req.Send()
   424  //    if err == nil { // resp is now filled
   425  //        fmt.Println(resp)
   426  //    }
   427  //
   428  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorEntity
   429  func (c *Appflow) DescribeConnectorEntityRequest(input *DescribeConnectorEntityInput) (req *request.Request, output *DescribeConnectorEntityOutput) {
   430  	op := &request.Operation{
   431  		Name:       opDescribeConnectorEntity,
   432  		HTTPMethod: "POST",
   433  		HTTPPath:   "/describe-connector-entity",
   434  	}
   435  
   436  	if input == nil {
   437  		input = &DescribeConnectorEntityInput{}
   438  	}
   439  
   440  	output = &DescribeConnectorEntityOutput{}
   441  	req = c.newRequest(op, input, output)
   442  	return
   443  }
   444  
   445  // DescribeConnectorEntity API operation for Amazon Appflow.
   446  //
   447  // Provides details regarding the entity used with the connector, with a description
   448  // of the data model for each entity.
   449  //
   450  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   451  // with awserr.Error's Code and Message methods to get detailed information about
   452  // the error.
   453  //
   454  // See the AWS API reference guide for Amazon Appflow's
   455  // API operation DescribeConnectorEntity for usage and error information.
   456  //
   457  // Returned Error Types:
   458  //   * ValidationException
   459  //   The request has invalid or missing parameters.
   460  //
   461  //   * ResourceNotFoundException
   462  //   The resource specified in the request (such as the source or destination
   463  //   connector profile) is not found.
   464  //
   465  //   * ConnectorAuthenticationException
   466  //   An error occurred when authenticating with the connector endpoint.
   467  //
   468  //   * ConnectorServerException
   469  //   An error occurred when retrieving data from the connector endpoint.
   470  //
   471  //   * InternalServerException
   472  //   An internal service error occurred during the processing of your request.
   473  //   Try again later.
   474  //
   475  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorEntity
   476  func (c *Appflow) DescribeConnectorEntity(input *DescribeConnectorEntityInput) (*DescribeConnectorEntityOutput, error) {
   477  	req, out := c.DescribeConnectorEntityRequest(input)
   478  	return out, req.Send()
   479  }
   480  
   481  // DescribeConnectorEntityWithContext is the same as DescribeConnectorEntity with the addition of
   482  // the ability to pass a context and additional request options.
   483  //
   484  // See DescribeConnectorEntity for details on how to use this API operation.
   485  //
   486  // The context must be non-nil and will be used for request cancellation. If
   487  // the context is nil a panic will occur. In the future the SDK may create
   488  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   489  // for more information on using Contexts.
   490  func (c *Appflow) DescribeConnectorEntityWithContext(ctx aws.Context, input *DescribeConnectorEntityInput, opts ...request.Option) (*DescribeConnectorEntityOutput, error) {
   491  	req, out := c.DescribeConnectorEntityRequest(input)
   492  	req.SetContext(ctx)
   493  	req.ApplyOptions(opts...)
   494  	return out, req.Send()
   495  }
   496  
   497  const opDescribeConnectorProfiles = "DescribeConnectorProfiles"
   498  
   499  // DescribeConnectorProfilesRequest generates a "aws/request.Request" representing the
   500  // client's request for the DescribeConnectorProfiles operation. The "output" return
   501  // value will be populated with the request's response once the request completes
   502  // successfully.
   503  //
   504  // Use "Send" method on the returned Request to send the API call to the service.
   505  // the "output" return value is not valid until after Send returns without error.
   506  //
   507  // See DescribeConnectorProfiles for more information on using the DescribeConnectorProfiles
   508  // API call, and error handling.
   509  //
   510  // This method is useful when you want to inject custom logic or configuration
   511  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   512  //
   513  //
   514  //    // Example sending a request using the DescribeConnectorProfilesRequest method.
   515  //    req, resp := client.DescribeConnectorProfilesRequest(params)
   516  //
   517  //    err := req.Send()
   518  //    if err == nil { // resp is now filled
   519  //        fmt.Println(resp)
   520  //    }
   521  //
   522  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorProfiles
   523  func (c *Appflow) DescribeConnectorProfilesRequest(input *DescribeConnectorProfilesInput) (req *request.Request, output *DescribeConnectorProfilesOutput) {
   524  	op := &request.Operation{
   525  		Name:       opDescribeConnectorProfiles,
   526  		HTTPMethod: "POST",
   527  		HTTPPath:   "/describe-connector-profiles",
   528  		Paginator: &request.Paginator{
   529  			InputTokens:     []string{"nextToken"},
   530  			OutputTokens:    []string{"nextToken"},
   531  			LimitToken:      "maxResults",
   532  			TruncationToken: "",
   533  		},
   534  	}
   535  
   536  	if input == nil {
   537  		input = &DescribeConnectorProfilesInput{}
   538  	}
   539  
   540  	output = &DescribeConnectorProfilesOutput{}
   541  	req = c.newRequest(op, input, output)
   542  	return
   543  }
   544  
   545  // DescribeConnectorProfiles API operation for Amazon Appflow.
   546  //
   547  // Returns a list of connector-profile details matching the provided connector-profile
   548  // names and connector-types. Both input lists are optional, and you can use
   549  // them to filter the result.
   550  //
   551  // If no names or connector-types are provided, returns all connector profiles
   552  // in a paginated form. If there is no match, this operation returns an empty
   553  // list.
   554  //
   555  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   556  // with awserr.Error's Code and Message methods to get detailed information about
   557  // the error.
   558  //
   559  // See the AWS API reference guide for Amazon Appflow's
   560  // API operation DescribeConnectorProfiles for usage and error information.
   561  //
   562  // Returned Error Types:
   563  //   * ValidationException
   564  //   The request has invalid or missing parameters.
   565  //
   566  //   * InternalServerException
   567  //   An internal service error occurred during the processing of your request.
   568  //   Try again later.
   569  //
   570  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorProfiles
   571  func (c *Appflow) DescribeConnectorProfiles(input *DescribeConnectorProfilesInput) (*DescribeConnectorProfilesOutput, error) {
   572  	req, out := c.DescribeConnectorProfilesRequest(input)
   573  	return out, req.Send()
   574  }
   575  
   576  // DescribeConnectorProfilesWithContext is the same as DescribeConnectorProfiles with the addition of
   577  // the ability to pass a context and additional request options.
   578  //
   579  // See DescribeConnectorProfiles for details on how to use this API operation.
   580  //
   581  // The context must be non-nil and will be used for request cancellation. If
   582  // the context is nil a panic will occur. In the future the SDK may create
   583  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   584  // for more information on using Contexts.
   585  func (c *Appflow) DescribeConnectorProfilesWithContext(ctx aws.Context, input *DescribeConnectorProfilesInput, opts ...request.Option) (*DescribeConnectorProfilesOutput, error) {
   586  	req, out := c.DescribeConnectorProfilesRequest(input)
   587  	req.SetContext(ctx)
   588  	req.ApplyOptions(opts...)
   589  	return out, req.Send()
   590  }
   591  
   592  // DescribeConnectorProfilesPages iterates over the pages of a DescribeConnectorProfiles operation,
   593  // calling the "fn" function with the response data for each page. To stop
   594  // iterating, return false from the fn function.
   595  //
   596  // See DescribeConnectorProfiles method for more information on how to use this operation.
   597  //
   598  // Note: This operation can generate multiple requests to a service.
   599  //
   600  //    // Example iterating over at most 3 pages of a DescribeConnectorProfiles operation.
   601  //    pageNum := 0
   602  //    err := client.DescribeConnectorProfilesPages(params,
   603  //        func(page *appflow.DescribeConnectorProfilesOutput, lastPage bool) bool {
   604  //            pageNum++
   605  //            fmt.Println(page)
   606  //            return pageNum <= 3
   607  //        })
   608  //
   609  func (c *Appflow) DescribeConnectorProfilesPages(input *DescribeConnectorProfilesInput, fn func(*DescribeConnectorProfilesOutput, bool) bool) error {
   610  	return c.DescribeConnectorProfilesPagesWithContext(aws.BackgroundContext(), input, fn)
   611  }
   612  
   613  // DescribeConnectorProfilesPagesWithContext same as DescribeConnectorProfilesPages except
   614  // it takes a Context and allows setting request options on the pages.
   615  //
   616  // The context must be non-nil and will be used for request cancellation. If
   617  // the context is nil a panic will occur. In the future the SDK may create
   618  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   619  // for more information on using Contexts.
   620  func (c *Appflow) DescribeConnectorProfilesPagesWithContext(ctx aws.Context, input *DescribeConnectorProfilesInput, fn func(*DescribeConnectorProfilesOutput, bool) bool, opts ...request.Option) error {
   621  	p := request.Pagination{
   622  		NewRequest: func() (*request.Request, error) {
   623  			var inCpy *DescribeConnectorProfilesInput
   624  			if input != nil {
   625  				tmp := *input
   626  				inCpy = &tmp
   627  			}
   628  			req, _ := c.DescribeConnectorProfilesRequest(inCpy)
   629  			req.SetContext(ctx)
   630  			req.ApplyOptions(opts...)
   631  			return req, nil
   632  		},
   633  	}
   634  
   635  	for p.Next() {
   636  		if !fn(p.Page().(*DescribeConnectorProfilesOutput), !p.HasNextPage()) {
   637  			break
   638  		}
   639  	}
   640  
   641  	return p.Err()
   642  }
   643  
   644  const opDescribeConnectors = "DescribeConnectors"
   645  
   646  // DescribeConnectorsRequest generates a "aws/request.Request" representing the
   647  // client's request for the DescribeConnectors operation. The "output" return
   648  // value will be populated with the request's response once the request completes
   649  // successfully.
   650  //
   651  // Use "Send" method on the returned Request to send the API call to the service.
   652  // the "output" return value is not valid until after Send returns without error.
   653  //
   654  // See DescribeConnectors for more information on using the DescribeConnectors
   655  // API call, and error handling.
   656  //
   657  // This method is useful when you want to inject custom logic or configuration
   658  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   659  //
   660  //
   661  //    // Example sending a request using the DescribeConnectorsRequest method.
   662  //    req, resp := client.DescribeConnectorsRequest(params)
   663  //
   664  //    err := req.Send()
   665  //    if err == nil { // resp is now filled
   666  //        fmt.Println(resp)
   667  //    }
   668  //
   669  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectors
   670  func (c *Appflow) DescribeConnectorsRequest(input *DescribeConnectorsInput) (req *request.Request, output *DescribeConnectorsOutput) {
   671  	op := &request.Operation{
   672  		Name:       opDescribeConnectors,
   673  		HTTPMethod: "POST",
   674  		HTTPPath:   "/describe-connectors",
   675  		Paginator: &request.Paginator{
   676  			InputTokens:     []string{"nextToken"},
   677  			OutputTokens:    []string{"nextToken"},
   678  			LimitToken:      "",
   679  			TruncationToken: "",
   680  		},
   681  	}
   682  
   683  	if input == nil {
   684  		input = &DescribeConnectorsInput{}
   685  	}
   686  
   687  	output = &DescribeConnectorsOutput{}
   688  	req = c.newRequest(op, input, output)
   689  	return
   690  }
   691  
   692  // DescribeConnectors API operation for Amazon Appflow.
   693  //
   694  // Describes the connectors vended by Amazon AppFlow for specified connector
   695  // types. If you don't specify a connector type, this operation describes all
   696  // connectors vended by Amazon AppFlow. If there are more connectors than can
   697  // be returned in one page, the response contains a nextToken object, which
   698  // can be be passed in to the next call to the DescribeConnectors API operation
   699  // to retrieve the next page.
   700  //
   701  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   702  // with awserr.Error's Code and Message methods to get detailed information about
   703  // the error.
   704  //
   705  // See the AWS API reference guide for Amazon Appflow's
   706  // API operation DescribeConnectors for usage and error information.
   707  //
   708  // Returned Error Types:
   709  //   * ValidationException
   710  //   The request has invalid or missing parameters.
   711  //
   712  //   * InternalServerException
   713  //   An internal service error occurred during the processing of your request.
   714  //   Try again later.
   715  //
   716  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectors
   717  func (c *Appflow) DescribeConnectors(input *DescribeConnectorsInput) (*DescribeConnectorsOutput, error) {
   718  	req, out := c.DescribeConnectorsRequest(input)
   719  	return out, req.Send()
   720  }
   721  
   722  // DescribeConnectorsWithContext is the same as DescribeConnectors with the addition of
   723  // the ability to pass a context and additional request options.
   724  //
   725  // See DescribeConnectors for details on how to use this API operation.
   726  //
   727  // The context must be non-nil and will be used for request cancellation. If
   728  // the context is nil a panic will occur. In the future the SDK may create
   729  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   730  // for more information on using Contexts.
   731  func (c *Appflow) DescribeConnectorsWithContext(ctx aws.Context, input *DescribeConnectorsInput, opts ...request.Option) (*DescribeConnectorsOutput, error) {
   732  	req, out := c.DescribeConnectorsRequest(input)
   733  	req.SetContext(ctx)
   734  	req.ApplyOptions(opts...)
   735  	return out, req.Send()
   736  }
   737  
   738  // DescribeConnectorsPages iterates over the pages of a DescribeConnectors operation,
   739  // calling the "fn" function with the response data for each page. To stop
   740  // iterating, return false from the fn function.
   741  //
   742  // See DescribeConnectors method for more information on how to use this operation.
   743  //
   744  // Note: This operation can generate multiple requests to a service.
   745  //
   746  //    // Example iterating over at most 3 pages of a DescribeConnectors operation.
   747  //    pageNum := 0
   748  //    err := client.DescribeConnectorsPages(params,
   749  //        func(page *appflow.DescribeConnectorsOutput, lastPage bool) bool {
   750  //            pageNum++
   751  //            fmt.Println(page)
   752  //            return pageNum <= 3
   753  //        })
   754  //
   755  func (c *Appflow) DescribeConnectorsPages(input *DescribeConnectorsInput, fn func(*DescribeConnectorsOutput, bool) bool) error {
   756  	return c.DescribeConnectorsPagesWithContext(aws.BackgroundContext(), input, fn)
   757  }
   758  
   759  // DescribeConnectorsPagesWithContext same as DescribeConnectorsPages except
   760  // it takes a Context and allows setting request options on the pages.
   761  //
   762  // The context must be non-nil and will be used for request cancellation. If
   763  // the context is nil a panic will occur. In the future the SDK may create
   764  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   765  // for more information on using Contexts.
   766  func (c *Appflow) DescribeConnectorsPagesWithContext(ctx aws.Context, input *DescribeConnectorsInput, fn func(*DescribeConnectorsOutput, bool) bool, opts ...request.Option) error {
   767  	p := request.Pagination{
   768  		NewRequest: func() (*request.Request, error) {
   769  			var inCpy *DescribeConnectorsInput
   770  			if input != nil {
   771  				tmp := *input
   772  				inCpy = &tmp
   773  			}
   774  			req, _ := c.DescribeConnectorsRequest(inCpy)
   775  			req.SetContext(ctx)
   776  			req.ApplyOptions(opts...)
   777  			return req, nil
   778  		},
   779  	}
   780  
   781  	for p.Next() {
   782  		if !fn(p.Page().(*DescribeConnectorsOutput), !p.HasNextPage()) {
   783  			break
   784  		}
   785  	}
   786  
   787  	return p.Err()
   788  }
   789  
   790  const opDescribeFlow = "DescribeFlow"
   791  
   792  // DescribeFlowRequest generates a "aws/request.Request" representing the
   793  // client's request for the DescribeFlow operation. The "output" return
   794  // value will be populated with the request's response once the request completes
   795  // successfully.
   796  //
   797  // Use "Send" method on the returned Request to send the API call to the service.
   798  // the "output" return value is not valid until after Send returns without error.
   799  //
   800  // See DescribeFlow for more information on using the DescribeFlow
   801  // API call, and error handling.
   802  //
   803  // This method is useful when you want to inject custom logic or configuration
   804  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   805  //
   806  //
   807  //    // Example sending a request using the DescribeFlowRequest method.
   808  //    req, resp := client.DescribeFlowRequest(params)
   809  //
   810  //    err := req.Send()
   811  //    if err == nil { // resp is now filled
   812  //        fmt.Println(resp)
   813  //    }
   814  //
   815  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlow
   816  func (c *Appflow) DescribeFlowRequest(input *DescribeFlowInput) (req *request.Request, output *DescribeFlowOutput) {
   817  	op := &request.Operation{
   818  		Name:       opDescribeFlow,
   819  		HTTPMethod: "POST",
   820  		HTTPPath:   "/describe-flow",
   821  	}
   822  
   823  	if input == nil {
   824  		input = &DescribeFlowInput{}
   825  	}
   826  
   827  	output = &DescribeFlowOutput{}
   828  	req = c.newRequest(op, input, output)
   829  	return
   830  }
   831  
   832  // DescribeFlow API operation for Amazon Appflow.
   833  //
   834  // Provides a description of the specified flow.
   835  //
   836  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   837  // with awserr.Error's Code and Message methods to get detailed information about
   838  // the error.
   839  //
   840  // See the AWS API reference guide for Amazon Appflow's
   841  // API operation DescribeFlow for usage and error information.
   842  //
   843  // Returned Error Types:
   844  //   * ResourceNotFoundException
   845  //   The resource specified in the request (such as the source or destination
   846  //   connector profile) is not found.
   847  //
   848  //   * InternalServerException
   849  //   An internal service error occurred during the processing of your request.
   850  //   Try again later.
   851  //
   852  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlow
   853  func (c *Appflow) DescribeFlow(input *DescribeFlowInput) (*DescribeFlowOutput, error) {
   854  	req, out := c.DescribeFlowRequest(input)
   855  	return out, req.Send()
   856  }
   857  
   858  // DescribeFlowWithContext is the same as DescribeFlow with the addition of
   859  // the ability to pass a context and additional request options.
   860  //
   861  // See DescribeFlow for details on how to use this API operation.
   862  //
   863  // The context must be non-nil and will be used for request cancellation. If
   864  // the context is nil a panic will occur. In the future the SDK may create
   865  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   866  // for more information on using Contexts.
   867  func (c *Appflow) DescribeFlowWithContext(ctx aws.Context, input *DescribeFlowInput, opts ...request.Option) (*DescribeFlowOutput, error) {
   868  	req, out := c.DescribeFlowRequest(input)
   869  	req.SetContext(ctx)
   870  	req.ApplyOptions(opts...)
   871  	return out, req.Send()
   872  }
   873  
   874  const opDescribeFlowExecutionRecords = "DescribeFlowExecutionRecords"
   875  
   876  // DescribeFlowExecutionRecordsRequest generates a "aws/request.Request" representing the
   877  // client's request for the DescribeFlowExecutionRecords operation. The "output" return
   878  // value will be populated with the request's response once the request completes
   879  // successfully.
   880  //
   881  // Use "Send" method on the returned Request to send the API call to the service.
   882  // the "output" return value is not valid until after Send returns without error.
   883  //
   884  // See DescribeFlowExecutionRecords for more information on using the DescribeFlowExecutionRecords
   885  // API call, and error handling.
   886  //
   887  // This method is useful when you want to inject custom logic or configuration
   888  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
   889  //
   890  //
   891  //    // Example sending a request using the DescribeFlowExecutionRecordsRequest method.
   892  //    req, resp := client.DescribeFlowExecutionRecordsRequest(params)
   893  //
   894  //    err := req.Send()
   895  //    if err == nil { // resp is now filled
   896  //        fmt.Println(resp)
   897  //    }
   898  //
   899  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlowExecutionRecords
   900  func (c *Appflow) DescribeFlowExecutionRecordsRequest(input *DescribeFlowExecutionRecordsInput) (req *request.Request, output *DescribeFlowExecutionRecordsOutput) {
   901  	op := &request.Operation{
   902  		Name:       opDescribeFlowExecutionRecords,
   903  		HTTPMethod: "POST",
   904  		HTTPPath:   "/describe-flow-execution-records",
   905  		Paginator: &request.Paginator{
   906  			InputTokens:     []string{"nextToken"},
   907  			OutputTokens:    []string{"nextToken"},
   908  			LimitToken:      "maxResults",
   909  			TruncationToken: "",
   910  		},
   911  	}
   912  
   913  	if input == nil {
   914  		input = &DescribeFlowExecutionRecordsInput{}
   915  	}
   916  
   917  	output = &DescribeFlowExecutionRecordsOutput{}
   918  	req = c.newRequest(op, input, output)
   919  	return
   920  }
   921  
   922  // DescribeFlowExecutionRecords API operation for Amazon Appflow.
   923  //
   924  // Fetches the execution history of the flow.
   925  //
   926  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
   927  // with awserr.Error's Code and Message methods to get detailed information about
   928  // the error.
   929  //
   930  // See the AWS API reference guide for Amazon Appflow's
   931  // API operation DescribeFlowExecutionRecords for usage and error information.
   932  //
   933  // Returned Error Types:
   934  //   * ValidationException
   935  //   The request has invalid or missing parameters.
   936  //
   937  //   * ResourceNotFoundException
   938  //   The resource specified in the request (such as the source or destination
   939  //   connector profile) is not found.
   940  //
   941  //   * InternalServerException
   942  //   An internal service error occurred during the processing of your request.
   943  //   Try again later.
   944  //
   945  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlowExecutionRecords
   946  func (c *Appflow) DescribeFlowExecutionRecords(input *DescribeFlowExecutionRecordsInput) (*DescribeFlowExecutionRecordsOutput, error) {
   947  	req, out := c.DescribeFlowExecutionRecordsRequest(input)
   948  	return out, req.Send()
   949  }
   950  
   951  // DescribeFlowExecutionRecordsWithContext is the same as DescribeFlowExecutionRecords with the addition of
   952  // the ability to pass a context and additional request options.
   953  //
   954  // See DescribeFlowExecutionRecords for details on how to use this API operation.
   955  //
   956  // The context must be non-nil and will be used for request cancellation. If
   957  // the context is nil a panic will occur. In the future the SDK may create
   958  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   959  // for more information on using Contexts.
   960  func (c *Appflow) DescribeFlowExecutionRecordsWithContext(ctx aws.Context, input *DescribeFlowExecutionRecordsInput, opts ...request.Option) (*DescribeFlowExecutionRecordsOutput, error) {
   961  	req, out := c.DescribeFlowExecutionRecordsRequest(input)
   962  	req.SetContext(ctx)
   963  	req.ApplyOptions(opts...)
   964  	return out, req.Send()
   965  }
   966  
   967  // DescribeFlowExecutionRecordsPages iterates over the pages of a DescribeFlowExecutionRecords operation,
   968  // calling the "fn" function with the response data for each page. To stop
   969  // iterating, return false from the fn function.
   970  //
   971  // See DescribeFlowExecutionRecords method for more information on how to use this operation.
   972  //
   973  // Note: This operation can generate multiple requests to a service.
   974  //
   975  //    // Example iterating over at most 3 pages of a DescribeFlowExecutionRecords operation.
   976  //    pageNum := 0
   977  //    err := client.DescribeFlowExecutionRecordsPages(params,
   978  //        func(page *appflow.DescribeFlowExecutionRecordsOutput, lastPage bool) bool {
   979  //            pageNum++
   980  //            fmt.Println(page)
   981  //            return pageNum <= 3
   982  //        })
   983  //
   984  func (c *Appflow) DescribeFlowExecutionRecordsPages(input *DescribeFlowExecutionRecordsInput, fn func(*DescribeFlowExecutionRecordsOutput, bool) bool) error {
   985  	return c.DescribeFlowExecutionRecordsPagesWithContext(aws.BackgroundContext(), input, fn)
   986  }
   987  
   988  // DescribeFlowExecutionRecordsPagesWithContext same as DescribeFlowExecutionRecordsPages except
   989  // it takes a Context and allows setting request options on the pages.
   990  //
   991  // The context must be non-nil and will be used for request cancellation. If
   992  // the context is nil a panic will occur. In the future the SDK may create
   993  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
   994  // for more information on using Contexts.
   995  func (c *Appflow) DescribeFlowExecutionRecordsPagesWithContext(ctx aws.Context, input *DescribeFlowExecutionRecordsInput, fn func(*DescribeFlowExecutionRecordsOutput, bool) bool, opts ...request.Option) error {
   996  	p := request.Pagination{
   997  		NewRequest: func() (*request.Request, error) {
   998  			var inCpy *DescribeFlowExecutionRecordsInput
   999  			if input != nil {
  1000  				tmp := *input
  1001  				inCpy = &tmp
  1002  			}
  1003  			req, _ := c.DescribeFlowExecutionRecordsRequest(inCpy)
  1004  			req.SetContext(ctx)
  1005  			req.ApplyOptions(opts...)
  1006  			return req, nil
  1007  		},
  1008  	}
  1009  
  1010  	for p.Next() {
  1011  		if !fn(p.Page().(*DescribeFlowExecutionRecordsOutput), !p.HasNextPage()) {
  1012  			break
  1013  		}
  1014  	}
  1015  
  1016  	return p.Err()
  1017  }
  1018  
  1019  const opListConnectorEntities = "ListConnectorEntities"
  1020  
  1021  // ListConnectorEntitiesRequest generates a "aws/request.Request" representing the
  1022  // client's request for the ListConnectorEntities operation. The "output" return
  1023  // value will be populated with the request's response once the request completes
  1024  // successfully.
  1025  //
  1026  // Use "Send" method on the returned Request to send the API call to the service.
  1027  // the "output" return value is not valid until after Send returns without error.
  1028  //
  1029  // See ListConnectorEntities for more information on using the ListConnectorEntities
  1030  // API call, and error handling.
  1031  //
  1032  // This method is useful when you want to inject custom logic or configuration
  1033  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1034  //
  1035  //
  1036  //    // Example sending a request using the ListConnectorEntitiesRequest method.
  1037  //    req, resp := client.ListConnectorEntitiesRequest(params)
  1038  //
  1039  //    err := req.Send()
  1040  //    if err == nil { // resp is now filled
  1041  //        fmt.Println(resp)
  1042  //    }
  1043  //
  1044  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListConnectorEntities
  1045  func (c *Appflow) ListConnectorEntitiesRequest(input *ListConnectorEntitiesInput) (req *request.Request, output *ListConnectorEntitiesOutput) {
  1046  	op := &request.Operation{
  1047  		Name:       opListConnectorEntities,
  1048  		HTTPMethod: "POST",
  1049  		HTTPPath:   "/list-connector-entities",
  1050  	}
  1051  
  1052  	if input == nil {
  1053  		input = &ListConnectorEntitiesInput{}
  1054  	}
  1055  
  1056  	output = &ListConnectorEntitiesOutput{}
  1057  	req = c.newRequest(op, input, output)
  1058  	return
  1059  }
  1060  
  1061  // ListConnectorEntities API operation for Amazon Appflow.
  1062  //
  1063  // Returns the list of available connector entities supported by Amazon AppFlow.
  1064  // For example, you can query Salesforce for Account and Opportunity entities,
  1065  // or query ServiceNow for the Incident entity.
  1066  //
  1067  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1068  // with awserr.Error's Code and Message methods to get detailed information about
  1069  // the error.
  1070  //
  1071  // See the AWS API reference guide for Amazon Appflow's
  1072  // API operation ListConnectorEntities for usage and error information.
  1073  //
  1074  // Returned Error Types:
  1075  //   * ValidationException
  1076  //   The request has invalid or missing parameters.
  1077  //
  1078  //   * ResourceNotFoundException
  1079  //   The resource specified in the request (such as the source or destination
  1080  //   connector profile) is not found.
  1081  //
  1082  //   * ConnectorAuthenticationException
  1083  //   An error occurred when authenticating with the connector endpoint.
  1084  //
  1085  //   * ConnectorServerException
  1086  //   An error occurred when retrieving data from the connector endpoint.
  1087  //
  1088  //   * InternalServerException
  1089  //   An internal service error occurred during the processing of your request.
  1090  //   Try again later.
  1091  //
  1092  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListConnectorEntities
  1093  func (c *Appflow) ListConnectorEntities(input *ListConnectorEntitiesInput) (*ListConnectorEntitiesOutput, error) {
  1094  	req, out := c.ListConnectorEntitiesRequest(input)
  1095  	return out, req.Send()
  1096  }
  1097  
  1098  // ListConnectorEntitiesWithContext is the same as ListConnectorEntities with the addition of
  1099  // the ability to pass a context and additional request options.
  1100  //
  1101  // See ListConnectorEntities for details on how to use this API operation.
  1102  //
  1103  // The context must be non-nil and will be used for request cancellation. If
  1104  // the context is nil a panic will occur. In the future the SDK may create
  1105  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1106  // for more information on using Contexts.
  1107  func (c *Appflow) ListConnectorEntitiesWithContext(ctx aws.Context, input *ListConnectorEntitiesInput, opts ...request.Option) (*ListConnectorEntitiesOutput, error) {
  1108  	req, out := c.ListConnectorEntitiesRequest(input)
  1109  	req.SetContext(ctx)
  1110  	req.ApplyOptions(opts...)
  1111  	return out, req.Send()
  1112  }
  1113  
  1114  const opListFlows = "ListFlows"
  1115  
  1116  // ListFlowsRequest generates a "aws/request.Request" representing the
  1117  // client's request for the ListFlows operation. The "output" return
  1118  // value will be populated with the request's response once the request completes
  1119  // successfully.
  1120  //
  1121  // Use "Send" method on the returned Request to send the API call to the service.
  1122  // the "output" return value is not valid until after Send returns without error.
  1123  //
  1124  // See ListFlows for more information on using the ListFlows
  1125  // API call, and error handling.
  1126  //
  1127  // This method is useful when you want to inject custom logic or configuration
  1128  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1129  //
  1130  //
  1131  //    // Example sending a request using the ListFlowsRequest method.
  1132  //    req, resp := client.ListFlowsRequest(params)
  1133  //
  1134  //    err := req.Send()
  1135  //    if err == nil { // resp is now filled
  1136  //        fmt.Println(resp)
  1137  //    }
  1138  //
  1139  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListFlows
  1140  func (c *Appflow) ListFlowsRequest(input *ListFlowsInput) (req *request.Request, output *ListFlowsOutput) {
  1141  	op := &request.Operation{
  1142  		Name:       opListFlows,
  1143  		HTTPMethod: "POST",
  1144  		HTTPPath:   "/list-flows",
  1145  		Paginator: &request.Paginator{
  1146  			InputTokens:     []string{"nextToken"},
  1147  			OutputTokens:    []string{"nextToken"},
  1148  			LimitToken:      "maxResults",
  1149  			TruncationToken: "",
  1150  		},
  1151  	}
  1152  
  1153  	if input == nil {
  1154  		input = &ListFlowsInput{}
  1155  	}
  1156  
  1157  	output = &ListFlowsOutput{}
  1158  	req = c.newRequest(op, input, output)
  1159  	return
  1160  }
  1161  
  1162  // ListFlows API operation for Amazon Appflow.
  1163  //
  1164  // Lists all of the flows associated with your account.
  1165  //
  1166  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1167  // with awserr.Error's Code and Message methods to get detailed information about
  1168  // the error.
  1169  //
  1170  // See the AWS API reference guide for Amazon Appflow's
  1171  // API operation ListFlows for usage and error information.
  1172  //
  1173  // Returned Error Types:
  1174  //   * ValidationException
  1175  //   The request has invalid or missing parameters.
  1176  //
  1177  //   * InternalServerException
  1178  //   An internal service error occurred during the processing of your request.
  1179  //   Try again later.
  1180  //
  1181  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListFlows
  1182  func (c *Appflow) ListFlows(input *ListFlowsInput) (*ListFlowsOutput, error) {
  1183  	req, out := c.ListFlowsRequest(input)
  1184  	return out, req.Send()
  1185  }
  1186  
  1187  // ListFlowsWithContext is the same as ListFlows with the addition of
  1188  // the ability to pass a context and additional request options.
  1189  //
  1190  // See ListFlows for details on how to use this API operation.
  1191  //
  1192  // The context must be non-nil and will be used for request cancellation. If
  1193  // the context is nil a panic will occur. In the future the SDK may create
  1194  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1195  // for more information on using Contexts.
  1196  func (c *Appflow) ListFlowsWithContext(ctx aws.Context, input *ListFlowsInput, opts ...request.Option) (*ListFlowsOutput, error) {
  1197  	req, out := c.ListFlowsRequest(input)
  1198  	req.SetContext(ctx)
  1199  	req.ApplyOptions(opts...)
  1200  	return out, req.Send()
  1201  }
  1202  
  1203  // ListFlowsPages iterates over the pages of a ListFlows operation,
  1204  // calling the "fn" function with the response data for each page. To stop
  1205  // iterating, return false from the fn function.
  1206  //
  1207  // See ListFlows method for more information on how to use this operation.
  1208  //
  1209  // Note: This operation can generate multiple requests to a service.
  1210  //
  1211  //    // Example iterating over at most 3 pages of a ListFlows operation.
  1212  //    pageNum := 0
  1213  //    err := client.ListFlowsPages(params,
  1214  //        func(page *appflow.ListFlowsOutput, lastPage bool) bool {
  1215  //            pageNum++
  1216  //            fmt.Println(page)
  1217  //            return pageNum <= 3
  1218  //        })
  1219  //
  1220  func (c *Appflow) ListFlowsPages(input *ListFlowsInput, fn func(*ListFlowsOutput, bool) bool) error {
  1221  	return c.ListFlowsPagesWithContext(aws.BackgroundContext(), input, fn)
  1222  }
  1223  
  1224  // ListFlowsPagesWithContext same as ListFlowsPages except
  1225  // it takes a Context and allows setting request options on the pages.
  1226  //
  1227  // The context must be non-nil and will be used for request cancellation. If
  1228  // the context is nil a panic will occur. In the future the SDK may create
  1229  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1230  // for more information on using Contexts.
  1231  func (c *Appflow) ListFlowsPagesWithContext(ctx aws.Context, input *ListFlowsInput, fn func(*ListFlowsOutput, bool) bool, opts ...request.Option) error {
  1232  	p := request.Pagination{
  1233  		NewRequest: func() (*request.Request, error) {
  1234  			var inCpy *ListFlowsInput
  1235  			if input != nil {
  1236  				tmp := *input
  1237  				inCpy = &tmp
  1238  			}
  1239  			req, _ := c.ListFlowsRequest(inCpy)
  1240  			req.SetContext(ctx)
  1241  			req.ApplyOptions(opts...)
  1242  			return req, nil
  1243  		},
  1244  	}
  1245  
  1246  	for p.Next() {
  1247  		if !fn(p.Page().(*ListFlowsOutput), !p.HasNextPage()) {
  1248  			break
  1249  		}
  1250  	}
  1251  
  1252  	return p.Err()
  1253  }
  1254  
  1255  const opListTagsForResource = "ListTagsForResource"
  1256  
  1257  // ListTagsForResourceRequest generates a "aws/request.Request" representing the
  1258  // client's request for the ListTagsForResource operation. The "output" return
  1259  // value will be populated with the request's response once the request completes
  1260  // successfully.
  1261  //
  1262  // Use "Send" method on the returned Request to send the API call to the service.
  1263  // the "output" return value is not valid until after Send returns without error.
  1264  //
  1265  // See ListTagsForResource for more information on using the ListTagsForResource
  1266  // API call, and error handling.
  1267  //
  1268  // This method is useful when you want to inject custom logic or configuration
  1269  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1270  //
  1271  //
  1272  //    // Example sending a request using the ListTagsForResourceRequest method.
  1273  //    req, resp := client.ListTagsForResourceRequest(params)
  1274  //
  1275  //    err := req.Send()
  1276  //    if err == nil { // resp is now filled
  1277  //        fmt.Println(resp)
  1278  //    }
  1279  //
  1280  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListTagsForResource
  1281  func (c *Appflow) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
  1282  	op := &request.Operation{
  1283  		Name:       opListTagsForResource,
  1284  		HTTPMethod: "GET",
  1285  		HTTPPath:   "/tags/{resourceArn}",
  1286  	}
  1287  
  1288  	if input == nil {
  1289  		input = &ListTagsForResourceInput{}
  1290  	}
  1291  
  1292  	output = &ListTagsForResourceOutput{}
  1293  	req = c.newRequest(op, input, output)
  1294  	return
  1295  }
  1296  
  1297  // ListTagsForResource API operation for Amazon Appflow.
  1298  //
  1299  // Retrieves the tags that are associated with a specified flow.
  1300  //
  1301  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1302  // with awserr.Error's Code and Message methods to get detailed information about
  1303  // the error.
  1304  //
  1305  // See the AWS API reference guide for Amazon Appflow's
  1306  // API operation ListTagsForResource for usage and error information.
  1307  //
  1308  // Returned Error Types:
  1309  //   * InternalServerException
  1310  //   An internal service error occurred during the processing of your request.
  1311  //   Try again later.
  1312  //
  1313  //   * ValidationException
  1314  //   The request has invalid or missing parameters.
  1315  //
  1316  //   * ResourceNotFoundException
  1317  //   The resource specified in the request (such as the source or destination
  1318  //   connector profile) is not found.
  1319  //
  1320  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListTagsForResource
  1321  func (c *Appflow) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
  1322  	req, out := c.ListTagsForResourceRequest(input)
  1323  	return out, req.Send()
  1324  }
  1325  
  1326  // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
  1327  // the ability to pass a context and additional request options.
  1328  //
  1329  // See ListTagsForResource for details on how to use this API operation.
  1330  //
  1331  // The context must be non-nil and will be used for request cancellation. If
  1332  // the context is nil a panic will occur. In the future the SDK may create
  1333  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1334  // for more information on using Contexts.
  1335  func (c *Appflow) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
  1336  	req, out := c.ListTagsForResourceRequest(input)
  1337  	req.SetContext(ctx)
  1338  	req.ApplyOptions(opts...)
  1339  	return out, req.Send()
  1340  }
  1341  
  1342  const opStartFlow = "StartFlow"
  1343  
  1344  // StartFlowRequest generates a "aws/request.Request" representing the
  1345  // client's request for the StartFlow operation. The "output" return
  1346  // value will be populated with the request's response once the request completes
  1347  // successfully.
  1348  //
  1349  // Use "Send" method on the returned Request to send the API call to the service.
  1350  // the "output" return value is not valid until after Send returns without error.
  1351  //
  1352  // See StartFlow for more information on using the StartFlow
  1353  // API call, and error handling.
  1354  //
  1355  // This method is useful when you want to inject custom logic or configuration
  1356  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1357  //
  1358  //
  1359  //    // Example sending a request using the StartFlowRequest method.
  1360  //    req, resp := client.StartFlowRequest(params)
  1361  //
  1362  //    err := req.Send()
  1363  //    if err == nil { // resp is now filled
  1364  //        fmt.Println(resp)
  1365  //    }
  1366  //
  1367  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StartFlow
  1368  func (c *Appflow) StartFlowRequest(input *StartFlowInput) (req *request.Request, output *StartFlowOutput) {
  1369  	op := &request.Operation{
  1370  		Name:       opStartFlow,
  1371  		HTTPMethod: "POST",
  1372  		HTTPPath:   "/start-flow",
  1373  	}
  1374  
  1375  	if input == nil {
  1376  		input = &StartFlowInput{}
  1377  	}
  1378  
  1379  	output = &StartFlowOutput{}
  1380  	req = c.newRequest(op, input, output)
  1381  	return
  1382  }
  1383  
  1384  // StartFlow API operation for Amazon Appflow.
  1385  //
  1386  // Activates an existing flow. For on-demand flows, this operation runs the
  1387  // flow immediately. For schedule and event-triggered flows, this operation
  1388  // activates the flow.
  1389  //
  1390  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1391  // with awserr.Error's Code and Message methods to get detailed information about
  1392  // the error.
  1393  //
  1394  // See the AWS API reference guide for Amazon Appflow's
  1395  // API operation StartFlow for usage and error information.
  1396  //
  1397  // Returned Error Types:
  1398  //   * ResourceNotFoundException
  1399  //   The resource specified in the request (such as the source or destination
  1400  //   connector profile) is not found.
  1401  //
  1402  //   * InternalServerException
  1403  //   An internal service error occurred during the processing of your request.
  1404  //   Try again later.
  1405  //
  1406  //   * ServiceQuotaExceededException
  1407  //   The request would cause a service quota (such as the number of flows) to
  1408  //   be exceeded.
  1409  //
  1410  //   * ConflictException
  1411  //   There was a conflict when processing the request (for example, a flow with
  1412  //   the given name already exists within the account. Check for conflicting resource
  1413  //   names and try again.
  1414  //
  1415  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StartFlow
  1416  func (c *Appflow) StartFlow(input *StartFlowInput) (*StartFlowOutput, error) {
  1417  	req, out := c.StartFlowRequest(input)
  1418  	return out, req.Send()
  1419  }
  1420  
  1421  // StartFlowWithContext is the same as StartFlow with the addition of
  1422  // the ability to pass a context and additional request options.
  1423  //
  1424  // See StartFlow for details on how to use this API operation.
  1425  //
  1426  // The context must be non-nil and will be used for request cancellation. If
  1427  // the context is nil a panic will occur. In the future the SDK may create
  1428  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1429  // for more information on using Contexts.
  1430  func (c *Appflow) StartFlowWithContext(ctx aws.Context, input *StartFlowInput, opts ...request.Option) (*StartFlowOutput, error) {
  1431  	req, out := c.StartFlowRequest(input)
  1432  	req.SetContext(ctx)
  1433  	req.ApplyOptions(opts...)
  1434  	return out, req.Send()
  1435  }
  1436  
  1437  const opStopFlow = "StopFlow"
  1438  
  1439  // StopFlowRequest generates a "aws/request.Request" representing the
  1440  // client's request for the StopFlow operation. The "output" return
  1441  // value will be populated with the request's response once the request completes
  1442  // successfully.
  1443  //
  1444  // Use "Send" method on the returned Request to send the API call to the service.
  1445  // the "output" return value is not valid until after Send returns without error.
  1446  //
  1447  // See StopFlow for more information on using the StopFlow
  1448  // API call, and error handling.
  1449  //
  1450  // This method is useful when you want to inject custom logic or configuration
  1451  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1452  //
  1453  //
  1454  //    // Example sending a request using the StopFlowRequest method.
  1455  //    req, resp := client.StopFlowRequest(params)
  1456  //
  1457  //    err := req.Send()
  1458  //    if err == nil { // resp is now filled
  1459  //        fmt.Println(resp)
  1460  //    }
  1461  //
  1462  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StopFlow
  1463  func (c *Appflow) StopFlowRequest(input *StopFlowInput) (req *request.Request, output *StopFlowOutput) {
  1464  	op := &request.Operation{
  1465  		Name:       opStopFlow,
  1466  		HTTPMethod: "POST",
  1467  		HTTPPath:   "/stop-flow",
  1468  	}
  1469  
  1470  	if input == nil {
  1471  		input = &StopFlowInput{}
  1472  	}
  1473  
  1474  	output = &StopFlowOutput{}
  1475  	req = c.newRequest(op, input, output)
  1476  	return
  1477  }
  1478  
  1479  // StopFlow API operation for Amazon Appflow.
  1480  //
  1481  // Deactivates the existing flow. For on-demand flows, this operation returns
  1482  // an unsupportedOperationException error message. For schedule and event-triggered
  1483  // flows, this operation deactivates the flow.
  1484  //
  1485  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1486  // with awserr.Error's Code and Message methods to get detailed information about
  1487  // the error.
  1488  //
  1489  // See the AWS API reference guide for Amazon Appflow's
  1490  // API operation StopFlow for usage and error information.
  1491  //
  1492  // Returned Error Types:
  1493  //   * ConflictException
  1494  //   There was a conflict when processing the request (for example, a flow with
  1495  //   the given name already exists within the account. Check for conflicting resource
  1496  //   names and try again.
  1497  //
  1498  //   * ResourceNotFoundException
  1499  //   The resource specified in the request (such as the source or destination
  1500  //   connector profile) is not found.
  1501  //
  1502  //   * UnsupportedOperationException
  1503  //   The requested operation is not supported for the current flow.
  1504  //
  1505  //   * InternalServerException
  1506  //   An internal service error occurred during the processing of your request.
  1507  //   Try again later.
  1508  //
  1509  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StopFlow
  1510  func (c *Appflow) StopFlow(input *StopFlowInput) (*StopFlowOutput, error) {
  1511  	req, out := c.StopFlowRequest(input)
  1512  	return out, req.Send()
  1513  }
  1514  
  1515  // StopFlowWithContext is the same as StopFlow with the addition of
  1516  // the ability to pass a context and additional request options.
  1517  //
  1518  // See StopFlow for details on how to use this API operation.
  1519  //
  1520  // The context must be non-nil and will be used for request cancellation. If
  1521  // the context is nil a panic will occur. In the future the SDK may create
  1522  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1523  // for more information on using Contexts.
  1524  func (c *Appflow) StopFlowWithContext(ctx aws.Context, input *StopFlowInput, opts ...request.Option) (*StopFlowOutput, error) {
  1525  	req, out := c.StopFlowRequest(input)
  1526  	req.SetContext(ctx)
  1527  	req.ApplyOptions(opts...)
  1528  	return out, req.Send()
  1529  }
  1530  
  1531  const opTagResource = "TagResource"
  1532  
  1533  // TagResourceRequest generates a "aws/request.Request" representing the
  1534  // client's request for the TagResource operation. The "output" return
  1535  // value will be populated with the request's response once the request completes
  1536  // successfully.
  1537  //
  1538  // Use "Send" method on the returned Request to send the API call to the service.
  1539  // the "output" return value is not valid until after Send returns without error.
  1540  //
  1541  // See TagResource for more information on using the TagResource
  1542  // API call, and error handling.
  1543  //
  1544  // This method is useful when you want to inject custom logic or configuration
  1545  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1546  //
  1547  //
  1548  //    // Example sending a request using the TagResourceRequest method.
  1549  //    req, resp := client.TagResourceRequest(params)
  1550  //
  1551  //    err := req.Send()
  1552  //    if err == nil { // resp is now filled
  1553  //        fmt.Println(resp)
  1554  //    }
  1555  //
  1556  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/TagResource
  1557  func (c *Appflow) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
  1558  	op := &request.Operation{
  1559  		Name:       opTagResource,
  1560  		HTTPMethod: "POST",
  1561  		HTTPPath:   "/tags/{resourceArn}",
  1562  	}
  1563  
  1564  	if input == nil {
  1565  		input = &TagResourceInput{}
  1566  	}
  1567  
  1568  	output = &TagResourceOutput{}
  1569  	req = c.newRequest(op, input, output)
  1570  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1571  	return
  1572  }
  1573  
  1574  // TagResource API operation for Amazon Appflow.
  1575  //
  1576  // Applies a tag to the specified flow.
  1577  //
  1578  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1579  // with awserr.Error's Code and Message methods to get detailed information about
  1580  // the error.
  1581  //
  1582  // See the AWS API reference guide for Amazon Appflow's
  1583  // API operation TagResource for usage and error information.
  1584  //
  1585  // Returned Error Types:
  1586  //   * InternalServerException
  1587  //   An internal service error occurred during the processing of your request.
  1588  //   Try again later.
  1589  //
  1590  //   * ValidationException
  1591  //   The request has invalid or missing parameters.
  1592  //
  1593  //   * ResourceNotFoundException
  1594  //   The resource specified in the request (such as the source or destination
  1595  //   connector profile) is not found.
  1596  //
  1597  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/TagResource
  1598  func (c *Appflow) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
  1599  	req, out := c.TagResourceRequest(input)
  1600  	return out, req.Send()
  1601  }
  1602  
  1603  // TagResourceWithContext is the same as TagResource with the addition of
  1604  // the ability to pass a context and additional request options.
  1605  //
  1606  // See TagResource for details on how to use this API operation.
  1607  //
  1608  // The context must be non-nil and will be used for request cancellation. If
  1609  // the context is nil a panic will occur. In the future the SDK may create
  1610  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1611  // for more information on using Contexts.
  1612  func (c *Appflow) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
  1613  	req, out := c.TagResourceRequest(input)
  1614  	req.SetContext(ctx)
  1615  	req.ApplyOptions(opts...)
  1616  	return out, req.Send()
  1617  }
  1618  
  1619  const opUntagResource = "UntagResource"
  1620  
  1621  // UntagResourceRequest generates a "aws/request.Request" representing the
  1622  // client's request for the UntagResource operation. The "output" return
  1623  // value will be populated with the request's response once the request completes
  1624  // successfully.
  1625  //
  1626  // Use "Send" method on the returned Request to send the API call to the service.
  1627  // the "output" return value is not valid until after Send returns without error.
  1628  //
  1629  // See UntagResource for more information on using the UntagResource
  1630  // API call, and error handling.
  1631  //
  1632  // This method is useful when you want to inject custom logic or configuration
  1633  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1634  //
  1635  //
  1636  //    // Example sending a request using the UntagResourceRequest method.
  1637  //    req, resp := client.UntagResourceRequest(params)
  1638  //
  1639  //    err := req.Send()
  1640  //    if err == nil { // resp is now filled
  1641  //        fmt.Println(resp)
  1642  //    }
  1643  //
  1644  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UntagResource
  1645  func (c *Appflow) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
  1646  	op := &request.Operation{
  1647  		Name:       opUntagResource,
  1648  		HTTPMethod: "DELETE",
  1649  		HTTPPath:   "/tags/{resourceArn}",
  1650  	}
  1651  
  1652  	if input == nil {
  1653  		input = &UntagResourceInput{}
  1654  	}
  1655  
  1656  	output = &UntagResourceOutput{}
  1657  	req = c.newRequest(op, input, output)
  1658  	req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
  1659  	return
  1660  }
  1661  
  1662  // UntagResource API operation for Amazon Appflow.
  1663  //
  1664  // Removes a tag from the specified flow.
  1665  //
  1666  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1667  // with awserr.Error's Code and Message methods to get detailed information about
  1668  // the error.
  1669  //
  1670  // See the AWS API reference guide for Amazon Appflow's
  1671  // API operation UntagResource for usage and error information.
  1672  //
  1673  // Returned Error Types:
  1674  //   * InternalServerException
  1675  //   An internal service error occurred during the processing of your request.
  1676  //   Try again later.
  1677  //
  1678  //   * ValidationException
  1679  //   The request has invalid or missing parameters.
  1680  //
  1681  //   * ResourceNotFoundException
  1682  //   The resource specified in the request (such as the source or destination
  1683  //   connector profile) is not found.
  1684  //
  1685  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UntagResource
  1686  func (c *Appflow) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
  1687  	req, out := c.UntagResourceRequest(input)
  1688  	return out, req.Send()
  1689  }
  1690  
  1691  // UntagResourceWithContext is the same as UntagResource with the addition of
  1692  // the ability to pass a context and additional request options.
  1693  //
  1694  // See UntagResource for details on how to use this API operation.
  1695  //
  1696  // The context must be non-nil and will be used for request cancellation. If
  1697  // the context is nil a panic will occur. In the future the SDK may create
  1698  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1699  // for more information on using Contexts.
  1700  func (c *Appflow) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
  1701  	req, out := c.UntagResourceRequest(input)
  1702  	req.SetContext(ctx)
  1703  	req.ApplyOptions(opts...)
  1704  	return out, req.Send()
  1705  }
  1706  
  1707  const opUpdateConnectorProfile = "UpdateConnectorProfile"
  1708  
  1709  // UpdateConnectorProfileRequest generates a "aws/request.Request" representing the
  1710  // client's request for the UpdateConnectorProfile operation. The "output" return
  1711  // value will be populated with the request's response once the request completes
  1712  // successfully.
  1713  //
  1714  // Use "Send" method on the returned Request to send the API call to the service.
  1715  // the "output" return value is not valid until after Send returns without error.
  1716  //
  1717  // See UpdateConnectorProfile for more information on using the UpdateConnectorProfile
  1718  // API call, and error handling.
  1719  //
  1720  // This method is useful when you want to inject custom logic or configuration
  1721  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1722  //
  1723  //
  1724  //    // Example sending a request using the UpdateConnectorProfileRequest method.
  1725  //    req, resp := client.UpdateConnectorProfileRequest(params)
  1726  //
  1727  //    err := req.Send()
  1728  //    if err == nil { // resp is now filled
  1729  //        fmt.Println(resp)
  1730  //    }
  1731  //
  1732  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorProfile
  1733  func (c *Appflow) UpdateConnectorProfileRequest(input *UpdateConnectorProfileInput) (req *request.Request, output *UpdateConnectorProfileOutput) {
  1734  	op := &request.Operation{
  1735  		Name:       opUpdateConnectorProfile,
  1736  		HTTPMethod: "POST",
  1737  		HTTPPath:   "/update-connector-profile",
  1738  	}
  1739  
  1740  	if input == nil {
  1741  		input = &UpdateConnectorProfileInput{}
  1742  	}
  1743  
  1744  	output = &UpdateConnectorProfileOutput{}
  1745  	req = c.newRequest(op, input, output)
  1746  	return
  1747  }
  1748  
  1749  // UpdateConnectorProfile API operation for Amazon Appflow.
  1750  //
  1751  // Updates a given connector profile associated with your account.
  1752  //
  1753  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1754  // with awserr.Error's Code and Message methods to get detailed information about
  1755  // the error.
  1756  //
  1757  // See the AWS API reference guide for Amazon Appflow's
  1758  // API operation UpdateConnectorProfile for usage and error information.
  1759  //
  1760  // Returned Error Types:
  1761  //   * ValidationException
  1762  //   The request has invalid or missing parameters.
  1763  //
  1764  //   * ResourceNotFoundException
  1765  //   The resource specified in the request (such as the source or destination
  1766  //   connector profile) is not found.
  1767  //
  1768  //   * ConflictException
  1769  //   There was a conflict when processing the request (for example, a flow with
  1770  //   the given name already exists within the account. Check for conflicting resource
  1771  //   names and try again.
  1772  //
  1773  //   * ConnectorAuthenticationException
  1774  //   An error occurred when authenticating with the connector endpoint.
  1775  //
  1776  //   * InternalServerException
  1777  //   An internal service error occurred during the processing of your request.
  1778  //   Try again later.
  1779  //
  1780  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorProfile
  1781  func (c *Appflow) UpdateConnectorProfile(input *UpdateConnectorProfileInput) (*UpdateConnectorProfileOutput, error) {
  1782  	req, out := c.UpdateConnectorProfileRequest(input)
  1783  	return out, req.Send()
  1784  }
  1785  
  1786  // UpdateConnectorProfileWithContext is the same as UpdateConnectorProfile with the addition of
  1787  // the ability to pass a context and additional request options.
  1788  //
  1789  // See UpdateConnectorProfile for details on how to use this API operation.
  1790  //
  1791  // The context must be non-nil and will be used for request cancellation. If
  1792  // the context is nil a panic will occur. In the future the SDK may create
  1793  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1794  // for more information on using Contexts.
  1795  func (c *Appflow) UpdateConnectorProfileWithContext(ctx aws.Context, input *UpdateConnectorProfileInput, opts ...request.Option) (*UpdateConnectorProfileOutput, error) {
  1796  	req, out := c.UpdateConnectorProfileRequest(input)
  1797  	req.SetContext(ctx)
  1798  	req.ApplyOptions(opts...)
  1799  	return out, req.Send()
  1800  }
  1801  
  1802  const opUpdateFlow = "UpdateFlow"
  1803  
  1804  // UpdateFlowRequest generates a "aws/request.Request" representing the
  1805  // client's request for the UpdateFlow operation. The "output" return
  1806  // value will be populated with the request's response once the request completes
  1807  // successfully.
  1808  //
  1809  // Use "Send" method on the returned Request to send the API call to the service.
  1810  // the "output" return value is not valid until after Send returns without error.
  1811  //
  1812  // See UpdateFlow for more information on using the UpdateFlow
  1813  // API call, and error handling.
  1814  //
  1815  // This method is useful when you want to inject custom logic or configuration
  1816  // into the SDK's request lifecycle. Such as custom headers, or retry logic.
  1817  //
  1818  //
  1819  //    // Example sending a request using the UpdateFlowRequest method.
  1820  //    req, resp := client.UpdateFlowRequest(params)
  1821  //
  1822  //    err := req.Send()
  1823  //    if err == nil { // resp is now filled
  1824  //        fmt.Println(resp)
  1825  //    }
  1826  //
  1827  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateFlow
  1828  func (c *Appflow) UpdateFlowRequest(input *UpdateFlowInput) (req *request.Request, output *UpdateFlowOutput) {
  1829  	op := &request.Operation{
  1830  		Name:       opUpdateFlow,
  1831  		HTTPMethod: "POST",
  1832  		HTTPPath:   "/update-flow",
  1833  	}
  1834  
  1835  	if input == nil {
  1836  		input = &UpdateFlowInput{}
  1837  	}
  1838  
  1839  	output = &UpdateFlowOutput{}
  1840  	req = c.newRequest(op, input, output)
  1841  	return
  1842  }
  1843  
  1844  // UpdateFlow API operation for Amazon Appflow.
  1845  //
  1846  // Updates an existing flow.
  1847  //
  1848  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  1849  // with awserr.Error's Code and Message methods to get detailed information about
  1850  // the error.
  1851  //
  1852  // See the AWS API reference guide for Amazon Appflow's
  1853  // API operation UpdateFlow for usage and error information.
  1854  //
  1855  // Returned Error Types:
  1856  //   * ValidationException
  1857  //   The request has invalid or missing parameters.
  1858  //
  1859  //   * ResourceNotFoundException
  1860  //   The resource specified in the request (such as the source or destination
  1861  //   connector profile) is not found.
  1862  //
  1863  //   * ServiceQuotaExceededException
  1864  //   The request would cause a service quota (such as the number of flows) to
  1865  //   be exceeded.
  1866  //
  1867  //   * ConflictException
  1868  //   There was a conflict when processing the request (for example, a flow with
  1869  //   the given name already exists within the account. Check for conflicting resource
  1870  //   names and try again.
  1871  //
  1872  //   * ConnectorAuthenticationException
  1873  //   An error occurred when authenticating with the connector endpoint.
  1874  //
  1875  //   * ConnectorServerException
  1876  //   An error occurred when retrieving data from the connector endpoint.
  1877  //
  1878  //   * InternalServerException
  1879  //   An internal service error occurred during the processing of your request.
  1880  //   Try again later.
  1881  //
  1882  // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateFlow
  1883  func (c *Appflow) UpdateFlow(input *UpdateFlowInput) (*UpdateFlowOutput, error) {
  1884  	req, out := c.UpdateFlowRequest(input)
  1885  	return out, req.Send()
  1886  }
  1887  
  1888  // UpdateFlowWithContext is the same as UpdateFlow with the addition of
  1889  // the ability to pass a context and additional request options.
  1890  //
  1891  // See UpdateFlow for details on how to use this API operation.
  1892  //
  1893  // The context must be non-nil and will be used for request cancellation. If
  1894  // the context is nil a panic will occur. In the future the SDK may create
  1895  // sub-contexts for http.Requests. See https://golang.org/pkg/context/
  1896  // for more information on using Contexts.
  1897  func (c *Appflow) UpdateFlowWithContext(ctx aws.Context, input *UpdateFlowInput, opts ...request.Option) (*UpdateFlowOutput, error) {
  1898  	req, out := c.UpdateFlowRequest(input)
  1899  	req.SetContext(ctx)
  1900  	req.ApplyOptions(opts...)
  1901  	return out, req.Send()
  1902  }
  1903  
  1904  // The aggregation settings that you can use to customize the output format
  1905  // of your flow data.
  1906  type AggregationConfig struct {
  1907  	_ struct{} `type:"structure"`
  1908  
  1909  	// Specifies whether Amazon AppFlow aggregates the flow records into a single
  1910  	// file, or leave them unaggregated.
  1911  	AggregationType *string `locationName:"aggregationType" type:"string" enum:"AggregationType"`
  1912  }
  1913  
  1914  // String returns the string representation.
  1915  //
  1916  // API parameter values that are decorated as "sensitive" in the API will not
  1917  // be included in the string output. The member name will be present, but the
  1918  // value will be replaced with "sensitive".
  1919  func (s AggregationConfig) String() string {
  1920  	return awsutil.Prettify(s)
  1921  }
  1922  
  1923  // GoString returns the string representation.
  1924  //
  1925  // API parameter values that are decorated as "sensitive" in the API will not
  1926  // be included in the string output. The member name will be present, but the
  1927  // value will be replaced with "sensitive".
  1928  func (s AggregationConfig) GoString() string {
  1929  	return s.String()
  1930  }
  1931  
  1932  // SetAggregationType sets the AggregationType field's value.
  1933  func (s *AggregationConfig) SetAggregationType(v string) *AggregationConfig {
  1934  	s.AggregationType = &v
  1935  	return s
  1936  }
  1937  
  1938  // The connector-specific credentials required when using Amplitude.
  1939  type AmplitudeConnectorProfileCredentials struct {
  1940  	_ struct{} `type:"structure"`
  1941  
  1942  	// A unique alphanumeric identifier used to authenticate a user, developer,
  1943  	// or calling program to your API.
  1944  	//
  1945  	// ApiKey is a required field
  1946  	ApiKey *string `locationName:"apiKey" type:"string" required:"true"`
  1947  
  1948  	// The Secret Access Key portion of the credentials.
  1949  	//
  1950  	// SecretKey is a sensitive parameter and its value will be
  1951  	// replaced with "sensitive" in string returned by AmplitudeConnectorProfileCredentials's
  1952  	// String and GoString methods.
  1953  	//
  1954  	// SecretKey is a required field
  1955  	SecretKey *string `locationName:"secretKey" type:"string" required:"true" sensitive:"true"`
  1956  }
  1957  
  1958  // String returns the string representation.
  1959  //
  1960  // API parameter values that are decorated as "sensitive" in the API will not
  1961  // be included in the string output. The member name will be present, but the
  1962  // value will be replaced with "sensitive".
  1963  func (s AmplitudeConnectorProfileCredentials) String() string {
  1964  	return awsutil.Prettify(s)
  1965  }
  1966  
  1967  // GoString returns the string representation.
  1968  //
  1969  // API parameter values that are decorated as "sensitive" in the API will not
  1970  // be included in the string output. The member name will be present, but the
  1971  // value will be replaced with "sensitive".
  1972  func (s AmplitudeConnectorProfileCredentials) GoString() string {
  1973  	return s.String()
  1974  }
  1975  
  1976  // Validate inspects the fields of the type to determine if they are valid.
  1977  func (s *AmplitudeConnectorProfileCredentials) Validate() error {
  1978  	invalidParams := request.ErrInvalidParams{Context: "AmplitudeConnectorProfileCredentials"}
  1979  	if s.ApiKey == nil {
  1980  		invalidParams.Add(request.NewErrParamRequired("ApiKey"))
  1981  	}
  1982  	if s.SecretKey == nil {
  1983  		invalidParams.Add(request.NewErrParamRequired("SecretKey"))
  1984  	}
  1985  
  1986  	if invalidParams.Len() > 0 {
  1987  		return invalidParams
  1988  	}
  1989  	return nil
  1990  }
  1991  
  1992  // SetApiKey sets the ApiKey field's value.
  1993  func (s *AmplitudeConnectorProfileCredentials) SetApiKey(v string) *AmplitudeConnectorProfileCredentials {
  1994  	s.ApiKey = &v
  1995  	return s
  1996  }
  1997  
  1998  // SetSecretKey sets the SecretKey field's value.
  1999  func (s *AmplitudeConnectorProfileCredentials) SetSecretKey(v string) *AmplitudeConnectorProfileCredentials {
  2000  	s.SecretKey = &v
  2001  	return s
  2002  }
  2003  
  2004  // The connector-specific profile properties required when using Amplitude.
  2005  type AmplitudeConnectorProfileProperties struct {
  2006  	_ struct{} `type:"structure" nopayload:"true"`
  2007  }
  2008  
  2009  // String returns the string representation.
  2010  //
  2011  // API parameter values that are decorated as "sensitive" in the API will not
  2012  // be included in the string output. The member name will be present, but the
  2013  // value will be replaced with "sensitive".
  2014  func (s AmplitudeConnectorProfileProperties) String() string {
  2015  	return awsutil.Prettify(s)
  2016  }
  2017  
  2018  // GoString returns the string representation.
  2019  //
  2020  // API parameter values that are decorated as "sensitive" in the API will not
  2021  // be included in the string output. The member name will be present, but the
  2022  // value will be replaced with "sensitive".
  2023  func (s AmplitudeConnectorProfileProperties) GoString() string {
  2024  	return s.String()
  2025  }
  2026  
  2027  // The connector metadata specific to Amplitude.
  2028  type AmplitudeMetadata struct {
  2029  	_ struct{} `type:"structure" nopayload:"true"`
  2030  }
  2031  
  2032  // String returns the string representation.
  2033  //
  2034  // API parameter values that are decorated as "sensitive" in the API will not
  2035  // be included in the string output. The member name will be present, but the
  2036  // value will be replaced with "sensitive".
  2037  func (s AmplitudeMetadata) String() string {
  2038  	return awsutil.Prettify(s)
  2039  }
  2040  
  2041  // GoString returns the string representation.
  2042  //
  2043  // API parameter values that are decorated as "sensitive" in the API will not
  2044  // be included in the string output. The member name will be present, but the
  2045  // value will be replaced with "sensitive".
  2046  func (s AmplitudeMetadata) GoString() string {
  2047  	return s.String()
  2048  }
  2049  
  2050  // The properties that are applied when Amplitude is being used as a source.
  2051  type AmplitudeSourceProperties struct {
  2052  	_ struct{} `type:"structure"`
  2053  
  2054  	// The object specified in the Amplitude flow source.
  2055  	//
  2056  	// Object is a required field
  2057  	Object *string `locationName:"object" type:"string" required:"true"`
  2058  }
  2059  
  2060  // String returns the string representation.
  2061  //
  2062  // API parameter values that are decorated as "sensitive" in the API will not
  2063  // be included in the string output. The member name will be present, but the
  2064  // value will be replaced with "sensitive".
  2065  func (s AmplitudeSourceProperties) String() string {
  2066  	return awsutil.Prettify(s)
  2067  }
  2068  
  2069  // GoString returns the string representation.
  2070  //
  2071  // API parameter values that are decorated as "sensitive" in the API will not
  2072  // be included in the string output. The member name will be present, but the
  2073  // value will be replaced with "sensitive".
  2074  func (s AmplitudeSourceProperties) GoString() string {
  2075  	return s.String()
  2076  }
  2077  
  2078  // Validate inspects the fields of the type to determine if they are valid.
  2079  func (s *AmplitudeSourceProperties) Validate() error {
  2080  	invalidParams := request.ErrInvalidParams{Context: "AmplitudeSourceProperties"}
  2081  	if s.Object == nil {
  2082  		invalidParams.Add(request.NewErrParamRequired("Object"))
  2083  	}
  2084  
  2085  	if invalidParams.Len() > 0 {
  2086  		return invalidParams
  2087  	}
  2088  	return nil
  2089  }
  2090  
  2091  // SetObject sets the Object field's value.
  2092  func (s *AmplitudeSourceProperties) SetObject(v string) *AmplitudeSourceProperties {
  2093  	s.Object = &v
  2094  	return s
  2095  }
  2096  
  2097  // The basic auth credentials required for basic authentication.
  2098  type BasicAuthCredentials struct {
  2099  	_ struct{} `type:"structure"`
  2100  
  2101  	// The password to use to connect to a resource.
  2102  	//
  2103  	// Password is a sensitive parameter and its value will be
  2104  	// replaced with "sensitive" in string returned by BasicAuthCredentials's
  2105  	// String and GoString methods.
  2106  	//
  2107  	// Password is a required field
  2108  	Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"`
  2109  
  2110  	// The username to use to connect to a resource.
  2111  	//
  2112  	// Username is a required field
  2113  	Username *string `locationName:"username" type:"string" required:"true"`
  2114  }
  2115  
  2116  // String returns the string representation.
  2117  //
  2118  // API parameter values that are decorated as "sensitive" in the API will not
  2119  // be included in the string output. The member name will be present, but the
  2120  // value will be replaced with "sensitive".
  2121  func (s BasicAuthCredentials) String() string {
  2122  	return awsutil.Prettify(s)
  2123  }
  2124  
  2125  // GoString returns the string representation.
  2126  //
  2127  // API parameter values that are decorated as "sensitive" in the API will not
  2128  // be included in the string output. The member name will be present, but the
  2129  // value will be replaced with "sensitive".
  2130  func (s BasicAuthCredentials) GoString() string {
  2131  	return s.String()
  2132  }
  2133  
  2134  // Validate inspects the fields of the type to determine if they are valid.
  2135  func (s *BasicAuthCredentials) Validate() error {
  2136  	invalidParams := request.ErrInvalidParams{Context: "BasicAuthCredentials"}
  2137  	if s.Password == nil {
  2138  		invalidParams.Add(request.NewErrParamRequired("Password"))
  2139  	}
  2140  	if s.Username == nil {
  2141  		invalidParams.Add(request.NewErrParamRequired("Username"))
  2142  	}
  2143  
  2144  	if invalidParams.Len() > 0 {
  2145  		return invalidParams
  2146  	}
  2147  	return nil
  2148  }
  2149  
  2150  // SetPassword sets the Password field's value.
  2151  func (s *BasicAuthCredentials) SetPassword(v string) *BasicAuthCredentials {
  2152  	s.Password = &v
  2153  	return s
  2154  }
  2155  
  2156  // SetUsername sets the Username field's value.
  2157  func (s *BasicAuthCredentials) SetUsername(v string) *BasicAuthCredentials {
  2158  	s.Username = &v
  2159  	return s
  2160  }
  2161  
  2162  // There was a conflict when processing the request (for example, a flow with
  2163  // the given name already exists within the account. Check for conflicting resource
  2164  // names and try again.
  2165  type ConflictException struct {
  2166  	_            struct{}                  `type:"structure"`
  2167  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  2168  
  2169  	Message_ *string `locationName:"message" type:"string"`
  2170  }
  2171  
  2172  // String returns the string representation.
  2173  //
  2174  // API parameter values that are decorated as "sensitive" in the API will not
  2175  // be included in the string output. The member name will be present, but the
  2176  // value will be replaced with "sensitive".
  2177  func (s ConflictException) String() string {
  2178  	return awsutil.Prettify(s)
  2179  }
  2180  
  2181  // GoString returns the string representation.
  2182  //
  2183  // API parameter values that are decorated as "sensitive" in the API will not
  2184  // be included in the string output. The member name will be present, but the
  2185  // value will be replaced with "sensitive".
  2186  func (s ConflictException) GoString() string {
  2187  	return s.String()
  2188  }
  2189  
  2190  func newErrorConflictException(v protocol.ResponseMetadata) error {
  2191  	return &ConflictException{
  2192  		RespMetadata: v,
  2193  	}
  2194  }
  2195  
  2196  // Code returns the exception type name.
  2197  func (s *ConflictException) Code() string {
  2198  	return "ConflictException"
  2199  }
  2200  
  2201  // Message returns the exception's message.
  2202  func (s *ConflictException) Message() string {
  2203  	if s.Message_ != nil {
  2204  		return *s.Message_
  2205  	}
  2206  	return ""
  2207  }
  2208  
  2209  // OrigErr always returns nil, satisfies awserr.Error interface.
  2210  func (s *ConflictException) OrigErr() error {
  2211  	return nil
  2212  }
  2213  
  2214  func (s *ConflictException) Error() string {
  2215  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  2216  }
  2217  
  2218  // Status code returns the HTTP status code for the request's response error.
  2219  func (s *ConflictException) StatusCode() int {
  2220  	return s.RespMetadata.StatusCode
  2221  }
  2222  
  2223  // RequestID returns the service's response RequestID for request.
  2224  func (s *ConflictException) RequestID() string {
  2225  	return s.RespMetadata.RequestID
  2226  }
  2227  
  2228  // An error occurred when authenticating with the connector endpoint.
  2229  type ConnectorAuthenticationException struct {
  2230  	_            struct{}                  `type:"structure"`
  2231  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  2232  
  2233  	Message_ *string `locationName:"message" type:"string"`
  2234  }
  2235  
  2236  // String returns the string representation.
  2237  //
  2238  // API parameter values that are decorated as "sensitive" in the API will not
  2239  // be included in the string output. The member name will be present, but the
  2240  // value will be replaced with "sensitive".
  2241  func (s ConnectorAuthenticationException) String() string {
  2242  	return awsutil.Prettify(s)
  2243  }
  2244  
  2245  // GoString returns the string representation.
  2246  //
  2247  // API parameter values that are decorated as "sensitive" in the API will not
  2248  // be included in the string output. The member name will be present, but the
  2249  // value will be replaced with "sensitive".
  2250  func (s ConnectorAuthenticationException) GoString() string {
  2251  	return s.String()
  2252  }
  2253  
  2254  func newErrorConnectorAuthenticationException(v protocol.ResponseMetadata) error {
  2255  	return &ConnectorAuthenticationException{
  2256  		RespMetadata: v,
  2257  	}
  2258  }
  2259  
  2260  // Code returns the exception type name.
  2261  func (s *ConnectorAuthenticationException) Code() string {
  2262  	return "ConnectorAuthenticationException"
  2263  }
  2264  
  2265  // Message returns the exception's message.
  2266  func (s *ConnectorAuthenticationException) Message() string {
  2267  	if s.Message_ != nil {
  2268  		return *s.Message_
  2269  	}
  2270  	return ""
  2271  }
  2272  
  2273  // OrigErr always returns nil, satisfies awserr.Error interface.
  2274  func (s *ConnectorAuthenticationException) OrigErr() error {
  2275  	return nil
  2276  }
  2277  
  2278  func (s *ConnectorAuthenticationException) Error() string {
  2279  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  2280  }
  2281  
  2282  // Status code returns the HTTP status code for the request's response error.
  2283  func (s *ConnectorAuthenticationException) StatusCode() int {
  2284  	return s.RespMetadata.StatusCode
  2285  }
  2286  
  2287  // RequestID returns the service's response RequestID for request.
  2288  func (s *ConnectorAuthenticationException) RequestID() string {
  2289  	return s.RespMetadata.RequestID
  2290  }
  2291  
  2292  // The configuration settings related to a given connector.
  2293  type ConnectorConfiguration struct {
  2294  	_ struct{} `type:"structure"`
  2295  
  2296  	// Specifies whether the connector can be used as a destination.
  2297  	CanUseAsDestination *bool `locationName:"canUseAsDestination" type:"boolean"`
  2298  
  2299  	// Specifies whether the connector can be used as a source.
  2300  	CanUseAsSource *bool `locationName:"canUseAsSource" type:"boolean"`
  2301  
  2302  	// Specifies connector-specific metadata such as oAuthScopes, supportedRegions,
  2303  	// privateLinkServiceUrl, and so on.
  2304  	ConnectorMetadata *ConnectorMetadata `locationName:"connectorMetadata" type:"structure"`
  2305  
  2306  	// Specifies if PrivateLink is enabled for that connector.
  2307  	IsPrivateLinkEnabled *bool `locationName:"isPrivateLinkEnabled" type:"boolean"`
  2308  
  2309  	// Specifies if a PrivateLink endpoint URL is required.
  2310  	IsPrivateLinkEndpointUrlRequired *bool `locationName:"isPrivateLinkEndpointUrlRequired" type:"boolean"`
  2311  
  2312  	// Lists the connectors that are available for use as destinations.
  2313  	SupportedDestinationConnectors []*string `locationName:"supportedDestinationConnectors" type:"list"`
  2314  
  2315  	// Specifies the supported flow frequency for that connector.
  2316  	SupportedSchedulingFrequencies []*string `locationName:"supportedSchedulingFrequencies" type:"list"`
  2317  
  2318  	// Specifies the supported trigger types for the flow.
  2319  	SupportedTriggerTypes []*string `locationName:"supportedTriggerTypes" type:"list"`
  2320  }
  2321  
  2322  // String returns the string representation.
  2323  //
  2324  // API parameter values that are decorated as "sensitive" in the API will not
  2325  // be included in the string output. The member name will be present, but the
  2326  // value will be replaced with "sensitive".
  2327  func (s ConnectorConfiguration) String() string {
  2328  	return awsutil.Prettify(s)
  2329  }
  2330  
  2331  // GoString returns the string representation.
  2332  //
  2333  // API parameter values that are decorated as "sensitive" in the API will not
  2334  // be included in the string output. The member name will be present, but the
  2335  // value will be replaced with "sensitive".
  2336  func (s ConnectorConfiguration) GoString() string {
  2337  	return s.String()
  2338  }
  2339  
  2340  // SetCanUseAsDestination sets the CanUseAsDestination field's value.
  2341  func (s *ConnectorConfiguration) SetCanUseAsDestination(v bool) *ConnectorConfiguration {
  2342  	s.CanUseAsDestination = &v
  2343  	return s
  2344  }
  2345  
  2346  // SetCanUseAsSource sets the CanUseAsSource field's value.
  2347  func (s *ConnectorConfiguration) SetCanUseAsSource(v bool) *ConnectorConfiguration {
  2348  	s.CanUseAsSource = &v
  2349  	return s
  2350  }
  2351  
  2352  // SetConnectorMetadata sets the ConnectorMetadata field's value.
  2353  func (s *ConnectorConfiguration) SetConnectorMetadata(v *ConnectorMetadata) *ConnectorConfiguration {
  2354  	s.ConnectorMetadata = v
  2355  	return s
  2356  }
  2357  
  2358  // SetIsPrivateLinkEnabled sets the IsPrivateLinkEnabled field's value.
  2359  func (s *ConnectorConfiguration) SetIsPrivateLinkEnabled(v bool) *ConnectorConfiguration {
  2360  	s.IsPrivateLinkEnabled = &v
  2361  	return s
  2362  }
  2363  
  2364  // SetIsPrivateLinkEndpointUrlRequired sets the IsPrivateLinkEndpointUrlRequired field's value.
  2365  func (s *ConnectorConfiguration) SetIsPrivateLinkEndpointUrlRequired(v bool) *ConnectorConfiguration {
  2366  	s.IsPrivateLinkEndpointUrlRequired = &v
  2367  	return s
  2368  }
  2369  
  2370  // SetSupportedDestinationConnectors sets the SupportedDestinationConnectors field's value.
  2371  func (s *ConnectorConfiguration) SetSupportedDestinationConnectors(v []*string) *ConnectorConfiguration {
  2372  	s.SupportedDestinationConnectors = v
  2373  	return s
  2374  }
  2375  
  2376  // SetSupportedSchedulingFrequencies sets the SupportedSchedulingFrequencies field's value.
  2377  func (s *ConnectorConfiguration) SetSupportedSchedulingFrequencies(v []*string) *ConnectorConfiguration {
  2378  	s.SupportedSchedulingFrequencies = v
  2379  	return s
  2380  }
  2381  
  2382  // SetSupportedTriggerTypes sets the SupportedTriggerTypes field's value.
  2383  func (s *ConnectorConfiguration) SetSupportedTriggerTypes(v []*string) *ConnectorConfiguration {
  2384  	s.SupportedTriggerTypes = v
  2385  	return s
  2386  }
  2387  
  2388  // The high-level entity that can be queried in Amazon AppFlow. For example,
  2389  // a Salesforce entity might be an Account or Opportunity, whereas a ServiceNow
  2390  // entity might be an Incident.
  2391  type ConnectorEntity struct {
  2392  	_ struct{} `type:"structure"`
  2393  
  2394  	// Specifies whether the connector entity is a parent or a category and has
  2395  	// more entities nested underneath it. If another call is made with entitiesPath
  2396  	// = "the_current_entity_name_with_hasNestedEntities_true", then it returns
  2397  	// the nested entities underneath it. This provides a way to retrieve all supported
  2398  	// entities in a recursive fashion.
  2399  	HasNestedEntities *bool `locationName:"hasNestedEntities" type:"boolean"`
  2400  
  2401  	// The label applied to the connector entity.
  2402  	Label *string `locationName:"label" type:"string"`
  2403  
  2404  	// The name of the connector entity.
  2405  	//
  2406  	// Name is a required field
  2407  	Name *string `locationName:"name" type:"string" required:"true"`
  2408  }
  2409  
  2410  // String returns the string representation.
  2411  //
  2412  // API parameter values that are decorated as "sensitive" in the API will not
  2413  // be included in the string output. The member name will be present, but the
  2414  // value will be replaced with "sensitive".
  2415  func (s ConnectorEntity) String() string {
  2416  	return awsutil.Prettify(s)
  2417  }
  2418  
  2419  // GoString returns the string representation.
  2420  //
  2421  // API parameter values that are decorated as "sensitive" in the API will not
  2422  // be included in the string output. The member name will be present, but the
  2423  // value will be replaced with "sensitive".
  2424  func (s ConnectorEntity) GoString() string {
  2425  	return s.String()
  2426  }
  2427  
  2428  // SetHasNestedEntities sets the HasNestedEntities field's value.
  2429  func (s *ConnectorEntity) SetHasNestedEntities(v bool) *ConnectorEntity {
  2430  	s.HasNestedEntities = &v
  2431  	return s
  2432  }
  2433  
  2434  // SetLabel sets the Label field's value.
  2435  func (s *ConnectorEntity) SetLabel(v string) *ConnectorEntity {
  2436  	s.Label = &v
  2437  	return s
  2438  }
  2439  
  2440  // SetName sets the Name field's value.
  2441  func (s *ConnectorEntity) SetName(v string) *ConnectorEntity {
  2442  	s.Name = &v
  2443  	return s
  2444  }
  2445  
  2446  // Describes the data model of a connector field. For example, for an account
  2447  // entity, the fields would be account name, account ID, and so on.
  2448  type ConnectorEntityField struct {
  2449  	_ struct{} `type:"structure"`
  2450  
  2451  	// A description of the connector entity field.
  2452  	Description *string `locationName:"description" type:"string"`
  2453  
  2454  	// The properties applied to a field when the connector is being used as a destination.
  2455  	DestinationProperties *DestinationFieldProperties `locationName:"destinationProperties" type:"structure"`
  2456  
  2457  	// The unique identifier of the connector field.
  2458  	//
  2459  	// Identifier is a required field
  2460  	Identifier *string `locationName:"identifier" type:"string" required:"true"`
  2461  
  2462  	// The label applied to a connector entity field.
  2463  	Label *string `locationName:"label" type:"string"`
  2464  
  2465  	// The properties that can be applied to a field when the connector is being
  2466  	// used as a source.
  2467  	SourceProperties *SourceFieldProperties `locationName:"sourceProperties" type:"structure"`
  2468  
  2469  	// Contains details regarding the supported FieldType, including the corresponding
  2470  	// filterOperators and supportedValues.
  2471  	SupportedFieldTypeDetails *SupportedFieldTypeDetails `locationName:"supportedFieldTypeDetails" type:"structure"`
  2472  }
  2473  
  2474  // String returns the string representation.
  2475  //
  2476  // API parameter values that are decorated as "sensitive" in the API will not
  2477  // be included in the string output. The member name will be present, but the
  2478  // value will be replaced with "sensitive".
  2479  func (s ConnectorEntityField) String() string {
  2480  	return awsutil.Prettify(s)
  2481  }
  2482  
  2483  // GoString returns the string representation.
  2484  //
  2485  // API parameter values that are decorated as "sensitive" in the API will not
  2486  // be included in the string output. The member name will be present, but the
  2487  // value will be replaced with "sensitive".
  2488  func (s ConnectorEntityField) GoString() string {
  2489  	return s.String()
  2490  }
  2491  
  2492  // SetDescription sets the Description field's value.
  2493  func (s *ConnectorEntityField) SetDescription(v string) *ConnectorEntityField {
  2494  	s.Description = &v
  2495  	return s
  2496  }
  2497  
  2498  // SetDestinationProperties sets the DestinationProperties field's value.
  2499  func (s *ConnectorEntityField) SetDestinationProperties(v *DestinationFieldProperties) *ConnectorEntityField {
  2500  	s.DestinationProperties = v
  2501  	return s
  2502  }
  2503  
  2504  // SetIdentifier sets the Identifier field's value.
  2505  func (s *ConnectorEntityField) SetIdentifier(v string) *ConnectorEntityField {
  2506  	s.Identifier = &v
  2507  	return s
  2508  }
  2509  
  2510  // SetLabel sets the Label field's value.
  2511  func (s *ConnectorEntityField) SetLabel(v string) *ConnectorEntityField {
  2512  	s.Label = &v
  2513  	return s
  2514  }
  2515  
  2516  // SetSourceProperties sets the SourceProperties field's value.
  2517  func (s *ConnectorEntityField) SetSourceProperties(v *SourceFieldProperties) *ConnectorEntityField {
  2518  	s.SourceProperties = v
  2519  	return s
  2520  }
  2521  
  2522  // SetSupportedFieldTypeDetails sets the SupportedFieldTypeDetails field's value.
  2523  func (s *ConnectorEntityField) SetSupportedFieldTypeDetails(v *SupportedFieldTypeDetails) *ConnectorEntityField {
  2524  	s.SupportedFieldTypeDetails = v
  2525  	return s
  2526  }
  2527  
  2528  // A structure to specify connector-specific metadata such as oAuthScopes, supportedRegions,
  2529  // privateLinkServiceUrl, and so on.
  2530  type ConnectorMetadata struct {
  2531  	_ struct{} `type:"structure"`
  2532  
  2533  	// The connector metadata specific to Amplitude.
  2534  	Amplitude *AmplitudeMetadata `type:"structure"`
  2535  
  2536  	// The connector metadata specific to Amazon Connect Customer Profiles.
  2537  	CustomerProfiles *CustomerProfilesMetadata `type:"structure"`
  2538  
  2539  	// The connector metadata specific to Datadog.
  2540  	Datadog *DatadogMetadata `type:"structure"`
  2541  
  2542  	// The connector metadata specific to Dynatrace.
  2543  	Dynatrace *DynatraceMetadata `type:"structure"`
  2544  
  2545  	// The connector metadata specific to Amazon EventBridge.
  2546  	EventBridge *EventBridgeMetadata `type:"structure"`
  2547  
  2548  	// The connector metadata specific to Google Analytics.
  2549  	GoogleAnalytics *GoogleAnalyticsMetadata `type:"structure"`
  2550  
  2551  	// The connector metadata specific to Amazon Honeycode.
  2552  	Honeycode *HoneycodeMetadata `type:"structure"`
  2553  
  2554  	// The connector metadata specific to Infor Nexus.
  2555  	InforNexus *InforNexusMetadata `type:"structure"`
  2556  
  2557  	// The connector metadata specific to Marketo.
  2558  	Marketo *MarketoMetadata `type:"structure"`
  2559  
  2560  	// The connector metadata specific to Amazon Redshift.
  2561  	Redshift *RedshiftMetadata `type:"structure"`
  2562  
  2563  	// The connector metadata specific to Amazon S3.
  2564  	S3 *S3Metadata `type:"structure"`
  2565  
  2566  	// The connector metadata specific to SAPOData.
  2567  	SAPOData *SAPODataMetadata `type:"structure"`
  2568  
  2569  	// The connector metadata specific to Salesforce.
  2570  	Salesforce *SalesforceMetadata `type:"structure"`
  2571  
  2572  	// The connector metadata specific to ServiceNow.
  2573  	ServiceNow *ServiceNowMetadata `type:"structure"`
  2574  
  2575  	// The connector metadata specific to Singular.
  2576  	Singular *SingularMetadata `type:"structure"`
  2577  
  2578  	// The connector metadata specific to Slack.
  2579  	Slack *SlackMetadata `type:"structure"`
  2580  
  2581  	// The connector metadata specific to Snowflake.
  2582  	Snowflake *SnowflakeMetadata `type:"structure"`
  2583  
  2584  	// The connector metadata specific to Trend Micro.
  2585  	Trendmicro *TrendmicroMetadata `type:"structure"`
  2586  
  2587  	// The connector metadata specific to Upsolver.
  2588  	Upsolver *UpsolverMetadata `type:"structure"`
  2589  
  2590  	// The connector metadata specific to Veeva.
  2591  	Veeva *VeevaMetadata `type:"structure"`
  2592  
  2593  	// The connector metadata specific to Zendesk.
  2594  	Zendesk *ZendeskMetadata `type:"structure"`
  2595  }
  2596  
  2597  // String returns the string representation.
  2598  //
  2599  // API parameter values that are decorated as "sensitive" in the API will not
  2600  // be included in the string output. The member name will be present, but the
  2601  // value will be replaced with "sensitive".
  2602  func (s ConnectorMetadata) String() string {
  2603  	return awsutil.Prettify(s)
  2604  }
  2605  
  2606  // GoString returns the string representation.
  2607  //
  2608  // API parameter values that are decorated as "sensitive" in the API will not
  2609  // be included in the string output. The member name will be present, but the
  2610  // value will be replaced with "sensitive".
  2611  func (s ConnectorMetadata) GoString() string {
  2612  	return s.String()
  2613  }
  2614  
  2615  // SetAmplitude sets the Amplitude field's value.
  2616  func (s *ConnectorMetadata) SetAmplitude(v *AmplitudeMetadata) *ConnectorMetadata {
  2617  	s.Amplitude = v
  2618  	return s
  2619  }
  2620  
  2621  // SetCustomerProfiles sets the CustomerProfiles field's value.
  2622  func (s *ConnectorMetadata) SetCustomerProfiles(v *CustomerProfilesMetadata) *ConnectorMetadata {
  2623  	s.CustomerProfiles = v
  2624  	return s
  2625  }
  2626  
  2627  // SetDatadog sets the Datadog field's value.
  2628  func (s *ConnectorMetadata) SetDatadog(v *DatadogMetadata) *ConnectorMetadata {
  2629  	s.Datadog = v
  2630  	return s
  2631  }
  2632  
  2633  // SetDynatrace sets the Dynatrace field's value.
  2634  func (s *ConnectorMetadata) SetDynatrace(v *DynatraceMetadata) *ConnectorMetadata {
  2635  	s.Dynatrace = v
  2636  	return s
  2637  }
  2638  
  2639  // SetEventBridge sets the EventBridge field's value.
  2640  func (s *ConnectorMetadata) SetEventBridge(v *EventBridgeMetadata) *ConnectorMetadata {
  2641  	s.EventBridge = v
  2642  	return s
  2643  }
  2644  
  2645  // SetGoogleAnalytics sets the GoogleAnalytics field's value.
  2646  func (s *ConnectorMetadata) SetGoogleAnalytics(v *GoogleAnalyticsMetadata) *ConnectorMetadata {
  2647  	s.GoogleAnalytics = v
  2648  	return s
  2649  }
  2650  
  2651  // SetHoneycode sets the Honeycode field's value.
  2652  func (s *ConnectorMetadata) SetHoneycode(v *HoneycodeMetadata) *ConnectorMetadata {
  2653  	s.Honeycode = v
  2654  	return s
  2655  }
  2656  
  2657  // SetInforNexus sets the InforNexus field's value.
  2658  func (s *ConnectorMetadata) SetInforNexus(v *InforNexusMetadata) *ConnectorMetadata {
  2659  	s.InforNexus = v
  2660  	return s
  2661  }
  2662  
  2663  // SetMarketo sets the Marketo field's value.
  2664  func (s *ConnectorMetadata) SetMarketo(v *MarketoMetadata) *ConnectorMetadata {
  2665  	s.Marketo = v
  2666  	return s
  2667  }
  2668  
  2669  // SetRedshift sets the Redshift field's value.
  2670  func (s *ConnectorMetadata) SetRedshift(v *RedshiftMetadata) *ConnectorMetadata {
  2671  	s.Redshift = v
  2672  	return s
  2673  }
  2674  
  2675  // SetS3 sets the S3 field's value.
  2676  func (s *ConnectorMetadata) SetS3(v *S3Metadata) *ConnectorMetadata {
  2677  	s.S3 = v
  2678  	return s
  2679  }
  2680  
  2681  // SetSAPOData sets the SAPOData field's value.
  2682  func (s *ConnectorMetadata) SetSAPOData(v *SAPODataMetadata) *ConnectorMetadata {
  2683  	s.SAPOData = v
  2684  	return s
  2685  }
  2686  
  2687  // SetSalesforce sets the Salesforce field's value.
  2688  func (s *ConnectorMetadata) SetSalesforce(v *SalesforceMetadata) *ConnectorMetadata {
  2689  	s.Salesforce = v
  2690  	return s
  2691  }
  2692  
  2693  // SetServiceNow sets the ServiceNow field's value.
  2694  func (s *ConnectorMetadata) SetServiceNow(v *ServiceNowMetadata) *ConnectorMetadata {
  2695  	s.ServiceNow = v
  2696  	return s
  2697  }
  2698  
  2699  // SetSingular sets the Singular field's value.
  2700  func (s *ConnectorMetadata) SetSingular(v *SingularMetadata) *ConnectorMetadata {
  2701  	s.Singular = v
  2702  	return s
  2703  }
  2704  
  2705  // SetSlack sets the Slack field's value.
  2706  func (s *ConnectorMetadata) SetSlack(v *SlackMetadata) *ConnectorMetadata {
  2707  	s.Slack = v
  2708  	return s
  2709  }
  2710  
  2711  // SetSnowflake sets the Snowflake field's value.
  2712  func (s *ConnectorMetadata) SetSnowflake(v *SnowflakeMetadata) *ConnectorMetadata {
  2713  	s.Snowflake = v
  2714  	return s
  2715  }
  2716  
  2717  // SetTrendmicro sets the Trendmicro field's value.
  2718  func (s *ConnectorMetadata) SetTrendmicro(v *TrendmicroMetadata) *ConnectorMetadata {
  2719  	s.Trendmicro = v
  2720  	return s
  2721  }
  2722  
  2723  // SetUpsolver sets the Upsolver field's value.
  2724  func (s *ConnectorMetadata) SetUpsolver(v *UpsolverMetadata) *ConnectorMetadata {
  2725  	s.Upsolver = v
  2726  	return s
  2727  }
  2728  
  2729  // SetVeeva sets the Veeva field's value.
  2730  func (s *ConnectorMetadata) SetVeeva(v *VeevaMetadata) *ConnectorMetadata {
  2731  	s.Veeva = v
  2732  	return s
  2733  }
  2734  
  2735  // SetZendesk sets the Zendesk field's value.
  2736  func (s *ConnectorMetadata) SetZendesk(v *ZendeskMetadata) *ConnectorMetadata {
  2737  	s.Zendesk = v
  2738  	return s
  2739  }
  2740  
  2741  // Used by select connectors for which the OAuth workflow is supported, such
  2742  // as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
  2743  type ConnectorOAuthRequest struct {
  2744  	_ struct{} `type:"structure"`
  2745  
  2746  	// The code provided by the connector when it has been authenticated via the
  2747  	// connected app.
  2748  	AuthCode *string `locationName:"authCode" type:"string"`
  2749  
  2750  	// The URL to which the authentication server redirects the browser after authorization
  2751  	// has been granted.
  2752  	RedirectUri *string `locationName:"redirectUri" type:"string"`
  2753  }
  2754  
  2755  // String returns the string representation.
  2756  //
  2757  // API parameter values that are decorated as "sensitive" in the API will not
  2758  // be included in the string output. The member name will be present, but the
  2759  // value will be replaced with "sensitive".
  2760  func (s ConnectorOAuthRequest) String() string {
  2761  	return awsutil.Prettify(s)
  2762  }
  2763  
  2764  // GoString returns the string representation.
  2765  //
  2766  // API parameter values that are decorated as "sensitive" in the API will not
  2767  // be included in the string output. The member name will be present, but the
  2768  // value will be replaced with "sensitive".
  2769  func (s ConnectorOAuthRequest) GoString() string {
  2770  	return s.String()
  2771  }
  2772  
  2773  // SetAuthCode sets the AuthCode field's value.
  2774  func (s *ConnectorOAuthRequest) SetAuthCode(v string) *ConnectorOAuthRequest {
  2775  	s.AuthCode = &v
  2776  	return s
  2777  }
  2778  
  2779  // SetRedirectUri sets the RedirectUri field's value.
  2780  func (s *ConnectorOAuthRequest) SetRedirectUri(v string) *ConnectorOAuthRequest {
  2781  	s.RedirectUri = &v
  2782  	return s
  2783  }
  2784  
  2785  // The operation to be performed on the provided source fields.
  2786  type ConnectorOperator struct {
  2787  	_ struct{} `type:"structure"`
  2788  
  2789  	// The operation to be performed on the provided Amplitude source fields.
  2790  	Amplitude *string `type:"string" enum:"AmplitudeConnectorOperator"`
  2791  
  2792  	// The operation to be performed on the provided Datadog source fields.
  2793  	Datadog *string `type:"string" enum:"DatadogConnectorOperator"`
  2794  
  2795  	// The operation to be performed on the provided Dynatrace source fields.
  2796  	Dynatrace *string `type:"string" enum:"DynatraceConnectorOperator"`
  2797  
  2798  	// The operation to be performed on the provided Google Analytics source fields.
  2799  	GoogleAnalytics *string `type:"string" enum:"GoogleAnalyticsConnectorOperator"`
  2800  
  2801  	// The operation to be performed on the provided Infor Nexus source fields.
  2802  	InforNexus *string `type:"string" enum:"InforNexusConnectorOperator"`
  2803  
  2804  	// The operation to be performed on the provided Marketo source fields.
  2805  	Marketo *string `type:"string" enum:"MarketoConnectorOperator"`
  2806  
  2807  	// The operation to be performed on the provided Amazon S3 source fields.
  2808  	S3 *string `type:"string" enum:"S3ConnectorOperator"`
  2809  
  2810  	// The operation to be performed on the provided SAPOData source fields.
  2811  	SAPOData *string `type:"string" enum:"SAPODataConnectorOperator"`
  2812  
  2813  	// The operation to be performed on the provided Salesforce source fields.
  2814  	Salesforce *string `type:"string" enum:"SalesforceConnectorOperator"`
  2815  
  2816  	// The operation to be performed on the provided ServiceNow source fields.
  2817  	ServiceNow *string `type:"string" enum:"ServiceNowConnectorOperator"`
  2818  
  2819  	// The operation to be performed on the provided Singular source fields.
  2820  	Singular *string `type:"string" enum:"SingularConnectorOperator"`
  2821  
  2822  	// The operation to be performed on the provided Slack source fields.
  2823  	Slack *string `type:"string" enum:"SlackConnectorOperator"`
  2824  
  2825  	// The operation to be performed on the provided Trend Micro source fields.
  2826  	Trendmicro *string `type:"string" enum:"TrendmicroConnectorOperator"`
  2827  
  2828  	// The operation to be performed on the provided Veeva source fields.
  2829  	Veeva *string `type:"string" enum:"VeevaConnectorOperator"`
  2830  
  2831  	// The operation to be performed on the provided Zendesk source fields.
  2832  	Zendesk *string `type:"string" enum:"ZendeskConnectorOperator"`
  2833  }
  2834  
  2835  // String returns the string representation.
  2836  //
  2837  // API parameter values that are decorated as "sensitive" in the API will not
  2838  // be included in the string output. The member name will be present, but the
  2839  // value will be replaced with "sensitive".
  2840  func (s ConnectorOperator) String() string {
  2841  	return awsutil.Prettify(s)
  2842  }
  2843  
  2844  // GoString returns the string representation.
  2845  //
  2846  // API parameter values that are decorated as "sensitive" in the API will not
  2847  // be included in the string output. The member name will be present, but the
  2848  // value will be replaced with "sensitive".
  2849  func (s ConnectorOperator) GoString() string {
  2850  	return s.String()
  2851  }
  2852  
  2853  // SetAmplitude sets the Amplitude field's value.
  2854  func (s *ConnectorOperator) SetAmplitude(v string) *ConnectorOperator {
  2855  	s.Amplitude = &v
  2856  	return s
  2857  }
  2858  
  2859  // SetDatadog sets the Datadog field's value.
  2860  func (s *ConnectorOperator) SetDatadog(v string) *ConnectorOperator {
  2861  	s.Datadog = &v
  2862  	return s
  2863  }
  2864  
  2865  // SetDynatrace sets the Dynatrace field's value.
  2866  func (s *ConnectorOperator) SetDynatrace(v string) *ConnectorOperator {
  2867  	s.Dynatrace = &v
  2868  	return s
  2869  }
  2870  
  2871  // SetGoogleAnalytics sets the GoogleAnalytics field's value.
  2872  func (s *ConnectorOperator) SetGoogleAnalytics(v string) *ConnectorOperator {
  2873  	s.GoogleAnalytics = &v
  2874  	return s
  2875  }
  2876  
  2877  // SetInforNexus sets the InforNexus field's value.
  2878  func (s *ConnectorOperator) SetInforNexus(v string) *ConnectorOperator {
  2879  	s.InforNexus = &v
  2880  	return s
  2881  }
  2882  
  2883  // SetMarketo sets the Marketo field's value.
  2884  func (s *ConnectorOperator) SetMarketo(v string) *ConnectorOperator {
  2885  	s.Marketo = &v
  2886  	return s
  2887  }
  2888  
  2889  // SetS3 sets the S3 field's value.
  2890  func (s *ConnectorOperator) SetS3(v string) *ConnectorOperator {
  2891  	s.S3 = &v
  2892  	return s
  2893  }
  2894  
  2895  // SetSAPOData sets the SAPOData field's value.
  2896  func (s *ConnectorOperator) SetSAPOData(v string) *ConnectorOperator {
  2897  	s.SAPOData = &v
  2898  	return s
  2899  }
  2900  
  2901  // SetSalesforce sets the Salesforce field's value.
  2902  func (s *ConnectorOperator) SetSalesforce(v string) *ConnectorOperator {
  2903  	s.Salesforce = &v
  2904  	return s
  2905  }
  2906  
  2907  // SetServiceNow sets the ServiceNow field's value.
  2908  func (s *ConnectorOperator) SetServiceNow(v string) *ConnectorOperator {
  2909  	s.ServiceNow = &v
  2910  	return s
  2911  }
  2912  
  2913  // SetSingular sets the Singular field's value.
  2914  func (s *ConnectorOperator) SetSingular(v string) *ConnectorOperator {
  2915  	s.Singular = &v
  2916  	return s
  2917  }
  2918  
  2919  // SetSlack sets the Slack field's value.
  2920  func (s *ConnectorOperator) SetSlack(v string) *ConnectorOperator {
  2921  	s.Slack = &v
  2922  	return s
  2923  }
  2924  
  2925  // SetTrendmicro sets the Trendmicro field's value.
  2926  func (s *ConnectorOperator) SetTrendmicro(v string) *ConnectorOperator {
  2927  	s.Trendmicro = &v
  2928  	return s
  2929  }
  2930  
  2931  // SetVeeva sets the Veeva field's value.
  2932  func (s *ConnectorOperator) SetVeeva(v string) *ConnectorOperator {
  2933  	s.Veeva = &v
  2934  	return s
  2935  }
  2936  
  2937  // SetZendesk sets the Zendesk field's value.
  2938  func (s *ConnectorOperator) SetZendesk(v string) *ConnectorOperator {
  2939  	s.Zendesk = &v
  2940  	return s
  2941  }
  2942  
  2943  // Describes an instance of a connector. This includes the provided name, credentials
  2944  // ARN, connection-mode, and so on. To keep the API intuitive and extensible,
  2945  // the fields that are common to all types of connector profiles are explicitly
  2946  // specified at the top level. The rest of the connector-specific properties
  2947  // are available via the connectorProfileProperties field.
  2948  type ConnectorProfile struct {
  2949  	_ struct{} `type:"structure"`
  2950  
  2951  	// Indicates the connection mode and if it is public or private.
  2952  	ConnectionMode *string `locationName:"connectionMode" type:"string" enum:"ConnectionMode"`
  2953  
  2954  	// The Amazon Resource Name (ARN) of the connector profile.
  2955  	ConnectorProfileArn *string `locationName:"connectorProfileArn" type:"string"`
  2956  
  2957  	// The name of the connector profile. The name is unique for each ConnectorProfile
  2958  	// in the Amazon Web Services account.
  2959  	ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"`
  2960  
  2961  	// The connector-specific properties of the profile configuration.
  2962  	ConnectorProfileProperties *ConnectorProfileProperties `locationName:"connectorProfileProperties" type:"structure"`
  2963  
  2964  	// The type of connector, such as Salesforce, Amplitude, and so on.
  2965  	ConnectorType *string `locationName:"connectorType" type:"string" enum:"ConnectorType"`
  2966  
  2967  	// Specifies when the connector profile was created.
  2968  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  2969  
  2970  	// The Amazon Resource Name (ARN) of the connector profile credentials.
  2971  	CredentialsArn *string `locationName:"credentialsArn" type:"string"`
  2972  
  2973  	// Specifies when the connector profile was last updated.
  2974  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  2975  
  2976  	// Specifies the private connection provisioning state.
  2977  	PrivateConnectionProvisioningState *PrivateConnectionProvisioningState `locationName:"privateConnectionProvisioningState" type:"structure"`
  2978  }
  2979  
  2980  // String returns the string representation.
  2981  //
  2982  // API parameter values that are decorated as "sensitive" in the API will not
  2983  // be included in the string output. The member name will be present, but the
  2984  // value will be replaced with "sensitive".
  2985  func (s ConnectorProfile) String() string {
  2986  	return awsutil.Prettify(s)
  2987  }
  2988  
  2989  // GoString returns the string representation.
  2990  //
  2991  // API parameter values that are decorated as "sensitive" in the API will not
  2992  // be included in the string output. The member name will be present, but the
  2993  // value will be replaced with "sensitive".
  2994  func (s ConnectorProfile) GoString() string {
  2995  	return s.String()
  2996  }
  2997  
  2998  // SetConnectionMode sets the ConnectionMode field's value.
  2999  func (s *ConnectorProfile) SetConnectionMode(v string) *ConnectorProfile {
  3000  	s.ConnectionMode = &v
  3001  	return s
  3002  }
  3003  
  3004  // SetConnectorProfileArn sets the ConnectorProfileArn field's value.
  3005  func (s *ConnectorProfile) SetConnectorProfileArn(v string) *ConnectorProfile {
  3006  	s.ConnectorProfileArn = &v
  3007  	return s
  3008  }
  3009  
  3010  // SetConnectorProfileName sets the ConnectorProfileName field's value.
  3011  func (s *ConnectorProfile) SetConnectorProfileName(v string) *ConnectorProfile {
  3012  	s.ConnectorProfileName = &v
  3013  	return s
  3014  }
  3015  
  3016  // SetConnectorProfileProperties sets the ConnectorProfileProperties field's value.
  3017  func (s *ConnectorProfile) SetConnectorProfileProperties(v *ConnectorProfileProperties) *ConnectorProfile {
  3018  	s.ConnectorProfileProperties = v
  3019  	return s
  3020  }
  3021  
  3022  // SetConnectorType sets the ConnectorType field's value.
  3023  func (s *ConnectorProfile) SetConnectorType(v string) *ConnectorProfile {
  3024  	s.ConnectorType = &v
  3025  	return s
  3026  }
  3027  
  3028  // SetCreatedAt sets the CreatedAt field's value.
  3029  func (s *ConnectorProfile) SetCreatedAt(v time.Time) *ConnectorProfile {
  3030  	s.CreatedAt = &v
  3031  	return s
  3032  }
  3033  
  3034  // SetCredentialsArn sets the CredentialsArn field's value.
  3035  func (s *ConnectorProfile) SetCredentialsArn(v string) *ConnectorProfile {
  3036  	s.CredentialsArn = &v
  3037  	return s
  3038  }
  3039  
  3040  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  3041  func (s *ConnectorProfile) SetLastUpdatedAt(v time.Time) *ConnectorProfile {
  3042  	s.LastUpdatedAt = &v
  3043  	return s
  3044  }
  3045  
  3046  // SetPrivateConnectionProvisioningState sets the PrivateConnectionProvisioningState field's value.
  3047  func (s *ConnectorProfile) SetPrivateConnectionProvisioningState(v *PrivateConnectionProvisioningState) *ConnectorProfile {
  3048  	s.PrivateConnectionProvisioningState = v
  3049  	return s
  3050  }
  3051  
  3052  // Defines the connector-specific configuration and credentials for the connector
  3053  // profile.
  3054  type ConnectorProfileConfig struct {
  3055  	_ struct{} `type:"structure"`
  3056  
  3057  	// The connector-specific credentials required by each connector.
  3058  	//
  3059  	// ConnectorProfileCredentials is a required field
  3060  	ConnectorProfileCredentials *ConnectorProfileCredentials `locationName:"connectorProfileCredentials" type:"structure" required:"true"`
  3061  
  3062  	// The connector-specific properties of the profile configuration.
  3063  	//
  3064  	// ConnectorProfileProperties is a required field
  3065  	ConnectorProfileProperties *ConnectorProfileProperties `locationName:"connectorProfileProperties" type:"structure" required:"true"`
  3066  }
  3067  
  3068  // String returns the string representation.
  3069  //
  3070  // API parameter values that are decorated as "sensitive" in the API will not
  3071  // be included in the string output. The member name will be present, but the
  3072  // value will be replaced with "sensitive".
  3073  func (s ConnectorProfileConfig) String() string {
  3074  	return awsutil.Prettify(s)
  3075  }
  3076  
  3077  // GoString returns the string representation.
  3078  //
  3079  // API parameter values that are decorated as "sensitive" in the API will not
  3080  // be included in the string output. The member name will be present, but the
  3081  // value will be replaced with "sensitive".
  3082  func (s ConnectorProfileConfig) GoString() string {
  3083  	return s.String()
  3084  }
  3085  
  3086  // Validate inspects the fields of the type to determine if they are valid.
  3087  func (s *ConnectorProfileConfig) Validate() error {
  3088  	invalidParams := request.ErrInvalidParams{Context: "ConnectorProfileConfig"}
  3089  	if s.ConnectorProfileCredentials == nil {
  3090  		invalidParams.Add(request.NewErrParamRequired("ConnectorProfileCredentials"))
  3091  	}
  3092  	if s.ConnectorProfileProperties == nil {
  3093  		invalidParams.Add(request.NewErrParamRequired("ConnectorProfileProperties"))
  3094  	}
  3095  	if s.ConnectorProfileCredentials != nil {
  3096  		if err := s.ConnectorProfileCredentials.Validate(); err != nil {
  3097  			invalidParams.AddNested("ConnectorProfileCredentials", err.(request.ErrInvalidParams))
  3098  		}
  3099  	}
  3100  	if s.ConnectorProfileProperties != nil {
  3101  		if err := s.ConnectorProfileProperties.Validate(); err != nil {
  3102  			invalidParams.AddNested("ConnectorProfileProperties", err.(request.ErrInvalidParams))
  3103  		}
  3104  	}
  3105  
  3106  	if invalidParams.Len() > 0 {
  3107  		return invalidParams
  3108  	}
  3109  	return nil
  3110  }
  3111  
  3112  // SetConnectorProfileCredentials sets the ConnectorProfileCredentials field's value.
  3113  func (s *ConnectorProfileConfig) SetConnectorProfileCredentials(v *ConnectorProfileCredentials) *ConnectorProfileConfig {
  3114  	s.ConnectorProfileCredentials = v
  3115  	return s
  3116  }
  3117  
  3118  // SetConnectorProfileProperties sets the ConnectorProfileProperties field's value.
  3119  func (s *ConnectorProfileConfig) SetConnectorProfileProperties(v *ConnectorProfileProperties) *ConnectorProfileConfig {
  3120  	s.ConnectorProfileProperties = v
  3121  	return s
  3122  }
  3123  
  3124  // The connector-specific credentials required by a connector.
  3125  type ConnectorProfileCredentials struct {
  3126  	_ struct{} `type:"structure"`
  3127  
  3128  	// The connector-specific credentials required when using Amplitude.
  3129  	Amplitude *AmplitudeConnectorProfileCredentials `type:"structure"`
  3130  
  3131  	// The connector-specific credentials required when using Datadog.
  3132  	Datadog *DatadogConnectorProfileCredentials `type:"structure"`
  3133  
  3134  	// The connector-specific credentials required when using Dynatrace.
  3135  	Dynatrace *DynatraceConnectorProfileCredentials `type:"structure"`
  3136  
  3137  	// The connector-specific credentials required when using Google Analytics.
  3138  	GoogleAnalytics *GoogleAnalyticsConnectorProfileCredentials `type:"structure"`
  3139  
  3140  	// The connector-specific credentials required when using Amazon Honeycode.
  3141  	Honeycode *HoneycodeConnectorProfileCredentials `type:"structure"`
  3142  
  3143  	// The connector-specific credentials required when using Infor Nexus.
  3144  	InforNexus *InforNexusConnectorProfileCredentials `type:"structure"`
  3145  
  3146  	// The connector-specific credentials required when using Marketo.
  3147  	Marketo *MarketoConnectorProfileCredentials `type:"structure"`
  3148  
  3149  	// The connector-specific credentials required when using Amazon Redshift.
  3150  	Redshift *RedshiftConnectorProfileCredentials `type:"structure"`
  3151  
  3152  	// The connector-specific profile credentials required when using SAPOData.
  3153  	SAPOData *SAPODataConnectorProfileCredentials `type:"structure"`
  3154  
  3155  	// The connector-specific credentials required when using Salesforce.
  3156  	Salesforce *SalesforceConnectorProfileCredentials `type:"structure"`
  3157  
  3158  	// The connector-specific credentials required when using ServiceNow.
  3159  	ServiceNow *ServiceNowConnectorProfileCredentials `type:"structure"`
  3160  
  3161  	// The connector-specific credentials required when using Singular.
  3162  	Singular *SingularConnectorProfileCredentials `type:"structure"`
  3163  
  3164  	// The connector-specific credentials required when using Slack.
  3165  	Slack *SlackConnectorProfileCredentials `type:"structure"`
  3166  
  3167  	// The connector-specific credentials required when using Snowflake.
  3168  	Snowflake *SnowflakeConnectorProfileCredentials `type:"structure"`
  3169  
  3170  	// The connector-specific credentials required when using Trend Micro.
  3171  	Trendmicro *TrendmicroConnectorProfileCredentials `type:"structure"`
  3172  
  3173  	// The connector-specific credentials required when using Veeva.
  3174  	Veeva *VeevaConnectorProfileCredentials `type:"structure"`
  3175  
  3176  	// The connector-specific credentials required when using Zendesk.
  3177  	Zendesk *ZendeskConnectorProfileCredentials `type:"structure"`
  3178  }
  3179  
  3180  // String returns the string representation.
  3181  //
  3182  // API parameter values that are decorated as "sensitive" in the API will not
  3183  // be included in the string output. The member name will be present, but the
  3184  // value will be replaced with "sensitive".
  3185  func (s ConnectorProfileCredentials) String() string {
  3186  	return awsutil.Prettify(s)
  3187  }
  3188  
  3189  // GoString returns the string representation.
  3190  //
  3191  // API parameter values that are decorated as "sensitive" in the API will not
  3192  // be included in the string output. The member name will be present, but the
  3193  // value will be replaced with "sensitive".
  3194  func (s ConnectorProfileCredentials) GoString() string {
  3195  	return s.String()
  3196  }
  3197  
  3198  // Validate inspects the fields of the type to determine if they are valid.
  3199  func (s *ConnectorProfileCredentials) Validate() error {
  3200  	invalidParams := request.ErrInvalidParams{Context: "ConnectorProfileCredentials"}
  3201  	if s.Amplitude != nil {
  3202  		if err := s.Amplitude.Validate(); err != nil {
  3203  			invalidParams.AddNested("Amplitude", err.(request.ErrInvalidParams))
  3204  		}
  3205  	}
  3206  	if s.Datadog != nil {
  3207  		if err := s.Datadog.Validate(); err != nil {
  3208  			invalidParams.AddNested("Datadog", err.(request.ErrInvalidParams))
  3209  		}
  3210  	}
  3211  	if s.Dynatrace != nil {
  3212  		if err := s.Dynatrace.Validate(); err != nil {
  3213  			invalidParams.AddNested("Dynatrace", err.(request.ErrInvalidParams))
  3214  		}
  3215  	}
  3216  	if s.GoogleAnalytics != nil {
  3217  		if err := s.GoogleAnalytics.Validate(); err != nil {
  3218  			invalidParams.AddNested("GoogleAnalytics", err.(request.ErrInvalidParams))
  3219  		}
  3220  	}
  3221  	if s.InforNexus != nil {
  3222  		if err := s.InforNexus.Validate(); err != nil {
  3223  			invalidParams.AddNested("InforNexus", err.(request.ErrInvalidParams))
  3224  		}
  3225  	}
  3226  	if s.Marketo != nil {
  3227  		if err := s.Marketo.Validate(); err != nil {
  3228  			invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams))
  3229  		}
  3230  	}
  3231  	if s.Redshift != nil {
  3232  		if err := s.Redshift.Validate(); err != nil {
  3233  			invalidParams.AddNested("Redshift", err.(request.ErrInvalidParams))
  3234  		}
  3235  	}
  3236  	if s.SAPOData != nil {
  3237  		if err := s.SAPOData.Validate(); err != nil {
  3238  			invalidParams.AddNested("SAPOData", err.(request.ErrInvalidParams))
  3239  		}
  3240  	}
  3241  	if s.Salesforce != nil {
  3242  		if err := s.Salesforce.Validate(); err != nil {
  3243  			invalidParams.AddNested("Salesforce", err.(request.ErrInvalidParams))
  3244  		}
  3245  	}
  3246  	if s.ServiceNow != nil {
  3247  		if err := s.ServiceNow.Validate(); err != nil {
  3248  			invalidParams.AddNested("ServiceNow", err.(request.ErrInvalidParams))
  3249  		}
  3250  	}
  3251  	if s.Singular != nil {
  3252  		if err := s.Singular.Validate(); err != nil {
  3253  			invalidParams.AddNested("Singular", err.(request.ErrInvalidParams))
  3254  		}
  3255  	}
  3256  	if s.Slack != nil {
  3257  		if err := s.Slack.Validate(); err != nil {
  3258  			invalidParams.AddNested("Slack", err.(request.ErrInvalidParams))
  3259  		}
  3260  	}
  3261  	if s.Snowflake != nil {
  3262  		if err := s.Snowflake.Validate(); err != nil {
  3263  			invalidParams.AddNested("Snowflake", err.(request.ErrInvalidParams))
  3264  		}
  3265  	}
  3266  	if s.Trendmicro != nil {
  3267  		if err := s.Trendmicro.Validate(); err != nil {
  3268  			invalidParams.AddNested("Trendmicro", err.(request.ErrInvalidParams))
  3269  		}
  3270  	}
  3271  	if s.Veeva != nil {
  3272  		if err := s.Veeva.Validate(); err != nil {
  3273  			invalidParams.AddNested("Veeva", err.(request.ErrInvalidParams))
  3274  		}
  3275  	}
  3276  	if s.Zendesk != nil {
  3277  		if err := s.Zendesk.Validate(); err != nil {
  3278  			invalidParams.AddNested("Zendesk", err.(request.ErrInvalidParams))
  3279  		}
  3280  	}
  3281  
  3282  	if invalidParams.Len() > 0 {
  3283  		return invalidParams
  3284  	}
  3285  	return nil
  3286  }
  3287  
  3288  // SetAmplitude sets the Amplitude field's value.
  3289  func (s *ConnectorProfileCredentials) SetAmplitude(v *AmplitudeConnectorProfileCredentials) *ConnectorProfileCredentials {
  3290  	s.Amplitude = v
  3291  	return s
  3292  }
  3293  
  3294  // SetDatadog sets the Datadog field's value.
  3295  func (s *ConnectorProfileCredentials) SetDatadog(v *DatadogConnectorProfileCredentials) *ConnectorProfileCredentials {
  3296  	s.Datadog = v
  3297  	return s
  3298  }
  3299  
  3300  // SetDynatrace sets the Dynatrace field's value.
  3301  func (s *ConnectorProfileCredentials) SetDynatrace(v *DynatraceConnectorProfileCredentials) *ConnectorProfileCredentials {
  3302  	s.Dynatrace = v
  3303  	return s
  3304  }
  3305  
  3306  // SetGoogleAnalytics sets the GoogleAnalytics field's value.
  3307  func (s *ConnectorProfileCredentials) SetGoogleAnalytics(v *GoogleAnalyticsConnectorProfileCredentials) *ConnectorProfileCredentials {
  3308  	s.GoogleAnalytics = v
  3309  	return s
  3310  }
  3311  
  3312  // SetHoneycode sets the Honeycode field's value.
  3313  func (s *ConnectorProfileCredentials) SetHoneycode(v *HoneycodeConnectorProfileCredentials) *ConnectorProfileCredentials {
  3314  	s.Honeycode = v
  3315  	return s
  3316  }
  3317  
  3318  // SetInforNexus sets the InforNexus field's value.
  3319  func (s *ConnectorProfileCredentials) SetInforNexus(v *InforNexusConnectorProfileCredentials) *ConnectorProfileCredentials {
  3320  	s.InforNexus = v
  3321  	return s
  3322  }
  3323  
  3324  // SetMarketo sets the Marketo field's value.
  3325  func (s *ConnectorProfileCredentials) SetMarketo(v *MarketoConnectorProfileCredentials) *ConnectorProfileCredentials {
  3326  	s.Marketo = v
  3327  	return s
  3328  }
  3329  
  3330  // SetRedshift sets the Redshift field's value.
  3331  func (s *ConnectorProfileCredentials) SetRedshift(v *RedshiftConnectorProfileCredentials) *ConnectorProfileCredentials {
  3332  	s.Redshift = v
  3333  	return s
  3334  }
  3335  
  3336  // SetSAPOData sets the SAPOData field's value.
  3337  func (s *ConnectorProfileCredentials) SetSAPOData(v *SAPODataConnectorProfileCredentials) *ConnectorProfileCredentials {
  3338  	s.SAPOData = v
  3339  	return s
  3340  }
  3341  
  3342  // SetSalesforce sets the Salesforce field's value.
  3343  func (s *ConnectorProfileCredentials) SetSalesforce(v *SalesforceConnectorProfileCredentials) *ConnectorProfileCredentials {
  3344  	s.Salesforce = v
  3345  	return s
  3346  }
  3347  
  3348  // SetServiceNow sets the ServiceNow field's value.
  3349  func (s *ConnectorProfileCredentials) SetServiceNow(v *ServiceNowConnectorProfileCredentials) *ConnectorProfileCredentials {
  3350  	s.ServiceNow = v
  3351  	return s
  3352  }
  3353  
  3354  // SetSingular sets the Singular field's value.
  3355  func (s *ConnectorProfileCredentials) SetSingular(v *SingularConnectorProfileCredentials) *ConnectorProfileCredentials {
  3356  	s.Singular = v
  3357  	return s
  3358  }
  3359  
  3360  // SetSlack sets the Slack field's value.
  3361  func (s *ConnectorProfileCredentials) SetSlack(v *SlackConnectorProfileCredentials) *ConnectorProfileCredentials {
  3362  	s.Slack = v
  3363  	return s
  3364  }
  3365  
  3366  // SetSnowflake sets the Snowflake field's value.
  3367  func (s *ConnectorProfileCredentials) SetSnowflake(v *SnowflakeConnectorProfileCredentials) *ConnectorProfileCredentials {
  3368  	s.Snowflake = v
  3369  	return s
  3370  }
  3371  
  3372  // SetTrendmicro sets the Trendmicro field's value.
  3373  func (s *ConnectorProfileCredentials) SetTrendmicro(v *TrendmicroConnectorProfileCredentials) *ConnectorProfileCredentials {
  3374  	s.Trendmicro = v
  3375  	return s
  3376  }
  3377  
  3378  // SetVeeva sets the Veeva field's value.
  3379  func (s *ConnectorProfileCredentials) SetVeeva(v *VeevaConnectorProfileCredentials) *ConnectorProfileCredentials {
  3380  	s.Veeva = v
  3381  	return s
  3382  }
  3383  
  3384  // SetZendesk sets the Zendesk field's value.
  3385  func (s *ConnectorProfileCredentials) SetZendesk(v *ZendeskConnectorProfileCredentials) *ConnectorProfileCredentials {
  3386  	s.Zendesk = v
  3387  	return s
  3388  }
  3389  
  3390  // The connector-specific profile properties required by each connector.
  3391  type ConnectorProfileProperties struct {
  3392  	_ struct{} `type:"structure"`
  3393  
  3394  	// The connector-specific properties required by Amplitude.
  3395  	Amplitude *AmplitudeConnectorProfileProperties `type:"structure"`
  3396  
  3397  	// The connector-specific properties required by Datadog.
  3398  	Datadog *DatadogConnectorProfileProperties `type:"structure"`
  3399  
  3400  	// The connector-specific properties required by Dynatrace.
  3401  	Dynatrace *DynatraceConnectorProfileProperties `type:"structure"`
  3402  
  3403  	// The connector-specific properties required Google Analytics.
  3404  	GoogleAnalytics *GoogleAnalyticsConnectorProfileProperties `type:"structure"`
  3405  
  3406  	// The connector-specific properties required by Amazon Honeycode.
  3407  	Honeycode *HoneycodeConnectorProfileProperties `type:"structure"`
  3408  
  3409  	// The connector-specific properties required by Infor Nexus.
  3410  	InforNexus *InforNexusConnectorProfileProperties `type:"structure"`
  3411  
  3412  	// The connector-specific properties required by Marketo.
  3413  	Marketo *MarketoConnectorProfileProperties `type:"structure"`
  3414  
  3415  	// The connector-specific properties required by Amazon Redshift.
  3416  	Redshift *RedshiftConnectorProfileProperties `type:"structure"`
  3417  
  3418  	// The connector-specific profile properties required when using SAPOData.
  3419  	SAPOData *SAPODataConnectorProfileProperties `type:"structure"`
  3420  
  3421  	// The connector-specific properties required by Salesforce.
  3422  	Salesforce *SalesforceConnectorProfileProperties `type:"structure"`
  3423  
  3424  	// The connector-specific properties required by serviceNow.
  3425  	ServiceNow *ServiceNowConnectorProfileProperties `type:"structure"`
  3426  
  3427  	// The connector-specific properties required by Singular.
  3428  	Singular *SingularConnectorProfileProperties `type:"structure"`
  3429  
  3430  	// The connector-specific properties required by Slack.
  3431  	Slack *SlackConnectorProfileProperties `type:"structure"`
  3432  
  3433  	// The connector-specific properties required by Snowflake.
  3434  	Snowflake *SnowflakeConnectorProfileProperties `type:"structure"`
  3435  
  3436  	// The connector-specific properties required by Trend Micro.
  3437  	Trendmicro *TrendmicroConnectorProfileProperties `type:"structure"`
  3438  
  3439  	// The connector-specific properties required by Veeva.
  3440  	Veeva *VeevaConnectorProfileProperties `type:"structure"`
  3441  
  3442  	// The connector-specific properties required by Zendesk.
  3443  	Zendesk *ZendeskConnectorProfileProperties `type:"structure"`
  3444  }
  3445  
  3446  // String returns the string representation.
  3447  //
  3448  // API parameter values that are decorated as "sensitive" in the API will not
  3449  // be included in the string output. The member name will be present, but the
  3450  // value will be replaced with "sensitive".
  3451  func (s ConnectorProfileProperties) String() string {
  3452  	return awsutil.Prettify(s)
  3453  }
  3454  
  3455  // GoString returns the string representation.
  3456  //
  3457  // API parameter values that are decorated as "sensitive" in the API will not
  3458  // be included in the string output. The member name will be present, but the
  3459  // value will be replaced with "sensitive".
  3460  func (s ConnectorProfileProperties) GoString() string {
  3461  	return s.String()
  3462  }
  3463  
  3464  // Validate inspects the fields of the type to determine if they are valid.
  3465  func (s *ConnectorProfileProperties) Validate() error {
  3466  	invalidParams := request.ErrInvalidParams{Context: "ConnectorProfileProperties"}
  3467  	if s.Datadog != nil {
  3468  		if err := s.Datadog.Validate(); err != nil {
  3469  			invalidParams.AddNested("Datadog", err.(request.ErrInvalidParams))
  3470  		}
  3471  	}
  3472  	if s.Dynatrace != nil {
  3473  		if err := s.Dynatrace.Validate(); err != nil {
  3474  			invalidParams.AddNested("Dynatrace", err.(request.ErrInvalidParams))
  3475  		}
  3476  	}
  3477  	if s.InforNexus != nil {
  3478  		if err := s.InforNexus.Validate(); err != nil {
  3479  			invalidParams.AddNested("InforNexus", err.(request.ErrInvalidParams))
  3480  		}
  3481  	}
  3482  	if s.Marketo != nil {
  3483  		if err := s.Marketo.Validate(); err != nil {
  3484  			invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams))
  3485  		}
  3486  	}
  3487  	if s.Redshift != nil {
  3488  		if err := s.Redshift.Validate(); err != nil {
  3489  			invalidParams.AddNested("Redshift", err.(request.ErrInvalidParams))
  3490  		}
  3491  	}
  3492  	if s.SAPOData != nil {
  3493  		if err := s.SAPOData.Validate(); err != nil {
  3494  			invalidParams.AddNested("SAPOData", err.(request.ErrInvalidParams))
  3495  		}
  3496  	}
  3497  	if s.ServiceNow != nil {
  3498  		if err := s.ServiceNow.Validate(); err != nil {
  3499  			invalidParams.AddNested("ServiceNow", err.(request.ErrInvalidParams))
  3500  		}
  3501  	}
  3502  	if s.Slack != nil {
  3503  		if err := s.Slack.Validate(); err != nil {
  3504  			invalidParams.AddNested("Slack", err.(request.ErrInvalidParams))
  3505  		}
  3506  	}
  3507  	if s.Snowflake != nil {
  3508  		if err := s.Snowflake.Validate(); err != nil {
  3509  			invalidParams.AddNested("Snowflake", err.(request.ErrInvalidParams))
  3510  		}
  3511  	}
  3512  	if s.Veeva != nil {
  3513  		if err := s.Veeva.Validate(); err != nil {
  3514  			invalidParams.AddNested("Veeva", err.(request.ErrInvalidParams))
  3515  		}
  3516  	}
  3517  	if s.Zendesk != nil {
  3518  		if err := s.Zendesk.Validate(); err != nil {
  3519  			invalidParams.AddNested("Zendesk", err.(request.ErrInvalidParams))
  3520  		}
  3521  	}
  3522  
  3523  	if invalidParams.Len() > 0 {
  3524  		return invalidParams
  3525  	}
  3526  	return nil
  3527  }
  3528  
  3529  // SetAmplitude sets the Amplitude field's value.
  3530  func (s *ConnectorProfileProperties) SetAmplitude(v *AmplitudeConnectorProfileProperties) *ConnectorProfileProperties {
  3531  	s.Amplitude = v
  3532  	return s
  3533  }
  3534  
  3535  // SetDatadog sets the Datadog field's value.
  3536  func (s *ConnectorProfileProperties) SetDatadog(v *DatadogConnectorProfileProperties) *ConnectorProfileProperties {
  3537  	s.Datadog = v
  3538  	return s
  3539  }
  3540  
  3541  // SetDynatrace sets the Dynatrace field's value.
  3542  func (s *ConnectorProfileProperties) SetDynatrace(v *DynatraceConnectorProfileProperties) *ConnectorProfileProperties {
  3543  	s.Dynatrace = v
  3544  	return s
  3545  }
  3546  
  3547  // SetGoogleAnalytics sets the GoogleAnalytics field's value.
  3548  func (s *ConnectorProfileProperties) SetGoogleAnalytics(v *GoogleAnalyticsConnectorProfileProperties) *ConnectorProfileProperties {
  3549  	s.GoogleAnalytics = v
  3550  	return s
  3551  }
  3552  
  3553  // SetHoneycode sets the Honeycode field's value.
  3554  func (s *ConnectorProfileProperties) SetHoneycode(v *HoneycodeConnectorProfileProperties) *ConnectorProfileProperties {
  3555  	s.Honeycode = v
  3556  	return s
  3557  }
  3558  
  3559  // SetInforNexus sets the InforNexus field's value.
  3560  func (s *ConnectorProfileProperties) SetInforNexus(v *InforNexusConnectorProfileProperties) *ConnectorProfileProperties {
  3561  	s.InforNexus = v
  3562  	return s
  3563  }
  3564  
  3565  // SetMarketo sets the Marketo field's value.
  3566  func (s *ConnectorProfileProperties) SetMarketo(v *MarketoConnectorProfileProperties) *ConnectorProfileProperties {
  3567  	s.Marketo = v
  3568  	return s
  3569  }
  3570  
  3571  // SetRedshift sets the Redshift field's value.
  3572  func (s *ConnectorProfileProperties) SetRedshift(v *RedshiftConnectorProfileProperties) *ConnectorProfileProperties {
  3573  	s.Redshift = v
  3574  	return s
  3575  }
  3576  
  3577  // SetSAPOData sets the SAPOData field's value.
  3578  func (s *ConnectorProfileProperties) SetSAPOData(v *SAPODataConnectorProfileProperties) *ConnectorProfileProperties {
  3579  	s.SAPOData = v
  3580  	return s
  3581  }
  3582  
  3583  // SetSalesforce sets the Salesforce field's value.
  3584  func (s *ConnectorProfileProperties) SetSalesforce(v *SalesforceConnectorProfileProperties) *ConnectorProfileProperties {
  3585  	s.Salesforce = v
  3586  	return s
  3587  }
  3588  
  3589  // SetServiceNow sets the ServiceNow field's value.
  3590  func (s *ConnectorProfileProperties) SetServiceNow(v *ServiceNowConnectorProfileProperties) *ConnectorProfileProperties {
  3591  	s.ServiceNow = v
  3592  	return s
  3593  }
  3594  
  3595  // SetSingular sets the Singular field's value.
  3596  func (s *ConnectorProfileProperties) SetSingular(v *SingularConnectorProfileProperties) *ConnectorProfileProperties {
  3597  	s.Singular = v
  3598  	return s
  3599  }
  3600  
  3601  // SetSlack sets the Slack field's value.
  3602  func (s *ConnectorProfileProperties) SetSlack(v *SlackConnectorProfileProperties) *ConnectorProfileProperties {
  3603  	s.Slack = v
  3604  	return s
  3605  }
  3606  
  3607  // SetSnowflake sets the Snowflake field's value.
  3608  func (s *ConnectorProfileProperties) SetSnowflake(v *SnowflakeConnectorProfileProperties) *ConnectorProfileProperties {
  3609  	s.Snowflake = v
  3610  	return s
  3611  }
  3612  
  3613  // SetTrendmicro sets the Trendmicro field's value.
  3614  func (s *ConnectorProfileProperties) SetTrendmicro(v *TrendmicroConnectorProfileProperties) *ConnectorProfileProperties {
  3615  	s.Trendmicro = v
  3616  	return s
  3617  }
  3618  
  3619  // SetVeeva sets the Veeva field's value.
  3620  func (s *ConnectorProfileProperties) SetVeeva(v *VeevaConnectorProfileProperties) *ConnectorProfileProperties {
  3621  	s.Veeva = v
  3622  	return s
  3623  }
  3624  
  3625  // SetZendesk sets the Zendesk field's value.
  3626  func (s *ConnectorProfileProperties) SetZendesk(v *ZendeskConnectorProfileProperties) *ConnectorProfileProperties {
  3627  	s.Zendesk = v
  3628  	return s
  3629  }
  3630  
  3631  // An error occurred when retrieving data from the connector endpoint.
  3632  type ConnectorServerException struct {
  3633  	_            struct{}                  `type:"structure"`
  3634  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  3635  
  3636  	Message_ *string `locationName:"message" type:"string"`
  3637  }
  3638  
  3639  // String returns the string representation.
  3640  //
  3641  // API parameter values that are decorated as "sensitive" in the API will not
  3642  // be included in the string output. The member name will be present, but the
  3643  // value will be replaced with "sensitive".
  3644  func (s ConnectorServerException) String() string {
  3645  	return awsutil.Prettify(s)
  3646  }
  3647  
  3648  // GoString returns the string representation.
  3649  //
  3650  // API parameter values that are decorated as "sensitive" in the API will not
  3651  // be included in the string output. The member name will be present, but the
  3652  // value will be replaced with "sensitive".
  3653  func (s ConnectorServerException) GoString() string {
  3654  	return s.String()
  3655  }
  3656  
  3657  func newErrorConnectorServerException(v protocol.ResponseMetadata) error {
  3658  	return &ConnectorServerException{
  3659  		RespMetadata: v,
  3660  	}
  3661  }
  3662  
  3663  // Code returns the exception type name.
  3664  func (s *ConnectorServerException) Code() string {
  3665  	return "ConnectorServerException"
  3666  }
  3667  
  3668  // Message returns the exception's message.
  3669  func (s *ConnectorServerException) Message() string {
  3670  	if s.Message_ != nil {
  3671  		return *s.Message_
  3672  	}
  3673  	return ""
  3674  }
  3675  
  3676  // OrigErr always returns nil, satisfies awserr.Error interface.
  3677  func (s *ConnectorServerException) OrigErr() error {
  3678  	return nil
  3679  }
  3680  
  3681  func (s *ConnectorServerException) Error() string {
  3682  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  3683  }
  3684  
  3685  // Status code returns the HTTP status code for the request's response error.
  3686  func (s *ConnectorServerException) StatusCode() int {
  3687  	return s.RespMetadata.StatusCode
  3688  }
  3689  
  3690  // RequestID returns the service's response RequestID for request.
  3691  func (s *ConnectorServerException) RequestID() string {
  3692  	return s.RespMetadata.RequestID
  3693  }
  3694  
  3695  type CreateConnectorProfileInput struct {
  3696  	_ struct{} `type:"structure"`
  3697  
  3698  	// Indicates the connection mode and specifies whether it is public or private.
  3699  	// Private flows use Amazon Web Services PrivateLink to route data over Amazon
  3700  	// Web Services infrastructure without exposing it to the public internet.
  3701  	//
  3702  	// ConnectionMode is a required field
  3703  	ConnectionMode *string `locationName:"connectionMode" type:"string" required:"true" enum:"ConnectionMode"`
  3704  
  3705  	// Defines the connector-specific configuration and credentials.
  3706  	//
  3707  	// ConnectorProfileConfig is a required field
  3708  	ConnectorProfileConfig *ConnectorProfileConfig `locationName:"connectorProfileConfig" type:"structure" required:"true"`
  3709  
  3710  	// The name of the connector profile. The name is unique for each ConnectorProfile
  3711  	// in your Amazon Web Services account.
  3712  	//
  3713  	// ConnectorProfileName is a required field
  3714  	ConnectorProfileName *string `locationName:"connectorProfileName" type:"string" required:"true"`
  3715  
  3716  	// The type of connector, such as Salesforce, Amplitude, and so on.
  3717  	//
  3718  	// ConnectorType is a required field
  3719  	ConnectorType *string `locationName:"connectorType" type:"string" required:"true" enum:"ConnectorType"`
  3720  
  3721  	// The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you
  3722  	// provide for encryption. This is required if you do not want to use the Amazon
  3723  	// AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow
  3724  	// uses the Amazon AppFlow-managed KMS key.
  3725  	KmsArn *string `locationName:"kmsArn" min:"20" type:"string"`
  3726  }
  3727  
  3728  // String returns the string representation.
  3729  //
  3730  // API parameter values that are decorated as "sensitive" in the API will not
  3731  // be included in the string output. The member name will be present, but the
  3732  // value will be replaced with "sensitive".
  3733  func (s CreateConnectorProfileInput) String() string {
  3734  	return awsutil.Prettify(s)
  3735  }
  3736  
  3737  // GoString returns the string representation.
  3738  //
  3739  // API parameter values that are decorated as "sensitive" in the API will not
  3740  // be included in the string output. The member name will be present, but the
  3741  // value will be replaced with "sensitive".
  3742  func (s CreateConnectorProfileInput) GoString() string {
  3743  	return s.String()
  3744  }
  3745  
  3746  // Validate inspects the fields of the type to determine if they are valid.
  3747  func (s *CreateConnectorProfileInput) Validate() error {
  3748  	invalidParams := request.ErrInvalidParams{Context: "CreateConnectorProfileInput"}
  3749  	if s.ConnectionMode == nil {
  3750  		invalidParams.Add(request.NewErrParamRequired("ConnectionMode"))
  3751  	}
  3752  	if s.ConnectorProfileConfig == nil {
  3753  		invalidParams.Add(request.NewErrParamRequired("ConnectorProfileConfig"))
  3754  	}
  3755  	if s.ConnectorProfileName == nil {
  3756  		invalidParams.Add(request.NewErrParamRequired("ConnectorProfileName"))
  3757  	}
  3758  	if s.ConnectorType == nil {
  3759  		invalidParams.Add(request.NewErrParamRequired("ConnectorType"))
  3760  	}
  3761  	if s.KmsArn != nil && len(*s.KmsArn) < 20 {
  3762  		invalidParams.Add(request.NewErrParamMinLen("KmsArn", 20))
  3763  	}
  3764  	if s.ConnectorProfileConfig != nil {
  3765  		if err := s.ConnectorProfileConfig.Validate(); err != nil {
  3766  			invalidParams.AddNested("ConnectorProfileConfig", err.(request.ErrInvalidParams))
  3767  		}
  3768  	}
  3769  
  3770  	if invalidParams.Len() > 0 {
  3771  		return invalidParams
  3772  	}
  3773  	return nil
  3774  }
  3775  
  3776  // SetConnectionMode sets the ConnectionMode field's value.
  3777  func (s *CreateConnectorProfileInput) SetConnectionMode(v string) *CreateConnectorProfileInput {
  3778  	s.ConnectionMode = &v
  3779  	return s
  3780  }
  3781  
  3782  // SetConnectorProfileConfig sets the ConnectorProfileConfig field's value.
  3783  func (s *CreateConnectorProfileInput) SetConnectorProfileConfig(v *ConnectorProfileConfig) *CreateConnectorProfileInput {
  3784  	s.ConnectorProfileConfig = v
  3785  	return s
  3786  }
  3787  
  3788  // SetConnectorProfileName sets the ConnectorProfileName field's value.
  3789  func (s *CreateConnectorProfileInput) SetConnectorProfileName(v string) *CreateConnectorProfileInput {
  3790  	s.ConnectorProfileName = &v
  3791  	return s
  3792  }
  3793  
  3794  // SetConnectorType sets the ConnectorType field's value.
  3795  func (s *CreateConnectorProfileInput) SetConnectorType(v string) *CreateConnectorProfileInput {
  3796  	s.ConnectorType = &v
  3797  	return s
  3798  }
  3799  
  3800  // SetKmsArn sets the KmsArn field's value.
  3801  func (s *CreateConnectorProfileInput) SetKmsArn(v string) *CreateConnectorProfileInput {
  3802  	s.KmsArn = &v
  3803  	return s
  3804  }
  3805  
  3806  type CreateConnectorProfileOutput struct {
  3807  	_ struct{} `type:"structure"`
  3808  
  3809  	// The Amazon Resource Name (ARN) of the connector profile.
  3810  	ConnectorProfileArn *string `locationName:"connectorProfileArn" type:"string"`
  3811  }
  3812  
  3813  // String returns the string representation.
  3814  //
  3815  // API parameter values that are decorated as "sensitive" in the API will not
  3816  // be included in the string output. The member name will be present, but the
  3817  // value will be replaced with "sensitive".
  3818  func (s CreateConnectorProfileOutput) String() string {
  3819  	return awsutil.Prettify(s)
  3820  }
  3821  
  3822  // GoString returns the string representation.
  3823  //
  3824  // API parameter values that are decorated as "sensitive" in the API will not
  3825  // be included in the string output. The member name will be present, but the
  3826  // value will be replaced with "sensitive".
  3827  func (s CreateConnectorProfileOutput) GoString() string {
  3828  	return s.String()
  3829  }
  3830  
  3831  // SetConnectorProfileArn sets the ConnectorProfileArn field's value.
  3832  func (s *CreateConnectorProfileOutput) SetConnectorProfileArn(v string) *CreateConnectorProfileOutput {
  3833  	s.ConnectorProfileArn = &v
  3834  	return s
  3835  }
  3836  
  3837  type CreateFlowInput struct {
  3838  	_ struct{} `type:"structure"`
  3839  
  3840  	// A description of the flow you want to create.
  3841  	Description *string `locationName:"description" type:"string"`
  3842  
  3843  	// The configuration that controls how Amazon AppFlow places data in the destination
  3844  	// connector.
  3845  	//
  3846  	// DestinationFlowConfigList is a required field
  3847  	DestinationFlowConfigList []*DestinationFlowConfig `locationName:"destinationFlowConfigList" type:"list" required:"true"`
  3848  
  3849  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
  3850  	// or hyphens (-) only.
  3851  	//
  3852  	// FlowName is a required field
  3853  	FlowName *string `locationName:"flowName" type:"string" required:"true"`
  3854  
  3855  	// The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you
  3856  	// provide for encryption. This is required if you do not want to use the Amazon
  3857  	// AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow
  3858  	// uses the Amazon AppFlow-managed KMS key.
  3859  	KmsArn *string `locationName:"kmsArn" min:"20" type:"string"`
  3860  
  3861  	// The configuration that controls how Amazon AppFlow retrieves data from the
  3862  	// source connector.
  3863  	//
  3864  	// SourceFlowConfig is a required field
  3865  	SourceFlowConfig *SourceFlowConfig `locationName:"sourceFlowConfig" type:"structure" required:"true"`
  3866  
  3867  	// The tags used to organize, track, or control access for your flow.
  3868  	Tags map[string]*string `locationName:"tags" type:"map"`
  3869  
  3870  	// A list of tasks that Amazon AppFlow performs while transferring the data
  3871  	// in the flow run.
  3872  	//
  3873  	// Tasks is a required field
  3874  	Tasks []*Task `locationName:"tasks" type:"list" required:"true"`
  3875  
  3876  	// The trigger settings that determine how and when the flow runs.
  3877  	//
  3878  	// TriggerConfig is a required field
  3879  	TriggerConfig *TriggerConfig `locationName:"triggerConfig" type:"structure" required:"true"`
  3880  }
  3881  
  3882  // String returns the string representation.
  3883  //
  3884  // API parameter values that are decorated as "sensitive" in the API will not
  3885  // be included in the string output. The member name will be present, but the
  3886  // value will be replaced with "sensitive".
  3887  func (s CreateFlowInput) String() string {
  3888  	return awsutil.Prettify(s)
  3889  }
  3890  
  3891  // GoString returns the string representation.
  3892  //
  3893  // API parameter values that are decorated as "sensitive" in the API will not
  3894  // be included in the string output. The member name will be present, but the
  3895  // value will be replaced with "sensitive".
  3896  func (s CreateFlowInput) GoString() string {
  3897  	return s.String()
  3898  }
  3899  
  3900  // Validate inspects the fields of the type to determine if they are valid.
  3901  func (s *CreateFlowInput) Validate() error {
  3902  	invalidParams := request.ErrInvalidParams{Context: "CreateFlowInput"}
  3903  	if s.DestinationFlowConfigList == nil {
  3904  		invalidParams.Add(request.NewErrParamRequired("DestinationFlowConfigList"))
  3905  	}
  3906  	if s.FlowName == nil {
  3907  		invalidParams.Add(request.NewErrParamRequired("FlowName"))
  3908  	}
  3909  	if s.KmsArn != nil && len(*s.KmsArn) < 20 {
  3910  		invalidParams.Add(request.NewErrParamMinLen("KmsArn", 20))
  3911  	}
  3912  	if s.SourceFlowConfig == nil {
  3913  		invalidParams.Add(request.NewErrParamRequired("SourceFlowConfig"))
  3914  	}
  3915  	if s.Tasks == nil {
  3916  		invalidParams.Add(request.NewErrParamRequired("Tasks"))
  3917  	}
  3918  	if s.TriggerConfig == nil {
  3919  		invalidParams.Add(request.NewErrParamRequired("TriggerConfig"))
  3920  	}
  3921  	if s.DestinationFlowConfigList != nil {
  3922  		for i, v := range s.DestinationFlowConfigList {
  3923  			if v == nil {
  3924  				continue
  3925  			}
  3926  			if err := v.Validate(); err != nil {
  3927  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DestinationFlowConfigList", i), err.(request.ErrInvalidParams))
  3928  			}
  3929  		}
  3930  	}
  3931  	if s.SourceFlowConfig != nil {
  3932  		if err := s.SourceFlowConfig.Validate(); err != nil {
  3933  			invalidParams.AddNested("SourceFlowConfig", err.(request.ErrInvalidParams))
  3934  		}
  3935  	}
  3936  	if s.Tasks != nil {
  3937  		for i, v := range s.Tasks {
  3938  			if v == nil {
  3939  				continue
  3940  			}
  3941  			if err := v.Validate(); err != nil {
  3942  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tasks", i), err.(request.ErrInvalidParams))
  3943  			}
  3944  		}
  3945  	}
  3946  	if s.TriggerConfig != nil {
  3947  		if err := s.TriggerConfig.Validate(); err != nil {
  3948  			invalidParams.AddNested("TriggerConfig", err.(request.ErrInvalidParams))
  3949  		}
  3950  	}
  3951  
  3952  	if invalidParams.Len() > 0 {
  3953  		return invalidParams
  3954  	}
  3955  	return nil
  3956  }
  3957  
  3958  // SetDescription sets the Description field's value.
  3959  func (s *CreateFlowInput) SetDescription(v string) *CreateFlowInput {
  3960  	s.Description = &v
  3961  	return s
  3962  }
  3963  
  3964  // SetDestinationFlowConfigList sets the DestinationFlowConfigList field's value.
  3965  func (s *CreateFlowInput) SetDestinationFlowConfigList(v []*DestinationFlowConfig) *CreateFlowInput {
  3966  	s.DestinationFlowConfigList = v
  3967  	return s
  3968  }
  3969  
  3970  // SetFlowName sets the FlowName field's value.
  3971  func (s *CreateFlowInput) SetFlowName(v string) *CreateFlowInput {
  3972  	s.FlowName = &v
  3973  	return s
  3974  }
  3975  
  3976  // SetKmsArn sets the KmsArn field's value.
  3977  func (s *CreateFlowInput) SetKmsArn(v string) *CreateFlowInput {
  3978  	s.KmsArn = &v
  3979  	return s
  3980  }
  3981  
  3982  // SetSourceFlowConfig sets the SourceFlowConfig field's value.
  3983  func (s *CreateFlowInput) SetSourceFlowConfig(v *SourceFlowConfig) *CreateFlowInput {
  3984  	s.SourceFlowConfig = v
  3985  	return s
  3986  }
  3987  
  3988  // SetTags sets the Tags field's value.
  3989  func (s *CreateFlowInput) SetTags(v map[string]*string) *CreateFlowInput {
  3990  	s.Tags = v
  3991  	return s
  3992  }
  3993  
  3994  // SetTasks sets the Tasks field's value.
  3995  func (s *CreateFlowInput) SetTasks(v []*Task) *CreateFlowInput {
  3996  	s.Tasks = v
  3997  	return s
  3998  }
  3999  
  4000  // SetTriggerConfig sets the TriggerConfig field's value.
  4001  func (s *CreateFlowInput) SetTriggerConfig(v *TriggerConfig) *CreateFlowInput {
  4002  	s.TriggerConfig = v
  4003  	return s
  4004  }
  4005  
  4006  type CreateFlowOutput struct {
  4007  	_ struct{} `type:"structure"`
  4008  
  4009  	// The flow's Amazon Resource Name (ARN).
  4010  	FlowArn *string `locationName:"flowArn" type:"string"`
  4011  
  4012  	// Indicates the current status of the flow.
  4013  	FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"`
  4014  }
  4015  
  4016  // String returns the string representation.
  4017  //
  4018  // API parameter values that are decorated as "sensitive" in the API will not
  4019  // be included in the string output. The member name will be present, but the
  4020  // value will be replaced with "sensitive".
  4021  func (s CreateFlowOutput) String() string {
  4022  	return awsutil.Prettify(s)
  4023  }
  4024  
  4025  // GoString returns the string representation.
  4026  //
  4027  // API parameter values that are decorated as "sensitive" in the API will not
  4028  // be included in the string output. The member name will be present, but the
  4029  // value will be replaced with "sensitive".
  4030  func (s CreateFlowOutput) GoString() string {
  4031  	return s.String()
  4032  }
  4033  
  4034  // SetFlowArn sets the FlowArn field's value.
  4035  func (s *CreateFlowOutput) SetFlowArn(v string) *CreateFlowOutput {
  4036  	s.FlowArn = &v
  4037  	return s
  4038  }
  4039  
  4040  // SetFlowStatus sets the FlowStatus field's value.
  4041  func (s *CreateFlowOutput) SetFlowStatus(v string) *CreateFlowOutput {
  4042  	s.FlowStatus = &v
  4043  	return s
  4044  }
  4045  
  4046  // The properties that are applied when Amazon Connect Customer Profiles is
  4047  // used as a destination.
  4048  type CustomerProfilesDestinationProperties struct {
  4049  	_ struct{} `type:"structure"`
  4050  
  4051  	// The unique name of the Amazon Connect Customer Profiles domain.
  4052  	//
  4053  	// DomainName is a required field
  4054  	DomainName *string `locationName:"domainName" type:"string" required:"true"`
  4055  
  4056  	// The object specified in the Amazon Connect Customer Profiles flow destination.
  4057  	ObjectTypeName *string `locationName:"objectTypeName" type:"string"`
  4058  }
  4059  
  4060  // String returns the string representation.
  4061  //
  4062  // API parameter values that are decorated as "sensitive" in the API will not
  4063  // be included in the string output. The member name will be present, but the
  4064  // value will be replaced with "sensitive".
  4065  func (s CustomerProfilesDestinationProperties) String() string {
  4066  	return awsutil.Prettify(s)
  4067  }
  4068  
  4069  // GoString returns the string representation.
  4070  //
  4071  // API parameter values that are decorated as "sensitive" in the API will not
  4072  // be included in the string output. The member name will be present, but the
  4073  // value will be replaced with "sensitive".
  4074  func (s CustomerProfilesDestinationProperties) GoString() string {
  4075  	return s.String()
  4076  }
  4077  
  4078  // Validate inspects the fields of the type to determine if they are valid.
  4079  func (s *CustomerProfilesDestinationProperties) Validate() error {
  4080  	invalidParams := request.ErrInvalidParams{Context: "CustomerProfilesDestinationProperties"}
  4081  	if s.DomainName == nil {
  4082  		invalidParams.Add(request.NewErrParamRequired("DomainName"))
  4083  	}
  4084  
  4085  	if invalidParams.Len() > 0 {
  4086  		return invalidParams
  4087  	}
  4088  	return nil
  4089  }
  4090  
  4091  // SetDomainName sets the DomainName field's value.
  4092  func (s *CustomerProfilesDestinationProperties) SetDomainName(v string) *CustomerProfilesDestinationProperties {
  4093  	s.DomainName = &v
  4094  	return s
  4095  }
  4096  
  4097  // SetObjectTypeName sets the ObjectTypeName field's value.
  4098  func (s *CustomerProfilesDestinationProperties) SetObjectTypeName(v string) *CustomerProfilesDestinationProperties {
  4099  	s.ObjectTypeName = &v
  4100  	return s
  4101  }
  4102  
  4103  // The connector metadata specific to Amazon Connect Customer Profiles.
  4104  type CustomerProfilesMetadata struct {
  4105  	_ struct{} `type:"structure" nopayload:"true"`
  4106  }
  4107  
  4108  // String returns the string representation.
  4109  //
  4110  // API parameter values that are decorated as "sensitive" in the API will not
  4111  // be included in the string output. The member name will be present, but the
  4112  // value will be replaced with "sensitive".
  4113  func (s CustomerProfilesMetadata) String() string {
  4114  	return awsutil.Prettify(s)
  4115  }
  4116  
  4117  // GoString returns the string representation.
  4118  //
  4119  // API parameter values that are decorated as "sensitive" in the API will not
  4120  // be included in the string output. The member name will be present, but the
  4121  // value will be replaced with "sensitive".
  4122  func (s CustomerProfilesMetadata) GoString() string {
  4123  	return s.String()
  4124  }
  4125  
  4126  // The connector-specific credentials required by Datadog.
  4127  type DatadogConnectorProfileCredentials struct {
  4128  	_ struct{} `type:"structure"`
  4129  
  4130  	// A unique alphanumeric identifier used to authenticate a user, developer,
  4131  	// or calling program to your API.
  4132  	//
  4133  	// ApiKey is a required field
  4134  	ApiKey *string `locationName:"apiKey" type:"string" required:"true"`
  4135  
  4136  	// Application keys, in conjunction with your API key, give you full access
  4137  	// to Datadog’s programmatic API. Application keys are associated with the
  4138  	// user account that created them. The application key is used to log all requests
  4139  	// made to the API.
  4140  	//
  4141  	// ApplicationKey is a required field
  4142  	ApplicationKey *string `locationName:"applicationKey" type:"string" required:"true"`
  4143  }
  4144  
  4145  // String returns the string representation.
  4146  //
  4147  // API parameter values that are decorated as "sensitive" in the API will not
  4148  // be included in the string output. The member name will be present, but the
  4149  // value will be replaced with "sensitive".
  4150  func (s DatadogConnectorProfileCredentials) String() string {
  4151  	return awsutil.Prettify(s)
  4152  }
  4153  
  4154  // GoString returns the string representation.
  4155  //
  4156  // API parameter values that are decorated as "sensitive" in the API will not
  4157  // be included in the string output. The member name will be present, but the
  4158  // value will be replaced with "sensitive".
  4159  func (s DatadogConnectorProfileCredentials) GoString() string {
  4160  	return s.String()
  4161  }
  4162  
  4163  // Validate inspects the fields of the type to determine if they are valid.
  4164  func (s *DatadogConnectorProfileCredentials) Validate() error {
  4165  	invalidParams := request.ErrInvalidParams{Context: "DatadogConnectorProfileCredentials"}
  4166  	if s.ApiKey == nil {
  4167  		invalidParams.Add(request.NewErrParamRequired("ApiKey"))
  4168  	}
  4169  	if s.ApplicationKey == nil {
  4170  		invalidParams.Add(request.NewErrParamRequired("ApplicationKey"))
  4171  	}
  4172  
  4173  	if invalidParams.Len() > 0 {
  4174  		return invalidParams
  4175  	}
  4176  	return nil
  4177  }
  4178  
  4179  // SetApiKey sets the ApiKey field's value.
  4180  func (s *DatadogConnectorProfileCredentials) SetApiKey(v string) *DatadogConnectorProfileCredentials {
  4181  	s.ApiKey = &v
  4182  	return s
  4183  }
  4184  
  4185  // SetApplicationKey sets the ApplicationKey field's value.
  4186  func (s *DatadogConnectorProfileCredentials) SetApplicationKey(v string) *DatadogConnectorProfileCredentials {
  4187  	s.ApplicationKey = &v
  4188  	return s
  4189  }
  4190  
  4191  // The connector-specific profile properties required by Datadog.
  4192  type DatadogConnectorProfileProperties struct {
  4193  	_ struct{} `type:"structure"`
  4194  
  4195  	// The location of the Datadog resource.
  4196  	//
  4197  	// InstanceUrl is a required field
  4198  	InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"`
  4199  }
  4200  
  4201  // String returns the string representation.
  4202  //
  4203  // API parameter values that are decorated as "sensitive" in the API will not
  4204  // be included in the string output. The member name will be present, but the
  4205  // value will be replaced with "sensitive".
  4206  func (s DatadogConnectorProfileProperties) String() string {
  4207  	return awsutil.Prettify(s)
  4208  }
  4209  
  4210  // GoString returns the string representation.
  4211  //
  4212  // API parameter values that are decorated as "sensitive" in the API will not
  4213  // be included in the string output. The member name will be present, but the
  4214  // value will be replaced with "sensitive".
  4215  func (s DatadogConnectorProfileProperties) GoString() string {
  4216  	return s.String()
  4217  }
  4218  
  4219  // Validate inspects the fields of the type to determine if they are valid.
  4220  func (s *DatadogConnectorProfileProperties) Validate() error {
  4221  	invalidParams := request.ErrInvalidParams{Context: "DatadogConnectorProfileProperties"}
  4222  	if s.InstanceUrl == nil {
  4223  		invalidParams.Add(request.NewErrParamRequired("InstanceUrl"))
  4224  	}
  4225  
  4226  	if invalidParams.Len() > 0 {
  4227  		return invalidParams
  4228  	}
  4229  	return nil
  4230  }
  4231  
  4232  // SetInstanceUrl sets the InstanceUrl field's value.
  4233  func (s *DatadogConnectorProfileProperties) SetInstanceUrl(v string) *DatadogConnectorProfileProperties {
  4234  	s.InstanceUrl = &v
  4235  	return s
  4236  }
  4237  
  4238  // The connector metadata specific to Datadog.
  4239  type DatadogMetadata struct {
  4240  	_ struct{} `type:"structure" nopayload:"true"`
  4241  }
  4242  
  4243  // String returns the string representation.
  4244  //
  4245  // API parameter values that are decorated as "sensitive" in the API will not
  4246  // be included in the string output. The member name will be present, but the
  4247  // value will be replaced with "sensitive".
  4248  func (s DatadogMetadata) String() string {
  4249  	return awsutil.Prettify(s)
  4250  }
  4251  
  4252  // GoString returns the string representation.
  4253  //
  4254  // API parameter values that are decorated as "sensitive" in the API will not
  4255  // be included in the string output. The member name will be present, but the
  4256  // value will be replaced with "sensitive".
  4257  func (s DatadogMetadata) GoString() string {
  4258  	return s.String()
  4259  }
  4260  
  4261  // The properties that are applied when Datadog is being used as a source.
  4262  type DatadogSourceProperties struct {
  4263  	_ struct{} `type:"structure"`
  4264  
  4265  	// The object specified in the Datadog flow source.
  4266  	//
  4267  	// Object is a required field
  4268  	Object *string `locationName:"object" type:"string" required:"true"`
  4269  }
  4270  
  4271  // String returns the string representation.
  4272  //
  4273  // API parameter values that are decorated as "sensitive" in the API will not
  4274  // be included in the string output. The member name will be present, but the
  4275  // value will be replaced with "sensitive".
  4276  func (s DatadogSourceProperties) String() string {
  4277  	return awsutil.Prettify(s)
  4278  }
  4279  
  4280  // GoString returns the string representation.
  4281  //
  4282  // API parameter values that are decorated as "sensitive" in the API will not
  4283  // be included in the string output. The member name will be present, but the
  4284  // value will be replaced with "sensitive".
  4285  func (s DatadogSourceProperties) GoString() string {
  4286  	return s.String()
  4287  }
  4288  
  4289  // Validate inspects the fields of the type to determine if they are valid.
  4290  func (s *DatadogSourceProperties) Validate() error {
  4291  	invalidParams := request.ErrInvalidParams{Context: "DatadogSourceProperties"}
  4292  	if s.Object == nil {
  4293  		invalidParams.Add(request.NewErrParamRequired("Object"))
  4294  	}
  4295  
  4296  	if invalidParams.Len() > 0 {
  4297  		return invalidParams
  4298  	}
  4299  	return nil
  4300  }
  4301  
  4302  // SetObject sets the Object field's value.
  4303  func (s *DatadogSourceProperties) SetObject(v string) *DatadogSourceProperties {
  4304  	s.Object = &v
  4305  	return s
  4306  }
  4307  
  4308  type DeleteConnectorProfileInput struct {
  4309  	_ struct{} `type:"structure"`
  4310  
  4311  	// The name of the connector profile. The name is unique for each ConnectorProfile
  4312  	// in your account.
  4313  	//
  4314  	// ConnectorProfileName is a required field
  4315  	ConnectorProfileName *string `locationName:"connectorProfileName" type:"string" required:"true"`
  4316  
  4317  	// Indicates whether Amazon AppFlow should delete the profile, even if it is
  4318  	// currently in use in one or more flows.
  4319  	ForceDelete *bool `locationName:"forceDelete" type:"boolean"`
  4320  }
  4321  
  4322  // String returns the string representation.
  4323  //
  4324  // API parameter values that are decorated as "sensitive" in the API will not
  4325  // be included in the string output. The member name will be present, but the
  4326  // value will be replaced with "sensitive".
  4327  func (s DeleteConnectorProfileInput) String() string {
  4328  	return awsutil.Prettify(s)
  4329  }
  4330  
  4331  // GoString returns the string representation.
  4332  //
  4333  // API parameter values that are decorated as "sensitive" in the API will not
  4334  // be included in the string output. The member name will be present, but the
  4335  // value will be replaced with "sensitive".
  4336  func (s DeleteConnectorProfileInput) GoString() string {
  4337  	return s.String()
  4338  }
  4339  
  4340  // Validate inspects the fields of the type to determine if they are valid.
  4341  func (s *DeleteConnectorProfileInput) Validate() error {
  4342  	invalidParams := request.ErrInvalidParams{Context: "DeleteConnectorProfileInput"}
  4343  	if s.ConnectorProfileName == nil {
  4344  		invalidParams.Add(request.NewErrParamRequired("ConnectorProfileName"))
  4345  	}
  4346  
  4347  	if invalidParams.Len() > 0 {
  4348  		return invalidParams
  4349  	}
  4350  	return nil
  4351  }
  4352  
  4353  // SetConnectorProfileName sets the ConnectorProfileName field's value.
  4354  func (s *DeleteConnectorProfileInput) SetConnectorProfileName(v string) *DeleteConnectorProfileInput {
  4355  	s.ConnectorProfileName = &v
  4356  	return s
  4357  }
  4358  
  4359  // SetForceDelete sets the ForceDelete field's value.
  4360  func (s *DeleteConnectorProfileInput) SetForceDelete(v bool) *DeleteConnectorProfileInput {
  4361  	s.ForceDelete = &v
  4362  	return s
  4363  }
  4364  
  4365  type DeleteConnectorProfileOutput struct {
  4366  	_ struct{} `type:"structure" nopayload:"true"`
  4367  }
  4368  
  4369  // String returns the string representation.
  4370  //
  4371  // API parameter values that are decorated as "sensitive" in the API will not
  4372  // be included in the string output. The member name will be present, but the
  4373  // value will be replaced with "sensitive".
  4374  func (s DeleteConnectorProfileOutput) String() string {
  4375  	return awsutil.Prettify(s)
  4376  }
  4377  
  4378  // GoString returns the string representation.
  4379  //
  4380  // API parameter values that are decorated as "sensitive" in the API will not
  4381  // be included in the string output. The member name will be present, but the
  4382  // value will be replaced with "sensitive".
  4383  func (s DeleteConnectorProfileOutput) GoString() string {
  4384  	return s.String()
  4385  }
  4386  
  4387  type DeleteFlowInput struct {
  4388  	_ struct{} `type:"structure"`
  4389  
  4390  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
  4391  	// or hyphens (-) only.
  4392  	//
  4393  	// FlowName is a required field
  4394  	FlowName *string `locationName:"flowName" type:"string" required:"true"`
  4395  
  4396  	// Indicates whether Amazon AppFlow should delete the flow, even if it is currently
  4397  	// in use.
  4398  	ForceDelete *bool `locationName:"forceDelete" type:"boolean"`
  4399  }
  4400  
  4401  // String returns the string representation.
  4402  //
  4403  // API parameter values that are decorated as "sensitive" in the API will not
  4404  // be included in the string output. The member name will be present, but the
  4405  // value will be replaced with "sensitive".
  4406  func (s DeleteFlowInput) String() string {
  4407  	return awsutil.Prettify(s)
  4408  }
  4409  
  4410  // GoString returns the string representation.
  4411  //
  4412  // API parameter values that are decorated as "sensitive" in the API will not
  4413  // be included in the string output. The member name will be present, but the
  4414  // value will be replaced with "sensitive".
  4415  func (s DeleteFlowInput) GoString() string {
  4416  	return s.String()
  4417  }
  4418  
  4419  // Validate inspects the fields of the type to determine if they are valid.
  4420  func (s *DeleteFlowInput) Validate() error {
  4421  	invalidParams := request.ErrInvalidParams{Context: "DeleteFlowInput"}
  4422  	if s.FlowName == nil {
  4423  		invalidParams.Add(request.NewErrParamRequired("FlowName"))
  4424  	}
  4425  
  4426  	if invalidParams.Len() > 0 {
  4427  		return invalidParams
  4428  	}
  4429  	return nil
  4430  }
  4431  
  4432  // SetFlowName sets the FlowName field's value.
  4433  func (s *DeleteFlowInput) SetFlowName(v string) *DeleteFlowInput {
  4434  	s.FlowName = &v
  4435  	return s
  4436  }
  4437  
  4438  // SetForceDelete sets the ForceDelete field's value.
  4439  func (s *DeleteFlowInput) SetForceDelete(v bool) *DeleteFlowInput {
  4440  	s.ForceDelete = &v
  4441  	return s
  4442  }
  4443  
  4444  type DeleteFlowOutput struct {
  4445  	_ struct{} `type:"structure" nopayload:"true"`
  4446  }
  4447  
  4448  // String returns the string representation.
  4449  //
  4450  // API parameter values that are decorated as "sensitive" in the API will not
  4451  // be included in the string output. The member name will be present, but the
  4452  // value will be replaced with "sensitive".
  4453  func (s DeleteFlowOutput) String() string {
  4454  	return awsutil.Prettify(s)
  4455  }
  4456  
  4457  // GoString returns the string representation.
  4458  //
  4459  // API parameter values that are decorated as "sensitive" in the API will not
  4460  // be included in the string output. The member name will be present, but the
  4461  // value will be replaced with "sensitive".
  4462  func (s DeleteFlowOutput) GoString() string {
  4463  	return s.String()
  4464  }
  4465  
  4466  type DescribeConnectorEntityInput struct {
  4467  	_ struct{} `type:"structure"`
  4468  
  4469  	// The entity name for that connector.
  4470  	//
  4471  	// ConnectorEntityName is a required field
  4472  	ConnectorEntityName *string `locationName:"connectorEntityName" type:"string" required:"true"`
  4473  
  4474  	// The name of the connector profile. The name is unique for each ConnectorProfile
  4475  	// in the Amazon Web Services account.
  4476  	ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"`
  4477  
  4478  	// The type of connector application, such as Salesforce, Amplitude, and so
  4479  	// on.
  4480  	ConnectorType *string `locationName:"connectorType" type:"string" enum:"ConnectorType"`
  4481  }
  4482  
  4483  // String returns the string representation.
  4484  //
  4485  // API parameter values that are decorated as "sensitive" in the API will not
  4486  // be included in the string output. The member name will be present, but the
  4487  // value will be replaced with "sensitive".
  4488  func (s DescribeConnectorEntityInput) String() string {
  4489  	return awsutil.Prettify(s)
  4490  }
  4491  
  4492  // GoString returns the string representation.
  4493  //
  4494  // API parameter values that are decorated as "sensitive" in the API will not
  4495  // be included in the string output. The member name will be present, but the
  4496  // value will be replaced with "sensitive".
  4497  func (s DescribeConnectorEntityInput) GoString() string {
  4498  	return s.String()
  4499  }
  4500  
  4501  // Validate inspects the fields of the type to determine if they are valid.
  4502  func (s *DescribeConnectorEntityInput) Validate() error {
  4503  	invalidParams := request.ErrInvalidParams{Context: "DescribeConnectorEntityInput"}
  4504  	if s.ConnectorEntityName == nil {
  4505  		invalidParams.Add(request.NewErrParamRequired("ConnectorEntityName"))
  4506  	}
  4507  
  4508  	if invalidParams.Len() > 0 {
  4509  		return invalidParams
  4510  	}
  4511  	return nil
  4512  }
  4513  
  4514  // SetConnectorEntityName sets the ConnectorEntityName field's value.
  4515  func (s *DescribeConnectorEntityInput) SetConnectorEntityName(v string) *DescribeConnectorEntityInput {
  4516  	s.ConnectorEntityName = &v
  4517  	return s
  4518  }
  4519  
  4520  // SetConnectorProfileName sets the ConnectorProfileName field's value.
  4521  func (s *DescribeConnectorEntityInput) SetConnectorProfileName(v string) *DescribeConnectorEntityInput {
  4522  	s.ConnectorProfileName = &v
  4523  	return s
  4524  }
  4525  
  4526  // SetConnectorType sets the ConnectorType field's value.
  4527  func (s *DescribeConnectorEntityInput) SetConnectorType(v string) *DescribeConnectorEntityInput {
  4528  	s.ConnectorType = &v
  4529  	return s
  4530  }
  4531  
  4532  type DescribeConnectorEntityOutput struct {
  4533  	_ struct{} `type:"structure"`
  4534  
  4535  	// Describes the fields for that connector entity. For example, for an account
  4536  	// entity, the fields would be account name, account ID, and so on.
  4537  	//
  4538  	// ConnectorEntityFields is a required field
  4539  	ConnectorEntityFields []*ConnectorEntityField `locationName:"connectorEntityFields" type:"list" required:"true"`
  4540  }
  4541  
  4542  // String returns the string representation.
  4543  //
  4544  // API parameter values that are decorated as "sensitive" in the API will not
  4545  // be included in the string output. The member name will be present, but the
  4546  // value will be replaced with "sensitive".
  4547  func (s DescribeConnectorEntityOutput) String() string {
  4548  	return awsutil.Prettify(s)
  4549  }
  4550  
  4551  // GoString returns the string representation.
  4552  //
  4553  // API parameter values that are decorated as "sensitive" in the API will not
  4554  // be included in the string output. The member name will be present, but the
  4555  // value will be replaced with "sensitive".
  4556  func (s DescribeConnectorEntityOutput) GoString() string {
  4557  	return s.String()
  4558  }
  4559  
  4560  // SetConnectorEntityFields sets the ConnectorEntityFields field's value.
  4561  func (s *DescribeConnectorEntityOutput) SetConnectorEntityFields(v []*ConnectorEntityField) *DescribeConnectorEntityOutput {
  4562  	s.ConnectorEntityFields = v
  4563  	return s
  4564  }
  4565  
  4566  type DescribeConnectorProfilesInput struct {
  4567  	_ struct{} `type:"structure"`
  4568  
  4569  	// The name of the connector profile. The name is unique for each ConnectorProfile
  4570  	// in the Amazon Web Services account.
  4571  	ConnectorProfileNames []*string `locationName:"connectorProfileNames" type:"list"`
  4572  
  4573  	// The type of connector, such as Salesforce, Amplitude, and so on.
  4574  	ConnectorType *string `locationName:"connectorType" type:"string" enum:"ConnectorType"`
  4575  
  4576  	// Specifies the maximum number of items that should be returned in the result
  4577  	// set. The default for maxResults is 20 (for all paginated API operations).
  4578  	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
  4579  
  4580  	// The pagination token for the next page of data.
  4581  	NextToken *string `locationName:"nextToken" type:"string"`
  4582  }
  4583  
  4584  // String returns the string representation.
  4585  //
  4586  // API parameter values that are decorated as "sensitive" in the API will not
  4587  // be included in the string output. The member name will be present, but the
  4588  // value will be replaced with "sensitive".
  4589  func (s DescribeConnectorProfilesInput) String() string {
  4590  	return awsutil.Prettify(s)
  4591  }
  4592  
  4593  // GoString returns the string representation.
  4594  //
  4595  // API parameter values that are decorated as "sensitive" in the API will not
  4596  // be included in the string output. The member name will be present, but the
  4597  // value will be replaced with "sensitive".
  4598  func (s DescribeConnectorProfilesInput) GoString() string {
  4599  	return s.String()
  4600  }
  4601  
  4602  // Validate inspects the fields of the type to determine if they are valid.
  4603  func (s *DescribeConnectorProfilesInput) Validate() error {
  4604  	invalidParams := request.ErrInvalidParams{Context: "DescribeConnectorProfilesInput"}
  4605  	if s.MaxResults != nil && *s.MaxResults < 1 {
  4606  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  4607  	}
  4608  
  4609  	if invalidParams.Len() > 0 {
  4610  		return invalidParams
  4611  	}
  4612  	return nil
  4613  }
  4614  
  4615  // SetConnectorProfileNames sets the ConnectorProfileNames field's value.
  4616  func (s *DescribeConnectorProfilesInput) SetConnectorProfileNames(v []*string) *DescribeConnectorProfilesInput {
  4617  	s.ConnectorProfileNames = v
  4618  	return s
  4619  }
  4620  
  4621  // SetConnectorType sets the ConnectorType field's value.
  4622  func (s *DescribeConnectorProfilesInput) SetConnectorType(v string) *DescribeConnectorProfilesInput {
  4623  	s.ConnectorType = &v
  4624  	return s
  4625  }
  4626  
  4627  // SetMaxResults sets the MaxResults field's value.
  4628  func (s *DescribeConnectorProfilesInput) SetMaxResults(v int64) *DescribeConnectorProfilesInput {
  4629  	s.MaxResults = &v
  4630  	return s
  4631  }
  4632  
  4633  // SetNextToken sets the NextToken field's value.
  4634  func (s *DescribeConnectorProfilesInput) SetNextToken(v string) *DescribeConnectorProfilesInput {
  4635  	s.NextToken = &v
  4636  	return s
  4637  }
  4638  
  4639  type DescribeConnectorProfilesOutput struct {
  4640  	_ struct{} `type:"structure"`
  4641  
  4642  	// Returns information about the connector profiles associated with the flow.
  4643  	ConnectorProfileDetails []*ConnectorProfile `locationName:"connectorProfileDetails" type:"list"`
  4644  
  4645  	// The pagination token for the next page of data. If nextToken=null, this means
  4646  	// that all records have been fetched.
  4647  	NextToken *string `locationName:"nextToken" type:"string"`
  4648  }
  4649  
  4650  // String returns the string representation.
  4651  //
  4652  // API parameter values that are decorated as "sensitive" in the API will not
  4653  // be included in the string output. The member name will be present, but the
  4654  // value will be replaced with "sensitive".
  4655  func (s DescribeConnectorProfilesOutput) String() string {
  4656  	return awsutil.Prettify(s)
  4657  }
  4658  
  4659  // GoString returns the string representation.
  4660  //
  4661  // API parameter values that are decorated as "sensitive" in the API will not
  4662  // be included in the string output. The member name will be present, but the
  4663  // value will be replaced with "sensitive".
  4664  func (s DescribeConnectorProfilesOutput) GoString() string {
  4665  	return s.String()
  4666  }
  4667  
  4668  // SetConnectorProfileDetails sets the ConnectorProfileDetails field's value.
  4669  func (s *DescribeConnectorProfilesOutput) SetConnectorProfileDetails(v []*ConnectorProfile) *DescribeConnectorProfilesOutput {
  4670  	s.ConnectorProfileDetails = v
  4671  	return s
  4672  }
  4673  
  4674  // SetNextToken sets the NextToken field's value.
  4675  func (s *DescribeConnectorProfilesOutput) SetNextToken(v string) *DescribeConnectorProfilesOutput {
  4676  	s.NextToken = &v
  4677  	return s
  4678  }
  4679  
  4680  type DescribeConnectorsInput struct {
  4681  	_ struct{} `type:"structure"`
  4682  
  4683  	// The type of connector, such as Salesforce, Amplitude, and so on.
  4684  	ConnectorTypes []*string `locationName:"connectorTypes" type:"list"`
  4685  
  4686  	// The pagination token for the next page of data.
  4687  	NextToken *string `locationName:"nextToken" type:"string"`
  4688  }
  4689  
  4690  // String returns the string representation.
  4691  //
  4692  // API parameter values that are decorated as "sensitive" in the API will not
  4693  // be included in the string output. The member name will be present, but the
  4694  // value will be replaced with "sensitive".
  4695  func (s DescribeConnectorsInput) String() string {
  4696  	return awsutil.Prettify(s)
  4697  }
  4698  
  4699  // GoString returns the string representation.
  4700  //
  4701  // API parameter values that are decorated as "sensitive" in the API will not
  4702  // be included in the string output. The member name will be present, but the
  4703  // value will be replaced with "sensitive".
  4704  func (s DescribeConnectorsInput) GoString() string {
  4705  	return s.String()
  4706  }
  4707  
  4708  // SetConnectorTypes sets the ConnectorTypes field's value.
  4709  func (s *DescribeConnectorsInput) SetConnectorTypes(v []*string) *DescribeConnectorsInput {
  4710  	s.ConnectorTypes = v
  4711  	return s
  4712  }
  4713  
  4714  // SetNextToken sets the NextToken field's value.
  4715  func (s *DescribeConnectorsInput) SetNextToken(v string) *DescribeConnectorsInput {
  4716  	s.NextToken = &v
  4717  	return s
  4718  }
  4719  
  4720  type DescribeConnectorsOutput struct {
  4721  	_ struct{} `type:"structure"`
  4722  
  4723  	// The configuration that is applied to the connectors used in the flow.
  4724  	ConnectorConfigurations map[string]*ConnectorConfiguration `locationName:"connectorConfigurations" type:"map"`
  4725  
  4726  	// The pagination token for the next page of data.
  4727  	NextToken *string `locationName:"nextToken" type:"string"`
  4728  }
  4729  
  4730  // String returns the string representation.
  4731  //
  4732  // API parameter values that are decorated as "sensitive" in the API will not
  4733  // be included in the string output. The member name will be present, but the
  4734  // value will be replaced with "sensitive".
  4735  func (s DescribeConnectorsOutput) String() string {
  4736  	return awsutil.Prettify(s)
  4737  }
  4738  
  4739  // GoString returns the string representation.
  4740  //
  4741  // API parameter values that are decorated as "sensitive" in the API will not
  4742  // be included in the string output. The member name will be present, but the
  4743  // value will be replaced with "sensitive".
  4744  func (s DescribeConnectorsOutput) GoString() string {
  4745  	return s.String()
  4746  }
  4747  
  4748  // SetConnectorConfigurations sets the ConnectorConfigurations field's value.
  4749  func (s *DescribeConnectorsOutput) SetConnectorConfigurations(v map[string]*ConnectorConfiguration) *DescribeConnectorsOutput {
  4750  	s.ConnectorConfigurations = v
  4751  	return s
  4752  }
  4753  
  4754  // SetNextToken sets the NextToken field's value.
  4755  func (s *DescribeConnectorsOutput) SetNextToken(v string) *DescribeConnectorsOutput {
  4756  	s.NextToken = &v
  4757  	return s
  4758  }
  4759  
  4760  type DescribeFlowExecutionRecordsInput struct {
  4761  	_ struct{} `type:"structure"`
  4762  
  4763  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
  4764  	// or hyphens (-) only.
  4765  	//
  4766  	// FlowName is a required field
  4767  	FlowName *string `locationName:"flowName" type:"string" required:"true"`
  4768  
  4769  	// Specifies the maximum number of items that should be returned in the result
  4770  	// set. The default for maxResults is 20 (for all paginated API operations).
  4771  	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
  4772  
  4773  	// The pagination token for the next page of data.
  4774  	NextToken *string `locationName:"nextToken" type:"string"`
  4775  }
  4776  
  4777  // String returns the string representation.
  4778  //
  4779  // API parameter values that are decorated as "sensitive" in the API will not
  4780  // be included in the string output. The member name will be present, but the
  4781  // value will be replaced with "sensitive".
  4782  func (s DescribeFlowExecutionRecordsInput) String() string {
  4783  	return awsutil.Prettify(s)
  4784  }
  4785  
  4786  // GoString returns the string representation.
  4787  //
  4788  // API parameter values that are decorated as "sensitive" in the API will not
  4789  // be included in the string output. The member name will be present, but the
  4790  // value will be replaced with "sensitive".
  4791  func (s DescribeFlowExecutionRecordsInput) GoString() string {
  4792  	return s.String()
  4793  }
  4794  
  4795  // Validate inspects the fields of the type to determine if they are valid.
  4796  func (s *DescribeFlowExecutionRecordsInput) Validate() error {
  4797  	invalidParams := request.ErrInvalidParams{Context: "DescribeFlowExecutionRecordsInput"}
  4798  	if s.FlowName == nil {
  4799  		invalidParams.Add(request.NewErrParamRequired("FlowName"))
  4800  	}
  4801  	if s.MaxResults != nil && *s.MaxResults < 1 {
  4802  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  4803  	}
  4804  
  4805  	if invalidParams.Len() > 0 {
  4806  		return invalidParams
  4807  	}
  4808  	return nil
  4809  }
  4810  
  4811  // SetFlowName sets the FlowName field's value.
  4812  func (s *DescribeFlowExecutionRecordsInput) SetFlowName(v string) *DescribeFlowExecutionRecordsInput {
  4813  	s.FlowName = &v
  4814  	return s
  4815  }
  4816  
  4817  // SetMaxResults sets the MaxResults field's value.
  4818  func (s *DescribeFlowExecutionRecordsInput) SetMaxResults(v int64) *DescribeFlowExecutionRecordsInput {
  4819  	s.MaxResults = &v
  4820  	return s
  4821  }
  4822  
  4823  // SetNextToken sets the NextToken field's value.
  4824  func (s *DescribeFlowExecutionRecordsInput) SetNextToken(v string) *DescribeFlowExecutionRecordsInput {
  4825  	s.NextToken = &v
  4826  	return s
  4827  }
  4828  
  4829  type DescribeFlowExecutionRecordsOutput struct {
  4830  	_ struct{} `type:"structure"`
  4831  
  4832  	// Returns a list of all instances when this flow was run.
  4833  	FlowExecutions []*ExecutionRecord `locationName:"flowExecutions" type:"list"`
  4834  
  4835  	// The pagination token for the next page of data.
  4836  	NextToken *string `locationName:"nextToken" type:"string"`
  4837  }
  4838  
  4839  // String returns the string representation.
  4840  //
  4841  // API parameter values that are decorated as "sensitive" in the API will not
  4842  // be included in the string output. The member name will be present, but the
  4843  // value will be replaced with "sensitive".
  4844  func (s DescribeFlowExecutionRecordsOutput) String() string {
  4845  	return awsutil.Prettify(s)
  4846  }
  4847  
  4848  // GoString returns the string representation.
  4849  //
  4850  // API parameter values that are decorated as "sensitive" in the API will not
  4851  // be included in the string output. The member name will be present, but the
  4852  // value will be replaced with "sensitive".
  4853  func (s DescribeFlowExecutionRecordsOutput) GoString() string {
  4854  	return s.String()
  4855  }
  4856  
  4857  // SetFlowExecutions sets the FlowExecutions field's value.
  4858  func (s *DescribeFlowExecutionRecordsOutput) SetFlowExecutions(v []*ExecutionRecord) *DescribeFlowExecutionRecordsOutput {
  4859  	s.FlowExecutions = v
  4860  	return s
  4861  }
  4862  
  4863  // SetNextToken sets the NextToken field's value.
  4864  func (s *DescribeFlowExecutionRecordsOutput) SetNextToken(v string) *DescribeFlowExecutionRecordsOutput {
  4865  	s.NextToken = &v
  4866  	return s
  4867  }
  4868  
  4869  type DescribeFlowInput struct {
  4870  	_ struct{} `type:"structure"`
  4871  
  4872  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
  4873  	// or hyphens (-) only.
  4874  	//
  4875  	// FlowName is a required field
  4876  	FlowName *string `locationName:"flowName" type:"string" required:"true"`
  4877  }
  4878  
  4879  // String returns the string representation.
  4880  //
  4881  // API parameter values that are decorated as "sensitive" in the API will not
  4882  // be included in the string output. The member name will be present, but the
  4883  // value will be replaced with "sensitive".
  4884  func (s DescribeFlowInput) String() string {
  4885  	return awsutil.Prettify(s)
  4886  }
  4887  
  4888  // GoString returns the string representation.
  4889  //
  4890  // API parameter values that are decorated as "sensitive" in the API will not
  4891  // be included in the string output. The member name will be present, but the
  4892  // value will be replaced with "sensitive".
  4893  func (s DescribeFlowInput) GoString() string {
  4894  	return s.String()
  4895  }
  4896  
  4897  // Validate inspects the fields of the type to determine if they are valid.
  4898  func (s *DescribeFlowInput) Validate() error {
  4899  	invalidParams := request.ErrInvalidParams{Context: "DescribeFlowInput"}
  4900  	if s.FlowName == nil {
  4901  		invalidParams.Add(request.NewErrParamRequired("FlowName"))
  4902  	}
  4903  
  4904  	if invalidParams.Len() > 0 {
  4905  		return invalidParams
  4906  	}
  4907  	return nil
  4908  }
  4909  
  4910  // SetFlowName sets the FlowName field's value.
  4911  func (s *DescribeFlowInput) SetFlowName(v string) *DescribeFlowInput {
  4912  	s.FlowName = &v
  4913  	return s
  4914  }
  4915  
  4916  type DescribeFlowOutput struct {
  4917  	_ struct{} `type:"structure"`
  4918  
  4919  	// Specifies when the flow was created.
  4920  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  4921  
  4922  	// The ARN of the user who created the flow.
  4923  	CreatedBy *string `locationName:"createdBy" type:"string"`
  4924  
  4925  	// A description of the flow.
  4926  	Description *string `locationName:"description" type:"string"`
  4927  
  4928  	// The configuration that controls how Amazon AppFlow transfers data to the
  4929  	// destination connector.
  4930  	DestinationFlowConfigList []*DestinationFlowConfig `locationName:"destinationFlowConfigList" type:"list"`
  4931  
  4932  	// The flow's Amazon Resource Name (ARN).
  4933  	FlowArn *string `locationName:"flowArn" type:"string"`
  4934  
  4935  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
  4936  	// or hyphens (-) only.
  4937  	FlowName *string `locationName:"flowName" type:"string"`
  4938  
  4939  	// Indicates the current status of the flow.
  4940  	FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"`
  4941  
  4942  	// Contains an error message if the flow status is in a suspended or error state.
  4943  	// This applies only to scheduled or event-triggered flows.
  4944  	FlowStatusMessage *string `locationName:"flowStatusMessage" type:"string"`
  4945  
  4946  	// The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you
  4947  	// provide for encryption. This is required if you do not want to use the Amazon
  4948  	// AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow
  4949  	// uses the Amazon AppFlow-managed KMS key.
  4950  	KmsArn *string `locationName:"kmsArn" min:"20" type:"string"`
  4951  
  4952  	// Describes the details of the most recent flow run.
  4953  	LastRunExecutionDetails *ExecutionDetails `locationName:"lastRunExecutionDetails" type:"structure"`
  4954  
  4955  	// Specifies when the flow was last updated.
  4956  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  4957  
  4958  	// Specifies the user name of the account that performed the most recent update.
  4959  	LastUpdatedBy *string `locationName:"lastUpdatedBy" type:"string"`
  4960  
  4961  	// The configuration that controls how Amazon AppFlow retrieves data from the
  4962  	// source connector.
  4963  	SourceFlowConfig *SourceFlowConfig `locationName:"sourceFlowConfig" type:"structure"`
  4964  
  4965  	// The tags used to organize, track, or control access for your flow.
  4966  	Tags map[string]*string `locationName:"tags" type:"map"`
  4967  
  4968  	// A list of tasks that Amazon AppFlow performs while transferring the data
  4969  	// in the flow run.
  4970  	Tasks []*Task `locationName:"tasks" type:"list"`
  4971  
  4972  	// The trigger settings that determine how and when the flow runs.
  4973  	TriggerConfig *TriggerConfig `locationName:"triggerConfig" type:"structure"`
  4974  }
  4975  
  4976  // String returns the string representation.
  4977  //
  4978  // API parameter values that are decorated as "sensitive" in the API will not
  4979  // be included in the string output. The member name will be present, but the
  4980  // value will be replaced with "sensitive".
  4981  func (s DescribeFlowOutput) String() string {
  4982  	return awsutil.Prettify(s)
  4983  }
  4984  
  4985  // GoString returns the string representation.
  4986  //
  4987  // API parameter values that are decorated as "sensitive" in the API will not
  4988  // be included in the string output. The member name will be present, but the
  4989  // value will be replaced with "sensitive".
  4990  func (s DescribeFlowOutput) GoString() string {
  4991  	return s.String()
  4992  }
  4993  
  4994  // SetCreatedAt sets the CreatedAt field's value.
  4995  func (s *DescribeFlowOutput) SetCreatedAt(v time.Time) *DescribeFlowOutput {
  4996  	s.CreatedAt = &v
  4997  	return s
  4998  }
  4999  
  5000  // SetCreatedBy sets the CreatedBy field's value.
  5001  func (s *DescribeFlowOutput) SetCreatedBy(v string) *DescribeFlowOutput {
  5002  	s.CreatedBy = &v
  5003  	return s
  5004  }
  5005  
  5006  // SetDescription sets the Description field's value.
  5007  func (s *DescribeFlowOutput) SetDescription(v string) *DescribeFlowOutput {
  5008  	s.Description = &v
  5009  	return s
  5010  }
  5011  
  5012  // SetDestinationFlowConfigList sets the DestinationFlowConfigList field's value.
  5013  func (s *DescribeFlowOutput) SetDestinationFlowConfigList(v []*DestinationFlowConfig) *DescribeFlowOutput {
  5014  	s.DestinationFlowConfigList = v
  5015  	return s
  5016  }
  5017  
  5018  // SetFlowArn sets the FlowArn field's value.
  5019  func (s *DescribeFlowOutput) SetFlowArn(v string) *DescribeFlowOutput {
  5020  	s.FlowArn = &v
  5021  	return s
  5022  }
  5023  
  5024  // SetFlowName sets the FlowName field's value.
  5025  func (s *DescribeFlowOutput) SetFlowName(v string) *DescribeFlowOutput {
  5026  	s.FlowName = &v
  5027  	return s
  5028  }
  5029  
  5030  // SetFlowStatus sets the FlowStatus field's value.
  5031  func (s *DescribeFlowOutput) SetFlowStatus(v string) *DescribeFlowOutput {
  5032  	s.FlowStatus = &v
  5033  	return s
  5034  }
  5035  
  5036  // SetFlowStatusMessage sets the FlowStatusMessage field's value.
  5037  func (s *DescribeFlowOutput) SetFlowStatusMessage(v string) *DescribeFlowOutput {
  5038  	s.FlowStatusMessage = &v
  5039  	return s
  5040  }
  5041  
  5042  // SetKmsArn sets the KmsArn field's value.
  5043  func (s *DescribeFlowOutput) SetKmsArn(v string) *DescribeFlowOutput {
  5044  	s.KmsArn = &v
  5045  	return s
  5046  }
  5047  
  5048  // SetLastRunExecutionDetails sets the LastRunExecutionDetails field's value.
  5049  func (s *DescribeFlowOutput) SetLastRunExecutionDetails(v *ExecutionDetails) *DescribeFlowOutput {
  5050  	s.LastRunExecutionDetails = v
  5051  	return s
  5052  }
  5053  
  5054  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  5055  func (s *DescribeFlowOutput) SetLastUpdatedAt(v time.Time) *DescribeFlowOutput {
  5056  	s.LastUpdatedAt = &v
  5057  	return s
  5058  }
  5059  
  5060  // SetLastUpdatedBy sets the LastUpdatedBy field's value.
  5061  func (s *DescribeFlowOutput) SetLastUpdatedBy(v string) *DescribeFlowOutput {
  5062  	s.LastUpdatedBy = &v
  5063  	return s
  5064  }
  5065  
  5066  // SetSourceFlowConfig sets the SourceFlowConfig field's value.
  5067  func (s *DescribeFlowOutput) SetSourceFlowConfig(v *SourceFlowConfig) *DescribeFlowOutput {
  5068  	s.SourceFlowConfig = v
  5069  	return s
  5070  }
  5071  
  5072  // SetTags sets the Tags field's value.
  5073  func (s *DescribeFlowOutput) SetTags(v map[string]*string) *DescribeFlowOutput {
  5074  	s.Tags = v
  5075  	return s
  5076  }
  5077  
  5078  // SetTasks sets the Tasks field's value.
  5079  func (s *DescribeFlowOutput) SetTasks(v []*Task) *DescribeFlowOutput {
  5080  	s.Tasks = v
  5081  	return s
  5082  }
  5083  
  5084  // SetTriggerConfig sets the TriggerConfig field's value.
  5085  func (s *DescribeFlowOutput) SetTriggerConfig(v *TriggerConfig) *DescribeFlowOutput {
  5086  	s.TriggerConfig = v
  5087  	return s
  5088  }
  5089  
  5090  // This stores the information that is required to query a particular connector.
  5091  type DestinationConnectorProperties struct {
  5092  	_ struct{} `type:"structure"`
  5093  
  5094  	// The properties required to query Amazon Connect Customer Profiles.
  5095  	CustomerProfiles *CustomerProfilesDestinationProperties `type:"structure"`
  5096  
  5097  	// The properties required to query Amazon EventBridge.
  5098  	EventBridge *EventBridgeDestinationProperties `type:"structure"`
  5099  
  5100  	// The properties required to query Amazon Honeycode.
  5101  	Honeycode *HoneycodeDestinationProperties `type:"structure"`
  5102  
  5103  	// The properties required to query Amazon Lookout for Metrics.
  5104  	LookoutMetrics *LookoutMetricsDestinationProperties `type:"structure"`
  5105  
  5106  	// The properties required to query Amazon Redshift.
  5107  	Redshift *RedshiftDestinationProperties `type:"structure"`
  5108  
  5109  	// The properties required to query Amazon S3.
  5110  	S3 *S3DestinationProperties `type:"structure"`
  5111  
  5112  	// The properties required to query Salesforce.
  5113  	Salesforce *SalesforceDestinationProperties `type:"structure"`
  5114  
  5115  	// The properties required to query Snowflake.
  5116  	Snowflake *SnowflakeDestinationProperties `type:"structure"`
  5117  
  5118  	// The properties required to query Upsolver.
  5119  	Upsolver *UpsolverDestinationProperties `type:"structure"`
  5120  
  5121  	// The properties required to query Zendesk.
  5122  	Zendesk *ZendeskDestinationProperties `type:"structure"`
  5123  }
  5124  
  5125  // String returns the string representation.
  5126  //
  5127  // API parameter values that are decorated as "sensitive" in the API will not
  5128  // be included in the string output. The member name will be present, but the
  5129  // value will be replaced with "sensitive".
  5130  func (s DestinationConnectorProperties) String() string {
  5131  	return awsutil.Prettify(s)
  5132  }
  5133  
  5134  // GoString returns the string representation.
  5135  //
  5136  // API parameter values that are decorated as "sensitive" in the API will not
  5137  // be included in the string output. The member name will be present, but the
  5138  // value will be replaced with "sensitive".
  5139  func (s DestinationConnectorProperties) GoString() string {
  5140  	return s.String()
  5141  }
  5142  
  5143  // Validate inspects the fields of the type to determine if they are valid.
  5144  func (s *DestinationConnectorProperties) Validate() error {
  5145  	invalidParams := request.ErrInvalidParams{Context: "DestinationConnectorProperties"}
  5146  	if s.CustomerProfiles != nil {
  5147  		if err := s.CustomerProfiles.Validate(); err != nil {
  5148  			invalidParams.AddNested("CustomerProfiles", err.(request.ErrInvalidParams))
  5149  		}
  5150  	}
  5151  	if s.EventBridge != nil {
  5152  		if err := s.EventBridge.Validate(); err != nil {
  5153  			invalidParams.AddNested("EventBridge", err.(request.ErrInvalidParams))
  5154  		}
  5155  	}
  5156  	if s.Honeycode != nil {
  5157  		if err := s.Honeycode.Validate(); err != nil {
  5158  			invalidParams.AddNested("Honeycode", err.(request.ErrInvalidParams))
  5159  		}
  5160  	}
  5161  	if s.Redshift != nil {
  5162  		if err := s.Redshift.Validate(); err != nil {
  5163  			invalidParams.AddNested("Redshift", err.(request.ErrInvalidParams))
  5164  		}
  5165  	}
  5166  	if s.S3 != nil {
  5167  		if err := s.S3.Validate(); err != nil {
  5168  			invalidParams.AddNested("S3", err.(request.ErrInvalidParams))
  5169  		}
  5170  	}
  5171  	if s.Salesforce != nil {
  5172  		if err := s.Salesforce.Validate(); err != nil {
  5173  			invalidParams.AddNested("Salesforce", err.(request.ErrInvalidParams))
  5174  		}
  5175  	}
  5176  	if s.Snowflake != nil {
  5177  		if err := s.Snowflake.Validate(); err != nil {
  5178  			invalidParams.AddNested("Snowflake", err.(request.ErrInvalidParams))
  5179  		}
  5180  	}
  5181  	if s.Upsolver != nil {
  5182  		if err := s.Upsolver.Validate(); err != nil {
  5183  			invalidParams.AddNested("Upsolver", err.(request.ErrInvalidParams))
  5184  		}
  5185  	}
  5186  	if s.Zendesk != nil {
  5187  		if err := s.Zendesk.Validate(); err != nil {
  5188  			invalidParams.AddNested("Zendesk", err.(request.ErrInvalidParams))
  5189  		}
  5190  	}
  5191  
  5192  	if invalidParams.Len() > 0 {
  5193  		return invalidParams
  5194  	}
  5195  	return nil
  5196  }
  5197  
  5198  // SetCustomerProfiles sets the CustomerProfiles field's value.
  5199  func (s *DestinationConnectorProperties) SetCustomerProfiles(v *CustomerProfilesDestinationProperties) *DestinationConnectorProperties {
  5200  	s.CustomerProfiles = v
  5201  	return s
  5202  }
  5203  
  5204  // SetEventBridge sets the EventBridge field's value.
  5205  func (s *DestinationConnectorProperties) SetEventBridge(v *EventBridgeDestinationProperties) *DestinationConnectorProperties {
  5206  	s.EventBridge = v
  5207  	return s
  5208  }
  5209  
  5210  // SetHoneycode sets the Honeycode field's value.
  5211  func (s *DestinationConnectorProperties) SetHoneycode(v *HoneycodeDestinationProperties) *DestinationConnectorProperties {
  5212  	s.Honeycode = v
  5213  	return s
  5214  }
  5215  
  5216  // SetLookoutMetrics sets the LookoutMetrics field's value.
  5217  func (s *DestinationConnectorProperties) SetLookoutMetrics(v *LookoutMetricsDestinationProperties) *DestinationConnectorProperties {
  5218  	s.LookoutMetrics = v
  5219  	return s
  5220  }
  5221  
  5222  // SetRedshift sets the Redshift field's value.
  5223  func (s *DestinationConnectorProperties) SetRedshift(v *RedshiftDestinationProperties) *DestinationConnectorProperties {
  5224  	s.Redshift = v
  5225  	return s
  5226  }
  5227  
  5228  // SetS3 sets the S3 field's value.
  5229  func (s *DestinationConnectorProperties) SetS3(v *S3DestinationProperties) *DestinationConnectorProperties {
  5230  	s.S3 = v
  5231  	return s
  5232  }
  5233  
  5234  // SetSalesforce sets the Salesforce field's value.
  5235  func (s *DestinationConnectorProperties) SetSalesforce(v *SalesforceDestinationProperties) *DestinationConnectorProperties {
  5236  	s.Salesforce = v
  5237  	return s
  5238  }
  5239  
  5240  // SetSnowflake sets the Snowflake field's value.
  5241  func (s *DestinationConnectorProperties) SetSnowflake(v *SnowflakeDestinationProperties) *DestinationConnectorProperties {
  5242  	s.Snowflake = v
  5243  	return s
  5244  }
  5245  
  5246  // SetUpsolver sets the Upsolver field's value.
  5247  func (s *DestinationConnectorProperties) SetUpsolver(v *UpsolverDestinationProperties) *DestinationConnectorProperties {
  5248  	s.Upsolver = v
  5249  	return s
  5250  }
  5251  
  5252  // SetZendesk sets the Zendesk field's value.
  5253  func (s *DestinationConnectorProperties) SetZendesk(v *ZendeskDestinationProperties) *DestinationConnectorProperties {
  5254  	s.Zendesk = v
  5255  	return s
  5256  }
  5257  
  5258  // The properties that can be applied to a field when connector is being used
  5259  // as a destination.
  5260  type DestinationFieldProperties struct {
  5261  	_ struct{} `type:"structure"`
  5262  
  5263  	// Specifies if the destination field can be created by the current user.
  5264  	IsCreatable *bool `locationName:"isCreatable" type:"boolean"`
  5265  
  5266  	// Specifies if the destination field can have a null value.
  5267  	IsNullable *bool `locationName:"isNullable" type:"boolean"`
  5268  
  5269  	// Specifies whether the field can be updated during an UPDATE or UPSERT write
  5270  	// operation.
  5271  	IsUpdatable *bool `locationName:"isUpdatable" type:"boolean"`
  5272  
  5273  	// Specifies if the flow run can either insert new rows in the destination field
  5274  	// if they do not already exist, or update them if they do.
  5275  	IsUpsertable *bool `locationName:"isUpsertable" type:"boolean"`
  5276  
  5277  	// A list of supported write operations. For each write operation listed, this
  5278  	// field can be used in idFieldNames when that write operation is present as
  5279  	// a destination option.
  5280  	SupportedWriteOperations []*string `locationName:"supportedWriteOperations" type:"list"`
  5281  }
  5282  
  5283  // String returns the string representation.
  5284  //
  5285  // API parameter values that are decorated as "sensitive" in the API will not
  5286  // be included in the string output. The member name will be present, but the
  5287  // value will be replaced with "sensitive".
  5288  func (s DestinationFieldProperties) String() string {
  5289  	return awsutil.Prettify(s)
  5290  }
  5291  
  5292  // GoString returns the string representation.
  5293  //
  5294  // API parameter values that are decorated as "sensitive" in the API will not
  5295  // be included in the string output. The member name will be present, but the
  5296  // value will be replaced with "sensitive".
  5297  func (s DestinationFieldProperties) GoString() string {
  5298  	return s.String()
  5299  }
  5300  
  5301  // SetIsCreatable sets the IsCreatable field's value.
  5302  func (s *DestinationFieldProperties) SetIsCreatable(v bool) *DestinationFieldProperties {
  5303  	s.IsCreatable = &v
  5304  	return s
  5305  }
  5306  
  5307  // SetIsNullable sets the IsNullable field's value.
  5308  func (s *DestinationFieldProperties) SetIsNullable(v bool) *DestinationFieldProperties {
  5309  	s.IsNullable = &v
  5310  	return s
  5311  }
  5312  
  5313  // SetIsUpdatable sets the IsUpdatable field's value.
  5314  func (s *DestinationFieldProperties) SetIsUpdatable(v bool) *DestinationFieldProperties {
  5315  	s.IsUpdatable = &v
  5316  	return s
  5317  }
  5318  
  5319  // SetIsUpsertable sets the IsUpsertable field's value.
  5320  func (s *DestinationFieldProperties) SetIsUpsertable(v bool) *DestinationFieldProperties {
  5321  	s.IsUpsertable = &v
  5322  	return s
  5323  }
  5324  
  5325  // SetSupportedWriteOperations sets the SupportedWriteOperations field's value.
  5326  func (s *DestinationFieldProperties) SetSupportedWriteOperations(v []*string) *DestinationFieldProperties {
  5327  	s.SupportedWriteOperations = v
  5328  	return s
  5329  }
  5330  
  5331  // Contains information about the configuration of destination connectors present
  5332  // in the flow.
  5333  type DestinationFlowConfig struct {
  5334  	_ struct{} `type:"structure"`
  5335  
  5336  	// The name of the connector profile. This name must be unique for each connector
  5337  	// profile in the Amazon Web Services account.
  5338  	ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"`
  5339  
  5340  	// The type of connector, such as Salesforce, Amplitude, and so on.
  5341  	//
  5342  	// ConnectorType is a required field
  5343  	ConnectorType *string `locationName:"connectorType" type:"string" required:"true" enum:"ConnectorType"`
  5344  
  5345  	// This stores the information that is required to query a particular connector.
  5346  	//
  5347  	// DestinationConnectorProperties is a required field
  5348  	DestinationConnectorProperties *DestinationConnectorProperties `locationName:"destinationConnectorProperties" type:"structure" required:"true"`
  5349  }
  5350  
  5351  // String returns the string representation.
  5352  //
  5353  // API parameter values that are decorated as "sensitive" in the API will not
  5354  // be included in the string output. The member name will be present, but the
  5355  // value will be replaced with "sensitive".
  5356  func (s DestinationFlowConfig) String() string {
  5357  	return awsutil.Prettify(s)
  5358  }
  5359  
  5360  // GoString returns the string representation.
  5361  //
  5362  // API parameter values that are decorated as "sensitive" in the API will not
  5363  // be included in the string output. The member name will be present, but the
  5364  // value will be replaced with "sensitive".
  5365  func (s DestinationFlowConfig) GoString() string {
  5366  	return s.String()
  5367  }
  5368  
  5369  // Validate inspects the fields of the type to determine if they are valid.
  5370  func (s *DestinationFlowConfig) Validate() error {
  5371  	invalidParams := request.ErrInvalidParams{Context: "DestinationFlowConfig"}
  5372  	if s.ConnectorType == nil {
  5373  		invalidParams.Add(request.NewErrParamRequired("ConnectorType"))
  5374  	}
  5375  	if s.DestinationConnectorProperties == nil {
  5376  		invalidParams.Add(request.NewErrParamRequired("DestinationConnectorProperties"))
  5377  	}
  5378  	if s.DestinationConnectorProperties != nil {
  5379  		if err := s.DestinationConnectorProperties.Validate(); err != nil {
  5380  			invalidParams.AddNested("DestinationConnectorProperties", err.(request.ErrInvalidParams))
  5381  		}
  5382  	}
  5383  
  5384  	if invalidParams.Len() > 0 {
  5385  		return invalidParams
  5386  	}
  5387  	return nil
  5388  }
  5389  
  5390  // SetConnectorProfileName sets the ConnectorProfileName field's value.
  5391  func (s *DestinationFlowConfig) SetConnectorProfileName(v string) *DestinationFlowConfig {
  5392  	s.ConnectorProfileName = &v
  5393  	return s
  5394  }
  5395  
  5396  // SetConnectorType sets the ConnectorType field's value.
  5397  func (s *DestinationFlowConfig) SetConnectorType(v string) *DestinationFlowConfig {
  5398  	s.ConnectorType = &v
  5399  	return s
  5400  }
  5401  
  5402  // SetDestinationConnectorProperties sets the DestinationConnectorProperties field's value.
  5403  func (s *DestinationFlowConfig) SetDestinationConnectorProperties(v *DestinationConnectorProperties) *DestinationFlowConfig {
  5404  	s.DestinationConnectorProperties = v
  5405  	return s
  5406  }
  5407  
  5408  // The connector-specific profile credentials required by Dynatrace.
  5409  type DynatraceConnectorProfileCredentials struct {
  5410  	_ struct{} `type:"structure"`
  5411  
  5412  	// The API tokens used by Dynatrace API to authenticate various API calls.
  5413  	//
  5414  	// ApiToken is a required field
  5415  	ApiToken *string `locationName:"apiToken" type:"string" required:"true"`
  5416  }
  5417  
  5418  // String returns the string representation.
  5419  //
  5420  // API parameter values that are decorated as "sensitive" in the API will not
  5421  // be included in the string output. The member name will be present, but the
  5422  // value will be replaced with "sensitive".
  5423  func (s DynatraceConnectorProfileCredentials) String() string {
  5424  	return awsutil.Prettify(s)
  5425  }
  5426  
  5427  // GoString 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 DynatraceConnectorProfileCredentials) GoString() string {
  5433  	return s.String()
  5434  }
  5435  
  5436  // Validate inspects the fields of the type to determine if they are valid.
  5437  func (s *DynatraceConnectorProfileCredentials) Validate() error {
  5438  	invalidParams := request.ErrInvalidParams{Context: "DynatraceConnectorProfileCredentials"}
  5439  	if s.ApiToken == nil {
  5440  		invalidParams.Add(request.NewErrParamRequired("ApiToken"))
  5441  	}
  5442  
  5443  	if invalidParams.Len() > 0 {
  5444  		return invalidParams
  5445  	}
  5446  	return nil
  5447  }
  5448  
  5449  // SetApiToken sets the ApiToken field's value.
  5450  func (s *DynatraceConnectorProfileCredentials) SetApiToken(v string) *DynatraceConnectorProfileCredentials {
  5451  	s.ApiToken = &v
  5452  	return s
  5453  }
  5454  
  5455  // The connector-specific profile properties required by Dynatrace.
  5456  type DynatraceConnectorProfileProperties struct {
  5457  	_ struct{} `type:"structure"`
  5458  
  5459  	// The location of the Dynatrace resource.
  5460  	//
  5461  	// InstanceUrl is a required field
  5462  	InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"`
  5463  }
  5464  
  5465  // String returns the string representation.
  5466  //
  5467  // API parameter values that are decorated as "sensitive" in the API will not
  5468  // be included in the string output. The member name will be present, but the
  5469  // value will be replaced with "sensitive".
  5470  func (s DynatraceConnectorProfileProperties) String() string {
  5471  	return awsutil.Prettify(s)
  5472  }
  5473  
  5474  // GoString returns the string representation.
  5475  //
  5476  // API parameter values that are decorated as "sensitive" in the API will not
  5477  // be included in the string output. The member name will be present, but the
  5478  // value will be replaced with "sensitive".
  5479  func (s DynatraceConnectorProfileProperties) GoString() string {
  5480  	return s.String()
  5481  }
  5482  
  5483  // Validate inspects the fields of the type to determine if they are valid.
  5484  func (s *DynatraceConnectorProfileProperties) Validate() error {
  5485  	invalidParams := request.ErrInvalidParams{Context: "DynatraceConnectorProfileProperties"}
  5486  	if s.InstanceUrl == nil {
  5487  		invalidParams.Add(request.NewErrParamRequired("InstanceUrl"))
  5488  	}
  5489  
  5490  	if invalidParams.Len() > 0 {
  5491  		return invalidParams
  5492  	}
  5493  	return nil
  5494  }
  5495  
  5496  // SetInstanceUrl sets the InstanceUrl field's value.
  5497  func (s *DynatraceConnectorProfileProperties) SetInstanceUrl(v string) *DynatraceConnectorProfileProperties {
  5498  	s.InstanceUrl = &v
  5499  	return s
  5500  }
  5501  
  5502  // The connector metadata specific to Dynatrace.
  5503  type DynatraceMetadata struct {
  5504  	_ struct{} `type:"structure" nopayload:"true"`
  5505  }
  5506  
  5507  // String returns the string representation.
  5508  //
  5509  // API parameter values that are decorated as "sensitive" in the API will not
  5510  // be included in the string output. The member name will be present, but the
  5511  // value will be replaced with "sensitive".
  5512  func (s DynatraceMetadata) String() string {
  5513  	return awsutil.Prettify(s)
  5514  }
  5515  
  5516  // GoString returns the string representation.
  5517  //
  5518  // API parameter values that are decorated as "sensitive" in the API will not
  5519  // be included in the string output. The member name will be present, but the
  5520  // value will be replaced with "sensitive".
  5521  func (s DynatraceMetadata) GoString() string {
  5522  	return s.String()
  5523  }
  5524  
  5525  // The properties that are applied when Dynatrace is being used as a source.
  5526  type DynatraceSourceProperties struct {
  5527  	_ struct{} `type:"structure"`
  5528  
  5529  	// The object specified in the Dynatrace flow source.
  5530  	//
  5531  	// Object is a required field
  5532  	Object *string `locationName:"object" type:"string" required:"true"`
  5533  }
  5534  
  5535  // String returns the string representation.
  5536  //
  5537  // API parameter values that are decorated as "sensitive" in the API will not
  5538  // be included in the string output. The member name will be present, but the
  5539  // value will be replaced with "sensitive".
  5540  func (s DynatraceSourceProperties) String() string {
  5541  	return awsutil.Prettify(s)
  5542  }
  5543  
  5544  // GoString returns the string representation.
  5545  //
  5546  // API parameter values that are decorated as "sensitive" in the API will not
  5547  // be included in the string output. The member name will be present, but the
  5548  // value will be replaced with "sensitive".
  5549  func (s DynatraceSourceProperties) GoString() string {
  5550  	return s.String()
  5551  }
  5552  
  5553  // Validate inspects the fields of the type to determine if they are valid.
  5554  func (s *DynatraceSourceProperties) Validate() error {
  5555  	invalidParams := request.ErrInvalidParams{Context: "DynatraceSourceProperties"}
  5556  	if s.Object == nil {
  5557  		invalidParams.Add(request.NewErrParamRequired("Object"))
  5558  	}
  5559  
  5560  	if invalidParams.Len() > 0 {
  5561  		return invalidParams
  5562  	}
  5563  	return nil
  5564  }
  5565  
  5566  // SetObject sets the Object field's value.
  5567  func (s *DynatraceSourceProperties) SetObject(v string) *DynatraceSourceProperties {
  5568  	s.Object = &v
  5569  	return s
  5570  }
  5571  
  5572  // The settings that determine how Amazon AppFlow handles an error when placing
  5573  // data in the destination. For example, this setting would determine if the
  5574  // flow should fail after one insertion error, or continue and attempt to insert
  5575  // every record regardless of the initial failure. ErrorHandlingConfig is a
  5576  // part of the destination connector details.
  5577  type ErrorHandlingConfig struct {
  5578  	_ struct{} `type:"structure"`
  5579  
  5580  	// Specifies the name of the Amazon S3 bucket.
  5581  	BucketName *string `locationName:"bucketName" min:"3" type:"string"`
  5582  
  5583  	// Specifies the Amazon S3 bucket prefix.
  5584  	BucketPrefix *string `locationName:"bucketPrefix" type:"string"`
  5585  
  5586  	// Specifies if the flow should fail after the first instance of a failure when
  5587  	// attempting to place data in the destination.
  5588  	FailOnFirstDestinationError *bool `locationName:"failOnFirstDestinationError" type:"boolean"`
  5589  }
  5590  
  5591  // String returns the string representation.
  5592  //
  5593  // API parameter values that are decorated as "sensitive" in the API will not
  5594  // be included in the string output. The member name will be present, but the
  5595  // value will be replaced with "sensitive".
  5596  func (s ErrorHandlingConfig) String() string {
  5597  	return awsutil.Prettify(s)
  5598  }
  5599  
  5600  // GoString returns the string representation.
  5601  //
  5602  // API parameter values that are decorated as "sensitive" in the API will not
  5603  // be included in the string output. The member name will be present, but the
  5604  // value will be replaced with "sensitive".
  5605  func (s ErrorHandlingConfig) GoString() string {
  5606  	return s.String()
  5607  }
  5608  
  5609  // Validate inspects the fields of the type to determine if they are valid.
  5610  func (s *ErrorHandlingConfig) Validate() error {
  5611  	invalidParams := request.ErrInvalidParams{Context: "ErrorHandlingConfig"}
  5612  	if s.BucketName != nil && len(*s.BucketName) < 3 {
  5613  		invalidParams.Add(request.NewErrParamMinLen("BucketName", 3))
  5614  	}
  5615  
  5616  	if invalidParams.Len() > 0 {
  5617  		return invalidParams
  5618  	}
  5619  	return nil
  5620  }
  5621  
  5622  // SetBucketName sets the BucketName field's value.
  5623  func (s *ErrorHandlingConfig) SetBucketName(v string) *ErrorHandlingConfig {
  5624  	s.BucketName = &v
  5625  	return s
  5626  }
  5627  
  5628  // SetBucketPrefix sets the BucketPrefix field's value.
  5629  func (s *ErrorHandlingConfig) SetBucketPrefix(v string) *ErrorHandlingConfig {
  5630  	s.BucketPrefix = &v
  5631  	return s
  5632  }
  5633  
  5634  // SetFailOnFirstDestinationError sets the FailOnFirstDestinationError field's value.
  5635  func (s *ErrorHandlingConfig) SetFailOnFirstDestinationError(v bool) *ErrorHandlingConfig {
  5636  	s.FailOnFirstDestinationError = &v
  5637  	return s
  5638  }
  5639  
  5640  // Provides details in the event of a failed flow, including the failure count
  5641  // and the related error messages.
  5642  type ErrorInfo struct {
  5643  	_ struct{} `type:"structure"`
  5644  
  5645  	// Specifies the error message that appears if a flow fails.
  5646  	ExecutionMessage *string `locationName:"executionMessage" type:"string"`
  5647  
  5648  	// Specifies the failure count for the attempted flow.
  5649  	PutFailuresCount *int64 `locationName:"putFailuresCount" type:"long"`
  5650  }
  5651  
  5652  // String returns the string representation.
  5653  //
  5654  // API parameter values that are decorated as "sensitive" in the API will not
  5655  // be included in the string output. The member name will be present, but the
  5656  // value will be replaced with "sensitive".
  5657  func (s ErrorInfo) String() string {
  5658  	return awsutil.Prettify(s)
  5659  }
  5660  
  5661  // GoString returns the string representation.
  5662  //
  5663  // API parameter values that are decorated as "sensitive" in the API will not
  5664  // be included in the string output. The member name will be present, but the
  5665  // value will be replaced with "sensitive".
  5666  func (s ErrorInfo) GoString() string {
  5667  	return s.String()
  5668  }
  5669  
  5670  // SetExecutionMessage sets the ExecutionMessage field's value.
  5671  func (s *ErrorInfo) SetExecutionMessage(v string) *ErrorInfo {
  5672  	s.ExecutionMessage = &v
  5673  	return s
  5674  }
  5675  
  5676  // SetPutFailuresCount sets the PutFailuresCount field's value.
  5677  func (s *ErrorInfo) SetPutFailuresCount(v int64) *ErrorInfo {
  5678  	s.PutFailuresCount = &v
  5679  	return s
  5680  }
  5681  
  5682  // The properties that are applied when Amazon EventBridge is being used as
  5683  // a destination.
  5684  type EventBridgeDestinationProperties struct {
  5685  	_ struct{} `type:"structure"`
  5686  
  5687  	// The settings that determine how Amazon AppFlow handles an error when placing
  5688  	// data in the destination. For example, this setting would determine if the
  5689  	// flow should fail after one insertion error, or continue and attempt to insert
  5690  	// every record regardless of the initial failure. ErrorHandlingConfig is a
  5691  	// part of the destination connector details.
  5692  	ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"`
  5693  
  5694  	// The object specified in the Amazon EventBridge flow destination.
  5695  	//
  5696  	// Object is a required field
  5697  	Object *string `locationName:"object" type:"string" required:"true"`
  5698  }
  5699  
  5700  // String returns the string representation.
  5701  //
  5702  // API parameter values that are decorated as "sensitive" in the API will not
  5703  // be included in the string output. The member name will be present, but the
  5704  // value will be replaced with "sensitive".
  5705  func (s EventBridgeDestinationProperties) String() string {
  5706  	return awsutil.Prettify(s)
  5707  }
  5708  
  5709  // GoString returns the string representation.
  5710  //
  5711  // API parameter values that are decorated as "sensitive" in the API will not
  5712  // be included in the string output. The member name will be present, but the
  5713  // value will be replaced with "sensitive".
  5714  func (s EventBridgeDestinationProperties) GoString() string {
  5715  	return s.String()
  5716  }
  5717  
  5718  // Validate inspects the fields of the type to determine if they are valid.
  5719  func (s *EventBridgeDestinationProperties) Validate() error {
  5720  	invalidParams := request.ErrInvalidParams{Context: "EventBridgeDestinationProperties"}
  5721  	if s.Object == nil {
  5722  		invalidParams.Add(request.NewErrParamRequired("Object"))
  5723  	}
  5724  	if s.ErrorHandlingConfig != nil {
  5725  		if err := s.ErrorHandlingConfig.Validate(); err != nil {
  5726  			invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams))
  5727  		}
  5728  	}
  5729  
  5730  	if invalidParams.Len() > 0 {
  5731  		return invalidParams
  5732  	}
  5733  	return nil
  5734  }
  5735  
  5736  // SetErrorHandlingConfig sets the ErrorHandlingConfig field's value.
  5737  func (s *EventBridgeDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *EventBridgeDestinationProperties {
  5738  	s.ErrorHandlingConfig = v
  5739  	return s
  5740  }
  5741  
  5742  // SetObject sets the Object field's value.
  5743  func (s *EventBridgeDestinationProperties) SetObject(v string) *EventBridgeDestinationProperties {
  5744  	s.Object = &v
  5745  	return s
  5746  }
  5747  
  5748  // The connector metadata specific to Amazon EventBridge.
  5749  type EventBridgeMetadata struct {
  5750  	_ struct{} `type:"structure" nopayload:"true"`
  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 EventBridgeMetadata) 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 EventBridgeMetadata) GoString() string {
  5768  	return s.String()
  5769  }
  5770  
  5771  // Describes the details of the flow run, including the timestamp, status, and
  5772  // message.
  5773  type ExecutionDetails struct {
  5774  	_ struct{} `type:"structure"`
  5775  
  5776  	// Describes the details of the most recent flow run.
  5777  	MostRecentExecutionMessage *string `locationName:"mostRecentExecutionMessage" type:"string"`
  5778  
  5779  	// Specifies the status of the most recent flow run.
  5780  	MostRecentExecutionStatus *string `locationName:"mostRecentExecutionStatus" type:"string" enum:"ExecutionStatus"`
  5781  
  5782  	// Specifies the time of the most recent flow run.
  5783  	MostRecentExecutionTime *time.Time `locationName:"mostRecentExecutionTime" type:"timestamp"`
  5784  }
  5785  
  5786  // String returns the string representation.
  5787  //
  5788  // API parameter values that are decorated as "sensitive" in the API will not
  5789  // be included in the string output. The member name will be present, but the
  5790  // value will be replaced with "sensitive".
  5791  func (s ExecutionDetails) String() string {
  5792  	return awsutil.Prettify(s)
  5793  }
  5794  
  5795  // GoString returns the string representation.
  5796  //
  5797  // API parameter values that are decorated as "sensitive" in the API will not
  5798  // be included in the string output. The member name will be present, but the
  5799  // value will be replaced with "sensitive".
  5800  func (s ExecutionDetails) GoString() string {
  5801  	return s.String()
  5802  }
  5803  
  5804  // SetMostRecentExecutionMessage sets the MostRecentExecutionMessage field's value.
  5805  func (s *ExecutionDetails) SetMostRecentExecutionMessage(v string) *ExecutionDetails {
  5806  	s.MostRecentExecutionMessage = &v
  5807  	return s
  5808  }
  5809  
  5810  // SetMostRecentExecutionStatus sets the MostRecentExecutionStatus field's value.
  5811  func (s *ExecutionDetails) SetMostRecentExecutionStatus(v string) *ExecutionDetails {
  5812  	s.MostRecentExecutionStatus = &v
  5813  	return s
  5814  }
  5815  
  5816  // SetMostRecentExecutionTime sets the MostRecentExecutionTime field's value.
  5817  func (s *ExecutionDetails) SetMostRecentExecutionTime(v time.Time) *ExecutionDetails {
  5818  	s.MostRecentExecutionTime = &v
  5819  	return s
  5820  }
  5821  
  5822  // Specifies information about the past flow run instances for a given flow.
  5823  type ExecutionRecord struct {
  5824  	_ struct{} `type:"structure"`
  5825  
  5826  	// The timestamp that indicates the last new or updated record to be transferred
  5827  	// in the flow run.
  5828  	DataPullEndTime *time.Time `locationName:"dataPullEndTime" type:"timestamp"`
  5829  
  5830  	// The timestamp that determines the first new or updated record to be transferred
  5831  	// in the flow run.
  5832  	DataPullStartTime *time.Time `locationName:"dataPullStartTime" type:"timestamp"`
  5833  
  5834  	// Specifies the identifier of the given flow run.
  5835  	ExecutionId *string `locationName:"executionId" type:"string"`
  5836  
  5837  	// Describes the result of the given flow run.
  5838  	ExecutionResult *ExecutionResult `locationName:"executionResult" type:"structure"`
  5839  
  5840  	// Specifies the flow run status and whether it is in progress, has completed
  5841  	// successfully, or has failed.
  5842  	ExecutionStatus *string `locationName:"executionStatus" type:"string" enum:"ExecutionStatus"`
  5843  
  5844  	// Specifies the time of the most recent update.
  5845  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  5846  
  5847  	// Specifies the start time of the flow run.
  5848  	StartedAt *time.Time `locationName:"startedAt" type:"timestamp"`
  5849  }
  5850  
  5851  // String returns the string representation.
  5852  //
  5853  // API parameter values that are decorated as "sensitive" in the API will not
  5854  // be included in the string output. The member name will be present, but the
  5855  // value will be replaced with "sensitive".
  5856  func (s ExecutionRecord) String() string {
  5857  	return awsutil.Prettify(s)
  5858  }
  5859  
  5860  // GoString returns the string representation.
  5861  //
  5862  // API parameter values that are decorated as "sensitive" in the API will not
  5863  // be included in the string output. The member name will be present, but the
  5864  // value will be replaced with "sensitive".
  5865  func (s ExecutionRecord) GoString() string {
  5866  	return s.String()
  5867  }
  5868  
  5869  // SetDataPullEndTime sets the DataPullEndTime field's value.
  5870  func (s *ExecutionRecord) SetDataPullEndTime(v time.Time) *ExecutionRecord {
  5871  	s.DataPullEndTime = &v
  5872  	return s
  5873  }
  5874  
  5875  // SetDataPullStartTime sets the DataPullStartTime field's value.
  5876  func (s *ExecutionRecord) SetDataPullStartTime(v time.Time) *ExecutionRecord {
  5877  	s.DataPullStartTime = &v
  5878  	return s
  5879  }
  5880  
  5881  // SetExecutionId sets the ExecutionId field's value.
  5882  func (s *ExecutionRecord) SetExecutionId(v string) *ExecutionRecord {
  5883  	s.ExecutionId = &v
  5884  	return s
  5885  }
  5886  
  5887  // SetExecutionResult sets the ExecutionResult field's value.
  5888  func (s *ExecutionRecord) SetExecutionResult(v *ExecutionResult) *ExecutionRecord {
  5889  	s.ExecutionResult = v
  5890  	return s
  5891  }
  5892  
  5893  // SetExecutionStatus sets the ExecutionStatus field's value.
  5894  func (s *ExecutionRecord) SetExecutionStatus(v string) *ExecutionRecord {
  5895  	s.ExecutionStatus = &v
  5896  	return s
  5897  }
  5898  
  5899  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  5900  func (s *ExecutionRecord) SetLastUpdatedAt(v time.Time) *ExecutionRecord {
  5901  	s.LastUpdatedAt = &v
  5902  	return s
  5903  }
  5904  
  5905  // SetStartedAt sets the StartedAt field's value.
  5906  func (s *ExecutionRecord) SetStartedAt(v time.Time) *ExecutionRecord {
  5907  	s.StartedAt = &v
  5908  	return s
  5909  }
  5910  
  5911  // Specifies the end result of the flow run.
  5912  type ExecutionResult struct {
  5913  	_ struct{} `type:"structure"`
  5914  
  5915  	// The total number of bytes processed by the flow run.
  5916  	BytesProcessed *int64 `locationName:"bytesProcessed" type:"long"`
  5917  
  5918  	// The total number of bytes written as a result of the flow run.
  5919  	BytesWritten *int64 `locationName:"bytesWritten" type:"long"`
  5920  
  5921  	// Provides any error message information related to the flow run.
  5922  	ErrorInfo *ErrorInfo `locationName:"errorInfo" type:"structure"`
  5923  
  5924  	// The number of records processed in the flow run.
  5925  	RecordsProcessed *int64 `locationName:"recordsProcessed" type:"long"`
  5926  }
  5927  
  5928  // String returns the string representation.
  5929  //
  5930  // API parameter values that are decorated as "sensitive" in the API will not
  5931  // be included in the string output. The member name will be present, but the
  5932  // value will be replaced with "sensitive".
  5933  func (s ExecutionResult) String() string {
  5934  	return awsutil.Prettify(s)
  5935  }
  5936  
  5937  // GoString returns the string representation.
  5938  //
  5939  // API parameter values that are decorated as "sensitive" in the API will not
  5940  // be included in the string output. The member name will be present, but the
  5941  // value will be replaced with "sensitive".
  5942  func (s ExecutionResult) GoString() string {
  5943  	return s.String()
  5944  }
  5945  
  5946  // SetBytesProcessed sets the BytesProcessed field's value.
  5947  func (s *ExecutionResult) SetBytesProcessed(v int64) *ExecutionResult {
  5948  	s.BytesProcessed = &v
  5949  	return s
  5950  }
  5951  
  5952  // SetBytesWritten sets the BytesWritten field's value.
  5953  func (s *ExecutionResult) SetBytesWritten(v int64) *ExecutionResult {
  5954  	s.BytesWritten = &v
  5955  	return s
  5956  }
  5957  
  5958  // SetErrorInfo sets the ErrorInfo field's value.
  5959  func (s *ExecutionResult) SetErrorInfo(v *ErrorInfo) *ExecutionResult {
  5960  	s.ErrorInfo = v
  5961  	return s
  5962  }
  5963  
  5964  // SetRecordsProcessed sets the RecordsProcessed field's value.
  5965  func (s *ExecutionResult) SetRecordsProcessed(v int64) *ExecutionResult {
  5966  	s.RecordsProcessed = &v
  5967  	return s
  5968  }
  5969  
  5970  // Contains details regarding the supported field type and the operators that
  5971  // can be applied for filtering.
  5972  type FieldTypeDetails struct {
  5973  	_ struct{} `type:"structure"`
  5974  
  5975  	// The type of field, such as string, integer, date, and so on.
  5976  	//
  5977  	// FieldType is a required field
  5978  	FieldType *string `locationName:"fieldType" type:"string" required:"true"`
  5979  
  5980  	// The list of operators supported by a field.
  5981  	//
  5982  	// FilterOperators is a required field
  5983  	FilterOperators []*string `locationName:"filterOperators" type:"list" required:"true"`
  5984  
  5985  	// The list of values that a field can contain. For example, a Boolean fieldType
  5986  	// can have two values: "true" and "false".
  5987  	SupportedValues []*string `locationName:"supportedValues" type:"list"`
  5988  }
  5989  
  5990  // String returns the string representation.
  5991  //
  5992  // API parameter values that are decorated as "sensitive" in the API will not
  5993  // be included in the string output. The member name will be present, but the
  5994  // value will be replaced with "sensitive".
  5995  func (s FieldTypeDetails) String() string {
  5996  	return awsutil.Prettify(s)
  5997  }
  5998  
  5999  // GoString returns the string representation.
  6000  //
  6001  // API parameter values that are decorated as "sensitive" in the API will not
  6002  // be included in the string output. The member name will be present, but the
  6003  // value will be replaced with "sensitive".
  6004  func (s FieldTypeDetails) GoString() string {
  6005  	return s.String()
  6006  }
  6007  
  6008  // SetFieldType sets the FieldType field's value.
  6009  func (s *FieldTypeDetails) SetFieldType(v string) *FieldTypeDetails {
  6010  	s.FieldType = &v
  6011  	return s
  6012  }
  6013  
  6014  // SetFilterOperators sets the FilterOperators field's value.
  6015  func (s *FieldTypeDetails) SetFilterOperators(v []*string) *FieldTypeDetails {
  6016  	s.FilterOperators = v
  6017  	return s
  6018  }
  6019  
  6020  // SetSupportedValues sets the SupportedValues field's value.
  6021  func (s *FieldTypeDetails) SetSupportedValues(v []*string) *FieldTypeDetails {
  6022  	s.SupportedValues = v
  6023  	return s
  6024  }
  6025  
  6026  // The properties of the flow, such as its source, destination, trigger type,
  6027  // and so on.
  6028  type FlowDefinition struct {
  6029  	_ struct{} `type:"structure"`
  6030  
  6031  	// Specifies when the flow was created.
  6032  	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`
  6033  
  6034  	// The ARN of the user who created the flow.
  6035  	CreatedBy *string `locationName:"createdBy" type:"string"`
  6036  
  6037  	// A user-entered description of the flow.
  6038  	Description *string `locationName:"description" type:"string"`
  6039  
  6040  	// Specifies the destination connector type, such as Salesforce, Amazon S3,
  6041  	// Amplitude, and so on.
  6042  	DestinationConnectorType *string `locationName:"destinationConnectorType" type:"string" enum:"ConnectorType"`
  6043  
  6044  	// The flow's Amazon Resource Name (ARN).
  6045  	FlowArn *string `locationName:"flowArn" type:"string"`
  6046  
  6047  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
  6048  	// or hyphens (-) only.
  6049  	FlowName *string `locationName:"flowName" type:"string"`
  6050  
  6051  	// Indicates the current status of the flow.
  6052  	FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"`
  6053  
  6054  	// Describes the details of the most recent flow run.
  6055  	LastRunExecutionDetails *ExecutionDetails `locationName:"lastRunExecutionDetails" type:"structure"`
  6056  
  6057  	// Specifies when the flow was last updated.
  6058  	LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"`
  6059  
  6060  	// Specifies the account user name that most recently updated the flow.
  6061  	LastUpdatedBy *string `locationName:"lastUpdatedBy" type:"string"`
  6062  
  6063  	// Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude,
  6064  	// and so on.
  6065  	SourceConnectorType *string `locationName:"sourceConnectorType" type:"string" enum:"ConnectorType"`
  6066  
  6067  	// The tags used to organize, track, or control access for your flow.
  6068  	Tags map[string]*string `locationName:"tags" type:"map"`
  6069  
  6070  	// Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.
  6071  	TriggerType *string `locationName:"triggerType" type:"string" enum:"TriggerType"`
  6072  }
  6073  
  6074  // String returns the string representation.
  6075  //
  6076  // API parameter values that are decorated as "sensitive" in the API will not
  6077  // be included in the string output. The member name will be present, but the
  6078  // value will be replaced with "sensitive".
  6079  func (s FlowDefinition) String() string {
  6080  	return awsutil.Prettify(s)
  6081  }
  6082  
  6083  // GoString returns the string representation.
  6084  //
  6085  // API parameter values that are decorated as "sensitive" in the API will not
  6086  // be included in the string output. The member name will be present, but the
  6087  // value will be replaced with "sensitive".
  6088  func (s FlowDefinition) GoString() string {
  6089  	return s.String()
  6090  }
  6091  
  6092  // SetCreatedAt sets the CreatedAt field's value.
  6093  func (s *FlowDefinition) SetCreatedAt(v time.Time) *FlowDefinition {
  6094  	s.CreatedAt = &v
  6095  	return s
  6096  }
  6097  
  6098  // SetCreatedBy sets the CreatedBy field's value.
  6099  func (s *FlowDefinition) SetCreatedBy(v string) *FlowDefinition {
  6100  	s.CreatedBy = &v
  6101  	return s
  6102  }
  6103  
  6104  // SetDescription sets the Description field's value.
  6105  func (s *FlowDefinition) SetDescription(v string) *FlowDefinition {
  6106  	s.Description = &v
  6107  	return s
  6108  }
  6109  
  6110  // SetDestinationConnectorType sets the DestinationConnectorType field's value.
  6111  func (s *FlowDefinition) SetDestinationConnectorType(v string) *FlowDefinition {
  6112  	s.DestinationConnectorType = &v
  6113  	return s
  6114  }
  6115  
  6116  // SetFlowArn sets the FlowArn field's value.
  6117  func (s *FlowDefinition) SetFlowArn(v string) *FlowDefinition {
  6118  	s.FlowArn = &v
  6119  	return s
  6120  }
  6121  
  6122  // SetFlowName sets the FlowName field's value.
  6123  func (s *FlowDefinition) SetFlowName(v string) *FlowDefinition {
  6124  	s.FlowName = &v
  6125  	return s
  6126  }
  6127  
  6128  // SetFlowStatus sets the FlowStatus field's value.
  6129  func (s *FlowDefinition) SetFlowStatus(v string) *FlowDefinition {
  6130  	s.FlowStatus = &v
  6131  	return s
  6132  }
  6133  
  6134  // SetLastRunExecutionDetails sets the LastRunExecutionDetails field's value.
  6135  func (s *FlowDefinition) SetLastRunExecutionDetails(v *ExecutionDetails) *FlowDefinition {
  6136  	s.LastRunExecutionDetails = v
  6137  	return s
  6138  }
  6139  
  6140  // SetLastUpdatedAt sets the LastUpdatedAt field's value.
  6141  func (s *FlowDefinition) SetLastUpdatedAt(v time.Time) *FlowDefinition {
  6142  	s.LastUpdatedAt = &v
  6143  	return s
  6144  }
  6145  
  6146  // SetLastUpdatedBy sets the LastUpdatedBy field's value.
  6147  func (s *FlowDefinition) SetLastUpdatedBy(v string) *FlowDefinition {
  6148  	s.LastUpdatedBy = &v
  6149  	return s
  6150  }
  6151  
  6152  // SetSourceConnectorType sets the SourceConnectorType field's value.
  6153  func (s *FlowDefinition) SetSourceConnectorType(v string) *FlowDefinition {
  6154  	s.SourceConnectorType = &v
  6155  	return s
  6156  }
  6157  
  6158  // SetTags sets the Tags field's value.
  6159  func (s *FlowDefinition) SetTags(v map[string]*string) *FlowDefinition {
  6160  	s.Tags = v
  6161  	return s
  6162  }
  6163  
  6164  // SetTriggerType sets the TriggerType field's value.
  6165  func (s *FlowDefinition) SetTriggerType(v string) *FlowDefinition {
  6166  	s.TriggerType = &v
  6167  	return s
  6168  }
  6169  
  6170  // The connector-specific profile credentials required by Google Analytics.
  6171  type GoogleAnalyticsConnectorProfileCredentials struct {
  6172  	_ struct{} `type:"structure"`
  6173  
  6174  	// The credentials used to access protected Google Analytics resources.
  6175  	//
  6176  	// AccessToken is a sensitive parameter and its value will be
  6177  	// replaced with "sensitive" in string returned by GoogleAnalyticsConnectorProfileCredentials's
  6178  	// String and GoString methods.
  6179  	AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"`
  6180  
  6181  	// The identifier for the desired client.
  6182  	//
  6183  	// ClientId is a required field
  6184  	ClientId *string `locationName:"clientId" type:"string" required:"true"`
  6185  
  6186  	// The client secret used by the OAuth client to authenticate to the authorization
  6187  	// server.
  6188  	//
  6189  	// ClientSecret is a sensitive parameter and its value will be
  6190  	// replaced with "sensitive" in string returned by GoogleAnalyticsConnectorProfileCredentials's
  6191  	// String and GoString methods.
  6192  	//
  6193  	// ClientSecret is a required field
  6194  	ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"`
  6195  
  6196  	// The OAuth requirement needed to request security tokens from the connector
  6197  	// endpoint.
  6198  	OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"`
  6199  
  6200  	// The credentials used to acquire new access tokens. This is required only
  6201  	// for OAuth2 access tokens, and is not required for OAuth1 access tokens.
  6202  	RefreshToken *string `locationName:"refreshToken" type:"string"`
  6203  }
  6204  
  6205  // String returns the string representation.
  6206  //
  6207  // API parameter values that are decorated as "sensitive" in the API will not
  6208  // be included in the string output. The member name will be present, but the
  6209  // value will be replaced with "sensitive".
  6210  func (s GoogleAnalyticsConnectorProfileCredentials) String() string {
  6211  	return awsutil.Prettify(s)
  6212  }
  6213  
  6214  // GoString returns the string representation.
  6215  //
  6216  // API parameter values that are decorated as "sensitive" in the API will not
  6217  // be included in the string output. The member name will be present, but the
  6218  // value will be replaced with "sensitive".
  6219  func (s GoogleAnalyticsConnectorProfileCredentials) GoString() string {
  6220  	return s.String()
  6221  }
  6222  
  6223  // Validate inspects the fields of the type to determine if they are valid.
  6224  func (s *GoogleAnalyticsConnectorProfileCredentials) Validate() error {
  6225  	invalidParams := request.ErrInvalidParams{Context: "GoogleAnalyticsConnectorProfileCredentials"}
  6226  	if s.ClientId == nil {
  6227  		invalidParams.Add(request.NewErrParamRequired("ClientId"))
  6228  	}
  6229  	if s.ClientSecret == nil {
  6230  		invalidParams.Add(request.NewErrParamRequired("ClientSecret"))
  6231  	}
  6232  
  6233  	if invalidParams.Len() > 0 {
  6234  		return invalidParams
  6235  	}
  6236  	return nil
  6237  }
  6238  
  6239  // SetAccessToken sets the AccessToken field's value.
  6240  func (s *GoogleAnalyticsConnectorProfileCredentials) SetAccessToken(v string) *GoogleAnalyticsConnectorProfileCredentials {
  6241  	s.AccessToken = &v
  6242  	return s
  6243  }
  6244  
  6245  // SetClientId sets the ClientId field's value.
  6246  func (s *GoogleAnalyticsConnectorProfileCredentials) SetClientId(v string) *GoogleAnalyticsConnectorProfileCredentials {
  6247  	s.ClientId = &v
  6248  	return s
  6249  }
  6250  
  6251  // SetClientSecret sets the ClientSecret field's value.
  6252  func (s *GoogleAnalyticsConnectorProfileCredentials) SetClientSecret(v string) *GoogleAnalyticsConnectorProfileCredentials {
  6253  	s.ClientSecret = &v
  6254  	return s
  6255  }
  6256  
  6257  // SetOAuthRequest sets the OAuthRequest field's value.
  6258  func (s *GoogleAnalyticsConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *GoogleAnalyticsConnectorProfileCredentials {
  6259  	s.OAuthRequest = v
  6260  	return s
  6261  }
  6262  
  6263  // SetRefreshToken sets the RefreshToken field's value.
  6264  func (s *GoogleAnalyticsConnectorProfileCredentials) SetRefreshToken(v string) *GoogleAnalyticsConnectorProfileCredentials {
  6265  	s.RefreshToken = &v
  6266  	return s
  6267  }
  6268  
  6269  // The connector-specific profile properties required by Google Analytics.
  6270  type GoogleAnalyticsConnectorProfileProperties struct {
  6271  	_ struct{} `type:"structure" nopayload:"true"`
  6272  }
  6273  
  6274  // String returns the string representation.
  6275  //
  6276  // API parameter values that are decorated as "sensitive" in the API will not
  6277  // be included in the string output. The member name will be present, but the
  6278  // value will be replaced with "sensitive".
  6279  func (s GoogleAnalyticsConnectorProfileProperties) String() string {
  6280  	return awsutil.Prettify(s)
  6281  }
  6282  
  6283  // GoString returns the string representation.
  6284  //
  6285  // API parameter values that are decorated as "sensitive" in the API will not
  6286  // be included in the string output. The member name will be present, but the
  6287  // value will be replaced with "sensitive".
  6288  func (s GoogleAnalyticsConnectorProfileProperties) GoString() string {
  6289  	return s.String()
  6290  }
  6291  
  6292  // The connector metadata specific to Google Analytics.
  6293  type GoogleAnalyticsMetadata struct {
  6294  	_ struct{} `type:"structure"`
  6295  
  6296  	// The desired authorization scope for the Google Analytics account.
  6297  	OAuthScopes []*string `locationName:"oAuthScopes" type:"list"`
  6298  }
  6299  
  6300  // String returns the string representation.
  6301  //
  6302  // API parameter values that are decorated as "sensitive" in the API will not
  6303  // be included in the string output. The member name will be present, but the
  6304  // value will be replaced with "sensitive".
  6305  func (s GoogleAnalyticsMetadata) String() string {
  6306  	return awsutil.Prettify(s)
  6307  }
  6308  
  6309  // GoString returns the string representation.
  6310  //
  6311  // API parameter values that are decorated as "sensitive" in the API will not
  6312  // be included in the string output. The member name will be present, but the
  6313  // value will be replaced with "sensitive".
  6314  func (s GoogleAnalyticsMetadata) GoString() string {
  6315  	return s.String()
  6316  }
  6317  
  6318  // SetOAuthScopes sets the OAuthScopes field's value.
  6319  func (s *GoogleAnalyticsMetadata) SetOAuthScopes(v []*string) *GoogleAnalyticsMetadata {
  6320  	s.OAuthScopes = v
  6321  	return s
  6322  }
  6323  
  6324  // The properties that are applied when Google Analytics is being used as a
  6325  // source.
  6326  type GoogleAnalyticsSourceProperties struct {
  6327  	_ struct{} `type:"structure"`
  6328  
  6329  	// The object specified in the Google Analytics flow source.
  6330  	//
  6331  	// Object is a required field
  6332  	Object *string `locationName:"object" type:"string" required:"true"`
  6333  }
  6334  
  6335  // String returns the string representation.
  6336  //
  6337  // API parameter values that are decorated as "sensitive" in the API will not
  6338  // be included in the string output. The member name will be present, but the
  6339  // value will be replaced with "sensitive".
  6340  func (s GoogleAnalyticsSourceProperties) String() string {
  6341  	return awsutil.Prettify(s)
  6342  }
  6343  
  6344  // GoString returns the string representation.
  6345  //
  6346  // API parameter values that are decorated as "sensitive" in the API will not
  6347  // be included in the string output. The member name will be present, but the
  6348  // value will be replaced with "sensitive".
  6349  func (s GoogleAnalyticsSourceProperties) GoString() string {
  6350  	return s.String()
  6351  }
  6352  
  6353  // Validate inspects the fields of the type to determine if they are valid.
  6354  func (s *GoogleAnalyticsSourceProperties) Validate() error {
  6355  	invalidParams := request.ErrInvalidParams{Context: "GoogleAnalyticsSourceProperties"}
  6356  	if s.Object == nil {
  6357  		invalidParams.Add(request.NewErrParamRequired("Object"))
  6358  	}
  6359  
  6360  	if invalidParams.Len() > 0 {
  6361  		return invalidParams
  6362  	}
  6363  	return nil
  6364  }
  6365  
  6366  // SetObject sets the Object field's value.
  6367  func (s *GoogleAnalyticsSourceProperties) SetObject(v string) *GoogleAnalyticsSourceProperties {
  6368  	s.Object = &v
  6369  	return s
  6370  }
  6371  
  6372  // The connector-specific credentials required when using Amazon Honeycode.
  6373  type HoneycodeConnectorProfileCredentials struct {
  6374  	_ struct{} `type:"structure"`
  6375  
  6376  	// The credentials used to access protected Amazon Honeycode resources.
  6377  	//
  6378  	// AccessToken is a sensitive parameter and its value will be
  6379  	// replaced with "sensitive" in string returned by HoneycodeConnectorProfileCredentials's
  6380  	// String and GoString methods.
  6381  	AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"`
  6382  
  6383  	// Used by select connectors for which the OAuth workflow is supported, such
  6384  	// as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
  6385  	OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"`
  6386  
  6387  	// The credentials used to acquire new access tokens.
  6388  	RefreshToken *string `locationName:"refreshToken" type:"string"`
  6389  }
  6390  
  6391  // String returns the string representation.
  6392  //
  6393  // API parameter values that are decorated as "sensitive" in the API will not
  6394  // be included in the string output. The member name will be present, but the
  6395  // value will be replaced with "sensitive".
  6396  func (s HoneycodeConnectorProfileCredentials) String() string {
  6397  	return awsutil.Prettify(s)
  6398  }
  6399  
  6400  // GoString returns the string representation.
  6401  //
  6402  // API parameter values that are decorated as "sensitive" in the API will not
  6403  // be included in the string output. The member name will be present, but the
  6404  // value will be replaced with "sensitive".
  6405  func (s HoneycodeConnectorProfileCredentials) GoString() string {
  6406  	return s.String()
  6407  }
  6408  
  6409  // SetAccessToken sets the AccessToken field's value.
  6410  func (s *HoneycodeConnectorProfileCredentials) SetAccessToken(v string) *HoneycodeConnectorProfileCredentials {
  6411  	s.AccessToken = &v
  6412  	return s
  6413  }
  6414  
  6415  // SetOAuthRequest sets the OAuthRequest field's value.
  6416  func (s *HoneycodeConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *HoneycodeConnectorProfileCredentials {
  6417  	s.OAuthRequest = v
  6418  	return s
  6419  }
  6420  
  6421  // SetRefreshToken sets the RefreshToken field's value.
  6422  func (s *HoneycodeConnectorProfileCredentials) SetRefreshToken(v string) *HoneycodeConnectorProfileCredentials {
  6423  	s.RefreshToken = &v
  6424  	return s
  6425  }
  6426  
  6427  // The connector-specific properties required when using Amazon Honeycode.
  6428  type HoneycodeConnectorProfileProperties struct {
  6429  	_ struct{} `type:"structure" nopayload:"true"`
  6430  }
  6431  
  6432  // String returns the string representation.
  6433  //
  6434  // API parameter values that are decorated as "sensitive" in the API will not
  6435  // be included in the string output. The member name will be present, but the
  6436  // value will be replaced with "sensitive".
  6437  func (s HoneycodeConnectorProfileProperties) String() string {
  6438  	return awsutil.Prettify(s)
  6439  }
  6440  
  6441  // GoString returns the string representation.
  6442  //
  6443  // API parameter values that are decorated as "sensitive" in the API will not
  6444  // be included in the string output. The member name will be present, but the
  6445  // value will be replaced with "sensitive".
  6446  func (s HoneycodeConnectorProfileProperties) GoString() string {
  6447  	return s.String()
  6448  }
  6449  
  6450  // The properties that are applied when Amazon Honeycode is used as a destination.
  6451  type HoneycodeDestinationProperties struct {
  6452  	_ struct{} `type:"structure"`
  6453  
  6454  	// The settings that determine how Amazon AppFlow handles an error when placing
  6455  	// data in the destination. For example, this setting would determine if the
  6456  	// flow should fail after one insertion error, or continue and attempt to insert
  6457  	// every record regardless of the initial failure. ErrorHandlingConfig is a
  6458  	// part of the destination connector details.
  6459  	ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"`
  6460  
  6461  	// The object specified in the Amazon Honeycode flow destination.
  6462  	//
  6463  	// Object is a required field
  6464  	Object *string `locationName:"object" type:"string" required:"true"`
  6465  }
  6466  
  6467  // String returns the string representation.
  6468  //
  6469  // API parameter values that are decorated as "sensitive" in the API will not
  6470  // be included in the string output. The member name will be present, but the
  6471  // value will be replaced with "sensitive".
  6472  func (s HoneycodeDestinationProperties) String() string {
  6473  	return awsutil.Prettify(s)
  6474  }
  6475  
  6476  // GoString returns the string representation.
  6477  //
  6478  // API parameter values that are decorated as "sensitive" in the API will not
  6479  // be included in the string output. The member name will be present, but the
  6480  // value will be replaced with "sensitive".
  6481  func (s HoneycodeDestinationProperties) GoString() string {
  6482  	return s.String()
  6483  }
  6484  
  6485  // Validate inspects the fields of the type to determine if they are valid.
  6486  func (s *HoneycodeDestinationProperties) Validate() error {
  6487  	invalidParams := request.ErrInvalidParams{Context: "HoneycodeDestinationProperties"}
  6488  	if s.Object == nil {
  6489  		invalidParams.Add(request.NewErrParamRequired("Object"))
  6490  	}
  6491  	if s.ErrorHandlingConfig != nil {
  6492  		if err := s.ErrorHandlingConfig.Validate(); err != nil {
  6493  			invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams))
  6494  		}
  6495  	}
  6496  
  6497  	if invalidParams.Len() > 0 {
  6498  		return invalidParams
  6499  	}
  6500  	return nil
  6501  }
  6502  
  6503  // SetErrorHandlingConfig sets the ErrorHandlingConfig field's value.
  6504  func (s *HoneycodeDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *HoneycodeDestinationProperties {
  6505  	s.ErrorHandlingConfig = v
  6506  	return s
  6507  }
  6508  
  6509  // SetObject sets the Object field's value.
  6510  func (s *HoneycodeDestinationProperties) SetObject(v string) *HoneycodeDestinationProperties {
  6511  	s.Object = &v
  6512  	return s
  6513  }
  6514  
  6515  // The connector metadata specific to Amazon Honeycode.
  6516  type HoneycodeMetadata struct {
  6517  	_ struct{} `type:"structure"`
  6518  
  6519  	// The desired authorization scope for the Amazon Honeycode account.
  6520  	OAuthScopes []*string `locationName:"oAuthScopes" type:"list"`
  6521  }
  6522  
  6523  // String returns the string representation.
  6524  //
  6525  // API parameter values that are decorated as "sensitive" in the API will not
  6526  // be included in the string output. The member name will be present, but the
  6527  // value will be replaced with "sensitive".
  6528  func (s HoneycodeMetadata) String() string {
  6529  	return awsutil.Prettify(s)
  6530  }
  6531  
  6532  // GoString returns the string representation.
  6533  //
  6534  // API parameter values that are decorated as "sensitive" in the API will not
  6535  // be included in the string output. The member name will be present, but the
  6536  // value will be replaced with "sensitive".
  6537  func (s HoneycodeMetadata) GoString() string {
  6538  	return s.String()
  6539  }
  6540  
  6541  // SetOAuthScopes sets the OAuthScopes field's value.
  6542  func (s *HoneycodeMetadata) SetOAuthScopes(v []*string) *HoneycodeMetadata {
  6543  	s.OAuthScopes = v
  6544  	return s
  6545  }
  6546  
  6547  // Specifies the configuration used when importing incremental records from
  6548  // the source.
  6549  type IncrementalPullConfig struct {
  6550  	_ struct{} `type:"structure"`
  6551  
  6552  	// A field that specifies the date time or timestamp field as the criteria to
  6553  	// use when importing incremental records from the source.
  6554  	DatetimeTypeFieldName *string `locationName:"datetimeTypeFieldName" type:"string"`
  6555  }
  6556  
  6557  // String returns the string representation.
  6558  //
  6559  // API parameter values that are decorated as "sensitive" in the API will not
  6560  // be included in the string output. The member name will be present, but the
  6561  // value will be replaced with "sensitive".
  6562  func (s IncrementalPullConfig) String() string {
  6563  	return awsutil.Prettify(s)
  6564  }
  6565  
  6566  // GoString returns the string representation.
  6567  //
  6568  // API parameter values that are decorated as "sensitive" in the API will not
  6569  // be included in the string output. The member name will be present, but the
  6570  // value will be replaced with "sensitive".
  6571  func (s IncrementalPullConfig) GoString() string {
  6572  	return s.String()
  6573  }
  6574  
  6575  // SetDatetimeTypeFieldName sets the DatetimeTypeFieldName field's value.
  6576  func (s *IncrementalPullConfig) SetDatetimeTypeFieldName(v string) *IncrementalPullConfig {
  6577  	s.DatetimeTypeFieldName = &v
  6578  	return s
  6579  }
  6580  
  6581  // The connector-specific profile credentials required by Infor Nexus.
  6582  type InforNexusConnectorProfileCredentials struct {
  6583  	_ struct{} `type:"structure"`
  6584  
  6585  	// The Access Key portion of the credentials.
  6586  	//
  6587  	// AccessKeyId is a sensitive parameter and its value will be
  6588  	// replaced with "sensitive" in string returned by InforNexusConnectorProfileCredentials's
  6589  	// String and GoString methods.
  6590  	//
  6591  	// AccessKeyId is a required field
  6592  	AccessKeyId *string `locationName:"accessKeyId" type:"string" required:"true" sensitive:"true"`
  6593  
  6594  	// The encryption keys used to encrypt data.
  6595  	//
  6596  	// Datakey is a required field
  6597  	Datakey *string `locationName:"datakey" type:"string" required:"true"`
  6598  
  6599  	// The secret key used to sign requests.
  6600  	//
  6601  	// SecretAccessKey is a required field
  6602  	SecretAccessKey *string `locationName:"secretAccessKey" type:"string" required:"true"`
  6603  
  6604  	// The identifier for the user.
  6605  	//
  6606  	// UserId is a required field
  6607  	UserId *string `locationName:"userId" type:"string" required:"true"`
  6608  }
  6609  
  6610  // String returns the string representation.
  6611  //
  6612  // API parameter values that are decorated as "sensitive" in the API will not
  6613  // be included in the string output. The member name will be present, but the
  6614  // value will be replaced with "sensitive".
  6615  func (s InforNexusConnectorProfileCredentials) String() string {
  6616  	return awsutil.Prettify(s)
  6617  }
  6618  
  6619  // GoString returns the string representation.
  6620  //
  6621  // API parameter values that are decorated as "sensitive" in the API will not
  6622  // be included in the string output. The member name will be present, but the
  6623  // value will be replaced with "sensitive".
  6624  func (s InforNexusConnectorProfileCredentials) GoString() string {
  6625  	return s.String()
  6626  }
  6627  
  6628  // Validate inspects the fields of the type to determine if they are valid.
  6629  func (s *InforNexusConnectorProfileCredentials) Validate() error {
  6630  	invalidParams := request.ErrInvalidParams{Context: "InforNexusConnectorProfileCredentials"}
  6631  	if s.AccessKeyId == nil {
  6632  		invalidParams.Add(request.NewErrParamRequired("AccessKeyId"))
  6633  	}
  6634  	if s.Datakey == nil {
  6635  		invalidParams.Add(request.NewErrParamRequired("Datakey"))
  6636  	}
  6637  	if s.SecretAccessKey == nil {
  6638  		invalidParams.Add(request.NewErrParamRequired("SecretAccessKey"))
  6639  	}
  6640  	if s.UserId == nil {
  6641  		invalidParams.Add(request.NewErrParamRequired("UserId"))
  6642  	}
  6643  
  6644  	if invalidParams.Len() > 0 {
  6645  		return invalidParams
  6646  	}
  6647  	return nil
  6648  }
  6649  
  6650  // SetAccessKeyId sets the AccessKeyId field's value.
  6651  func (s *InforNexusConnectorProfileCredentials) SetAccessKeyId(v string) *InforNexusConnectorProfileCredentials {
  6652  	s.AccessKeyId = &v
  6653  	return s
  6654  }
  6655  
  6656  // SetDatakey sets the Datakey field's value.
  6657  func (s *InforNexusConnectorProfileCredentials) SetDatakey(v string) *InforNexusConnectorProfileCredentials {
  6658  	s.Datakey = &v
  6659  	return s
  6660  }
  6661  
  6662  // SetSecretAccessKey sets the SecretAccessKey field's value.
  6663  func (s *InforNexusConnectorProfileCredentials) SetSecretAccessKey(v string) *InforNexusConnectorProfileCredentials {
  6664  	s.SecretAccessKey = &v
  6665  	return s
  6666  }
  6667  
  6668  // SetUserId sets the UserId field's value.
  6669  func (s *InforNexusConnectorProfileCredentials) SetUserId(v string) *InforNexusConnectorProfileCredentials {
  6670  	s.UserId = &v
  6671  	return s
  6672  }
  6673  
  6674  // The connector-specific profile properties required by Infor Nexus.
  6675  type InforNexusConnectorProfileProperties struct {
  6676  	_ struct{} `type:"structure"`
  6677  
  6678  	// The location of the Infor Nexus resource.
  6679  	//
  6680  	// InstanceUrl is a required field
  6681  	InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"`
  6682  }
  6683  
  6684  // String returns the string representation.
  6685  //
  6686  // API parameter values that are decorated as "sensitive" in the API will not
  6687  // be included in the string output. The member name will be present, but the
  6688  // value will be replaced with "sensitive".
  6689  func (s InforNexusConnectorProfileProperties) String() string {
  6690  	return awsutil.Prettify(s)
  6691  }
  6692  
  6693  // GoString returns the string representation.
  6694  //
  6695  // API parameter values that are decorated as "sensitive" in the API will not
  6696  // be included in the string output. The member name will be present, but the
  6697  // value will be replaced with "sensitive".
  6698  func (s InforNexusConnectorProfileProperties) GoString() string {
  6699  	return s.String()
  6700  }
  6701  
  6702  // Validate inspects the fields of the type to determine if they are valid.
  6703  func (s *InforNexusConnectorProfileProperties) Validate() error {
  6704  	invalidParams := request.ErrInvalidParams{Context: "InforNexusConnectorProfileProperties"}
  6705  	if s.InstanceUrl == nil {
  6706  		invalidParams.Add(request.NewErrParamRequired("InstanceUrl"))
  6707  	}
  6708  
  6709  	if invalidParams.Len() > 0 {
  6710  		return invalidParams
  6711  	}
  6712  	return nil
  6713  }
  6714  
  6715  // SetInstanceUrl sets the InstanceUrl field's value.
  6716  func (s *InforNexusConnectorProfileProperties) SetInstanceUrl(v string) *InforNexusConnectorProfileProperties {
  6717  	s.InstanceUrl = &v
  6718  	return s
  6719  }
  6720  
  6721  // The connector metadata specific to Infor Nexus.
  6722  type InforNexusMetadata struct {
  6723  	_ struct{} `type:"structure" nopayload:"true"`
  6724  }
  6725  
  6726  // String returns the string representation.
  6727  //
  6728  // API parameter values that are decorated as "sensitive" in the API will not
  6729  // be included in the string output. The member name will be present, but the
  6730  // value will be replaced with "sensitive".
  6731  func (s InforNexusMetadata) String() string {
  6732  	return awsutil.Prettify(s)
  6733  }
  6734  
  6735  // GoString returns the string representation.
  6736  //
  6737  // API parameter values that are decorated as "sensitive" in the API will not
  6738  // be included in the string output. The member name will be present, but the
  6739  // value will be replaced with "sensitive".
  6740  func (s InforNexusMetadata) GoString() string {
  6741  	return s.String()
  6742  }
  6743  
  6744  // The properties that are applied when Infor Nexus is being used as a source.
  6745  type InforNexusSourceProperties struct {
  6746  	_ struct{} `type:"structure"`
  6747  
  6748  	// The object specified in the Infor Nexus flow source.
  6749  	//
  6750  	// Object is a required field
  6751  	Object *string `locationName:"object" type:"string" required:"true"`
  6752  }
  6753  
  6754  // String returns the string representation.
  6755  //
  6756  // API parameter values that are decorated as "sensitive" in the API will not
  6757  // be included in the string output. The member name will be present, but the
  6758  // value will be replaced with "sensitive".
  6759  func (s InforNexusSourceProperties) String() string {
  6760  	return awsutil.Prettify(s)
  6761  }
  6762  
  6763  // GoString 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 InforNexusSourceProperties) GoString() string {
  6769  	return s.String()
  6770  }
  6771  
  6772  // Validate inspects the fields of the type to determine if they are valid.
  6773  func (s *InforNexusSourceProperties) Validate() error {
  6774  	invalidParams := request.ErrInvalidParams{Context: "InforNexusSourceProperties"}
  6775  	if s.Object == nil {
  6776  		invalidParams.Add(request.NewErrParamRequired("Object"))
  6777  	}
  6778  
  6779  	if invalidParams.Len() > 0 {
  6780  		return invalidParams
  6781  	}
  6782  	return nil
  6783  }
  6784  
  6785  // SetObject sets the Object field's value.
  6786  func (s *InforNexusSourceProperties) SetObject(v string) *InforNexusSourceProperties {
  6787  	s.Object = &v
  6788  	return s
  6789  }
  6790  
  6791  // An internal service error occurred during the processing of your request.
  6792  // Try again later.
  6793  type InternalServerException struct {
  6794  	_            struct{}                  `type:"structure"`
  6795  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  6796  
  6797  	Message_ *string `locationName:"message" type:"string"`
  6798  }
  6799  
  6800  // String returns the string representation.
  6801  //
  6802  // API parameter values that are decorated as "sensitive" in the API will not
  6803  // be included in the string output. The member name will be present, but the
  6804  // value will be replaced with "sensitive".
  6805  func (s InternalServerException) String() string {
  6806  	return awsutil.Prettify(s)
  6807  }
  6808  
  6809  // GoString returns the string representation.
  6810  //
  6811  // API parameter values that are decorated as "sensitive" in the API will not
  6812  // be included in the string output. The member name will be present, but the
  6813  // value will be replaced with "sensitive".
  6814  func (s InternalServerException) GoString() string {
  6815  	return s.String()
  6816  }
  6817  
  6818  func newErrorInternalServerException(v protocol.ResponseMetadata) error {
  6819  	return &InternalServerException{
  6820  		RespMetadata: v,
  6821  	}
  6822  }
  6823  
  6824  // Code returns the exception type name.
  6825  func (s *InternalServerException) Code() string {
  6826  	return "InternalServerException"
  6827  }
  6828  
  6829  // Message returns the exception's message.
  6830  func (s *InternalServerException) Message() string {
  6831  	if s.Message_ != nil {
  6832  		return *s.Message_
  6833  	}
  6834  	return ""
  6835  }
  6836  
  6837  // OrigErr always returns nil, satisfies awserr.Error interface.
  6838  func (s *InternalServerException) OrigErr() error {
  6839  	return nil
  6840  }
  6841  
  6842  func (s *InternalServerException) Error() string {
  6843  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  6844  }
  6845  
  6846  // Status code returns the HTTP status code for the request's response error.
  6847  func (s *InternalServerException) StatusCode() int {
  6848  	return s.RespMetadata.StatusCode
  6849  }
  6850  
  6851  // RequestID returns the service's response RequestID for request.
  6852  func (s *InternalServerException) RequestID() string {
  6853  	return s.RespMetadata.RequestID
  6854  }
  6855  
  6856  type ListConnectorEntitiesInput struct {
  6857  	_ struct{} `type:"structure"`
  6858  
  6859  	// The name of the connector profile. The name is unique for each ConnectorProfile
  6860  	// in the Amazon Web Services account, and is used to query the downstream connector.
  6861  	ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"`
  6862  
  6863  	// The type of connector, such as Salesforce, Amplitude, and so on.
  6864  	ConnectorType *string `locationName:"connectorType" type:"string" enum:"ConnectorType"`
  6865  
  6866  	// This optional parameter is specific to connector implementation. Some connectors
  6867  	// support multiple levels or categories of entities. You can find out the list
  6868  	// of roots for such providers by sending a request without the entitiesPath
  6869  	// parameter. If the connector supports entities at different roots, this initial
  6870  	// request returns the list of roots. Otherwise, this request returns all entities
  6871  	// supported by the provider.
  6872  	EntitiesPath *string `locationName:"entitiesPath" type:"string"`
  6873  }
  6874  
  6875  // String returns the string representation.
  6876  //
  6877  // API parameter values that are decorated as "sensitive" in the API will not
  6878  // be included in the string output. The member name will be present, but the
  6879  // value will be replaced with "sensitive".
  6880  func (s ListConnectorEntitiesInput) String() string {
  6881  	return awsutil.Prettify(s)
  6882  }
  6883  
  6884  // GoString returns the string representation.
  6885  //
  6886  // API parameter values that are decorated as "sensitive" in the API will not
  6887  // be included in the string output. The member name will be present, but the
  6888  // value will be replaced with "sensitive".
  6889  func (s ListConnectorEntitiesInput) GoString() string {
  6890  	return s.String()
  6891  }
  6892  
  6893  // SetConnectorProfileName sets the ConnectorProfileName field's value.
  6894  func (s *ListConnectorEntitiesInput) SetConnectorProfileName(v string) *ListConnectorEntitiesInput {
  6895  	s.ConnectorProfileName = &v
  6896  	return s
  6897  }
  6898  
  6899  // SetConnectorType sets the ConnectorType field's value.
  6900  func (s *ListConnectorEntitiesInput) SetConnectorType(v string) *ListConnectorEntitiesInput {
  6901  	s.ConnectorType = &v
  6902  	return s
  6903  }
  6904  
  6905  // SetEntitiesPath sets the EntitiesPath field's value.
  6906  func (s *ListConnectorEntitiesInput) SetEntitiesPath(v string) *ListConnectorEntitiesInput {
  6907  	s.EntitiesPath = &v
  6908  	return s
  6909  }
  6910  
  6911  type ListConnectorEntitiesOutput struct {
  6912  	_ struct{} `type:"structure"`
  6913  
  6914  	// The response of ListConnectorEntities lists entities grouped by category.
  6915  	// This map's key represents the group name, and its value contains the list
  6916  	// of entities belonging to that group.
  6917  	//
  6918  	// ConnectorEntityMap is a required field
  6919  	ConnectorEntityMap map[string][]*ConnectorEntity `locationName:"connectorEntityMap" type:"map" required:"true"`
  6920  }
  6921  
  6922  // String 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 ListConnectorEntitiesOutput) String() string {
  6928  	return awsutil.Prettify(s)
  6929  }
  6930  
  6931  // GoString returns the string representation.
  6932  //
  6933  // API parameter values that are decorated as "sensitive" in the API will not
  6934  // be included in the string output. The member name will be present, but the
  6935  // value will be replaced with "sensitive".
  6936  func (s ListConnectorEntitiesOutput) GoString() string {
  6937  	return s.String()
  6938  }
  6939  
  6940  // SetConnectorEntityMap sets the ConnectorEntityMap field's value.
  6941  func (s *ListConnectorEntitiesOutput) SetConnectorEntityMap(v map[string][]*ConnectorEntity) *ListConnectorEntitiesOutput {
  6942  	s.ConnectorEntityMap = v
  6943  	return s
  6944  }
  6945  
  6946  type ListFlowsInput struct {
  6947  	_ struct{} `type:"structure"`
  6948  
  6949  	// Specifies the maximum number of items that should be returned in the result
  6950  	// set.
  6951  	MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
  6952  
  6953  	// The pagination token for next page of data.
  6954  	NextToken *string `locationName:"nextToken" type:"string"`
  6955  }
  6956  
  6957  // String returns the string representation.
  6958  //
  6959  // API parameter values that are decorated as "sensitive" in the API will not
  6960  // be included in the string output. The member name will be present, but the
  6961  // value will be replaced with "sensitive".
  6962  func (s ListFlowsInput) String() string {
  6963  	return awsutil.Prettify(s)
  6964  }
  6965  
  6966  // GoString returns the string representation.
  6967  //
  6968  // API parameter values that are decorated as "sensitive" in the API will not
  6969  // be included in the string output. The member name will be present, but the
  6970  // value will be replaced with "sensitive".
  6971  func (s ListFlowsInput) GoString() string {
  6972  	return s.String()
  6973  }
  6974  
  6975  // Validate inspects the fields of the type to determine if they are valid.
  6976  func (s *ListFlowsInput) Validate() error {
  6977  	invalidParams := request.ErrInvalidParams{Context: "ListFlowsInput"}
  6978  	if s.MaxResults != nil && *s.MaxResults < 1 {
  6979  		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
  6980  	}
  6981  
  6982  	if invalidParams.Len() > 0 {
  6983  		return invalidParams
  6984  	}
  6985  	return nil
  6986  }
  6987  
  6988  // SetMaxResults sets the MaxResults field's value.
  6989  func (s *ListFlowsInput) SetMaxResults(v int64) *ListFlowsInput {
  6990  	s.MaxResults = &v
  6991  	return s
  6992  }
  6993  
  6994  // SetNextToken sets the NextToken field's value.
  6995  func (s *ListFlowsInput) SetNextToken(v string) *ListFlowsInput {
  6996  	s.NextToken = &v
  6997  	return s
  6998  }
  6999  
  7000  type ListFlowsOutput struct {
  7001  	_ struct{} `type:"structure"`
  7002  
  7003  	// The list of flows associated with your account.
  7004  	Flows []*FlowDefinition `locationName:"flows" type:"list"`
  7005  
  7006  	// The pagination token for next page of data.
  7007  	NextToken *string `locationName:"nextToken" type:"string"`
  7008  }
  7009  
  7010  // String returns the string representation.
  7011  //
  7012  // API parameter values that are decorated as "sensitive" in the API will not
  7013  // be included in the string output. The member name will be present, but the
  7014  // value will be replaced with "sensitive".
  7015  func (s ListFlowsOutput) String() string {
  7016  	return awsutil.Prettify(s)
  7017  }
  7018  
  7019  // GoString returns the string representation.
  7020  //
  7021  // API parameter values that are decorated as "sensitive" in the API will not
  7022  // be included in the string output. The member name will be present, but the
  7023  // value will be replaced with "sensitive".
  7024  func (s ListFlowsOutput) GoString() string {
  7025  	return s.String()
  7026  }
  7027  
  7028  // SetFlows sets the Flows field's value.
  7029  func (s *ListFlowsOutput) SetFlows(v []*FlowDefinition) *ListFlowsOutput {
  7030  	s.Flows = v
  7031  	return s
  7032  }
  7033  
  7034  // SetNextToken sets the NextToken field's value.
  7035  func (s *ListFlowsOutput) SetNextToken(v string) *ListFlowsOutput {
  7036  	s.NextToken = &v
  7037  	return s
  7038  }
  7039  
  7040  type ListTagsForResourceInput struct {
  7041  	_ struct{} `type:"structure" nopayload:"true"`
  7042  
  7043  	// The Amazon Resource Name (ARN) of the specified flow.
  7044  	//
  7045  	// ResourceArn is a required field
  7046  	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
  7047  }
  7048  
  7049  // String returns the string representation.
  7050  //
  7051  // API parameter values that are decorated as "sensitive" in the API will not
  7052  // be included in the string output. The member name will be present, but the
  7053  // value will be replaced with "sensitive".
  7054  func (s ListTagsForResourceInput) String() string {
  7055  	return awsutil.Prettify(s)
  7056  }
  7057  
  7058  // GoString returns the string representation.
  7059  //
  7060  // API parameter values that are decorated as "sensitive" in the API will not
  7061  // be included in the string output. The member name will be present, but the
  7062  // value will be replaced with "sensitive".
  7063  func (s ListTagsForResourceInput) GoString() string {
  7064  	return s.String()
  7065  }
  7066  
  7067  // Validate inspects the fields of the type to determine if they are valid.
  7068  func (s *ListTagsForResourceInput) Validate() error {
  7069  	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
  7070  	if s.ResourceArn == nil {
  7071  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
  7072  	}
  7073  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
  7074  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
  7075  	}
  7076  
  7077  	if invalidParams.Len() > 0 {
  7078  		return invalidParams
  7079  	}
  7080  	return nil
  7081  }
  7082  
  7083  // SetResourceArn sets the ResourceArn field's value.
  7084  func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
  7085  	s.ResourceArn = &v
  7086  	return s
  7087  }
  7088  
  7089  type ListTagsForResourceOutput struct {
  7090  	_ struct{} `type:"structure"`
  7091  
  7092  	// The tags used to organize, track, or control access for your flow.
  7093  	Tags map[string]*string `locationName:"tags" type:"map"`
  7094  }
  7095  
  7096  // String returns the string representation.
  7097  //
  7098  // API parameter values that are decorated as "sensitive" in the API will not
  7099  // be included in the string output. The member name will be present, but the
  7100  // value will be replaced with "sensitive".
  7101  func (s ListTagsForResourceOutput) String() string {
  7102  	return awsutil.Prettify(s)
  7103  }
  7104  
  7105  // GoString returns the string representation.
  7106  //
  7107  // API parameter values that are decorated as "sensitive" in the API will not
  7108  // be included in the string output. The member name will be present, but the
  7109  // value will be replaced with "sensitive".
  7110  func (s ListTagsForResourceOutput) GoString() string {
  7111  	return s.String()
  7112  }
  7113  
  7114  // SetTags sets the Tags field's value.
  7115  func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
  7116  	s.Tags = v
  7117  	return s
  7118  }
  7119  
  7120  // The properties that are applied when Amazon Lookout for Metrics is used as
  7121  // a destination.
  7122  type LookoutMetricsDestinationProperties struct {
  7123  	_ struct{} `type:"structure" nopayload:"true"`
  7124  }
  7125  
  7126  // String returns the string representation.
  7127  //
  7128  // API parameter values that are decorated as "sensitive" in the API will not
  7129  // be included in the string output. The member name will be present, but the
  7130  // value will be replaced with "sensitive".
  7131  func (s LookoutMetricsDestinationProperties) String() string {
  7132  	return awsutil.Prettify(s)
  7133  }
  7134  
  7135  // GoString returns the string representation.
  7136  //
  7137  // API parameter values that are decorated as "sensitive" in the API will not
  7138  // be included in the string output. The member name will be present, but the
  7139  // value will be replaced with "sensitive".
  7140  func (s LookoutMetricsDestinationProperties) GoString() string {
  7141  	return s.String()
  7142  }
  7143  
  7144  // The connector-specific profile credentials required by Marketo.
  7145  type MarketoConnectorProfileCredentials struct {
  7146  	_ struct{} `type:"structure"`
  7147  
  7148  	// The credentials used to access protected Marketo resources.
  7149  	//
  7150  	// AccessToken is a sensitive parameter and its value will be
  7151  	// replaced with "sensitive" in string returned by MarketoConnectorProfileCredentials's
  7152  	// String and GoString methods.
  7153  	AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"`
  7154  
  7155  	// The identifier for the desired client.
  7156  	//
  7157  	// ClientId is a required field
  7158  	ClientId *string `locationName:"clientId" type:"string" required:"true"`
  7159  
  7160  	// The client secret used by the OAuth client to authenticate to the authorization
  7161  	// server.
  7162  	//
  7163  	// ClientSecret is a sensitive parameter and its value will be
  7164  	// replaced with "sensitive" in string returned by MarketoConnectorProfileCredentials's
  7165  	// String and GoString methods.
  7166  	//
  7167  	// ClientSecret is a required field
  7168  	ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"`
  7169  
  7170  	// The OAuth requirement needed to request security tokens from the connector
  7171  	// endpoint.
  7172  	OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"`
  7173  }
  7174  
  7175  // String returns the string representation.
  7176  //
  7177  // API parameter values that are decorated as "sensitive" in the API will not
  7178  // be included in the string output. The member name will be present, but the
  7179  // value will be replaced with "sensitive".
  7180  func (s MarketoConnectorProfileCredentials) String() string {
  7181  	return awsutil.Prettify(s)
  7182  }
  7183  
  7184  // GoString returns the string representation.
  7185  //
  7186  // API parameter values that are decorated as "sensitive" in the API will not
  7187  // be included in the string output. The member name will be present, but the
  7188  // value will be replaced with "sensitive".
  7189  func (s MarketoConnectorProfileCredentials) GoString() string {
  7190  	return s.String()
  7191  }
  7192  
  7193  // Validate inspects the fields of the type to determine if they are valid.
  7194  func (s *MarketoConnectorProfileCredentials) Validate() error {
  7195  	invalidParams := request.ErrInvalidParams{Context: "MarketoConnectorProfileCredentials"}
  7196  	if s.ClientId == nil {
  7197  		invalidParams.Add(request.NewErrParamRequired("ClientId"))
  7198  	}
  7199  	if s.ClientSecret == nil {
  7200  		invalidParams.Add(request.NewErrParamRequired("ClientSecret"))
  7201  	}
  7202  
  7203  	if invalidParams.Len() > 0 {
  7204  		return invalidParams
  7205  	}
  7206  	return nil
  7207  }
  7208  
  7209  // SetAccessToken sets the AccessToken field's value.
  7210  func (s *MarketoConnectorProfileCredentials) SetAccessToken(v string) *MarketoConnectorProfileCredentials {
  7211  	s.AccessToken = &v
  7212  	return s
  7213  }
  7214  
  7215  // SetClientId sets the ClientId field's value.
  7216  func (s *MarketoConnectorProfileCredentials) SetClientId(v string) *MarketoConnectorProfileCredentials {
  7217  	s.ClientId = &v
  7218  	return s
  7219  }
  7220  
  7221  // SetClientSecret sets the ClientSecret field's value.
  7222  func (s *MarketoConnectorProfileCredentials) SetClientSecret(v string) *MarketoConnectorProfileCredentials {
  7223  	s.ClientSecret = &v
  7224  	return s
  7225  }
  7226  
  7227  // SetOAuthRequest sets the OAuthRequest field's value.
  7228  func (s *MarketoConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *MarketoConnectorProfileCredentials {
  7229  	s.OAuthRequest = v
  7230  	return s
  7231  }
  7232  
  7233  // The connector-specific profile properties required when using Marketo.
  7234  type MarketoConnectorProfileProperties struct {
  7235  	_ struct{} `type:"structure"`
  7236  
  7237  	// The location of the Marketo resource.
  7238  	//
  7239  	// InstanceUrl is a required field
  7240  	InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"`
  7241  }
  7242  
  7243  // String returns the string representation.
  7244  //
  7245  // API parameter values that are decorated as "sensitive" in the API will not
  7246  // be included in the string output. The member name will be present, but the
  7247  // value will be replaced with "sensitive".
  7248  func (s MarketoConnectorProfileProperties) String() string {
  7249  	return awsutil.Prettify(s)
  7250  }
  7251  
  7252  // GoString returns the string representation.
  7253  //
  7254  // API parameter values that are decorated as "sensitive" in the API will not
  7255  // be included in the string output. The member name will be present, but the
  7256  // value will be replaced with "sensitive".
  7257  func (s MarketoConnectorProfileProperties) GoString() string {
  7258  	return s.String()
  7259  }
  7260  
  7261  // Validate inspects the fields of the type to determine if they are valid.
  7262  func (s *MarketoConnectorProfileProperties) Validate() error {
  7263  	invalidParams := request.ErrInvalidParams{Context: "MarketoConnectorProfileProperties"}
  7264  	if s.InstanceUrl == nil {
  7265  		invalidParams.Add(request.NewErrParamRequired("InstanceUrl"))
  7266  	}
  7267  
  7268  	if invalidParams.Len() > 0 {
  7269  		return invalidParams
  7270  	}
  7271  	return nil
  7272  }
  7273  
  7274  // SetInstanceUrl sets the InstanceUrl field's value.
  7275  func (s *MarketoConnectorProfileProperties) SetInstanceUrl(v string) *MarketoConnectorProfileProperties {
  7276  	s.InstanceUrl = &v
  7277  	return s
  7278  }
  7279  
  7280  // The connector metadata specific to Marketo.
  7281  type MarketoMetadata struct {
  7282  	_ struct{} `type:"structure" nopayload:"true"`
  7283  }
  7284  
  7285  // String returns the string representation.
  7286  //
  7287  // API parameter values that are decorated as "sensitive" in the API will not
  7288  // be included in the string output. The member name will be present, but the
  7289  // value will be replaced with "sensitive".
  7290  func (s MarketoMetadata) String() string {
  7291  	return awsutil.Prettify(s)
  7292  }
  7293  
  7294  // GoString returns the string representation.
  7295  //
  7296  // API parameter values that are decorated as "sensitive" in the API will not
  7297  // be included in the string output. The member name will be present, but the
  7298  // value will be replaced with "sensitive".
  7299  func (s MarketoMetadata) GoString() string {
  7300  	return s.String()
  7301  }
  7302  
  7303  // The properties that are applied when Marketo is being used as a source.
  7304  type MarketoSourceProperties struct {
  7305  	_ struct{} `type:"structure"`
  7306  
  7307  	// The object specified in the Marketo flow source.
  7308  	//
  7309  	// Object is a required field
  7310  	Object *string `locationName:"object" type:"string" required:"true"`
  7311  }
  7312  
  7313  // String returns the string representation.
  7314  //
  7315  // API parameter values that are decorated as "sensitive" in the API will not
  7316  // be included in the string output. The member name will be present, but the
  7317  // value will be replaced with "sensitive".
  7318  func (s MarketoSourceProperties) String() string {
  7319  	return awsutil.Prettify(s)
  7320  }
  7321  
  7322  // GoString returns the string representation.
  7323  //
  7324  // API parameter values that are decorated as "sensitive" in the API will not
  7325  // be included in the string output. The member name will be present, but the
  7326  // value will be replaced with "sensitive".
  7327  func (s MarketoSourceProperties) GoString() string {
  7328  	return s.String()
  7329  }
  7330  
  7331  // Validate inspects the fields of the type to determine if they are valid.
  7332  func (s *MarketoSourceProperties) Validate() error {
  7333  	invalidParams := request.ErrInvalidParams{Context: "MarketoSourceProperties"}
  7334  	if s.Object == nil {
  7335  		invalidParams.Add(request.NewErrParamRequired("Object"))
  7336  	}
  7337  
  7338  	if invalidParams.Len() > 0 {
  7339  		return invalidParams
  7340  	}
  7341  	return nil
  7342  }
  7343  
  7344  // SetObject sets the Object field's value.
  7345  func (s *MarketoSourceProperties) SetObject(v string) *MarketoSourceProperties {
  7346  	s.Object = &v
  7347  	return s
  7348  }
  7349  
  7350  // The OAuth credentials required for OAuth type authentication.
  7351  type OAuthCredentials struct {
  7352  	_ struct{} `type:"structure"`
  7353  
  7354  	// The access token used to access protected SAPOData resources.
  7355  	//
  7356  	// AccessToken is a sensitive parameter and its value will be
  7357  	// replaced with "sensitive" in string returned by OAuthCredentials's
  7358  	// String and GoString methods.
  7359  	AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"`
  7360  
  7361  	// The identifier for the desired client.
  7362  	//
  7363  	// ClientId is a required field
  7364  	ClientId *string `locationName:"clientId" type:"string" required:"true"`
  7365  
  7366  	// The client secret used by the OAuth client to authenticate to the authorization
  7367  	// server.
  7368  	//
  7369  	// ClientSecret is a sensitive parameter and its value will be
  7370  	// replaced with "sensitive" in string returned by OAuthCredentials's
  7371  	// String and GoString methods.
  7372  	//
  7373  	// ClientSecret is a required field
  7374  	ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"`
  7375  
  7376  	// The OAuth requirement needed to request security tokens from the connector
  7377  	// endpoint.
  7378  	OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"`
  7379  
  7380  	// The refresh token used to refresh expired access token.
  7381  	RefreshToken *string `locationName:"refreshToken" type:"string"`
  7382  }
  7383  
  7384  // String returns the string representation.
  7385  //
  7386  // API parameter values that are decorated as "sensitive" in the API will not
  7387  // be included in the string output. The member name will be present, but the
  7388  // value will be replaced with "sensitive".
  7389  func (s OAuthCredentials) String() string {
  7390  	return awsutil.Prettify(s)
  7391  }
  7392  
  7393  // GoString returns the string representation.
  7394  //
  7395  // API parameter values that are decorated as "sensitive" in the API will not
  7396  // be included in the string output. The member name will be present, but the
  7397  // value will be replaced with "sensitive".
  7398  func (s OAuthCredentials) GoString() string {
  7399  	return s.String()
  7400  }
  7401  
  7402  // Validate inspects the fields of the type to determine if they are valid.
  7403  func (s *OAuthCredentials) Validate() error {
  7404  	invalidParams := request.ErrInvalidParams{Context: "OAuthCredentials"}
  7405  	if s.ClientId == nil {
  7406  		invalidParams.Add(request.NewErrParamRequired("ClientId"))
  7407  	}
  7408  	if s.ClientSecret == nil {
  7409  		invalidParams.Add(request.NewErrParamRequired("ClientSecret"))
  7410  	}
  7411  
  7412  	if invalidParams.Len() > 0 {
  7413  		return invalidParams
  7414  	}
  7415  	return nil
  7416  }
  7417  
  7418  // SetAccessToken sets the AccessToken field's value.
  7419  func (s *OAuthCredentials) SetAccessToken(v string) *OAuthCredentials {
  7420  	s.AccessToken = &v
  7421  	return s
  7422  }
  7423  
  7424  // SetClientId sets the ClientId field's value.
  7425  func (s *OAuthCredentials) SetClientId(v string) *OAuthCredentials {
  7426  	s.ClientId = &v
  7427  	return s
  7428  }
  7429  
  7430  // SetClientSecret sets the ClientSecret field's value.
  7431  func (s *OAuthCredentials) SetClientSecret(v string) *OAuthCredentials {
  7432  	s.ClientSecret = &v
  7433  	return s
  7434  }
  7435  
  7436  // SetOAuthRequest sets the OAuthRequest field's value.
  7437  func (s *OAuthCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *OAuthCredentials {
  7438  	s.OAuthRequest = v
  7439  	return s
  7440  }
  7441  
  7442  // SetRefreshToken sets the RefreshToken field's value.
  7443  func (s *OAuthCredentials) SetRefreshToken(v string) *OAuthCredentials {
  7444  	s.RefreshToken = &v
  7445  	return s
  7446  }
  7447  
  7448  // The OAuth properties required for OAuth type authentication.
  7449  type OAuthProperties struct {
  7450  	_ struct{} `type:"structure"`
  7451  
  7452  	// The authorization code url required to redirect to SAP Login Page to fetch
  7453  	// authorization code for OAuth type authentication.
  7454  	//
  7455  	// AuthCodeUrl is a required field
  7456  	AuthCodeUrl *string `locationName:"authCodeUrl" type:"string" required:"true"`
  7457  
  7458  	// The OAuth scopes required for OAuth type authentication.
  7459  	//
  7460  	// OAuthScopes is a required field
  7461  	OAuthScopes []*string `locationName:"oAuthScopes" type:"list" required:"true"`
  7462  
  7463  	// The token url required to fetch access/refresh tokens using authorization
  7464  	// code and also to refresh expired access token using refresh token.
  7465  	//
  7466  	// TokenUrl is a required field
  7467  	TokenUrl *string `locationName:"tokenUrl" type:"string" required:"true"`
  7468  }
  7469  
  7470  // String returns the string representation.
  7471  //
  7472  // API parameter values that are decorated as "sensitive" in the API will not
  7473  // be included in the string output. The member name will be present, but the
  7474  // value will be replaced with "sensitive".
  7475  func (s OAuthProperties) String() string {
  7476  	return awsutil.Prettify(s)
  7477  }
  7478  
  7479  // GoString returns the string representation.
  7480  //
  7481  // API parameter values that are decorated as "sensitive" in the API will not
  7482  // be included in the string output. The member name will be present, but the
  7483  // value will be replaced with "sensitive".
  7484  func (s OAuthProperties) GoString() string {
  7485  	return s.String()
  7486  }
  7487  
  7488  // Validate inspects the fields of the type to determine if they are valid.
  7489  func (s *OAuthProperties) Validate() error {
  7490  	invalidParams := request.ErrInvalidParams{Context: "OAuthProperties"}
  7491  	if s.AuthCodeUrl == nil {
  7492  		invalidParams.Add(request.NewErrParamRequired("AuthCodeUrl"))
  7493  	}
  7494  	if s.OAuthScopes == nil {
  7495  		invalidParams.Add(request.NewErrParamRequired("OAuthScopes"))
  7496  	}
  7497  	if s.TokenUrl == nil {
  7498  		invalidParams.Add(request.NewErrParamRequired("TokenUrl"))
  7499  	}
  7500  
  7501  	if invalidParams.Len() > 0 {
  7502  		return invalidParams
  7503  	}
  7504  	return nil
  7505  }
  7506  
  7507  // SetAuthCodeUrl sets the AuthCodeUrl field's value.
  7508  func (s *OAuthProperties) SetAuthCodeUrl(v string) *OAuthProperties {
  7509  	s.AuthCodeUrl = &v
  7510  	return s
  7511  }
  7512  
  7513  // SetOAuthScopes sets the OAuthScopes field's value.
  7514  func (s *OAuthProperties) SetOAuthScopes(v []*string) *OAuthProperties {
  7515  	s.OAuthScopes = v
  7516  	return s
  7517  }
  7518  
  7519  // SetTokenUrl sets the TokenUrl field's value.
  7520  func (s *OAuthProperties) SetTokenUrl(v string) *OAuthProperties {
  7521  	s.TokenUrl = &v
  7522  	return s
  7523  }
  7524  
  7525  // Determines the prefix that Amazon AppFlow applies to the destination folder
  7526  // name. You can name your destination folders according to the flow frequency
  7527  // and date.
  7528  type PrefixConfig struct {
  7529  	_ struct{} `type:"structure"`
  7530  
  7531  	// Determines the level of granularity that's included in the prefix.
  7532  	PrefixFormat *string `locationName:"prefixFormat" type:"string" enum:"PrefixFormat"`
  7533  
  7534  	// Determines the format of the prefix, and whether it applies to the file name,
  7535  	// file path, or both.
  7536  	PrefixType *string `locationName:"prefixType" type:"string" enum:"PrefixType"`
  7537  }
  7538  
  7539  // String returns the string representation.
  7540  //
  7541  // API parameter values that are decorated as "sensitive" in the API will not
  7542  // be included in the string output. The member name will be present, but the
  7543  // value will be replaced with "sensitive".
  7544  func (s PrefixConfig) String() string {
  7545  	return awsutil.Prettify(s)
  7546  }
  7547  
  7548  // GoString returns the string representation.
  7549  //
  7550  // API parameter values that are decorated as "sensitive" in the API will not
  7551  // be included in the string output. The member name will be present, but the
  7552  // value will be replaced with "sensitive".
  7553  func (s PrefixConfig) GoString() string {
  7554  	return s.String()
  7555  }
  7556  
  7557  // SetPrefixFormat sets the PrefixFormat field's value.
  7558  func (s *PrefixConfig) SetPrefixFormat(v string) *PrefixConfig {
  7559  	s.PrefixFormat = &v
  7560  	return s
  7561  }
  7562  
  7563  // SetPrefixType sets the PrefixType field's value.
  7564  func (s *PrefixConfig) SetPrefixType(v string) *PrefixConfig {
  7565  	s.PrefixType = &v
  7566  	return s
  7567  }
  7568  
  7569  // Specifies the private connection provisioning state.
  7570  type PrivateConnectionProvisioningState struct {
  7571  	_ struct{} `type:"structure"`
  7572  
  7573  	// Specifies the private connection provisioning failure cause.
  7574  	FailureCause *string `locationName:"failureCause" type:"string" enum:"PrivateConnectionProvisioningFailureCause"`
  7575  
  7576  	// Specifies the private connection provisioning failure reason.
  7577  	FailureMessage *string `locationName:"failureMessage" type:"string"`
  7578  
  7579  	// Specifies the private connection provisioning status.
  7580  	Status *string `locationName:"status" type:"string" enum:"PrivateConnectionProvisioningStatus"`
  7581  }
  7582  
  7583  // String returns the string representation.
  7584  //
  7585  // API parameter values that are decorated as "sensitive" in the API will not
  7586  // be included in the string output. The member name will be present, but the
  7587  // value will be replaced with "sensitive".
  7588  func (s PrivateConnectionProvisioningState) String() string {
  7589  	return awsutil.Prettify(s)
  7590  }
  7591  
  7592  // GoString returns the string representation.
  7593  //
  7594  // API parameter values that are decorated as "sensitive" in the API will not
  7595  // be included in the string output. The member name will be present, but the
  7596  // value will be replaced with "sensitive".
  7597  func (s PrivateConnectionProvisioningState) GoString() string {
  7598  	return s.String()
  7599  }
  7600  
  7601  // SetFailureCause sets the FailureCause field's value.
  7602  func (s *PrivateConnectionProvisioningState) SetFailureCause(v string) *PrivateConnectionProvisioningState {
  7603  	s.FailureCause = &v
  7604  	return s
  7605  }
  7606  
  7607  // SetFailureMessage sets the FailureMessage field's value.
  7608  func (s *PrivateConnectionProvisioningState) SetFailureMessage(v string) *PrivateConnectionProvisioningState {
  7609  	s.FailureMessage = &v
  7610  	return s
  7611  }
  7612  
  7613  // SetStatus sets the Status field's value.
  7614  func (s *PrivateConnectionProvisioningState) SetStatus(v string) *PrivateConnectionProvisioningState {
  7615  	s.Status = &v
  7616  	return s
  7617  }
  7618  
  7619  // The connector-specific profile credentials required when using Amazon Redshift.
  7620  type RedshiftConnectorProfileCredentials struct {
  7621  	_ struct{} `type:"structure"`
  7622  
  7623  	// The password that corresponds to the user name.
  7624  	//
  7625  	// Password is a sensitive parameter and its value will be
  7626  	// replaced with "sensitive" in string returned by RedshiftConnectorProfileCredentials's
  7627  	// String and GoString methods.
  7628  	//
  7629  	// Password is a required field
  7630  	Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"`
  7631  
  7632  	// The name of the user.
  7633  	//
  7634  	// Username is a required field
  7635  	Username *string `locationName:"username" type:"string" required:"true"`
  7636  }
  7637  
  7638  // String returns the string representation.
  7639  //
  7640  // API parameter values that are decorated as "sensitive" in the API will not
  7641  // be included in the string output. The member name will be present, but the
  7642  // value will be replaced with "sensitive".
  7643  func (s RedshiftConnectorProfileCredentials) String() string {
  7644  	return awsutil.Prettify(s)
  7645  }
  7646  
  7647  // GoString returns the string representation.
  7648  //
  7649  // API parameter values that are decorated as "sensitive" in the API will not
  7650  // be included in the string output. The member name will be present, but the
  7651  // value will be replaced with "sensitive".
  7652  func (s RedshiftConnectorProfileCredentials) GoString() string {
  7653  	return s.String()
  7654  }
  7655  
  7656  // Validate inspects the fields of the type to determine if they are valid.
  7657  func (s *RedshiftConnectorProfileCredentials) Validate() error {
  7658  	invalidParams := request.ErrInvalidParams{Context: "RedshiftConnectorProfileCredentials"}
  7659  	if s.Password == nil {
  7660  		invalidParams.Add(request.NewErrParamRequired("Password"))
  7661  	}
  7662  	if s.Username == nil {
  7663  		invalidParams.Add(request.NewErrParamRequired("Username"))
  7664  	}
  7665  
  7666  	if invalidParams.Len() > 0 {
  7667  		return invalidParams
  7668  	}
  7669  	return nil
  7670  }
  7671  
  7672  // SetPassword sets the Password field's value.
  7673  func (s *RedshiftConnectorProfileCredentials) SetPassword(v string) *RedshiftConnectorProfileCredentials {
  7674  	s.Password = &v
  7675  	return s
  7676  }
  7677  
  7678  // SetUsername sets the Username field's value.
  7679  func (s *RedshiftConnectorProfileCredentials) SetUsername(v string) *RedshiftConnectorProfileCredentials {
  7680  	s.Username = &v
  7681  	return s
  7682  }
  7683  
  7684  // The connector-specific profile properties when using Amazon Redshift.
  7685  type RedshiftConnectorProfileProperties struct {
  7686  	_ struct{} `type:"structure"`
  7687  
  7688  	// A name for the associated Amazon S3 bucket.
  7689  	//
  7690  	// BucketName is a required field
  7691  	BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"`
  7692  
  7693  	// The object key for the destination bucket in which Amazon AppFlow places
  7694  	// the files.
  7695  	BucketPrefix *string `locationName:"bucketPrefix" type:"string"`
  7696  
  7697  	// The JDBC URL of the Amazon Redshift cluster.
  7698  	//
  7699  	// DatabaseUrl is a required field
  7700  	DatabaseUrl *string `locationName:"databaseUrl" type:"string" required:"true"`
  7701  
  7702  	// The Amazon Resource Name (ARN) of the IAM role.
  7703  	//
  7704  	// RoleArn is a required field
  7705  	RoleArn *string `locationName:"roleArn" type:"string" required:"true"`
  7706  }
  7707  
  7708  // String returns the string representation.
  7709  //
  7710  // API parameter values that are decorated as "sensitive" in the API will not
  7711  // be included in the string output. The member name will be present, but the
  7712  // value will be replaced with "sensitive".
  7713  func (s RedshiftConnectorProfileProperties) String() string {
  7714  	return awsutil.Prettify(s)
  7715  }
  7716  
  7717  // GoString returns the string representation.
  7718  //
  7719  // API parameter values that are decorated as "sensitive" in the API will not
  7720  // be included in the string output. The member name will be present, but the
  7721  // value will be replaced with "sensitive".
  7722  func (s RedshiftConnectorProfileProperties) GoString() string {
  7723  	return s.String()
  7724  }
  7725  
  7726  // Validate inspects the fields of the type to determine if they are valid.
  7727  func (s *RedshiftConnectorProfileProperties) Validate() error {
  7728  	invalidParams := request.ErrInvalidParams{Context: "RedshiftConnectorProfileProperties"}
  7729  	if s.BucketName == nil {
  7730  		invalidParams.Add(request.NewErrParamRequired("BucketName"))
  7731  	}
  7732  	if s.BucketName != nil && len(*s.BucketName) < 3 {
  7733  		invalidParams.Add(request.NewErrParamMinLen("BucketName", 3))
  7734  	}
  7735  	if s.DatabaseUrl == nil {
  7736  		invalidParams.Add(request.NewErrParamRequired("DatabaseUrl"))
  7737  	}
  7738  	if s.RoleArn == nil {
  7739  		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
  7740  	}
  7741  
  7742  	if invalidParams.Len() > 0 {
  7743  		return invalidParams
  7744  	}
  7745  	return nil
  7746  }
  7747  
  7748  // SetBucketName sets the BucketName field's value.
  7749  func (s *RedshiftConnectorProfileProperties) SetBucketName(v string) *RedshiftConnectorProfileProperties {
  7750  	s.BucketName = &v
  7751  	return s
  7752  }
  7753  
  7754  // SetBucketPrefix sets the BucketPrefix field's value.
  7755  func (s *RedshiftConnectorProfileProperties) SetBucketPrefix(v string) *RedshiftConnectorProfileProperties {
  7756  	s.BucketPrefix = &v
  7757  	return s
  7758  }
  7759  
  7760  // SetDatabaseUrl sets the DatabaseUrl field's value.
  7761  func (s *RedshiftConnectorProfileProperties) SetDatabaseUrl(v string) *RedshiftConnectorProfileProperties {
  7762  	s.DatabaseUrl = &v
  7763  	return s
  7764  }
  7765  
  7766  // SetRoleArn sets the RoleArn field's value.
  7767  func (s *RedshiftConnectorProfileProperties) SetRoleArn(v string) *RedshiftConnectorProfileProperties {
  7768  	s.RoleArn = &v
  7769  	return s
  7770  }
  7771  
  7772  // The properties that are applied when Amazon Redshift is being used as a destination.
  7773  type RedshiftDestinationProperties struct {
  7774  	_ struct{} `type:"structure"`
  7775  
  7776  	// The object key for the bucket in which Amazon AppFlow places the destination
  7777  	// files.
  7778  	BucketPrefix *string `locationName:"bucketPrefix" type:"string"`
  7779  
  7780  	// The settings that determine how Amazon AppFlow handles an error when placing
  7781  	// data in the Amazon Redshift destination. For example, this setting would
  7782  	// determine if the flow should fail after one insertion error, or continue
  7783  	// and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
  7784  	// is a part of the destination connector details.
  7785  	ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"`
  7786  
  7787  	// The intermediate bucket that Amazon AppFlow uses when moving data into Amazon
  7788  	// Redshift.
  7789  	//
  7790  	// IntermediateBucketName is a required field
  7791  	IntermediateBucketName *string `locationName:"intermediateBucketName" min:"3" type:"string" required:"true"`
  7792  
  7793  	// The object specified in the Amazon Redshift flow destination.
  7794  	//
  7795  	// Object is a required field
  7796  	Object *string `locationName:"object" type:"string" required:"true"`
  7797  }
  7798  
  7799  // String returns the string representation.
  7800  //
  7801  // API parameter values that are decorated as "sensitive" in the API will not
  7802  // be included in the string output. The member name will be present, but the
  7803  // value will be replaced with "sensitive".
  7804  func (s RedshiftDestinationProperties) String() string {
  7805  	return awsutil.Prettify(s)
  7806  }
  7807  
  7808  // GoString returns the string representation.
  7809  //
  7810  // API parameter values that are decorated as "sensitive" in the API will not
  7811  // be included in the string output. The member name will be present, but the
  7812  // value will be replaced with "sensitive".
  7813  func (s RedshiftDestinationProperties) GoString() string {
  7814  	return s.String()
  7815  }
  7816  
  7817  // Validate inspects the fields of the type to determine if they are valid.
  7818  func (s *RedshiftDestinationProperties) Validate() error {
  7819  	invalidParams := request.ErrInvalidParams{Context: "RedshiftDestinationProperties"}
  7820  	if s.IntermediateBucketName == nil {
  7821  		invalidParams.Add(request.NewErrParamRequired("IntermediateBucketName"))
  7822  	}
  7823  	if s.IntermediateBucketName != nil && len(*s.IntermediateBucketName) < 3 {
  7824  		invalidParams.Add(request.NewErrParamMinLen("IntermediateBucketName", 3))
  7825  	}
  7826  	if s.Object == nil {
  7827  		invalidParams.Add(request.NewErrParamRequired("Object"))
  7828  	}
  7829  	if s.ErrorHandlingConfig != nil {
  7830  		if err := s.ErrorHandlingConfig.Validate(); err != nil {
  7831  			invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams))
  7832  		}
  7833  	}
  7834  
  7835  	if invalidParams.Len() > 0 {
  7836  		return invalidParams
  7837  	}
  7838  	return nil
  7839  }
  7840  
  7841  // SetBucketPrefix sets the BucketPrefix field's value.
  7842  func (s *RedshiftDestinationProperties) SetBucketPrefix(v string) *RedshiftDestinationProperties {
  7843  	s.BucketPrefix = &v
  7844  	return s
  7845  }
  7846  
  7847  // SetErrorHandlingConfig sets the ErrorHandlingConfig field's value.
  7848  func (s *RedshiftDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *RedshiftDestinationProperties {
  7849  	s.ErrorHandlingConfig = v
  7850  	return s
  7851  }
  7852  
  7853  // SetIntermediateBucketName sets the IntermediateBucketName field's value.
  7854  func (s *RedshiftDestinationProperties) SetIntermediateBucketName(v string) *RedshiftDestinationProperties {
  7855  	s.IntermediateBucketName = &v
  7856  	return s
  7857  }
  7858  
  7859  // SetObject sets the Object field's value.
  7860  func (s *RedshiftDestinationProperties) SetObject(v string) *RedshiftDestinationProperties {
  7861  	s.Object = &v
  7862  	return s
  7863  }
  7864  
  7865  // The connector metadata specific to Amazon Redshift.
  7866  type RedshiftMetadata struct {
  7867  	_ struct{} `type:"structure" nopayload:"true"`
  7868  }
  7869  
  7870  // String returns the string representation.
  7871  //
  7872  // API parameter values that are decorated as "sensitive" in the API will not
  7873  // be included in the string output. The member name will be present, but the
  7874  // value will be replaced with "sensitive".
  7875  func (s RedshiftMetadata) String() string {
  7876  	return awsutil.Prettify(s)
  7877  }
  7878  
  7879  // GoString returns the string representation.
  7880  //
  7881  // API parameter values that are decorated as "sensitive" in the API will not
  7882  // be included in the string output. The member name will be present, but the
  7883  // value will be replaced with "sensitive".
  7884  func (s RedshiftMetadata) GoString() string {
  7885  	return s.String()
  7886  }
  7887  
  7888  // The resource specified in the request (such as the source or destination
  7889  // connector profile) is not found.
  7890  type ResourceNotFoundException struct {
  7891  	_            struct{}                  `type:"structure"`
  7892  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  7893  
  7894  	Message_ *string `locationName:"message" type:"string"`
  7895  }
  7896  
  7897  // String returns the string representation.
  7898  //
  7899  // API parameter values that are decorated as "sensitive" in the API will not
  7900  // be included in the string output. The member name will be present, but the
  7901  // value will be replaced with "sensitive".
  7902  func (s ResourceNotFoundException) String() string {
  7903  	return awsutil.Prettify(s)
  7904  }
  7905  
  7906  // GoString returns the string representation.
  7907  //
  7908  // API parameter values that are decorated as "sensitive" in the API will not
  7909  // be included in the string output. The member name will be present, but the
  7910  // value will be replaced with "sensitive".
  7911  func (s ResourceNotFoundException) GoString() string {
  7912  	return s.String()
  7913  }
  7914  
  7915  func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
  7916  	return &ResourceNotFoundException{
  7917  		RespMetadata: v,
  7918  	}
  7919  }
  7920  
  7921  // Code returns the exception type name.
  7922  func (s *ResourceNotFoundException) Code() string {
  7923  	return "ResourceNotFoundException"
  7924  }
  7925  
  7926  // Message returns the exception's message.
  7927  func (s *ResourceNotFoundException) Message() string {
  7928  	if s.Message_ != nil {
  7929  		return *s.Message_
  7930  	}
  7931  	return ""
  7932  }
  7933  
  7934  // OrigErr always returns nil, satisfies awserr.Error interface.
  7935  func (s *ResourceNotFoundException) OrigErr() error {
  7936  	return nil
  7937  }
  7938  
  7939  func (s *ResourceNotFoundException) Error() string {
  7940  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  7941  }
  7942  
  7943  // Status code returns the HTTP status code for the request's response error.
  7944  func (s *ResourceNotFoundException) StatusCode() int {
  7945  	return s.RespMetadata.StatusCode
  7946  }
  7947  
  7948  // RequestID returns the service's response RequestID for request.
  7949  func (s *ResourceNotFoundException) RequestID() string {
  7950  	return s.RespMetadata.RequestID
  7951  }
  7952  
  7953  // The properties that are applied when Amazon S3 is used as a destination.
  7954  type S3DestinationProperties struct {
  7955  	_ struct{} `type:"structure"`
  7956  
  7957  	// The Amazon S3 bucket name in which Amazon AppFlow places the transferred
  7958  	// data.
  7959  	//
  7960  	// BucketName is a required field
  7961  	BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"`
  7962  
  7963  	// The object key for the destination bucket in which Amazon AppFlow places
  7964  	// the files.
  7965  	BucketPrefix *string `locationName:"bucketPrefix" type:"string"`
  7966  
  7967  	// The configuration that determines how Amazon AppFlow should format the flow
  7968  	// output data when Amazon S3 is used as the destination.
  7969  	S3OutputFormatConfig *S3OutputFormatConfig `locationName:"s3OutputFormatConfig" type:"structure"`
  7970  }
  7971  
  7972  // String returns the string representation.
  7973  //
  7974  // API parameter values that are decorated as "sensitive" in the API will not
  7975  // be included in the string output. The member name will be present, but the
  7976  // value will be replaced with "sensitive".
  7977  func (s S3DestinationProperties) String() string {
  7978  	return awsutil.Prettify(s)
  7979  }
  7980  
  7981  // GoString returns the string representation.
  7982  //
  7983  // API parameter values that are decorated as "sensitive" in the API will not
  7984  // be included in the string output. The member name will be present, but the
  7985  // value will be replaced with "sensitive".
  7986  func (s S3DestinationProperties) GoString() string {
  7987  	return s.String()
  7988  }
  7989  
  7990  // Validate inspects the fields of the type to determine if they are valid.
  7991  func (s *S3DestinationProperties) Validate() error {
  7992  	invalidParams := request.ErrInvalidParams{Context: "S3DestinationProperties"}
  7993  	if s.BucketName == nil {
  7994  		invalidParams.Add(request.NewErrParamRequired("BucketName"))
  7995  	}
  7996  	if s.BucketName != nil && len(*s.BucketName) < 3 {
  7997  		invalidParams.Add(request.NewErrParamMinLen("BucketName", 3))
  7998  	}
  7999  
  8000  	if invalidParams.Len() > 0 {
  8001  		return invalidParams
  8002  	}
  8003  	return nil
  8004  }
  8005  
  8006  // SetBucketName sets the BucketName field's value.
  8007  func (s *S3DestinationProperties) SetBucketName(v string) *S3DestinationProperties {
  8008  	s.BucketName = &v
  8009  	return s
  8010  }
  8011  
  8012  // SetBucketPrefix sets the BucketPrefix field's value.
  8013  func (s *S3DestinationProperties) SetBucketPrefix(v string) *S3DestinationProperties {
  8014  	s.BucketPrefix = &v
  8015  	return s
  8016  }
  8017  
  8018  // SetS3OutputFormatConfig sets the S3OutputFormatConfig field's value.
  8019  func (s *S3DestinationProperties) SetS3OutputFormatConfig(v *S3OutputFormatConfig) *S3DestinationProperties {
  8020  	s.S3OutputFormatConfig = v
  8021  	return s
  8022  }
  8023  
  8024  // The connector metadata specific to Amazon S3.
  8025  type S3Metadata struct {
  8026  	_ struct{} `type:"structure" nopayload:"true"`
  8027  }
  8028  
  8029  // String returns the string representation.
  8030  //
  8031  // API parameter values that are decorated as "sensitive" in the API will not
  8032  // be included in the string output. The member name will be present, but the
  8033  // value will be replaced with "sensitive".
  8034  func (s S3Metadata) String() string {
  8035  	return awsutil.Prettify(s)
  8036  }
  8037  
  8038  // GoString returns the string representation.
  8039  //
  8040  // API parameter values that are decorated as "sensitive" in the API will not
  8041  // be included in the string output. The member name will be present, but the
  8042  // value will be replaced with "sensitive".
  8043  func (s S3Metadata) GoString() string {
  8044  	return s.String()
  8045  }
  8046  
  8047  // The configuration that determines how Amazon AppFlow should format the flow
  8048  // output data when Amazon S3 is used as the destination.
  8049  type S3OutputFormatConfig struct {
  8050  	_ struct{} `type:"structure"`
  8051  
  8052  	// The aggregation settings that you can use to customize the output format
  8053  	// of your flow data.
  8054  	AggregationConfig *AggregationConfig `locationName:"aggregationConfig" type:"structure"`
  8055  
  8056  	// Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
  8057  	FileType *string `locationName:"fileType" type:"string" enum:"FileType"`
  8058  
  8059  	// Determines the prefix that Amazon AppFlow applies to the folder name in the
  8060  	// Amazon S3 bucket. You can name folders according to the flow frequency and
  8061  	// date.
  8062  	PrefixConfig *PrefixConfig `locationName:"prefixConfig" type:"structure"`
  8063  }
  8064  
  8065  // String returns the string representation.
  8066  //
  8067  // API parameter values that are decorated as "sensitive" in the API will not
  8068  // be included in the string output. The member name will be present, but the
  8069  // value will be replaced with "sensitive".
  8070  func (s S3OutputFormatConfig) String() string {
  8071  	return awsutil.Prettify(s)
  8072  }
  8073  
  8074  // GoString returns the string representation.
  8075  //
  8076  // API parameter values that are decorated as "sensitive" in the API will not
  8077  // be included in the string output. The member name will be present, but the
  8078  // value will be replaced with "sensitive".
  8079  func (s S3OutputFormatConfig) GoString() string {
  8080  	return s.String()
  8081  }
  8082  
  8083  // SetAggregationConfig sets the AggregationConfig field's value.
  8084  func (s *S3OutputFormatConfig) SetAggregationConfig(v *AggregationConfig) *S3OutputFormatConfig {
  8085  	s.AggregationConfig = v
  8086  	return s
  8087  }
  8088  
  8089  // SetFileType sets the FileType field's value.
  8090  func (s *S3OutputFormatConfig) SetFileType(v string) *S3OutputFormatConfig {
  8091  	s.FileType = &v
  8092  	return s
  8093  }
  8094  
  8095  // SetPrefixConfig sets the PrefixConfig field's value.
  8096  func (s *S3OutputFormatConfig) SetPrefixConfig(v *PrefixConfig) *S3OutputFormatConfig {
  8097  	s.PrefixConfig = v
  8098  	return s
  8099  }
  8100  
  8101  // The properties that are applied when Amazon S3 is being used as the flow
  8102  // source.
  8103  type S3SourceProperties struct {
  8104  	_ struct{} `type:"structure"`
  8105  
  8106  	// The Amazon S3 bucket name where the source files are stored.
  8107  	//
  8108  	// BucketName is a required field
  8109  	BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"`
  8110  
  8111  	// The object key for the Amazon S3 bucket in which the source files are stored.
  8112  	BucketPrefix *string `locationName:"bucketPrefix" type:"string"`
  8113  }
  8114  
  8115  // String returns the string representation.
  8116  //
  8117  // API parameter values that are decorated as "sensitive" in the API will not
  8118  // be included in the string output. The member name will be present, but the
  8119  // value will be replaced with "sensitive".
  8120  func (s S3SourceProperties) String() string {
  8121  	return awsutil.Prettify(s)
  8122  }
  8123  
  8124  // GoString returns the string representation.
  8125  //
  8126  // API parameter values that are decorated as "sensitive" in the API will not
  8127  // be included in the string output. The member name will be present, but the
  8128  // value will be replaced with "sensitive".
  8129  func (s S3SourceProperties) GoString() string {
  8130  	return s.String()
  8131  }
  8132  
  8133  // Validate inspects the fields of the type to determine if they are valid.
  8134  func (s *S3SourceProperties) Validate() error {
  8135  	invalidParams := request.ErrInvalidParams{Context: "S3SourceProperties"}
  8136  	if s.BucketName == nil {
  8137  		invalidParams.Add(request.NewErrParamRequired("BucketName"))
  8138  	}
  8139  	if s.BucketName != nil && len(*s.BucketName) < 3 {
  8140  		invalidParams.Add(request.NewErrParamMinLen("BucketName", 3))
  8141  	}
  8142  
  8143  	if invalidParams.Len() > 0 {
  8144  		return invalidParams
  8145  	}
  8146  	return nil
  8147  }
  8148  
  8149  // SetBucketName sets the BucketName field's value.
  8150  func (s *S3SourceProperties) SetBucketName(v string) *S3SourceProperties {
  8151  	s.BucketName = &v
  8152  	return s
  8153  }
  8154  
  8155  // SetBucketPrefix sets the BucketPrefix field's value.
  8156  func (s *S3SourceProperties) SetBucketPrefix(v string) *S3SourceProperties {
  8157  	s.BucketPrefix = &v
  8158  	return s
  8159  }
  8160  
  8161  // The connector-specific profile credentials required when using SAPOData.
  8162  type SAPODataConnectorProfileCredentials struct {
  8163  	_ struct{} `type:"structure"`
  8164  
  8165  	// The SAPOData basic authentication credentials.
  8166  	BasicAuthCredentials *BasicAuthCredentials `locationName:"basicAuthCredentials" type:"structure"`
  8167  
  8168  	// The SAPOData OAuth type authentication credentials.
  8169  	OAuthCredentials *OAuthCredentials `locationName:"oAuthCredentials" type:"structure"`
  8170  }
  8171  
  8172  // String returns the string representation.
  8173  //
  8174  // API parameter values that are decorated as "sensitive" in the API will not
  8175  // be included in the string output. The member name will be present, but the
  8176  // value will be replaced with "sensitive".
  8177  func (s SAPODataConnectorProfileCredentials) String() string {
  8178  	return awsutil.Prettify(s)
  8179  }
  8180  
  8181  // GoString returns the string representation.
  8182  //
  8183  // API parameter values that are decorated as "sensitive" in the API will not
  8184  // be included in the string output. The member name will be present, but the
  8185  // value will be replaced with "sensitive".
  8186  func (s SAPODataConnectorProfileCredentials) GoString() string {
  8187  	return s.String()
  8188  }
  8189  
  8190  // Validate inspects the fields of the type to determine if they are valid.
  8191  func (s *SAPODataConnectorProfileCredentials) Validate() error {
  8192  	invalidParams := request.ErrInvalidParams{Context: "SAPODataConnectorProfileCredentials"}
  8193  	if s.BasicAuthCredentials != nil {
  8194  		if err := s.BasicAuthCredentials.Validate(); err != nil {
  8195  			invalidParams.AddNested("BasicAuthCredentials", err.(request.ErrInvalidParams))
  8196  		}
  8197  	}
  8198  	if s.OAuthCredentials != nil {
  8199  		if err := s.OAuthCredentials.Validate(); err != nil {
  8200  			invalidParams.AddNested("OAuthCredentials", err.(request.ErrInvalidParams))
  8201  		}
  8202  	}
  8203  
  8204  	if invalidParams.Len() > 0 {
  8205  		return invalidParams
  8206  	}
  8207  	return nil
  8208  }
  8209  
  8210  // SetBasicAuthCredentials sets the BasicAuthCredentials field's value.
  8211  func (s *SAPODataConnectorProfileCredentials) SetBasicAuthCredentials(v *BasicAuthCredentials) *SAPODataConnectorProfileCredentials {
  8212  	s.BasicAuthCredentials = v
  8213  	return s
  8214  }
  8215  
  8216  // SetOAuthCredentials sets the OAuthCredentials field's value.
  8217  func (s *SAPODataConnectorProfileCredentials) SetOAuthCredentials(v *OAuthCredentials) *SAPODataConnectorProfileCredentials {
  8218  	s.OAuthCredentials = v
  8219  	return s
  8220  }
  8221  
  8222  // The connector-specific profile properties required when using SAPOData.
  8223  type SAPODataConnectorProfileProperties struct {
  8224  	_ struct{} `type:"structure"`
  8225  
  8226  	// The location of the SAPOData resource.
  8227  	//
  8228  	// ApplicationHostUrl is a required field
  8229  	ApplicationHostUrl *string `locationName:"applicationHostUrl" type:"string" required:"true"`
  8230  
  8231  	// The application path to catalog service.
  8232  	//
  8233  	// ApplicationServicePath is a required field
  8234  	ApplicationServicePath *string `locationName:"applicationServicePath" type:"string" required:"true"`
  8235  
  8236  	// The client number for the client creating the connection.
  8237  	//
  8238  	// ClientNumber is a required field
  8239  	ClientNumber *string `locationName:"clientNumber" min:"3" type:"string" required:"true"`
  8240  
  8241  	// The logon language of SAPOData instance.
  8242  	LogonLanguage *string `locationName:"logonLanguage" type:"string"`
  8243  
  8244  	// The SAPOData OAuth properties required for OAuth type authentication.
  8245  	OAuthProperties *OAuthProperties `locationName:"oAuthProperties" type:"structure"`
  8246  
  8247  	// The port number of the SAPOData instance.
  8248  	//
  8249  	// PortNumber is a required field
  8250  	PortNumber *int64 `locationName:"portNumber" min:"1" type:"integer" required:"true"`
  8251  
  8252  	// The SAPOData Private Link service name to be used for private data transfers.
  8253  	PrivateLinkServiceName *string `locationName:"privateLinkServiceName" type:"string"`
  8254  }
  8255  
  8256  // String returns the string representation.
  8257  //
  8258  // API parameter values that are decorated as "sensitive" in the API will not
  8259  // be included in the string output. The member name will be present, but the
  8260  // value will be replaced with "sensitive".
  8261  func (s SAPODataConnectorProfileProperties) String() string {
  8262  	return awsutil.Prettify(s)
  8263  }
  8264  
  8265  // GoString returns the string representation.
  8266  //
  8267  // API parameter values that are decorated as "sensitive" in the API will not
  8268  // be included in the string output. The member name will be present, but the
  8269  // value will be replaced with "sensitive".
  8270  func (s SAPODataConnectorProfileProperties) GoString() string {
  8271  	return s.String()
  8272  }
  8273  
  8274  // Validate inspects the fields of the type to determine if they are valid.
  8275  func (s *SAPODataConnectorProfileProperties) Validate() error {
  8276  	invalidParams := request.ErrInvalidParams{Context: "SAPODataConnectorProfileProperties"}
  8277  	if s.ApplicationHostUrl == nil {
  8278  		invalidParams.Add(request.NewErrParamRequired("ApplicationHostUrl"))
  8279  	}
  8280  	if s.ApplicationServicePath == nil {
  8281  		invalidParams.Add(request.NewErrParamRequired("ApplicationServicePath"))
  8282  	}
  8283  	if s.ClientNumber == nil {
  8284  		invalidParams.Add(request.NewErrParamRequired("ClientNumber"))
  8285  	}
  8286  	if s.ClientNumber != nil && len(*s.ClientNumber) < 3 {
  8287  		invalidParams.Add(request.NewErrParamMinLen("ClientNumber", 3))
  8288  	}
  8289  	if s.PortNumber == nil {
  8290  		invalidParams.Add(request.NewErrParamRequired("PortNumber"))
  8291  	}
  8292  	if s.PortNumber != nil && *s.PortNumber < 1 {
  8293  		invalidParams.Add(request.NewErrParamMinValue("PortNumber", 1))
  8294  	}
  8295  	if s.OAuthProperties != nil {
  8296  		if err := s.OAuthProperties.Validate(); err != nil {
  8297  			invalidParams.AddNested("OAuthProperties", err.(request.ErrInvalidParams))
  8298  		}
  8299  	}
  8300  
  8301  	if invalidParams.Len() > 0 {
  8302  		return invalidParams
  8303  	}
  8304  	return nil
  8305  }
  8306  
  8307  // SetApplicationHostUrl sets the ApplicationHostUrl field's value.
  8308  func (s *SAPODataConnectorProfileProperties) SetApplicationHostUrl(v string) *SAPODataConnectorProfileProperties {
  8309  	s.ApplicationHostUrl = &v
  8310  	return s
  8311  }
  8312  
  8313  // SetApplicationServicePath sets the ApplicationServicePath field's value.
  8314  func (s *SAPODataConnectorProfileProperties) SetApplicationServicePath(v string) *SAPODataConnectorProfileProperties {
  8315  	s.ApplicationServicePath = &v
  8316  	return s
  8317  }
  8318  
  8319  // SetClientNumber sets the ClientNumber field's value.
  8320  func (s *SAPODataConnectorProfileProperties) SetClientNumber(v string) *SAPODataConnectorProfileProperties {
  8321  	s.ClientNumber = &v
  8322  	return s
  8323  }
  8324  
  8325  // SetLogonLanguage sets the LogonLanguage field's value.
  8326  func (s *SAPODataConnectorProfileProperties) SetLogonLanguage(v string) *SAPODataConnectorProfileProperties {
  8327  	s.LogonLanguage = &v
  8328  	return s
  8329  }
  8330  
  8331  // SetOAuthProperties sets the OAuthProperties field's value.
  8332  func (s *SAPODataConnectorProfileProperties) SetOAuthProperties(v *OAuthProperties) *SAPODataConnectorProfileProperties {
  8333  	s.OAuthProperties = v
  8334  	return s
  8335  }
  8336  
  8337  // SetPortNumber sets the PortNumber field's value.
  8338  func (s *SAPODataConnectorProfileProperties) SetPortNumber(v int64) *SAPODataConnectorProfileProperties {
  8339  	s.PortNumber = &v
  8340  	return s
  8341  }
  8342  
  8343  // SetPrivateLinkServiceName sets the PrivateLinkServiceName field's value.
  8344  func (s *SAPODataConnectorProfileProperties) SetPrivateLinkServiceName(v string) *SAPODataConnectorProfileProperties {
  8345  	s.PrivateLinkServiceName = &v
  8346  	return s
  8347  }
  8348  
  8349  // The connector metadata specific to SAPOData.
  8350  type SAPODataMetadata struct {
  8351  	_ struct{} `type:"structure" nopayload:"true"`
  8352  }
  8353  
  8354  // String returns the string representation.
  8355  //
  8356  // API parameter values that are decorated as "sensitive" in the API will not
  8357  // be included in the string output. The member name will be present, but the
  8358  // value will be replaced with "sensitive".
  8359  func (s SAPODataMetadata) String() string {
  8360  	return awsutil.Prettify(s)
  8361  }
  8362  
  8363  // GoString returns the string representation.
  8364  //
  8365  // API parameter values that are decorated as "sensitive" in the API will not
  8366  // be included in the string output. The member name will be present, but the
  8367  // value will be replaced with "sensitive".
  8368  func (s SAPODataMetadata) GoString() string {
  8369  	return s.String()
  8370  }
  8371  
  8372  // The properties that are applied when using SAPOData as a flow source.
  8373  type SAPODataSourceProperties struct {
  8374  	_ struct{} `type:"structure"`
  8375  
  8376  	// The object path specified in the SAPOData flow source.
  8377  	ObjectPath *string `locationName:"objectPath" type:"string"`
  8378  }
  8379  
  8380  // String returns the string representation.
  8381  //
  8382  // API parameter values that are decorated as "sensitive" in the API will not
  8383  // be included in the string output. The member name will be present, but the
  8384  // value will be replaced with "sensitive".
  8385  func (s SAPODataSourceProperties) String() string {
  8386  	return awsutil.Prettify(s)
  8387  }
  8388  
  8389  // GoString returns the string representation.
  8390  //
  8391  // API parameter values that are decorated as "sensitive" in the API will not
  8392  // be included in the string output. The member name will be present, but the
  8393  // value will be replaced with "sensitive".
  8394  func (s SAPODataSourceProperties) GoString() string {
  8395  	return s.String()
  8396  }
  8397  
  8398  // SetObjectPath sets the ObjectPath field's value.
  8399  func (s *SAPODataSourceProperties) SetObjectPath(v string) *SAPODataSourceProperties {
  8400  	s.ObjectPath = &v
  8401  	return s
  8402  }
  8403  
  8404  // The connector-specific profile credentials required when using Salesforce.
  8405  type SalesforceConnectorProfileCredentials struct {
  8406  	_ struct{} `type:"structure"`
  8407  
  8408  	// The credentials used to access protected Salesforce resources.
  8409  	//
  8410  	// AccessToken is a sensitive parameter and its value will be
  8411  	// replaced with "sensitive" in string returned by SalesforceConnectorProfileCredentials's
  8412  	// String and GoString methods.
  8413  	AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"`
  8414  
  8415  	// The secret manager ARN, which contains the client ID and client secret of
  8416  	// the connected app.
  8417  	//
  8418  	// ClientCredentialsArn is a sensitive parameter and its value will be
  8419  	// replaced with "sensitive" in string returned by SalesforceConnectorProfileCredentials's
  8420  	// String and GoString methods.
  8421  	ClientCredentialsArn *string `locationName:"clientCredentialsArn" min:"20" type:"string" sensitive:"true"`
  8422  
  8423  	// The OAuth requirement needed to request security tokens from the connector
  8424  	// endpoint.
  8425  	OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"`
  8426  
  8427  	// The credentials used to acquire new access tokens.
  8428  	RefreshToken *string `locationName:"refreshToken" type:"string"`
  8429  }
  8430  
  8431  // String returns the string representation.
  8432  //
  8433  // API parameter values that are decorated as "sensitive" in the API will not
  8434  // be included in the string output. The member name will be present, but the
  8435  // value will be replaced with "sensitive".
  8436  func (s SalesforceConnectorProfileCredentials) String() string {
  8437  	return awsutil.Prettify(s)
  8438  }
  8439  
  8440  // GoString returns the string representation.
  8441  //
  8442  // API parameter values that are decorated as "sensitive" in the API will not
  8443  // be included in the string output. The member name will be present, but the
  8444  // value will be replaced with "sensitive".
  8445  func (s SalesforceConnectorProfileCredentials) GoString() string {
  8446  	return s.String()
  8447  }
  8448  
  8449  // Validate inspects the fields of the type to determine if they are valid.
  8450  func (s *SalesforceConnectorProfileCredentials) Validate() error {
  8451  	invalidParams := request.ErrInvalidParams{Context: "SalesforceConnectorProfileCredentials"}
  8452  	if s.ClientCredentialsArn != nil && len(*s.ClientCredentialsArn) < 20 {
  8453  		invalidParams.Add(request.NewErrParamMinLen("ClientCredentialsArn", 20))
  8454  	}
  8455  
  8456  	if invalidParams.Len() > 0 {
  8457  		return invalidParams
  8458  	}
  8459  	return nil
  8460  }
  8461  
  8462  // SetAccessToken sets the AccessToken field's value.
  8463  func (s *SalesforceConnectorProfileCredentials) SetAccessToken(v string) *SalesforceConnectorProfileCredentials {
  8464  	s.AccessToken = &v
  8465  	return s
  8466  }
  8467  
  8468  // SetClientCredentialsArn sets the ClientCredentialsArn field's value.
  8469  func (s *SalesforceConnectorProfileCredentials) SetClientCredentialsArn(v string) *SalesforceConnectorProfileCredentials {
  8470  	s.ClientCredentialsArn = &v
  8471  	return s
  8472  }
  8473  
  8474  // SetOAuthRequest sets the OAuthRequest field's value.
  8475  func (s *SalesforceConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *SalesforceConnectorProfileCredentials {
  8476  	s.OAuthRequest = v
  8477  	return s
  8478  }
  8479  
  8480  // SetRefreshToken sets the RefreshToken field's value.
  8481  func (s *SalesforceConnectorProfileCredentials) SetRefreshToken(v string) *SalesforceConnectorProfileCredentials {
  8482  	s.RefreshToken = &v
  8483  	return s
  8484  }
  8485  
  8486  // The connector-specific profile properties required when using Salesforce.
  8487  type SalesforceConnectorProfileProperties struct {
  8488  	_ struct{} `type:"structure"`
  8489  
  8490  	// The location of the Salesforce resource.
  8491  	InstanceUrl *string `locationName:"instanceUrl" type:"string"`
  8492  
  8493  	// Indicates whether the connector profile applies to a sandbox or production
  8494  	// environment.
  8495  	IsSandboxEnvironment *bool `locationName:"isSandboxEnvironment" type:"boolean"`
  8496  }
  8497  
  8498  // String returns the string representation.
  8499  //
  8500  // API parameter values that are decorated as "sensitive" in the API will not
  8501  // be included in the string output. The member name will be present, but the
  8502  // value will be replaced with "sensitive".
  8503  func (s SalesforceConnectorProfileProperties) String() string {
  8504  	return awsutil.Prettify(s)
  8505  }
  8506  
  8507  // GoString returns the string representation.
  8508  //
  8509  // API parameter values that are decorated as "sensitive" in the API will not
  8510  // be included in the string output. The member name will be present, but the
  8511  // value will be replaced with "sensitive".
  8512  func (s SalesforceConnectorProfileProperties) GoString() string {
  8513  	return s.String()
  8514  }
  8515  
  8516  // SetInstanceUrl sets the InstanceUrl field's value.
  8517  func (s *SalesforceConnectorProfileProperties) SetInstanceUrl(v string) *SalesforceConnectorProfileProperties {
  8518  	s.InstanceUrl = &v
  8519  	return s
  8520  }
  8521  
  8522  // SetIsSandboxEnvironment sets the IsSandboxEnvironment field's value.
  8523  func (s *SalesforceConnectorProfileProperties) SetIsSandboxEnvironment(v bool) *SalesforceConnectorProfileProperties {
  8524  	s.IsSandboxEnvironment = &v
  8525  	return s
  8526  }
  8527  
  8528  // The properties that are applied when Salesforce is being used as a destination.
  8529  type SalesforceDestinationProperties struct {
  8530  	_ struct{} `type:"structure"`
  8531  
  8532  	// The settings that determine how Amazon AppFlow handles an error when placing
  8533  	// data in the Salesforce destination. For example, this setting would determine
  8534  	// if the flow should fail after one insertion error, or continue and attempt
  8535  	// to insert every record regardless of the initial failure. ErrorHandlingConfig
  8536  	// is a part of the destination connector details.
  8537  	ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"`
  8538  
  8539  	// The name of the field that Amazon AppFlow uses as an ID when performing a
  8540  	// write operation such as update or delete.
  8541  	IdFieldNames []*string `locationName:"idFieldNames" type:"list"`
  8542  
  8543  	// The object specified in the Salesforce flow destination.
  8544  	//
  8545  	// Object is a required field
  8546  	Object *string `locationName:"object" type:"string" required:"true"`
  8547  
  8548  	// This specifies the type of write operation to be performed in Salesforce.
  8549  	// When the value is UPSERT, then idFieldNames is required.
  8550  	WriteOperationType *string `locationName:"writeOperationType" type:"string" enum:"WriteOperationType"`
  8551  }
  8552  
  8553  // String returns the string representation.
  8554  //
  8555  // API parameter values that are decorated as "sensitive" in the API will not
  8556  // be included in the string output. The member name will be present, but the
  8557  // value will be replaced with "sensitive".
  8558  func (s SalesforceDestinationProperties) String() string {
  8559  	return awsutil.Prettify(s)
  8560  }
  8561  
  8562  // GoString returns the string representation.
  8563  //
  8564  // API parameter values that are decorated as "sensitive" in the API will not
  8565  // be included in the string output. The member name will be present, but the
  8566  // value will be replaced with "sensitive".
  8567  func (s SalesforceDestinationProperties) GoString() string {
  8568  	return s.String()
  8569  }
  8570  
  8571  // Validate inspects the fields of the type to determine if they are valid.
  8572  func (s *SalesforceDestinationProperties) Validate() error {
  8573  	invalidParams := request.ErrInvalidParams{Context: "SalesforceDestinationProperties"}
  8574  	if s.Object == nil {
  8575  		invalidParams.Add(request.NewErrParamRequired("Object"))
  8576  	}
  8577  	if s.ErrorHandlingConfig != nil {
  8578  		if err := s.ErrorHandlingConfig.Validate(); err != nil {
  8579  			invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams))
  8580  		}
  8581  	}
  8582  
  8583  	if invalidParams.Len() > 0 {
  8584  		return invalidParams
  8585  	}
  8586  	return nil
  8587  }
  8588  
  8589  // SetErrorHandlingConfig sets the ErrorHandlingConfig field's value.
  8590  func (s *SalesforceDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *SalesforceDestinationProperties {
  8591  	s.ErrorHandlingConfig = v
  8592  	return s
  8593  }
  8594  
  8595  // SetIdFieldNames sets the IdFieldNames field's value.
  8596  func (s *SalesforceDestinationProperties) SetIdFieldNames(v []*string) *SalesforceDestinationProperties {
  8597  	s.IdFieldNames = v
  8598  	return s
  8599  }
  8600  
  8601  // SetObject sets the Object field's value.
  8602  func (s *SalesforceDestinationProperties) SetObject(v string) *SalesforceDestinationProperties {
  8603  	s.Object = &v
  8604  	return s
  8605  }
  8606  
  8607  // SetWriteOperationType sets the WriteOperationType field's value.
  8608  func (s *SalesforceDestinationProperties) SetWriteOperationType(v string) *SalesforceDestinationProperties {
  8609  	s.WriteOperationType = &v
  8610  	return s
  8611  }
  8612  
  8613  // The connector metadata specific to Salesforce.
  8614  type SalesforceMetadata struct {
  8615  	_ struct{} `type:"structure"`
  8616  
  8617  	// The desired authorization scope for the Salesforce account.
  8618  	OAuthScopes []*string `locationName:"oAuthScopes" type:"list"`
  8619  }
  8620  
  8621  // String returns the string representation.
  8622  //
  8623  // API parameter values that are decorated as "sensitive" in the API will not
  8624  // be included in the string output. The member name will be present, but the
  8625  // value will be replaced with "sensitive".
  8626  func (s SalesforceMetadata) String() string {
  8627  	return awsutil.Prettify(s)
  8628  }
  8629  
  8630  // GoString returns the string representation.
  8631  //
  8632  // API parameter values that are decorated as "sensitive" in the API will not
  8633  // be included in the string output. The member name will be present, but the
  8634  // value will be replaced with "sensitive".
  8635  func (s SalesforceMetadata) GoString() string {
  8636  	return s.String()
  8637  }
  8638  
  8639  // SetOAuthScopes sets the OAuthScopes field's value.
  8640  func (s *SalesforceMetadata) SetOAuthScopes(v []*string) *SalesforceMetadata {
  8641  	s.OAuthScopes = v
  8642  	return s
  8643  }
  8644  
  8645  // The properties that are applied when Salesforce is being used as a source.
  8646  type SalesforceSourceProperties struct {
  8647  	_ struct{} `type:"structure"`
  8648  
  8649  	// The flag that enables dynamic fetching of new (recently added) fields in
  8650  	// the Salesforce objects while running a flow.
  8651  	EnableDynamicFieldUpdate *bool `locationName:"enableDynamicFieldUpdate" type:"boolean"`
  8652  
  8653  	// Indicates whether Amazon AppFlow includes deleted files in the flow run.
  8654  	IncludeDeletedRecords *bool `locationName:"includeDeletedRecords" type:"boolean"`
  8655  
  8656  	// The object specified in the Salesforce flow source.
  8657  	//
  8658  	// Object is a required field
  8659  	Object *string `locationName:"object" type:"string" required:"true"`
  8660  }
  8661  
  8662  // String returns the string representation.
  8663  //
  8664  // API parameter values that are decorated as "sensitive" in the API will not
  8665  // be included in the string output. The member name will be present, but the
  8666  // value will be replaced with "sensitive".
  8667  func (s SalesforceSourceProperties) String() string {
  8668  	return awsutil.Prettify(s)
  8669  }
  8670  
  8671  // GoString returns the string representation.
  8672  //
  8673  // API parameter values that are decorated as "sensitive" in the API will not
  8674  // be included in the string output. The member name will be present, but the
  8675  // value will be replaced with "sensitive".
  8676  func (s SalesforceSourceProperties) GoString() string {
  8677  	return s.String()
  8678  }
  8679  
  8680  // Validate inspects the fields of the type to determine if they are valid.
  8681  func (s *SalesforceSourceProperties) Validate() error {
  8682  	invalidParams := request.ErrInvalidParams{Context: "SalesforceSourceProperties"}
  8683  	if s.Object == nil {
  8684  		invalidParams.Add(request.NewErrParamRequired("Object"))
  8685  	}
  8686  
  8687  	if invalidParams.Len() > 0 {
  8688  		return invalidParams
  8689  	}
  8690  	return nil
  8691  }
  8692  
  8693  // SetEnableDynamicFieldUpdate sets the EnableDynamicFieldUpdate field's value.
  8694  func (s *SalesforceSourceProperties) SetEnableDynamicFieldUpdate(v bool) *SalesforceSourceProperties {
  8695  	s.EnableDynamicFieldUpdate = &v
  8696  	return s
  8697  }
  8698  
  8699  // SetIncludeDeletedRecords sets the IncludeDeletedRecords field's value.
  8700  func (s *SalesforceSourceProperties) SetIncludeDeletedRecords(v bool) *SalesforceSourceProperties {
  8701  	s.IncludeDeletedRecords = &v
  8702  	return s
  8703  }
  8704  
  8705  // SetObject sets the Object field's value.
  8706  func (s *SalesforceSourceProperties) SetObject(v string) *SalesforceSourceProperties {
  8707  	s.Object = &v
  8708  	return s
  8709  }
  8710  
  8711  // Specifies the configuration details of a schedule-triggered flow as defined
  8712  // by the user. Currently, these settings only apply to the Scheduled trigger
  8713  // type.
  8714  type ScheduledTriggerProperties struct {
  8715  	_ struct{} `type:"structure"`
  8716  
  8717  	// Specifies whether a scheduled flow has an incremental data transfer or a
  8718  	// complete data transfer for each flow run.
  8719  	DataPullMode *string `locationName:"dataPullMode" type:"string" enum:"DataPullMode"`
  8720  
  8721  	// Specifies the date range for the records to import from the connector in
  8722  	// the first flow run.
  8723  	FirstExecutionFrom *time.Time `locationName:"firstExecutionFrom" type:"timestamp"`
  8724  
  8725  	// Specifies the scheduled end time for a schedule-triggered flow.
  8726  	ScheduleEndTime *time.Time `locationName:"scheduleEndTime" type:"timestamp"`
  8727  
  8728  	// The scheduling expression that determines the rate at which the schedule
  8729  	// will run, for example rate(5minutes).
  8730  	//
  8731  	// ScheduleExpression is a required field
  8732  	ScheduleExpression *string `locationName:"scheduleExpression" type:"string" required:"true"`
  8733  
  8734  	// Specifies the optional offset that is added to the time interval for a schedule-triggered
  8735  	// flow.
  8736  	ScheduleOffset *int64 `locationName:"scheduleOffset" type:"long"`
  8737  
  8738  	// Specifies the scheduled start time for a schedule-triggered flow.
  8739  	ScheduleStartTime *time.Time `locationName:"scheduleStartTime" type:"timestamp"`
  8740  
  8741  	// Specifies the time zone used when referring to the date and time of a scheduled-triggered
  8742  	// flow, such as America/New_York.
  8743  	Timezone *string `locationName:"timezone" type:"string"`
  8744  }
  8745  
  8746  // String returns the string representation.
  8747  //
  8748  // API parameter values that are decorated as "sensitive" in the API will not
  8749  // be included in the string output. The member name will be present, but the
  8750  // value will be replaced with "sensitive".
  8751  func (s ScheduledTriggerProperties) String() string {
  8752  	return awsutil.Prettify(s)
  8753  }
  8754  
  8755  // GoString returns the string representation.
  8756  //
  8757  // API parameter values that are decorated as "sensitive" in the API will not
  8758  // be included in the string output. The member name will be present, but the
  8759  // value will be replaced with "sensitive".
  8760  func (s ScheduledTriggerProperties) GoString() string {
  8761  	return s.String()
  8762  }
  8763  
  8764  // Validate inspects the fields of the type to determine if they are valid.
  8765  func (s *ScheduledTriggerProperties) Validate() error {
  8766  	invalidParams := request.ErrInvalidParams{Context: "ScheduledTriggerProperties"}
  8767  	if s.ScheduleExpression == nil {
  8768  		invalidParams.Add(request.NewErrParamRequired("ScheduleExpression"))
  8769  	}
  8770  
  8771  	if invalidParams.Len() > 0 {
  8772  		return invalidParams
  8773  	}
  8774  	return nil
  8775  }
  8776  
  8777  // SetDataPullMode sets the DataPullMode field's value.
  8778  func (s *ScheduledTriggerProperties) SetDataPullMode(v string) *ScheduledTriggerProperties {
  8779  	s.DataPullMode = &v
  8780  	return s
  8781  }
  8782  
  8783  // SetFirstExecutionFrom sets the FirstExecutionFrom field's value.
  8784  func (s *ScheduledTriggerProperties) SetFirstExecutionFrom(v time.Time) *ScheduledTriggerProperties {
  8785  	s.FirstExecutionFrom = &v
  8786  	return s
  8787  }
  8788  
  8789  // SetScheduleEndTime sets the ScheduleEndTime field's value.
  8790  func (s *ScheduledTriggerProperties) SetScheduleEndTime(v time.Time) *ScheduledTriggerProperties {
  8791  	s.ScheduleEndTime = &v
  8792  	return s
  8793  }
  8794  
  8795  // SetScheduleExpression sets the ScheduleExpression field's value.
  8796  func (s *ScheduledTriggerProperties) SetScheduleExpression(v string) *ScheduledTriggerProperties {
  8797  	s.ScheduleExpression = &v
  8798  	return s
  8799  }
  8800  
  8801  // SetScheduleOffset sets the ScheduleOffset field's value.
  8802  func (s *ScheduledTriggerProperties) SetScheduleOffset(v int64) *ScheduledTriggerProperties {
  8803  	s.ScheduleOffset = &v
  8804  	return s
  8805  }
  8806  
  8807  // SetScheduleStartTime sets the ScheduleStartTime field's value.
  8808  func (s *ScheduledTriggerProperties) SetScheduleStartTime(v time.Time) *ScheduledTriggerProperties {
  8809  	s.ScheduleStartTime = &v
  8810  	return s
  8811  }
  8812  
  8813  // SetTimezone sets the Timezone field's value.
  8814  func (s *ScheduledTriggerProperties) SetTimezone(v string) *ScheduledTriggerProperties {
  8815  	s.Timezone = &v
  8816  	return s
  8817  }
  8818  
  8819  // The connector-specific profile credentials required when using ServiceNow.
  8820  type ServiceNowConnectorProfileCredentials struct {
  8821  	_ struct{} `type:"structure"`
  8822  
  8823  	// The password that corresponds to the user name.
  8824  	//
  8825  	// Password is a sensitive parameter and its value will be
  8826  	// replaced with "sensitive" in string returned by ServiceNowConnectorProfileCredentials's
  8827  	// String and GoString methods.
  8828  	//
  8829  	// Password is a required field
  8830  	Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"`
  8831  
  8832  	// The name of the user.
  8833  	//
  8834  	// Username is a required field
  8835  	Username *string `locationName:"username" type:"string" required:"true"`
  8836  }
  8837  
  8838  // String returns the string representation.
  8839  //
  8840  // API parameter values that are decorated as "sensitive" in the API will not
  8841  // be included in the string output. The member name will be present, but the
  8842  // value will be replaced with "sensitive".
  8843  func (s ServiceNowConnectorProfileCredentials) String() string {
  8844  	return awsutil.Prettify(s)
  8845  }
  8846  
  8847  // GoString returns the string representation.
  8848  //
  8849  // API parameter values that are decorated as "sensitive" in the API will not
  8850  // be included in the string output. The member name will be present, but the
  8851  // value will be replaced with "sensitive".
  8852  func (s ServiceNowConnectorProfileCredentials) GoString() string {
  8853  	return s.String()
  8854  }
  8855  
  8856  // Validate inspects the fields of the type to determine if they are valid.
  8857  func (s *ServiceNowConnectorProfileCredentials) Validate() error {
  8858  	invalidParams := request.ErrInvalidParams{Context: "ServiceNowConnectorProfileCredentials"}
  8859  	if s.Password == nil {
  8860  		invalidParams.Add(request.NewErrParamRequired("Password"))
  8861  	}
  8862  	if s.Username == nil {
  8863  		invalidParams.Add(request.NewErrParamRequired("Username"))
  8864  	}
  8865  
  8866  	if invalidParams.Len() > 0 {
  8867  		return invalidParams
  8868  	}
  8869  	return nil
  8870  }
  8871  
  8872  // SetPassword sets the Password field's value.
  8873  func (s *ServiceNowConnectorProfileCredentials) SetPassword(v string) *ServiceNowConnectorProfileCredentials {
  8874  	s.Password = &v
  8875  	return s
  8876  }
  8877  
  8878  // SetUsername sets the Username field's value.
  8879  func (s *ServiceNowConnectorProfileCredentials) SetUsername(v string) *ServiceNowConnectorProfileCredentials {
  8880  	s.Username = &v
  8881  	return s
  8882  }
  8883  
  8884  // The connector-specific profile properties required when using ServiceNow.
  8885  type ServiceNowConnectorProfileProperties struct {
  8886  	_ struct{} `type:"structure"`
  8887  
  8888  	// The location of the ServiceNow resource.
  8889  	//
  8890  	// InstanceUrl is a required field
  8891  	InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"`
  8892  }
  8893  
  8894  // String returns the string representation.
  8895  //
  8896  // API parameter values that are decorated as "sensitive" in the API will not
  8897  // be included in the string output. The member name will be present, but the
  8898  // value will be replaced with "sensitive".
  8899  func (s ServiceNowConnectorProfileProperties) String() string {
  8900  	return awsutil.Prettify(s)
  8901  }
  8902  
  8903  // GoString returns the string representation.
  8904  //
  8905  // API parameter values that are decorated as "sensitive" in the API will not
  8906  // be included in the string output. The member name will be present, but the
  8907  // value will be replaced with "sensitive".
  8908  func (s ServiceNowConnectorProfileProperties) GoString() string {
  8909  	return s.String()
  8910  }
  8911  
  8912  // Validate inspects the fields of the type to determine if they are valid.
  8913  func (s *ServiceNowConnectorProfileProperties) Validate() error {
  8914  	invalidParams := request.ErrInvalidParams{Context: "ServiceNowConnectorProfileProperties"}
  8915  	if s.InstanceUrl == nil {
  8916  		invalidParams.Add(request.NewErrParamRequired("InstanceUrl"))
  8917  	}
  8918  
  8919  	if invalidParams.Len() > 0 {
  8920  		return invalidParams
  8921  	}
  8922  	return nil
  8923  }
  8924  
  8925  // SetInstanceUrl sets the InstanceUrl field's value.
  8926  func (s *ServiceNowConnectorProfileProperties) SetInstanceUrl(v string) *ServiceNowConnectorProfileProperties {
  8927  	s.InstanceUrl = &v
  8928  	return s
  8929  }
  8930  
  8931  // The connector metadata specific to ServiceNow.
  8932  type ServiceNowMetadata struct {
  8933  	_ struct{} `type:"structure" nopayload:"true"`
  8934  }
  8935  
  8936  // String returns the string representation.
  8937  //
  8938  // API parameter values that are decorated as "sensitive" in the API will not
  8939  // be included in the string output. The member name will be present, but the
  8940  // value will be replaced with "sensitive".
  8941  func (s ServiceNowMetadata) String() string {
  8942  	return awsutil.Prettify(s)
  8943  }
  8944  
  8945  // GoString returns the string representation.
  8946  //
  8947  // API parameter values that are decorated as "sensitive" in the API will not
  8948  // be included in the string output. The member name will be present, but the
  8949  // value will be replaced with "sensitive".
  8950  func (s ServiceNowMetadata) GoString() string {
  8951  	return s.String()
  8952  }
  8953  
  8954  // The properties that are applied when ServiceNow is being used as a source.
  8955  type ServiceNowSourceProperties struct {
  8956  	_ struct{} `type:"structure"`
  8957  
  8958  	// The object specified in the ServiceNow flow source.
  8959  	//
  8960  	// Object is a required field
  8961  	Object *string `locationName:"object" type:"string" required:"true"`
  8962  }
  8963  
  8964  // String returns the string representation.
  8965  //
  8966  // API parameter values that are decorated as "sensitive" in the API will not
  8967  // be included in the string output. The member name will be present, but the
  8968  // value will be replaced with "sensitive".
  8969  func (s ServiceNowSourceProperties) String() string {
  8970  	return awsutil.Prettify(s)
  8971  }
  8972  
  8973  // GoString returns the string representation.
  8974  //
  8975  // API parameter values that are decorated as "sensitive" in the API will not
  8976  // be included in the string output. The member name will be present, but the
  8977  // value will be replaced with "sensitive".
  8978  func (s ServiceNowSourceProperties) GoString() string {
  8979  	return s.String()
  8980  }
  8981  
  8982  // Validate inspects the fields of the type to determine if they are valid.
  8983  func (s *ServiceNowSourceProperties) Validate() error {
  8984  	invalidParams := request.ErrInvalidParams{Context: "ServiceNowSourceProperties"}
  8985  	if s.Object == nil {
  8986  		invalidParams.Add(request.NewErrParamRequired("Object"))
  8987  	}
  8988  
  8989  	if invalidParams.Len() > 0 {
  8990  		return invalidParams
  8991  	}
  8992  	return nil
  8993  }
  8994  
  8995  // SetObject sets the Object field's value.
  8996  func (s *ServiceNowSourceProperties) SetObject(v string) *ServiceNowSourceProperties {
  8997  	s.Object = &v
  8998  	return s
  8999  }
  9000  
  9001  // The request would cause a service quota (such as the number of flows) to
  9002  // be exceeded.
  9003  type ServiceQuotaExceededException struct {
  9004  	_            struct{}                  `type:"structure"`
  9005  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
  9006  
  9007  	Message_ *string `locationName:"message" type:"string"`
  9008  }
  9009  
  9010  // String returns the string representation.
  9011  //
  9012  // API parameter values that are decorated as "sensitive" in the API will not
  9013  // be included in the string output. The member name will be present, but the
  9014  // value will be replaced with "sensitive".
  9015  func (s ServiceQuotaExceededException) String() string {
  9016  	return awsutil.Prettify(s)
  9017  }
  9018  
  9019  // GoString returns the string representation.
  9020  //
  9021  // API parameter values that are decorated as "sensitive" in the API will not
  9022  // be included in the string output. The member name will be present, but the
  9023  // value will be replaced with "sensitive".
  9024  func (s ServiceQuotaExceededException) GoString() string {
  9025  	return s.String()
  9026  }
  9027  
  9028  func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
  9029  	return &ServiceQuotaExceededException{
  9030  		RespMetadata: v,
  9031  	}
  9032  }
  9033  
  9034  // Code returns the exception type name.
  9035  func (s *ServiceQuotaExceededException) Code() string {
  9036  	return "ServiceQuotaExceededException"
  9037  }
  9038  
  9039  // Message returns the exception's message.
  9040  func (s *ServiceQuotaExceededException) Message() string {
  9041  	if s.Message_ != nil {
  9042  		return *s.Message_
  9043  	}
  9044  	return ""
  9045  }
  9046  
  9047  // OrigErr always returns nil, satisfies awserr.Error interface.
  9048  func (s *ServiceQuotaExceededException) OrigErr() error {
  9049  	return nil
  9050  }
  9051  
  9052  func (s *ServiceQuotaExceededException) Error() string {
  9053  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
  9054  }
  9055  
  9056  // Status code returns the HTTP status code for the request's response error.
  9057  func (s *ServiceQuotaExceededException) StatusCode() int {
  9058  	return s.RespMetadata.StatusCode
  9059  }
  9060  
  9061  // RequestID returns the service's response RequestID for request.
  9062  func (s *ServiceQuotaExceededException) RequestID() string {
  9063  	return s.RespMetadata.RequestID
  9064  }
  9065  
  9066  // The connector-specific profile credentials required when using Singular.
  9067  type SingularConnectorProfileCredentials struct {
  9068  	_ struct{} `type:"structure"`
  9069  
  9070  	// A unique alphanumeric identifier used to authenticate a user, developer,
  9071  	// or calling program to your API.
  9072  	//
  9073  	// ApiKey is a required field
  9074  	ApiKey *string `locationName:"apiKey" type:"string" required:"true"`
  9075  }
  9076  
  9077  // String returns the string representation.
  9078  //
  9079  // API parameter values that are decorated as "sensitive" in the API will not
  9080  // be included in the string output. The member name will be present, but the
  9081  // value will be replaced with "sensitive".
  9082  func (s SingularConnectorProfileCredentials) String() string {
  9083  	return awsutil.Prettify(s)
  9084  }
  9085  
  9086  // GoString returns the string representation.
  9087  //
  9088  // API parameter values that are decorated as "sensitive" in the API will not
  9089  // be included in the string output. The member name will be present, but the
  9090  // value will be replaced with "sensitive".
  9091  func (s SingularConnectorProfileCredentials) GoString() string {
  9092  	return s.String()
  9093  }
  9094  
  9095  // Validate inspects the fields of the type to determine if they are valid.
  9096  func (s *SingularConnectorProfileCredentials) Validate() error {
  9097  	invalidParams := request.ErrInvalidParams{Context: "SingularConnectorProfileCredentials"}
  9098  	if s.ApiKey == nil {
  9099  		invalidParams.Add(request.NewErrParamRequired("ApiKey"))
  9100  	}
  9101  
  9102  	if invalidParams.Len() > 0 {
  9103  		return invalidParams
  9104  	}
  9105  	return nil
  9106  }
  9107  
  9108  // SetApiKey sets the ApiKey field's value.
  9109  func (s *SingularConnectorProfileCredentials) SetApiKey(v string) *SingularConnectorProfileCredentials {
  9110  	s.ApiKey = &v
  9111  	return s
  9112  }
  9113  
  9114  // The connector-specific profile properties required when using Singular.
  9115  type SingularConnectorProfileProperties struct {
  9116  	_ struct{} `type:"structure" nopayload:"true"`
  9117  }
  9118  
  9119  // String returns the string representation.
  9120  //
  9121  // API parameter values that are decorated as "sensitive" in the API will not
  9122  // be included in the string output. The member name will be present, but the
  9123  // value will be replaced with "sensitive".
  9124  func (s SingularConnectorProfileProperties) String() string {
  9125  	return awsutil.Prettify(s)
  9126  }
  9127  
  9128  // GoString returns the string representation.
  9129  //
  9130  // API parameter values that are decorated as "sensitive" in the API will not
  9131  // be included in the string output. The member name will be present, but the
  9132  // value will be replaced with "sensitive".
  9133  func (s SingularConnectorProfileProperties) GoString() string {
  9134  	return s.String()
  9135  }
  9136  
  9137  // The connector metadata specific to Singular.
  9138  type SingularMetadata struct {
  9139  	_ struct{} `type:"structure" nopayload:"true"`
  9140  }
  9141  
  9142  // String returns the string representation.
  9143  //
  9144  // API parameter values that are decorated as "sensitive" in the API will not
  9145  // be included in the string output. The member name will be present, but the
  9146  // value will be replaced with "sensitive".
  9147  func (s SingularMetadata) String() string {
  9148  	return awsutil.Prettify(s)
  9149  }
  9150  
  9151  // GoString returns the string representation.
  9152  //
  9153  // API parameter values that are decorated as "sensitive" in the API will not
  9154  // be included in the string output. The member name will be present, but the
  9155  // value will be replaced with "sensitive".
  9156  func (s SingularMetadata) GoString() string {
  9157  	return s.String()
  9158  }
  9159  
  9160  // The properties that are applied when Singular is being used as a source.
  9161  type SingularSourceProperties struct {
  9162  	_ struct{} `type:"structure"`
  9163  
  9164  	// The object specified in the Singular flow source.
  9165  	//
  9166  	// Object is a required field
  9167  	Object *string `locationName:"object" type:"string" required:"true"`
  9168  }
  9169  
  9170  // String returns the string representation.
  9171  //
  9172  // API parameter values that are decorated as "sensitive" in the API will not
  9173  // be included in the string output. The member name will be present, but the
  9174  // value will be replaced with "sensitive".
  9175  func (s SingularSourceProperties) String() string {
  9176  	return awsutil.Prettify(s)
  9177  }
  9178  
  9179  // GoString returns the string representation.
  9180  //
  9181  // API parameter values that are decorated as "sensitive" in the API will not
  9182  // be included in the string output. The member name will be present, but the
  9183  // value will be replaced with "sensitive".
  9184  func (s SingularSourceProperties) GoString() string {
  9185  	return s.String()
  9186  }
  9187  
  9188  // Validate inspects the fields of the type to determine if they are valid.
  9189  func (s *SingularSourceProperties) Validate() error {
  9190  	invalidParams := request.ErrInvalidParams{Context: "SingularSourceProperties"}
  9191  	if s.Object == nil {
  9192  		invalidParams.Add(request.NewErrParamRequired("Object"))
  9193  	}
  9194  
  9195  	if invalidParams.Len() > 0 {
  9196  		return invalidParams
  9197  	}
  9198  	return nil
  9199  }
  9200  
  9201  // SetObject sets the Object field's value.
  9202  func (s *SingularSourceProperties) SetObject(v string) *SingularSourceProperties {
  9203  	s.Object = &v
  9204  	return s
  9205  }
  9206  
  9207  // The connector-specific profile credentials required when using Slack.
  9208  type SlackConnectorProfileCredentials struct {
  9209  	_ struct{} `type:"structure"`
  9210  
  9211  	// The credentials used to access protected Slack resources.
  9212  	//
  9213  	// AccessToken is a sensitive parameter and its value will be
  9214  	// replaced with "sensitive" in string returned by SlackConnectorProfileCredentials's
  9215  	// String and GoString methods.
  9216  	AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"`
  9217  
  9218  	// The identifier for the client.
  9219  	//
  9220  	// ClientId is a required field
  9221  	ClientId *string `locationName:"clientId" type:"string" required:"true"`
  9222  
  9223  	// The client secret used by the OAuth client to authenticate to the authorization
  9224  	// server.
  9225  	//
  9226  	// ClientSecret is a sensitive parameter and its value will be
  9227  	// replaced with "sensitive" in string returned by SlackConnectorProfileCredentials's
  9228  	// String and GoString methods.
  9229  	//
  9230  	// ClientSecret is a required field
  9231  	ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"`
  9232  
  9233  	// The OAuth requirement needed to request security tokens from the connector
  9234  	// endpoint.
  9235  	OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"`
  9236  }
  9237  
  9238  // String returns the string representation.
  9239  //
  9240  // API parameter values that are decorated as "sensitive" in the API will not
  9241  // be included in the string output. The member name will be present, but the
  9242  // value will be replaced with "sensitive".
  9243  func (s SlackConnectorProfileCredentials) String() string {
  9244  	return awsutil.Prettify(s)
  9245  }
  9246  
  9247  // GoString returns the string representation.
  9248  //
  9249  // API parameter values that are decorated as "sensitive" in the API will not
  9250  // be included in the string output. The member name will be present, but the
  9251  // value will be replaced with "sensitive".
  9252  func (s SlackConnectorProfileCredentials) GoString() string {
  9253  	return s.String()
  9254  }
  9255  
  9256  // Validate inspects the fields of the type to determine if they are valid.
  9257  func (s *SlackConnectorProfileCredentials) Validate() error {
  9258  	invalidParams := request.ErrInvalidParams{Context: "SlackConnectorProfileCredentials"}
  9259  	if s.ClientId == nil {
  9260  		invalidParams.Add(request.NewErrParamRequired("ClientId"))
  9261  	}
  9262  	if s.ClientSecret == nil {
  9263  		invalidParams.Add(request.NewErrParamRequired("ClientSecret"))
  9264  	}
  9265  
  9266  	if invalidParams.Len() > 0 {
  9267  		return invalidParams
  9268  	}
  9269  	return nil
  9270  }
  9271  
  9272  // SetAccessToken sets the AccessToken field's value.
  9273  func (s *SlackConnectorProfileCredentials) SetAccessToken(v string) *SlackConnectorProfileCredentials {
  9274  	s.AccessToken = &v
  9275  	return s
  9276  }
  9277  
  9278  // SetClientId sets the ClientId field's value.
  9279  func (s *SlackConnectorProfileCredentials) SetClientId(v string) *SlackConnectorProfileCredentials {
  9280  	s.ClientId = &v
  9281  	return s
  9282  }
  9283  
  9284  // SetClientSecret sets the ClientSecret field's value.
  9285  func (s *SlackConnectorProfileCredentials) SetClientSecret(v string) *SlackConnectorProfileCredentials {
  9286  	s.ClientSecret = &v
  9287  	return s
  9288  }
  9289  
  9290  // SetOAuthRequest sets the OAuthRequest field's value.
  9291  func (s *SlackConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *SlackConnectorProfileCredentials {
  9292  	s.OAuthRequest = v
  9293  	return s
  9294  }
  9295  
  9296  // The connector-specific profile properties required when using Slack.
  9297  type SlackConnectorProfileProperties struct {
  9298  	_ struct{} `type:"structure"`
  9299  
  9300  	// The location of the Slack resource.
  9301  	//
  9302  	// InstanceUrl is a required field
  9303  	InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"`
  9304  }
  9305  
  9306  // String returns the string representation.
  9307  //
  9308  // API parameter values that are decorated as "sensitive" in the API will not
  9309  // be included in the string output. The member name will be present, but the
  9310  // value will be replaced with "sensitive".
  9311  func (s SlackConnectorProfileProperties) String() string {
  9312  	return awsutil.Prettify(s)
  9313  }
  9314  
  9315  // GoString returns the string representation.
  9316  //
  9317  // API parameter values that are decorated as "sensitive" in the API will not
  9318  // be included in the string output. The member name will be present, but the
  9319  // value will be replaced with "sensitive".
  9320  func (s SlackConnectorProfileProperties) GoString() string {
  9321  	return s.String()
  9322  }
  9323  
  9324  // Validate inspects the fields of the type to determine if they are valid.
  9325  func (s *SlackConnectorProfileProperties) Validate() error {
  9326  	invalidParams := request.ErrInvalidParams{Context: "SlackConnectorProfileProperties"}
  9327  	if s.InstanceUrl == nil {
  9328  		invalidParams.Add(request.NewErrParamRequired("InstanceUrl"))
  9329  	}
  9330  
  9331  	if invalidParams.Len() > 0 {
  9332  		return invalidParams
  9333  	}
  9334  	return nil
  9335  }
  9336  
  9337  // SetInstanceUrl sets the InstanceUrl field's value.
  9338  func (s *SlackConnectorProfileProperties) SetInstanceUrl(v string) *SlackConnectorProfileProperties {
  9339  	s.InstanceUrl = &v
  9340  	return s
  9341  }
  9342  
  9343  // The connector metadata specific to Slack.
  9344  type SlackMetadata struct {
  9345  	_ struct{} `type:"structure"`
  9346  
  9347  	// The desired authorization scope for the Slack account.
  9348  	OAuthScopes []*string `locationName:"oAuthScopes" type:"list"`
  9349  }
  9350  
  9351  // String returns the string representation.
  9352  //
  9353  // API parameter values that are decorated as "sensitive" in the API will not
  9354  // be included in the string output. The member name will be present, but the
  9355  // value will be replaced with "sensitive".
  9356  func (s SlackMetadata) String() string {
  9357  	return awsutil.Prettify(s)
  9358  }
  9359  
  9360  // GoString returns the string representation.
  9361  //
  9362  // API parameter values that are decorated as "sensitive" in the API will not
  9363  // be included in the string output. The member name will be present, but the
  9364  // value will be replaced with "sensitive".
  9365  func (s SlackMetadata) GoString() string {
  9366  	return s.String()
  9367  }
  9368  
  9369  // SetOAuthScopes sets the OAuthScopes field's value.
  9370  func (s *SlackMetadata) SetOAuthScopes(v []*string) *SlackMetadata {
  9371  	s.OAuthScopes = v
  9372  	return s
  9373  }
  9374  
  9375  // The properties that are applied when Slack is being used as a source.
  9376  type SlackSourceProperties struct {
  9377  	_ struct{} `type:"structure"`
  9378  
  9379  	// The object specified in the Slack flow source.
  9380  	//
  9381  	// Object is a required field
  9382  	Object *string `locationName:"object" type:"string" required:"true"`
  9383  }
  9384  
  9385  // String returns the string representation.
  9386  //
  9387  // API parameter values that are decorated as "sensitive" in the API will not
  9388  // be included in the string output. The member name will be present, but the
  9389  // value will be replaced with "sensitive".
  9390  func (s SlackSourceProperties) String() string {
  9391  	return awsutil.Prettify(s)
  9392  }
  9393  
  9394  // GoString returns the string representation.
  9395  //
  9396  // API parameter values that are decorated as "sensitive" in the API will not
  9397  // be included in the string output. The member name will be present, but the
  9398  // value will be replaced with "sensitive".
  9399  func (s SlackSourceProperties) GoString() string {
  9400  	return s.String()
  9401  }
  9402  
  9403  // Validate inspects the fields of the type to determine if they are valid.
  9404  func (s *SlackSourceProperties) Validate() error {
  9405  	invalidParams := request.ErrInvalidParams{Context: "SlackSourceProperties"}
  9406  	if s.Object == nil {
  9407  		invalidParams.Add(request.NewErrParamRequired("Object"))
  9408  	}
  9409  
  9410  	if invalidParams.Len() > 0 {
  9411  		return invalidParams
  9412  	}
  9413  	return nil
  9414  }
  9415  
  9416  // SetObject sets the Object field's value.
  9417  func (s *SlackSourceProperties) SetObject(v string) *SlackSourceProperties {
  9418  	s.Object = &v
  9419  	return s
  9420  }
  9421  
  9422  // The connector-specific profile credentials required when using Snowflake.
  9423  type SnowflakeConnectorProfileCredentials struct {
  9424  	_ struct{} `type:"structure"`
  9425  
  9426  	// The password that corresponds to the user name.
  9427  	//
  9428  	// Password is a sensitive parameter and its value will be
  9429  	// replaced with "sensitive" in string returned by SnowflakeConnectorProfileCredentials's
  9430  	// String and GoString methods.
  9431  	//
  9432  	// Password is a required field
  9433  	Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"`
  9434  
  9435  	// The name of the user.
  9436  	//
  9437  	// Username is a required field
  9438  	Username *string `locationName:"username" type:"string" required:"true"`
  9439  }
  9440  
  9441  // String returns the string representation.
  9442  //
  9443  // API parameter values that are decorated as "sensitive" in the API will not
  9444  // be included in the string output. The member name will be present, but the
  9445  // value will be replaced with "sensitive".
  9446  func (s SnowflakeConnectorProfileCredentials) String() string {
  9447  	return awsutil.Prettify(s)
  9448  }
  9449  
  9450  // GoString returns the string representation.
  9451  //
  9452  // API parameter values that are decorated as "sensitive" in the API will not
  9453  // be included in the string output. The member name will be present, but the
  9454  // value will be replaced with "sensitive".
  9455  func (s SnowflakeConnectorProfileCredentials) GoString() string {
  9456  	return s.String()
  9457  }
  9458  
  9459  // Validate inspects the fields of the type to determine if they are valid.
  9460  func (s *SnowflakeConnectorProfileCredentials) Validate() error {
  9461  	invalidParams := request.ErrInvalidParams{Context: "SnowflakeConnectorProfileCredentials"}
  9462  	if s.Password == nil {
  9463  		invalidParams.Add(request.NewErrParamRequired("Password"))
  9464  	}
  9465  	if s.Username == nil {
  9466  		invalidParams.Add(request.NewErrParamRequired("Username"))
  9467  	}
  9468  
  9469  	if invalidParams.Len() > 0 {
  9470  		return invalidParams
  9471  	}
  9472  	return nil
  9473  }
  9474  
  9475  // SetPassword sets the Password field's value.
  9476  func (s *SnowflakeConnectorProfileCredentials) SetPassword(v string) *SnowflakeConnectorProfileCredentials {
  9477  	s.Password = &v
  9478  	return s
  9479  }
  9480  
  9481  // SetUsername sets the Username field's value.
  9482  func (s *SnowflakeConnectorProfileCredentials) SetUsername(v string) *SnowflakeConnectorProfileCredentials {
  9483  	s.Username = &v
  9484  	return s
  9485  }
  9486  
  9487  // The connector-specific profile properties required when using Snowflake.
  9488  type SnowflakeConnectorProfileProperties struct {
  9489  	_ struct{} `type:"structure"`
  9490  
  9491  	// The name of the account.
  9492  	AccountName *string `locationName:"accountName" type:"string"`
  9493  
  9494  	// The name of the Amazon S3 bucket associated with Snowflake.
  9495  	//
  9496  	// BucketName is a required field
  9497  	BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"`
  9498  
  9499  	// The bucket path that refers to the Amazon S3 bucket associated with Snowflake.
  9500  	BucketPrefix *string `locationName:"bucketPrefix" type:"string"`
  9501  
  9502  	// The Snowflake Private Link service name to be used for private data transfers.
  9503  	PrivateLinkServiceName *string `locationName:"privateLinkServiceName" type:"string"`
  9504  
  9505  	// The Amazon Web Services Region of the Snowflake account.
  9506  	Region *string `locationName:"region" type:"string"`
  9507  
  9508  	// The name of the Amazon S3 stage that was created while setting up an Amazon
  9509  	// S3 stage in the Snowflake account. This is written in the following format:
  9510  	// < Database>< Schema><Stage Name>.
  9511  	//
  9512  	// Stage is a required field
  9513  	Stage *string `locationName:"stage" type:"string" required:"true"`
  9514  
  9515  	// The name of the Snowflake warehouse.
  9516  	//
  9517  	// Warehouse is a required field
  9518  	Warehouse *string `locationName:"warehouse" type:"string" required:"true"`
  9519  }
  9520  
  9521  // String returns the string representation.
  9522  //
  9523  // API parameter values that are decorated as "sensitive" in the API will not
  9524  // be included in the string output. The member name will be present, but the
  9525  // value will be replaced with "sensitive".
  9526  func (s SnowflakeConnectorProfileProperties) String() string {
  9527  	return awsutil.Prettify(s)
  9528  }
  9529  
  9530  // GoString returns the string representation.
  9531  //
  9532  // API parameter values that are decorated as "sensitive" in the API will not
  9533  // be included in the string output. The member name will be present, but the
  9534  // value will be replaced with "sensitive".
  9535  func (s SnowflakeConnectorProfileProperties) GoString() string {
  9536  	return s.String()
  9537  }
  9538  
  9539  // Validate inspects the fields of the type to determine if they are valid.
  9540  func (s *SnowflakeConnectorProfileProperties) Validate() error {
  9541  	invalidParams := request.ErrInvalidParams{Context: "SnowflakeConnectorProfileProperties"}
  9542  	if s.BucketName == nil {
  9543  		invalidParams.Add(request.NewErrParamRequired("BucketName"))
  9544  	}
  9545  	if s.BucketName != nil && len(*s.BucketName) < 3 {
  9546  		invalidParams.Add(request.NewErrParamMinLen("BucketName", 3))
  9547  	}
  9548  	if s.Stage == nil {
  9549  		invalidParams.Add(request.NewErrParamRequired("Stage"))
  9550  	}
  9551  	if s.Warehouse == nil {
  9552  		invalidParams.Add(request.NewErrParamRequired("Warehouse"))
  9553  	}
  9554  
  9555  	if invalidParams.Len() > 0 {
  9556  		return invalidParams
  9557  	}
  9558  	return nil
  9559  }
  9560  
  9561  // SetAccountName sets the AccountName field's value.
  9562  func (s *SnowflakeConnectorProfileProperties) SetAccountName(v string) *SnowflakeConnectorProfileProperties {
  9563  	s.AccountName = &v
  9564  	return s
  9565  }
  9566  
  9567  // SetBucketName sets the BucketName field's value.
  9568  func (s *SnowflakeConnectorProfileProperties) SetBucketName(v string) *SnowflakeConnectorProfileProperties {
  9569  	s.BucketName = &v
  9570  	return s
  9571  }
  9572  
  9573  // SetBucketPrefix sets the BucketPrefix field's value.
  9574  func (s *SnowflakeConnectorProfileProperties) SetBucketPrefix(v string) *SnowflakeConnectorProfileProperties {
  9575  	s.BucketPrefix = &v
  9576  	return s
  9577  }
  9578  
  9579  // SetPrivateLinkServiceName sets the PrivateLinkServiceName field's value.
  9580  func (s *SnowflakeConnectorProfileProperties) SetPrivateLinkServiceName(v string) *SnowflakeConnectorProfileProperties {
  9581  	s.PrivateLinkServiceName = &v
  9582  	return s
  9583  }
  9584  
  9585  // SetRegion sets the Region field's value.
  9586  func (s *SnowflakeConnectorProfileProperties) SetRegion(v string) *SnowflakeConnectorProfileProperties {
  9587  	s.Region = &v
  9588  	return s
  9589  }
  9590  
  9591  // SetStage sets the Stage field's value.
  9592  func (s *SnowflakeConnectorProfileProperties) SetStage(v string) *SnowflakeConnectorProfileProperties {
  9593  	s.Stage = &v
  9594  	return s
  9595  }
  9596  
  9597  // SetWarehouse sets the Warehouse field's value.
  9598  func (s *SnowflakeConnectorProfileProperties) SetWarehouse(v string) *SnowflakeConnectorProfileProperties {
  9599  	s.Warehouse = &v
  9600  	return s
  9601  }
  9602  
  9603  // The properties that are applied when Snowflake is being used as a destination.
  9604  type SnowflakeDestinationProperties struct {
  9605  	_ struct{} `type:"structure"`
  9606  
  9607  	// The object key for the destination bucket in which Amazon AppFlow places
  9608  	// the files.
  9609  	BucketPrefix *string `locationName:"bucketPrefix" type:"string"`
  9610  
  9611  	// The settings that determine how Amazon AppFlow handles an error when placing
  9612  	// data in the Snowflake destination. For example, this setting would determine
  9613  	// if the flow should fail after one insertion error, or continue and attempt
  9614  	// to insert every record regardless of the initial failure. ErrorHandlingConfig
  9615  	// is a part of the destination connector details.
  9616  	ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"`
  9617  
  9618  	// The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.
  9619  	//
  9620  	// IntermediateBucketName is a required field
  9621  	IntermediateBucketName *string `locationName:"intermediateBucketName" min:"3" type:"string" required:"true"`
  9622  
  9623  	// The object specified in the Snowflake flow destination.
  9624  	//
  9625  	// Object is a required field
  9626  	Object *string `locationName:"object" type:"string" required:"true"`
  9627  }
  9628  
  9629  // String returns the string representation.
  9630  //
  9631  // API parameter values that are decorated as "sensitive" in the API will not
  9632  // be included in the string output. The member name will be present, but the
  9633  // value will be replaced with "sensitive".
  9634  func (s SnowflakeDestinationProperties) String() string {
  9635  	return awsutil.Prettify(s)
  9636  }
  9637  
  9638  // GoString returns the string representation.
  9639  //
  9640  // API parameter values that are decorated as "sensitive" in the API will not
  9641  // be included in the string output. The member name will be present, but the
  9642  // value will be replaced with "sensitive".
  9643  func (s SnowflakeDestinationProperties) GoString() string {
  9644  	return s.String()
  9645  }
  9646  
  9647  // Validate inspects the fields of the type to determine if they are valid.
  9648  func (s *SnowflakeDestinationProperties) Validate() error {
  9649  	invalidParams := request.ErrInvalidParams{Context: "SnowflakeDestinationProperties"}
  9650  	if s.IntermediateBucketName == nil {
  9651  		invalidParams.Add(request.NewErrParamRequired("IntermediateBucketName"))
  9652  	}
  9653  	if s.IntermediateBucketName != nil && len(*s.IntermediateBucketName) < 3 {
  9654  		invalidParams.Add(request.NewErrParamMinLen("IntermediateBucketName", 3))
  9655  	}
  9656  	if s.Object == nil {
  9657  		invalidParams.Add(request.NewErrParamRequired("Object"))
  9658  	}
  9659  	if s.ErrorHandlingConfig != nil {
  9660  		if err := s.ErrorHandlingConfig.Validate(); err != nil {
  9661  			invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams))
  9662  		}
  9663  	}
  9664  
  9665  	if invalidParams.Len() > 0 {
  9666  		return invalidParams
  9667  	}
  9668  	return nil
  9669  }
  9670  
  9671  // SetBucketPrefix sets the BucketPrefix field's value.
  9672  func (s *SnowflakeDestinationProperties) SetBucketPrefix(v string) *SnowflakeDestinationProperties {
  9673  	s.BucketPrefix = &v
  9674  	return s
  9675  }
  9676  
  9677  // SetErrorHandlingConfig sets the ErrorHandlingConfig field's value.
  9678  func (s *SnowflakeDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *SnowflakeDestinationProperties {
  9679  	s.ErrorHandlingConfig = v
  9680  	return s
  9681  }
  9682  
  9683  // SetIntermediateBucketName sets the IntermediateBucketName field's value.
  9684  func (s *SnowflakeDestinationProperties) SetIntermediateBucketName(v string) *SnowflakeDestinationProperties {
  9685  	s.IntermediateBucketName = &v
  9686  	return s
  9687  }
  9688  
  9689  // SetObject sets the Object field's value.
  9690  func (s *SnowflakeDestinationProperties) SetObject(v string) *SnowflakeDestinationProperties {
  9691  	s.Object = &v
  9692  	return s
  9693  }
  9694  
  9695  // The connector metadata specific to Snowflake.
  9696  type SnowflakeMetadata struct {
  9697  	_ struct{} `type:"structure"`
  9698  
  9699  	// Specifies the supported Amazon Web Services Regions when using Snowflake.
  9700  	SupportedRegions []*string `locationName:"supportedRegions" type:"list"`
  9701  }
  9702  
  9703  // String returns the string representation.
  9704  //
  9705  // API parameter values that are decorated as "sensitive" in the API will not
  9706  // be included in the string output. The member name will be present, but the
  9707  // value will be replaced with "sensitive".
  9708  func (s SnowflakeMetadata) String() string {
  9709  	return awsutil.Prettify(s)
  9710  }
  9711  
  9712  // GoString returns the string representation.
  9713  //
  9714  // API parameter values that are decorated as "sensitive" in the API will not
  9715  // be included in the string output. The member name will be present, but the
  9716  // value will be replaced with "sensitive".
  9717  func (s SnowflakeMetadata) GoString() string {
  9718  	return s.String()
  9719  }
  9720  
  9721  // SetSupportedRegions sets the SupportedRegions field's value.
  9722  func (s *SnowflakeMetadata) SetSupportedRegions(v []*string) *SnowflakeMetadata {
  9723  	s.SupportedRegions = v
  9724  	return s
  9725  }
  9726  
  9727  // Specifies the information that is required to query a particular connector.
  9728  type SourceConnectorProperties struct {
  9729  	_ struct{} `type:"structure"`
  9730  
  9731  	// Specifies the information that is required for querying Amplitude.
  9732  	Amplitude *AmplitudeSourceProperties `type:"structure"`
  9733  
  9734  	// Specifies the information that is required for querying Datadog.
  9735  	Datadog *DatadogSourceProperties `type:"structure"`
  9736  
  9737  	// Specifies the information that is required for querying Dynatrace.
  9738  	Dynatrace *DynatraceSourceProperties `type:"structure"`
  9739  
  9740  	// Specifies the information that is required for querying Google Analytics.
  9741  	GoogleAnalytics *GoogleAnalyticsSourceProperties `type:"structure"`
  9742  
  9743  	// Specifies the information that is required for querying Infor Nexus.
  9744  	InforNexus *InforNexusSourceProperties `type:"structure"`
  9745  
  9746  	// Specifies the information that is required for querying Marketo.
  9747  	Marketo *MarketoSourceProperties `type:"structure"`
  9748  
  9749  	// Specifies the information that is required for querying Amazon S3.
  9750  	S3 *S3SourceProperties `type:"structure"`
  9751  
  9752  	// The properties that are applied when using SAPOData as a flow source.
  9753  	SAPOData *SAPODataSourceProperties `type:"structure"`
  9754  
  9755  	// Specifies the information that is required for querying Salesforce.
  9756  	Salesforce *SalesforceSourceProperties `type:"structure"`
  9757  
  9758  	// Specifies the information that is required for querying ServiceNow.
  9759  	ServiceNow *ServiceNowSourceProperties `type:"structure"`
  9760  
  9761  	// Specifies the information that is required for querying Singular.
  9762  	Singular *SingularSourceProperties `type:"structure"`
  9763  
  9764  	// Specifies the information that is required for querying Slack.
  9765  	Slack *SlackSourceProperties `type:"structure"`
  9766  
  9767  	// Specifies the information that is required for querying Trend Micro.
  9768  	Trendmicro *TrendmicroSourceProperties `type:"structure"`
  9769  
  9770  	// Specifies the information that is required for querying Veeva.
  9771  	Veeva *VeevaSourceProperties `type:"structure"`
  9772  
  9773  	// Specifies the information that is required for querying Zendesk.
  9774  	Zendesk *ZendeskSourceProperties `type:"structure"`
  9775  }
  9776  
  9777  // String returns the string representation.
  9778  //
  9779  // API parameter values that are decorated as "sensitive" in the API will not
  9780  // be included in the string output. The member name will be present, but the
  9781  // value will be replaced with "sensitive".
  9782  func (s SourceConnectorProperties) String() string {
  9783  	return awsutil.Prettify(s)
  9784  }
  9785  
  9786  // GoString returns the string representation.
  9787  //
  9788  // API parameter values that are decorated as "sensitive" in the API will not
  9789  // be included in the string output. The member name will be present, but the
  9790  // value will be replaced with "sensitive".
  9791  func (s SourceConnectorProperties) GoString() string {
  9792  	return s.String()
  9793  }
  9794  
  9795  // Validate inspects the fields of the type to determine if they are valid.
  9796  func (s *SourceConnectorProperties) Validate() error {
  9797  	invalidParams := request.ErrInvalidParams{Context: "SourceConnectorProperties"}
  9798  	if s.Amplitude != nil {
  9799  		if err := s.Amplitude.Validate(); err != nil {
  9800  			invalidParams.AddNested("Amplitude", err.(request.ErrInvalidParams))
  9801  		}
  9802  	}
  9803  	if s.Datadog != nil {
  9804  		if err := s.Datadog.Validate(); err != nil {
  9805  			invalidParams.AddNested("Datadog", err.(request.ErrInvalidParams))
  9806  		}
  9807  	}
  9808  	if s.Dynatrace != nil {
  9809  		if err := s.Dynatrace.Validate(); err != nil {
  9810  			invalidParams.AddNested("Dynatrace", err.(request.ErrInvalidParams))
  9811  		}
  9812  	}
  9813  	if s.GoogleAnalytics != nil {
  9814  		if err := s.GoogleAnalytics.Validate(); err != nil {
  9815  			invalidParams.AddNested("GoogleAnalytics", err.(request.ErrInvalidParams))
  9816  		}
  9817  	}
  9818  	if s.InforNexus != nil {
  9819  		if err := s.InforNexus.Validate(); err != nil {
  9820  			invalidParams.AddNested("InforNexus", err.(request.ErrInvalidParams))
  9821  		}
  9822  	}
  9823  	if s.Marketo != nil {
  9824  		if err := s.Marketo.Validate(); err != nil {
  9825  			invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams))
  9826  		}
  9827  	}
  9828  	if s.S3 != nil {
  9829  		if err := s.S3.Validate(); err != nil {
  9830  			invalidParams.AddNested("S3", err.(request.ErrInvalidParams))
  9831  		}
  9832  	}
  9833  	if s.Salesforce != nil {
  9834  		if err := s.Salesforce.Validate(); err != nil {
  9835  			invalidParams.AddNested("Salesforce", err.(request.ErrInvalidParams))
  9836  		}
  9837  	}
  9838  	if s.ServiceNow != nil {
  9839  		if err := s.ServiceNow.Validate(); err != nil {
  9840  			invalidParams.AddNested("ServiceNow", err.(request.ErrInvalidParams))
  9841  		}
  9842  	}
  9843  	if s.Singular != nil {
  9844  		if err := s.Singular.Validate(); err != nil {
  9845  			invalidParams.AddNested("Singular", err.(request.ErrInvalidParams))
  9846  		}
  9847  	}
  9848  	if s.Slack != nil {
  9849  		if err := s.Slack.Validate(); err != nil {
  9850  			invalidParams.AddNested("Slack", err.(request.ErrInvalidParams))
  9851  		}
  9852  	}
  9853  	if s.Trendmicro != nil {
  9854  		if err := s.Trendmicro.Validate(); err != nil {
  9855  			invalidParams.AddNested("Trendmicro", err.(request.ErrInvalidParams))
  9856  		}
  9857  	}
  9858  	if s.Veeva != nil {
  9859  		if err := s.Veeva.Validate(); err != nil {
  9860  			invalidParams.AddNested("Veeva", err.(request.ErrInvalidParams))
  9861  		}
  9862  	}
  9863  	if s.Zendesk != nil {
  9864  		if err := s.Zendesk.Validate(); err != nil {
  9865  			invalidParams.AddNested("Zendesk", err.(request.ErrInvalidParams))
  9866  		}
  9867  	}
  9868  
  9869  	if invalidParams.Len() > 0 {
  9870  		return invalidParams
  9871  	}
  9872  	return nil
  9873  }
  9874  
  9875  // SetAmplitude sets the Amplitude field's value.
  9876  func (s *SourceConnectorProperties) SetAmplitude(v *AmplitudeSourceProperties) *SourceConnectorProperties {
  9877  	s.Amplitude = v
  9878  	return s
  9879  }
  9880  
  9881  // SetDatadog sets the Datadog field's value.
  9882  func (s *SourceConnectorProperties) SetDatadog(v *DatadogSourceProperties) *SourceConnectorProperties {
  9883  	s.Datadog = v
  9884  	return s
  9885  }
  9886  
  9887  // SetDynatrace sets the Dynatrace field's value.
  9888  func (s *SourceConnectorProperties) SetDynatrace(v *DynatraceSourceProperties) *SourceConnectorProperties {
  9889  	s.Dynatrace = v
  9890  	return s
  9891  }
  9892  
  9893  // SetGoogleAnalytics sets the GoogleAnalytics field's value.
  9894  func (s *SourceConnectorProperties) SetGoogleAnalytics(v *GoogleAnalyticsSourceProperties) *SourceConnectorProperties {
  9895  	s.GoogleAnalytics = v
  9896  	return s
  9897  }
  9898  
  9899  // SetInforNexus sets the InforNexus field's value.
  9900  func (s *SourceConnectorProperties) SetInforNexus(v *InforNexusSourceProperties) *SourceConnectorProperties {
  9901  	s.InforNexus = v
  9902  	return s
  9903  }
  9904  
  9905  // SetMarketo sets the Marketo field's value.
  9906  func (s *SourceConnectorProperties) SetMarketo(v *MarketoSourceProperties) *SourceConnectorProperties {
  9907  	s.Marketo = v
  9908  	return s
  9909  }
  9910  
  9911  // SetS3 sets the S3 field's value.
  9912  func (s *SourceConnectorProperties) SetS3(v *S3SourceProperties) *SourceConnectorProperties {
  9913  	s.S3 = v
  9914  	return s
  9915  }
  9916  
  9917  // SetSAPOData sets the SAPOData field's value.
  9918  func (s *SourceConnectorProperties) SetSAPOData(v *SAPODataSourceProperties) *SourceConnectorProperties {
  9919  	s.SAPOData = v
  9920  	return s
  9921  }
  9922  
  9923  // SetSalesforce sets the Salesforce field's value.
  9924  func (s *SourceConnectorProperties) SetSalesforce(v *SalesforceSourceProperties) *SourceConnectorProperties {
  9925  	s.Salesforce = v
  9926  	return s
  9927  }
  9928  
  9929  // SetServiceNow sets the ServiceNow field's value.
  9930  func (s *SourceConnectorProperties) SetServiceNow(v *ServiceNowSourceProperties) *SourceConnectorProperties {
  9931  	s.ServiceNow = v
  9932  	return s
  9933  }
  9934  
  9935  // SetSingular sets the Singular field's value.
  9936  func (s *SourceConnectorProperties) SetSingular(v *SingularSourceProperties) *SourceConnectorProperties {
  9937  	s.Singular = v
  9938  	return s
  9939  }
  9940  
  9941  // SetSlack sets the Slack field's value.
  9942  func (s *SourceConnectorProperties) SetSlack(v *SlackSourceProperties) *SourceConnectorProperties {
  9943  	s.Slack = v
  9944  	return s
  9945  }
  9946  
  9947  // SetTrendmicro sets the Trendmicro field's value.
  9948  func (s *SourceConnectorProperties) SetTrendmicro(v *TrendmicroSourceProperties) *SourceConnectorProperties {
  9949  	s.Trendmicro = v
  9950  	return s
  9951  }
  9952  
  9953  // SetVeeva sets the Veeva field's value.
  9954  func (s *SourceConnectorProperties) SetVeeva(v *VeevaSourceProperties) *SourceConnectorProperties {
  9955  	s.Veeva = v
  9956  	return s
  9957  }
  9958  
  9959  // SetZendesk sets the Zendesk field's value.
  9960  func (s *SourceConnectorProperties) SetZendesk(v *ZendeskSourceProperties) *SourceConnectorProperties {
  9961  	s.Zendesk = v
  9962  	return s
  9963  }
  9964  
  9965  // The properties that can be applied to a field when the connector is being
  9966  // used as a source.
  9967  type SourceFieldProperties struct {
  9968  	_ struct{} `type:"structure"`
  9969  
  9970  	// Indicates if the field can be queried.
  9971  	IsQueryable *bool `locationName:"isQueryable" type:"boolean"`
  9972  
  9973  	// Indicates whether the field can be returned in a search result.
  9974  	IsRetrievable *bool `locationName:"isRetrievable" type:"boolean"`
  9975  }
  9976  
  9977  // String returns the string representation.
  9978  //
  9979  // API parameter values that are decorated as "sensitive" in the API will not
  9980  // be included in the string output. The member name will be present, but the
  9981  // value will be replaced with "sensitive".
  9982  func (s SourceFieldProperties) String() string {
  9983  	return awsutil.Prettify(s)
  9984  }
  9985  
  9986  // GoString returns the string representation.
  9987  //
  9988  // API parameter values that are decorated as "sensitive" in the API will not
  9989  // be included in the string output. The member name will be present, but the
  9990  // value will be replaced with "sensitive".
  9991  func (s SourceFieldProperties) GoString() string {
  9992  	return s.String()
  9993  }
  9994  
  9995  // SetIsQueryable sets the IsQueryable field's value.
  9996  func (s *SourceFieldProperties) SetIsQueryable(v bool) *SourceFieldProperties {
  9997  	s.IsQueryable = &v
  9998  	return s
  9999  }
 10000  
 10001  // SetIsRetrievable sets the IsRetrievable field's value.
 10002  func (s *SourceFieldProperties) SetIsRetrievable(v bool) *SourceFieldProperties {
 10003  	s.IsRetrievable = &v
 10004  	return s
 10005  }
 10006  
 10007  // Contains information about the configuration of the source connector used
 10008  // in the flow.
 10009  type SourceFlowConfig struct {
 10010  	_ struct{} `type:"structure"`
 10011  
 10012  	// The name of the connector profile. This name must be unique for each connector
 10013  	// profile in the Amazon Web Services account.
 10014  	ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"`
 10015  
 10016  	// The type of connector, such as Salesforce, Amplitude, and so on.
 10017  	//
 10018  	// ConnectorType is a required field
 10019  	ConnectorType *string `locationName:"connectorType" type:"string" required:"true" enum:"ConnectorType"`
 10020  
 10021  	// Defines the configuration for a scheduled incremental data pull. If a valid
 10022  	// configuration is provided, the fields specified in the configuration are
 10023  	// used when querying for the incremental data pull.
 10024  	IncrementalPullConfig *IncrementalPullConfig `locationName:"incrementalPullConfig" type:"structure"`
 10025  
 10026  	// Specifies the information that is required to query a particular source connector.
 10027  	//
 10028  	// SourceConnectorProperties is a required field
 10029  	SourceConnectorProperties *SourceConnectorProperties `locationName:"sourceConnectorProperties" type:"structure" required:"true"`
 10030  }
 10031  
 10032  // String returns the string representation.
 10033  //
 10034  // API parameter values that are decorated as "sensitive" in the API will not
 10035  // be included in the string output. The member name will be present, but the
 10036  // value will be replaced with "sensitive".
 10037  func (s SourceFlowConfig) String() string {
 10038  	return awsutil.Prettify(s)
 10039  }
 10040  
 10041  // GoString returns the string representation.
 10042  //
 10043  // API parameter values that are decorated as "sensitive" in the API will not
 10044  // be included in the string output. The member name will be present, but the
 10045  // value will be replaced with "sensitive".
 10046  func (s SourceFlowConfig) GoString() string {
 10047  	return s.String()
 10048  }
 10049  
 10050  // Validate inspects the fields of the type to determine if they are valid.
 10051  func (s *SourceFlowConfig) Validate() error {
 10052  	invalidParams := request.ErrInvalidParams{Context: "SourceFlowConfig"}
 10053  	if s.ConnectorType == nil {
 10054  		invalidParams.Add(request.NewErrParamRequired("ConnectorType"))
 10055  	}
 10056  	if s.SourceConnectorProperties == nil {
 10057  		invalidParams.Add(request.NewErrParamRequired("SourceConnectorProperties"))
 10058  	}
 10059  	if s.SourceConnectorProperties != nil {
 10060  		if err := s.SourceConnectorProperties.Validate(); err != nil {
 10061  			invalidParams.AddNested("SourceConnectorProperties", err.(request.ErrInvalidParams))
 10062  		}
 10063  	}
 10064  
 10065  	if invalidParams.Len() > 0 {
 10066  		return invalidParams
 10067  	}
 10068  	return nil
 10069  }
 10070  
 10071  // SetConnectorProfileName sets the ConnectorProfileName field's value.
 10072  func (s *SourceFlowConfig) SetConnectorProfileName(v string) *SourceFlowConfig {
 10073  	s.ConnectorProfileName = &v
 10074  	return s
 10075  }
 10076  
 10077  // SetConnectorType sets the ConnectorType field's value.
 10078  func (s *SourceFlowConfig) SetConnectorType(v string) *SourceFlowConfig {
 10079  	s.ConnectorType = &v
 10080  	return s
 10081  }
 10082  
 10083  // SetIncrementalPullConfig sets the IncrementalPullConfig field's value.
 10084  func (s *SourceFlowConfig) SetIncrementalPullConfig(v *IncrementalPullConfig) *SourceFlowConfig {
 10085  	s.IncrementalPullConfig = v
 10086  	return s
 10087  }
 10088  
 10089  // SetSourceConnectorProperties sets the SourceConnectorProperties field's value.
 10090  func (s *SourceFlowConfig) SetSourceConnectorProperties(v *SourceConnectorProperties) *SourceFlowConfig {
 10091  	s.SourceConnectorProperties = v
 10092  	return s
 10093  }
 10094  
 10095  type StartFlowInput struct {
 10096  	_ struct{} `type:"structure"`
 10097  
 10098  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
 10099  	// or hyphens (-) only.
 10100  	//
 10101  	// FlowName is a required field
 10102  	FlowName *string `locationName:"flowName" type:"string" required:"true"`
 10103  }
 10104  
 10105  // String returns the string representation.
 10106  //
 10107  // API parameter values that are decorated as "sensitive" in the API will not
 10108  // be included in the string output. The member name will be present, but the
 10109  // value will be replaced with "sensitive".
 10110  func (s StartFlowInput) String() string {
 10111  	return awsutil.Prettify(s)
 10112  }
 10113  
 10114  // GoString returns the string representation.
 10115  //
 10116  // API parameter values that are decorated as "sensitive" in the API will not
 10117  // be included in the string output. The member name will be present, but the
 10118  // value will be replaced with "sensitive".
 10119  func (s StartFlowInput) GoString() string {
 10120  	return s.String()
 10121  }
 10122  
 10123  // Validate inspects the fields of the type to determine if they are valid.
 10124  func (s *StartFlowInput) Validate() error {
 10125  	invalidParams := request.ErrInvalidParams{Context: "StartFlowInput"}
 10126  	if s.FlowName == nil {
 10127  		invalidParams.Add(request.NewErrParamRequired("FlowName"))
 10128  	}
 10129  
 10130  	if invalidParams.Len() > 0 {
 10131  		return invalidParams
 10132  	}
 10133  	return nil
 10134  }
 10135  
 10136  // SetFlowName sets the FlowName field's value.
 10137  func (s *StartFlowInput) SetFlowName(v string) *StartFlowInput {
 10138  	s.FlowName = &v
 10139  	return s
 10140  }
 10141  
 10142  type StartFlowOutput struct {
 10143  	_ struct{} `type:"structure"`
 10144  
 10145  	// Returns the internal execution ID of an on-demand flow when the flow is started.
 10146  	// For scheduled or event-triggered flows, this value is null.
 10147  	ExecutionId *string `locationName:"executionId" type:"string"`
 10148  
 10149  	// The flow's Amazon Resource Name (ARN).
 10150  	FlowArn *string `locationName:"flowArn" type:"string"`
 10151  
 10152  	// Indicates the current status of the flow.
 10153  	FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"`
 10154  }
 10155  
 10156  // String returns the string representation.
 10157  //
 10158  // API parameter values that are decorated as "sensitive" in the API will not
 10159  // be included in the string output. The member name will be present, but the
 10160  // value will be replaced with "sensitive".
 10161  func (s StartFlowOutput) String() string {
 10162  	return awsutil.Prettify(s)
 10163  }
 10164  
 10165  // GoString returns the string representation.
 10166  //
 10167  // API parameter values that are decorated as "sensitive" in the API will not
 10168  // be included in the string output. The member name will be present, but the
 10169  // value will be replaced with "sensitive".
 10170  func (s StartFlowOutput) GoString() string {
 10171  	return s.String()
 10172  }
 10173  
 10174  // SetExecutionId sets the ExecutionId field's value.
 10175  func (s *StartFlowOutput) SetExecutionId(v string) *StartFlowOutput {
 10176  	s.ExecutionId = &v
 10177  	return s
 10178  }
 10179  
 10180  // SetFlowArn sets the FlowArn field's value.
 10181  func (s *StartFlowOutput) SetFlowArn(v string) *StartFlowOutput {
 10182  	s.FlowArn = &v
 10183  	return s
 10184  }
 10185  
 10186  // SetFlowStatus sets the FlowStatus field's value.
 10187  func (s *StartFlowOutput) SetFlowStatus(v string) *StartFlowOutput {
 10188  	s.FlowStatus = &v
 10189  	return s
 10190  }
 10191  
 10192  type StopFlowInput struct {
 10193  	_ struct{} `type:"structure"`
 10194  
 10195  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
 10196  	// or hyphens (-) only.
 10197  	//
 10198  	// FlowName is a required field
 10199  	FlowName *string `locationName:"flowName" type:"string" required:"true"`
 10200  }
 10201  
 10202  // String returns the string representation.
 10203  //
 10204  // API parameter values that are decorated as "sensitive" in the API will not
 10205  // be included in the string output. The member name will be present, but the
 10206  // value will be replaced with "sensitive".
 10207  func (s StopFlowInput) String() string {
 10208  	return awsutil.Prettify(s)
 10209  }
 10210  
 10211  // GoString returns the string representation.
 10212  //
 10213  // API parameter values that are decorated as "sensitive" in the API will not
 10214  // be included in the string output. The member name will be present, but the
 10215  // value will be replaced with "sensitive".
 10216  func (s StopFlowInput) GoString() string {
 10217  	return s.String()
 10218  }
 10219  
 10220  // Validate inspects the fields of the type to determine if they are valid.
 10221  func (s *StopFlowInput) Validate() error {
 10222  	invalidParams := request.ErrInvalidParams{Context: "StopFlowInput"}
 10223  	if s.FlowName == nil {
 10224  		invalidParams.Add(request.NewErrParamRequired("FlowName"))
 10225  	}
 10226  
 10227  	if invalidParams.Len() > 0 {
 10228  		return invalidParams
 10229  	}
 10230  	return nil
 10231  }
 10232  
 10233  // SetFlowName sets the FlowName field's value.
 10234  func (s *StopFlowInput) SetFlowName(v string) *StopFlowInput {
 10235  	s.FlowName = &v
 10236  	return s
 10237  }
 10238  
 10239  type StopFlowOutput struct {
 10240  	_ struct{} `type:"structure"`
 10241  
 10242  	// The flow's Amazon Resource Name (ARN).
 10243  	FlowArn *string `locationName:"flowArn" type:"string"`
 10244  
 10245  	// Indicates the current status of the flow.
 10246  	FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"`
 10247  }
 10248  
 10249  // String returns the string representation.
 10250  //
 10251  // API parameter values that are decorated as "sensitive" in the API will not
 10252  // be included in the string output. The member name will be present, but the
 10253  // value will be replaced with "sensitive".
 10254  func (s StopFlowOutput) String() string {
 10255  	return awsutil.Prettify(s)
 10256  }
 10257  
 10258  // GoString returns the string representation.
 10259  //
 10260  // API parameter values that are decorated as "sensitive" in the API will not
 10261  // be included in the string output. The member name will be present, but the
 10262  // value will be replaced with "sensitive".
 10263  func (s StopFlowOutput) GoString() string {
 10264  	return s.String()
 10265  }
 10266  
 10267  // SetFlowArn sets the FlowArn field's value.
 10268  func (s *StopFlowOutput) SetFlowArn(v string) *StopFlowOutput {
 10269  	s.FlowArn = &v
 10270  	return s
 10271  }
 10272  
 10273  // SetFlowStatus sets the FlowStatus field's value.
 10274  func (s *StopFlowOutput) SetFlowStatus(v string) *StopFlowOutput {
 10275  	s.FlowStatus = &v
 10276  	return s
 10277  }
 10278  
 10279  // Contains details regarding all the supported FieldTypes and their corresponding
 10280  // filterOperators and supportedValues.
 10281  type SupportedFieldTypeDetails struct {
 10282  	_ struct{} `type:"structure"`
 10283  
 10284  	// The initial supported version for fieldType. If this is later changed to
 10285  	// a different version, v2 will be introduced.
 10286  	//
 10287  	// V1 is a required field
 10288  	V1 *FieldTypeDetails `locationName:"v1" type:"structure" required:"true"`
 10289  }
 10290  
 10291  // String returns the string representation.
 10292  //
 10293  // API parameter values that are decorated as "sensitive" in the API will not
 10294  // be included in the string output. The member name will be present, but the
 10295  // value will be replaced with "sensitive".
 10296  func (s SupportedFieldTypeDetails) String() string {
 10297  	return awsutil.Prettify(s)
 10298  }
 10299  
 10300  // GoString returns the string representation.
 10301  //
 10302  // API parameter values that are decorated as "sensitive" in the API will not
 10303  // be included in the string output. The member name will be present, but the
 10304  // value will be replaced with "sensitive".
 10305  func (s SupportedFieldTypeDetails) GoString() string {
 10306  	return s.String()
 10307  }
 10308  
 10309  // SetV1 sets the V1 field's value.
 10310  func (s *SupportedFieldTypeDetails) SetV1(v *FieldTypeDetails) *SupportedFieldTypeDetails {
 10311  	s.V1 = v
 10312  	return s
 10313  }
 10314  
 10315  type TagResourceInput struct {
 10316  	_ struct{} `type:"structure"`
 10317  
 10318  	// The Amazon Resource Name (ARN) of the flow that you want to tag.
 10319  	//
 10320  	// ResourceArn is a required field
 10321  	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
 10322  
 10323  	// The tags used to organize, track, or control access for your flow.
 10324  	//
 10325  	// Tags is a required field
 10326  	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
 10327  }
 10328  
 10329  // String returns the string representation.
 10330  //
 10331  // API parameter values that are decorated as "sensitive" in the API will not
 10332  // be included in the string output. The member name will be present, but the
 10333  // value will be replaced with "sensitive".
 10334  func (s TagResourceInput) String() string {
 10335  	return awsutil.Prettify(s)
 10336  }
 10337  
 10338  // GoString returns the string representation.
 10339  //
 10340  // API parameter values that are decorated as "sensitive" in the API will not
 10341  // be included in the string output. The member name will be present, but the
 10342  // value will be replaced with "sensitive".
 10343  func (s TagResourceInput) GoString() string {
 10344  	return s.String()
 10345  }
 10346  
 10347  // Validate inspects the fields of the type to determine if they are valid.
 10348  func (s *TagResourceInput) Validate() error {
 10349  	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
 10350  	if s.ResourceArn == nil {
 10351  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 10352  	}
 10353  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 10354  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 10355  	}
 10356  	if s.Tags == nil {
 10357  		invalidParams.Add(request.NewErrParamRequired("Tags"))
 10358  	}
 10359  
 10360  	if invalidParams.Len() > 0 {
 10361  		return invalidParams
 10362  	}
 10363  	return nil
 10364  }
 10365  
 10366  // SetResourceArn sets the ResourceArn field's value.
 10367  func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
 10368  	s.ResourceArn = &v
 10369  	return s
 10370  }
 10371  
 10372  // SetTags sets the Tags field's value.
 10373  func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
 10374  	s.Tags = v
 10375  	return s
 10376  }
 10377  
 10378  type TagResourceOutput struct {
 10379  	_ struct{} `type:"structure" nopayload:"true"`
 10380  }
 10381  
 10382  // String returns the string representation.
 10383  //
 10384  // API parameter values that are decorated as "sensitive" in the API will not
 10385  // be included in the string output. The member name will be present, but the
 10386  // value will be replaced with "sensitive".
 10387  func (s TagResourceOutput) String() string {
 10388  	return awsutil.Prettify(s)
 10389  }
 10390  
 10391  // GoString returns the string representation.
 10392  //
 10393  // API parameter values that are decorated as "sensitive" in the API will not
 10394  // be included in the string output. The member name will be present, but the
 10395  // value will be replaced with "sensitive".
 10396  func (s TagResourceOutput) GoString() string {
 10397  	return s.String()
 10398  }
 10399  
 10400  // A class for modeling different type of tasks. Task implementation varies
 10401  // based on the TaskType.
 10402  type Task struct {
 10403  	_ struct{} `type:"structure"`
 10404  
 10405  	// The operation to be performed on the provided source fields.
 10406  	ConnectorOperator *ConnectorOperator `locationName:"connectorOperator" type:"structure"`
 10407  
 10408  	// A field in a destination connector, or a field value against which Amazon
 10409  	// AppFlow validates a source field.
 10410  	DestinationField *string `locationName:"destinationField" type:"string"`
 10411  
 10412  	// The source fields to which a particular task is applied.
 10413  	//
 10414  	// SourceFields is a required field
 10415  	SourceFields []*string `locationName:"sourceFields" type:"list" required:"true"`
 10416  
 10417  	// A map used to store task-related information. The execution service looks
 10418  	// for particular information based on the TaskType.
 10419  	TaskProperties map[string]*string `locationName:"taskProperties" type:"map"`
 10420  
 10421  	// Specifies the particular task implementation that Amazon AppFlow performs.
 10422  	//
 10423  	// TaskType is a required field
 10424  	TaskType *string `locationName:"taskType" type:"string" required:"true" enum:"TaskType"`
 10425  }
 10426  
 10427  // String returns the string representation.
 10428  //
 10429  // API parameter values that are decorated as "sensitive" in the API will not
 10430  // be included in the string output. The member name will be present, but the
 10431  // value will be replaced with "sensitive".
 10432  func (s Task) String() string {
 10433  	return awsutil.Prettify(s)
 10434  }
 10435  
 10436  // GoString returns the string representation.
 10437  //
 10438  // API parameter values that are decorated as "sensitive" in the API will not
 10439  // be included in the string output. The member name will be present, but the
 10440  // value will be replaced with "sensitive".
 10441  func (s Task) GoString() string {
 10442  	return s.String()
 10443  }
 10444  
 10445  // Validate inspects the fields of the type to determine if they are valid.
 10446  func (s *Task) Validate() error {
 10447  	invalidParams := request.ErrInvalidParams{Context: "Task"}
 10448  	if s.SourceFields == nil {
 10449  		invalidParams.Add(request.NewErrParamRequired("SourceFields"))
 10450  	}
 10451  	if s.TaskType == nil {
 10452  		invalidParams.Add(request.NewErrParamRequired("TaskType"))
 10453  	}
 10454  
 10455  	if invalidParams.Len() > 0 {
 10456  		return invalidParams
 10457  	}
 10458  	return nil
 10459  }
 10460  
 10461  // SetConnectorOperator sets the ConnectorOperator field's value.
 10462  func (s *Task) SetConnectorOperator(v *ConnectorOperator) *Task {
 10463  	s.ConnectorOperator = v
 10464  	return s
 10465  }
 10466  
 10467  // SetDestinationField sets the DestinationField field's value.
 10468  func (s *Task) SetDestinationField(v string) *Task {
 10469  	s.DestinationField = &v
 10470  	return s
 10471  }
 10472  
 10473  // SetSourceFields sets the SourceFields field's value.
 10474  func (s *Task) SetSourceFields(v []*string) *Task {
 10475  	s.SourceFields = v
 10476  	return s
 10477  }
 10478  
 10479  // SetTaskProperties sets the TaskProperties field's value.
 10480  func (s *Task) SetTaskProperties(v map[string]*string) *Task {
 10481  	s.TaskProperties = v
 10482  	return s
 10483  }
 10484  
 10485  // SetTaskType sets the TaskType field's value.
 10486  func (s *Task) SetTaskType(v string) *Task {
 10487  	s.TaskType = &v
 10488  	return s
 10489  }
 10490  
 10491  // The connector-specific profile credentials required when using Trend Micro.
 10492  type TrendmicroConnectorProfileCredentials struct {
 10493  	_ struct{} `type:"structure"`
 10494  
 10495  	// The Secret Access Key portion of the credentials.
 10496  	//
 10497  	// ApiSecretKey is a sensitive parameter and its value will be
 10498  	// replaced with "sensitive" in string returned by TrendmicroConnectorProfileCredentials's
 10499  	// String and GoString methods.
 10500  	//
 10501  	// ApiSecretKey is a required field
 10502  	ApiSecretKey *string `locationName:"apiSecretKey" type:"string" required:"true" sensitive:"true"`
 10503  }
 10504  
 10505  // String returns the string representation.
 10506  //
 10507  // API parameter values that are decorated as "sensitive" in the API will not
 10508  // be included in the string output. The member name will be present, but the
 10509  // value will be replaced with "sensitive".
 10510  func (s TrendmicroConnectorProfileCredentials) String() string {
 10511  	return awsutil.Prettify(s)
 10512  }
 10513  
 10514  // GoString returns the string representation.
 10515  //
 10516  // API parameter values that are decorated as "sensitive" in the API will not
 10517  // be included in the string output. The member name will be present, but the
 10518  // value will be replaced with "sensitive".
 10519  func (s TrendmicroConnectorProfileCredentials) GoString() string {
 10520  	return s.String()
 10521  }
 10522  
 10523  // Validate inspects the fields of the type to determine if they are valid.
 10524  func (s *TrendmicroConnectorProfileCredentials) Validate() error {
 10525  	invalidParams := request.ErrInvalidParams{Context: "TrendmicroConnectorProfileCredentials"}
 10526  	if s.ApiSecretKey == nil {
 10527  		invalidParams.Add(request.NewErrParamRequired("ApiSecretKey"))
 10528  	}
 10529  
 10530  	if invalidParams.Len() > 0 {
 10531  		return invalidParams
 10532  	}
 10533  	return nil
 10534  }
 10535  
 10536  // SetApiSecretKey sets the ApiSecretKey field's value.
 10537  func (s *TrendmicroConnectorProfileCredentials) SetApiSecretKey(v string) *TrendmicroConnectorProfileCredentials {
 10538  	s.ApiSecretKey = &v
 10539  	return s
 10540  }
 10541  
 10542  // The connector-specific profile properties required when using Trend Micro.
 10543  type TrendmicroConnectorProfileProperties struct {
 10544  	_ struct{} `type:"structure" nopayload:"true"`
 10545  }
 10546  
 10547  // String returns the string representation.
 10548  //
 10549  // API parameter values that are decorated as "sensitive" in the API will not
 10550  // be included in the string output. The member name will be present, but the
 10551  // value will be replaced with "sensitive".
 10552  func (s TrendmicroConnectorProfileProperties) String() string {
 10553  	return awsutil.Prettify(s)
 10554  }
 10555  
 10556  // GoString returns the string representation.
 10557  //
 10558  // API parameter values that are decorated as "sensitive" in the API will not
 10559  // be included in the string output. The member name will be present, but the
 10560  // value will be replaced with "sensitive".
 10561  func (s TrendmicroConnectorProfileProperties) GoString() string {
 10562  	return s.String()
 10563  }
 10564  
 10565  // The connector metadata specific to Trend Micro.
 10566  type TrendmicroMetadata struct {
 10567  	_ struct{} `type:"structure" nopayload:"true"`
 10568  }
 10569  
 10570  // String returns the string representation.
 10571  //
 10572  // API parameter values that are decorated as "sensitive" in the API will not
 10573  // be included in the string output. The member name will be present, but the
 10574  // value will be replaced with "sensitive".
 10575  func (s TrendmicroMetadata) String() string {
 10576  	return awsutil.Prettify(s)
 10577  }
 10578  
 10579  // GoString returns the string representation.
 10580  //
 10581  // API parameter values that are decorated as "sensitive" in the API will not
 10582  // be included in the string output. The member name will be present, but the
 10583  // value will be replaced with "sensitive".
 10584  func (s TrendmicroMetadata) GoString() string {
 10585  	return s.String()
 10586  }
 10587  
 10588  // The properties that are applied when using Trend Micro as a flow source.
 10589  type TrendmicroSourceProperties struct {
 10590  	_ struct{} `type:"structure"`
 10591  
 10592  	// The object specified in the Trend Micro flow source.
 10593  	//
 10594  	// Object is a required field
 10595  	Object *string `locationName:"object" type:"string" required:"true"`
 10596  }
 10597  
 10598  // String returns the string representation.
 10599  //
 10600  // API parameter values that are decorated as "sensitive" in the API will not
 10601  // be included in the string output. The member name will be present, but the
 10602  // value will be replaced with "sensitive".
 10603  func (s TrendmicroSourceProperties) String() string {
 10604  	return awsutil.Prettify(s)
 10605  }
 10606  
 10607  // GoString returns the string representation.
 10608  //
 10609  // API parameter values that are decorated as "sensitive" in the API will not
 10610  // be included in the string output. The member name will be present, but the
 10611  // value will be replaced with "sensitive".
 10612  func (s TrendmicroSourceProperties) GoString() string {
 10613  	return s.String()
 10614  }
 10615  
 10616  // Validate inspects the fields of the type to determine if they are valid.
 10617  func (s *TrendmicroSourceProperties) Validate() error {
 10618  	invalidParams := request.ErrInvalidParams{Context: "TrendmicroSourceProperties"}
 10619  	if s.Object == nil {
 10620  		invalidParams.Add(request.NewErrParamRequired("Object"))
 10621  	}
 10622  
 10623  	if invalidParams.Len() > 0 {
 10624  		return invalidParams
 10625  	}
 10626  	return nil
 10627  }
 10628  
 10629  // SetObject sets the Object field's value.
 10630  func (s *TrendmicroSourceProperties) SetObject(v string) *TrendmicroSourceProperties {
 10631  	s.Object = &v
 10632  	return s
 10633  }
 10634  
 10635  // The trigger settings that determine how and when Amazon AppFlow runs the
 10636  // specified flow.
 10637  type TriggerConfig struct {
 10638  	_ struct{} `type:"structure"`
 10639  
 10640  	// Specifies the configuration details of a schedule-triggered flow as defined
 10641  	// by the user. Currently, these settings only apply to the Scheduled trigger
 10642  	// type.
 10643  	TriggerProperties *TriggerProperties `locationName:"triggerProperties" type:"structure"`
 10644  
 10645  	// Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event.
 10646  	//
 10647  	// TriggerType is a required field
 10648  	TriggerType *string `locationName:"triggerType" type:"string" required:"true" enum:"TriggerType"`
 10649  }
 10650  
 10651  // String returns the string representation.
 10652  //
 10653  // API parameter values that are decorated as "sensitive" in the API will not
 10654  // be included in the string output. The member name will be present, but the
 10655  // value will be replaced with "sensitive".
 10656  func (s TriggerConfig) String() string {
 10657  	return awsutil.Prettify(s)
 10658  }
 10659  
 10660  // GoString returns the string representation.
 10661  //
 10662  // API parameter values that are decorated as "sensitive" in the API will not
 10663  // be included in the string output. The member name will be present, but the
 10664  // value will be replaced with "sensitive".
 10665  func (s TriggerConfig) GoString() string {
 10666  	return s.String()
 10667  }
 10668  
 10669  // Validate inspects the fields of the type to determine if they are valid.
 10670  func (s *TriggerConfig) Validate() error {
 10671  	invalidParams := request.ErrInvalidParams{Context: "TriggerConfig"}
 10672  	if s.TriggerType == nil {
 10673  		invalidParams.Add(request.NewErrParamRequired("TriggerType"))
 10674  	}
 10675  	if s.TriggerProperties != nil {
 10676  		if err := s.TriggerProperties.Validate(); err != nil {
 10677  			invalidParams.AddNested("TriggerProperties", err.(request.ErrInvalidParams))
 10678  		}
 10679  	}
 10680  
 10681  	if invalidParams.Len() > 0 {
 10682  		return invalidParams
 10683  	}
 10684  	return nil
 10685  }
 10686  
 10687  // SetTriggerProperties sets the TriggerProperties field's value.
 10688  func (s *TriggerConfig) SetTriggerProperties(v *TriggerProperties) *TriggerConfig {
 10689  	s.TriggerProperties = v
 10690  	return s
 10691  }
 10692  
 10693  // SetTriggerType sets the TriggerType field's value.
 10694  func (s *TriggerConfig) SetTriggerType(v string) *TriggerConfig {
 10695  	s.TriggerType = &v
 10696  	return s
 10697  }
 10698  
 10699  // Specifies the configuration details that control the trigger for a flow.
 10700  // Currently, these settings only apply to the Scheduled trigger type.
 10701  type TriggerProperties struct {
 10702  	_ struct{} `type:"structure"`
 10703  
 10704  	// Specifies the configuration details of a schedule-triggered flow as defined
 10705  	// by the user.
 10706  	Scheduled *ScheduledTriggerProperties `type:"structure"`
 10707  }
 10708  
 10709  // String returns the string representation.
 10710  //
 10711  // API parameter values that are decorated as "sensitive" in the API will not
 10712  // be included in the string output. The member name will be present, but the
 10713  // value will be replaced with "sensitive".
 10714  func (s TriggerProperties) String() string {
 10715  	return awsutil.Prettify(s)
 10716  }
 10717  
 10718  // GoString returns the string representation.
 10719  //
 10720  // API parameter values that are decorated as "sensitive" in the API will not
 10721  // be included in the string output. The member name will be present, but the
 10722  // value will be replaced with "sensitive".
 10723  func (s TriggerProperties) GoString() string {
 10724  	return s.String()
 10725  }
 10726  
 10727  // Validate inspects the fields of the type to determine if they are valid.
 10728  func (s *TriggerProperties) Validate() error {
 10729  	invalidParams := request.ErrInvalidParams{Context: "TriggerProperties"}
 10730  	if s.Scheduled != nil {
 10731  		if err := s.Scheduled.Validate(); err != nil {
 10732  			invalidParams.AddNested("Scheduled", err.(request.ErrInvalidParams))
 10733  		}
 10734  	}
 10735  
 10736  	if invalidParams.Len() > 0 {
 10737  		return invalidParams
 10738  	}
 10739  	return nil
 10740  }
 10741  
 10742  // SetScheduled sets the Scheduled field's value.
 10743  func (s *TriggerProperties) SetScheduled(v *ScheduledTriggerProperties) *TriggerProperties {
 10744  	s.Scheduled = v
 10745  	return s
 10746  }
 10747  
 10748  // The requested operation is not supported for the current flow.
 10749  type UnsupportedOperationException struct {
 10750  	_            struct{}                  `type:"structure"`
 10751  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 10752  
 10753  	Message_ *string `locationName:"message" type:"string"`
 10754  }
 10755  
 10756  // String returns the string representation.
 10757  //
 10758  // API parameter values that are decorated as "sensitive" in the API will not
 10759  // be included in the string output. The member name will be present, but the
 10760  // value will be replaced with "sensitive".
 10761  func (s UnsupportedOperationException) String() string {
 10762  	return awsutil.Prettify(s)
 10763  }
 10764  
 10765  // GoString returns the string representation.
 10766  //
 10767  // API parameter values that are decorated as "sensitive" in the API will not
 10768  // be included in the string output. The member name will be present, but the
 10769  // value will be replaced with "sensitive".
 10770  func (s UnsupportedOperationException) GoString() string {
 10771  	return s.String()
 10772  }
 10773  
 10774  func newErrorUnsupportedOperationException(v protocol.ResponseMetadata) error {
 10775  	return &UnsupportedOperationException{
 10776  		RespMetadata: v,
 10777  	}
 10778  }
 10779  
 10780  // Code returns the exception type name.
 10781  func (s *UnsupportedOperationException) Code() string {
 10782  	return "UnsupportedOperationException"
 10783  }
 10784  
 10785  // Message returns the exception's message.
 10786  func (s *UnsupportedOperationException) Message() string {
 10787  	if s.Message_ != nil {
 10788  		return *s.Message_
 10789  	}
 10790  	return ""
 10791  }
 10792  
 10793  // OrigErr always returns nil, satisfies awserr.Error interface.
 10794  func (s *UnsupportedOperationException) OrigErr() error {
 10795  	return nil
 10796  }
 10797  
 10798  func (s *UnsupportedOperationException) Error() string {
 10799  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 10800  }
 10801  
 10802  // Status code returns the HTTP status code for the request's response error.
 10803  func (s *UnsupportedOperationException) StatusCode() int {
 10804  	return s.RespMetadata.StatusCode
 10805  }
 10806  
 10807  // RequestID returns the service's response RequestID for request.
 10808  func (s *UnsupportedOperationException) RequestID() string {
 10809  	return s.RespMetadata.RequestID
 10810  }
 10811  
 10812  type UntagResourceInput struct {
 10813  	_ struct{} `type:"structure" nopayload:"true"`
 10814  
 10815  	// The Amazon Resource Name (ARN) of the flow that you want to untag.
 10816  	//
 10817  	// ResourceArn is a required field
 10818  	ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
 10819  
 10820  	// The tag keys associated with the tag that you want to remove from your flow.
 10821  	//
 10822  	// TagKeys is a required field
 10823  	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
 10824  }
 10825  
 10826  // String returns the string representation.
 10827  //
 10828  // API parameter values that are decorated as "sensitive" in the API will not
 10829  // be included in the string output. The member name will be present, but the
 10830  // value will be replaced with "sensitive".
 10831  func (s UntagResourceInput) String() string {
 10832  	return awsutil.Prettify(s)
 10833  }
 10834  
 10835  // GoString returns the string representation.
 10836  //
 10837  // API parameter values that are decorated as "sensitive" in the API will not
 10838  // be included in the string output. The member name will be present, but the
 10839  // value will be replaced with "sensitive".
 10840  func (s UntagResourceInput) GoString() string {
 10841  	return s.String()
 10842  }
 10843  
 10844  // Validate inspects the fields of the type to determine if they are valid.
 10845  func (s *UntagResourceInput) Validate() error {
 10846  	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
 10847  	if s.ResourceArn == nil {
 10848  		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
 10849  	}
 10850  	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
 10851  		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
 10852  	}
 10853  	if s.TagKeys == nil {
 10854  		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
 10855  	}
 10856  
 10857  	if invalidParams.Len() > 0 {
 10858  		return invalidParams
 10859  	}
 10860  	return nil
 10861  }
 10862  
 10863  // SetResourceArn sets the ResourceArn field's value.
 10864  func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
 10865  	s.ResourceArn = &v
 10866  	return s
 10867  }
 10868  
 10869  // SetTagKeys sets the TagKeys field's value.
 10870  func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
 10871  	s.TagKeys = v
 10872  	return s
 10873  }
 10874  
 10875  type UntagResourceOutput struct {
 10876  	_ struct{} `type:"structure" nopayload:"true"`
 10877  }
 10878  
 10879  // String returns the string representation.
 10880  //
 10881  // API parameter values that are decorated as "sensitive" in the API will not
 10882  // be included in the string output. The member name will be present, but the
 10883  // value will be replaced with "sensitive".
 10884  func (s UntagResourceOutput) String() string {
 10885  	return awsutil.Prettify(s)
 10886  }
 10887  
 10888  // GoString returns the string representation.
 10889  //
 10890  // API parameter values that are decorated as "sensitive" in the API will not
 10891  // be included in the string output. The member name will be present, but the
 10892  // value will be replaced with "sensitive".
 10893  func (s UntagResourceOutput) GoString() string {
 10894  	return s.String()
 10895  }
 10896  
 10897  type UpdateConnectorProfileInput struct {
 10898  	_ struct{} `type:"structure"`
 10899  
 10900  	// Indicates the connection mode and if it is public or private.
 10901  	//
 10902  	// ConnectionMode is a required field
 10903  	ConnectionMode *string `locationName:"connectionMode" type:"string" required:"true" enum:"ConnectionMode"`
 10904  
 10905  	// Defines the connector-specific profile configuration and credentials.
 10906  	//
 10907  	// ConnectorProfileConfig is a required field
 10908  	ConnectorProfileConfig *ConnectorProfileConfig `locationName:"connectorProfileConfig" type:"structure" required:"true"`
 10909  
 10910  	// The name of the connector profile and is unique for each ConnectorProfile
 10911  	// in the Amazon Web Services account.
 10912  	//
 10913  	// ConnectorProfileName is a required field
 10914  	ConnectorProfileName *string `locationName:"connectorProfileName" type:"string" required:"true"`
 10915  }
 10916  
 10917  // String returns the string representation.
 10918  //
 10919  // API parameter values that are decorated as "sensitive" in the API will not
 10920  // be included in the string output. The member name will be present, but the
 10921  // value will be replaced with "sensitive".
 10922  func (s UpdateConnectorProfileInput) String() string {
 10923  	return awsutil.Prettify(s)
 10924  }
 10925  
 10926  // GoString returns the string representation.
 10927  //
 10928  // API parameter values that are decorated as "sensitive" in the API will not
 10929  // be included in the string output. The member name will be present, but the
 10930  // value will be replaced with "sensitive".
 10931  func (s UpdateConnectorProfileInput) GoString() string {
 10932  	return s.String()
 10933  }
 10934  
 10935  // Validate inspects the fields of the type to determine if they are valid.
 10936  func (s *UpdateConnectorProfileInput) Validate() error {
 10937  	invalidParams := request.ErrInvalidParams{Context: "UpdateConnectorProfileInput"}
 10938  	if s.ConnectionMode == nil {
 10939  		invalidParams.Add(request.NewErrParamRequired("ConnectionMode"))
 10940  	}
 10941  	if s.ConnectorProfileConfig == nil {
 10942  		invalidParams.Add(request.NewErrParamRequired("ConnectorProfileConfig"))
 10943  	}
 10944  	if s.ConnectorProfileName == nil {
 10945  		invalidParams.Add(request.NewErrParamRequired("ConnectorProfileName"))
 10946  	}
 10947  	if s.ConnectorProfileConfig != nil {
 10948  		if err := s.ConnectorProfileConfig.Validate(); err != nil {
 10949  			invalidParams.AddNested("ConnectorProfileConfig", err.(request.ErrInvalidParams))
 10950  		}
 10951  	}
 10952  
 10953  	if invalidParams.Len() > 0 {
 10954  		return invalidParams
 10955  	}
 10956  	return nil
 10957  }
 10958  
 10959  // SetConnectionMode sets the ConnectionMode field's value.
 10960  func (s *UpdateConnectorProfileInput) SetConnectionMode(v string) *UpdateConnectorProfileInput {
 10961  	s.ConnectionMode = &v
 10962  	return s
 10963  }
 10964  
 10965  // SetConnectorProfileConfig sets the ConnectorProfileConfig field's value.
 10966  func (s *UpdateConnectorProfileInput) SetConnectorProfileConfig(v *ConnectorProfileConfig) *UpdateConnectorProfileInput {
 10967  	s.ConnectorProfileConfig = v
 10968  	return s
 10969  }
 10970  
 10971  // SetConnectorProfileName sets the ConnectorProfileName field's value.
 10972  func (s *UpdateConnectorProfileInput) SetConnectorProfileName(v string) *UpdateConnectorProfileInput {
 10973  	s.ConnectorProfileName = &v
 10974  	return s
 10975  }
 10976  
 10977  type UpdateConnectorProfileOutput struct {
 10978  	_ struct{} `type:"structure"`
 10979  
 10980  	// The Amazon Resource Name (ARN) of the connector profile.
 10981  	ConnectorProfileArn *string `locationName:"connectorProfileArn" type:"string"`
 10982  }
 10983  
 10984  // String returns the string representation.
 10985  //
 10986  // API parameter values that are decorated as "sensitive" in the API will not
 10987  // be included in the string output. The member name will be present, but the
 10988  // value will be replaced with "sensitive".
 10989  func (s UpdateConnectorProfileOutput) String() string {
 10990  	return awsutil.Prettify(s)
 10991  }
 10992  
 10993  // GoString returns the string representation.
 10994  //
 10995  // API parameter values that are decorated as "sensitive" in the API will not
 10996  // be included in the string output. The member name will be present, but the
 10997  // value will be replaced with "sensitive".
 10998  func (s UpdateConnectorProfileOutput) GoString() string {
 10999  	return s.String()
 11000  }
 11001  
 11002  // SetConnectorProfileArn sets the ConnectorProfileArn field's value.
 11003  func (s *UpdateConnectorProfileOutput) SetConnectorProfileArn(v string) *UpdateConnectorProfileOutput {
 11004  	s.ConnectorProfileArn = &v
 11005  	return s
 11006  }
 11007  
 11008  type UpdateFlowInput struct {
 11009  	_ struct{} `type:"structure"`
 11010  
 11011  	// A description of the flow.
 11012  	Description *string `locationName:"description" type:"string"`
 11013  
 11014  	// The configuration that controls how Amazon AppFlow transfers data to the
 11015  	// destination connector.
 11016  	//
 11017  	// DestinationFlowConfigList is a required field
 11018  	DestinationFlowConfigList []*DestinationFlowConfig `locationName:"destinationFlowConfigList" type:"list" required:"true"`
 11019  
 11020  	// The specified name of the flow. Spaces are not allowed. Use underscores (_)
 11021  	// or hyphens (-) only.
 11022  	//
 11023  	// FlowName is a required field
 11024  	FlowName *string `locationName:"flowName" type:"string" required:"true"`
 11025  
 11026  	// Contains information about the configuration of the source connector used
 11027  	// in the flow.
 11028  	//
 11029  	// SourceFlowConfig is a required field
 11030  	SourceFlowConfig *SourceFlowConfig `locationName:"sourceFlowConfig" type:"structure" required:"true"`
 11031  
 11032  	// A list of tasks that Amazon AppFlow performs while transferring the data
 11033  	// in the flow run.
 11034  	//
 11035  	// Tasks is a required field
 11036  	Tasks []*Task `locationName:"tasks" type:"list" required:"true"`
 11037  
 11038  	// The trigger settings that determine how and when the flow runs.
 11039  	//
 11040  	// TriggerConfig is a required field
 11041  	TriggerConfig *TriggerConfig `locationName:"triggerConfig" type:"structure" required:"true"`
 11042  }
 11043  
 11044  // String returns the string representation.
 11045  //
 11046  // API parameter values that are decorated as "sensitive" in the API will not
 11047  // be included in the string output. The member name will be present, but the
 11048  // value will be replaced with "sensitive".
 11049  func (s UpdateFlowInput) String() string {
 11050  	return awsutil.Prettify(s)
 11051  }
 11052  
 11053  // GoString returns the string representation.
 11054  //
 11055  // API parameter values that are decorated as "sensitive" in the API will not
 11056  // be included in the string output. The member name will be present, but the
 11057  // value will be replaced with "sensitive".
 11058  func (s UpdateFlowInput) GoString() string {
 11059  	return s.String()
 11060  }
 11061  
 11062  // Validate inspects the fields of the type to determine if they are valid.
 11063  func (s *UpdateFlowInput) Validate() error {
 11064  	invalidParams := request.ErrInvalidParams{Context: "UpdateFlowInput"}
 11065  	if s.DestinationFlowConfigList == nil {
 11066  		invalidParams.Add(request.NewErrParamRequired("DestinationFlowConfigList"))
 11067  	}
 11068  	if s.FlowName == nil {
 11069  		invalidParams.Add(request.NewErrParamRequired("FlowName"))
 11070  	}
 11071  	if s.SourceFlowConfig == nil {
 11072  		invalidParams.Add(request.NewErrParamRequired("SourceFlowConfig"))
 11073  	}
 11074  	if s.Tasks == nil {
 11075  		invalidParams.Add(request.NewErrParamRequired("Tasks"))
 11076  	}
 11077  	if s.TriggerConfig == nil {
 11078  		invalidParams.Add(request.NewErrParamRequired("TriggerConfig"))
 11079  	}
 11080  	if s.DestinationFlowConfigList != nil {
 11081  		for i, v := range s.DestinationFlowConfigList {
 11082  			if v == nil {
 11083  				continue
 11084  			}
 11085  			if err := v.Validate(); err != nil {
 11086  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DestinationFlowConfigList", i), err.(request.ErrInvalidParams))
 11087  			}
 11088  		}
 11089  	}
 11090  	if s.SourceFlowConfig != nil {
 11091  		if err := s.SourceFlowConfig.Validate(); err != nil {
 11092  			invalidParams.AddNested("SourceFlowConfig", err.(request.ErrInvalidParams))
 11093  		}
 11094  	}
 11095  	if s.Tasks != nil {
 11096  		for i, v := range s.Tasks {
 11097  			if v == nil {
 11098  				continue
 11099  			}
 11100  			if err := v.Validate(); err != nil {
 11101  				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tasks", i), err.(request.ErrInvalidParams))
 11102  			}
 11103  		}
 11104  	}
 11105  	if s.TriggerConfig != nil {
 11106  		if err := s.TriggerConfig.Validate(); err != nil {
 11107  			invalidParams.AddNested("TriggerConfig", err.(request.ErrInvalidParams))
 11108  		}
 11109  	}
 11110  
 11111  	if invalidParams.Len() > 0 {
 11112  		return invalidParams
 11113  	}
 11114  	return nil
 11115  }
 11116  
 11117  // SetDescription sets the Description field's value.
 11118  func (s *UpdateFlowInput) SetDescription(v string) *UpdateFlowInput {
 11119  	s.Description = &v
 11120  	return s
 11121  }
 11122  
 11123  // SetDestinationFlowConfigList sets the DestinationFlowConfigList field's value.
 11124  func (s *UpdateFlowInput) SetDestinationFlowConfigList(v []*DestinationFlowConfig) *UpdateFlowInput {
 11125  	s.DestinationFlowConfigList = v
 11126  	return s
 11127  }
 11128  
 11129  // SetFlowName sets the FlowName field's value.
 11130  func (s *UpdateFlowInput) SetFlowName(v string) *UpdateFlowInput {
 11131  	s.FlowName = &v
 11132  	return s
 11133  }
 11134  
 11135  // SetSourceFlowConfig sets the SourceFlowConfig field's value.
 11136  func (s *UpdateFlowInput) SetSourceFlowConfig(v *SourceFlowConfig) *UpdateFlowInput {
 11137  	s.SourceFlowConfig = v
 11138  	return s
 11139  }
 11140  
 11141  // SetTasks sets the Tasks field's value.
 11142  func (s *UpdateFlowInput) SetTasks(v []*Task) *UpdateFlowInput {
 11143  	s.Tasks = v
 11144  	return s
 11145  }
 11146  
 11147  // SetTriggerConfig sets the TriggerConfig field's value.
 11148  func (s *UpdateFlowInput) SetTriggerConfig(v *TriggerConfig) *UpdateFlowInput {
 11149  	s.TriggerConfig = v
 11150  	return s
 11151  }
 11152  
 11153  type UpdateFlowOutput struct {
 11154  	_ struct{} `type:"structure"`
 11155  
 11156  	// Indicates the current status of the flow.
 11157  	FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"`
 11158  }
 11159  
 11160  // String returns the string representation.
 11161  //
 11162  // API parameter values that are decorated as "sensitive" in the API will not
 11163  // be included in the string output. The member name will be present, but the
 11164  // value will be replaced with "sensitive".
 11165  func (s UpdateFlowOutput) String() string {
 11166  	return awsutil.Prettify(s)
 11167  }
 11168  
 11169  // GoString returns the string representation.
 11170  //
 11171  // API parameter values that are decorated as "sensitive" in the API will not
 11172  // be included in the string output. The member name will be present, but the
 11173  // value will be replaced with "sensitive".
 11174  func (s UpdateFlowOutput) GoString() string {
 11175  	return s.String()
 11176  }
 11177  
 11178  // SetFlowStatus sets the FlowStatus field's value.
 11179  func (s *UpdateFlowOutput) SetFlowStatus(v string) *UpdateFlowOutput {
 11180  	s.FlowStatus = &v
 11181  	return s
 11182  }
 11183  
 11184  // The properties that are applied when Upsolver is used as a destination.
 11185  type UpsolverDestinationProperties struct {
 11186  	_ struct{} `type:"structure"`
 11187  
 11188  	// The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred
 11189  	// data.
 11190  	//
 11191  	// BucketName is a required field
 11192  	BucketName *string `locationName:"bucketName" min:"16" type:"string" required:"true"`
 11193  
 11194  	// The object key for the destination Upsolver Amazon S3 bucket in which Amazon
 11195  	// AppFlow places the files.
 11196  	BucketPrefix *string `locationName:"bucketPrefix" type:"string"`
 11197  
 11198  	// The configuration that determines how data is formatted when Upsolver is
 11199  	// used as the flow destination.
 11200  	//
 11201  	// S3OutputFormatConfig is a required field
 11202  	S3OutputFormatConfig *UpsolverS3OutputFormatConfig `locationName:"s3OutputFormatConfig" type:"structure" required:"true"`
 11203  }
 11204  
 11205  // String returns the string representation.
 11206  //
 11207  // API parameter values that are decorated as "sensitive" in the API will not
 11208  // be included in the string output. The member name will be present, but the
 11209  // value will be replaced with "sensitive".
 11210  func (s UpsolverDestinationProperties) String() string {
 11211  	return awsutil.Prettify(s)
 11212  }
 11213  
 11214  // GoString returns the string representation.
 11215  //
 11216  // API parameter values that are decorated as "sensitive" in the API will not
 11217  // be included in the string output. The member name will be present, but the
 11218  // value will be replaced with "sensitive".
 11219  func (s UpsolverDestinationProperties) GoString() string {
 11220  	return s.String()
 11221  }
 11222  
 11223  // Validate inspects the fields of the type to determine if they are valid.
 11224  func (s *UpsolverDestinationProperties) Validate() error {
 11225  	invalidParams := request.ErrInvalidParams{Context: "UpsolverDestinationProperties"}
 11226  	if s.BucketName == nil {
 11227  		invalidParams.Add(request.NewErrParamRequired("BucketName"))
 11228  	}
 11229  	if s.BucketName != nil && len(*s.BucketName) < 16 {
 11230  		invalidParams.Add(request.NewErrParamMinLen("BucketName", 16))
 11231  	}
 11232  	if s.S3OutputFormatConfig == nil {
 11233  		invalidParams.Add(request.NewErrParamRequired("S3OutputFormatConfig"))
 11234  	}
 11235  	if s.S3OutputFormatConfig != nil {
 11236  		if err := s.S3OutputFormatConfig.Validate(); err != nil {
 11237  			invalidParams.AddNested("S3OutputFormatConfig", err.(request.ErrInvalidParams))
 11238  		}
 11239  	}
 11240  
 11241  	if invalidParams.Len() > 0 {
 11242  		return invalidParams
 11243  	}
 11244  	return nil
 11245  }
 11246  
 11247  // SetBucketName sets the BucketName field's value.
 11248  func (s *UpsolverDestinationProperties) SetBucketName(v string) *UpsolverDestinationProperties {
 11249  	s.BucketName = &v
 11250  	return s
 11251  }
 11252  
 11253  // SetBucketPrefix sets the BucketPrefix field's value.
 11254  func (s *UpsolverDestinationProperties) SetBucketPrefix(v string) *UpsolverDestinationProperties {
 11255  	s.BucketPrefix = &v
 11256  	return s
 11257  }
 11258  
 11259  // SetS3OutputFormatConfig sets the S3OutputFormatConfig field's value.
 11260  func (s *UpsolverDestinationProperties) SetS3OutputFormatConfig(v *UpsolverS3OutputFormatConfig) *UpsolverDestinationProperties {
 11261  	s.S3OutputFormatConfig = v
 11262  	return s
 11263  }
 11264  
 11265  // The connector metadata specific to Upsolver.
 11266  type UpsolverMetadata struct {
 11267  	_ struct{} `type:"structure" nopayload:"true"`
 11268  }
 11269  
 11270  // String returns the string representation.
 11271  //
 11272  // API parameter values that are decorated as "sensitive" in the API will not
 11273  // be included in the string output. The member name will be present, but the
 11274  // value will be replaced with "sensitive".
 11275  func (s UpsolverMetadata) String() string {
 11276  	return awsutil.Prettify(s)
 11277  }
 11278  
 11279  // GoString returns the string representation.
 11280  //
 11281  // API parameter values that are decorated as "sensitive" in the API will not
 11282  // be included in the string output. The member name will be present, but the
 11283  // value will be replaced with "sensitive".
 11284  func (s UpsolverMetadata) GoString() string {
 11285  	return s.String()
 11286  }
 11287  
 11288  // The configuration that determines how Amazon AppFlow formats the flow output
 11289  // data when Upsolver is used as the destination.
 11290  type UpsolverS3OutputFormatConfig struct {
 11291  	_ struct{} `type:"structure"`
 11292  
 11293  	// The aggregation settings that you can use to customize the output format
 11294  	// of your flow data.
 11295  	AggregationConfig *AggregationConfig `locationName:"aggregationConfig" type:"structure"`
 11296  
 11297  	// Indicates the file type that Amazon AppFlow places in the Upsolver Amazon
 11298  	// S3 bucket.
 11299  	FileType *string `locationName:"fileType" type:"string" enum:"FileType"`
 11300  
 11301  	// Determines the prefix that Amazon AppFlow applies to the destination folder
 11302  	// name. You can name your destination folders according to the flow frequency
 11303  	// and date.
 11304  	//
 11305  	// PrefixConfig is a required field
 11306  	PrefixConfig *PrefixConfig `locationName:"prefixConfig" type:"structure" required:"true"`
 11307  }
 11308  
 11309  // String returns the string representation.
 11310  //
 11311  // API parameter values that are decorated as "sensitive" in the API will not
 11312  // be included in the string output. The member name will be present, but the
 11313  // value will be replaced with "sensitive".
 11314  func (s UpsolverS3OutputFormatConfig) String() string {
 11315  	return awsutil.Prettify(s)
 11316  }
 11317  
 11318  // GoString returns the string representation.
 11319  //
 11320  // API parameter values that are decorated as "sensitive" in the API will not
 11321  // be included in the string output. The member name will be present, but the
 11322  // value will be replaced with "sensitive".
 11323  func (s UpsolverS3OutputFormatConfig) GoString() string {
 11324  	return s.String()
 11325  }
 11326  
 11327  // Validate inspects the fields of the type to determine if they are valid.
 11328  func (s *UpsolverS3OutputFormatConfig) Validate() error {
 11329  	invalidParams := request.ErrInvalidParams{Context: "UpsolverS3OutputFormatConfig"}
 11330  	if s.PrefixConfig == nil {
 11331  		invalidParams.Add(request.NewErrParamRequired("PrefixConfig"))
 11332  	}
 11333  
 11334  	if invalidParams.Len() > 0 {
 11335  		return invalidParams
 11336  	}
 11337  	return nil
 11338  }
 11339  
 11340  // SetAggregationConfig sets the AggregationConfig field's value.
 11341  func (s *UpsolverS3OutputFormatConfig) SetAggregationConfig(v *AggregationConfig) *UpsolverS3OutputFormatConfig {
 11342  	s.AggregationConfig = v
 11343  	return s
 11344  }
 11345  
 11346  // SetFileType sets the FileType field's value.
 11347  func (s *UpsolverS3OutputFormatConfig) SetFileType(v string) *UpsolverS3OutputFormatConfig {
 11348  	s.FileType = &v
 11349  	return s
 11350  }
 11351  
 11352  // SetPrefixConfig sets the PrefixConfig field's value.
 11353  func (s *UpsolverS3OutputFormatConfig) SetPrefixConfig(v *PrefixConfig) *UpsolverS3OutputFormatConfig {
 11354  	s.PrefixConfig = v
 11355  	return s
 11356  }
 11357  
 11358  // The request has invalid or missing parameters.
 11359  type ValidationException struct {
 11360  	_            struct{}                  `type:"structure"`
 11361  	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
 11362  
 11363  	Message_ *string `locationName:"message" type:"string"`
 11364  }
 11365  
 11366  // String returns the string representation.
 11367  //
 11368  // API parameter values that are decorated as "sensitive" in the API will not
 11369  // be included in the string output. The member name will be present, but the
 11370  // value will be replaced with "sensitive".
 11371  func (s ValidationException) String() string {
 11372  	return awsutil.Prettify(s)
 11373  }
 11374  
 11375  // GoString returns the string representation.
 11376  //
 11377  // API parameter values that are decorated as "sensitive" in the API will not
 11378  // be included in the string output. The member name will be present, but the
 11379  // value will be replaced with "sensitive".
 11380  func (s ValidationException) GoString() string {
 11381  	return s.String()
 11382  }
 11383  
 11384  func newErrorValidationException(v protocol.ResponseMetadata) error {
 11385  	return &ValidationException{
 11386  		RespMetadata: v,
 11387  	}
 11388  }
 11389  
 11390  // Code returns the exception type name.
 11391  func (s *ValidationException) Code() string {
 11392  	return "ValidationException"
 11393  }
 11394  
 11395  // Message returns the exception's message.
 11396  func (s *ValidationException) Message() string {
 11397  	if s.Message_ != nil {
 11398  		return *s.Message_
 11399  	}
 11400  	return ""
 11401  }
 11402  
 11403  // OrigErr always returns nil, satisfies awserr.Error interface.
 11404  func (s *ValidationException) OrigErr() error {
 11405  	return nil
 11406  }
 11407  
 11408  func (s *ValidationException) Error() string {
 11409  	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
 11410  }
 11411  
 11412  // Status code returns the HTTP status code for the request's response error.
 11413  func (s *ValidationException) StatusCode() int {
 11414  	return s.RespMetadata.StatusCode
 11415  }
 11416  
 11417  // RequestID returns the service's response RequestID for request.
 11418  func (s *ValidationException) RequestID() string {
 11419  	return s.RespMetadata.RequestID
 11420  }
 11421  
 11422  // The connector-specific profile credentials required when using Veeva.
 11423  type VeevaConnectorProfileCredentials struct {
 11424  	_ struct{} `type:"structure"`
 11425  
 11426  	// The password that corresponds to the user name.
 11427  	//
 11428  	// Password is a sensitive parameter and its value will be
 11429  	// replaced with "sensitive" in string returned by VeevaConnectorProfileCredentials's
 11430  	// String and GoString methods.
 11431  	//
 11432  	// Password is a required field
 11433  	Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"`
 11434  
 11435  	// The name of the user.
 11436  	//
 11437  	// Username is a required field
 11438  	Username *string `locationName:"username" type:"string" required:"true"`
 11439  }
 11440  
 11441  // String returns the string representation.
 11442  //
 11443  // API parameter values that are decorated as "sensitive" in the API will not
 11444  // be included in the string output. The member name will be present, but the
 11445  // value will be replaced with "sensitive".
 11446  func (s VeevaConnectorProfileCredentials) String() string {
 11447  	return awsutil.Prettify(s)
 11448  }
 11449  
 11450  // GoString returns the string representation.
 11451  //
 11452  // API parameter values that are decorated as "sensitive" in the API will not
 11453  // be included in the string output. The member name will be present, but the
 11454  // value will be replaced with "sensitive".
 11455  func (s VeevaConnectorProfileCredentials) GoString() string {
 11456  	return s.String()
 11457  }
 11458  
 11459  // Validate inspects the fields of the type to determine if they are valid.
 11460  func (s *VeevaConnectorProfileCredentials) Validate() error {
 11461  	invalidParams := request.ErrInvalidParams{Context: "VeevaConnectorProfileCredentials"}
 11462  	if s.Password == nil {
 11463  		invalidParams.Add(request.NewErrParamRequired("Password"))
 11464  	}
 11465  	if s.Username == nil {
 11466  		invalidParams.Add(request.NewErrParamRequired("Username"))
 11467  	}
 11468  
 11469  	if invalidParams.Len() > 0 {
 11470  		return invalidParams
 11471  	}
 11472  	return nil
 11473  }
 11474  
 11475  // SetPassword sets the Password field's value.
 11476  func (s *VeevaConnectorProfileCredentials) SetPassword(v string) *VeevaConnectorProfileCredentials {
 11477  	s.Password = &v
 11478  	return s
 11479  }
 11480  
 11481  // SetUsername sets the Username field's value.
 11482  func (s *VeevaConnectorProfileCredentials) SetUsername(v string) *VeevaConnectorProfileCredentials {
 11483  	s.Username = &v
 11484  	return s
 11485  }
 11486  
 11487  // The connector-specific profile properties required when using Veeva.
 11488  type VeevaConnectorProfileProperties struct {
 11489  	_ struct{} `type:"structure"`
 11490  
 11491  	// The location of the Veeva resource.
 11492  	//
 11493  	// InstanceUrl is a required field
 11494  	InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"`
 11495  }
 11496  
 11497  // String returns the string representation.
 11498  //
 11499  // API parameter values that are decorated as "sensitive" in the API will not
 11500  // be included in the string output. The member name will be present, but the
 11501  // value will be replaced with "sensitive".
 11502  func (s VeevaConnectorProfileProperties) String() string {
 11503  	return awsutil.Prettify(s)
 11504  }
 11505  
 11506  // GoString returns the string representation.
 11507  //
 11508  // API parameter values that are decorated as "sensitive" in the API will not
 11509  // be included in the string output. The member name will be present, but the
 11510  // value will be replaced with "sensitive".
 11511  func (s VeevaConnectorProfileProperties) GoString() string {
 11512  	return s.String()
 11513  }
 11514  
 11515  // Validate inspects the fields of the type to determine if they are valid.
 11516  func (s *VeevaConnectorProfileProperties) Validate() error {
 11517  	invalidParams := request.ErrInvalidParams{Context: "VeevaConnectorProfileProperties"}
 11518  	if s.InstanceUrl == nil {
 11519  		invalidParams.Add(request.NewErrParamRequired("InstanceUrl"))
 11520  	}
 11521  
 11522  	if invalidParams.Len() > 0 {
 11523  		return invalidParams
 11524  	}
 11525  	return nil
 11526  }
 11527  
 11528  // SetInstanceUrl sets the InstanceUrl field's value.
 11529  func (s *VeevaConnectorProfileProperties) SetInstanceUrl(v string) *VeevaConnectorProfileProperties {
 11530  	s.InstanceUrl = &v
 11531  	return s
 11532  }
 11533  
 11534  // The connector metadata specific to Veeva.
 11535  type VeevaMetadata struct {
 11536  	_ struct{} `type:"structure" nopayload:"true"`
 11537  }
 11538  
 11539  // String returns the string representation.
 11540  //
 11541  // API parameter values that are decorated as "sensitive" in the API will not
 11542  // be included in the string output. The member name will be present, but the
 11543  // value will be replaced with "sensitive".
 11544  func (s VeevaMetadata) String() string {
 11545  	return awsutil.Prettify(s)
 11546  }
 11547  
 11548  // GoString returns the string representation.
 11549  //
 11550  // API parameter values that are decorated as "sensitive" in the API will not
 11551  // be included in the string output. The member name will be present, but the
 11552  // value will be replaced with "sensitive".
 11553  func (s VeevaMetadata) GoString() string {
 11554  	return s.String()
 11555  }
 11556  
 11557  // The properties that are applied when using Veeva as a flow source.
 11558  type VeevaSourceProperties struct {
 11559  	_ struct{} `type:"structure"`
 11560  
 11561  	// The document type specified in the Veeva document extract flow.
 11562  	DocumentType *string `locationName:"documentType" type:"string"`
 11563  
 11564  	// Boolean value to include All Versions of files in Veeva document extract
 11565  	// flow.
 11566  	IncludeAllVersions *bool `locationName:"includeAllVersions" type:"boolean"`
 11567  
 11568  	// Boolean value to include file renditions in Veeva document extract flow.
 11569  	IncludeRenditions *bool `locationName:"includeRenditions" type:"boolean"`
 11570  
 11571  	// Boolean value to include source files in Veeva document extract flow.
 11572  	IncludeSourceFiles *bool `locationName:"includeSourceFiles" type:"boolean"`
 11573  
 11574  	// The object specified in the Veeva flow source.
 11575  	//
 11576  	// Object is a required field
 11577  	Object *string `locationName:"object" type:"string" required:"true"`
 11578  }
 11579  
 11580  // String returns the string representation.
 11581  //
 11582  // API parameter values that are decorated as "sensitive" in the API will not
 11583  // be included in the string output. The member name will be present, but the
 11584  // value will be replaced with "sensitive".
 11585  func (s VeevaSourceProperties) String() string {
 11586  	return awsutil.Prettify(s)
 11587  }
 11588  
 11589  // GoString returns the string representation.
 11590  //
 11591  // API parameter values that are decorated as "sensitive" in the API will not
 11592  // be included in the string output. The member name will be present, but the
 11593  // value will be replaced with "sensitive".
 11594  func (s VeevaSourceProperties) GoString() string {
 11595  	return s.String()
 11596  }
 11597  
 11598  // Validate inspects the fields of the type to determine if they are valid.
 11599  func (s *VeevaSourceProperties) Validate() error {
 11600  	invalidParams := request.ErrInvalidParams{Context: "VeevaSourceProperties"}
 11601  	if s.Object == nil {
 11602  		invalidParams.Add(request.NewErrParamRequired("Object"))
 11603  	}
 11604  
 11605  	if invalidParams.Len() > 0 {
 11606  		return invalidParams
 11607  	}
 11608  	return nil
 11609  }
 11610  
 11611  // SetDocumentType sets the DocumentType field's value.
 11612  func (s *VeevaSourceProperties) SetDocumentType(v string) *VeevaSourceProperties {
 11613  	s.DocumentType = &v
 11614  	return s
 11615  }
 11616  
 11617  // SetIncludeAllVersions sets the IncludeAllVersions field's value.
 11618  func (s *VeevaSourceProperties) SetIncludeAllVersions(v bool) *VeevaSourceProperties {
 11619  	s.IncludeAllVersions = &v
 11620  	return s
 11621  }
 11622  
 11623  // SetIncludeRenditions sets the IncludeRenditions field's value.
 11624  func (s *VeevaSourceProperties) SetIncludeRenditions(v bool) *VeevaSourceProperties {
 11625  	s.IncludeRenditions = &v
 11626  	return s
 11627  }
 11628  
 11629  // SetIncludeSourceFiles sets the IncludeSourceFiles field's value.
 11630  func (s *VeevaSourceProperties) SetIncludeSourceFiles(v bool) *VeevaSourceProperties {
 11631  	s.IncludeSourceFiles = &v
 11632  	return s
 11633  }
 11634  
 11635  // SetObject sets the Object field's value.
 11636  func (s *VeevaSourceProperties) SetObject(v string) *VeevaSourceProperties {
 11637  	s.Object = &v
 11638  	return s
 11639  }
 11640  
 11641  // The connector-specific profile credentials required when using Zendesk.
 11642  type ZendeskConnectorProfileCredentials struct {
 11643  	_ struct{} `type:"structure"`
 11644  
 11645  	// The credentials used to access protected Zendesk resources.
 11646  	//
 11647  	// AccessToken is a sensitive parameter and its value will be
 11648  	// replaced with "sensitive" in string returned by ZendeskConnectorProfileCredentials's
 11649  	// String and GoString methods.
 11650  	AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"`
 11651  
 11652  	// The identifier for the desired client.
 11653  	//
 11654  	// ClientId is a required field
 11655  	ClientId *string `locationName:"clientId" type:"string" required:"true"`
 11656  
 11657  	// The client secret used by the OAuth client to authenticate to the authorization
 11658  	// server.
 11659  	//
 11660  	// ClientSecret is a sensitive parameter and its value will be
 11661  	// replaced with "sensitive" in string returned by ZendeskConnectorProfileCredentials's
 11662  	// String and GoString methods.
 11663  	//
 11664  	// ClientSecret is a required field
 11665  	ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"`
 11666  
 11667  	// The OAuth requirement needed to request security tokens from the connector
 11668  	// endpoint.
 11669  	OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"`
 11670  }
 11671  
 11672  // String returns the string representation.
 11673  //
 11674  // API parameter values that are decorated as "sensitive" in the API will not
 11675  // be included in the string output. The member name will be present, but the
 11676  // value will be replaced with "sensitive".
 11677  func (s ZendeskConnectorProfileCredentials) String() string {
 11678  	return awsutil.Prettify(s)
 11679  }
 11680  
 11681  // GoString returns the string representation.
 11682  //
 11683  // API parameter values that are decorated as "sensitive" in the API will not
 11684  // be included in the string output. The member name will be present, but the
 11685  // value will be replaced with "sensitive".
 11686  func (s ZendeskConnectorProfileCredentials) GoString() string {
 11687  	return s.String()
 11688  }
 11689  
 11690  // Validate inspects the fields of the type to determine if they are valid.
 11691  func (s *ZendeskConnectorProfileCredentials) Validate() error {
 11692  	invalidParams := request.ErrInvalidParams{Context: "ZendeskConnectorProfileCredentials"}
 11693  	if s.ClientId == nil {
 11694  		invalidParams.Add(request.NewErrParamRequired("ClientId"))
 11695  	}
 11696  	if s.ClientSecret == nil {
 11697  		invalidParams.Add(request.NewErrParamRequired("ClientSecret"))
 11698  	}
 11699  
 11700  	if invalidParams.Len() > 0 {
 11701  		return invalidParams
 11702  	}
 11703  	return nil
 11704  }
 11705  
 11706  // SetAccessToken sets the AccessToken field's value.
 11707  func (s *ZendeskConnectorProfileCredentials) SetAccessToken(v string) *ZendeskConnectorProfileCredentials {
 11708  	s.AccessToken = &v
 11709  	return s
 11710  }
 11711  
 11712  // SetClientId sets the ClientId field's value.
 11713  func (s *ZendeskConnectorProfileCredentials) SetClientId(v string) *ZendeskConnectorProfileCredentials {
 11714  	s.ClientId = &v
 11715  	return s
 11716  }
 11717  
 11718  // SetClientSecret sets the ClientSecret field's value.
 11719  func (s *ZendeskConnectorProfileCredentials) SetClientSecret(v string) *ZendeskConnectorProfileCredentials {
 11720  	s.ClientSecret = &v
 11721  	return s
 11722  }
 11723  
 11724  // SetOAuthRequest sets the OAuthRequest field's value.
 11725  func (s *ZendeskConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *ZendeskConnectorProfileCredentials {
 11726  	s.OAuthRequest = v
 11727  	return s
 11728  }
 11729  
 11730  // The connector-specific profile properties required when using Zendesk.
 11731  type ZendeskConnectorProfileProperties struct {
 11732  	_ struct{} `type:"structure"`
 11733  
 11734  	// The location of the Zendesk resource.
 11735  	//
 11736  	// InstanceUrl is a required field
 11737  	InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"`
 11738  }
 11739  
 11740  // String returns the string representation.
 11741  //
 11742  // API parameter values that are decorated as "sensitive" in the API will not
 11743  // be included in the string output. The member name will be present, but the
 11744  // value will be replaced with "sensitive".
 11745  func (s ZendeskConnectorProfileProperties) String() string {
 11746  	return awsutil.Prettify(s)
 11747  }
 11748  
 11749  // GoString returns the string representation.
 11750  //
 11751  // API parameter values that are decorated as "sensitive" in the API will not
 11752  // be included in the string output. The member name will be present, but the
 11753  // value will be replaced with "sensitive".
 11754  func (s ZendeskConnectorProfileProperties) GoString() string {
 11755  	return s.String()
 11756  }
 11757  
 11758  // Validate inspects the fields of the type to determine if they are valid.
 11759  func (s *ZendeskConnectorProfileProperties) Validate() error {
 11760  	invalidParams := request.ErrInvalidParams{Context: "ZendeskConnectorProfileProperties"}
 11761  	if s.InstanceUrl == nil {
 11762  		invalidParams.Add(request.NewErrParamRequired("InstanceUrl"))
 11763  	}
 11764  
 11765  	if invalidParams.Len() > 0 {
 11766  		return invalidParams
 11767  	}
 11768  	return nil
 11769  }
 11770  
 11771  // SetInstanceUrl sets the InstanceUrl field's value.
 11772  func (s *ZendeskConnectorProfileProperties) SetInstanceUrl(v string) *ZendeskConnectorProfileProperties {
 11773  	s.InstanceUrl = &v
 11774  	return s
 11775  }
 11776  
 11777  // The properties that are applied when Zendesk is used as a destination.
 11778  type ZendeskDestinationProperties struct {
 11779  	_ struct{} `type:"structure"`
 11780  
 11781  	// The settings that determine how Amazon AppFlow handles an error when placing
 11782  	// data in the destination. For example, this setting would determine if the
 11783  	// flow should fail after one insertion error, or continue and attempt to insert
 11784  	// every record regardless of the initial failure. ErrorHandlingConfig is a
 11785  	// part of the destination connector details.
 11786  	ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"`
 11787  
 11788  	// A list of field names that can be used as an ID field when performing a write
 11789  	// operation.
 11790  	IdFieldNames []*string `locationName:"idFieldNames" type:"list"`
 11791  
 11792  	// The object specified in the Zendesk flow destination.
 11793  	//
 11794  	// Object is a required field
 11795  	Object *string `locationName:"object" type:"string" required:"true"`
 11796  
 11797  	// The possible write operations in the destination connector. When this value
 11798  	// is not provided, this defaults to the INSERT operation.
 11799  	WriteOperationType *string `locationName:"writeOperationType" type:"string" enum:"WriteOperationType"`
 11800  }
 11801  
 11802  // String returns the string representation.
 11803  //
 11804  // API parameter values that are decorated as "sensitive" in the API will not
 11805  // be included in the string output. The member name will be present, but the
 11806  // value will be replaced with "sensitive".
 11807  func (s ZendeskDestinationProperties) String() string {
 11808  	return awsutil.Prettify(s)
 11809  }
 11810  
 11811  // GoString returns the string representation.
 11812  //
 11813  // API parameter values that are decorated as "sensitive" in the API will not
 11814  // be included in the string output. The member name will be present, but the
 11815  // value will be replaced with "sensitive".
 11816  func (s ZendeskDestinationProperties) GoString() string {
 11817  	return s.String()
 11818  }
 11819  
 11820  // Validate inspects the fields of the type to determine if they are valid.
 11821  func (s *ZendeskDestinationProperties) Validate() error {
 11822  	invalidParams := request.ErrInvalidParams{Context: "ZendeskDestinationProperties"}
 11823  	if s.Object == nil {
 11824  		invalidParams.Add(request.NewErrParamRequired("Object"))
 11825  	}
 11826  	if s.ErrorHandlingConfig != nil {
 11827  		if err := s.ErrorHandlingConfig.Validate(); err != nil {
 11828  			invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams))
 11829  		}
 11830  	}
 11831  
 11832  	if invalidParams.Len() > 0 {
 11833  		return invalidParams
 11834  	}
 11835  	return nil
 11836  }
 11837  
 11838  // SetErrorHandlingConfig sets the ErrorHandlingConfig field's value.
 11839  func (s *ZendeskDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *ZendeskDestinationProperties {
 11840  	s.ErrorHandlingConfig = v
 11841  	return s
 11842  }
 11843  
 11844  // SetIdFieldNames sets the IdFieldNames field's value.
 11845  func (s *ZendeskDestinationProperties) SetIdFieldNames(v []*string) *ZendeskDestinationProperties {
 11846  	s.IdFieldNames = v
 11847  	return s
 11848  }
 11849  
 11850  // SetObject sets the Object field's value.
 11851  func (s *ZendeskDestinationProperties) SetObject(v string) *ZendeskDestinationProperties {
 11852  	s.Object = &v
 11853  	return s
 11854  }
 11855  
 11856  // SetWriteOperationType sets the WriteOperationType field's value.
 11857  func (s *ZendeskDestinationProperties) SetWriteOperationType(v string) *ZendeskDestinationProperties {
 11858  	s.WriteOperationType = &v
 11859  	return s
 11860  }
 11861  
 11862  // The connector metadata specific to Zendesk.
 11863  type ZendeskMetadata struct {
 11864  	_ struct{} `type:"structure"`
 11865  
 11866  	// The desired authorization scope for the Zendesk account.
 11867  	OAuthScopes []*string `locationName:"oAuthScopes" type:"list"`
 11868  }
 11869  
 11870  // String returns the string representation.
 11871  //
 11872  // API parameter values that are decorated as "sensitive" in the API will not
 11873  // be included in the string output. The member name will be present, but the
 11874  // value will be replaced with "sensitive".
 11875  func (s ZendeskMetadata) String() string {
 11876  	return awsutil.Prettify(s)
 11877  }
 11878  
 11879  // GoString returns the string representation.
 11880  //
 11881  // API parameter values that are decorated as "sensitive" in the API will not
 11882  // be included in the string output. The member name will be present, but the
 11883  // value will be replaced with "sensitive".
 11884  func (s ZendeskMetadata) GoString() string {
 11885  	return s.String()
 11886  }
 11887  
 11888  // SetOAuthScopes sets the OAuthScopes field's value.
 11889  func (s *ZendeskMetadata) SetOAuthScopes(v []*string) *ZendeskMetadata {
 11890  	s.OAuthScopes = v
 11891  	return s
 11892  }
 11893  
 11894  // The properties that are applied when using Zendesk as a flow source.
 11895  type ZendeskSourceProperties struct {
 11896  	_ struct{} `type:"structure"`
 11897  
 11898  	// The object specified in the Zendesk flow source.
 11899  	//
 11900  	// Object is a required field
 11901  	Object *string `locationName:"object" type:"string" required:"true"`
 11902  }
 11903  
 11904  // String returns the string representation.
 11905  //
 11906  // API parameter values that are decorated as "sensitive" in the API will not
 11907  // be included in the string output. The member name will be present, but the
 11908  // value will be replaced with "sensitive".
 11909  func (s ZendeskSourceProperties) String() string {
 11910  	return awsutil.Prettify(s)
 11911  }
 11912  
 11913  // GoString returns the string representation.
 11914  //
 11915  // API parameter values that are decorated as "sensitive" in the API will not
 11916  // be included in the string output. The member name will be present, but the
 11917  // value will be replaced with "sensitive".
 11918  func (s ZendeskSourceProperties) GoString() string {
 11919  	return s.String()
 11920  }
 11921  
 11922  // Validate inspects the fields of the type to determine if they are valid.
 11923  func (s *ZendeskSourceProperties) Validate() error {
 11924  	invalidParams := request.ErrInvalidParams{Context: "ZendeskSourceProperties"}
 11925  	if s.Object == nil {
 11926  		invalidParams.Add(request.NewErrParamRequired("Object"))
 11927  	}
 11928  
 11929  	if invalidParams.Len() > 0 {
 11930  		return invalidParams
 11931  	}
 11932  	return nil
 11933  }
 11934  
 11935  // SetObject sets the Object field's value.
 11936  func (s *ZendeskSourceProperties) SetObject(v string) *ZendeskSourceProperties {
 11937  	s.Object = &v
 11938  	return s
 11939  }
 11940  
 11941  const (
 11942  	// AggregationTypeNone is a AggregationType enum value
 11943  	AggregationTypeNone = "None"
 11944  
 11945  	// AggregationTypeSingleFile is a AggregationType enum value
 11946  	AggregationTypeSingleFile = "SingleFile"
 11947  )
 11948  
 11949  // AggregationType_Values returns all elements of the AggregationType enum
 11950  func AggregationType_Values() []string {
 11951  	return []string{
 11952  		AggregationTypeNone,
 11953  		AggregationTypeSingleFile,
 11954  	}
 11955  }
 11956  
 11957  const (
 11958  	// AmplitudeConnectorOperatorBetween is a AmplitudeConnectorOperator enum value
 11959  	AmplitudeConnectorOperatorBetween = "BETWEEN"
 11960  )
 11961  
 11962  // AmplitudeConnectorOperator_Values returns all elements of the AmplitudeConnectorOperator enum
 11963  func AmplitudeConnectorOperator_Values() []string {
 11964  	return []string{
 11965  		AmplitudeConnectorOperatorBetween,
 11966  	}
 11967  }
 11968  
 11969  const (
 11970  	// ConnectionModePublic is a ConnectionMode enum value
 11971  	ConnectionModePublic = "Public"
 11972  
 11973  	// ConnectionModePrivate is a ConnectionMode enum value
 11974  	ConnectionModePrivate = "Private"
 11975  )
 11976  
 11977  // ConnectionMode_Values returns all elements of the ConnectionMode enum
 11978  func ConnectionMode_Values() []string {
 11979  	return []string{
 11980  		ConnectionModePublic,
 11981  		ConnectionModePrivate,
 11982  	}
 11983  }
 11984  
 11985  const (
 11986  	// ConnectorTypeSalesforce is a ConnectorType enum value
 11987  	ConnectorTypeSalesforce = "Salesforce"
 11988  
 11989  	// ConnectorTypeSingular is a ConnectorType enum value
 11990  	ConnectorTypeSingular = "Singular"
 11991  
 11992  	// ConnectorTypeSlack is a ConnectorType enum value
 11993  	ConnectorTypeSlack = "Slack"
 11994  
 11995  	// ConnectorTypeRedshift is a ConnectorType enum value
 11996  	ConnectorTypeRedshift = "Redshift"
 11997  
 11998  	// ConnectorTypeS3 is a ConnectorType enum value
 11999  	ConnectorTypeS3 = "S3"
 12000  
 12001  	// ConnectorTypeMarketo is a ConnectorType enum value
 12002  	ConnectorTypeMarketo = "Marketo"
 12003  
 12004  	// ConnectorTypeGoogleanalytics is a ConnectorType enum value
 12005  	ConnectorTypeGoogleanalytics = "Googleanalytics"
 12006  
 12007  	// ConnectorTypeZendesk is a ConnectorType enum value
 12008  	ConnectorTypeZendesk = "Zendesk"
 12009  
 12010  	// ConnectorTypeServicenow is a ConnectorType enum value
 12011  	ConnectorTypeServicenow = "Servicenow"
 12012  
 12013  	// ConnectorTypeDatadog is a ConnectorType enum value
 12014  	ConnectorTypeDatadog = "Datadog"
 12015  
 12016  	// ConnectorTypeTrendmicro is a ConnectorType enum value
 12017  	ConnectorTypeTrendmicro = "Trendmicro"
 12018  
 12019  	// ConnectorTypeSnowflake is a ConnectorType enum value
 12020  	ConnectorTypeSnowflake = "Snowflake"
 12021  
 12022  	// ConnectorTypeDynatrace is a ConnectorType enum value
 12023  	ConnectorTypeDynatrace = "Dynatrace"
 12024  
 12025  	// ConnectorTypeInfornexus is a ConnectorType enum value
 12026  	ConnectorTypeInfornexus = "Infornexus"
 12027  
 12028  	// ConnectorTypeAmplitude is a ConnectorType enum value
 12029  	ConnectorTypeAmplitude = "Amplitude"
 12030  
 12031  	// ConnectorTypeVeeva is a ConnectorType enum value
 12032  	ConnectorTypeVeeva = "Veeva"
 12033  
 12034  	// ConnectorTypeEventBridge is a ConnectorType enum value
 12035  	ConnectorTypeEventBridge = "EventBridge"
 12036  
 12037  	// ConnectorTypeLookoutMetrics is a ConnectorType enum value
 12038  	ConnectorTypeLookoutMetrics = "LookoutMetrics"
 12039  
 12040  	// ConnectorTypeUpsolver is a ConnectorType enum value
 12041  	ConnectorTypeUpsolver = "Upsolver"
 12042  
 12043  	// ConnectorTypeHoneycode is a ConnectorType enum value
 12044  	ConnectorTypeHoneycode = "Honeycode"
 12045  
 12046  	// ConnectorTypeCustomerProfiles is a ConnectorType enum value
 12047  	ConnectorTypeCustomerProfiles = "CustomerProfiles"
 12048  
 12049  	// ConnectorTypeSapodata is a ConnectorType enum value
 12050  	ConnectorTypeSapodata = "SAPOData"
 12051  )
 12052  
 12053  // ConnectorType_Values returns all elements of the ConnectorType enum
 12054  func ConnectorType_Values() []string {
 12055  	return []string{
 12056  		ConnectorTypeSalesforce,
 12057  		ConnectorTypeSingular,
 12058  		ConnectorTypeSlack,
 12059  		ConnectorTypeRedshift,
 12060  		ConnectorTypeS3,
 12061  		ConnectorTypeMarketo,
 12062  		ConnectorTypeGoogleanalytics,
 12063  		ConnectorTypeZendesk,
 12064  		ConnectorTypeServicenow,
 12065  		ConnectorTypeDatadog,
 12066  		ConnectorTypeTrendmicro,
 12067  		ConnectorTypeSnowflake,
 12068  		ConnectorTypeDynatrace,
 12069  		ConnectorTypeInfornexus,
 12070  		ConnectorTypeAmplitude,
 12071  		ConnectorTypeVeeva,
 12072  		ConnectorTypeEventBridge,
 12073  		ConnectorTypeLookoutMetrics,
 12074  		ConnectorTypeUpsolver,
 12075  		ConnectorTypeHoneycode,
 12076  		ConnectorTypeCustomerProfiles,
 12077  		ConnectorTypeSapodata,
 12078  	}
 12079  }
 12080  
 12081  const (
 12082  	// DataPullModeIncremental is a DataPullMode enum value
 12083  	DataPullModeIncremental = "Incremental"
 12084  
 12085  	// DataPullModeComplete is a DataPullMode enum value
 12086  	DataPullModeComplete = "Complete"
 12087  )
 12088  
 12089  // DataPullMode_Values returns all elements of the DataPullMode enum
 12090  func DataPullMode_Values() []string {
 12091  	return []string{
 12092  		DataPullModeIncremental,
 12093  		DataPullModeComplete,
 12094  	}
 12095  }
 12096  
 12097  const (
 12098  	// DatadogConnectorOperatorProjection is a DatadogConnectorOperator enum value
 12099  	DatadogConnectorOperatorProjection = "PROJECTION"
 12100  
 12101  	// DatadogConnectorOperatorBetween is a DatadogConnectorOperator enum value
 12102  	DatadogConnectorOperatorBetween = "BETWEEN"
 12103  
 12104  	// DatadogConnectorOperatorEqualTo is a DatadogConnectorOperator enum value
 12105  	DatadogConnectorOperatorEqualTo = "EQUAL_TO"
 12106  
 12107  	// DatadogConnectorOperatorAddition is a DatadogConnectorOperator enum value
 12108  	DatadogConnectorOperatorAddition = "ADDITION"
 12109  
 12110  	// DatadogConnectorOperatorMultiplication is a DatadogConnectorOperator enum value
 12111  	DatadogConnectorOperatorMultiplication = "MULTIPLICATION"
 12112  
 12113  	// DatadogConnectorOperatorDivision is a DatadogConnectorOperator enum value
 12114  	DatadogConnectorOperatorDivision = "DIVISION"
 12115  
 12116  	// DatadogConnectorOperatorSubtraction is a DatadogConnectorOperator enum value
 12117  	DatadogConnectorOperatorSubtraction = "SUBTRACTION"
 12118  
 12119  	// DatadogConnectorOperatorMaskAll is a DatadogConnectorOperator enum value
 12120  	DatadogConnectorOperatorMaskAll = "MASK_ALL"
 12121  
 12122  	// DatadogConnectorOperatorMaskFirstN is a DatadogConnectorOperator enum value
 12123  	DatadogConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 12124  
 12125  	// DatadogConnectorOperatorMaskLastN is a DatadogConnectorOperator enum value
 12126  	DatadogConnectorOperatorMaskLastN = "MASK_LAST_N"
 12127  
 12128  	// DatadogConnectorOperatorValidateNonNull is a DatadogConnectorOperator enum value
 12129  	DatadogConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 12130  
 12131  	// DatadogConnectorOperatorValidateNonZero is a DatadogConnectorOperator enum value
 12132  	DatadogConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 12133  
 12134  	// DatadogConnectorOperatorValidateNonNegative is a DatadogConnectorOperator enum value
 12135  	DatadogConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 12136  
 12137  	// DatadogConnectorOperatorValidateNumeric is a DatadogConnectorOperator enum value
 12138  	DatadogConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 12139  
 12140  	// DatadogConnectorOperatorNoOp is a DatadogConnectorOperator enum value
 12141  	DatadogConnectorOperatorNoOp = "NO_OP"
 12142  )
 12143  
 12144  // DatadogConnectorOperator_Values returns all elements of the DatadogConnectorOperator enum
 12145  func DatadogConnectorOperator_Values() []string {
 12146  	return []string{
 12147  		DatadogConnectorOperatorProjection,
 12148  		DatadogConnectorOperatorBetween,
 12149  		DatadogConnectorOperatorEqualTo,
 12150  		DatadogConnectorOperatorAddition,
 12151  		DatadogConnectorOperatorMultiplication,
 12152  		DatadogConnectorOperatorDivision,
 12153  		DatadogConnectorOperatorSubtraction,
 12154  		DatadogConnectorOperatorMaskAll,
 12155  		DatadogConnectorOperatorMaskFirstN,
 12156  		DatadogConnectorOperatorMaskLastN,
 12157  		DatadogConnectorOperatorValidateNonNull,
 12158  		DatadogConnectorOperatorValidateNonZero,
 12159  		DatadogConnectorOperatorValidateNonNegative,
 12160  		DatadogConnectorOperatorValidateNumeric,
 12161  		DatadogConnectorOperatorNoOp,
 12162  	}
 12163  }
 12164  
 12165  const (
 12166  	// DynatraceConnectorOperatorProjection is a DynatraceConnectorOperator enum value
 12167  	DynatraceConnectorOperatorProjection = "PROJECTION"
 12168  
 12169  	// DynatraceConnectorOperatorBetween is a DynatraceConnectorOperator enum value
 12170  	DynatraceConnectorOperatorBetween = "BETWEEN"
 12171  
 12172  	// DynatraceConnectorOperatorEqualTo is a DynatraceConnectorOperator enum value
 12173  	DynatraceConnectorOperatorEqualTo = "EQUAL_TO"
 12174  
 12175  	// DynatraceConnectorOperatorAddition is a DynatraceConnectorOperator enum value
 12176  	DynatraceConnectorOperatorAddition = "ADDITION"
 12177  
 12178  	// DynatraceConnectorOperatorMultiplication is a DynatraceConnectorOperator enum value
 12179  	DynatraceConnectorOperatorMultiplication = "MULTIPLICATION"
 12180  
 12181  	// DynatraceConnectorOperatorDivision is a DynatraceConnectorOperator enum value
 12182  	DynatraceConnectorOperatorDivision = "DIVISION"
 12183  
 12184  	// DynatraceConnectorOperatorSubtraction is a DynatraceConnectorOperator enum value
 12185  	DynatraceConnectorOperatorSubtraction = "SUBTRACTION"
 12186  
 12187  	// DynatraceConnectorOperatorMaskAll is a DynatraceConnectorOperator enum value
 12188  	DynatraceConnectorOperatorMaskAll = "MASK_ALL"
 12189  
 12190  	// DynatraceConnectorOperatorMaskFirstN is a DynatraceConnectorOperator enum value
 12191  	DynatraceConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 12192  
 12193  	// DynatraceConnectorOperatorMaskLastN is a DynatraceConnectorOperator enum value
 12194  	DynatraceConnectorOperatorMaskLastN = "MASK_LAST_N"
 12195  
 12196  	// DynatraceConnectorOperatorValidateNonNull is a DynatraceConnectorOperator enum value
 12197  	DynatraceConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 12198  
 12199  	// DynatraceConnectorOperatorValidateNonZero is a DynatraceConnectorOperator enum value
 12200  	DynatraceConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 12201  
 12202  	// DynatraceConnectorOperatorValidateNonNegative is a DynatraceConnectorOperator enum value
 12203  	DynatraceConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 12204  
 12205  	// DynatraceConnectorOperatorValidateNumeric is a DynatraceConnectorOperator enum value
 12206  	DynatraceConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 12207  
 12208  	// DynatraceConnectorOperatorNoOp is a DynatraceConnectorOperator enum value
 12209  	DynatraceConnectorOperatorNoOp = "NO_OP"
 12210  )
 12211  
 12212  // DynatraceConnectorOperator_Values returns all elements of the DynatraceConnectorOperator enum
 12213  func DynatraceConnectorOperator_Values() []string {
 12214  	return []string{
 12215  		DynatraceConnectorOperatorProjection,
 12216  		DynatraceConnectorOperatorBetween,
 12217  		DynatraceConnectorOperatorEqualTo,
 12218  		DynatraceConnectorOperatorAddition,
 12219  		DynatraceConnectorOperatorMultiplication,
 12220  		DynatraceConnectorOperatorDivision,
 12221  		DynatraceConnectorOperatorSubtraction,
 12222  		DynatraceConnectorOperatorMaskAll,
 12223  		DynatraceConnectorOperatorMaskFirstN,
 12224  		DynatraceConnectorOperatorMaskLastN,
 12225  		DynatraceConnectorOperatorValidateNonNull,
 12226  		DynatraceConnectorOperatorValidateNonZero,
 12227  		DynatraceConnectorOperatorValidateNonNegative,
 12228  		DynatraceConnectorOperatorValidateNumeric,
 12229  		DynatraceConnectorOperatorNoOp,
 12230  	}
 12231  }
 12232  
 12233  const (
 12234  	// ExecutionStatusInProgress is a ExecutionStatus enum value
 12235  	ExecutionStatusInProgress = "InProgress"
 12236  
 12237  	// ExecutionStatusSuccessful is a ExecutionStatus enum value
 12238  	ExecutionStatusSuccessful = "Successful"
 12239  
 12240  	// ExecutionStatusError is a ExecutionStatus enum value
 12241  	ExecutionStatusError = "Error"
 12242  )
 12243  
 12244  // ExecutionStatus_Values returns all elements of the ExecutionStatus enum
 12245  func ExecutionStatus_Values() []string {
 12246  	return []string{
 12247  		ExecutionStatusInProgress,
 12248  		ExecutionStatusSuccessful,
 12249  		ExecutionStatusError,
 12250  	}
 12251  }
 12252  
 12253  const (
 12254  	// FileTypeCsv is a FileType enum value
 12255  	FileTypeCsv = "CSV"
 12256  
 12257  	// FileTypeJson is a FileType enum value
 12258  	FileTypeJson = "JSON"
 12259  
 12260  	// FileTypeParquet is a FileType enum value
 12261  	FileTypeParquet = "PARQUET"
 12262  )
 12263  
 12264  // FileType_Values returns all elements of the FileType enum
 12265  func FileType_Values() []string {
 12266  	return []string{
 12267  		FileTypeCsv,
 12268  		FileTypeJson,
 12269  		FileTypeParquet,
 12270  	}
 12271  }
 12272  
 12273  const (
 12274  	// FlowStatusActive is a FlowStatus enum value
 12275  	FlowStatusActive = "Active"
 12276  
 12277  	// FlowStatusDeprecated is a FlowStatus enum value
 12278  	FlowStatusDeprecated = "Deprecated"
 12279  
 12280  	// FlowStatusDeleted is a FlowStatus enum value
 12281  	FlowStatusDeleted = "Deleted"
 12282  
 12283  	// FlowStatusDraft is a FlowStatus enum value
 12284  	FlowStatusDraft = "Draft"
 12285  
 12286  	// FlowStatusErrored is a FlowStatus enum value
 12287  	FlowStatusErrored = "Errored"
 12288  
 12289  	// FlowStatusSuspended is a FlowStatus enum value
 12290  	FlowStatusSuspended = "Suspended"
 12291  )
 12292  
 12293  // FlowStatus_Values returns all elements of the FlowStatus enum
 12294  func FlowStatus_Values() []string {
 12295  	return []string{
 12296  		FlowStatusActive,
 12297  		FlowStatusDeprecated,
 12298  		FlowStatusDeleted,
 12299  		FlowStatusDraft,
 12300  		FlowStatusErrored,
 12301  		FlowStatusSuspended,
 12302  	}
 12303  }
 12304  
 12305  const (
 12306  	// GoogleAnalyticsConnectorOperatorProjection is a GoogleAnalyticsConnectorOperator enum value
 12307  	GoogleAnalyticsConnectorOperatorProjection = "PROJECTION"
 12308  
 12309  	// GoogleAnalyticsConnectorOperatorBetween is a GoogleAnalyticsConnectorOperator enum value
 12310  	GoogleAnalyticsConnectorOperatorBetween = "BETWEEN"
 12311  )
 12312  
 12313  // GoogleAnalyticsConnectorOperator_Values returns all elements of the GoogleAnalyticsConnectorOperator enum
 12314  func GoogleAnalyticsConnectorOperator_Values() []string {
 12315  	return []string{
 12316  		GoogleAnalyticsConnectorOperatorProjection,
 12317  		GoogleAnalyticsConnectorOperatorBetween,
 12318  	}
 12319  }
 12320  
 12321  const (
 12322  	// InforNexusConnectorOperatorProjection is a InforNexusConnectorOperator enum value
 12323  	InforNexusConnectorOperatorProjection = "PROJECTION"
 12324  
 12325  	// InforNexusConnectorOperatorBetween is a InforNexusConnectorOperator enum value
 12326  	InforNexusConnectorOperatorBetween = "BETWEEN"
 12327  
 12328  	// InforNexusConnectorOperatorEqualTo is a InforNexusConnectorOperator enum value
 12329  	InforNexusConnectorOperatorEqualTo = "EQUAL_TO"
 12330  
 12331  	// InforNexusConnectorOperatorAddition is a InforNexusConnectorOperator enum value
 12332  	InforNexusConnectorOperatorAddition = "ADDITION"
 12333  
 12334  	// InforNexusConnectorOperatorMultiplication is a InforNexusConnectorOperator enum value
 12335  	InforNexusConnectorOperatorMultiplication = "MULTIPLICATION"
 12336  
 12337  	// InforNexusConnectorOperatorDivision is a InforNexusConnectorOperator enum value
 12338  	InforNexusConnectorOperatorDivision = "DIVISION"
 12339  
 12340  	// InforNexusConnectorOperatorSubtraction is a InforNexusConnectorOperator enum value
 12341  	InforNexusConnectorOperatorSubtraction = "SUBTRACTION"
 12342  
 12343  	// InforNexusConnectorOperatorMaskAll is a InforNexusConnectorOperator enum value
 12344  	InforNexusConnectorOperatorMaskAll = "MASK_ALL"
 12345  
 12346  	// InforNexusConnectorOperatorMaskFirstN is a InforNexusConnectorOperator enum value
 12347  	InforNexusConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 12348  
 12349  	// InforNexusConnectorOperatorMaskLastN is a InforNexusConnectorOperator enum value
 12350  	InforNexusConnectorOperatorMaskLastN = "MASK_LAST_N"
 12351  
 12352  	// InforNexusConnectorOperatorValidateNonNull is a InforNexusConnectorOperator enum value
 12353  	InforNexusConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 12354  
 12355  	// InforNexusConnectorOperatorValidateNonZero is a InforNexusConnectorOperator enum value
 12356  	InforNexusConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 12357  
 12358  	// InforNexusConnectorOperatorValidateNonNegative is a InforNexusConnectorOperator enum value
 12359  	InforNexusConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 12360  
 12361  	// InforNexusConnectorOperatorValidateNumeric is a InforNexusConnectorOperator enum value
 12362  	InforNexusConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 12363  
 12364  	// InforNexusConnectorOperatorNoOp is a InforNexusConnectorOperator enum value
 12365  	InforNexusConnectorOperatorNoOp = "NO_OP"
 12366  )
 12367  
 12368  // InforNexusConnectorOperator_Values returns all elements of the InforNexusConnectorOperator enum
 12369  func InforNexusConnectorOperator_Values() []string {
 12370  	return []string{
 12371  		InforNexusConnectorOperatorProjection,
 12372  		InforNexusConnectorOperatorBetween,
 12373  		InforNexusConnectorOperatorEqualTo,
 12374  		InforNexusConnectorOperatorAddition,
 12375  		InforNexusConnectorOperatorMultiplication,
 12376  		InforNexusConnectorOperatorDivision,
 12377  		InforNexusConnectorOperatorSubtraction,
 12378  		InforNexusConnectorOperatorMaskAll,
 12379  		InforNexusConnectorOperatorMaskFirstN,
 12380  		InforNexusConnectorOperatorMaskLastN,
 12381  		InforNexusConnectorOperatorValidateNonNull,
 12382  		InforNexusConnectorOperatorValidateNonZero,
 12383  		InforNexusConnectorOperatorValidateNonNegative,
 12384  		InforNexusConnectorOperatorValidateNumeric,
 12385  		InforNexusConnectorOperatorNoOp,
 12386  	}
 12387  }
 12388  
 12389  const (
 12390  	// MarketoConnectorOperatorProjection is a MarketoConnectorOperator enum value
 12391  	MarketoConnectorOperatorProjection = "PROJECTION"
 12392  
 12393  	// MarketoConnectorOperatorLessThan is a MarketoConnectorOperator enum value
 12394  	MarketoConnectorOperatorLessThan = "LESS_THAN"
 12395  
 12396  	// MarketoConnectorOperatorGreaterThan is a MarketoConnectorOperator enum value
 12397  	MarketoConnectorOperatorGreaterThan = "GREATER_THAN"
 12398  
 12399  	// MarketoConnectorOperatorBetween is a MarketoConnectorOperator enum value
 12400  	MarketoConnectorOperatorBetween = "BETWEEN"
 12401  
 12402  	// MarketoConnectorOperatorAddition is a MarketoConnectorOperator enum value
 12403  	MarketoConnectorOperatorAddition = "ADDITION"
 12404  
 12405  	// MarketoConnectorOperatorMultiplication is a MarketoConnectorOperator enum value
 12406  	MarketoConnectorOperatorMultiplication = "MULTIPLICATION"
 12407  
 12408  	// MarketoConnectorOperatorDivision is a MarketoConnectorOperator enum value
 12409  	MarketoConnectorOperatorDivision = "DIVISION"
 12410  
 12411  	// MarketoConnectorOperatorSubtraction is a MarketoConnectorOperator enum value
 12412  	MarketoConnectorOperatorSubtraction = "SUBTRACTION"
 12413  
 12414  	// MarketoConnectorOperatorMaskAll is a MarketoConnectorOperator enum value
 12415  	MarketoConnectorOperatorMaskAll = "MASK_ALL"
 12416  
 12417  	// MarketoConnectorOperatorMaskFirstN is a MarketoConnectorOperator enum value
 12418  	MarketoConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 12419  
 12420  	// MarketoConnectorOperatorMaskLastN is a MarketoConnectorOperator enum value
 12421  	MarketoConnectorOperatorMaskLastN = "MASK_LAST_N"
 12422  
 12423  	// MarketoConnectorOperatorValidateNonNull is a MarketoConnectorOperator enum value
 12424  	MarketoConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 12425  
 12426  	// MarketoConnectorOperatorValidateNonZero is a MarketoConnectorOperator enum value
 12427  	MarketoConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 12428  
 12429  	// MarketoConnectorOperatorValidateNonNegative is a MarketoConnectorOperator enum value
 12430  	MarketoConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 12431  
 12432  	// MarketoConnectorOperatorValidateNumeric is a MarketoConnectorOperator enum value
 12433  	MarketoConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 12434  
 12435  	// MarketoConnectorOperatorNoOp is a MarketoConnectorOperator enum value
 12436  	MarketoConnectorOperatorNoOp = "NO_OP"
 12437  )
 12438  
 12439  // MarketoConnectorOperator_Values returns all elements of the MarketoConnectorOperator enum
 12440  func MarketoConnectorOperator_Values() []string {
 12441  	return []string{
 12442  		MarketoConnectorOperatorProjection,
 12443  		MarketoConnectorOperatorLessThan,
 12444  		MarketoConnectorOperatorGreaterThan,
 12445  		MarketoConnectorOperatorBetween,
 12446  		MarketoConnectorOperatorAddition,
 12447  		MarketoConnectorOperatorMultiplication,
 12448  		MarketoConnectorOperatorDivision,
 12449  		MarketoConnectorOperatorSubtraction,
 12450  		MarketoConnectorOperatorMaskAll,
 12451  		MarketoConnectorOperatorMaskFirstN,
 12452  		MarketoConnectorOperatorMaskLastN,
 12453  		MarketoConnectorOperatorValidateNonNull,
 12454  		MarketoConnectorOperatorValidateNonZero,
 12455  		MarketoConnectorOperatorValidateNonNegative,
 12456  		MarketoConnectorOperatorValidateNumeric,
 12457  		MarketoConnectorOperatorNoOp,
 12458  	}
 12459  }
 12460  
 12461  const (
 12462  	// OperatorProjection is a Operator enum value
 12463  	OperatorProjection = "PROJECTION"
 12464  
 12465  	// OperatorLessThan is a Operator enum value
 12466  	OperatorLessThan = "LESS_THAN"
 12467  
 12468  	// OperatorGreaterThan is a Operator enum value
 12469  	OperatorGreaterThan = "GREATER_THAN"
 12470  
 12471  	// OperatorContains is a Operator enum value
 12472  	OperatorContains = "CONTAINS"
 12473  
 12474  	// OperatorBetween is a Operator enum value
 12475  	OperatorBetween = "BETWEEN"
 12476  
 12477  	// OperatorLessThanOrEqualTo is a Operator enum value
 12478  	OperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO"
 12479  
 12480  	// OperatorGreaterThanOrEqualTo is a Operator enum value
 12481  	OperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO"
 12482  
 12483  	// OperatorEqualTo is a Operator enum value
 12484  	OperatorEqualTo = "EQUAL_TO"
 12485  
 12486  	// OperatorNotEqualTo is a Operator enum value
 12487  	OperatorNotEqualTo = "NOT_EQUAL_TO"
 12488  
 12489  	// OperatorAddition is a Operator enum value
 12490  	OperatorAddition = "ADDITION"
 12491  
 12492  	// OperatorMultiplication is a Operator enum value
 12493  	OperatorMultiplication = "MULTIPLICATION"
 12494  
 12495  	// OperatorDivision is a Operator enum value
 12496  	OperatorDivision = "DIVISION"
 12497  
 12498  	// OperatorSubtraction is a Operator enum value
 12499  	OperatorSubtraction = "SUBTRACTION"
 12500  
 12501  	// OperatorMaskAll is a Operator enum value
 12502  	OperatorMaskAll = "MASK_ALL"
 12503  
 12504  	// OperatorMaskFirstN is a Operator enum value
 12505  	OperatorMaskFirstN = "MASK_FIRST_N"
 12506  
 12507  	// OperatorMaskLastN is a Operator enum value
 12508  	OperatorMaskLastN = "MASK_LAST_N"
 12509  
 12510  	// OperatorValidateNonNull is a Operator enum value
 12511  	OperatorValidateNonNull = "VALIDATE_NON_NULL"
 12512  
 12513  	// OperatorValidateNonZero is a Operator enum value
 12514  	OperatorValidateNonZero = "VALIDATE_NON_ZERO"
 12515  
 12516  	// OperatorValidateNonNegative is a Operator enum value
 12517  	OperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 12518  
 12519  	// OperatorValidateNumeric is a Operator enum value
 12520  	OperatorValidateNumeric = "VALIDATE_NUMERIC"
 12521  
 12522  	// OperatorNoOp is a Operator enum value
 12523  	OperatorNoOp = "NO_OP"
 12524  )
 12525  
 12526  // Operator_Values returns all elements of the Operator enum
 12527  func Operator_Values() []string {
 12528  	return []string{
 12529  		OperatorProjection,
 12530  		OperatorLessThan,
 12531  		OperatorGreaterThan,
 12532  		OperatorContains,
 12533  		OperatorBetween,
 12534  		OperatorLessThanOrEqualTo,
 12535  		OperatorGreaterThanOrEqualTo,
 12536  		OperatorEqualTo,
 12537  		OperatorNotEqualTo,
 12538  		OperatorAddition,
 12539  		OperatorMultiplication,
 12540  		OperatorDivision,
 12541  		OperatorSubtraction,
 12542  		OperatorMaskAll,
 12543  		OperatorMaskFirstN,
 12544  		OperatorMaskLastN,
 12545  		OperatorValidateNonNull,
 12546  		OperatorValidateNonZero,
 12547  		OperatorValidateNonNegative,
 12548  		OperatorValidateNumeric,
 12549  		OperatorNoOp,
 12550  	}
 12551  }
 12552  
 12553  const (
 12554  	// OperatorPropertiesKeysValue is a OperatorPropertiesKeys enum value
 12555  	OperatorPropertiesKeysValue = "VALUE"
 12556  
 12557  	// OperatorPropertiesKeysValues is a OperatorPropertiesKeys enum value
 12558  	OperatorPropertiesKeysValues = "VALUES"
 12559  
 12560  	// OperatorPropertiesKeysDataType is a OperatorPropertiesKeys enum value
 12561  	OperatorPropertiesKeysDataType = "DATA_TYPE"
 12562  
 12563  	// OperatorPropertiesKeysUpperBound is a OperatorPropertiesKeys enum value
 12564  	OperatorPropertiesKeysUpperBound = "UPPER_BOUND"
 12565  
 12566  	// OperatorPropertiesKeysLowerBound is a OperatorPropertiesKeys enum value
 12567  	OperatorPropertiesKeysLowerBound = "LOWER_BOUND"
 12568  
 12569  	// OperatorPropertiesKeysSourceDataType is a OperatorPropertiesKeys enum value
 12570  	OperatorPropertiesKeysSourceDataType = "SOURCE_DATA_TYPE"
 12571  
 12572  	// OperatorPropertiesKeysDestinationDataType is a OperatorPropertiesKeys enum value
 12573  	OperatorPropertiesKeysDestinationDataType = "DESTINATION_DATA_TYPE"
 12574  
 12575  	// OperatorPropertiesKeysValidationAction is a OperatorPropertiesKeys enum value
 12576  	OperatorPropertiesKeysValidationAction = "VALIDATION_ACTION"
 12577  
 12578  	// OperatorPropertiesKeysMaskValue is a OperatorPropertiesKeys enum value
 12579  	OperatorPropertiesKeysMaskValue = "MASK_VALUE"
 12580  
 12581  	// OperatorPropertiesKeysMaskLength is a OperatorPropertiesKeys enum value
 12582  	OperatorPropertiesKeysMaskLength = "MASK_LENGTH"
 12583  
 12584  	// OperatorPropertiesKeysTruncateLength is a OperatorPropertiesKeys enum value
 12585  	OperatorPropertiesKeysTruncateLength = "TRUNCATE_LENGTH"
 12586  
 12587  	// OperatorPropertiesKeysMathOperationFieldsOrder is a OperatorPropertiesKeys enum value
 12588  	OperatorPropertiesKeysMathOperationFieldsOrder = "MATH_OPERATION_FIELDS_ORDER"
 12589  
 12590  	// OperatorPropertiesKeysConcatFormat is a OperatorPropertiesKeys enum value
 12591  	OperatorPropertiesKeysConcatFormat = "CONCAT_FORMAT"
 12592  
 12593  	// OperatorPropertiesKeysSubfieldCategoryMap is a OperatorPropertiesKeys enum value
 12594  	OperatorPropertiesKeysSubfieldCategoryMap = "SUBFIELD_CATEGORY_MAP"
 12595  
 12596  	// OperatorPropertiesKeysExcludeSourceFieldsList is a OperatorPropertiesKeys enum value
 12597  	OperatorPropertiesKeysExcludeSourceFieldsList = "EXCLUDE_SOURCE_FIELDS_LIST"
 12598  )
 12599  
 12600  // OperatorPropertiesKeys_Values returns all elements of the OperatorPropertiesKeys enum
 12601  func OperatorPropertiesKeys_Values() []string {
 12602  	return []string{
 12603  		OperatorPropertiesKeysValue,
 12604  		OperatorPropertiesKeysValues,
 12605  		OperatorPropertiesKeysDataType,
 12606  		OperatorPropertiesKeysUpperBound,
 12607  		OperatorPropertiesKeysLowerBound,
 12608  		OperatorPropertiesKeysSourceDataType,
 12609  		OperatorPropertiesKeysDestinationDataType,
 12610  		OperatorPropertiesKeysValidationAction,
 12611  		OperatorPropertiesKeysMaskValue,
 12612  		OperatorPropertiesKeysMaskLength,
 12613  		OperatorPropertiesKeysTruncateLength,
 12614  		OperatorPropertiesKeysMathOperationFieldsOrder,
 12615  		OperatorPropertiesKeysConcatFormat,
 12616  		OperatorPropertiesKeysSubfieldCategoryMap,
 12617  		OperatorPropertiesKeysExcludeSourceFieldsList,
 12618  	}
 12619  }
 12620  
 12621  const (
 12622  	// PrefixFormatYear is a PrefixFormat enum value
 12623  	PrefixFormatYear = "YEAR"
 12624  
 12625  	// PrefixFormatMonth is a PrefixFormat enum value
 12626  	PrefixFormatMonth = "MONTH"
 12627  
 12628  	// PrefixFormatDay is a PrefixFormat enum value
 12629  	PrefixFormatDay = "DAY"
 12630  
 12631  	// PrefixFormatHour is a PrefixFormat enum value
 12632  	PrefixFormatHour = "HOUR"
 12633  
 12634  	// PrefixFormatMinute is a PrefixFormat enum value
 12635  	PrefixFormatMinute = "MINUTE"
 12636  )
 12637  
 12638  // PrefixFormat_Values returns all elements of the PrefixFormat enum
 12639  func PrefixFormat_Values() []string {
 12640  	return []string{
 12641  		PrefixFormatYear,
 12642  		PrefixFormatMonth,
 12643  		PrefixFormatDay,
 12644  		PrefixFormatHour,
 12645  		PrefixFormatMinute,
 12646  	}
 12647  }
 12648  
 12649  const (
 12650  	// PrefixTypeFilename is a PrefixType enum value
 12651  	PrefixTypeFilename = "FILENAME"
 12652  
 12653  	// PrefixTypePath is a PrefixType enum value
 12654  	PrefixTypePath = "PATH"
 12655  
 12656  	// PrefixTypePathAndFilename is a PrefixType enum value
 12657  	PrefixTypePathAndFilename = "PATH_AND_FILENAME"
 12658  )
 12659  
 12660  // PrefixType_Values returns all elements of the PrefixType enum
 12661  func PrefixType_Values() []string {
 12662  	return []string{
 12663  		PrefixTypeFilename,
 12664  		PrefixTypePath,
 12665  		PrefixTypePathAndFilename,
 12666  	}
 12667  }
 12668  
 12669  const (
 12670  	// PrivateConnectionProvisioningFailureCauseConnectorAuthentication is a PrivateConnectionProvisioningFailureCause enum value
 12671  	PrivateConnectionProvisioningFailureCauseConnectorAuthentication = "CONNECTOR_AUTHENTICATION"
 12672  
 12673  	// PrivateConnectionProvisioningFailureCauseConnectorServer is a PrivateConnectionProvisioningFailureCause enum value
 12674  	PrivateConnectionProvisioningFailureCauseConnectorServer = "CONNECTOR_SERVER"
 12675  
 12676  	// PrivateConnectionProvisioningFailureCauseInternalServer is a PrivateConnectionProvisioningFailureCause enum value
 12677  	PrivateConnectionProvisioningFailureCauseInternalServer = "INTERNAL_SERVER"
 12678  
 12679  	// PrivateConnectionProvisioningFailureCauseAccessDenied is a PrivateConnectionProvisioningFailureCause enum value
 12680  	PrivateConnectionProvisioningFailureCauseAccessDenied = "ACCESS_DENIED"
 12681  
 12682  	// PrivateConnectionProvisioningFailureCauseValidation is a PrivateConnectionProvisioningFailureCause enum value
 12683  	PrivateConnectionProvisioningFailureCauseValidation = "VALIDATION"
 12684  )
 12685  
 12686  // PrivateConnectionProvisioningFailureCause_Values returns all elements of the PrivateConnectionProvisioningFailureCause enum
 12687  func PrivateConnectionProvisioningFailureCause_Values() []string {
 12688  	return []string{
 12689  		PrivateConnectionProvisioningFailureCauseConnectorAuthentication,
 12690  		PrivateConnectionProvisioningFailureCauseConnectorServer,
 12691  		PrivateConnectionProvisioningFailureCauseInternalServer,
 12692  		PrivateConnectionProvisioningFailureCauseAccessDenied,
 12693  		PrivateConnectionProvisioningFailureCauseValidation,
 12694  	}
 12695  }
 12696  
 12697  const (
 12698  	// PrivateConnectionProvisioningStatusFailed is a PrivateConnectionProvisioningStatus enum value
 12699  	PrivateConnectionProvisioningStatusFailed = "FAILED"
 12700  
 12701  	// PrivateConnectionProvisioningStatusPending is a PrivateConnectionProvisioningStatus enum value
 12702  	PrivateConnectionProvisioningStatusPending = "PENDING"
 12703  
 12704  	// PrivateConnectionProvisioningStatusCreated is a PrivateConnectionProvisioningStatus enum value
 12705  	PrivateConnectionProvisioningStatusCreated = "CREATED"
 12706  )
 12707  
 12708  // PrivateConnectionProvisioningStatus_Values returns all elements of the PrivateConnectionProvisioningStatus enum
 12709  func PrivateConnectionProvisioningStatus_Values() []string {
 12710  	return []string{
 12711  		PrivateConnectionProvisioningStatusFailed,
 12712  		PrivateConnectionProvisioningStatusPending,
 12713  		PrivateConnectionProvisioningStatusCreated,
 12714  	}
 12715  }
 12716  
 12717  const (
 12718  	// S3ConnectorOperatorProjection is a S3ConnectorOperator enum value
 12719  	S3ConnectorOperatorProjection = "PROJECTION"
 12720  
 12721  	// S3ConnectorOperatorLessThan is a S3ConnectorOperator enum value
 12722  	S3ConnectorOperatorLessThan = "LESS_THAN"
 12723  
 12724  	// S3ConnectorOperatorGreaterThan is a S3ConnectorOperator enum value
 12725  	S3ConnectorOperatorGreaterThan = "GREATER_THAN"
 12726  
 12727  	// S3ConnectorOperatorBetween is a S3ConnectorOperator enum value
 12728  	S3ConnectorOperatorBetween = "BETWEEN"
 12729  
 12730  	// S3ConnectorOperatorLessThanOrEqualTo is a S3ConnectorOperator enum value
 12731  	S3ConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO"
 12732  
 12733  	// S3ConnectorOperatorGreaterThanOrEqualTo is a S3ConnectorOperator enum value
 12734  	S3ConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO"
 12735  
 12736  	// S3ConnectorOperatorEqualTo is a S3ConnectorOperator enum value
 12737  	S3ConnectorOperatorEqualTo = "EQUAL_TO"
 12738  
 12739  	// S3ConnectorOperatorNotEqualTo is a S3ConnectorOperator enum value
 12740  	S3ConnectorOperatorNotEqualTo = "NOT_EQUAL_TO"
 12741  
 12742  	// S3ConnectorOperatorAddition is a S3ConnectorOperator enum value
 12743  	S3ConnectorOperatorAddition = "ADDITION"
 12744  
 12745  	// S3ConnectorOperatorMultiplication is a S3ConnectorOperator enum value
 12746  	S3ConnectorOperatorMultiplication = "MULTIPLICATION"
 12747  
 12748  	// S3ConnectorOperatorDivision is a S3ConnectorOperator enum value
 12749  	S3ConnectorOperatorDivision = "DIVISION"
 12750  
 12751  	// S3ConnectorOperatorSubtraction is a S3ConnectorOperator enum value
 12752  	S3ConnectorOperatorSubtraction = "SUBTRACTION"
 12753  
 12754  	// S3ConnectorOperatorMaskAll is a S3ConnectorOperator enum value
 12755  	S3ConnectorOperatorMaskAll = "MASK_ALL"
 12756  
 12757  	// S3ConnectorOperatorMaskFirstN is a S3ConnectorOperator enum value
 12758  	S3ConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 12759  
 12760  	// S3ConnectorOperatorMaskLastN is a S3ConnectorOperator enum value
 12761  	S3ConnectorOperatorMaskLastN = "MASK_LAST_N"
 12762  
 12763  	// S3ConnectorOperatorValidateNonNull is a S3ConnectorOperator enum value
 12764  	S3ConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 12765  
 12766  	// S3ConnectorOperatorValidateNonZero is a S3ConnectorOperator enum value
 12767  	S3ConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 12768  
 12769  	// S3ConnectorOperatorValidateNonNegative is a S3ConnectorOperator enum value
 12770  	S3ConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 12771  
 12772  	// S3ConnectorOperatorValidateNumeric is a S3ConnectorOperator enum value
 12773  	S3ConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 12774  
 12775  	// S3ConnectorOperatorNoOp is a S3ConnectorOperator enum value
 12776  	S3ConnectorOperatorNoOp = "NO_OP"
 12777  )
 12778  
 12779  // S3ConnectorOperator_Values returns all elements of the S3ConnectorOperator enum
 12780  func S3ConnectorOperator_Values() []string {
 12781  	return []string{
 12782  		S3ConnectorOperatorProjection,
 12783  		S3ConnectorOperatorLessThan,
 12784  		S3ConnectorOperatorGreaterThan,
 12785  		S3ConnectorOperatorBetween,
 12786  		S3ConnectorOperatorLessThanOrEqualTo,
 12787  		S3ConnectorOperatorGreaterThanOrEqualTo,
 12788  		S3ConnectorOperatorEqualTo,
 12789  		S3ConnectorOperatorNotEqualTo,
 12790  		S3ConnectorOperatorAddition,
 12791  		S3ConnectorOperatorMultiplication,
 12792  		S3ConnectorOperatorDivision,
 12793  		S3ConnectorOperatorSubtraction,
 12794  		S3ConnectorOperatorMaskAll,
 12795  		S3ConnectorOperatorMaskFirstN,
 12796  		S3ConnectorOperatorMaskLastN,
 12797  		S3ConnectorOperatorValidateNonNull,
 12798  		S3ConnectorOperatorValidateNonZero,
 12799  		S3ConnectorOperatorValidateNonNegative,
 12800  		S3ConnectorOperatorValidateNumeric,
 12801  		S3ConnectorOperatorNoOp,
 12802  	}
 12803  }
 12804  
 12805  const (
 12806  	// SAPODataConnectorOperatorProjection is a SAPODataConnectorOperator enum value
 12807  	SAPODataConnectorOperatorProjection = "PROJECTION"
 12808  
 12809  	// SAPODataConnectorOperatorLessThan is a SAPODataConnectorOperator enum value
 12810  	SAPODataConnectorOperatorLessThan = "LESS_THAN"
 12811  
 12812  	// SAPODataConnectorOperatorContains is a SAPODataConnectorOperator enum value
 12813  	SAPODataConnectorOperatorContains = "CONTAINS"
 12814  
 12815  	// SAPODataConnectorOperatorGreaterThan is a SAPODataConnectorOperator enum value
 12816  	SAPODataConnectorOperatorGreaterThan = "GREATER_THAN"
 12817  
 12818  	// SAPODataConnectorOperatorBetween is a SAPODataConnectorOperator enum value
 12819  	SAPODataConnectorOperatorBetween = "BETWEEN"
 12820  
 12821  	// SAPODataConnectorOperatorLessThanOrEqualTo is a SAPODataConnectorOperator enum value
 12822  	SAPODataConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO"
 12823  
 12824  	// SAPODataConnectorOperatorGreaterThanOrEqualTo is a SAPODataConnectorOperator enum value
 12825  	SAPODataConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO"
 12826  
 12827  	// SAPODataConnectorOperatorEqualTo is a SAPODataConnectorOperator enum value
 12828  	SAPODataConnectorOperatorEqualTo = "EQUAL_TO"
 12829  
 12830  	// SAPODataConnectorOperatorNotEqualTo is a SAPODataConnectorOperator enum value
 12831  	SAPODataConnectorOperatorNotEqualTo = "NOT_EQUAL_TO"
 12832  
 12833  	// SAPODataConnectorOperatorAddition is a SAPODataConnectorOperator enum value
 12834  	SAPODataConnectorOperatorAddition = "ADDITION"
 12835  
 12836  	// SAPODataConnectorOperatorMultiplication is a SAPODataConnectorOperator enum value
 12837  	SAPODataConnectorOperatorMultiplication = "MULTIPLICATION"
 12838  
 12839  	// SAPODataConnectorOperatorDivision is a SAPODataConnectorOperator enum value
 12840  	SAPODataConnectorOperatorDivision = "DIVISION"
 12841  
 12842  	// SAPODataConnectorOperatorSubtraction is a SAPODataConnectorOperator enum value
 12843  	SAPODataConnectorOperatorSubtraction = "SUBTRACTION"
 12844  
 12845  	// SAPODataConnectorOperatorMaskAll is a SAPODataConnectorOperator enum value
 12846  	SAPODataConnectorOperatorMaskAll = "MASK_ALL"
 12847  
 12848  	// SAPODataConnectorOperatorMaskFirstN is a SAPODataConnectorOperator enum value
 12849  	SAPODataConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 12850  
 12851  	// SAPODataConnectorOperatorMaskLastN is a SAPODataConnectorOperator enum value
 12852  	SAPODataConnectorOperatorMaskLastN = "MASK_LAST_N"
 12853  
 12854  	// SAPODataConnectorOperatorValidateNonNull is a SAPODataConnectorOperator enum value
 12855  	SAPODataConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 12856  
 12857  	// SAPODataConnectorOperatorValidateNonZero is a SAPODataConnectorOperator enum value
 12858  	SAPODataConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 12859  
 12860  	// SAPODataConnectorOperatorValidateNonNegative is a SAPODataConnectorOperator enum value
 12861  	SAPODataConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 12862  
 12863  	// SAPODataConnectorOperatorValidateNumeric is a SAPODataConnectorOperator enum value
 12864  	SAPODataConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 12865  
 12866  	// SAPODataConnectorOperatorNoOp is a SAPODataConnectorOperator enum value
 12867  	SAPODataConnectorOperatorNoOp = "NO_OP"
 12868  )
 12869  
 12870  // SAPODataConnectorOperator_Values returns all elements of the SAPODataConnectorOperator enum
 12871  func SAPODataConnectorOperator_Values() []string {
 12872  	return []string{
 12873  		SAPODataConnectorOperatorProjection,
 12874  		SAPODataConnectorOperatorLessThan,
 12875  		SAPODataConnectorOperatorContains,
 12876  		SAPODataConnectorOperatorGreaterThan,
 12877  		SAPODataConnectorOperatorBetween,
 12878  		SAPODataConnectorOperatorLessThanOrEqualTo,
 12879  		SAPODataConnectorOperatorGreaterThanOrEqualTo,
 12880  		SAPODataConnectorOperatorEqualTo,
 12881  		SAPODataConnectorOperatorNotEqualTo,
 12882  		SAPODataConnectorOperatorAddition,
 12883  		SAPODataConnectorOperatorMultiplication,
 12884  		SAPODataConnectorOperatorDivision,
 12885  		SAPODataConnectorOperatorSubtraction,
 12886  		SAPODataConnectorOperatorMaskAll,
 12887  		SAPODataConnectorOperatorMaskFirstN,
 12888  		SAPODataConnectorOperatorMaskLastN,
 12889  		SAPODataConnectorOperatorValidateNonNull,
 12890  		SAPODataConnectorOperatorValidateNonZero,
 12891  		SAPODataConnectorOperatorValidateNonNegative,
 12892  		SAPODataConnectorOperatorValidateNumeric,
 12893  		SAPODataConnectorOperatorNoOp,
 12894  	}
 12895  }
 12896  
 12897  const (
 12898  	// SalesforceConnectorOperatorProjection is a SalesforceConnectorOperator enum value
 12899  	SalesforceConnectorOperatorProjection = "PROJECTION"
 12900  
 12901  	// SalesforceConnectorOperatorLessThan is a SalesforceConnectorOperator enum value
 12902  	SalesforceConnectorOperatorLessThan = "LESS_THAN"
 12903  
 12904  	// SalesforceConnectorOperatorContains is a SalesforceConnectorOperator enum value
 12905  	SalesforceConnectorOperatorContains = "CONTAINS"
 12906  
 12907  	// SalesforceConnectorOperatorGreaterThan is a SalesforceConnectorOperator enum value
 12908  	SalesforceConnectorOperatorGreaterThan = "GREATER_THAN"
 12909  
 12910  	// SalesforceConnectorOperatorBetween is a SalesforceConnectorOperator enum value
 12911  	SalesforceConnectorOperatorBetween = "BETWEEN"
 12912  
 12913  	// SalesforceConnectorOperatorLessThanOrEqualTo is a SalesforceConnectorOperator enum value
 12914  	SalesforceConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO"
 12915  
 12916  	// SalesforceConnectorOperatorGreaterThanOrEqualTo is a SalesforceConnectorOperator enum value
 12917  	SalesforceConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO"
 12918  
 12919  	// SalesforceConnectorOperatorEqualTo is a SalesforceConnectorOperator enum value
 12920  	SalesforceConnectorOperatorEqualTo = "EQUAL_TO"
 12921  
 12922  	// SalesforceConnectorOperatorNotEqualTo is a SalesforceConnectorOperator enum value
 12923  	SalesforceConnectorOperatorNotEqualTo = "NOT_EQUAL_TO"
 12924  
 12925  	// SalesforceConnectorOperatorAddition is a SalesforceConnectorOperator enum value
 12926  	SalesforceConnectorOperatorAddition = "ADDITION"
 12927  
 12928  	// SalesforceConnectorOperatorMultiplication is a SalesforceConnectorOperator enum value
 12929  	SalesforceConnectorOperatorMultiplication = "MULTIPLICATION"
 12930  
 12931  	// SalesforceConnectorOperatorDivision is a SalesforceConnectorOperator enum value
 12932  	SalesforceConnectorOperatorDivision = "DIVISION"
 12933  
 12934  	// SalesforceConnectorOperatorSubtraction is a SalesforceConnectorOperator enum value
 12935  	SalesforceConnectorOperatorSubtraction = "SUBTRACTION"
 12936  
 12937  	// SalesforceConnectorOperatorMaskAll is a SalesforceConnectorOperator enum value
 12938  	SalesforceConnectorOperatorMaskAll = "MASK_ALL"
 12939  
 12940  	// SalesforceConnectorOperatorMaskFirstN is a SalesforceConnectorOperator enum value
 12941  	SalesforceConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 12942  
 12943  	// SalesforceConnectorOperatorMaskLastN is a SalesforceConnectorOperator enum value
 12944  	SalesforceConnectorOperatorMaskLastN = "MASK_LAST_N"
 12945  
 12946  	// SalesforceConnectorOperatorValidateNonNull is a SalesforceConnectorOperator enum value
 12947  	SalesforceConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 12948  
 12949  	// SalesforceConnectorOperatorValidateNonZero is a SalesforceConnectorOperator enum value
 12950  	SalesforceConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 12951  
 12952  	// SalesforceConnectorOperatorValidateNonNegative is a SalesforceConnectorOperator enum value
 12953  	SalesforceConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 12954  
 12955  	// SalesforceConnectorOperatorValidateNumeric is a SalesforceConnectorOperator enum value
 12956  	SalesforceConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 12957  
 12958  	// SalesforceConnectorOperatorNoOp is a SalesforceConnectorOperator enum value
 12959  	SalesforceConnectorOperatorNoOp = "NO_OP"
 12960  )
 12961  
 12962  // SalesforceConnectorOperator_Values returns all elements of the SalesforceConnectorOperator enum
 12963  func SalesforceConnectorOperator_Values() []string {
 12964  	return []string{
 12965  		SalesforceConnectorOperatorProjection,
 12966  		SalesforceConnectorOperatorLessThan,
 12967  		SalesforceConnectorOperatorContains,
 12968  		SalesforceConnectorOperatorGreaterThan,
 12969  		SalesforceConnectorOperatorBetween,
 12970  		SalesforceConnectorOperatorLessThanOrEqualTo,
 12971  		SalesforceConnectorOperatorGreaterThanOrEqualTo,
 12972  		SalesforceConnectorOperatorEqualTo,
 12973  		SalesforceConnectorOperatorNotEqualTo,
 12974  		SalesforceConnectorOperatorAddition,
 12975  		SalesforceConnectorOperatorMultiplication,
 12976  		SalesforceConnectorOperatorDivision,
 12977  		SalesforceConnectorOperatorSubtraction,
 12978  		SalesforceConnectorOperatorMaskAll,
 12979  		SalesforceConnectorOperatorMaskFirstN,
 12980  		SalesforceConnectorOperatorMaskLastN,
 12981  		SalesforceConnectorOperatorValidateNonNull,
 12982  		SalesforceConnectorOperatorValidateNonZero,
 12983  		SalesforceConnectorOperatorValidateNonNegative,
 12984  		SalesforceConnectorOperatorValidateNumeric,
 12985  		SalesforceConnectorOperatorNoOp,
 12986  	}
 12987  }
 12988  
 12989  const (
 12990  	// ScheduleFrequencyTypeByminute is a ScheduleFrequencyType enum value
 12991  	ScheduleFrequencyTypeByminute = "BYMINUTE"
 12992  
 12993  	// ScheduleFrequencyTypeHourly is a ScheduleFrequencyType enum value
 12994  	ScheduleFrequencyTypeHourly = "HOURLY"
 12995  
 12996  	// ScheduleFrequencyTypeDaily is a ScheduleFrequencyType enum value
 12997  	ScheduleFrequencyTypeDaily = "DAILY"
 12998  
 12999  	// ScheduleFrequencyTypeWeekly is a ScheduleFrequencyType enum value
 13000  	ScheduleFrequencyTypeWeekly = "WEEKLY"
 13001  
 13002  	// ScheduleFrequencyTypeMonthly is a ScheduleFrequencyType enum value
 13003  	ScheduleFrequencyTypeMonthly = "MONTHLY"
 13004  
 13005  	// ScheduleFrequencyTypeOnce is a ScheduleFrequencyType enum value
 13006  	ScheduleFrequencyTypeOnce = "ONCE"
 13007  )
 13008  
 13009  // ScheduleFrequencyType_Values returns all elements of the ScheduleFrequencyType enum
 13010  func ScheduleFrequencyType_Values() []string {
 13011  	return []string{
 13012  		ScheduleFrequencyTypeByminute,
 13013  		ScheduleFrequencyTypeHourly,
 13014  		ScheduleFrequencyTypeDaily,
 13015  		ScheduleFrequencyTypeWeekly,
 13016  		ScheduleFrequencyTypeMonthly,
 13017  		ScheduleFrequencyTypeOnce,
 13018  	}
 13019  }
 13020  
 13021  const (
 13022  	// ServiceNowConnectorOperatorProjection is a ServiceNowConnectorOperator enum value
 13023  	ServiceNowConnectorOperatorProjection = "PROJECTION"
 13024  
 13025  	// ServiceNowConnectorOperatorContains is a ServiceNowConnectorOperator enum value
 13026  	ServiceNowConnectorOperatorContains = "CONTAINS"
 13027  
 13028  	// ServiceNowConnectorOperatorLessThan is a ServiceNowConnectorOperator enum value
 13029  	ServiceNowConnectorOperatorLessThan = "LESS_THAN"
 13030  
 13031  	// ServiceNowConnectorOperatorGreaterThan is a ServiceNowConnectorOperator enum value
 13032  	ServiceNowConnectorOperatorGreaterThan = "GREATER_THAN"
 13033  
 13034  	// ServiceNowConnectorOperatorBetween is a ServiceNowConnectorOperator enum value
 13035  	ServiceNowConnectorOperatorBetween = "BETWEEN"
 13036  
 13037  	// ServiceNowConnectorOperatorLessThanOrEqualTo is a ServiceNowConnectorOperator enum value
 13038  	ServiceNowConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO"
 13039  
 13040  	// ServiceNowConnectorOperatorGreaterThanOrEqualTo is a ServiceNowConnectorOperator enum value
 13041  	ServiceNowConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO"
 13042  
 13043  	// ServiceNowConnectorOperatorEqualTo is a ServiceNowConnectorOperator enum value
 13044  	ServiceNowConnectorOperatorEqualTo = "EQUAL_TO"
 13045  
 13046  	// ServiceNowConnectorOperatorNotEqualTo is a ServiceNowConnectorOperator enum value
 13047  	ServiceNowConnectorOperatorNotEqualTo = "NOT_EQUAL_TO"
 13048  
 13049  	// ServiceNowConnectorOperatorAddition is a ServiceNowConnectorOperator enum value
 13050  	ServiceNowConnectorOperatorAddition = "ADDITION"
 13051  
 13052  	// ServiceNowConnectorOperatorMultiplication is a ServiceNowConnectorOperator enum value
 13053  	ServiceNowConnectorOperatorMultiplication = "MULTIPLICATION"
 13054  
 13055  	// ServiceNowConnectorOperatorDivision is a ServiceNowConnectorOperator enum value
 13056  	ServiceNowConnectorOperatorDivision = "DIVISION"
 13057  
 13058  	// ServiceNowConnectorOperatorSubtraction is a ServiceNowConnectorOperator enum value
 13059  	ServiceNowConnectorOperatorSubtraction = "SUBTRACTION"
 13060  
 13061  	// ServiceNowConnectorOperatorMaskAll is a ServiceNowConnectorOperator enum value
 13062  	ServiceNowConnectorOperatorMaskAll = "MASK_ALL"
 13063  
 13064  	// ServiceNowConnectorOperatorMaskFirstN is a ServiceNowConnectorOperator enum value
 13065  	ServiceNowConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 13066  
 13067  	// ServiceNowConnectorOperatorMaskLastN is a ServiceNowConnectorOperator enum value
 13068  	ServiceNowConnectorOperatorMaskLastN = "MASK_LAST_N"
 13069  
 13070  	// ServiceNowConnectorOperatorValidateNonNull is a ServiceNowConnectorOperator enum value
 13071  	ServiceNowConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 13072  
 13073  	// ServiceNowConnectorOperatorValidateNonZero is a ServiceNowConnectorOperator enum value
 13074  	ServiceNowConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 13075  
 13076  	// ServiceNowConnectorOperatorValidateNonNegative is a ServiceNowConnectorOperator enum value
 13077  	ServiceNowConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 13078  
 13079  	// ServiceNowConnectorOperatorValidateNumeric is a ServiceNowConnectorOperator enum value
 13080  	ServiceNowConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 13081  
 13082  	// ServiceNowConnectorOperatorNoOp is a ServiceNowConnectorOperator enum value
 13083  	ServiceNowConnectorOperatorNoOp = "NO_OP"
 13084  )
 13085  
 13086  // ServiceNowConnectorOperator_Values returns all elements of the ServiceNowConnectorOperator enum
 13087  func ServiceNowConnectorOperator_Values() []string {
 13088  	return []string{
 13089  		ServiceNowConnectorOperatorProjection,
 13090  		ServiceNowConnectorOperatorContains,
 13091  		ServiceNowConnectorOperatorLessThan,
 13092  		ServiceNowConnectorOperatorGreaterThan,
 13093  		ServiceNowConnectorOperatorBetween,
 13094  		ServiceNowConnectorOperatorLessThanOrEqualTo,
 13095  		ServiceNowConnectorOperatorGreaterThanOrEqualTo,
 13096  		ServiceNowConnectorOperatorEqualTo,
 13097  		ServiceNowConnectorOperatorNotEqualTo,
 13098  		ServiceNowConnectorOperatorAddition,
 13099  		ServiceNowConnectorOperatorMultiplication,
 13100  		ServiceNowConnectorOperatorDivision,
 13101  		ServiceNowConnectorOperatorSubtraction,
 13102  		ServiceNowConnectorOperatorMaskAll,
 13103  		ServiceNowConnectorOperatorMaskFirstN,
 13104  		ServiceNowConnectorOperatorMaskLastN,
 13105  		ServiceNowConnectorOperatorValidateNonNull,
 13106  		ServiceNowConnectorOperatorValidateNonZero,
 13107  		ServiceNowConnectorOperatorValidateNonNegative,
 13108  		ServiceNowConnectorOperatorValidateNumeric,
 13109  		ServiceNowConnectorOperatorNoOp,
 13110  	}
 13111  }
 13112  
 13113  const (
 13114  	// SingularConnectorOperatorProjection is a SingularConnectorOperator enum value
 13115  	SingularConnectorOperatorProjection = "PROJECTION"
 13116  
 13117  	// SingularConnectorOperatorEqualTo is a SingularConnectorOperator enum value
 13118  	SingularConnectorOperatorEqualTo = "EQUAL_TO"
 13119  
 13120  	// SingularConnectorOperatorAddition is a SingularConnectorOperator enum value
 13121  	SingularConnectorOperatorAddition = "ADDITION"
 13122  
 13123  	// SingularConnectorOperatorMultiplication is a SingularConnectorOperator enum value
 13124  	SingularConnectorOperatorMultiplication = "MULTIPLICATION"
 13125  
 13126  	// SingularConnectorOperatorDivision is a SingularConnectorOperator enum value
 13127  	SingularConnectorOperatorDivision = "DIVISION"
 13128  
 13129  	// SingularConnectorOperatorSubtraction is a SingularConnectorOperator enum value
 13130  	SingularConnectorOperatorSubtraction = "SUBTRACTION"
 13131  
 13132  	// SingularConnectorOperatorMaskAll is a SingularConnectorOperator enum value
 13133  	SingularConnectorOperatorMaskAll = "MASK_ALL"
 13134  
 13135  	// SingularConnectorOperatorMaskFirstN is a SingularConnectorOperator enum value
 13136  	SingularConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 13137  
 13138  	// SingularConnectorOperatorMaskLastN is a SingularConnectorOperator enum value
 13139  	SingularConnectorOperatorMaskLastN = "MASK_LAST_N"
 13140  
 13141  	// SingularConnectorOperatorValidateNonNull is a SingularConnectorOperator enum value
 13142  	SingularConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 13143  
 13144  	// SingularConnectorOperatorValidateNonZero is a SingularConnectorOperator enum value
 13145  	SingularConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 13146  
 13147  	// SingularConnectorOperatorValidateNonNegative is a SingularConnectorOperator enum value
 13148  	SingularConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 13149  
 13150  	// SingularConnectorOperatorValidateNumeric is a SingularConnectorOperator enum value
 13151  	SingularConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 13152  
 13153  	// SingularConnectorOperatorNoOp is a SingularConnectorOperator enum value
 13154  	SingularConnectorOperatorNoOp = "NO_OP"
 13155  )
 13156  
 13157  // SingularConnectorOperator_Values returns all elements of the SingularConnectorOperator enum
 13158  func SingularConnectorOperator_Values() []string {
 13159  	return []string{
 13160  		SingularConnectorOperatorProjection,
 13161  		SingularConnectorOperatorEqualTo,
 13162  		SingularConnectorOperatorAddition,
 13163  		SingularConnectorOperatorMultiplication,
 13164  		SingularConnectorOperatorDivision,
 13165  		SingularConnectorOperatorSubtraction,
 13166  		SingularConnectorOperatorMaskAll,
 13167  		SingularConnectorOperatorMaskFirstN,
 13168  		SingularConnectorOperatorMaskLastN,
 13169  		SingularConnectorOperatorValidateNonNull,
 13170  		SingularConnectorOperatorValidateNonZero,
 13171  		SingularConnectorOperatorValidateNonNegative,
 13172  		SingularConnectorOperatorValidateNumeric,
 13173  		SingularConnectorOperatorNoOp,
 13174  	}
 13175  }
 13176  
 13177  const (
 13178  	// SlackConnectorOperatorProjection is a SlackConnectorOperator enum value
 13179  	SlackConnectorOperatorProjection = "PROJECTION"
 13180  
 13181  	// SlackConnectorOperatorLessThan is a SlackConnectorOperator enum value
 13182  	SlackConnectorOperatorLessThan = "LESS_THAN"
 13183  
 13184  	// SlackConnectorOperatorGreaterThan is a SlackConnectorOperator enum value
 13185  	SlackConnectorOperatorGreaterThan = "GREATER_THAN"
 13186  
 13187  	// SlackConnectorOperatorBetween is a SlackConnectorOperator enum value
 13188  	SlackConnectorOperatorBetween = "BETWEEN"
 13189  
 13190  	// SlackConnectorOperatorLessThanOrEqualTo is a SlackConnectorOperator enum value
 13191  	SlackConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO"
 13192  
 13193  	// SlackConnectorOperatorGreaterThanOrEqualTo is a SlackConnectorOperator enum value
 13194  	SlackConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO"
 13195  
 13196  	// SlackConnectorOperatorEqualTo is a SlackConnectorOperator enum value
 13197  	SlackConnectorOperatorEqualTo = "EQUAL_TO"
 13198  
 13199  	// SlackConnectorOperatorAddition is a SlackConnectorOperator enum value
 13200  	SlackConnectorOperatorAddition = "ADDITION"
 13201  
 13202  	// SlackConnectorOperatorMultiplication is a SlackConnectorOperator enum value
 13203  	SlackConnectorOperatorMultiplication = "MULTIPLICATION"
 13204  
 13205  	// SlackConnectorOperatorDivision is a SlackConnectorOperator enum value
 13206  	SlackConnectorOperatorDivision = "DIVISION"
 13207  
 13208  	// SlackConnectorOperatorSubtraction is a SlackConnectorOperator enum value
 13209  	SlackConnectorOperatorSubtraction = "SUBTRACTION"
 13210  
 13211  	// SlackConnectorOperatorMaskAll is a SlackConnectorOperator enum value
 13212  	SlackConnectorOperatorMaskAll = "MASK_ALL"
 13213  
 13214  	// SlackConnectorOperatorMaskFirstN is a SlackConnectorOperator enum value
 13215  	SlackConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 13216  
 13217  	// SlackConnectorOperatorMaskLastN is a SlackConnectorOperator enum value
 13218  	SlackConnectorOperatorMaskLastN = "MASK_LAST_N"
 13219  
 13220  	// SlackConnectorOperatorValidateNonNull is a SlackConnectorOperator enum value
 13221  	SlackConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 13222  
 13223  	// SlackConnectorOperatorValidateNonZero is a SlackConnectorOperator enum value
 13224  	SlackConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 13225  
 13226  	// SlackConnectorOperatorValidateNonNegative is a SlackConnectorOperator enum value
 13227  	SlackConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 13228  
 13229  	// SlackConnectorOperatorValidateNumeric is a SlackConnectorOperator enum value
 13230  	SlackConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 13231  
 13232  	// SlackConnectorOperatorNoOp is a SlackConnectorOperator enum value
 13233  	SlackConnectorOperatorNoOp = "NO_OP"
 13234  )
 13235  
 13236  // SlackConnectorOperator_Values returns all elements of the SlackConnectorOperator enum
 13237  func SlackConnectorOperator_Values() []string {
 13238  	return []string{
 13239  		SlackConnectorOperatorProjection,
 13240  		SlackConnectorOperatorLessThan,
 13241  		SlackConnectorOperatorGreaterThan,
 13242  		SlackConnectorOperatorBetween,
 13243  		SlackConnectorOperatorLessThanOrEqualTo,
 13244  		SlackConnectorOperatorGreaterThanOrEqualTo,
 13245  		SlackConnectorOperatorEqualTo,
 13246  		SlackConnectorOperatorAddition,
 13247  		SlackConnectorOperatorMultiplication,
 13248  		SlackConnectorOperatorDivision,
 13249  		SlackConnectorOperatorSubtraction,
 13250  		SlackConnectorOperatorMaskAll,
 13251  		SlackConnectorOperatorMaskFirstN,
 13252  		SlackConnectorOperatorMaskLastN,
 13253  		SlackConnectorOperatorValidateNonNull,
 13254  		SlackConnectorOperatorValidateNonZero,
 13255  		SlackConnectorOperatorValidateNonNegative,
 13256  		SlackConnectorOperatorValidateNumeric,
 13257  		SlackConnectorOperatorNoOp,
 13258  	}
 13259  }
 13260  
 13261  const (
 13262  	// TaskTypeArithmetic is a TaskType enum value
 13263  	TaskTypeArithmetic = "Arithmetic"
 13264  
 13265  	// TaskTypeFilter is a TaskType enum value
 13266  	TaskTypeFilter = "Filter"
 13267  
 13268  	// TaskTypeMap is a TaskType enum value
 13269  	TaskTypeMap = "Map"
 13270  
 13271  	// TaskTypeMapAll is a TaskType enum value
 13272  	TaskTypeMapAll = "Map_all"
 13273  
 13274  	// TaskTypeMask is a TaskType enum value
 13275  	TaskTypeMask = "Mask"
 13276  
 13277  	// TaskTypeMerge is a TaskType enum value
 13278  	TaskTypeMerge = "Merge"
 13279  
 13280  	// TaskTypeTruncate is a TaskType enum value
 13281  	TaskTypeTruncate = "Truncate"
 13282  
 13283  	// TaskTypeValidate is a TaskType enum value
 13284  	TaskTypeValidate = "Validate"
 13285  )
 13286  
 13287  // TaskType_Values returns all elements of the TaskType enum
 13288  func TaskType_Values() []string {
 13289  	return []string{
 13290  		TaskTypeArithmetic,
 13291  		TaskTypeFilter,
 13292  		TaskTypeMap,
 13293  		TaskTypeMapAll,
 13294  		TaskTypeMask,
 13295  		TaskTypeMerge,
 13296  		TaskTypeTruncate,
 13297  		TaskTypeValidate,
 13298  	}
 13299  }
 13300  
 13301  const (
 13302  	// TrendmicroConnectorOperatorProjection is a TrendmicroConnectorOperator enum value
 13303  	TrendmicroConnectorOperatorProjection = "PROJECTION"
 13304  
 13305  	// TrendmicroConnectorOperatorEqualTo is a TrendmicroConnectorOperator enum value
 13306  	TrendmicroConnectorOperatorEqualTo = "EQUAL_TO"
 13307  
 13308  	// TrendmicroConnectorOperatorAddition is a TrendmicroConnectorOperator enum value
 13309  	TrendmicroConnectorOperatorAddition = "ADDITION"
 13310  
 13311  	// TrendmicroConnectorOperatorMultiplication is a TrendmicroConnectorOperator enum value
 13312  	TrendmicroConnectorOperatorMultiplication = "MULTIPLICATION"
 13313  
 13314  	// TrendmicroConnectorOperatorDivision is a TrendmicroConnectorOperator enum value
 13315  	TrendmicroConnectorOperatorDivision = "DIVISION"
 13316  
 13317  	// TrendmicroConnectorOperatorSubtraction is a TrendmicroConnectorOperator enum value
 13318  	TrendmicroConnectorOperatorSubtraction = "SUBTRACTION"
 13319  
 13320  	// TrendmicroConnectorOperatorMaskAll is a TrendmicroConnectorOperator enum value
 13321  	TrendmicroConnectorOperatorMaskAll = "MASK_ALL"
 13322  
 13323  	// TrendmicroConnectorOperatorMaskFirstN is a TrendmicroConnectorOperator enum value
 13324  	TrendmicroConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 13325  
 13326  	// TrendmicroConnectorOperatorMaskLastN is a TrendmicroConnectorOperator enum value
 13327  	TrendmicroConnectorOperatorMaskLastN = "MASK_LAST_N"
 13328  
 13329  	// TrendmicroConnectorOperatorValidateNonNull is a TrendmicroConnectorOperator enum value
 13330  	TrendmicroConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 13331  
 13332  	// TrendmicroConnectorOperatorValidateNonZero is a TrendmicroConnectorOperator enum value
 13333  	TrendmicroConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 13334  
 13335  	// TrendmicroConnectorOperatorValidateNonNegative is a TrendmicroConnectorOperator enum value
 13336  	TrendmicroConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 13337  
 13338  	// TrendmicroConnectorOperatorValidateNumeric is a TrendmicroConnectorOperator enum value
 13339  	TrendmicroConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 13340  
 13341  	// TrendmicroConnectorOperatorNoOp is a TrendmicroConnectorOperator enum value
 13342  	TrendmicroConnectorOperatorNoOp = "NO_OP"
 13343  )
 13344  
 13345  // TrendmicroConnectorOperator_Values returns all elements of the TrendmicroConnectorOperator enum
 13346  func TrendmicroConnectorOperator_Values() []string {
 13347  	return []string{
 13348  		TrendmicroConnectorOperatorProjection,
 13349  		TrendmicroConnectorOperatorEqualTo,
 13350  		TrendmicroConnectorOperatorAddition,
 13351  		TrendmicroConnectorOperatorMultiplication,
 13352  		TrendmicroConnectorOperatorDivision,
 13353  		TrendmicroConnectorOperatorSubtraction,
 13354  		TrendmicroConnectorOperatorMaskAll,
 13355  		TrendmicroConnectorOperatorMaskFirstN,
 13356  		TrendmicroConnectorOperatorMaskLastN,
 13357  		TrendmicroConnectorOperatorValidateNonNull,
 13358  		TrendmicroConnectorOperatorValidateNonZero,
 13359  		TrendmicroConnectorOperatorValidateNonNegative,
 13360  		TrendmicroConnectorOperatorValidateNumeric,
 13361  		TrendmicroConnectorOperatorNoOp,
 13362  	}
 13363  }
 13364  
 13365  const (
 13366  	// TriggerTypeScheduled is a TriggerType enum value
 13367  	TriggerTypeScheduled = "Scheduled"
 13368  
 13369  	// TriggerTypeEvent is a TriggerType enum value
 13370  	TriggerTypeEvent = "Event"
 13371  
 13372  	// TriggerTypeOnDemand is a TriggerType enum value
 13373  	TriggerTypeOnDemand = "OnDemand"
 13374  )
 13375  
 13376  // TriggerType_Values returns all elements of the TriggerType enum
 13377  func TriggerType_Values() []string {
 13378  	return []string{
 13379  		TriggerTypeScheduled,
 13380  		TriggerTypeEvent,
 13381  		TriggerTypeOnDemand,
 13382  	}
 13383  }
 13384  
 13385  const (
 13386  	// VeevaConnectorOperatorProjection is a VeevaConnectorOperator enum value
 13387  	VeevaConnectorOperatorProjection = "PROJECTION"
 13388  
 13389  	// VeevaConnectorOperatorLessThan is a VeevaConnectorOperator enum value
 13390  	VeevaConnectorOperatorLessThan = "LESS_THAN"
 13391  
 13392  	// VeevaConnectorOperatorGreaterThan is a VeevaConnectorOperator enum value
 13393  	VeevaConnectorOperatorGreaterThan = "GREATER_THAN"
 13394  
 13395  	// VeevaConnectorOperatorContains is a VeevaConnectorOperator enum value
 13396  	VeevaConnectorOperatorContains = "CONTAINS"
 13397  
 13398  	// VeevaConnectorOperatorBetween is a VeevaConnectorOperator enum value
 13399  	VeevaConnectorOperatorBetween = "BETWEEN"
 13400  
 13401  	// VeevaConnectorOperatorLessThanOrEqualTo is a VeevaConnectorOperator enum value
 13402  	VeevaConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO"
 13403  
 13404  	// VeevaConnectorOperatorGreaterThanOrEqualTo is a VeevaConnectorOperator enum value
 13405  	VeevaConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO"
 13406  
 13407  	// VeevaConnectorOperatorEqualTo is a VeevaConnectorOperator enum value
 13408  	VeevaConnectorOperatorEqualTo = "EQUAL_TO"
 13409  
 13410  	// VeevaConnectorOperatorNotEqualTo is a VeevaConnectorOperator enum value
 13411  	VeevaConnectorOperatorNotEqualTo = "NOT_EQUAL_TO"
 13412  
 13413  	// VeevaConnectorOperatorAddition is a VeevaConnectorOperator enum value
 13414  	VeevaConnectorOperatorAddition = "ADDITION"
 13415  
 13416  	// VeevaConnectorOperatorMultiplication is a VeevaConnectorOperator enum value
 13417  	VeevaConnectorOperatorMultiplication = "MULTIPLICATION"
 13418  
 13419  	// VeevaConnectorOperatorDivision is a VeevaConnectorOperator enum value
 13420  	VeevaConnectorOperatorDivision = "DIVISION"
 13421  
 13422  	// VeevaConnectorOperatorSubtraction is a VeevaConnectorOperator enum value
 13423  	VeevaConnectorOperatorSubtraction = "SUBTRACTION"
 13424  
 13425  	// VeevaConnectorOperatorMaskAll is a VeevaConnectorOperator enum value
 13426  	VeevaConnectorOperatorMaskAll = "MASK_ALL"
 13427  
 13428  	// VeevaConnectorOperatorMaskFirstN is a VeevaConnectorOperator enum value
 13429  	VeevaConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 13430  
 13431  	// VeevaConnectorOperatorMaskLastN is a VeevaConnectorOperator enum value
 13432  	VeevaConnectorOperatorMaskLastN = "MASK_LAST_N"
 13433  
 13434  	// VeevaConnectorOperatorValidateNonNull is a VeevaConnectorOperator enum value
 13435  	VeevaConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 13436  
 13437  	// VeevaConnectorOperatorValidateNonZero is a VeevaConnectorOperator enum value
 13438  	VeevaConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 13439  
 13440  	// VeevaConnectorOperatorValidateNonNegative is a VeevaConnectorOperator enum value
 13441  	VeevaConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 13442  
 13443  	// VeevaConnectorOperatorValidateNumeric is a VeevaConnectorOperator enum value
 13444  	VeevaConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 13445  
 13446  	// VeevaConnectorOperatorNoOp is a VeevaConnectorOperator enum value
 13447  	VeevaConnectorOperatorNoOp = "NO_OP"
 13448  )
 13449  
 13450  // VeevaConnectorOperator_Values returns all elements of the VeevaConnectorOperator enum
 13451  func VeevaConnectorOperator_Values() []string {
 13452  	return []string{
 13453  		VeevaConnectorOperatorProjection,
 13454  		VeevaConnectorOperatorLessThan,
 13455  		VeevaConnectorOperatorGreaterThan,
 13456  		VeevaConnectorOperatorContains,
 13457  		VeevaConnectorOperatorBetween,
 13458  		VeevaConnectorOperatorLessThanOrEqualTo,
 13459  		VeevaConnectorOperatorGreaterThanOrEqualTo,
 13460  		VeevaConnectorOperatorEqualTo,
 13461  		VeevaConnectorOperatorNotEqualTo,
 13462  		VeevaConnectorOperatorAddition,
 13463  		VeevaConnectorOperatorMultiplication,
 13464  		VeevaConnectorOperatorDivision,
 13465  		VeevaConnectorOperatorSubtraction,
 13466  		VeevaConnectorOperatorMaskAll,
 13467  		VeevaConnectorOperatorMaskFirstN,
 13468  		VeevaConnectorOperatorMaskLastN,
 13469  		VeevaConnectorOperatorValidateNonNull,
 13470  		VeevaConnectorOperatorValidateNonZero,
 13471  		VeevaConnectorOperatorValidateNonNegative,
 13472  		VeevaConnectorOperatorValidateNumeric,
 13473  		VeevaConnectorOperatorNoOp,
 13474  	}
 13475  }
 13476  
 13477  // The possible write operations in the destination connector. When this value
 13478  // is not provided, this defaults to the INSERT operation.
 13479  const (
 13480  	// WriteOperationTypeInsert is a WriteOperationType enum value
 13481  	WriteOperationTypeInsert = "INSERT"
 13482  
 13483  	// WriteOperationTypeUpsert is a WriteOperationType enum value
 13484  	WriteOperationTypeUpsert = "UPSERT"
 13485  
 13486  	// WriteOperationTypeUpdate is a WriteOperationType enum value
 13487  	WriteOperationTypeUpdate = "UPDATE"
 13488  )
 13489  
 13490  // WriteOperationType_Values returns all elements of the WriteOperationType enum
 13491  func WriteOperationType_Values() []string {
 13492  	return []string{
 13493  		WriteOperationTypeInsert,
 13494  		WriteOperationTypeUpsert,
 13495  		WriteOperationTypeUpdate,
 13496  	}
 13497  }
 13498  
 13499  const (
 13500  	// ZendeskConnectorOperatorProjection is a ZendeskConnectorOperator enum value
 13501  	ZendeskConnectorOperatorProjection = "PROJECTION"
 13502  
 13503  	// ZendeskConnectorOperatorGreaterThan is a ZendeskConnectorOperator enum value
 13504  	ZendeskConnectorOperatorGreaterThan = "GREATER_THAN"
 13505  
 13506  	// ZendeskConnectorOperatorAddition is a ZendeskConnectorOperator enum value
 13507  	ZendeskConnectorOperatorAddition = "ADDITION"
 13508  
 13509  	// ZendeskConnectorOperatorMultiplication is a ZendeskConnectorOperator enum value
 13510  	ZendeskConnectorOperatorMultiplication = "MULTIPLICATION"
 13511  
 13512  	// ZendeskConnectorOperatorDivision is a ZendeskConnectorOperator enum value
 13513  	ZendeskConnectorOperatorDivision = "DIVISION"
 13514  
 13515  	// ZendeskConnectorOperatorSubtraction is a ZendeskConnectorOperator enum value
 13516  	ZendeskConnectorOperatorSubtraction = "SUBTRACTION"
 13517  
 13518  	// ZendeskConnectorOperatorMaskAll is a ZendeskConnectorOperator enum value
 13519  	ZendeskConnectorOperatorMaskAll = "MASK_ALL"
 13520  
 13521  	// ZendeskConnectorOperatorMaskFirstN is a ZendeskConnectorOperator enum value
 13522  	ZendeskConnectorOperatorMaskFirstN = "MASK_FIRST_N"
 13523  
 13524  	// ZendeskConnectorOperatorMaskLastN is a ZendeskConnectorOperator enum value
 13525  	ZendeskConnectorOperatorMaskLastN = "MASK_LAST_N"
 13526  
 13527  	// ZendeskConnectorOperatorValidateNonNull is a ZendeskConnectorOperator enum value
 13528  	ZendeskConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL"
 13529  
 13530  	// ZendeskConnectorOperatorValidateNonZero is a ZendeskConnectorOperator enum value
 13531  	ZendeskConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO"
 13532  
 13533  	// ZendeskConnectorOperatorValidateNonNegative is a ZendeskConnectorOperator enum value
 13534  	ZendeskConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE"
 13535  
 13536  	// ZendeskConnectorOperatorValidateNumeric is a ZendeskConnectorOperator enum value
 13537  	ZendeskConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC"
 13538  
 13539  	// ZendeskConnectorOperatorNoOp is a ZendeskConnectorOperator enum value
 13540  	ZendeskConnectorOperatorNoOp = "NO_OP"
 13541  )
 13542  
 13543  // ZendeskConnectorOperator_Values returns all elements of the ZendeskConnectorOperator enum
 13544  func ZendeskConnectorOperator_Values() []string {
 13545  	return []string{
 13546  		ZendeskConnectorOperatorProjection,
 13547  		ZendeskConnectorOperatorGreaterThan,
 13548  		ZendeskConnectorOperatorAddition,
 13549  		ZendeskConnectorOperatorMultiplication,
 13550  		ZendeskConnectorOperatorDivision,
 13551  		ZendeskConnectorOperatorSubtraction,
 13552  		ZendeskConnectorOperatorMaskAll,
 13553  		ZendeskConnectorOperatorMaskFirstN,
 13554  		ZendeskConnectorOperatorMaskLastN,
 13555  		ZendeskConnectorOperatorValidateNonNull,
 13556  		ZendeskConnectorOperatorValidateNonZero,
 13557  		ZendeskConnectorOperatorValidateNonNegative,
 13558  		ZendeskConnectorOperatorValidateNumeric,
 13559  		ZendeskConnectorOperatorNoOp,
 13560  	}
 13561  }