1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3package appflow 4 5import ( 6 "fmt" 7 "time" 8 9 "github.com/aws/aws-sdk-go/aws" 10 "github.com/aws/aws-sdk-go/aws/awsutil" 11 "github.com/aws/aws-sdk-go/aws/request" 12 "github.com/aws/aws-sdk-go/private/protocol" 13 "github.com/aws/aws-sdk-go/private/protocol/restjson" 14) 15 16const 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 42func (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 94func (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. 108func (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 115const 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 141func (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 200func (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. 214func (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 221const 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 247func (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 290func (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. 304func (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 311const 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 337func (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 382func (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. 396func (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 403const 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 429func (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 476func (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. 490func (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 497const 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 523func (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 571func (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. 585func (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// 609func (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. 620func (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 644const 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 670func (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 717func (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. 731func (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// 755func (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. 766func (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 790const 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 816func (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 853func (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. 867func (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 874const 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 900func (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 946func (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. 960func (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// 984func (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. 995func (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 1019const 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 1045func (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 1093func (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. 1107func (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 1114const 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 1140func (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 1182func (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. 1196func (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// 1220func (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. 1231func (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 1255const 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 1281func (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 1321func (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. 1335func (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 1342const 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 1368func (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 1416func (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. 1430func (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 1437const 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 1463func (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 1510func (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. 1524func (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 1531const 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 1557func (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 1598func (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. 1612func (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 1619const 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 1645func (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 1686func (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. 1700func (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 1707const 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 1733func (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 1781func (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. 1795func (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 1802const 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 1828func (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 1883func (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. 1897func (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. 1906type 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 1915func (s AggregationConfig) String() string { 1916 return awsutil.Prettify(s) 1917} 1918 1919// GoString returns the string representation 1920func (s AggregationConfig) GoString() string { 1921 return s.String() 1922} 1923 1924// SetAggregationType sets the AggregationType field's value. 1925func (s *AggregationConfig) SetAggregationType(v string) *AggregationConfig { 1926 s.AggregationType = &v 1927 return s 1928} 1929 1930// The connector-specific credentials required when using Amplitude. 1931type AmplitudeConnectorProfileCredentials struct { 1932 _ struct{} `type:"structure"` 1933 1934 // A unique alphanumeric identifier used to authenticate a user, developer, 1935 // or calling program to your API. 1936 // 1937 // ApiKey is a required field 1938 ApiKey *string `locationName:"apiKey" type:"string" required:"true"` 1939 1940 // The Secret Access Key portion of the credentials. 1941 // 1942 // SecretKey is a required field 1943 SecretKey *string `locationName:"secretKey" type:"string" required:"true" sensitive:"true"` 1944} 1945 1946// String returns the string representation 1947func (s AmplitudeConnectorProfileCredentials) String() string { 1948 return awsutil.Prettify(s) 1949} 1950 1951// GoString returns the string representation 1952func (s AmplitudeConnectorProfileCredentials) GoString() string { 1953 return s.String() 1954} 1955 1956// Validate inspects the fields of the type to determine if they are valid. 1957func (s *AmplitudeConnectorProfileCredentials) Validate() error { 1958 invalidParams := request.ErrInvalidParams{Context: "AmplitudeConnectorProfileCredentials"} 1959 if s.ApiKey == nil { 1960 invalidParams.Add(request.NewErrParamRequired("ApiKey")) 1961 } 1962 if s.SecretKey == nil { 1963 invalidParams.Add(request.NewErrParamRequired("SecretKey")) 1964 } 1965 1966 if invalidParams.Len() > 0 { 1967 return invalidParams 1968 } 1969 return nil 1970} 1971 1972// SetApiKey sets the ApiKey field's value. 1973func (s *AmplitudeConnectorProfileCredentials) SetApiKey(v string) *AmplitudeConnectorProfileCredentials { 1974 s.ApiKey = &v 1975 return s 1976} 1977 1978// SetSecretKey sets the SecretKey field's value. 1979func (s *AmplitudeConnectorProfileCredentials) SetSecretKey(v string) *AmplitudeConnectorProfileCredentials { 1980 s.SecretKey = &v 1981 return s 1982} 1983 1984// The connector-specific profile properties required when using Amplitude. 1985type AmplitudeConnectorProfileProperties struct { 1986 _ struct{} `type:"structure"` 1987} 1988 1989// String returns the string representation 1990func (s AmplitudeConnectorProfileProperties) String() string { 1991 return awsutil.Prettify(s) 1992} 1993 1994// GoString returns the string representation 1995func (s AmplitudeConnectorProfileProperties) GoString() string { 1996 return s.String() 1997} 1998 1999// The connector metadata specific to Amplitude. 2000type AmplitudeMetadata struct { 2001 _ struct{} `type:"structure"` 2002} 2003 2004// String returns the string representation 2005func (s AmplitudeMetadata) String() string { 2006 return awsutil.Prettify(s) 2007} 2008 2009// GoString returns the string representation 2010func (s AmplitudeMetadata) GoString() string { 2011 return s.String() 2012} 2013 2014// The properties that are applied when Amplitude is being used as a source. 2015type AmplitudeSourceProperties struct { 2016 _ struct{} `type:"structure"` 2017 2018 // The object specified in the Amplitude flow source. 2019 // 2020 // Object is a required field 2021 Object *string `locationName:"object" type:"string" required:"true"` 2022} 2023 2024// String returns the string representation 2025func (s AmplitudeSourceProperties) String() string { 2026 return awsutil.Prettify(s) 2027} 2028 2029// GoString returns the string representation 2030func (s AmplitudeSourceProperties) GoString() string { 2031 return s.String() 2032} 2033 2034// Validate inspects the fields of the type to determine if they are valid. 2035func (s *AmplitudeSourceProperties) Validate() error { 2036 invalidParams := request.ErrInvalidParams{Context: "AmplitudeSourceProperties"} 2037 if s.Object == nil { 2038 invalidParams.Add(request.NewErrParamRequired("Object")) 2039 } 2040 2041 if invalidParams.Len() > 0 { 2042 return invalidParams 2043 } 2044 return nil 2045} 2046 2047// SetObject sets the Object field's value. 2048func (s *AmplitudeSourceProperties) SetObject(v string) *AmplitudeSourceProperties { 2049 s.Object = &v 2050 return s 2051} 2052 2053// The basic auth credentials required for basic authentication. 2054type BasicAuthCredentials struct { 2055 _ struct{} `type:"structure"` 2056 2057 // The password to use to connect to a resource. 2058 // 2059 // Password is a required field 2060 Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"` 2061 2062 // The username to use to connect to a resource. 2063 // 2064 // Username is a required field 2065 Username *string `locationName:"username" type:"string" required:"true"` 2066} 2067 2068// String returns the string representation 2069func (s BasicAuthCredentials) String() string { 2070 return awsutil.Prettify(s) 2071} 2072 2073// GoString returns the string representation 2074func (s BasicAuthCredentials) GoString() string { 2075 return s.String() 2076} 2077 2078// Validate inspects the fields of the type to determine if they are valid. 2079func (s *BasicAuthCredentials) Validate() error { 2080 invalidParams := request.ErrInvalidParams{Context: "BasicAuthCredentials"} 2081 if s.Password == nil { 2082 invalidParams.Add(request.NewErrParamRequired("Password")) 2083 } 2084 if s.Username == nil { 2085 invalidParams.Add(request.NewErrParamRequired("Username")) 2086 } 2087 2088 if invalidParams.Len() > 0 { 2089 return invalidParams 2090 } 2091 return nil 2092} 2093 2094// SetPassword sets the Password field's value. 2095func (s *BasicAuthCredentials) SetPassword(v string) *BasicAuthCredentials { 2096 s.Password = &v 2097 return s 2098} 2099 2100// SetUsername sets the Username field's value. 2101func (s *BasicAuthCredentials) SetUsername(v string) *BasicAuthCredentials { 2102 s.Username = &v 2103 return s 2104} 2105 2106// There was a conflict when processing the request (for example, a flow with 2107// the given name already exists within the account. Check for conflicting resource 2108// names and try again. 2109type ConflictException struct { 2110 _ struct{} `type:"structure"` 2111 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 2112 2113 Message_ *string `locationName:"message" type:"string"` 2114} 2115 2116// String returns the string representation 2117func (s ConflictException) String() string { 2118 return awsutil.Prettify(s) 2119} 2120 2121// GoString returns the string representation 2122func (s ConflictException) GoString() string { 2123 return s.String() 2124} 2125 2126func newErrorConflictException(v protocol.ResponseMetadata) error { 2127 return &ConflictException{ 2128 RespMetadata: v, 2129 } 2130} 2131 2132// Code returns the exception type name. 2133func (s *ConflictException) Code() string { 2134 return "ConflictException" 2135} 2136 2137// Message returns the exception's message. 2138func (s *ConflictException) Message() string { 2139 if s.Message_ != nil { 2140 return *s.Message_ 2141 } 2142 return "" 2143} 2144 2145// OrigErr always returns nil, satisfies awserr.Error interface. 2146func (s *ConflictException) OrigErr() error { 2147 return nil 2148} 2149 2150func (s *ConflictException) Error() string { 2151 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 2152} 2153 2154// Status code returns the HTTP status code for the request's response error. 2155func (s *ConflictException) StatusCode() int { 2156 return s.RespMetadata.StatusCode 2157} 2158 2159// RequestID returns the service's response RequestID for request. 2160func (s *ConflictException) RequestID() string { 2161 return s.RespMetadata.RequestID 2162} 2163 2164// An error occurred when authenticating with the connector endpoint. 2165type ConnectorAuthenticationException 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 2173func (s ConnectorAuthenticationException) String() string { 2174 return awsutil.Prettify(s) 2175} 2176 2177// GoString returns the string representation 2178func (s ConnectorAuthenticationException) GoString() string { 2179 return s.String() 2180} 2181 2182func newErrorConnectorAuthenticationException(v protocol.ResponseMetadata) error { 2183 return &ConnectorAuthenticationException{ 2184 RespMetadata: v, 2185 } 2186} 2187 2188// Code returns the exception type name. 2189func (s *ConnectorAuthenticationException) Code() string { 2190 return "ConnectorAuthenticationException" 2191} 2192 2193// Message returns the exception's message. 2194func (s *ConnectorAuthenticationException) Message() string { 2195 if s.Message_ != nil { 2196 return *s.Message_ 2197 } 2198 return "" 2199} 2200 2201// OrigErr always returns nil, satisfies awserr.Error interface. 2202func (s *ConnectorAuthenticationException) OrigErr() error { 2203 return nil 2204} 2205 2206func (s *ConnectorAuthenticationException) Error() string { 2207 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 2208} 2209 2210// Status code returns the HTTP status code for the request's response error. 2211func (s *ConnectorAuthenticationException) StatusCode() int { 2212 return s.RespMetadata.StatusCode 2213} 2214 2215// RequestID returns the service's response RequestID for request. 2216func (s *ConnectorAuthenticationException) RequestID() string { 2217 return s.RespMetadata.RequestID 2218} 2219 2220// The configuration settings related to a given connector. 2221type ConnectorConfiguration struct { 2222 _ struct{} `type:"structure"` 2223 2224 // Specifies whether the connector can be used as a destination. 2225 CanUseAsDestination *bool `locationName:"canUseAsDestination" type:"boolean"` 2226 2227 // Specifies whether the connector can be used as a source. 2228 CanUseAsSource *bool `locationName:"canUseAsSource" type:"boolean"` 2229 2230 // Specifies connector-specific metadata such as oAuthScopes, supportedRegions, 2231 // privateLinkServiceUrl, and so on. 2232 ConnectorMetadata *ConnectorMetadata `locationName:"connectorMetadata" type:"structure"` 2233 2234 // Specifies if PrivateLink is enabled for that connector. 2235 IsPrivateLinkEnabled *bool `locationName:"isPrivateLinkEnabled" type:"boolean"` 2236 2237 // Specifies if a PrivateLink endpoint URL is required. 2238 IsPrivateLinkEndpointUrlRequired *bool `locationName:"isPrivateLinkEndpointUrlRequired" type:"boolean"` 2239 2240 // Lists the connectors that are available for use as destinations. 2241 SupportedDestinationConnectors []*string `locationName:"supportedDestinationConnectors" type:"list"` 2242 2243 // Specifies the supported flow frequency for that connector. 2244 SupportedSchedulingFrequencies []*string `locationName:"supportedSchedulingFrequencies" type:"list"` 2245 2246 // Specifies the supported trigger types for the flow. 2247 SupportedTriggerTypes []*string `locationName:"supportedTriggerTypes" type:"list"` 2248} 2249 2250// String returns the string representation 2251func (s ConnectorConfiguration) String() string { 2252 return awsutil.Prettify(s) 2253} 2254 2255// GoString returns the string representation 2256func (s ConnectorConfiguration) GoString() string { 2257 return s.String() 2258} 2259 2260// SetCanUseAsDestination sets the CanUseAsDestination field's value. 2261func (s *ConnectorConfiguration) SetCanUseAsDestination(v bool) *ConnectorConfiguration { 2262 s.CanUseAsDestination = &v 2263 return s 2264} 2265 2266// SetCanUseAsSource sets the CanUseAsSource field's value. 2267func (s *ConnectorConfiguration) SetCanUseAsSource(v bool) *ConnectorConfiguration { 2268 s.CanUseAsSource = &v 2269 return s 2270} 2271 2272// SetConnectorMetadata sets the ConnectorMetadata field's value. 2273func (s *ConnectorConfiguration) SetConnectorMetadata(v *ConnectorMetadata) *ConnectorConfiguration { 2274 s.ConnectorMetadata = v 2275 return s 2276} 2277 2278// SetIsPrivateLinkEnabled sets the IsPrivateLinkEnabled field's value. 2279func (s *ConnectorConfiguration) SetIsPrivateLinkEnabled(v bool) *ConnectorConfiguration { 2280 s.IsPrivateLinkEnabled = &v 2281 return s 2282} 2283 2284// SetIsPrivateLinkEndpointUrlRequired sets the IsPrivateLinkEndpointUrlRequired field's value. 2285func (s *ConnectorConfiguration) SetIsPrivateLinkEndpointUrlRequired(v bool) *ConnectorConfiguration { 2286 s.IsPrivateLinkEndpointUrlRequired = &v 2287 return s 2288} 2289 2290// SetSupportedDestinationConnectors sets the SupportedDestinationConnectors field's value. 2291func (s *ConnectorConfiguration) SetSupportedDestinationConnectors(v []*string) *ConnectorConfiguration { 2292 s.SupportedDestinationConnectors = v 2293 return s 2294} 2295 2296// SetSupportedSchedulingFrequencies sets the SupportedSchedulingFrequencies field's value. 2297func (s *ConnectorConfiguration) SetSupportedSchedulingFrequencies(v []*string) *ConnectorConfiguration { 2298 s.SupportedSchedulingFrequencies = v 2299 return s 2300} 2301 2302// SetSupportedTriggerTypes sets the SupportedTriggerTypes field's value. 2303func (s *ConnectorConfiguration) SetSupportedTriggerTypes(v []*string) *ConnectorConfiguration { 2304 s.SupportedTriggerTypes = v 2305 return s 2306} 2307 2308// The high-level entity that can be queried in Amazon AppFlow. For example, 2309// a Salesforce entity might be an Account or Opportunity, whereas a ServiceNow 2310// entity might be an Incident. 2311type ConnectorEntity struct { 2312 _ struct{} `type:"structure"` 2313 2314 // Specifies whether the connector entity is a parent or a category and has 2315 // more entities nested underneath it. If another call is made with entitiesPath 2316 // = "the_current_entity_name_with_hasNestedEntities_true", then it returns 2317 // the nested entities underneath it. This provides a way to retrieve all supported 2318 // entities in a recursive fashion. 2319 HasNestedEntities *bool `locationName:"hasNestedEntities" type:"boolean"` 2320 2321 // The label applied to the connector entity. 2322 Label *string `locationName:"label" type:"string"` 2323 2324 // The name of the connector entity. 2325 // 2326 // Name is a required field 2327 Name *string `locationName:"name" type:"string" required:"true"` 2328} 2329 2330// String returns the string representation 2331func (s ConnectorEntity) String() string { 2332 return awsutil.Prettify(s) 2333} 2334 2335// GoString returns the string representation 2336func (s ConnectorEntity) GoString() string { 2337 return s.String() 2338} 2339 2340// SetHasNestedEntities sets the HasNestedEntities field's value. 2341func (s *ConnectorEntity) SetHasNestedEntities(v bool) *ConnectorEntity { 2342 s.HasNestedEntities = &v 2343 return s 2344} 2345 2346// SetLabel sets the Label field's value. 2347func (s *ConnectorEntity) SetLabel(v string) *ConnectorEntity { 2348 s.Label = &v 2349 return s 2350} 2351 2352// SetName sets the Name field's value. 2353func (s *ConnectorEntity) SetName(v string) *ConnectorEntity { 2354 s.Name = &v 2355 return s 2356} 2357 2358// Describes the data model of a connector field. For example, for an account 2359// entity, the fields would be account name, account ID, and so on. 2360type ConnectorEntityField struct { 2361 _ struct{} `type:"structure"` 2362 2363 // A description of the connector entity field. 2364 Description *string `locationName:"description" type:"string"` 2365 2366 // The properties applied to a field when the connector is being used as a destination. 2367 DestinationProperties *DestinationFieldProperties `locationName:"destinationProperties" type:"structure"` 2368 2369 // The unique identifier of the connector field. 2370 // 2371 // Identifier is a required field 2372 Identifier *string `locationName:"identifier" type:"string" required:"true"` 2373 2374 // The label applied to a connector entity field. 2375 Label *string `locationName:"label" type:"string"` 2376 2377 // The properties that can be applied to a field when the connector is being 2378 // used as a source. 2379 SourceProperties *SourceFieldProperties `locationName:"sourceProperties" type:"structure"` 2380 2381 // Contains details regarding the supported FieldType, including the corresponding 2382 // filterOperators and supportedValues. 2383 SupportedFieldTypeDetails *SupportedFieldTypeDetails `locationName:"supportedFieldTypeDetails" type:"structure"` 2384} 2385 2386// String returns the string representation 2387func (s ConnectorEntityField) String() string { 2388 return awsutil.Prettify(s) 2389} 2390 2391// GoString returns the string representation 2392func (s ConnectorEntityField) GoString() string { 2393 return s.String() 2394} 2395 2396// SetDescription sets the Description field's value. 2397func (s *ConnectorEntityField) SetDescription(v string) *ConnectorEntityField { 2398 s.Description = &v 2399 return s 2400} 2401 2402// SetDestinationProperties sets the DestinationProperties field's value. 2403func (s *ConnectorEntityField) SetDestinationProperties(v *DestinationFieldProperties) *ConnectorEntityField { 2404 s.DestinationProperties = v 2405 return s 2406} 2407 2408// SetIdentifier sets the Identifier field's value. 2409func (s *ConnectorEntityField) SetIdentifier(v string) *ConnectorEntityField { 2410 s.Identifier = &v 2411 return s 2412} 2413 2414// SetLabel sets the Label field's value. 2415func (s *ConnectorEntityField) SetLabel(v string) *ConnectorEntityField { 2416 s.Label = &v 2417 return s 2418} 2419 2420// SetSourceProperties sets the SourceProperties field's value. 2421func (s *ConnectorEntityField) SetSourceProperties(v *SourceFieldProperties) *ConnectorEntityField { 2422 s.SourceProperties = v 2423 return s 2424} 2425 2426// SetSupportedFieldTypeDetails sets the SupportedFieldTypeDetails field's value. 2427func (s *ConnectorEntityField) SetSupportedFieldTypeDetails(v *SupportedFieldTypeDetails) *ConnectorEntityField { 2428 s.SupportedFieldTypeDetails = v 2429 return s 2430} 2431 2432// A structure to specify connector-specific metadata such as oAuthScopes, supportedRegions, 2433// privateLinkServiceUrl, and so on. 2434type ConnectorMetadata struct { 2435 _ struct{} `type:"structure"` 2436 2437 // The connector metadata specific to Amplitude. 2438 Amplitude *AmplitudeMetadata `type:"structure"` 2439 2440 // The connector metadata specific to Amazon Connect Customer Profiles. 2441 CustomerProfiles *CustomerProfilesMetadata `type:"structure"` 2442 2443 // The connector metadata specific to Datadog. 2444 Datadog *DatadogMetadata `type:"structure"` 2445 2446 // The connector metadata specific to Dynatrace. 2447 Dynatrace *DynatraceMetadata `type:"structure"` 2448 2449 // The connector metadata specific to Amazon EventBridge. 2450 EventBridge *EventBridgeMetadata `type:"structure"` 2451 2452 // The connector metadata specific to Google Analytics. 2453 GoogleAnalytics *GoogleAnalyticsMetadata `type:"structure"` 2454 2455 // The connector metadata specific to Amazon Honeycode. 2456 Honeycode *HoneycodeMetadata `type:"structure"` 2457 2458 // The connector metadata specific to Infor Nexus. 2459 InforNexus *InforNexusMetadata `type:"structure"` 2460 2461 // The connector metadata specific to Marketo. 2462 Marketo *MarketoMetadata `type:"structure"` 2463 2464 // The connector metadata specific to Amazon Redshift. 2465 Redshift *RedshiftMetadata `type:"structure"` 2466 2467 // The connector metadata specific to Amazon S3. 2468 S3 *S3Metadata `type:"structure"` 2469 2470 // The connector metadata specific to SAPOData. 2471 SAPOData *SAPODataMetadata `type:"structure"` 2472 2473 // The connector metadata specific to Salesforce. 2474 Salesforce *SalesforceMetadata `type:"structure"` 2475 2476 // The connector metadata specific to ServiceNow. 2477 ServiceNow *ServiceNowMetadata `type:"structure"` 2478 2479 // The connector metadata specific to Singular. 2480 Singular *SingularMetadata `type:"structure"` 2481 2482 // The connector metadata specific to Slack. 2483 Slack *SlackMetadata `type:"structure"` 2484 2485 // The connector metadata specific to Snowflake. 2486 Snowflake *SnowflakeMetadata `type:"structure"` 2487 2488 // The connector metadata specific to Trend Micro. 2489 Trendmicro *TrendmicroMetadata `type:"structure"` 2490 2491 // The connector metadata specific to Upsolver. 2492 Upsolver *UpsolverMetadata `type:"structure"` 2493 2494 // The connector metadata specific to Veeva. 2495 Veeva *VeevaMetadata `type:"structure"` 2496 2497 // The connector metadata specific to Zendesk. 2498 Zendesk *ZendeskMetadata `type:"structure"` 2499} 2500 2501// String returns the string representation 2502func (s ConnectorMetadata) String() string { 2503 return awsutil.Prettify(s) 2504} 2505 2506// GoString returns the string representation 2507func (s ConnectorMetadata) GoString() string { 2508 return s.String() 2509} 2510 2511// SetAmplitude sets the Amplitude field's value. 2512func (s *ConnectorMetadata) SetAmplitude(v *AmplitudeMetadata) *ConnectorMetadata { 2513 s.Amplitude = v 2514 return s 2515} 2516 2517// SetCustomerProfiles sets the CustomerProfiles field's value. 2518func (s *ConnectorMetadata) SetCustomerProfiles(v *CustomerProfilesMetadata) *ConnectorMetadata { 2519 s.CustomerProfiles = v 2520 return s 2521} 2522 2523// SetDatadog sets the Datadog field's value. 2524func (s *ConnectorMetadata) SetDatadog(v *DatadogMetadata) *ConnectorMetadata { 2525 s.Datadog = v 2526 return s 2527} 2528 2529// SetDynatrace sets the Dynatrace field's value. 2530func (s *ConnectorMetadata) SetDynatrace(v *DynatraceMetadata) *ConnectorMetadata { 2531 s.Dynatrace = v 2532 return s 2533} 2534 2535// SetEventBridge sets the EventBridge field's value. 2536func (s *ConnectorMetadata) SetEventBridge(v *EventBridgeMetadata) *ConnectorMetadata { 2537 s.EventBridge = v 2538 return s 2539} 2540 2541// SetGoogleAnalytics sets the GoogleAnalytics field's value. 2542func (s *ConnectorMetadata) SetGoogleAnalytics(v *GoogleAnalyticsMetadata) *ConnectorMetadata { 2543 s.GoogleAnalytics = v 2544 return s 2545} 2546 2547// SetHoneycode sets the Honeycode field's value. 2548func (s *ConnectorMetadata) SetHoneycode(v *HoneycodeMetadata) *ConnectorMetadata { 2549 s.Honeycode = v 2550 return s 2551} 2552 2553// SetInforNexus sets the InforNexus field's value. 2554func (s *ConnectorMetadata) SetInforNexus(v *InforNexusMetadata) *ConnectorMetadata { 2555 s.InforNexus = v 2556 return s 2557} 2558 2559// SetMarketo sets the Marketo field's value. 2560func (s *ConnectorMetadata) SetMarketo(v *MarketoMetadata) *ConnectorMetadata { 2561 s.Marketo = v 2562 return s 2563} 2564 2565// SetRedshift sets the Redshift field's value. 2566func (s *ConnectorMetadata) SetRedshift(v *RedshiftMetadata) *ConnectorMetadata { 2567 s.Redshift = v 2568 return s 2569} 2570 2571// SetS3 sets the S3 field's value. 2572func (s *ConnectorMetadata) SetS3(v *S3Metadata) *ConnectorMetadata { 2573 s.S3 = v 2574 return s 2575} 2576 2577// SetSAPOData sets the SAPOData field's value. 2578func (s *ConnectorMetadata) SetSAPOData(v *SAPODataMetadata) *ConnectorMetadata { 2579 s.SAPOData = v 2580 return s 2581} 2582 2583// SetSalesforce sets the Salesforce field's value. 2584func (s *ConnectorMetadata) SetSalesforce(v *SalesforceMetadata) *ConnectorMetadata { 2585 s.Salesforce = v 2586 return s 2587} 2588 2589// SetServiceNow sets the ServiceNow field's value. 2590func (s *ConnectorMetadata) SetServiceNow(v *ServiceNowMetadata) *ConnectorMetadata { 2591 s.ServiceNow = v 2592 return s 2593} 2594 2595// SetSingular sets the Singular field's value. 2596func (s *ConnectorMetadata) SetSingular(v *SingularMetadata) *ConnectorMetadata { 2597 s.Singular = v 2598 return s 2599} 2600 2601// SetSlack sets the Slack field's value. 2602func (s *ConnectorMetadata) SetSlack(v *SlackMetadata) *ConnectorMetadata { 2603 s.Slack = v 2604 return s 2605} 2606 2607// SetSnowflake sets the Snowflake field's value. 2608func (s *ConnectorMetadata) SetSnowflake(v *SnowflakeMetadata) *ConnectorMetadata { 2609 s.Snowflake = v 2610 return s 2611} 2612 2613// SetTrendmicro sets the Trendmicro field's value. 2614func (s *ConnectorMetadata) SetTrendmicro(v *TrendmicroMetadata) *ConnectorMetadata { 2615 s.Trendmicro = v 2616 return s 2617} 2618 2619// SetUpsolver sets the Upsolver field's value. 2620func (s *ConnectorMetadata) SetUpsolver(v *UpsolverMetadata) *ConnectorMetadata { 2621 s.Upsolver = v 2622 return s 2623} 2624 2625// SetVeeva sets the Veeva field's value. 2626func (s *ConnectorMetadata) SetVeeva(v *VeevaMetadata) *ConnectorMetadata { 2627 s.Veeva = v 2628 return s 2629} 2630 2631// SetZendesk sets the Zendesk field's value. 2632func (s *ConnectorMetadata) SetZendesk(v *ZendeskMetadata) *ConnectorMetadata { 2633 s.Zendesk = v 2634 return s 2635} 2636 2637// Used by select connectors for which the OAuth workflow is supported, such 2638// as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. 2639type ConnectorOAuthRequest struct { 2640 _ struct{} `type:"structure"` 2641 2642 // The code provided by the connector when it has been authenticated via the 2643 // connected app. 2644 AuthCode *string `locationName:"authCode" type:"string"` 2645 2646 // The URL to which the authentication server redirects the browser after authorization 2647 // has been granted. 2648 RedirectUri *string `locationName:"redirectUri" type:"string"` 2649} 2650 2651// String returns the string representation 2652func (s ConnectorOAuthRequest) String() string { 2653 return awsutil.Prettify(s) 2654} 2655 2656// GoString returns the string representation 2657func (s ConnectorOAuthRequest) GoString() string { 2658 return s.String() 2659} 2660 2661// SetAuthCode sets the AuthCode field's value. 2662func (s *ConnectorOAuthRequest) SetAuthCode(v string) *ConnectorOAuthRequest { 2663 s.AuthCode = &v 2664 return s 2665} 2666 2667// SetRedirectUri sets the RedirectUri field's value. 2668func (s *ConnectorOAuthRequest) SetRedirectUri(v string) *ConnectorOAuthRequest { 2669 s.RedirectUri = &v 2670 return s 2671} 2672 2673// The operation to be performed on the provided source fields. 2674type ConnectorOperator struct { 2675 _ struct{} `type:"structure"` 2676 2677 // The operation to be performed on the provided Amplitude source fields. 2678 Amplitude *string `type:"string" enum:"AmplitudeConnectorOperator"` 2679 2680 // The operation to be performed on the provided Datadog source fields. 2681 Datadog *string `type:"string" enum:"DatadogConnectorOperator"` 2682 2683 // The operation to be performed on the provided Dynatrace source fields. 2684 Dynatrace *string `type:"string" enum:"DynatraceConnectorOperator"` 2685 2686 // The operation to be performed on the provided Google Analytics source fields. 2687 GoogleAnalytics *string `type:"string" enum:"GoogleAnalyticsConnectorOperator"` 2688 2689 // The operation to be performed on the provided Infor Nexus source fields. 2690 InforNexus *string `type:"string" enum:"InforNexusConnectorOperator"` 2691 2692 // The operation to be performed on the provided Marketo source fields. 2693 Marketo *string `type:"string" enum:"MarketoConnectorOperator"` 2694 2695 // The operation to be performed on the provided Amazon S3 source fields. 2696 S3 *string `type:"string" enum:"S3ConnectorOperator"` 2697 2698 // The operation to be performed on the provided SAPOData source fields. 2699 SAPOData *string `type:"string" enum:"SAPODataConnectorOperator"` 2700 2701 // The operation to be performed on the provided Salesforce source fields. 2702 Salesforce *string `type:"string" enum:"SalesforceConnectorOperator"` 2703 2704 // The operation to be performed on the provided ServiceNow source fields. 2705 ServiceNow *string `type:"string" enum:"ServiceNowConnectorOperator"` 2706 2707 // The operation to be performed on the provided Singular source fields. 2708 Singular *string `type:"string" enum:"SingularConnectorOperator"` 2709 2710 // The operation to be performed on the provided Slack source fields. 2711 Slack *string `type:"string" enum:"SlackConnectorOperator"` 2712 2713 // The operation to be performed on the provided Trend Micro source fields. 2714 Trendmicro *string `type:"string" enum:"TrendmicroConnectorOperator"` 2715 2716 // The operation to be performed on the provided Veeva source fields. 2717 Veeva *string `type:"string" enum:"VeevaConnectorOperator"` 2718 2719 // The operation to be performed on the provided Zendesk source fields. 2720 Zendesk *string `type:"string" enum:"ZendeskConnectorOperator"` 2721} 2722 2723// String returns the string representation 2724func (s ConnectorOperator) String() string { 2725 return awsutil.Prettify(s) 2726} 2727 2728// GoString returns the string representation 2729func (s ConnectorOperator) GoString() string { 2730 return s.String() 2731} 2732 2733// SetAmplitude sets the Amplitude field's value. 2734func (s *ConnectorOperator) SetAmplitude(v string) *ConnectorOperator { 2735 s.Amplitude = &v 2736 return s 2737} 2738 2739// SetDatadog sets the Datadog field's value. 2740func (s *ConnectorOperator) SetDatadog(v string) *ConnectorOperator { 2741 s.Datadog = &v 2742 return s 2743} 2744 2745// SetDynatrace sets the Dynatrace field's value. 2746func (s *ConnectorOperator) SetDynatrace(v string) *ConnectorOperator { 2747 s.Dynatrace = &v 2748 return s 2749} 2750 2751// SetGoogleAnalytics sets the GoogleAnalytics field's value. 2752func (s *ConnectorOperator) SetGoogleAnalytics(v string) *ConnectorOperator { 2753 s.GoogleAnalytics = &v 2754 return s 2755} 2756 2757// SetInforNexus sets the InforNexus field's value. 2758func (s *ConnectorOperator) SetInforNexus(v string) *ConnectorOperator { 2759 s.InforNexus = &v 2760 return s 2761} 2762 2763// SetMarketo sets the Marketo field's value. 2764func (s *ConnectorOperator) SetMarketo(v string) *ConnectorOperator { 2765 s.Marketo = &v 2766 return s 2767} 2768 2769// SetS3 sets the S3 field's value. 2770func (s *ConnectorOperator) SetS3(v string) *ConnectorOperator { 2771 s.S3 = &v 2772 return s 2773} 2774 2775// SetSAPOData sets the SAPOData field's value. 2776func (s *ConnectorOperator) SetSAPOData(v string) *ConnectorOperator { 2777 s.SAPOData = &v 2778 return s 2779} 2780 2781// SetSalesforce sets the Salesforce field's value. 2782func (s *ConnectorOperator) SetSalesforce(v string) *ConnectorOperator { 2783 s.Salesforce = &v 2784 return s 2785} 2786 2787// SetServiceNow sets the ServiceNow field's value. 2788func (s *ConnectorOperator) SetServiceNow(v string) *ConnectorOperator { 2789 s.ServiceNow = &v 2790 return s 2791} 2792 2793// SetSingular sets the Singular field's value. 2794func (s *ConnectorOperator) SetSingular(v string) *ConnectorOperator { 2795 s.Singular = &v 2796 return s 2797} 2798 2799// SetSlack sets the Slack field's value. 2800func (s *ConnectorOperator) SetSlack(v string) *ConnectorOperator { 2801 s.Slack = &v 2802 return s 2803} 2804 2805// SetTrendmicro sets the Trendmicro field's value. 2806func (s *ConnectorOperator) SetTrendmicro(v string) *ConnectorOperator { 2807 s.Trendmicro = &v 2808 return s 2809} 2810 2811// SetVeeva sets the Veeva field's value. 2812func (s *ConnectorOperator) SetVeeva(v string) *ConnectorOperator { 2813 s.Veeva = &v 2814 return s 2815} 2816 2817// SetZendesk sets the Zendesk field's value. 2818func (s *ConnectorOperator) SetZendesk(v string) *ConnectorOperator { 2819 s.Zendesk = &v 2820 return s 2821} 2822 2823// Describes an instance of a connector. This includes the provided name, credentials 2824// ARN, connection-mode, and so on. To keep the API intuitive and extensible, 2825// the fields that are common to all types of connector profiles are explicitly 2826// specified at the top level. The rest of the connector-specific properties 2827// are available via the connectorProfileProperties field. 2828type ConnectorProfile struct { 2829 _ struct{} `type:"structure"` 2830 2831 // Indicates the connection mode and if it is public or private. 2832 ConnectionMode *string `locationName:"connectionMode" type:"string" enum:"ConnectionMode"` 2833 2834 // The Amazon Resource Name (ARN) of the connector profile. 2835 ConnectorProfileArn *string `locationName:"connectorProfileArn" type:"string"` 2836 2837 // The name of the connector profile. The name is unique for each ConnectorProfile 2838 // in the Amazon Web Services account. 2839 ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"` 2840 2841 // The connector-specific properties of the profile configuration. 2842 ConnectorProfileProperties *ConnectorProfileProperties `locationName:"connectorProfileProperties" type:"structure"` 2843 2844 // The type of connector, such as Salesforce, Amplitude, and so on. 2845 ConnectorType *string `locationName:"connectorType" type:"string" enum:"ConnectorType"` 2846 2847 // Specifies when the connector profile was created. 2848 CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` 2849 2850 // The Amazon Resource Name (ARN) of the connector profile credentials. 2851 CredentialsArn *string `locationName:"credentialsArn" type:"string"` 2852 2853 // Specifies when the connector profile was last updated. 2854 LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` 2855 2856 // Specifies the private connection provisioning state. 2857 PrivateConnectionProvisioningState *PrivateConnectionProvisioningState `locationName:"privateConnectionProvisioningState" type:"structure"` 2858} 2859 2860// String returns the string representation 2861func (s ConnectorProfile) String() string { 2862 return awsutil.Prettify(s) 2863} 2864 2865// GoString returns the string representation 2866func (s ConnectorProfile) GoString() string { 2867 return s.String() 2868} 2869 2870// SetConnectionMode sets the ConnectionMode field's value. 2871func (s *ConnectorProfile) SetConnectionMode(v string) *ConnectorProfile { 2872 s.ConnectionMode = &v 2873 return s 2874} 2875 2876// SetConnectorProfileArn sets the ConnectorProfileArn field's value. 2877func (s *ConnectorProfile) SetConnectorProfileArn(v string) *ConnectorProfile { 2878 s.ConnectorProfileArn = &v 2879 return s 2880} 2881 2882// SetConnectorProfileName sets the ConnectorProfileName field's value. 2883func (s *ConnectorProfile) SetConnectorProfileName(v string) *ConnectorProfile { 2884 s.ConnectorProfileName = &v 2885 return s 2886} 2887 2888// SetConnectorProfileProperties sets the ConnectorProfileProperties field's value. 2889func (s *ConnectorProfile) SetConnectorProfileProperties(v *ConnectorProfileProperties) *ConnectorProfile { 2890 s.ConnectorProfileProperties = v 2891 return s 2892} 2893 2894// SetConnectorType sets the ConnectorType field's value. 2895func (s *ConnectorProfile) SetConnectorType(v string) *ConnectorProfile { 2896 s.ConnectorType = &v 2897 return s 2898} 2899 2900// SetCreatedAt sets the CreatedAt field's value. 2901func (s *ConnectorProfile) SetCreatedAt(v time.Time) *ConnectorProfile { 2902 s.CreatedAt = &v 2903 return s 2904} 2905 2906// SetCredentialsArn sets the CredentialsArn field's value. 2907func (s *ConnectorProfile) SetCredentialsArn(v string) *ConnectorProfile { 2908 s.CredentialsArn = &v 2909 return s 2910} 2911 2912// SetLastUpdatedAt sets the LastUpdatedAt field's value. 2913func (s *ConnectorProfile) SetLastUpdatedAt(v time.Time) *ConnectorProfile { 2914 s.LastUpdatedAt = &v 2915 return s 2916} 2917 2918// SetPrivateConnectionProvisioningState sets the PrivateConnectionProvisioningState field's value. 2919func (s *ConnectorProfile) SetPrivateConnectionProvisioningState(v *PrivateConnectionProvisioningState) *ConnectorProfile { 2920 s.PrivateConnectionProvisioningState = v 2921 return s 2922} 2923 2924// Defines the connector-specific configuration and credentials for the connector 2925// profile. 2926type ConnectorProfileConfig struct { 2927 _ struct{} `type:"structure"` 2928 2929 // The connector-specific credentials required by each connector. 2930 // 2931 // ConnectorProfileCredentials is a required field 2932 ConnectorProfileCredentials *ConnectorProfileCredentials `locationName:"connectorProfileCredentials" type:"structure" required:"true"` 2933 2934 // The connector-specific properties of the profile configuration. 2935 // 2936 // ConnectorProfileProperties is a required field 2937 ConnectorProfileProperties *ConnectorProfileProperties `locationName:"connectorProfileProperties" type:"structure" required:"true"` 2938} 2939 2940// String returns the string representation 2941func (s ConnectorProfileConfig) String() string { 2942 return awsutil.Prettify(s) 2943} 2944 2945// GoString returns the string representation 2946func (s ConnectorProfileConfig) GoString() string { 2947 return s.String() 2948} 2949 2950// Validate inspects the fields of the type to determine if they are valid. 2951func (s *ConnectorProfileConfig) Validate() error { 2952 invalidParams := request.ErrInvalidParams{Context: "ConnectorProfileConfig"} 2953 if s.ConnectorProfileCredentials == nil { 2954 invalidParams.Add(request.NewErrParamRequired("ConnectorProfileCredentials")) 2955 } 2956 if s.ConnectorProfileProperties == nil { 2957 invalidParams.Add(request.NewErrParamRequired("ConnectorProfileProperties")) 2958 } 2959 if s.ConnectorProfileCredentials != nil { 2960 if err := s.ConnectorProfileCredentials.Validate(); err != nil { 2961 invalidParams.AddNested("ConnectorProfileCredentials", err.(request.ErrInvalidParams)) 2962 } 2963 } 2964 if s.ConnectorProfileProperties != nil { 2965 if err := s.ConnectorProfileProperties.Validate(); err != nil { 2966 invalidParams.AddNested("ConnectorProfileProperties", err.(request.ErrInvalidParams)) 2967 } 2968 } 2969 2970 if invalidParams.Len() > 0 { 2971 return invalidParams 2972 } 2973 return nil 2974} 2975 2976// SetConnectorProfileCredentials sets the ConnectorProfileCredentials field's value. 2977func (s *ConnectorProfileConfig) SetConnectorProfileCredentials(v *ConnectorProfileCredentials) *ConnectorProfileConfig { 2978 s.ConnectorProfileCredentials = v 2979 return s 2980} 2981 2982// SetConnectorProfileProperties sets the ConnectorProfileProperties field's value. 2983func (s *ConnectorProfileConfig) SetConnectorProfileProperties(v *ConnectorProfileProperties) *ConnectorProfileConfig { 2984 s.ConnectorProfileProperties = v 2985 return s 2986} 2987 2988// The connector-specific credentials required by a connector. 2989type ConnectorProfileCredentials struct { 2990 _ struct{} `type:"structure"` 2991 2992 // The connector-specific credentials required when using Amplitude. 2993 Amplitude *AmplitudeConnectorProfileCredentials `type:"structure"` 2994 2995 // The connector-specific credentials required when using Datadog. 2996 Datadog *DatadogConnectorProfileCredentials `type:"structure"` 2997 2998 // The connector-specific credentials required when using Dynatrace. 2999 Dynatrace *DynatraceConnectorProfileCredentials `type:"structure"` 3000 3001 // The connector-specific credentials required when using Google Analytics. 3002 GoogleAnalytics *GoogleAnalyticsConnectorProfileCredentials `type:"structure"` 3003 3004 // The connector-specific credentials required when using Amazon Honeycode. 3005 Honeycode *HoneycodeConnectorProfileCredentials `type:"structure"` 3006 3007 // The connector-specific credentials required when using Infor Nexus. 3008 InforNexus *InforNexusConnectorProfileCredentials `type:"structure"` 3009 3010 // The connector-specific credentials required when using Marketo. 3011 Marketo *MarketoConnectorProfileCredentials `type:"structure"` 3012 3013 // The connector-specific credentials required when using Amazon Redshift. 3014 Redshift *RedshiftConnectorProfileCredentials `type:"structure"` 3015 3016 // The connector-specific profile credentials required when using SAPOData. 3017 SAPOData *SAPODataConnectorProfileCredentials `type:"structure"` 3018 3019 // The connector-specific credentials required when using Salesforce. 3020 Salesforce *SalesforceConnectorProfileCredentials `type:"structure"` 3021 3022 // The connector-specific credentials required when using ServiceNow. 3023 ServiceNow *ServiceNowConnectorProfileCredentials `type:"structure"` 3024 3025 // The connector-specific credentials required when using Singular. 3026 Singular *SingularConnectorProfileCredentials `type:"structure"` 3027 3028 // The connector-specific credentials required when using Slack. 3029 Slack *SlackConnectorProfileCredentials `type:"structure"` 3030 3031 // The connector-specific credentials required when using Snowflake. 3032 Snowflake *SnowflakeConnectorProfileCredentials `type:"structure"` 3033 3034 // The connector-specific credentials required when using Trend Micro. 3035 Trendmicro *TrendmicroConnectorProfileCredentials `type:"structure"` 3036 3037 // The connector-specific credentials required when using Veeva. 3038 Veeva *VeevaConnectorProfileCredentials `type:"structure"` 3039 3040 // The connector-specific credentials required when using Zendesk. 3041 Zendesk *ZendeskConnectorProfileCredentials `type:"structure"` 3042} 3043 3044// String returns the string representation 3045func (s ConnectorProfileCredentials) String() string { 3046 return awsutil.Prettify(s) 3047} 3048 3049// GoString returns the string representation 3050func (s ConnectorProfileCredentials) GoString() string { 3051 return s.String() 3052} 3053 3054// Validate inspects the fields of the type to determine if they are valid. 3055func (s *ConnectorProfileCredentials) Validate() error { 3056 invalidParams := request.ErrInvalidParams{Context: "ConnectorProfileCredentials"} 3057 if s.Amplitude != nil { 3058 if err := s.Amplitude.Validate(); err != nil { 3059 invalidParams.AddNested("Amplitude", err.(request.ErrInvalidParams)) 3060 } 3061 } 3062 if s.Datadog != nil { 3063 if err := s.Datadog.Validate(); err != nil { 3064 invalidParams.AddNested("Datadog", err.(request.ErrInvalidParams)) 3065 } 3066 } 3067 if s.Dynatrace != nil { 3068 if err := s.Dynatrace.Validate(); err != nil { 3069 invalidParams.AddNested("Dynatrace", err.(request.ErrInvalidParams)) 3070 } 3071 } 3072 if s.GoogleAnalytics != nil { 3073 if err := s.GoogleAnalytics.Validate(); err != nil { 3074 invalidParams.AddNested("GoogleAnalytics", err.(request.ErrInvalidParams)) 3075 } 3076 } 3077 if s.InforNexus != nil { 3078 if err := s.InforNexus.Validate(); err != nil { 3079 invalidParams.AddNested("InforNexus", err.(request.ErrInvalidParams)) 3080 } 3081 } 3082 if s.Marketo != nil { 3083 if err := s.Marketo.Validate(); err != nil { 3084 invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams)) 3085 } 3086 } 3087 if s.Redshift != nil { 3088 if err := s.Redshift.Validate(); err != nil { 3089 invalidParams.AddNested("Redshift", err.(request.ErrInvalidParams)) 3090 } 3091 } 3092 if s.SAPOData != nil { 3093 if err := s.SAPOData.Validate(); err != nil { 3094 invalidParams.AddNested("SAPOData", err.(request.ErrInvalidParams)) 3095 } 3096 } 3097 if s.Salesforce != nil { 3098 if err := s.Salesforce.Validate(); err != nil { 3099 invalidParams.AddNested("Salesforce", err.(request.ErrInvalidParams)) 3100 } 3101 } 3102 if s.ServiceNow != nil { 3103 if err := s.ServiceNow.Validate(); err != nil { 3104 invalidParams.AddNested("ServiceNow", err.(request.ErrInvalidParams)) 3105 } 3106 } 3107 if s.Singular != nil { 3108 if err := s.Singular.Validate(); err != nil { 3109 invalidParams.AddNested("Singular", err.(request.ErrInvalidParams)) 3110 } 3111 } 3112 if s.Slack != nil { 3113 if err := s.Slack.Validate(); err != nil { 3114 invalidParams.AddNested("Slack", err.(request.ErrInvalidParams)) 3115 } 3116 } 3117 if s.Snowflake != nil { 3118 if err := s.Snowflake.Validate(); err != nil { 3119 invalidParams.AddNested("Snowflake", err.(request.ErrInvalidParams)) 3120 } 3121 } 3122 if s.Trendmicro != nil { 3123 if err := s.Trendmicro.Validate(); err != nil { 3124 invalidParams.AddNested("Trendmicro", err.(request.ErrInvalidParams)) 3125 } 3126 } 3127 if s.Veeva != nil { 3128 if err := s.Veeva.Validate(); err != nil { 3129 invalidParams.AddNested("Veeva", err.(request.ErrInvalidParams)) 3130 } 3131 } 3132 if s.Zendesk != nil { 3133 if err := s.Zendesk.Validate(); err != nil { 3134 invalidParams.AddNested("Zendesk", err.(request.ErrInvalidParams)) 3135 } 3136 } 3137 3138 if invalidParams.Len() > 0 { 3139 return invalidParams 3140 } 3141 return nil 3142} 3143 3144// SetAmplitude sets the Amplitude field's value. 3145func (s *ConnectorProfileCredentials) SetAmplitude(v *AmplitudeConnectorProfileCredentials) *ConnectorProfileCredentials { 3146 s.Amplitude = v 3147 return s 3148} 3149 3150// SetDatadog sets the Datadog field's value. 3151func (s *ConnectorProfileCredentials) SetDatadog(v *DatadogConnectorProfileCredentials) *ConnectorProfileCredentials { 3152 s.Datadog = v 3153 return s 3154} 3155 3156// SetDynatrace sets the Dynatrace field's value. 3157func (s *ConnectorProfileCredentials) SetDynatrace(v *DynatraceConnectorProfileCredentials) *ConnectorProfileCredentials { 3158 s.Dynatrace = v 3159 return s 3160} 3161 3162// SetGoogleAnalytics sets the GoogleAnalytics field's value. 3163func (s *ConnectorProfileCredentials) SetGoogleAnalytics(v *GoogleAnalyticsConnectorProfileCredentials) *ConnectorProfileCredentials { 3164 s.GoogleAnalytics = v 3165 return s 3166} 3167 3168// SetHoneycode sets the Honeycode field's value. 3169func (s *ConnectorProfileCredentials) SetHoneycode(v *HoneycodeConnectorProfileCredentials) *ConnectorProfileCredentials { 3170 s.Honeycode = v 3171 return s 3172} 3173 3174// SetInforNexus sets the InforNexus field's value. 3175func (s *ConnectorProfileCredentials) SetInforNexus(v *InforNexusConnectorProfileCredentials) *ConnectorProfileCredentials { 3176 s.InforNexus = v 3177 return s 3178} 3179 3180// SetMarketo sets the Marketo field's value. 3181func (s *ConnectorProfileCredentials) SetMarketo(v *MarketoConnectorProfileCredentials) *ConnectorProfileCredentials { 3182 s.Marketo = v 3183 return s 3184} 3185 3186// SetRedshift sets the Redshift field's value. 3187func (s *ConnectorProfileCredentials) SetRedshift(v *RedshiftConnectorProfileCredentials) *ConnectorProfileCredentials { 3188 s.Redshift = v 3189 return s 3190} 3191 3192// SetSAPOData sets the SAPOData field's value. 3193func (s *ConnectorProfileCredentials) SetSAPOData(v *SAPODataConnectorProfileCredentials) *ConnectorProfileCredentials { 3194 s.SAPOData = v 3195 return s 3196} 3197 3198// SetSalesforce sets the Salesforce field's value. 3199func (s *ConnectorProfileCredentials) SetSalesforce(v *SalesforceConnectorProfileCredentials) *ConnectorProfileCredentials { 3200 s.Salesforce = v 3201 return s 3202} 3203 3204// SetServiceNow sets the ServiceNow field's value. 3205func (s *ConnectorProfileCredentials) SetServiceNow(v *ServiceNowConnectorProfileCredentials) *ConnectorProfileCredentials { 3206 s.ServiceNow = v 3207 return s 3208} 3209 3210// SetSingular sets the Singular field's value. 3211func (s *ConnectorProfileCredentials) SetSingular(v *SingularConnectorProfileCredentials) *ConnectorProfileCredentials { 3212 s.Singular = v 3213 return s 3214} 3215 3216// SetSlack sets the Slack field's value. 3217func (s *ConnectorProfileCredentials) SetSlack(v *SlackConnectorProfileCredentials) *ConnectorProfileCredentials { 3218 s.Slack = v 3219 return s 3220} 3221 3222// SetSnowflake sets the Snowflake field's value. 3223func (s *ConnectorProfileCredentials) SetSnowflake(v *SnowflakeConnectorProfileCredentials) *ConnectorProfileCredentials { 3224 s.Snowflake = v 3225 return s 3226} 3227 3228// SetTrendmicro sets the Trendmicro field's value. 3229func (s *ConnectorProfileCredentials) SetTrendmicro(v *TrendmicroConnectorProfileCredentials) *ConnectorProfileCredentials { 3230 s.Trendmicro = v 3231 return s 3232} 3233 3234// SetVeeva sets the Veeva field's value. 3235func (s *ConnectorProfileCredentials) SetVeeva(v *VeevaConnectorProfileCredentials) *ConnectorProfileCredentials { 3236 s.Veeva = v 3237 return s 3238} 3239 3240// SetZendesk sets the Zendesk field's value. 3241func (s *ConnectorProfileCredentials) SetZendesk(v *ZendeskConnectorProfileCredentials) *ConnectorProfileCredentials { 3242 s.Zendesk = v 3243 return s 3244} 3245 3246// The connector-specific profile properties required by each connector. 3247type ConnectorProfileProperties struct { 3248 _ struct{} `type:"structure"` 3249 3250 // The connector-specific properties required by Amplitude. 3251 Amplitude *AmplitudeConnectorProfileProperties `type:"structure"` 3252 3253 // The connector-specific properties required by Datadog. 3254 Datadog *DatadogConnectorProfileProperties `type:"structure"` 3255 3256 // The connector-specific properties required by Dynatrace. 3257 Dynatrace *DynatraceConnectorProfileProperties `type:"structure"` 3258 3259 // The connector-specific properties required Google Analytics. 3260 GoogleAnalytics *GoogleAnalyticsConnectorProfileProperties `type:"structure"` 3261 3262 // The connector-specific properties required by Amazon Honeycode. 3263 Honeycode *HoneycodeConnectorProfileProperties `type:"structure"` 3264 3265 // The connector-specific properties required by Infor Nexus. 3266 InforNexus *InforNexusConnectorProfileProperties `type:"structure"` 3267 3268 // The connector-specific properties required by Marketo. 3269 Marketo *MarketoConnectorProfileProperties `type:"structure"` 3270 3271 // The connector-specific properties required by Amazon Redshift. 3272 Redshift *RedshiftConnectorProfileProperties `type:"structure"` 3273 3274 // The connector-specific profile properties required when using SAPOData. 3275 SAPOData *SAPODataConnectorProfileProperties `type:"structure"` 3276 3277 // The connector-specific properties required by Salesforce. 3278 Salesforce *SalesforceConnectorProfileProperties `type:"structure"` 3279 3280 // The connector-specific properties required by serviceNow. 3281 ServiceNow *ServiceNowConnectorProfileProperties `type:"structure"` 3282 3283 // The connector-specific properties required by Singular. 3284 Singular *SingularConnectorProfileProperties `type:"structure"` 3285 3286 // The connector-specific properties required by Slack. 3287 Slack *SlackConnectorProfileProperties `type:"structure"` 3288 3289 // The connector-specific properties required by Snowflake. 3290 Snowflake *SnowflakeConnectorProfileProperties `type:"structure"` 3291 3292 // The connector-specific properties required by Trend Micro. 3293 Trendmicro *TrendmicroConnectorProfileProperties `type:"structure"` 3294 3295 // The connector-specific properties required by Veeva. 3296 Veeva *VeevaConnectorProfileProperties `type:"structure"` 3297 3298 // The connector-specific properties required by Zendesk. 3299 Zendesk *ZendeskConnectorProfileProperties `type:"structure"` 3300} 3301 3302// String returns the string representation 3303func (s ConnectorProfileProperties) String() string { 3304 return awsutil.Prettify(s) 3305} 3306 3307// GoString returns the string representation 3308func (s ConnectorProfileProperties) GoString() string { 3309 return s.String() 3310} 3311 3312// Validate inspects the fields of the type to determine if they are valid. 3313func (s *ConnectorProfileProperties) Validate() error { 3314 invalidParams := request.ErrInvalidParams{Context: "ConnectorProfileProperties"} 3315 if s.Datadog != nil { 3316 if err := s.Datadog.Validate(); err != nil { 3317 invalidParams.AddNested("Datadog", err.(request.ErrInvalidParams)) 3318 } 3319 } 3320 if s.Dynatrace != nil { 3321 if err := s.Dynatrace.Validate(); err != nil { 3322 invalidParams.AddNested("Dynatrace", err.(request.ErrInvalidParams)) 3323 } 3324 } 3325 if s.InforNexus != nil { 3326 if err := s.InforNexus.Validate(); err != nil { 3327 invalidParams.AddNested("InforNexus", err.(request.ErrInvalidParams)) 3328 } 3329 } 3330 if s.Marketo != nil { 3331 if err := s.Marketo.Validate(); err != nil { 3332 invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams)) 3333 } 3334 } 3335 if s.Redshift != nil { 3336 if err := s.Redshift.Validate(); err != nil { 3337 invalidParams.AddNested("Redshift", err.(request.ErrInvalidParams)) 3338 } 3339 } 3340 if s.SAPOData != nil { 3341 if err := s.SAPOData.Validate(); err != nil { 3342 invalidParams.AddNested("SAPOData", err.(request.ErrInvalidParams)) 3343 } 3344 } 3345 if s.ServiceNow != nil { 3346 if err := s.ServiceNow.Validate(); err != nil { 3347 invalidParams.AddNested("ServiceNow", err.(request.ErrInvalidParams)) 3348 } 3349 } 3350 if s.Slack != nil { 3351 if err := s.Slack.Validate(); err != nil { 3352 invalidParams.AddNested("Slack", err.(request.ErrInvalidParams)) 3353 } 3354 } 3355 if s.Snowflake != nil { 3356 if err := s.Snowflake.Validate(); err != nil { 3357 invalidParams.AddNested("Snowflake", err.(request.ErrInvalidParams)) 3358 } 3359 } 3360 if s.Veeva != nil { 3361 if err := s.Veeva.Validate(); err != nil { 3362 invalidParams.AddNested("Veeva", err.(request.ErrInvalidParams)) 3363 } 3364 } 3365 if s.Zendesk != nil { 3366 if err := s.Zendesk.Validate(); err != nil { 3367 invalidParams.AddNested("Zendesk", err.(request.ErrInvalidParams)) 3368 } 3369 } 3370 3371 if invalidParams.Len() > 0 { 3372 return invalidParams 3373 } 3374 return nil 3375} 3376 3377// SetAmplitude sets the Amplitude field's value. 3378func (s *ConnectorProfileProperties) SetAmplitude(v *AmplitudeConnectorProfileProperties) *ConnectorProfileProperties { 3379 s.Amplitude = v 3380 return s 3381} 3382 3383// SetDatadog sets the Datadog field's value. 3384func (s *ConnectorProfileProperties) SetDatadog(v *DatadogConnectorProfileProperties) *ConnectorProfileProperties { 3385 s.Datadog = v 3386 return s 3387} 3388 3389// SetDynatrace sets the Dynatrace field's value. 3390func (s *ConnectorProfileProperties) SetDynatrace(v *DynatraceConnectorProfileProperties) *ConnectorProfileProperties { 3391 s.Dynatrace = v 3392 return s 3393} 3394 3395// SetGoogleAnalytics sets the GoogleAnalytics field's value. 3396func (s *ConnectorProfileProperties) SetGoogleAnalytics(v *GoogleAnalyticsConnectorProfileProperties) *ConnectorProfileProperties { 3397 s.GoogleAnalytics = v 3398 return s 3399} 3400 3401// SetHoneycode sets the Honeycode field's value. 3402func (s *ConnectorProfileProperties) SetHoneycode(v *HoneycodeConnectorProfileProperties) *ConnectorProfileProperties { 3403 s.Honeycode = v 3404 return s 3405} 3406 3407// SetInforNexus sets the InforNexus field's value. 3408func (s *ConnectorProfileProperties) SetInforNexus(v *InforNexusConnectorProfileProperties) *ConnectorProfileProperties { 3409 s.InforNexus = v 3410 return s 3411} 3412 3413// SetMarketo sets the Marketo field's value. 3414func (s *ConnectorProfileProperties) SetMarketo(v *MarketoConnectorProfileProperties) *ConnectorProfileProperties { 3415 s.Marketo = v 3416 return s 3417} 3418 3419// SetRedshift sets the Redshift field's value. 3420func (s *ConnectorProfileProperties) SetRedshift(v *RedshiftConnectorProfileProperties) *ConnectorProfileProperties { 3421 s.Redshift = v 3422 return s 3423} 3424 3425// SetSAPOData sets the SAPOData field's value. 3426func (s *ConnectorProfileProperties) SetSAPOData(v *SAPODataConnectorProfileProperties) *ConnectorProfileProperties { 3427 s.SAPOData = v 3428 return s 3429} 3430 3431// SetSalesforce sets the Salesforce field's value. 3432func (s *ConnectorProfileProperties) SetSalesforce(v *SalesforceConnectorProfileProperties) *ConnectorProfileProperties { 3433 s.Salesforce = v 3434 return s 3435} 3436 3437// SetServiceNow sets the ServiceNow field's value. 3438func (s *ConnectorProfileProperties) SetServiceNow(v *ServiceNowConnectorProfileProperties) *ConnectorProfileProperties { 3439 s.ServiceNow = v 3440 return s 3441} 3442 3443// SetSingular sets the Singular field's value. 3444func (s *ConnectorProfileProperties) SetSingular(v *SingularConnectorProfileProperties) *ConnectorProfileProperties { 3445 s.Singular = v 3446 return s 3447} 3448 3449// SetSlack sets the Slack field's value. 3450func (s *ConnectorProfileProperties) SetSlack(v *SlackConnectorProfileProperties) *ConnectorProfileProperties { 3451 s.Slack = v 3452 return s 3453} 3454 3455// SetSnowflake sets the Snowflake field's value. 3456func (s *ConnectorProfileProperties) SetSnowflake(v *SnowflakeConnectorProfileProperties) *ConnectorProfileProperties { 3457 s.Snowflake = v 3458 return s 3459} 3460 3461// SetTrendmicro sets the Trendmicro field's value. 3462func (s *ConnectorProfileProperties) SetTrendmicro(v *TrendmicroConnectorProfileProperties) *ConnectorProfileProperties { 3463 s.Trendmicro = v 3464 return s 3465} 3466 3467// SetVeeva sets the Veeva field's value. 3468func (s *ConnectorProfileProperties) SetVeeva(v *VeevaConnectorProfileProperties) *ConnectorProfileProperties { 3469 s.Veeva = v 3470 return s 3471} 3472 3473// SetZendesk sets the Zendesk field's value. 3474func (s *ConnectorProfileProperties) SetZendesk(v *ZendeskConnectorProfileProperties) *ConnectorProfileProperties { 3475 s.Zendesk = v 3476 return s 3477} 3478 3479// An error occurred when retrieving data from the connector endpoint. 3480type ConnectorServerException struct { 3481 _ struct{} `type:"structure"` 3482 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 3483 3484 Message_ *string `locationName:"message" type:"string"` 3485} 3486 3487// String returns the string representation 3488func (s ConnectorServerException) String() string { 3489 return awsutil.Prettify(s) 3490} 3491 3492// GoString returns the string representation 3493func (s ConnectorServerException) GoString() string { 3494 return s.String() 3495} 3496 3497func newErrorConnectorServerException(v protocol.ResponseMetadata) error { 3498 return &ConnectorServerException{ 3499 RespMetadata: v, 3500 } 3501} 3502 3503// Code returns the exception type name. 3504func (s *ConnectorServerException) Code() string { 3505 return "ConnectorServerException" 3506} 3507 3508// Message returns the exception's message. 3509func (s *ConnectorServerException) Message() string { 3510 if s.Message_ != nil { 3511 return *s.Message_ 3512 } 3513 return "" 3514} 3515 3516// OrigErr always returns nil, satisfies awserr.Error interface. 3517func (s *ConnectorServerException) OrigErr() error { 3518 return nil 3519} 3520 3521func (s *ConnectorServerException) Error() string { 3522 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 3523} 3524 3525// Status code returns the HTTP status code for the request's response error. 3526func (s *ConnectorServerException) StatusCode() int { 3527 return s.RespMetadata.StatusCode 3528} 3529 3530// RequestID returns the service's response RequestID for request. 3531func (s *ConnectorServerException) RequestID() string { 3532 return s.RespMetadata.RequestID 3533} 3534 3535type CreateConnectorProfileInput struct { 3536 _ struct{} `type:"structure"` 3537 3538 // Indicates the connection mode and specifies whether it is public or private. 3539 // Private flows use Amazon Web Services PrivateLink to route data over Amazon 3540 // Web Services infrastructure without exposing it to the public internet. 3541 // 3542 // ConnectionMode is a required field 3543 ConnectionMode *string `locationName:"connectionMode" type:"string" required:"true" enum:"ConnectionMode"` 3544 3545 // Defines the connector-specific configuration and credentials. 3546 // 3547 // ConnectorProfileConfig is a required field 3548 ConnectorProfileConfig *ConnectorProfileConfig `locationName:"connectorProfileConfig" type:"structure" required:"true"` 3549 3550 // The name of the connector profile. The name is unique for each ConnectorProfile 3551 // in your Amazon Web Services account. 3552 // 3553 // ConnectorProfileName is a required field 3554 ConnectorProfileName *string `locationName:"connectorProfileName" type:"string" required:"true"` 3555 3556 // The type of connector, such as Salesforce, Amplitude, and so on. 3557 // 3558 // ConnectorType is a required field 3559 ConnectorType *string `locationName:"connectorType" type:"string" required:"true" enum:"ConnectorType"` 3560 3561 // The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you 3562 // provide for encryption. This is required if you do not want to use the Amazon 3563 // AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow 3564 // uses the Amazon AppFlow-managed KMS key. 3565 KmsArn *string `locationName:"kmsArn" min:"20" type:"string"` 3566} 3567 3568// String returns the string representation 3569func (s CreateConnectorProfileInput) String() string { 3570 return awsutil.Prettify(s) 3571} 3572 3573// GoString returns the string representation 3574func (s CreateConnectorProfileInput) GoString() string { 3575 return s.String() 3576} 3577 3578// Validate inspects the fields of the type to determine if they are valid. 3579func (s *CreateConnectorProfileInput) Validate() error { 3580 invalidParams := request.ErrInvalidParams{Context: "CreateConnectorProfileInput"} 3581 if s.ConnectionMode == nil { 3582 invalidParams.Add(request.NewErrParamRequired("ConnectionMode")) 3583 } 3584 if s.ConnectorProfileConfig == nil { 3585 invalidParams.Add(request.NewErrParamRequired("ConnectorProfileConfig")) 3586 } 3587 if s.ConnectorProfileName == nil { 3588 invalidParams.Add(request.NewErrParamRequired("ConnectorProfileName")) 3589 } 3590 if s.ConnectorType == nil { 3591 invalidParams.Add(request.NewErrParamRequired("ConnectorType")) 3592 } 3593 if s.KmsArn != nil && len(*s.KmsArn) < 20 { 3594 invalidParams.Add(request.NewErrParamMinLen("KmsArn", 20)) 3595 } 3596 if s.ConnectorProfileConfig != nil { 3597 if err := s.ConnectorProfileConfig.Validate(); err != nil { 3598 invalidParams.AddNested("ConnectorProfileConfig", err.(request.ErrInvalidParams)) 3599 } 3600 } 3601 3602 if invalidParams.Len() > 0 { 3603 return invalidParams 3604 } 3605 return nil 3606} 3607 3608// SetConnectionMode sets the ConnectionMode field's value. 3609func (s *CreateConnectorProfileInput) SetConnectionMode(v string) *CreateConnectorProfileInput { 3610 s.ConnectionMode = &v 3611 return s 3612} 3613 3614// SetConnectorProfileConfig sets the ConnectorProfileConfig field's value. 3615func (s *CreateConnectorProfileInput) SetConnectorProfileConfig(v *ConnectorProfileConfig) *CreateConnectorProfileInput { 3616 s.ConnectorProfileConfig = v 3617 return s 3618} 3619 3620// SetConnectorProfileName sets the ConnectorProfileName field's value. 3621func (s *CreateConnectorProfileInput) SetConnectorProfileName(v string) *CreateConnectorProfileInput { 3622 s.ConnectorProfileName = &v 3623 return s 3624} 3625 3626// SetConnectorType sets the ConnectorType field's value. 3627func (s *CreateConnectorProfileInput) SetConnectorType(v string) *CreateConnectorProfileInput { 3628 s.ConnectorType = &v 3629 return s 3630} 3631 3632// SetKmsArn sets the KmsArn field's value. 3633func (s *CreateConnectorProfileInput) SetKmsArn(v string) *CreateConnectorProfileInput { 3634 s.KmsArn = &v 3635 return s 3636} 3637 3638type CreateConnectorProfileOutput struct { 3639 _ struct{} `type:"structure"` 3640 3641 // The Amazon Resource Name (ARN) of the connector profile. 3642 ConnectorProfileArn *string `locationName:"connectorProfileArn" type:"string"` 3643} 3644 3645// String returns the string representation 3646func (s CreateConnectorProfileOutput) String() string { 3647 return awsutil.Prettify(s) 3648} 3649 3650// GoString returns the string representation 3651func (s CreateConnectorProfileOutput) GoString() string { 3652 return s.String() 3653} 3654 3655// SetConnectorProfileArn sets the ConnectorProfileArn field's value. 3656func (s *CreateConnectorProfileOutput) SetConnectorProfileArn(v string) *CreateConnectorProfileOutput { 3657 s.ConnectorProfileArn = &v 3658 return s 3659} 3660 3661type CreateFlowInput struct { 3662 _ struct{} `type:"structure"` 3663 3664 // A description of the flow you want to create. 3665 Description *string `locationName:"description" type:"string"` 3666 3667 // The configuration that controls how Amazon AppFlow places data in the destination 3668 // connector. 3669 // 3670 // DestinationFlowConfigList is a required field 3671 DestinationFlowConfigList []*DestinationFlowConfig `locationName:"destinationFlowConfigList" type:"list" required:"true"` 3672 3673 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 3674 // or hyphens (-) only. 3675 // 3676 // FlowName is a required field 3677 FlowName *string `locationName:"flowName" type:"string" required:"true"` 3678 3679 // The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you 3680 // provide for encryption. This is required if you do not want to use the Amazon 3681 // AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow 3682 // uses the Amazon AppFlow-managed KMS key. 3683 KmsArn *string `locationName:"kmsArn" min:"20" type:"string"` 3684 3685 // The configuration that controls how Amazon AppFlow retrieves data from the 3686 // source connector. 3687 // 3688 // SourceFlowConfig is a required field 3689 SourceFlowConfig *SourceFlowConfig `locationName:"sourceFlowConfig" type:"structure" required:"true"` 3690 3691 // The tags used to organize, track, or control access for your flow. 3692 Tags map[string]*string `locationName:"tags" type:"map"` 3693 3694 // A list of tasks that Amazon AppFlow performs while transferring the data 3695 // in the flow run. 3696 // 3697 // Tasks is a required field 3698 Tasks []*Task `locationName:"tasks" type:"list" required:"true"` 3699 3700 // The trigger settings that determine how and when the flow runs. 3701 // 3702 // TriggerConfig is a required field 3703 TriggerConfig *TriggerConfig `locationName:"triggerConfig" type:"structure" required:"true"` 3704} 3705 3706// String returns the string representation 3707func (s CreateFlowInput) String() string { 3708 return awsutil.Prettify(s) 3709} 3710 3711// GoString returns the string representation 3712func (s CreateFlowInput) GoString() string { 3713 return s.String() 3714} 3715 3716// Validate inspects the fields of the type to determine if they are valid. 3717func (s *CreateFlowInput) Validate() error { 3718 invalidParams := request.ErrInvalidParams{Context: "CreateFlowInput"} 3719 if s.DestinationFlowConfigList == nil { 3720 invalidParams.Add(request.NewErrParamRequired("DestinationFlowConfigList")) 3721 } 3722 if s.FlowName == nil { 3723 invalidParams.Add(request.NewErrParamRequired("FlowName")) 3724 } 3725 if s.KmsArn != nil && len(*s.KmsArn) < 20 { 3726 invalidParams.Add(request.NewErrParamMinLen("KmsArn", 20)) 3727 } 3728 if s.SourceFlowConfig == nil { 3729 invalidParams.Add(request.NewErrParamRequired("SourceFlowConfig")) 3730 } 3731 if s.Tasks == nil { 3732 invalidParams.Add(request.NewErrParamRequired("Tasks")) 3733 } 3734 if s.TriggerConfig == nil { 3735 invalidParams.Add(request.NewErrParamRequired("TriggerConfig")) 3736 } 3737 if s.DestinationFlowConfigList != nil { 3738 for i, v := range s.DestinationFlowConfigList { 3739 if v == nil { 3740 continue 3741 } 3742 if err := v.Validate(); err != nil { 3743 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DestinationFlowConfigList", i), err.(request.ErrInvalidParams)) 3744 } 3745 } 3746 } 3747 if s.SourceFlowConfig != nil { 3748 if err := s.SourceFlowConfig.Validate(); err != nil { 3749 invalidParams.AddNested("SourceFlowConfig", err.(request.ErrInvalidParams)) 3750 } 3751 } 3752 if s.Tasks != nil { 3753 for i, v := range s.Tasks { 3754 if v == nil { 3755 continue 3756 } 3757 if err := v.Validate(); err != nil { 3758 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tasks", i), err.(request.ErrInvalidParams)) 3759 } 3760 } 3761 } 3762 if s.TriggerConfig != nil { 3763 if err := s.TriggerConfig.Validate(); err != nil { 3764 invalidParams.AddNested("TriggerConfig", err.(request.ErrInvalidParams)) 3765 } 3766 } 3767 3768 if invalidParams.Len() > 0 { 3769 return invalidParams 3770 } 3771 return nil 3772} 3773 3774// SetDescription sets the Description field's value. 3775func (s *CreateFlowInput) SetDescription(v string) *CreateFlowInput { 3776 s.Description = &v 3777 return s 3778} 3779 3780// SetDestinationFlowConfigList sets the DestinationFlowConfigList field's value. 3781func (s *CreateFlowInput) SetDestinationFlowConfigList(v []*DestinationFlowConfig) *CreateFlowInput { 3782 s.DestinationFlowConfigList = v 3783 return s 3784} 3785 3786// SetFlowName sets the FlowName field's value. 3787func (s *CreateFlowInput) SetFlowName(v string) *CreateFlowInput { 3788 s.FlowName = &v 3789 return s 3790} 3791 3792// SetKmsArn sets the KmsArn field's value. 3793func (s *CreateFlowInput) SetKmsArn(v string) *CreateFlowInput { 3794 s.KmsArn = &v 3795 return s 3796} 3797 3798// SetSourceFlowConfig sets the SourceFlowConfig field's value. 3799func (s *CreateFlowInput) SetSourceFlowConfig(v *SourceFlowConfig) *CreateFlowInput { 3800 s.SourceFlowConfig = v 3801 return s 3802} 3803 3804// SetTags sets the Tags field's value. 3805func (s *CreateFlowInput) SetTags(v map[string]*string) *CreateFlowInput { 3806 s.Tags = v 3807 return s 3808} 3809 3810// SetTasks sets the Tasks field's value. 3811func (s *CreateFlowInput) SetTasks(v []*Task) *CreateFlowInput { 3812 s.Tasks = v 3813 return s 3814} 3815 3816// SetTriggerConfig sets the TriggerConfig field's value. 3817func (s *CreateFlowInput) SetTriggerConfig(v *TriggerConfig) *CreateFlowInput { 3818 s.TriggerConfig = v 3819 return s 3820} 3821 3822type CreateFlowOutput struct { 3823 _ struct{} `type:"structure"` 3824 3825 // The flow's Amazon Resource Name (ARN). 3826 FlowArn *string `locationName:"flowArn" type:"string"` 3827 3828 // Indicates the current status of the flow. 3829 FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"` 3830} 3831 3832// String returns the string representation 3833func (s CreateFlowOutput) String() string { 3834 return awsutil.Prettify(s) 3835} 3836 3837// GoString returns the string representation 3838func (s CreateFlowOutput) GoString() string { 3839 return s.String() 3840} 3841 3842// SetFlowArn sets the FlowArn field's value. 3843func (s *CreateFlowOutput) SetFlowArn(v string) *CreateFlowOutput { 3844 s.FlowArn = &v 3845 return s 3846} 3847 3848// SetFlowStatus sets the FlowStatus field's value. 3849func (s *CreateFlowOutput) SetFlowStatus(v string) *CreateFlowOutput { 3850 s.FlowStatus = &v 3851 return s 3852} 3853 3854// The properties that are applied when Amazon Connect Customer Profiles is 3855// used as a destination. 3856type CustomerProfilesDestinationProperties struct { 3857 _ struct{} `type:"structure"` 3858 3859 // The unique name of the Amazon Connect Customer Profiles domain. 3860 // 3861 // DomainName is a required field 3862 DomainName *string `locationName:"domainName" type:"string" required:"true"` 3863 3864 // The object specified in the Amazon Connect Customer Profiles flow destination. 3865 ObjectTypeName *string `locationName:"objectTypeName" type:"string"` 3866} 3867 3868// String returns the string representation 3869func (s CustomerProfilesDestinationProperties) String() string { 3870 return awsutil.Prettify(s) 3871} 3872 3873// GoString returns the string representation 3874func (s CustomerProfilesDestinationProperties) GoString() string { 3875 return s.String() 3876} 3877 3878// Validate inspects the fields of the type to determine if they are valid. 3879func (s *CustomerProfilesDestinationProperties) Validate() error { 3880 invalidParams := request.ErrInvalidParams{Context: "CustomerProfilesDestinationProperties"} 3881 if s.DomainName == nil { 3882 invalidParams.Add(request.NewErrParamRequired("DomainName")) 3883 } 3884 3885 if invalidParams.Len() > 0 { 3886 return invalidParams 3887 } 3888 return nil 3889} 3890 3891// SetDomainName sets the DomainName field's value. 3892func (s *CustomerProfilesDestinationProperties) SetDomainName(v string) *CustomerProfilesDestinationProperties { 3893 s.DomainName = &v 3894 return s 3895} 3896 3897// SetObjectTypeName sets the ObjectTypeName field's value. 3898func (s *CustomerProfilesDestinationProperties) SetObjectTypeName(v string) *CustomerProfilesDestinationProperties { 3899 s.ObjectTypeName = &v 3900 return s 3901} 3902 3903// The connector metadata specific to Amazon Connect Customer Profiles. 3904type CustomerProfilesMetadata struct { 3905 _ struct{} `type:"structure"` 3906} 3907 3908// String returns the string representation 3909func (s CustomerProfilesMetadata) String() string { 3910 return awsutil.Prettify(s) 3911} 3912 3913// GoString returns the string representation 3914func (s CustomerProfilesMetadata) GoString() string { 3915 return s.String() 3916} 3917 3918// The connector-specific credentials required by Datadog. 3919type DatadogConnectorProfileCredentials struct { 3920 _ struct{} `type:"structure"` 3921 3922 // A unique alphanumeric identifier used to authenticate a user, developer, 3923 // or calling program to your API. 3924 // 3925 // ApiKey is a required field 3926 ApiKey *string `locationName:"apiKey" type:"string" required:"true"` 3927 3928 // Application keys, in conjunction with your API key, give you full access 3929 // to Datadog’s programmatic API. Application keys are associated with the 3930 // user account that created them. The application key is used to log all requests 3931 // made to the API. 3932 // 3933 // ApplicationKey is a required field 3934 ApplicationKey *string `locationName:"applicationKey" type:"string" required:"true"` 3935} 3936 3937// String returns the string representation 3938func (s DatadogConnectorProfileCredentials) String() string { 3939 return awsutil.Prettify(s) 3940} 3941 3942// GoString returns the string representation 3943func (s DatadogConnectorProfileCredentials) GoString() string { 3944 return s.String() 3945} 3946 3947// Validate inspects the fields of the type to determine if they are valid. 3948func (s *DatadogConnectorProfileCredentials) Validate() error { 3949 invalidParams := request.ErrInvalidParams{Context: "DatadogConnectorProfileCredentials"} 3950 if s.ApiKey == nil { 3951 invalidParams.Add(request.NewErrParamRequired("ApiKey")) 3952 } 3953 if s.ApplicationKey == nil { 3954 invalidParams.Add(request.NewErrParamRequired("ApplicationKey")) 3955 } 3956 3957 if invalidParams.Len() > 0 { 3958 return invalidParams 3959 } 3960 return nil 3961} 3962 3963// SetApiKey sets the ApiKey field's value. 3964func (s *DatadogConnectorProfileCredentials) SetApiKey(v string) *DatadogConnectorProfileCredentials { 3965 s.ApiKey = &v 3966 return s 3967} 3968 3969// SetApplicationKey sets the ApplicationKey field's value. 3970func (s *DatadogConnectorProfileCredentials) SetApplicationKey(v string) *DatadogConnectorProfileCredentials { 3971 s.ApplicationKey = &v 3972 return s 3973} 3974 3975// The connector-specific profile properties required by Datadog. 3976type DatadogConnectorProfileProperties struct { 3977 _ struct{} `type:"structure"` 3978 3979 // The location of the Datadog resource. 3980 // 3981 // InstanceUrl is a required field 3982 InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"` 3983} 3984 3985// String returns the string representation 3986func (s DatadogConnectorProfileProperties) String() string { 3987 return awsutil.Prettify(s) 3988} 3989 3990// GoString returns the string representation 3991func (s DatadogConnectorProfileProperties) GoString() string { 3992 return s.String() 3993} 3994 3995// Validate inspects the fields of the type to determine if they are valid. 3996func (s *DatadogConnectorProfileProperties) Validate() error { 3997 invalidParams := request.ErrInvalidParams{Context: "DatadogConnectorProfileProperties"} 3998 if s.InstanceUrl == nil { 3999 invalidParams.Add(request.NewErrParamRequired("InstanceUrl")) 4000 } 4001 4002 if invalidParams.Len() > 0 { 4003 return invalidParams 4004 } 4005 return nil 4006} 4007 4008// SetInstanceUrl sets the InstanceUrl field's value. 4009func (s *DatadogConnectorProfileProperties) SetInstanceUrl(v string) *DatadogConnectorProfileProperties { 4010 s.InstanceUrl = &v 4011 return s 4012} 4013 4014// The connector metadata specific to Datadog. 4015type DatadogMetadata struct { 4016 _ struct{} `type:"structure"` 4017} 4018 4019// String returns the string representation 4020func (s DatadogMetadata) String() string { 4021 return awsutil.Prettify(s) 4022} 4023 4024// GoString returns the string representation 4025func (s DatadogMetadata) GoString() string { 4026 return s.String() 4027} 4028 4029// The properties that are applied when Datadog is being used as a source. 4030type DatadogSourceProperties struct { 4031 _ struct{} `type:"structure"` 4032 4033 // The object specified in the Datadog flow source. 4034 // 4035 // Object is a required field 4036 Object *string `locationName:"object" type:"string" required:"true"` 4037} 4038 4039// String returns the string representation 4040func (s DatadogSourceProperties) String() string { 4041 return awsutil.Prettify(s) 4042} 4043 4044// GoString returns the string representation 4045func (s DatadogSourceProperties) GoString() string { 4046 return s.String() 4047} 4048 4049// Validate inspects the fields of the type to determine if they are valid. 4050func (s *DatadogSourceProperties) Validate() error { 4051 invalidParams := request.ErrInvalidParams{Context: "DatadogSourceProperties"} 4052 if s.Object == nil { 4053 invalidParams.Add(request.NewErrParamRequired("Object")) 4054 } 4055 4056 if invalidParams.Len() > 0 { 4057 return invalidParams 4058 } 4059 return nil 4060} 4061 4062// SetObject sets the Object field's value. 4063func (s *DatadogSourceProperties) SetObject(v string) *DatadogSourceProperties { 4064 s.Object = &v 4065 return s 4066} 4067 4068type DeleteConnectorProfileInput struct { 4069 _ struct{} `type:"structure"` 4070 4071 // The name of the connector profile. The name is unique for each ConnectorProfile 4072 // in your account. 4073 // 4074 // ConnectorProfileName is a required field 4075 ConnectorProfileName *string `locationName:"connectorProfileName" type:"string" required:"true"` 4076 4077 // Indicates whether Amazon AppFlow should delete the profile, even if it is 4078 // currently in use in one or more flows. 4079 ForceDelete *bool `locationName:"forceDelete" type:"boolean"` 4080} 4081 4082// String returns the string representation 4083func (s DeleteConnectorProfileInput) String() string { 4084 return awsutil.Prettify(s) 4085} 4086 4087// GoString returns the string representation 4088func (s DeleteConnectorProfileInput) GoString() string { 4089 return s.String() 4090} 4091 4092// Validate inspects the fields of the type to determine if they are valid. 4093func (s *DeleteConnectorProfileInput) Validate() error { 4094 invalidParams := request.ErrInvalidParams{Context: "DeleteConnectorProfileInput"} 4095 if s.ConnectorProfileName == nil { 4096 invalidParams.Add(request.NewErrParamRequired("ConnectorProfileName")) 4097 } 4098 4099 if invalidParams.Len() > 0 { 4100 return invalidParams 4101 } 4102 return nil 4103} 4104 4105// SetConnectorProfileName sets the ConnectorProfileName field's value. 4106func (s *DeleteConnectorProfileInput) SetConnectorProfileName(v string) *DeleteConnectorProfileInput { 4107 s.ConnectorProfileName = &v 4108 return s 4109} 4110 4111// SetForceDelete sets the ForceDelete field's value. 4112func (s *DeleteConnectorProfileInput) SetForceDelete(v bool) *DeleteConnectorProfileInput { 4113 s.ForceDelete = &v 4114 return s 4115} 4116 4117type DeleteConnectorProfileOutput struct { 4118 _ struct{} `type:"structure"` 4119} 4120 4121// String returns the string representation 4122func (s DeleteConnectorProfileOutput) String() string { 4123 return awsutil.Prettify(s) 4124} 4125 4126// GoString returns the string representation 4127func (s DeleteConnectorProfileOutput) GoString() string { 4128 return s.String() 4129} 4130 4131type DeleteFlowInput struct { 4132 _ struct{} `type:"structure"` 4133 4134 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 4135 // or hyphens (-) only. 4136 // 4137 // FlowName is a required field 4138 FlowName *string `locationName:"flowName" type:"string" required:"true"` 4139 4140 // Indicates whether Amazon AppFlow should delete the flow, even if it is currently 4141 // in use. 4142 ForceDelete *bool `locationName:"forceDelete" type:"boolean"` 4143} 4144 4145// String returns the string representation 4146func (s DeleteFlowInput) String() string { 4147 return awsutil.Prettify(s) 4148} 4149 4150// GoString returns the string representation 4151func (s DeleteFlowInput) GoString() string { 4152 return s.String() 4153} 4154 4155// Validate inspects the fields of the type to determine if they are valid. 4156func (s *DeleteFlowInput) Validate() error { 4157 invalidParams := request.ErrInvalidParams{Context: "DeleteFlowInput"} 4158 if s.FlowName == nil { 4159 invalidParams.Add(request.NewErrParamRequired("FlowName")) 4160 } 4161 4162 if invalidParams.Len() > 0 { 4163 return invalidParams 4164 } 4165 return nil 4166} 4167 4168// SetFlowName sets the FlowName field's value. 4169func (s *DeleteFlowInput) SetFlowName(v string) *DeleteFlowInput { 4170 s.FlowName = &v 4171 return s 4172} 4173 4174// SetForceDelete sets the ForceDelete field's value. 4175func (s *DeleteFlowInput) SetForceDelete(v bool) *DeleteFlowInput { 4176 s.ForceDelete = &v 4177 return s 4178} 4179 4180type DeleteFlowOutput struct { 4181 _ struct{} `type:"structure"` 4182} 4183 4184// String returns the string representation 4185func (s DeleteFlowOutput) String() string { 4186 return awsutil.Prettify(s) 4187} 4188 4189// GoString returns the string representation 4190func (s DeleteFlowOutput) GoString() string { 4191 return s.String() 4192} 4193 4194type DescribeConnectorEntityInput struct { 4195 _ struct{} `type:"structure"` 4196 4197 // The entity name for that connector. 4198 // 4199 // ConnectorEntityName is a required field 4200 ConnectorEntityName *string `locationName:"connectorEntityName" type:"string" required:"true"` 4201 4202 // The name of the connector profile. The name is unique for each ConnectorProfile 4203 // in the Amazon Web Services account. 4204 ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"` 4205 4206 // The type of connector application, such as Salesforce, Amplitude, and so 4207 // on. 4208 ConnectorType *string `locationName:"connectorType" type:"string" enum:"ConnectorType"` 4209} 4210 4211// String returns the string representation 4212func (s DescribeConnectorEntityInput) String() string { 4213 return awsutil.Prettify(s) 4214} 4215 4216// GoString returns the string representation 4217func (s DescribeConnectorEntityInput) GoString() string { 4218 return s.String() 4219} 4220 4221// Validate inspects the fields of the type to determine if they are valid. 4222func (s *DescribeConnectorEntityInput) Validate() error { 4223 invalidParams := request.ErrInvalidParams{Context: "DescribeConnectorEntityInput"} 4224 if s.ConnectorEntityName == nil { 4225 invalidParams.Add(request.NewErrParamRequired("ConnectorEntityName")) 4226 } 4227 4228 if invalidParams.Len() > 0 { 4229 return invalidParams 4230 } 4231 return nil 4232} 4233 4234// SetConnectorEntityName sets the ConnectorEntityName field's value. 4235func (s *DescribeConnectorEntityInput) SetConnectorEntityName(v string) *DescribeConnectorEntityInput { 4236 s.ConnectorEntityName = &v 4237 return s 4238} 4239 4240// SetConnectorProfileName sets the ConnectorProfileName field's value. 4241func (s *DescribeConnectorEntityInput) SetConnectorProfileName(v string) *DescribeConnectorEntityInput { 4242 s.ConnectorProfileName = &v 4243 return s 4244} 4245 4246// SetConnectorType sets the ConnectorType field's value. 4247func (s *DescribeConnectorEntityInput) SetConnectorType(v string) *DescribeConnectorEntityInput { 4248 s.ConnectorType = &v 4249 return s 4250} 4251 4252type DescribeConnectorEntityOutput struct { 4253 _ struct{} `type:"structure"` 4254 4255 // Describes the fields for that connector entity. For example, for an account 4256 // entity, the fields would be account name, account ID, and so on. 4257 // 4258 // ConnectorEntityFields is a required field 4259 ConnectorEntityFields []*ConnectorEntityField `locationName:"connectorEntityFields" type:"list" required:"true"` 4260} 4261 4262// String returns the string representation 4263func (s DescribeConnectorEntityOutput) String() string { 4264 return awsutil.Prettify(s) 4265} 4266 4267// GoString returns the string representation 4268func (s DescribeConnectorEntityOutput) GoString() string { 4269 return s.String() 4270} 4271 4272// SetConnectorEntityFields sets the ConnectorEntityFields field's value. 4273func (s *DescribeConnectorEntityOutput) SetConnectorEntityFields(v []*ConnectorEntityField) *DescribeConnectorEntityOutput { 4274 s.ConnectorEntityFields = v 4275 return s 4276} 4277 4278type DescribeConnectorProfilesInput struct { 4279 _ struct{} `type:"structure"` 4280 4281 // The name of the connector profile. The name is unique for each ConnectorProfile 4282 // in the Amazon Web Services account. 4283 ConnectorProfileNames []*string `locationName:"connectorProfileNames" type:"list"` 4284 4285 // The type of connector, such as Salesforce, Amplitude, and so on. 4286 ConnectorType *string `locationName:"connectorType" type:"string" enum:"ConnectorType"` 4287 4288 // Specifies the maximum number of items that should be returned in the result 4289 // set. The default for maxResults is 20 (for all paginated API operations). 4290 MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` 4291 4292 // The pagination token for the next page of data. 4293 NextToken *string `locationName:"nextToken" type:"string"` 4294} 4295 4296// String returns the string representation 4297func (s DescribeConnectorProfilesInput) String() string { 4298 return awsutil.Prettify(s) 4299} 4300 4301// GoString returns the string representation 4302func (s DescribeConnectorProfilesInput) GoString() string { 4303 return s.String() 4304} 4305 4306// Validate inspects the fields of the type to determine if they are valid. 4307func (s *DescribeConnectorProfilesInput) Validate() error { 4308 invalidParams := request.ErrInvalidParams{Context: "DescribeConnectorProfilesInput"} 4309 if s.MaxResults != nil && *s.MaxResults < 1 { 4310 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 4311 } 4312 4313 if invalidParams.Len() > 0 { 4314 return invalidParams 4315 } 4316 return nil 4317} 4318 4319// SetConnectorProfileNames sets the ConnectorProfileNames field's value. 4320func (s *DescribeConnectorProfilesInput) SetConnectorProfileNames(v []*string) *DescribeConnectorProfilesInput { 4321 s.ConnectorProfileNames = v 4322 return s 4323} 4324 4325// SetConnectorType sets the ConnectorType field's value. 4326func (s *DescribeConnectorProfilesInput) SetConnectorType(v string) *DescribeConnectorProfilesInput { 4327 s.ConnectorType = &v 4328 return s 4329} 4330 4331// SetMaxResults sets the MaxResults field's value. 4332func (s *DescribeConnectorProfilesInput) SetMaxResults(v int64) *DescribeConnectorProfilesInput { 4333 s.MaxResults = &v 4334 return s 4335} 4336 4337// SetNextToken sets the NextToken field's value. 4338func (s *DescribeConnectorProfilesInput) SetNextToken(v string) *DescribeConnectorProfilesInput { 4339 s.NextToken = &v 4340 return s 4341} 4342 4343type DescribeConnectorProfilesOutput struct { 4344 _ struct{} `type:"structure"` 4345 4346 // Returns information about the connector profiles associated with the flow. 4347 ConnectorProfileDetails []*ConnectorProfile `locationName:"connectorProfileDetails" type:"list"` 4348 4349 // The pagination token for the next page of data. If nextToken=null, this means 4350 // that all records have been fetched. 4351 NextToken *string `locationName:"nextToken" type:"string"` 4352} 4353 4354// String returns the string representation 4355func (s DescribeConnectorProfilesOutput) String() string { 4356 return awsutil.Prettify(s) 4357} 4358 4359// GoString returns the string representation 4360func (s DescribeConnectorProfilesOutput) GoString() string { 4361 return s.String() 4362} 4363 4364// SetConnectorProfileDetails sets the ConnectorProfileDetails field's value. 4365func (s *DescribeConnectorProfilesOutput) SetConnectorProfileDetails(v []*ConnectorProfile) *DescribeConnectorProfilesOutput { 4366 s.ConnectorProfileDetails = v 4367 return s 4368} 4369 4370// SetNextToken sets the NextToken field's value. 4371func (s *DescribeConnectorProfilesOutput) SetNextToken(v string) *DescribeConnectorProfilesOutput { 4372 s.NextToken = &v 4373 return s 4374} 4375 4376type DescribeConnectorsInput struct { 4377 _ struct{} `type:"structure"` 4378 4379 // The type of connector, such as Salesforce, Amplitude, and so on. 4380 ConnectorTypes []*string `locationName:"connectorTypes" type:"list"` 4381 4382 // The pagination token for the next page of data. 4383 NextToken *string `locationName:"nextToken" type:"string"` 4384} 4385 4386// String returns the string representation 4387func (s DescribeConnectorsInput) String() string { 4388 return awsutil.Prettify(s) 4389} 4390 4391// GoString returns the string representation 4392func (s DescribeConnectorsInput) GoString() string { 4393 return s.String() 4394} 4395 4396// SetConnectorTypes sets the ConnectorTypes field's value. 4397func (s *DescribeConnectorsInput) SetConnectorTypes(v []*string) *DescribeConnectorsInput { 4398 s.ConnectorTypes = v 4399 return s 4400} 4401 4402// SetNextToken sets the NextToken field's value. 4403func (s *DescribeConnectorsInput) SetNextToken(v string) *DescribeConnectorsInput { 4404 s.NextToken = &v 4405 return s 4406} 4407 4408type DescribeConnectorsOutput struct { 4409 _ struct{} `type:"structure"` 4410 4411 // The configuration that is applied to the connectors used in the flow. 4412 ConnectorConfigurations map[string]*ConnectorConfiguration `locationName:"connectorConfigurations" type:"map"` 4413 4414 // The pagination token for the next page of data. 4415 NextToken *string `locationName:"nextToken" type:"string"` 4416} 4417 4418// String returns the string representation 4419func (s DescribeConnectorsOutput) String() string { 4420 return awsutil.Prettify(s) 4421} 4422 4423// GoString returns the string representation 4424func (s DescribeConnectorsOutput) GoString() string { 4425 return s.String() 4426} 4427 4428// SetConnectorConfigurations sets the ConnectorConfigurations field's value. 4429func (s *DescribeConnectorsOutput) SetConnectorConfigurations(v map[string]*ConnectorConfiguration) *DescribeConnectorsOutput { 4430 s.ConnectorConfigurations = v 4431 return s 4432} 4433 4434// SetNextToken sets the NextToken field's value. 4435func (s *DescribeConnectorsOutput) SetNextToken(v string) *DescribeConnectorsOutput { 4436 s.NextToken = &v 4437 return s 4438} 4439 4440type DescribeFlowExecutionRecordsInput struct { 4441 _ struct{} `type:"structure"` 4442 4443 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 4444 // or hyphens (-) only. 4445 // 4446 // FlowName is a required field 4447 FlowName *string `locationName:"flowName" type:"string" required:"true"` 4448 4449 // Specifies the maximum number of items that should be returned in the result 4450 // set. The default for maxResults is 20 (for all paginated API operations). 4451 MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` 4452 4453 // The pagination token for the next page of data. 4454 NextToken *string `locationName:"nextToken" type:"string"` 4455} 4456 4457// String returns the string representation 4458func (s DescribeFlowExecutionRecordsInput) String() string { 4459 return awsutil.Prettify(s) 4460} 4461 4462// GoString returns the string representation 4463func (s DescribeFlowExecutionRecordsInput) GoString() string { 4464 return s.String() 4465} 4466 4467// Validate inspects the fields of the type to determine if they are valid. 4468func (s *DescribeFlowExecutionRecordsInput) Validate() error { 4469 invalidParams := request.ErrInvalidParams{Context: "DescribeFlowExecutionRecordsInput"} 4470 if s.FlowName == nil { 4471 invalidParams.Add(request.NewErrParamRequired("FlowName")) 4472 } 4473 if s.MaxResults != nil && *s.MaxResults < 1 { 4474 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 4475 } 4476 4477 if invalidParams.Len() > 0 { 4478 return invalidParams 4479 } 4480 return nil 4481} 4482 4483// SetFlowName sets the FlowName field's value. 4484func (s *DescribeFlowExecutionRecordsInput) SetFlowName(v string) *DescribeFlowExecutionRecordsInput { 4485 s.FlowName = &v 4486 return s 4487} 4488 4489// SetMaxResults sets the MaxResults field's value. 4490func (s *DescribeFlowExecutionRecordsInput) SetMaxResults(v int64) *DescribeFlowExecutionRecordsInput { 4491 s.MaxResults = &v 4492 return s 4493} 4494 4495// SetNextToken sets the NextToken field's value. 4496func (s *DescribeFlowExecutionRecordsInput) SetNextToken(v string) *DescribeFlowExecutionRecordsInput { 4497 s.NextToken = &v 4498 return s 4499} 4500 4501type DescribeFlowExecutionRecordsOutput struct { 4502 _ struct{} `type:"structure"` 4503 4504 // Returns a list of all instances when this flow was run. 4505 FlowExecutions []*ExecutionRecord `locationName:"flowExecutions" type:"list"` 4506 4507 // The pagination token for the next page of data. 4508 NextToken *string `locationName:"nextToken" type:"string"` 4509} 4510 4511// String returns the string representation 4512func (s DescribeFlowExecutionRecordsOutput) String() string { 4513 return awsutil.Prettify(s) 4514} 4515 4516// GoString returns the string representation 4517func (s DescribeFlowExecutionRecordsOutput) GoString() string { 4518 return s.String() 4519} 4520 4521// SetFlowExecutions sets the FlowExecutions field's value. 4522func (s *DescribeFlowExecutionRecordsOutput) SetFlowExecutions(v []*ExecutionRecord) *DescribeFlowExecutionRecordsOutput { 4523 s.FlowExecutions = v 4524 return s 4525} 4526 4527// SetNextToken sets the NextToken field's value. 4528func (s *DescribeFlowExecutionRecordsOutput) SetNextToken(v string) *DescribeFlowExecutionRecordsOutput { 4529 s.NextToken = &v 4530 return s 4531} 4532 4533type DescribeFlowInput struct { 4534 _ struct{} `type:"structure"` 4535 4536 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 4537 // or hyphens (-) only. 4538 // 4539 // FlowName is a required field 4540 FlowName *string `locationName:"flowName" type:"string" required:"true"` 4541} 4542 4543// String returns the string representation 4544func (s DescribeFlowInput) String() string { 4545 return awsutil.Prettify(s) 4546} 4547 4548// GoString returns the string representation 4549func (s DescribeFlowInput) GoString() string { 4550 return s.String() 4551} 4552 4553// Validate inspects the fields of the type to determine if they are valid. 4554func (s *DescribeFlowInput) Validate() error { 4555 invalidParams := request.ErrInvalidParams{Context: "DescribeFlowInput"} 4556 if s.FlowName == nil { 4557 invalidParams.Add(request.NewErrParamRequired("FlowName")) 4558 } 4559 4560 if invalidParams.Len() > 0 { 4561 return invalidParams 4562 } 4563 return nil 4564} 4565 4566// SetFlowName sets the FlowName field's value. 4567func (s *DescribeFlowInput) SetFlowName(v string) *DescribeFlowInput { 4568 s.FlowName = &v 4569 return s 4570} 4571 4572type DescribeFlowOutput struct { 4573 _ struct{} `type:"structure"` 4574 4575 // Specifies when the flow was created. 4576 CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` 4577 4578 // The ARN of the user who created the flow. 4579 CreatedBy *string `locationName:"createdBy" type:"string"` 4580 4581 // A description of the flow. 4582 Description *string `locationName:"description" type:"string"` 4583 4584 // The configuration that controls how Amazon AppFlow transfers data to the 4585 // destination connector. 4586 DestinationFlowConfigList []*DestinationFlowConfig `locationName:"destinationFlowConfigList" type:"list"` 4587 4588 // The flow's Amazon Resource Name (ARN). 4589 FlowArn *string `locationName:"flowArn" type:"string"` 4590 4591 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 4592 // or hyphens (-) only. 4593 FlowName *string `locationName:"flowName" type:"string"` 4594 4595 // Indicates the current status of the flow. 4596 FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"` 4597 4598 // Contains an error message if the flow status is in a suspended or error state. 4599 // This applies only to scheduled or event-triggered flows. 4600 FlowStatusMessage *string `locationName:"flowStatusMessage" type:"string"` 4601 4602 // The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you 4603 // provide for encryption. This is required if you do not want to use the Amazon 4604 // AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow 4605 // uses the Amazon AppFlow-managed KMS key. 4606 KmsArn *string `locationName:"kmsArn" min:"20" type:"string"` 4607 4608 // Describes the details of the most recent flow run. 4609 LastRunExecutionDetails *ExecutionDetails `locationName:"lastRunExecutionDetails" type:"structure"` 4610 4611 // Specifies when the flow was last updated. 4612 LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` 4613 4614 // Specifies the user name of the account that performed the most recent update. 4615 LastUpdatedBy *string `locationName:"lastUpdatedBy" type:"string"` 4616 4617 // The configuration that controls how Amazon AppFlow retrieves data from the 4618 // source connector. 4619 SourceFlowConfig *SourceFlowConfig `locationName:"sourceFlowConfig" type:"structure"` 4620 4621 // The tags used to organize, track, or control access for your flow. 4622 Tags map[string]*string `locationName:"tags" type:"map"` 4623 4624 // A list of tasks that Amazon AppFlow performs while transferring the data 4625 // in the flow run. 4626 Tasks []*Task `locationName:"tasks" type:"list"` 4627 4628 // The trigger settings that determine how and when the flow runs. 4629 TriggerConfig *TriggerConfig `locationName:"triggerConfig" type:"structure"` 4630} 4631 4632// String returns the string representation 4633func (s DescribeFlowOutput) String() string { 4634 return awsutil.Prettify(s) 4635} 4636 4637// GoString returns the string representation 4638func (s DescribeFlowOutput) GoString() string { 4639 return s.String() 4640} 4641 4642// SetCreatedAt sets the CreatedAt field's value. 4643func (s *DescribeFlowOutput) SetCreatedAt(v time.Time) *DescribeFlowOutput { 4644 s.CreatedAt = &v 4645 return s 4646} 4647 4648// SetCreatedBy sets the CreatedBy field's value. 4649func (s *DescribeFlowOutput) SetCreatedBy(v string) *DescribeFlowOutput { 4650 s.CreatedBy = &v 4651 return s 4652} 4653 4654// SetDescription sets the Description field's value. 4655func (s *DescribeFlowOutput) SetDescription(v string) *DescribeFlowOutput { 4656 s.Description = &v 4657 return s 4658} 4659 4660// SetDestinationFlowConfigList sets the DestinationFlowConfigList field's value. 4661func (s *DescribeFlowOutput) SetDestinationFlowConfigList(v []*DestinationFlowConfig) *DescribeFlowOutput { 4662 s.DestinationFlowConfigList = v 4663 return s 4664} 4665 4666// SetFlowArn sets the FlowArn field's value. 4667func (s *DescribeFlowOutput) SetFlowArn(v string) *DescribeFlowOutput { 4668 s.FlowArn = &v 4669 return s 4670} 4671 4672// SetFlowName sets the FlowName field's value. 4673func (s *DescribeFlowOutput) SetFlowName(v string) *DescribeFlowOutput { 4674 s.FlowName = &v 4675 return s 4676} 4677 4678// SetFlowStatus sets the FlowStatus field's value. 4679func (s *DescribeFlowOutput) SetFlowStatus(v string) *DescribeFlowOutput { 4680 s.FlowStatus = &v 4681 return s 4682} 4683 4684// SetFlowStatusMessage sets the FlowStatusMessage field's value. 4685func (s *DescribeFlowOutput) SetFlowStatusMessage(v string) *DescribeFlowOutput { 4686 s.FlowStatusMessage = &v 4687 return s 4688} 4689 4690// SetKmsArn sets the KmsArn field's value. 4691func (s *DescribeFlowOutput) SetKmsArn(v string) *DescribeFlowOutput { 4692 s.KmsArn = &v 4693 return s 4694} 4695 4696// SetLastRunExecutionDetails sets the LastRunExecutionDetails field's value. 4697func (s *DescribeFlowOutput) SetLastRunExecutionDetails(v *ExecutionDetails) *DescribeFlowOutput { 4698 s.LastRunExecutionDetails = v 4699 return s 4700} 4701 4702// SetLastUpdatedAt sets the LastUpdatedAt field's value. 4703func (s *DescribeFlowOutput) SetLastUpdatedAt(v time.Time) *DescribeFlowOutput { 4704 s.LastUpdatedAt = &v 4705 return s 4706} 4707 4708// SetLastUpdatedBy sets the LastUpdatedBy field's value. 4709func (s *DescribeFlowOutput) SetLastUpdatedBy(v string) *DescribeFlowOutput { 4710 s.LastUpdatedBy = &v 4711 return s 4712} 4713 4714// SetSourceFlowConfig sets the SourceFlowConfig field's value. 4715func (s *DescribeFlowOutput) SetSourceFlowConfig(v *SourceFlowConfig) *DescribeFlowOutput { 4716 s.SourceFlowConfig = v 4717 return s 4718} 4719 4720// SetTags sets the Tags field's value. 4721func (s *DescribeFlowOutput) SetTags(v map[string]*string) *DescribeFlowOutput { 4722 s.Tags = v 4723 return s 4724} 4725 4726// SetTasks sets the Tasks field's value. 4727func (s *DescribeFlowOutput) SetTasks(v []*Task) *DescribeFlowOutput { 4728 s.Tasks = v 4729 return s 4730} 4731 4732// SetTriggerConfig sets the TriggerConfig field's value. 4733func (s *DescribeFlowOutput) SetTriggerConfig(v *TriggerConfig) *DescribeFlowOutput { 4734 s.TriggerConfig = v 4735 return s 4736} 4737 4738// This stores the information that is required to query a particular connector. 4739type DestinationConnectorProperties struct { 4740 _ struct{} `type:"structure"` 4741 4742 // The properties required to query Amazon Connect Customer Profiles. 4743 CustomerProfiles *CustomerProfilesDestinationProperties `type:"structure"` 4744 4745 // The properties required to query Amazon EventBridge. 4746 EventBridge *EventBridgeDestinationProperties `type:"structure"` 4747 4748 // The properties required to query Amazon Honeycode. 4749 Honeycode *HoneycodeDestinationProperties `type:"structure"` 4750 4751 // The properties required to query Amazon Lookout for Metrics. 4752 LookoutMetrics *LookoutMetricsDestinationProperties `type:"structure"` 4753 4754 // The properties required to query Amazon Redshift. 4755 Redshift *RedshiftDestinationProperties `type:"structure"` 4756 4757 // The properties required to query Amazon S3. 4758 S3 *S3DestinationProperties `type:"structure"` 4759 4760 // The properties required to query Salesforce. 4761 Salesforce *SalesforceDestinationProperties `type:"structure"` 4762 4763 // The properties required to query Snowflake. 4764 Snowflake *SnowflakeDestinationProperties `type:"structure"` 4765 4766 // The properties required to query Upsolver. 4767 Upsolver *UpsolverDestinationProperties `type:"structure"` 4768 4769 // The properties required to query Zendesk. 4770 Zendesk *ZendeskDestinationProperties `type:"structure"` 4771} 4772 4773// String returns the string representation 4774func (s DestinationConnectorProperties) String() string { 4775 return awsutil.Prettify(s) 4776} 4777 4778// GoString returns the string representation 4779func (s DestinationConnectorProperties) GoString() string { 4780 return s.String() 4781} 4782 4783// Validate inspects the fields of the type to determine if they are valid. 4784func (s *DestinationConnectorProperties) Validate() error { 4785 invalidParams := request.ErrInvalidParams{Context: "DestinationConnectorProperties"} 4786 if s.CustomerProfiles != nil { 4787 if err := s.CustomerProfiles.Validate(); err != nil { 4788 invalidParams.AddNested("CustomerProfiles", err.(request.ErrInvalidParams)) 4789 } 4790 } 4791 if s.EventBridge != nil { 4792 if err := s.EventBridge.Validate(); err != nil { 4793 invalidParams.AddNested("EventBridge", err.(request.ErrInvalidParams)) 4794 } 4795 } 4796 if s.Honeycode != nil { 4797 if err := s.Honeycode.Validate(); err != nil { 4798 invalidParams.AddNested("Honeycode", err.(request.ErrInvalidParams)) 4799 } 4800 } 4801 if s.Redshift != nil { 4802 if err := s.Redshift.Validate(); err != nil { 4803 invalidParams.AddNested("Redshift", err.(request.ErrInvalidParams)) 4804 } 4805 } 4806 if s.S3 != nil { 4807 if err := s.S3.Validate(); err != nil { 4808 invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) 4809 } 4810 } 4811 if s.Salesforce != nil { 4812 if err := s.Salesforce.Validate(); err != nil { 4813 invalidParams.AddNested("Salesforce", err.(request.ErrInvalidParams)) 4814 } 4815 } 4816 if s.Snowflake != nil { 4817 if err := s.Snowflake.Validate(); err != nil { 4818 invalidParams.AddNested("Snowflake", err.(request.ErrInvalidParams)) 4819 } 4820 } 4821 if s.Upsolver != nil { 4822 if err := s.Upsolver.Validate(); err != nil { 4823 invalidParams.AddNested("Upsolver", err.(request.ErrInvalidParams)) 4824 } 4825 } 4826 if s.Zendesk != nil { 4827 if err := s.Zendesk.Validate(); err != nil { 4828 invalidParams.AddNested("Zendesk", err.(request.ErrInvalidParams)) 4829 } 4830 } 4831 4832 if invalidParams.Len() > 0 { 4833 return invalidParams 4834 } 4835 return nil 4836} 4837 4838// SetCustomerProfiles sets the CustomerProfiles field's value. 4839func (s *DestinationConnectorProperties) SetCustomerProfiles(v *CustomerProfilesDestinationProperties) *DestinationConnectorProperties { 4840 s.CustomerProfiles = v 4841 return s 4842} 4843 4844// SetEventBridge sets the EventBridge field's value. 4845func (s *DestinationConnectorProperties) SetEventBridge(v *EventBridgeDestinationProperties) *DestinationConnectorProperties { 4846 s.EventBridge = v 4847 return s 4848} 4849 4850// SetHoneycode sets the Honeycode field's value. 4851func (s *DestinationConnectorProperties) SetHoneycode(v *HoneycodeDestinationProperties) *DestinationConnectorProperties { 4852 s.Honeycode = v 4853 return s 4854} 4855 4856// SetLookoutMetrics sets the LookoutMetrics field's value. 4857func (s *DestinationConnectorProperties) SetLookoutMetrics(v *LookoutMetricsDestinationProperties) *DestinationConnectorProperties { 4858 s.LookoutMetrics = v 4859 return s 4860} 4861 4862// SetRedshift sets the Redshift field's value. 4863func (s *DestinationConnectorProperties) SetRedshift(v *RedshiftDestinationProperties) *DestinationConnectorProperties { 4864 s.Redshift = v 4865 return s 4866} 4867 4868// SetS3 sets the S3 field's value. 4869func (s *DestinationConnectorProperties) SetS3(v *S3DestinationProperties) *DestinationConnectorProperties { 4870 s.S3 = v 4871 return s 4872} 4873 4874// SetSalesforce sets the Salesforce field's value. 4875func (s *DestinationConnectorProperties) SetSalesforce(v *SalesforceDestinationProperties) *DestinationConnectorProperties { 4876 s.Salesforce = v 4877 return s 4878} 4879 4880// SetSnowflake sets the Snowflake field's value. 4881func (s *DestinationConnectorProperties) SetSnowflake(v *SnowflakeDestinationProperties) *DestinationConnectorProperties { 4882 s.Snowflake = v 4883 return s 4884} 4885 4886// SetUpsolver sets the Upsolver field's value. 4887func (s *DestinationConnectorProperties) SetUpsolver(v *UpsolverDestinationProperties) *DestinationConnectorProperties { 4888 s.Upsolver = v 4889 return s 4890} 4891 4892// SetZendesk sets the Zendesk field's value. 4893func (s *DestinationConnectorProperties) SetZendesk(v *ZendeskDestinationProperties) *DestinationConnectorProperties { 4894 s.Zendesk = v 4895 return s 4896} 4897 4898// The properties that can be applied to a field when connector is being used 4899// as a destination. 4900type DestinationFieldProperties struct { 4901 _ struct{} `type:"structure"` 4902 4903 // Specifies if the destination field can be created by the current user. 4904 IsCreatable *bool `locationName:"isCreatable" type:"boolean"` 4905 4906 // Specifies if the destination field can have a null value. 4907 IsNullable *bool `locationName:"isNullable" type:"boolean"` 4908 4909 // Specifies whether the field can be updated during an UPDATE or UPSERT write 4910 // operation. 4911 IsUpdatable *bool `locationName:"isUpdatable" type:"boolean"` 4912 4913 // Specifies if the flow run can either insert new rows in the destination field 4914 // if they do not already exist, or update them if they do. 4915 IsUpsertable *bool `locationName:"isUpsertable" type:"boolean"` 4916 4917 // A list of supported write operations. For each write operation listed, this 4918 // field can be used in idFieldNames when that write operation is present as 4919 // a destination option. 4920 SupportedWriteOperations []*string `locationName:"supportedWriteOperations" type:"list"` 4921} 4922 4923// String returns the string representation 4924func (s DestinationFieldProperties) String() string { 4925 return awsutil.Prettify(s) 4926} 4927 4928// GoString returns the string representation 4929func (s DestinationFieldProperties) GoString() string { 4930 return s.String() 4931} 4932 4933// SetIsCreatable sets the IsCreatable field's value. 4934func (s *DestinationFieldProperties) SetIsCreatable(v bool) *DestinationFieldProperties { 4935 s.IsCreatable = &v 4936 return s 4937} 4938 4939// SetIsNullable sets the IsNullable field's value. 4940func (s *DestinationFieldProperties) SetIsNullable(v bool) *DestinationFieldProperties { 4941 s.IsNullable = &v 4942 return s 4943} 4944 4945// SetIsUpdatable sets the IsUpdatable field's value. 4946func (s *DestinationFieldProperties) SetIsUpdatable(v bool) *DestinationFieldProperties { 4947 s.IsUpdatable = &v 4948 return s 4949} 4950 4951// SetIsUpsertable sets the IsUpsertable field's value. 4952func (s *DestinationFieldProperties) SetIsUpsertable(v bool) *DestinationFieldProperties { 4953 s.IsUpsertable = &v 4954 return s 4955} 4956 4957// SetSupportedWriteOperations sets the SupportedWriteOperations field's value. 4958func (s *DestinationFieldProperties) SetSupportedWriteOperations(v []*string) *DestinationFieldProperties { 4959 s.SupportedWriteOperations = v 4960 return s 4961} 4962 4963// Contains information about the configuration of destination connectors present 4964// in the flow. 4965type DestinationFlowConfig struct { 4966 _ struct{} `type:"structure"` 4967 4968 // The name of the connector profile. This name must be unique for each connector 4969 // profile in the Amazon Web Services account. 4970 ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"` 4971 4972 // The type of connector, such as Salesforce, Amplitude, and so on. 4973 // 4974 // ConnectorType is a required field 4975 ConnectorType *string `locationName:"connectorType" type:"string" required:"true" enum:"ConnectorType"` 4976 4977 // This stores the information that is required to query a particular connector. 4978 // 4979 // DestinationConnectorProperties is a required field 4980 DestinationConnectorProperties *DestinationConnectorProperties `locationName:"destinationConnectorProperties" type:"structure" required:"true"` 4981} 4982 4983// String returns the string representation 4984func (s DestinationFlowConfig) String() string { 4985 return awsutil.Prettify(s) 4986} 4987 4988// GoString returns the string representation 4989func (s DestinationFlowConfig) GoString() string { 4990 return s.String() 4991} 4992 4993// Validate inspects the fields of the type to determine if they are valid. 4994func (s *DestinationFlowConfig) Validate() error { 4995 invalidParams := request.ErrInvalidParams{Context: "DestinationFlowConfig"} 4996 if s.ConnectorType == nil { 4997 invalidParams.Add(request.NewErrParamRequired("ConnectorType")) 4998 } 4999 if s.DestinationConnectorProperties == nil { 5000 invalidParams.Add(request.NewErrParamRequired("DestinationConnectorProperties")) 5001 } 5002 if s.DestinationConnectorProperties != nil { 5003 if err := s.DestinationConnectorProperties.Validate(); err != nil { 5004 invalidParams.AddNested("DestinationConnectorProperties", err.(request.ErrInvalidParams)) 5005 } 5006 } 5007 5008 if invalidParams.Len() > 0 { 5009 return invalidParams 5010 } 5011 return nil 5012} 5013 5014// SetConnectorProfileName sets the ConnectorProfileName field's value. 5015func (s *DestinationFlowConfig) SetConnectorProfileName(v string) *DestinationFlowConfig { 5016 s.ConnectorProfileName = &v 5017 return s 5018} 5019 5020// SetConnectorType sets the ConnectorType field's value. 5021func (s *DestinationFlowConfig) SetConnectorType(v string) *DestinationFlowConfig { 5022 s.ConnectorType = &v 5023 return s 5024} 5025 5026// SetDestinationConnectorProperties sets the DestinationConnectorProperties field's value. 5027func (s *DestinationFlowConfig) SetDestinationConnectorProperties(v *DestinationConnectorProperties) *DestinationFlowConfig { 5028 s.DestinationConnectorProperties = v 5029 return s 5030} 5031 5032// The connector-specific profile credentials required by Dynatrace. 5033type DynatraceConnectorProfileCredentials struct { 5034 _ struct{} `type:"structure"` 5035 5036 // The API tokens used by Dynatrace API to authenticate various API calls. 5037 // 5038 // ApiToken is a required field 5039 ApiToken *string `locationName:"apiToken" type:"string" required:"true"` 5040} 5041 5042// String returns the string representation 5043func (s DynatraceConnectorProfileCredentials) String() string { 5044 return awsutil.Prettify(s) 5045} 5046 5047// GoString returns the string representation 5048func (s DynatraceConnectorProfileCredentials) GoString() string { 5049 return s.String() 5050} 5051 5052// Validate inspects the fields of the type to determine if they are valid. 5053func (s *DynatraceConnectorProfileCredentials) Validate() error { 5054 invalidParams := request.ErrInvalidParams{Context: "DynatraceConnectorProfileCredentials"} 5055 if s.ApiToken == nil { 5056 invalidParams.Add(request.NewErrParamRequired("ApiToken")) 5057 } 5058 5059 if invalidParams.Len() > 0 { 5060 return invalidParams 5061 } 5062 return nil 5063} 5064 5065// SetApiToken sets the ApiToken field's value. 5066func (s *DynatraceConnectorProfileCredentials) SetApiToken(v string) *DynatraceConnectorProfileCredentials { 5067 s.ApiToken = &v 5068 return s 5069} 5070 5071// The connector-specific profile properties required by Dynatrace. 5072type DynatraceConnectorProfileProperties struct { 5073 _ struct{} `type:"structure"` 5074 5075 // The location of the Dynatrace resource. 5076 // 5077 // InstanceUrl is a required field 5078 InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"` 5079} 5080 5081// String returns the string representation 5082func (s DynatraceConnectorProfileProperties) String() string { 5083 return awsutil.Prettify(s) 5084} 5085 5086// GoString returns the string representation 5087func (s DynatraceConnectorProfileProperties) GoString() string { 5088 return s.String() 5089} 5090 5091// Validate inspects the fields of the type to determine if they are valid. 5092func (s *DynatraceConnectorProfileProperties) Validate() error { 5093 invalidParams := request.ErrInvalidParams{Context: "DynatraceConnectorProfileProperties"} 5094 if s.InstanceUrl == nil { 5095 invalidParams.Add(request.NewErrParamRequired("InstanceUrl")) 5096 } 5097 5098 if invalidParams.Len() > 0 { 5099 return invalidParams 5100 } 5101 return nil 5102} 5103 5104// SetInstanceUrl sets the InstanceUrl field's value. 5105func (s *DynatraceConnectorProfileProperties) SetInstanceUrl(v string) *DynatraceConnectorProfileProperties { 5106 s.InstanceUrl = &v 5107 return s 5108} 5109 5110// The connector metadata specific to Dynatrace. 5111type DynatraceMetadata struct { 5112 _ struct{} `type:"structure"` 5113} 5114 5115// String returns the string representation 5116func (s DynatraceMetadata) String() string { 5117 return awsutil.Prettify(s) 5118} 5119 5120// GoString returns the string representation 5121func (s DynatraceMetadata) GoString() string { 5122 return s.String() 5123} 5124 5125// The properties that are applied when Dynatrace is being used as a source. 5126type DynatraceSourceProperties struct { 5127 _ struct{} `type:"structure"` 5128 5129 // The object specified in the Dynatrace flow source. 5130 // 5131 // Object is a required field 5132 Object *string `locationName:"object" type:"string" required:"true"` 5133} 5134 5135// String returns the string representation 5136func (s DynatraceSourceProperties) String() string { 5137 return awsutil.Prettify(s) 5138} 5139 5140// GoString returns the string representation 5141func (s DynatraceSourceProperties) GoString() string { 5142 return s.String() 5143} 5144 5145// Validate inspects the fields of the type to determine if they are valid. 5146func (s *DynatraceSourceProperties) Validate() error { 5147 invalidParams := request.ErrInvalidParams{Context: "DynatraceSourceProperties"} 5148 if s.Object == nil { 5149 invalidParams.Add(request.NewErrParamRequired("Object")) 5150 } 5151 5152 if invalidParams.Len() > 0 { 5153 return invalidParams 5154 } 5155 return nil 5156} 5157 5158// SetObject sets the Object field's value. 5159func (s *DynatraceSourceProperties) SetObject(v string) *DynatraceSourceProperties { 5160 s.Object = &v 5161 return s 5162} 5163 5164// The settings that determine how Amazon AppFlow handles an error when placing 5165// data in the destination. For example, this setting would determine if the 5166// flow should fail after one insertion error, or continue and attempt to insert 5167// every record regardless of the initial failure. ErrorHandlingConfig is a 5168// part of the destination connector details. 5169type ErrorHandlingConfig struct { 5170 _ struct{} `type:"structure"` 5171 5172 // Specifies the name of the Amazon S3 bucket. 5173 BucketName *string `locationName:"bucketName" min:"3" type:"string"` 5174 5175 // Specifies the Amazon S3 bucket prefix. 5176 BucketPrefix *string `locationName:"bucketPrefix" type:"string"` 5177 5178 // Specifies if the flow should fail after the first instance of a failure when 5179 // attempting to place data in the destination. 5180 FailOnFirstDestinationError *bool `locationName:"failOnFirstDestinationError" type:"boolean"` 5181} 5182 5183// String returns the string representation 5184func (s ErrorHandlingConfig) String() string { 5185 return awsutil.Prettify(s) 5186} 5187 5188// GoString returns the string representation 5189func (s ErrorHandlingConfig) GoString() string { 5190 return s.String() 5191} 5192 5193// Validate inspects the fields of the type to determine if they are valid. 5194func (s *ErrorHandlingConfig) Validate() error { 5195 invalidParams := request.ErrInvalidParams{Context: "ErrorHandlingConfig"} 5196 if s.BucketName != nil && len(*s.BucketName) < 3 { 5197 invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) 5198 } 5199 5200 if invalidParams.Len() > 0 { 5201 return invalidParams 5202 } 5203 return nil 5204} 5205 5206// SetBucketName sets the BucketName field's value. 5207func (s *ErrorHandlingConfig) SetBucketName(v string) *ErrorHandlingConfig { 5208 s.BucketName = &v 5209 return s 5210} 5211 5212// SetBucketPrefix sets the BucketPrefix field's value. 5213func (s *ErrorHandlingConfig) SetBucketPrefix(v string) *ErrorHandlingConfig { 5214 s.BucketPrefix = &v 5215 return s 5216} 5217 5218// SetFailOnFirstDestinationError sets the FailOnFirstDestinationError field's value. 5219func (s *ErrorHandlingConfig) SetFailOnFirstDestinationError(v bool) *ErrorHandlingConfig { 5220 s.FailOnFirstDestinationError = &v 5221 return s 5222} 5223 5224// Provides details in the event of a failed flow, including the failure count 5225// and the related error messages. 5226type ErrorInfo struct { 5227 _ struct{} `type:"structure"` 5228 5229 // Specifies the error message that appears if a flow fails. 5230 ExecutionMessage *string `locationName:"executionMessage" type:"string"` 5231 5232 // Specifies the failure count for the attempted flow. 5233 PutFailuresCount *int64 `locationName:"putFailuresCount" type:"long"` 5234} 5235 5236// String returns the string representation 5237func (s ErrorInfo) String() string { 5238 return awsutil.Prettify(s) 5239} 5240 5241// GoString returns the string representation 5242func (s ErrorInfo) GoString() string { 5243 return s.String() 5244} 5245 5246// SetExecutionMessage sets the ExecutionMessage field's value. 5247func (s *ErrorInfo) SetExecutionMessage(v string) *ErrorInfo { 5248 s.ExecutionMessage = &v 5249 return s 5250} 5251 5252// SetPutFailuresCount sets the PutFailuresCount field's value. 5253func (s *ErrorInfo) SetPutFailuresCount(v int64) *ErrorInfo { 5254 s.PutFailuresCount = &v 5255 return s 5256} 5257 5258// The properties that are applied when Amazon EventBridge is being used as 5259// a destination. 5260type EventBridgeDestinationProperties struct { 5261 _ struct{} `type:"structure"` 5262 5263 // The settings that determine how Amazon AppFlow handles an error when placing 5264 // data in the destination. For example, this setting would determine if the 5265 // flow should fail after one insertion error, or continue and attempt to insert 5266 // every record regardless of the initial failure. ErrorHandlingConfig is a 5267 // part of the destination connector details. 5268 ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"` 5269 5270 // The object specified in the Amazon EventBridge flow destination. 5271 // 5272 // Object is a required field 5273 Object *string `locationName:"object" type:"string" required:"true"` 5274} 5275 5276// String returns the string representation 5277func (s EventBridgeDestinationProperties) String() string { 5278 return awsutil.Prettify(s) 5279} 5280 5281// GoString returns the string representation 5282func (s EventBridgeDestinationProperties) GoString() string { 5283 return s.String() 5284} 5285 5286// Validate inspects the fields of the type to determine if they are valid. 5287func (s *EventBridgeDestinationProperties) Validate() error { 5288 invalidParams := request.ErrInvalidParams{Context: "EventBridgeDestinationProperties"} 5289 if s.Object == nil { 5290 invalidParams.Add(request.NewErrParamRequired("Object")) 5291 } 5292 if s.ErrorHandlingConfig != nil { 5293 if err := s.ErrorHandlingConfig.Validate(); err != nil { 5294 invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams)) 5295 } 5296 } 5297 5298 if invalidParams.Len() > 0 { 5299 return invalidParams 5300 } 5301 return nil 5302} 5303 5304// SetErrorHandlingConfig sets the ErrorHandlingConfig field's value. 5305func (s *EventBridgeDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *EventBridgeDestinationProperties { 5306 s.ErrorHandlingConfig = v 5307 return s 5308} 5309 5310// SetObject sets the Object field's value. 5311func (s *EventBridgeDestinationProperties) SetObject(v string) *EventBridgeDestinationProperties { 5312 s.Object = &v 5313 return s 5314} 5315 5316// The connector metadata specific to Amazon EventBridge. 5317type EventBridgeMetadata struct { 5318 _ struct{} `type:"structure"` 5319} 5320 5321// String returns the string representation 5322func (s EventBridgeMetadata) String() string { 5323 return awsutil.Prettify(s) 5324} 5325 5326// GoString returns the string representation 5327func (s EventBridgeMetadata) GoString() string { 5328 return s.String() 5329} 5330 5331// Describes the details of the flow run, including the timestamp, status, and 5332// message. 5333type ExecutionDetails struct { 5334 _ struct{} `type:"structure"` 5335 5336 // Describes the details of the most recent flow run. 5337 MostRecentExecutionMessage *string `locationName:"mostRecentExecutionMessage" type:"string"` 5338 5339 // Specifies the status of the most recent flow run. 5340 MostRecentExecutionStatus *string `locationName:"mostRecentExecutionStatus" type:"string" enum:"ExecutionStatus"` 5341 5342 // Specifies the time of the most recent flow run. 5343 MostRecentExecutionTime *time.Time `locationName:"mostRecentExecutionTime" type:"timestamp"` 5344} 5345 5346// String returns the string representation 5347func (s ExecutionDetails) String() string { 5348 return awsutil.Prettify(s) 5349} 5350 5351// GoString returns the string representation 5352func (s ExecutionDetails) GoString() string { 5353 return s.String() 5354} 5355 5356// SetMostRecentExecutionMessage sets the MostRecentExecutionMessage field's value. 5357func (s *ExecutionDetails) SetMostRecentExecutionMessage(v string) *ExecutionDetails { 5358 s.MostRecentExecutionMessage = &v 5359 return s 5360} 5361 5362// SetMostRecentExecutionStatus sets the MostRecentExecutionStatus field's value. 5363func (s *ExecutionDetails) SetMostRecentExecutionStatus(v string) *ExecutionDetails { 5364 s.MostRecentExecutionStatus = &v 5365 return s 5366} 5367 5368// SetMostRecentExecutionTime sets the MostRecentExecutionTime field's value. 5369func (s *ExecutionDetails) SetMostRecentExecutionTime(v time.Time) *ExecutionDetails { 5370 s.MostRecentExecutionTime = &v 5371 return s 5372} 5373 5374// Specifies information about the past flow run instances for a given flow. 5375type ExecutionRecord struct { 5376 _ struct{} `type:"structure"` 5377 5378 // The timestamp that indicates the last new or updated record to be transferred 5379 // in the flow run. 5380 DataPullEndTime *time.Time `locationName:"dataPullEndTime" type:"timestamp"` 5381 5382 // The timestamp that determines the first new or updated record to be transferred 5383 // in the flow run. 5384 DataPullStartTime *time.Time `locationName:"dataPullStartTime" type:"timestamp"` 5385 5386 // Specifies the identifier of the given flow run. 5387 ExecutionId *string `locationName:"executionId" type:"string"` 5388 5389 // Describes the result of the given flow run. 5390 ExecutionResult *ExecutionResult `locationName:"executionResult" type:"structure"` 5391 5392 // Specifies the flow run status and whether it is in progress, has completed 5393 // successfully, or has failed. 5394 ExecutionStatus *string `locationName:"executionStatus" type:"string" enum:"ExecutionStatus"` 5395 5396 // Specifies the time of the most recent update. 5397 LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` 5398 5399 // Specifies the start time of the flow run. 5400 StartedAt *time.Time `locationName:"startedAt" type:"timestamp"` 5401} 5402 5403// String returns the string representation 5404func (s ExecutionRecord) String() string { 5405 return awsutil.Prettify(s) 5406} 5407 5408// GoString returns the string representation 5409func (s ExecutionRecord) GoString() string { 5410 return s.String() 5411} 5412 5413// SetDataPullEndTime sets the DataPullEndTime field's value. 5414func (s *ExecutionRecord) SetDataPullEndTime(v time.Time) *ExecutionRecord { 5415 s.DataPullEndTime = &v 5416 return s 5417} 5418 5419// SetDataPullStartTime sets the DataPullStartTime field's value. 5420func (s *ExecutionRecord) SetDataPullStartTime(v time.Time) *ExecutionRecord { 5421 s.DataPullStartTime = &v 5422 return s 5423} 5424 5425// SetExecutionId sets the ExecutionId field's value. 5426func (s *ExecutionRecord) SetExecutionId(v string) *ExecutionRecord { 5427 s.ExecutionId = &v 5428 return s 5429} 5430 5431// SetExecutionResult sets the ExecutionResult field's value. 5432func (s *ExecutionRecord) SetExecutionResult(v *ExecutionResult) *ExecutionRecord { 5433 s.ExecutionResult = v 5434 return s 5435} 5436 5437// SetExecutionStatus sets the ExecutionStatus field's value. 5438func (s *ExecutionRecord) SetExecutionStatus(v string) *ExecutionRecord { 5439 s.ExecutionStatus = &v 5440 return s 5441} 5442 5443// SetLastUpdatedAt sets the LastUpdatedAt field's value. 5444func (s *ExecutionRecord) SetLastUpdatedAt(v time.Time) *ExecutionRecord { 5445 s.LastUpdatedAt = &v 5446 return s 5447} 5448 5449// SetStartedAt sets the StartedAt field's value. 5450func (s *ExecutionRecord) SetStartedAt(v time.Time) *ExecutionRecord { 5451 s.StartedAt = &v 5452 return s 5453} 5454 5455// Specifies the end result of the flow run. 5456type ExecutionResult struct { 5457 _ struct{} `type:"structure"` 5458 5459 // The total number of bytes processed by the flow run. 5460 BytesProcessed *int64 `locationName:"bytesProcessed" type:"long"` 5461 5462 // The total number of bytes written as a result of the flow run. 5463 BytesWritten *int64 `locationName:"bytesWritten" type:"long"` 5464 5465 // Provides any error message information related to the flow run. 5466 ErrorInfo *ErrorInfo `locationName:"errorInfo" type:"structure"` 5467 5468 // The number of records processed in the flow run. 5469 RecordsProcessed *int64 `locationName:"recordsProcessed" type:"long"` 5470} 5471 5472// String returns the string representation 5473func (s ExecutionResult) String() string { 5474 return awsutil.Prettify(s) 5475} 5476 5477// GoString returns the string representation 5478func (s ExecutionResult) GoString() string { 5479 return s.String() 5480} 5481 5482// SetBytesProcessed sets the BytesProcessed field's value. 5483func (s *ExecutionResult) SetBytesProcessed(v int64) *ExecutionResult { 5484 s.BytesProcessed = &v 5485 return s 5486} 5487 5488// SetBytesWritten sets the BytesWritten field's value. 5489func (s *ExecutionResult) SetBytesWritten(v int64) *ExecutionResult { 5490 s.BytesWritten = &v 5491 return s 5492} 5493 5494// SetErrorInfo sets the ErrorInfo field's value. 5495func (s *ExecutionResult) SetErrorInfo(v *ErrorInfo) *ExecutionResult { 5496 s.ErrorInfo = v 5497 return s 5498} 5499 5500// SetRecordsProcessed sets the RecordsProcessed field's value. 5501func (s *ExecutionResult) SetRecordsProcessed(v int64) *ExecutionResult { 5502 s.RecordsProcessed = &v 5503 return s 5504} 5505 5506// Contains details regarding the supported field type and the operators that 5507// can be applied for filtering. 5508type FieldTypeDetails struct { 5509 _ struct{} `type:"structure"` 5510 5511 // The type of field, such as string, integer, date, and so on. 5512 // 5513 // FieldType is a required field 5514 FieldType *string `locationName:"fieldType" type:"string" required:"true"` 5515 5516 // The list of operators supported by a field. 5517 // 5518 // FilterOperators is a required field 5519 FilterOperators []*string `locationName:"filterOperators" type:"list" required:"true"` 5520 5521 // The list of values that a field can contain. For example, a Boolean fieldType 5522 // can have two values: "true" and "false". 5523 SupportedValues []*string `locationName:"supportedValues" type:"list"` 5524} 5525 5526// String returns the string representation 5527func (s FieldTypeDetails) String() string { 5528 return awsutil.Prettify(s) 5529} 5530 5531// GoString returns the string representation 5532func (s FieldTypeDetails) GoString() string { 5533 return s.String() 5534} 5535 5536// SetFieldType sets the FieldType field's value. 5537func (s *FieldTypeDetails) SetFieldType(v string) *FieldTypeDetails { 5538 s.FieldType = &v 5539 return s 5540} 5541 5542// SetFilterOperators sets the FilterOperators field's value. 5543func (s *FieldTypeDetails) SetFilterOperators(v []*string) *FieldTypeDetails { 5544 s.FilterOperators = v 5545 return s 5546} 5547 5548// SetSupportedValues sets the SupportedValues field's value. 5549func (s *FieldTypeDetails) SetSupportedValues(v []*string) *FieldTypeDetails { 5550 s.SupportedValues = v 5551 return s 5552} 5553 5554// The properties of the flow, such as its source, destination, trigger type, 5555// and so on. 5556type FlowDefinition struct { 5557 _ struct{} `type:"structure"` 5558 5559 // Specifies when the flow was created. 5560 CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` 5561 5562 // The ARN of the user who created the flow. 5563 CreatedBy *string `locationName:"createdBy" type:"string"` 5564 5565 // A user-entered description of the flow. 5566 Description *string `locationName:"description" type:"string"` 5567 5568 // Specifies the destination connector type, such as Salesforce, Amazon S3, 5569 // Amplitude, and so on. 5570 DestinationConnectorType *string `locationName:"destinationConnectorType" type:"string" enum:"ConnectorType"` 5571 5572 // The flow's Amazon Resource Name (ARN). 5573 FlowArn *string `locationName:"flowArn" type:"string"` 5574 5575 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 5576 // or hyphens (-) only. 5577 FlowName *string `locationName:"flowName" type:"string"` 5578 5579 // Indicates the current status of the flow. 5580 FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"` 5581 5582 // Describes the details of the most recent flow run. 5583 LastRunExecutionDetails *ExecutionDetails `locationName:"lastRunExecutionDetails" type:"structure"` 5584 5585 // Specifies when the flow was last updated. 5586 LastUpdatedAt *time.Time `locationName:"lastUpdatedAt" type:"timestamp"` 5587 5588 // Specifies the account user name that most recently updated the flow. 5589 LastUpdatedBy *string `locationName:"lastUpdatedBy" type:"string"` 5590 5591 // Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, 5592 // and so on. 5593 SourceConnectorType *string `locationName:"sourceConnectorType" type:"string" enum:"ConnectorType"` 5594 5595 // The tags used to organize, track, or control access for your flow. 5596 Tags map[string]*string `locationName:"tags" type:"map"` 5597 5598 // Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event. 5599 TriggerType *string `locationName:"triggerType" type:"string" enum:"TriggerType"` 5600} 5601 5602// String returns the string representation 5603func (s FlowDefinition) String() string { 5604 return awsutil.Prettify(s) 5605} 5606 5607// GoString returns the string representation 5608func (s FlowDefinition) GoString() string { 5609 return s.String() 5610} 5611 5612// SetCreatedAt sets the CreatedAt field's value. 5613func (s *FlowDefinition) SetCreatedAt(v time.Time) *FlowDefinition { 5614 s.CreatedAt = &v 5615 return s 5616} 5617 5618// SetCreatedBy sets the CreatedBy field's value. 5619func (s *FlowDefinition) SetCreatedBy(v string) *FlowDefinition { 5620 s.CreatedBy = &v 5621 return s 5622} 5623 5624// SetDescription sets the Description field's value. 5625func (s *FlowDefinition) SetDescription(v string) *FlowDefinition { 5626 s.Description = &v 5627 return s 5628} 5629 5630// SetDestinationConnectorType sets the DestinationConnectorType field's value. 5631func (s *FlowDefinition) SetDestinationConnectorType(v string) *FlowDefinition { 5632 s.DestinationConnectorType = &v 5633 return s 5634} 5635 5636// SetFlowArn sets the FlowArn field's value. 5637func (s *FlowDefinition) SetFlowArn(v string) *FlowDefinition { 5638 s.FlowArn = &v 5639 return s 5640} 5641 5642// SetFlowName sets the FlowName field's value. 5643func (s *FlowDefinition) SetFlowName(v string) *FlowDefinition { 5644 s.FlowName = &v 5645 return s 5646} 5647 5648// SetFlowStatus sets the FlowStatus field's value. 5649func (s *FlowDefinition) SetFlowStatus(v string) *FlowDefinition { 5650 s.FlowStatus = &v 5651 return s 5652} 5653 5654// SetLastRunExecutionDetails sets the LastRunExecutionDetails field's value. 5655func (s *FlowDefinition) SetLastRunExecutionDetails(v *ExecutionDetails) *FlowDefinition { 5656 s.LastRunExecutionDetails = v 5657 return s 5658} 5659 5660// SetLastUpdatedAt sets the LastUpdatedAt field's value. 5661func (s *FlowDefinition) SetLastUpdatedAt(v time.Time) *FlowDefinition { 5662 s.LastUpdatedAt = &v 5663 return s 5664} 5665 5666// SetLastUpdatedBy sets the LastUpdatedBy field's value. 5667func (s *FlowDefinition) SetLastUpdatedBy(v string) *FlowDefinition { 5668 s.LastUpdatedBy = &v 5669 return s 5670} 5671 5672// SetSourceConnectorType sets the SourceConnectorType field's value. 5673func (s *FlowDefinition) SetSourceConnectorType(v string) *FlowDefinition { 5674 s.SourceConnectorType = &v 5675 return s 5676} 5677 5678// SetTags sets the Tags field's value. 5679func (s *FlowDefinition) SetTags(v map[string]*string) *FlowDefinition { 5680 s.Tags = v 5681 return s 5682} 5683 5684// SetTriggerType sets the TriggerType field's value. 5685func (s *FlowDefinition) SetTriggerType(v string) *FlowDefinition { 5686 s.TriggerType = &v 5687 return s 5688} 5689 5690// The connector-specific profile credentials required by Google Analytics. 5691type GoogleAnalyticsConnectorProfileCredentials struct { 5692 _ struct{} `type:"structure"` 5693 5694 // The credentials used to access protected Google Analytics resources. 5695 AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"` 5696 5697 // The identifier for the desired client. 5698 // 5699 // ClientId is a required field 5700 ClientId *string `locationName:"clientId" type:"string" required:"true"` 5701 5702 // The client secret used by the OAuth client to authenticate to the authorization 5703 // server. 5704 // 5705 // ClientSecret is a required field 5706 ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"` 5707 5708 // The OAuth requirement needed to request security tokens from the connector 5709 // endpoint. 5710 OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"` 5711 5712 // The credentials used to acquire new access tokens. This is required only 5713 // for OAuth2 access tokens, and is not required for OAuth1 access tokens. 5714 RefreshToken *string `locationName:"refreshToken" type:"string"` 5715} 5716 5717// String returns the string representation 5718func (s GoogleAnalyticsConnectorProfileCredentials) String() string { 5719 return awsutil.Prettify(s) 5720} 5721 5722// GoString returns the string representation 5723func (s GoogleAnalyticsConnectorProfileCredentials) GoString() string { 5724 return s.String() 5725} 5726 5727// Validate inspects the fields of the type to determine if they are valid. 5728func (s *GoogleAnalyticsConnectorProfileCredentials) Validate() error { 5729 invalidParams := request.ErrInvalidParams{Context: "GoogleAnalyticsConnectorProfileCredentials"} 5730 if s.ClientId == nil { 5731 invalidParams.Add(request.NewErrParamRequired("ClientId")) 5732 } 5733 if s.ClientSecret == nil { 5734 invalidParams.Add(request.NewErrParamRequired("ClientSecret")) 5735 } 5736 5737 if invalidParams.Len() > 0 { 5738 return invalidParams 5739 } 5740 return nil 5741} 5742 5743// SetAccessToken sets the AccessToken field's value. 5744func (s *GoogleAnalyticsConnectorProfileCredentials) SetAccessToken(v string) *GoogleAnalyticsConnectorProfileCredentials { 5745 s.AccessToken = &v 5746 return s 5747} 5748 5749// SetClientId sets the ClientId field's value. 5750func (s *GoogleAnalyticsConnectorProfileCredentials) SetClientId(v string) *GoogleAnalyticsConnectorProfileCredentials { 5751 s.ClientId = &v 5752 return s 5753} 5754 5755// SetClientSecret sets the ClientSecret field's value. 5756func (s *GoogleAnalyticsConnectorProfileCredentials) SetClientSecret(v string) *GoogleAnalyticsConnectorProfileCredentials { 5757 s.ClientSecret = &v 5758 return s 5759} 5760 5761// SetOAuthRequest sets the OAuthRequest field's value. 5762func (s *GoogleAnalyticsConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *GoogleAnalyticsConnectorProfileCredentials { 5763 s.OAuthRequest = v 5764 return s 5765} 5766 5767// SetRefreshToken sets the RefreshToken field's value. 5768func (s *GoogleAnalyticsConnectorProfileCredentials) SetRefreshToken(v string) *GoogleAnalyticsConnectorProfileCredentials { 5769 s.RefreshToken = &v 5770 return s 5771} 5772 5773// The connector-specific profile properties required by Google Analytics. 5774type GoogleAnalyticsConnectorProfileProperties struct { 5775 _ struct{} `type:"structure"` 5776} 5777 5778// String returns the string representation 5779func (s GoogleAnalyticsConnectorProfileProperties) String() string { 5780 return awsutil.Prettify(s) 5781} 5782 5783// GoString returns the string representation 5784func (s GoogleAnalyticsConnectorProfileProperties) GoString() string { 5785 return s.String() 5786} 5787 5788// The connector metadata specific to Google Analytics. 5789type GoogleAnalyticsMetadata struct { 5790 _ struct{} `type:"structure"` 5791 5792 // The desired authorization scope for the Google Analytics account. 5793 OAuthScopes []*string `locationName:"oAuthScopes" type:"list"` 5794} 5795 5796// String returns the string representation 5797func (s GoogleAnalyticsMetadata) String() string { 5798 return awsutil.Prettify(s) 5799} 5800 5801// GoString returns the string representation 5802func (s GoogleAnalyticsMetadata) GoString() string { 5803 return s.String() 5804} 5805 5806// SetOAuthScopes sets the OAuthScopes field's value. 5807func (s *GoogleAnalyticsMetadata) SetOAuthScopes(v []*string) *GoogleAnalyticsMetadata { 5808 s.OAuthScopes = v 5809 return s 5810} 5811 5812// The properties that are applied when Google Analytics is being used as a 5813// source. 5814type GoogleAnalyticsSourceProperties struct { 5815 _ struct{} `type:"structure"` 5816 5817 // The object specified in the Google Analytics flow source. 5818 // 5819 // Object is a required field 5820 Object *string `locationName:"object" type:"string" required:"true"` 5821} 5822 5823// String returns the string representation 5824func (s GoogleAnalyticsSourceProperties) String() string { 5825 return awsutil.Prettify(s) 5826} 5827 5828// GoString returns the string representation 5829func (s GoogleAnalyticsSourceProperties) GoString() string { 5830 return s.String() 5831} 5832 5833// Validate inspects the fields of the type to determine if they are valid. 5834func (s *GoogleAnalyticsSourceProperties) Validate() error { 5835 invalidParams := request.ErrInvalidParams{Context: "GoogleAnalyticsSourceProperties"} 5836 if s.Object == nil { 5837 invalidParams.Add(request.NewErrParamRequired("Object")) 5838 } 5839 5840 if invalidParams.Len() > 0 { 5841 return invalidParams 5842 } 5843 return nil 5844} 5845 5846// SetObject sets the Object field's value. 5847func (s *GoogleAnalyticsSourceProperties) SetObject(v string) *GoogleAnalyticsSourceProperties { 5848 s.Object = &v 5849 return s 5850} 5851 5852// The connector-specific credentials required when using Amazon Honeycode. 5853type HoneycodeConnectorProfileCredentials struct { 5854 _ struct{} `type:"structure"` 5855 5856 // The credentials used to access protected Amazon Honeycode resources. 5857 AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"` 5858 5859 // Used by select connectors for which the OAuth workflow is supported, such 5860 // as Salesforce, Google Analytics, Marketo, Zendesk, and Slack. 5861 OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"` 5862 5863 // The credentials used to acquire new access tokens. 5864 RefreshToken *string `locationName:"refreshToken" type:"string"` 5865} 5866 5867// String returns the string representation 5868func (s HoneycodeConnectorProfileCredentials) String() string { 5869 return awsutil.Prettify(s) 5870} 5871 5872// GoString returns the string representation 5873func (s HoneycodeConnectorProfileCredentials) GoString() string { 5874 return s.String() 5875} 5876 5877// SetAccessToken sets the AccessToken field's value. 5878func (s *HoneycodeConnectorProfileCredentials) SetAccessToken(v string) *HoneycodeConnectorProfileCredentials { 5879 s.AccessToken = &v 5880 return s 5881} 5882 5883// SetOAuthRequest sets the OAuthRequest field's value. 5884func (s *HoneycodeConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *HoneycodeConnectorProfileCredentials { 5885 s.OAuthRequest = v 5886 return s 5887} 5888 5889// SetRefreshToken sets the RefreshToken field's value. 5890func (s *HoneycodeConnectorProfileCredentials) SetRefreshToken(v string) *HoneycodeConnectorProfileCredentials { 5891 s.RefreshToken = &v 5892 return s 5893} 5894 5895// The connector-specific properties required when using Amazon Honeycode. 5896type HoneycodeConnectorProfileProperties struct { 5897 _ struct{} `type:"structure"` 5898} 5899 5900// String returns the string representation 5901func (s HoneycodeConnectorProfileProperties) String() string { 5902 return awsutil.Prettify(s) 5903} 5904 5905// GoString returns the string representation 5906func (s HoneycodeConnectorProfileProperties) GoString() string { 5907 return s.String() 5908} 5909 5910// The properties that are applied when Amazon Honeycode is used as a destination. 5911type HoneycodeDestinationProperties struct { 5912 _ struct{} `type:"structure"` 5913 5914 // The settings that determine how Amazon AppFlow handles an error when placing 5915 // data in the destination. For example, this setting would determine if the 5916 // flow should fail after one insertion error, or continue and attempt to insert 5917 // every record regardless of the initial failure. ErrorHandlingConfig is a 5918 // part of the destination connector details. 5919 ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"` 5920 5921 // The object specified in the Amazon Honeycode flow destination. 5922 // 5923 // Object is a required field 5924 Object *string `locationName:"object" type:"string" required:"true"` 5925} 5926 5927// String returns the string representation 5928func (s HoneycodeDestinationProperties) String() string { 5929 return awsutil.Prettify(s) 5930} 5931 5932// GoString returns the string representation 5933func (s HoneycodeDestinationProperties) GoString() string { 5934 return s.String() 5935} 5936 5937// Validate inspects the fields of the type to determine if they are valid. 5938func (s *HoneycodeDestinationProperties) Validate() error { 5939 invalidParams := request.ErrInvalidParams{Context: "HoneycodeDestinationProperties"} 5940 if s.Object == nil { 5941 invalidParams.Add(request.NewErrParamRequired("Object")) 5942 } 5943 if s.ErrorHandlingConfig != nil { 5944 if err := s.ErrorHandlingConfig.Validate(); err != nil { 5945 invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams)) 5946 } 5947 } 5948 5949 if invalidParams.Len() > 0 { 5950 return invalidParams 5951 } 5952 return nil 5953} 5954 5955// SetErrorHandlingConfig sets the ErrorHandlingConfig field's value. 5956func (s *HoneycodeDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *HoneycodeDestinationProperties { 5957 s.ErrorHandlingConfig = v 5958 return s 5959} 5960 5961// SetObject sets the Object field's value. 5962func (s *HoneycodeDestinationProperties) SetObject(v string) *HoneycodeDestinationProperties { 5963 s.Object = &v 5964 return s 5965} 5966 5967// The connector metadata specific to Amazon Honeycode. 5968type HoneycodeMetadata struct { 5969 _ struct{} `type:"structure"` 5970 5971 // The desired authorization scope for the Amazon Honeycode account. 5972 OAuthScopes []*string `locationName:"oAuthScopes" type:"list"` 5973} 5974 5975// String returns the string representation 5976func (s HoneycodeMetadata) String() string { 5977 return awsutil.Prettify(s) 5978} 5979 5980// GoString returns the string representation 5981func (s HoneycodeMetadata) GoString() string { 5982 return s.String() 5983} 5984 5985// SetOAuthScopes sets the OAuthScopes field's value. 5986func (s *HoneycodeMetadata) SetOAuthScopes(v []*string) *HoneycodeMetadata { 5987 s.OAuthScopes = v 5988 return s 5989} 5990 5991// Specifies the configuration used when importing incremental records from 5992// the source. 5993type IncrementalPullConfig struct { 5994 _ struct{} `type:"structure"` 5995 5996 // A field that specifies the date time or timestamp field as the criteria to 5997 // use when importing incremental records from the source. 5998 DatetimeTypeFieldName *string `locationName:"datetimeTypeFieldName" type:"string"` 5999} 6000 6001// String returns the string representation 6002func (s IncrementalPullConfig) String() string { 6003 return awsutil.Prettify(s) 6004} 6005 6006// GoString returns the string representation 6007func (s IncrementalPullConfig) GoString() string { 6008 return s.String() 6009} 6010 6011// SetDatetimeTypeFieldName sets the DatetimeTypeFieldName field's value. 6012func (s *IncrementalPullConfig) SetDatetimeTypeFieldName(v string) *IncrementalPullConfig { 6013 s.DatetimeTypeFieldName = &v 6014 return s 6015} 6016 6017// The connector-specific profile credentials required by Infor Nexus. 6018type InforNexusConnectorProfileCredentials struct { 6019 _ struct{} `type:"structure"` 6020 6021 // The Access Key portion of the credentials. 6022 // 6023 // AccessKeyId is a required field 6024 AccessKeyId *string `locationName:"accessKeyId" type:"string" required:"true" sensitive:"true"` 6025 6026 // The encryption keys used to encrypt data. 6027 // 6028 // Datakey is a required field 6029 Datakey *string `locationName:"datakey" type:"string" required:"true"` 6030 6031 // The secret key used to sign requests. 6032 // 6033 // SecretAccessKey is a required field 6034 SecretAccessKey *string `locationName:"secretAccessKey" type:"string" required:"true"` 6035 6036 // The identifier for the user. 6037 // 6038 // UserId is a required field 6039 UserId *string `locationName:"userId" type:"string" required:"true"` 6040} 6041 6042// String returns the string representation 6043func (s InforNexusConnectorProfileCredentials) String() string { 6044 return awsutil.Prettify(s) 6045} 6046 6047// GoString returns the string representation 6048func (s InforNexusConnectorProfileCredentials) GoString() string { 6049 return s.String() 6050} 6051 6052// Validate inspects the fields of the type to determine if they are valid. 6053func (s *InforNexusConnectorProfileCredentials) Validate() error { 6054 invalidParams := request.ErrInvalidParams{Context: "InforNexusConnectorProfileCredentials"} 6055 if s.AccessKeyId == nil { 6056 invalidParams.Add(request.NewErrParamRequired("AccessKeyId")) 6057 } 6058 if s.Datakey == nil { 6059 invalidParams.Add(request.NewErrParamRequired("Datakey")) 6060 } 6061 if s.SecretAccessKey == nil { 6062 invalidParams.Add(request.NewErrParamRequired("SecretAccessKey")) 6063 } 6064 if s.UserId == nil { 6065 invalidParams.Add(request.NewErrParamRequired("UserId")) 6066 } 6067 6068 if invalidParams.Len() > 0 { 6069 return invalidParams 6070 } 6071 return nil 6072} 6073 6074// SetAccessKeyId sets the AccessKeyId field's value. 6075func (s *InforNexusConnectorProfileCredentials) SetAccessKeyId(v string) *InforNexusConnectorProfileCredentials { 6076 s.AccessKeyId = &v 6077 return s 6078} 6079 6080// SetDatakey sets the Datakey field's value. 6081func (s *InforNexusConnectorProfileCredentials) SetDatakey(v string) *InforNexusConnectorProfileCredentials { 6082 s.Datakey = &v 6083 return s 6084} 6085 6086// SetSecretAccessKey sets the SecretAccessKey field's value. 6087func (s *InforNexusConnectorProfileCredentials) SetSecretAccessKey(v string) *InforNexusConnectorProfileCredentials { 6088 s.SecretAccessKey = &v 6089 return s 6090} 6091 6092// SetUserId sets the UserId field's value. 6093func (s *InforNexusConnectorProfileCredentials) SetUserId(v string) *InforNexusConnectorProfileCredentials { 6094 s.UserId = &v 6095 return s 6096} 6097 6098// The connector-specific profile properties required by Infor Nexus. 6099type InforNexusConnectorProfileProperties struct { 6100 _ struct{} `type:"structure"` 6101 6102 // The location of the Infor Nexus resource. 6103 // 6104 // InstanceUrl is a required field 6105 InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"` 6106} 6107 6108// String returns the string representation 6109func (s InforNexusConnectorProfileProperties) String() string { 6110 return awsutil.Prettify(s) 6111} 6112 6113// GoString returns the string representation 6114func (s InforNexusConnectorProfileProperties) GoString() string { 6115 return s.String() 6116} 6117 6118// Validate inspects the fields of the type to determine if they are valid. 6119func (s *InforNexusConnectorProfileProperties) Validate() error { 6120 invalidParams := request.ErrInvalidParams{Context: "InforNexusConnectorProfileProperties"} 6121 if s.InstanceUrl == nil { 6122 invalidParams.Add(request.NewErrParamRequired("InstanceUrl")) 6123 } 6124 6125 if invalidParams.Len() > 0 { 6126 return invalidParams 6127 } 6128 return nil 6129} 6130 6131// SetInstanceUrl sets the InstanceUrl field's value. 6132func (s *InforNexusConnectorProfileProperties) SetInstanceUrl(v string) *InforNexusConnectorProfileProperties { 6133 s.InstanceUrl = &v 6134 return s 6135} 6136 6137// The connector metadata specific to Infor Nexus. 6138type InforNexusMetadata struct { 6139 _ struct{} `type:"structure"` 6140} 6141 6142// String returns the string representation 6143func (s InforNexusMetadata) String() string { 6144 return awsutil.Prettify(s) 6145} 6146 6147// GoString returns the string representation 6148func (s InforNexusMetadata) GoString() string { 6149 return s.String() 6150} 6151 6152// The properties that are applied when Infor Nexus is being used as a source. 6153type InforNexusSourceProperties struct { 6154 _ struct{} `type:"structure"` 6155 6156 // The object specified in the Infor Nexus flow source. 6157 // 6158 // Object is a required field 6159 Object *string `locationName:"object" type:"string" required:"true"` 6160} 6161 6162// String returns the string representation 6163func (s InforNexusSourceProperties) String() string { 6164 return awsutil.Prettify(s) 6165} 6166 6167// GoString returns the string representation 6168func (s InforNexusSourceProperties) GoString() string { 6169 return s.String() 6170} 6171 6172// Validate inspects the fields of the type to determine if they are valid. 6173func (s *InforNexusSourceProperties) Validate() error { 6174 invalidParams := request.ErrInvalidParams{Context: "InforNexusSourceProperties"} 6175 if s.Object == nil { 6176 invalidParams.Add(request.NewErrParamRequired("Object")) 6177 } 6178 6179 if invalidParams.Len() > 0 { 6180 return invalidParams 6181 } 6182 return nil 6183} 6184 6185// SetObject sets the Object field's value. 6186func (s *InforNexusSourceProperties) SetObject(v string) *InforNexusSourceProperties { 6187 s.Object = &v 6188 return s 6189} 6190 6191// An internal service error occurred during the processing of your request. 6192// Try again later. 6193type InternalServerException struct { 6194 _ struct{} `type:"structure"` 6195 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 6196 6197 Message_ *string `locationName:"message" type:"string"` 6198} 6199 6200// String returns the string representation 6201func (s InternalServerException) String() string { 6202 return awsutil.Prettify(s) 6203} 6204 6205// GoString returns the string representation 6206func (s InternalServerException) GoString() string { 6207 return s.String() 6208} 6209 6210func newErrorInternalServerException(v protocol.ResponseMetadata) error { 6211 return &InternalServerException{ 6212 RespMetadata: v, 6213 } 6214} 6215 6216// Code returns the exception type name. 6217func (s *InternalServerException) Code() string { 6218 return "InternalServerException" 6219} 6220 6221// Message returns the exception's message. 6222func (s *InternalServerException) Message() string { 6223 if s.Message_ != nil { 6224 return *s.Message_ 6225 } 6226 return "" 6227} 6228 6229// OrigErr always returns nil, satisfies awserr.Error interface. 6230func (s *InternalServerException) OrigErr() error { 6231 return nil 6232} 6233 6234func (s *InternalServerException) Error() string { 6235 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 6236} 6237 6238// Status code returns the HTTP status code for the request's response error. 6239func (s *InternalServerException) StatusCode() int { 6240 return s.RespMetadata.StatusCode 6241} 6242 6243// RequestID returns the service's response RequestID for request. 6244func (s *InternalServerException) RequestID() string { 6245 return s.RespMetadata.RequestID 6246} 6247 6248type ListConnectorEntitiesInput struct { 6249 _ struct{} `type:"structure"` 6250 6251 // The name of the connector profile. The name is unique for each ConnectorProfile 6252 // in the Amazon Web Services account, and is used to query the downstream connector. 6253 ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"` 6254 6255 // The type of connector, such as Salesforce, Amplitude, and so on. 6256 ConnectorType *string `locationName:"connectorType" type:"string" enum:"ConnectorType"` 6257 6258 // This optional parameter is specific to connector implementation. Some connectors 6259 // support multiple levels or categories of entities. You can find out the list 6260 // of roots for such providers by sending a request without the entitiesPath 6261 // parameter. If the connector supports entities at different roots, this initial 6262 // request returns the list of roots. Otherwise, this request returns all entities 6263 // supported by the provider. 6264 EntitiesPath *string `locationName:"entitiesPath" type:"string"` 6265} 6266 6267// String returns the string representation 6268func (s ListConnectorEntitiesInput) String() string { 6269 return awsutil.Prettify(s) 6270} 6271 6272// GoString returns the string representation 6273func (s ListConnectorEntitiesInput) GoString() string { 6274 return s.String() 6275} 6276 6277// SetConnectorProfileName sets the ConnectorProfileName field's value. 6278func (s *ListConnectorEntitiesInput) SetConnectorProfileName(v string) *ListConnectorEntitiesInput { 6279 s.ConnectorProfileName = &v 6280 return s 6281} 6282 6283// SetConnectorType sets the ConnectorType field's value. 6284func (s *ListConnectorEntitiesInput) SetConnectorType(v string) *ListConnectorEntitiesInput { 6285 s.ConnectorType = &v 6286 return s 6287} 6288 6289// SetEntitiesPath sets the EntitiesPath field's value. 6290func (s *ListConnectorEntitiesInput) SetEntitiesPath(v string) *ListConnectorEntitiesInput { 6291 s.EntitiesPath = &v 6292 return s 6293} 6294 6295type ListConnectorEntitiesOutput struct { 6296 _ struct{} `type:"structure"` 6297 6298 // The response of ListConnectorEntities lists entities grouped by category. 6299 // This map's key represents the group name, and its value contains the list 6300 // of entities belonging to that group. 6301 // 6302 // ConnectorEntityMap is a required field 6303 ConnectorEntityMap map[string][]*ConnectorEntity `locationName:"connectorEntityMap" type:"map" required:"true"` 6304} 6305 6306// String returns the string representation 6307func (s ListConnectorEntitiesOutput) String() string { 6308 return awsutil.Prettify(s) 6309} 6310 6311// GoString returns the string representation 6312func (s ListConnectorEntitiesOutput) GoString() string { 6313 return s.String() 6314} 6315 6316// SetConnectorEntityMap sets the ConnectorEntityMap field's value. 6317func (s *ListConnectorEntitiesOutput) SetConnectorEntityMap(v map[string][]*ConnectorEntity) *ListConnectorEntitiesOutput { 6318 s.ConnectorEntityMap = v 6319 return s 6320} 6321 6322type ListFlowsInput struct { 6323 _ struct{} `type:"structure"` 6324 6325 // Specifies the maximum number of items that should be returned in the result 6326 // set. 6327 MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` 6328 6329 // The pagination token for next page of data. 6330 NextToken *string `locationName:"nextToken" type:"string"` 6331} 6332 6333// String returns the string representation 6334func (s ListFlowsInput) String() string { 6335 return awsutil.Prettify(s) 6336} 6337 6338// GoString returns the string representation 6339func (s ListFlowsInput) GoString() string { 6340 return s.String() 6341} 6342 6343// Validate inspects the fields of the type to determine if they are valid. 6344func (s *ListFlowsInput) Validate() error { 6345 invalidParams := request.ErrInvalidParams{Context: "ListFlowsInput"} 6346 if s.MaxResults != nil && *s.MaxResults < 1 { 6347 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) 6348 } 6349 6350 if invalidParams.Len() > 0 { 6351 return invalidParams 6352 } 6353 return nil 6354} 6355 6356// SetMaxResults sets the MaxResults field's value. 6357func (s *ListFlowsInput) SetMaxResults(v int64) *ListFlowsInput { 6358 s.MaxResults = &v 6359 return s 6360} 6361 6362// SetNextToken sets the NextToken field's value. 6363func (s *ListFlowsInput) SetNextToken(v string) *ListFlowsInput { 6364 s.NextToken = &v 6365 return s 6366} 6367 6368type ListFlowsOutput struct { 6369 _ struct{} `type:"structure"` 6370 6371 // The list of flows associated with your account. 6372 Flows []*FlowDefinition `locationName:"flows" type:"list"` 6373 6374 // The pagination token for next page of data. 6375 NextToken *string `locationName:"nextToken" type:"string"` 6376} 6377 6378// String returns the string representation 6379func (s ListFlowsOutput) String() string { 6380 return awsutil.Prettify(s) 6381} 6382 6383// GoString returns the string representation 6384func (s ListFlowsOutput) GoString() string { 6385 return s.String() 6386} 6387 6388// SetFlows sets the Flows field's value. 6389func (s *ListFlowsOutput) SetFlows(v []*FlowDefinition) *ListFlowsOutput { 6390 s.Flows = v 6391 return s 6392} 6393 6394// SetNextToken sets the NextToken field's value. 6395func (s *ListFlowsOutput) SetNextToken(v string) *ListFlowsOutput { 6396 s.NextToken = &v 6397 return s 6398} 6399 6400type ListTagsForResourceInput struct { 6401 _ struct{} `type:"structure"` 6402 6403 // The Amazon Resource Name (ARN) of the specified flow. 6404 // 6405 // ResourceArn is a required field 6406 ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` 6407} 6408 6409// String returns the string representation 6410func (s ListTagsForResourceInput) String() string { 6411 return awsutil.Prettify(s) 6412} 6413 6414// GoString returns the string representation 6415func (s ListTagsForResourceInput) GoString() string { 6416 return s.String() 6417} 6418 6419// Validate inspects the fields of the type to determine if they are valid. 6420func (s *ListTagsForResourceInput) Validate() error { 6421 invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} 6422 if s.ResourceArn == nil { 6423 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 6424 } 6425 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 6426 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 6427 } 6428 6429 if invalidParams.Len() > 0 { 6430 return invalidParams 6431 } 6432 return nil 6433} 6434 6435// SetResourceArn sets the ResourceArn field's value. 6436func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { 6437 s.ResourceArn = &v 6438 return s 6439} 6440 6441type ListTagsForResourceOutput struct { 6442 _ struct{} `type:"structure"` 6443 6444 // The tags used to organize, track, or control access for your flow. 6445 Tags map[string]*string `locationName:"tags" type:"map"` 6446} 6447 6448// String returns the string representation 6449func (s ListTagsForResourceOutput) String() string { 6450 return awsutil.Prettify(s) 6451} 6452 6453// GoString returns the string representation 6454func (s ListTagsForResourceOutput) GoString() string { 6455 return s.String() 6456} 6457 6458// SetTags sets the Tags field's value. 6459func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { 6460 s.Tags = v 6461 return s 6462} 6463 6464// The properties that are applied when Amazon Lookout for Metrics is used as 6465// a destination. 6466type LookoutMetricsDestinationProperties struct { 6467 _ struct{} `type:"structure"` 6468} 6469 6470// String returns the string representation 6471func (s LookoutMetricsDestinationProperties) String() string { 6472 return awsutil.Prettify(s) 6473} 6474 6475// GoString returns the string representation 6476func (s LookoutMetricsDestinationProperties) GoString() string { 6477 return s.String() 6478} 6479 6480// The connector-specific profile credentials required by Marketo. 6481type MarketoConnectorProfileCredentials struct { 6482 _ struct{} `type:"structure"` 6483 6484 // The credentials used to access protected Marketo resources. 6485 AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"` 6486 6487 // The identifier for the desired client. 6488 // 6489 // ClientId is a required field 6490 ClientId *string `locationName:"clientId" type:"string" required:"true"` 6491 6492 // The client secret used by the OAuth client to authenticate to the authorization 6493 // server. 6494 // 6495 // ClientSecret is a required field 6496 ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"` 6497 6498 // The OAuth requirement needed to request security tokens from the connector 6499 // endpoint. 6500 OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"` 6501} 6502 6503// String returns the string representation 6504func (s MarketoConnectorProfileCredentials) String() string { 6505 return awsutil.Prettify(s) 6506} 6507 6508// GoString returns the string representation 6509func (s MarketoConnectorProfileCredentials) GoString() string { 6510 return s.String() 6511} 6512 6513// Validate inspects the fields of the type to determine if they are valid. 6514func (s *MarketoConnectorProfileCredentials) Validate() error { 6515 invalidParams := request.ErrInvalidParams{Context: "MarketoConnectorProfileCredentials"} 6516 if s.ClientId == nil { 6517 invalidParams.Add(request.NewErrParamRequired("ClientId")) 6518 } 6519 if s.ClientSecret == nil { 6520 invalidParams.Add(request.NewErrParamRequired("ClientSecret")) 6521 } 6522 6523 if invalidParams.Len() > 0 { 6524 return invalidParams 6525 } 6526 return nil 6527} 6528 6529// SetAccessToken sets the AccessToken field's value. 6530func (s *MarketoConnectorProfileCredentials) SetAccessToken(v string) *MarketoConnectorProfileCredentials { 6531 s.AccessToken = &v 6532 return s 6533} 6534 6535// SetClientId sets the ClientId field's value. 6536func (s *MarketoConnectorProfileCredentials) SetClientId(v string) *MarketoConnectorProfileCredentials { 6537 s.ClientId = &v 6538 return s 6539} 6540 6541// SetClientSecret sets the ClientSecret field's value. 6542func (s *MarketoConnectorProfileCredentials) SetClientSecret(v string) *MarketoConnectorProfileCredentials { 6543 s.ClientSecret = &v 6544 return s 6545} 6546 6547// SetOAuthRequest sets the OAuthRequest field's value. 6548func (s *MarketoConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *MarketoConnectorProfileCredentials { 6549 s.OAuthRequest = v 6550 return s 6551} 6552 6553// The connector-specific profile properties required when using Marketo. 6554type MarketoConnectorProfileProperties struct { 6555 _ struct{} `type:"structure"` 6556 6557 // The location of the Marketo resource. 6558 // 6559 // InstanceUrl is a required field 6560 InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"` 6561} 6562 6563// String returns the string representation 6564func (s MarketoConnectorProfileProperties) String() string { 6565 return awsutil.Prettify(s) 6566} 6567 6568// GoString returns the string representation 6569func (s MarketoConnectorProfileProperties) GoString() string { 6570 return s.String() 6571} 6572 6573// Validate inspects the fields of the type to determine if they are valid. 6574func (s *MarketoConnectorProfileProperties) Validate() error { 6575 invalidParams := request.ErrInvalidParams{Context: "MarketoConnectorProfileProperties"} 6576 if s.InstanceUrl == nil { 6577 invalidParams.Add(request.NewErrParamRequired("InstanceUrl")) 6578 } 6579 6580 if invalidParams.Len() > 0 { 6581 return invalidParams 6582 } 6583 return nil 6584} 6585 6586// SetInstanceUrl sets the InstanceUrl field's value. 6587func (s *MarketoConnectorProfileProperties) SetInstanceUrl(v string) *MarketoConnectorProfileProperties { 6588 s.InstanceUrl = &v 6589 return s 6590} 6591 6592// The connector metadata specific to Marketo. 6593type MarketoMetadata struct { 6594 _ struct{} `type:"structure"` 6595} 6596 6597// String returns the string representation 6598func (s MarketoMetadata) String() string { 6599 return awsutil.Prettify(s) 6600} 6601 6602// GoString returns the string representation 6603func (s MarketoMetadata) GoString() string { 6604 return s.String() 6605} 6606 6607// The properties that are applied when Marketo is being used as a source. 6608type MarketoSourceProperties struct { 6609 _ struct{} `type:"structure"` 6610 6611 // The object specified in the Marketo flow source. 6612 // 6613 // Object is a required field 6614 Object *string `locationName:"object" type:"string" required:"true"` 6615} 6616 6617// String returns the string representation 6618func (s MarketoSourceProperties) String() string { 6619 return awsutil.Prettify(s) 6620} 6621 6622// GoString returns the string representation 6623func (s MarketoSourceProperties) GoString() string { 6624 return s.String() 6625} 6626 6627// Validate inspects the fields of the type to determine if they are valid. 6628func (s *MarketoSourceProperties) Validate() error { 6629 invalidParams := request.ErrInvalidParams{Context: "MarketoSourceProperties"} 6630 if s.Object == nil { 6631 invalidParams.Add(request.NewErrParamRequired("Object")) 6632 } 6633 6634 if invalidParams.Len() > 0 { 6635 return invalidParams 6636 } 6637 return nil 6638} 6639 6640// SetObject sets the Object field's value. 6641func (s *MarketoSourceProperties) SetObject(v string) *MarketoSourceProperties { 6642 s.Object = &v 6643 return s 6644} 6645 6646// The OAuth credentials required for OAuth type authentication. 6647type OAuthCredentials struct { 6648 _ struct{} `type:"structure"` 6649 6650 // The access token used to access protected SAPOData resources. 6651 AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"` 6652 6653 // The identifier for the desired client. 6654 // 6655 // ClientId is a required field 6656 ClientId *string `locationName:"clientId" type:"string" required:"true"` 6657 6658 // The client secret used by the OAuth client to authenticate to the authorization 6659 // server. 6660 // 6661 // ClientSecret is a required field 6662 ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"` 6663 6664 // The OAuth requirement needed to request security tokens from the connector 6665 // endpoint. 6666 OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"` 6667 6668 // The refresh token used to refresh expired access token. 6669 RefreshToken *string `locationName:"refreshToken" type:"string"` 6670} 6671 6672// String returns the string representation 6673func (s OAuthCredentials) String() string { 6674 return awsutil.Prettify(s) 6675} 6676 6677// GoString returns the string representation 6678func (s OAuthCredentials) GoString() string { 6679 return s.String() 6680} 6681 6682// Validate inspects the fields of the type to determine if they are valid. 6683func (s *OAuthCredentials) Validate() error { 6684 invalidParams := request.ErrInvalidParams{Context: "OAuthCredentials"} 6685 if s.ClientId == nil { 6686 invalidParams.Add(request.NewErrParamRequired("ClientId")) 6687 } 6688 if s.ClientSecret == nil { 6689 invalidParams.Add(request.NewErrParamRequired("ClientSecret")) 6690 } 6691 6692 if invalidParams.Len() > 0 { 6693 return invalidParams 6694 } 6695 return nil 6696} 6697 6698// SetAccessToken sets the AccessToken field's value. 6699func (s *OAuthCredentials) SetAccessToken(v string) *OAuthCredentials { 6700 s.AccessToken = &v 6701 return s 6702} 6703 6704// SetClientId sets the ClientId field's value. 6705func (s *OAuthCredentials) SetClientId(v string) *OAuthCredentials { 6706 s.ClientId = &v 6707 return s 6708} 6709 6710// SetClientSecret sets the ClientSecret field's value. 6711func (s *OAuthCredentials) SetClientSecret(v string) *OAuthCredentials { 6712 s.ClientSecret = &v 6713 return s 6714} 6715 6716// SetOAuthRequest sets the OAuthRequest field's value. 6717func (s *OAuthCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *OAuthCredentials { 6718 s.OAuthRequest = v 6719 return s 6720} 6721 6722// SetRefreshToken sets the RefreshToken field's value. 6723func (s *OAuthCredentials) SetRefreshToken(v string) *OAuthCredentials { 6724 s.RefreshToken = &v 6725 return s 6726} 6727 6728// The OAuth properties required for OAuth type authentication. 6729type OAuthProperties struct { 6730 _ struct{} `type:"structure"` 6731 6732 // The authorization code url required to redirect to SAP Login Page to fetch 6733 // authorization code for OAuth type authentication. 6734 // 6735 // AuthCodeUrl is a required field 6736 AuthCodeUrl *string `locationName:"authCodeUrl" type:"string" required:"true"` 6737 6738 // The OAuth scopes required for OAuth type authentication. 6739 // 6740 // OAuthScopes is a required field 6741 OAuthScopes []*string `locationName:"oAuthScopes" type:"list" required:"true"` 6742 6743 // The token url required to fetch access/refresh tokens using authorization 6744 // code and also to refresh expired access token using refresh token. 6745 // 6746 // TokenUrl is a required field 6747 TokenUrl *string `locationName:"tokenUrl" type:"string" required:"true"` 6748} 6749 6750// String returns the string representation 6751func (s OAuthProperties) String() string { 6752 return awsutil.Prettify(s) 6753} 6754 6755// GoString returns the string representation 6756func (s OAuthProperties) GoString() string { 6757 return s.String() 6758} 6759 6760// Validate inspects the fields of the type to determine if they are valid. 6761func (s *OAuthProperties) Validate() error { 6762 invalidParams := request.ErrInvalidParams{Context: "OAuthProperties"} 6763 if s.AuthCodeUrl == nil { 6764 invalidParams.Add(request.NewErrParamRequired("AuthCodeUrl")) 6765 } 6766 if s.OAuthScopes == nil { 6767 invalidParams.Add(request.NewErrParamRequired("OAuthScopes")) 6768 } 6769 if s.TokenUrl == nil { 6770 invalidParams.Add(request.NewErrParamRequired("TokenUrl")) 6771 } 6772 6773 if invalidParams.Len() > 0 { 6774 return invalidParams 6775 } 6776 return nil 6777} 6778 6779// SetAuthCodeUrl sets the AuthCodeUrl field's value. 6780func (s *OAuthProperties) SetAuthCodeUrl(v string) *OAuthProperties { 6781 s.AuthCodeUrl = &v 6782 return s 6783} 6784 6785// SetOAuthScopes sets the OAuthScopes field's value. 6786func (s *OAuthProperties) SetOAuthScopes(v []*string) *OAuthProperties { 6787 s.OAuthScopes = v 6788 return s 6789} 6790 6791// SetTokenUrl sets the TokenUrl field's value. 6792func (s *OAuthProperties) SetTokenUrl(v string) *OAuthProperties { 6793 s.TokenUrl = &v 6794 return s 6795} 6796 6797// Determines the prefix that Amazon AppFlow applies to the destination folder 6798// name. You can name your destination folders according to the flow frequency 6799// and date. 6800type PrefixConfig struct { 6801 _ struct{} `type:"structure"` 6802 6803 // Determines the level of granularity that's included in the prefix. 6804 PrefixFormat *string `locationName:"prefixFormat" type:"string" enum:"PrefixFormat"` 6805 6806 // Determines the format of the prefix, and whether it applies to the file name, 6807 // file path, or both. 6808 PrefixType *string `locationName:"prefixType" type:"string" enum:"PrefixType"` 6809} 6810 6811// String returns the string representation 6812func (s PrefixConfig) String() string { 6813 return awsutil.Prettify(s) 6814} 6815 6816// GoString returns the string representation 6817func (s PrefixConfig) GoString() string { 6818 return s.String() 6819} 6820 6821// SetPrefixFormat sets the PrefixFormat field's value. 6822func (s *PrefixConfig) SetPrefixFormat(v string) *PrefixConfig { 6823 s.PrefixFormat = &v 6824 return s 6825} 6826 6827// SetPrefixType sets the PrefixType field's value. 6828func (s *PrefixConfig) SetPrefixType(v string) *PrefixConfig { 6829 s.PrefixType = &v 6830 return s 6831} 6832 6833// Specifies the private connection provisioning state. 6834type PrivateConnectionProvisioningState struct { 6835 _ struct{} `type:"structure"` 6836 6837 // Specifies the private connection provisioning failure cause. 6838 FailureCause *string `locationName:"failureCause" type:"string" enum:"PrivateConnectionProvisioningFailureCause"` 6839 6840 // Specifies the private connection provisioning failure reason. 6841 FailureMessage *string `locationName:"failureMessage" type:"string"` 6842 6843 // Specifies the private connection provisioning status. 6844 Status *string `locationName:"status" type:"string" enum:"PrivateConnectionProvisioningStatus"` 6845} 6846 6847// String returns the string representation 6848func (s PrivateConnectionProvisioningState) String() string { 6849 return awsutil.Prettify(s) 6850} 6851 6852// GoString returns the string representation 6853func (s PrivateConnectionProvisioningState) GoString() string { 6854 return s.String() 6855} 6856 6857// SetFailureCause sets the FailureCause field's value. 6858func (s *PrivateConnectionProvisioningState) SetFailureCause(v string) *PrivateConnectionProvisioningState { 6859 s.FailureCause = &v 6860 return s 6861} 6862 6863// SetFailureMessage sets the FailureMessage field's value. 6864func (s *PrivateConnectionProvisioningState) SetFailureMessage(v string) *PrivateConnectionProvisioningState { 6865 s.FailureMessage = &v 6866 return s 6867} 6868 6869// SetStatus sets the Status field's value. 6870func (s *PrivateConnectionProvisioningState) SetStatus(v string) *PrivateConnectionProvisioningState { 6871 s.Status = &v 6872 return s 6873} 6874 6875// The connector-specific profile credentials required when using Amazon Redshift. 6876type RedshiftConnectorProfileCredentials struct { 6877 _ struct{} `type:"structure"` 6878 6879 // The password that corresponds to the user name. 6880 // 6881 // Password is a required field 6882 Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"` 6883 6884 // The name of the user. 6885 // 6886 // Username is a required field 6887 Username *string `locationName:"username" type:"string" required:"true"` 6888} 6889 6890// String returns the string representation 6891func (s RedshiftConnectorProfileCredentials) String() string { 6892 return awsutil.Prettify(s) 6893} 6894 6895// GoString returns the string representation 6896func (s RedshiftConnectorProfileCredentials) GoString() string { 6897 return s.String() 6898} 6899 6900// Validate inspects the fields of the type to determine if they are valid. 6901func (s *RedshiftConnectorProfileCredentials) Validate() error { 6902 invalidParams := request.ErrInvalidParams{Context: "RedshiftConnectorProfileCredentials"} 6903 if s.Password == nil { 6904 invalidParams.Add(request.NewErrParamRequired("Password")) 6905 } 6906 if s.Username == nil { 6907 invalidParams.Add(request.NewErrParamRequired("Username")) 6908 } 6909 6910 if invalidParams.Len() > 0 { 6911 return invalidParams 6912 } 6913 return nil 6914} 6915 6916// SetPassword sets the Password field's value. 6917func (s *RedshiftConnectorProfileCredentials) SetPassword(v string) *RedshiftConnectorProfileCredentials { 6918 s.Password = &v 6919 return s 6920} 6921 6922// SetUsername sets the Username field's value. 6923func (s *RedshiftConnectorProfileCredentials) SetUsername(v string) *RedshiftConnectorProfileCredentials { 6924 s.Username = &v 6925 return s 6926} 6927 6928// The connector-specific profile properties when using Amazon Redshift. 6929type RedshiftConnectorProfileProperties struct { 6930 _ struct{} `type:"structure"` 6931 6932 // A name for the associated Amazon S3 bucket. 6933 // 6934 // BucketName is a required field 6935 BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"` 6936 6937 // The object key for the destination bucket in which Amazon AppFlow places 6938 // the files. 6939 BucketPrefix *string `locationName:"bucketPrefix" type:"string"` 6940 6941 // The JDBC URL of the Amazon Redshift cluster. 6942 // 6943 // DatabaseUrl is a required field 6944 DatabaseUrl *string `locationName:"databaseUrl" type:"string" required:"true"` 6945 6946 // The Amazon Resource Name (ARN) of the IAM role. 6947 // 6948 // RoleArn is a required field 6949 RoleArn *string `locationName:"roleArn" type:"string" required:"true"` 6950} 6951 6952// String returns the string representation 6953func (s RedshiftConnectorProfileProperties) String() string { 6954 return awsutil.Prettify(s) 6955} 6956 6957// GoString returns the string representation 6958func (s RedshiftConnectorProfileProperties) GoString() string { 6959 return s.String() 6960} 6961 6962// Validate inspects the fields of the type to determine if they are valid. 6963func (s *RedshiftConnectorProfileProperties) Validate() error { 6964 invalidParams := request.ErrInvalidParams{Context: "RedshiftConnectorProfileProperties"} 6965 if s.BucketName == nil { 6966 invalidParams.Add(request.NewErrParamRequired("BucketName")) 6967 } 6968 if s.BucketName != nil && len(*s.BucketName) < 3 { 6969 invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) 6970 } 6971 if s.DatabaseUrl == nil { 6972 invalidParams.Add(request.NewErrParamRequired("DatabaseUrl")) 6973 } 6974 if s.RoleArn == nil { 6975 invalidParams.Add(request.NewErrParamRequired("RoleArn")) 6976 } 6977 6978 if invalidParams.Len() > 0 { 6979 return invalidParams 6980 } 6981 return nil 6982} 6983 6984// SetBucketName sets the BucketName field's value. 6985func (s *RedshiftConnectorProfileProperties) SetBucketName(v string) *RedshiftConnectorProfileProperties { 6986 s.BucketName = &v 6987 return s 6988} 6989 6990// SetBucketPrefix sets the BucketPrefix field's value. 6991func (s *RedshiftConnectorProfileProperties) SetBucketPrefix(v string) *RedshiftConnectorProfileProperties { 6992 s.BucketPrefix = &v 6993 return s 6994} 6995 6996// SetDatabaseUrl sets the DatabaseUrl field's value. 6997func (s *RedshiftConnectorProfileProperties) SetDatabaseUrl(v string) *RedshiftConnectorProfileProperties { 6998 s.DatabaseUrl = &v 6999 return s 7000} 7001 7002// SetRoleArn sets the RoleArn field's value. 7003func (s *RedshiftConnectorProfileProperties) SetRoleArn(v string) *RedshiftConnectorProfileProperties { 7004 s.RoleArn = &v 7005 return s 7006} 7007 7008// The properties that are applied when Amazon Redshift is being used as a destination. 7009type RedshiftDestinationProperties struct { 7010 _ struct{} `type:"structure"` 7011 7012 // The object key for the bucket in which Amazon AppFlow places the destination 7013 // files. 7014 BucketPrefix *string `locationName:"bucketPrefix" type:"string"` 7015 7016 // The settings that determine how Amazon AppFlow handles an error when placing 7017 // data in the Amazon Redshift destination. For example, this setting would 7018 // determine if the flow should fail after one insertion error, or continue 7019 // and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig 7020 // is a part of the destination connector details. 7021 ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"` 7022 7023 // The intermediate bucket that Amazon AppFlow uses when moving data into Amazon 7024 // Redshift. 7025 // 7026 // IntermediateBucketName is a required field 7027 IntermediateBucketName *string `locationName:"intermediateBucketName" min:"3" type:"string" required:"true"` 7028 7029 // The object specified in the Amazon Redshift flow destination. 7030 // 7031 // Object is a required field 7032 Object *string `locationName:"object" type:"string" required:"true"` 7033} 7034 7035// String returns the string representation 7036func (s RedshiftDestinationProperties) String() string { 7037 return awsutil.Prettify(s) 7038} 7039 7040// GoString returns the string representation 7041func (s RedshiftDestinationProperties) GoString() string { 7042 return s.String() 7043} 7044 7045// Validate inspects the fields of the type to determine if they are valid. 7046func (s *RedshiftDestinationProperties) Validate() error { 7047 invalidParams := request.ErrInvalidParams{Context: "RedshiftDestinationProperties"} 7048 if s.IntermediateBucketName == nil { 7049 invalidParams.Add(request.NewErrParamRequired("IntermediateBucketName")) 7050 } 7051 if s.IntermediateBucketName != nil && len(*s.IntermediateBucketName) < 3 { 7052 invalidParams.Add(request.NewErrParamMinLen("IntermediateBucketName", 3)) 7053 } 7054 if s.Object == nil { 7055 invalidParams.Add(request.NewErrParamRequired("Object")) 7056 } 7057 if s.ErrorHandlingConfig != nil { 7058 if err := s.ErrorHandlingConfig.Validate(); err != nil { 7059 invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams)) 7060 } 7061 } 7062 7063 if invalidParams.Len() > 0 { 7064 return invalidParams 7065 } 7066 return nil 7067} 7068 7069// SetBucketPrefix sets the BucketPrefix field's value. 7070func (s *RedshiftDestinationProperties) SetBucketPrefix(v string) *RedshiftDestinationProperties { 7071 s.BucketPrefix = &v 7072 return s 7073} 7074 7075// SetErrorHandlingConfig sets the ErrorHandlingConfig field's value. 7076func (s *RedshiftDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *RedshiftDestinationProperties { 7077 s.ErrorHandlingConfig = v 7078 return s 7079} 7080 7081// SetIntermediateBucketName sets the IntermediateBucketName field's value. 7082func (s *RedshiftDestinationProperties) SetIntermediateBucketName(v string) *RedshiftDestinationProperties { 7083 s.IntermediateBucketName = &v 7084 return s 7085} 7086 7087// SetObject sets the Object field's value. 7088func (s *RedshiftDestinationProperties) SetObject(v string) *RedshiftDestinationProperties { 7089 s.Object = &v 7090 return s 7091} 7092 7093// The connector metadata specific to Amazon Redshift. 7094type RedshiftMetadata struct { 7095 _ struct{} `type:"structure"` 7096} 7097 7098// String returns the string representation 7099func (s RedshiftMetadata) String() string { 7100 return awsutil.Prettify(s) 7101} 7102 7103// GoString returns the string representation 7104func (s RedshiftMetadata) GoString() string { 7105 return s.String() 7106} 7107 7108// The resource specified in the request (such as the source or destination 7109// connector profile) is not found. 7110type ResourceNotFoundException struct { 7111 _ struct{} `type:"structure"` 7112 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 7113 7114 Message_ *string `locationName:"message" type:"string"` 7115} 7116 7117// String returns the string representation 7118func (s ResourceNotFoundException) String() string { 7119 return awsutil.Prettify(s) 7120} 7121 7122// GoString returns the string representation 7123func (s ResourceNotFoundException) GoString() string { 7124 return s.String() 7125} 7126 7127func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { 7128 return &ResourceNotFoundException{ 7129 RespMetadata: v, 7130 } 7131} 7132 7133// Code returns the exception type name. 7134func (s *ResourceNotFoundException) Code() string { 7135 return "ResourceNotFoundException" 7136} 7137 7138// Message returns the exception's message. 7139func (s *ResourceNotFoundException) Message() string { 7140 if s.Message_ != nil { 7141 return *s.Message_ 7142 } 7143 return "" 7144} 7145 7146// OrigErr always returns nil, satisfies awserr.Error interface. 7147func (s *ResourceNotFoundException) OrigErr() error { 7148 return nil 7149} 7150 7151func (s *ResourceNotFoundException) Error() string { 7152 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 7153} 7154 7155// Status code returns the HTTP status code for the request's response error. 7156func (s *ResourceNotFoundException) StatusCode() int { 7157 return s.RespMetadata.StatusCode 7158} 7159 7160// RequestID returns the service's response RequestID for request. 7161func (s *ResourceNotFoundException) RequestID() string { 7162 return s.RespMetadata.RequestID 7163} 7164 7165// The properties that are applied when Amazon S3 is used as a destination. 7166type S3DestinationProperties struct { 7167 _ struct{} `type:"structure"` 7168 7169 // The Amazon S3 bucket name in which Amazon AppFlow places the transferred 7170 // data. 7171 // 7172 // BucketName is a required field 7173 BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"` 7174 7175 // The object key for the destination bucket in which Amazon AppFlow places 7176 // the files. 7177 BucketPrefix *string `locationName:"bucketPrefix" type:"string"` 7178 7179 // The configuration that determines how Amazon AppFlow should format the flow 7180 // output data when Amazon S3 is used as the destination. 7181 S3OutputFormatConfig *S3OutputFormatConfig `locationName:"s3OutputFormatConfig" type:"structure"` 7182} 7183 7184// String returns the string representation 7185func (s S3DestinationProperties) String() string { 7186 return awsutil.Prettify(s) 7187} 7188 7189// GoString returns the string representation 7190func (s S3DestinationProperties) GoString() string { 7191 return s.String() 7192} 7193 7194// Validate inspects the fields of the type to determine if they are valid. 7195func (s *S3DestinationProperties) Validate() error { 7196 invalidParams := request.ErrInvalidParams{Context: "S3DestinationProperties"} 7197 if s.BucketName == nil { 7198 invalidParams.Add(request.NewErrParamRequired("BucketName")) 7199 } 7200 if s.BucketName != nil && len(*s.BucketName) < 3 { 7201 invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) 7202 } 7203 7204 if invalidParams.Len() > 0 { 7205 return invalidParams 7206 } 7207 return nil 7208} 7209 7210// SetBucketName sets the BucketName field's value. 7211func (s *S3DestinationProperties) SetBucketName(v string) *S3DestinationProperties { 7212 s.BucketName = &v 7213 return s 7214} 7215 7216// SetBucketPrefix sets the BucketPrefix field's value. 7217func (s *S3DestinationProperties) SetBucketPrefix(v string) *S3DestinationProperties { 7218 s.BucketPrefix = &v 7219 return s 7220} 7221 7222// SetS3OutputFormatConfig sets the S3OutputFormatConfig field's value. 7223func (s *S3DestinationProperties) SetS3OutputFormatConfig(v *S3OutputFormatConfig) *S3DestinationProperties { 7224 s.S3OutputFormatConfig = v 7225 return s 7226} 7227 7228// The connector metadata specific to Amazon S3. 7229type S3Metadata struct { 7230 _ struct{} `type:"structure"` 7231} 7232 7233// String returns the string representation 7234func (s S3Metadata) String() string { 7235 return awsutil.Prettify(s) 7236} 7237 7238// GoString returns the string representation 7239func (s S3Metadata) GoString() string { 7240 return s.String() 7241} 7242 7243// The configuration that determines how Amazon AppFlow should format the flow 7244// output data when Amazon S3 is used as the destination. 7245type S3OutputFormatConfig struct { 7246 _ struct{} `type:"structure"` 7247 7248 // The aggregation settings that you can use to customize the output format 7249 // of your flow data. 7250 AggregationConfig *AggregationConfig `locationName:"aggregationConfig" type:"structure"` 7251 7252 // Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket. 7253 FileType *string `locationName:"fileType" type:"string" enum:"FileType"` 7254 7255 // Determines the prefix that Amazon AppFlow applies to the folder name in the 7256 // Amazon S3 bucket. You can name folders according to the flow frequency and 7257 // date. 7258 PrefixConfig *PrefixConfig `locationName:"prefixConfig" type:"structure"` 7259} 7260 7261// String returns the string representation 7262func (s S3OutputFormatConfig) String() string { 7263 return awsutil.Prettify(s) 7264} 7265 7266// GoString returns the string representation 7267func (s S3OutputFormatConfig) GoString() string { 7268 return s.String() 7269} 7270 7271// SetAggregationConfig sets the AggregationConfig field's value. 7272func (s *S3OutputFormatConfig) SetAggregationConfig(v *AggregationConfig) *S3OutputFormatConfig { 7273 s.AggregationConfig = v 7274 return s 7275} 7276 7277// SetFileType sets the FileType field's value. 7278func (s *S3OutputFormatConfig) SetFileType(v string) *S3OutputFormatConfig { 7279 s.FileType = &v 7280 return s 7281} 7282 7283// SetPrefixConfig sets the PrefixConfig field's value. 7284func (s *S3OutputFormatConfig) SetPrefixConfig(v *PrefixConfig) *S3OutputFormatConfig { 7285 s.PrefixConfig = v 7286 return s 7287} 7288 7289// The properties that are applied when Amazon S3 is being used as the flow 7290// source. 7291type S3SourceProperties struct { 7292 _ struct{} `type:"structure"` 7293 7294 // The Amazon S3 bucket name where the source files are stored. 7295 // 7296 // BucketName is a required field 7297 BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"` 7298 7299 // The object key for the Amazon S3 bucket in which the source files are stored. 7300 BucketPrefix *string `locationName:"bucketPrefix" type:"string"` 7301} 7302 7303// String returns the string representation 7304func (s S3SourceProperties) String() string { 7305 return awsutil.Prettify(s) 7306} 7307 7308// GoString returns the string representation 7309func (s S3SourceProperties) GoString() string { 7310 return s.String() 7311} 7312 7313// Validate inspects the fields of the type to determine if they are valid. 7314func (s *S3SourceProperties) Validate() error { 7315 invalidParams := request.ErrInvalidParams{Context: "S3SourceProperties"} 7316 if s.BucketName == nil { 7317 invalidParams.Add(request.NewErrParamRequired("BucketName")) 7318 } 7319 if s.BucketName != nil && len(*s.BucketName) < 3 { 7320 invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) 7321 } 7322 7323 if invalidParams.Len() > 0 { 7324 return invalidParams 7325 } 7326 return nil 7327} 7328 7329// SetBucketName sets the BucketName field's value. 7330func (s *S3SourceProperties) SetBucketName(v string) *S3SourceProperties { 7331 s.BucketName = &v 7332 return s 7333} 7334 7335// SetBucketPrefix sets the BucketPrefix field's value. 7336func (s *S3SourceProperties) SetBucketPrefix(v string) *S3SourceProperties { 7337 s.BucketPrefix = &v 7338 return s 7339} 7340 7341// The connector-specific profile credentials required when using SAPOData. 7342type SAPODataConnectorProfileCredentials struct { 7343 _ struct{} `type:"structure"` 7344 7345 // The SAPOData basic authentication credentials. 7346 BasicAuthCredentials *BasicAuthCredentials `locationName:"basicAuthCredentials" type:"structure"` 7347 7348 // The SAPOData OAuth type authentication credentials. 7349 OAuthCredentials *OAuthCredentials `locationName:"oAuthCredentials" type:"structure"` 7350} 7351 7352// String returns the string representation 7353func (s SAPODataConnectorProfileCredentials) String() string { 7354 return awsutil.Prettify(s) 7355} 7356 7357// GoString returns the string representation 7358func (s SAPODataConnectorProfileCredentials) GoString() string { 7359 return s.String() 7360} 7361 7362// Validate inspects the fields of the type to determine if they are valid. 7363func (s *SAPODataConnectorProfileCredentials) Validate() error { 7364 invalidParams := request.ErrInvalidParams{Context: "SAPODataConnectorProfileCredentials"} 7365 if s.BasicAuthCredentials != nil { 7366 if err := s.BasicAuthCredentials.Validate(); err != nil { 7367 invalidParams.AddNested("BasicAuthCredentials", err.(request.ErrInvalidParams)) 7368 } 7369 } 7370 if s.OAuthCredentials != nil { 7371 if err := s.OAuthCredentials.Validate(); err != nil { 7372 invalidParams.AddNested("OAuthCredentials", err.(request.ErrInvalidParams)) 7373 } 7374 } 7375 7376 if invalidParams.Len() > 0 { 7377 return invalidParams 7378 } 7379 return nil 7380} 7381 7382// SetBasicAuthCredentials sets the BasicAuthCredentials field's value. 7383func (s *SAPODataConnectorProfileCredentials) SetBasicAuthCredentials(v *BasicAuthCredentials) *SAPODataConnectorProfileCredentials { 7384 s.BasicAuthCredentials = v 7385 return s 7386} 7387 7388// SetOAuthCredentials sets the OAuthCredentials field's value. 7389func (s *SAPODataConnectorProfileCredentials) SetOAuthCredentials(v *OAuthCredentials) *SAPODataConnectorProfileCredentials { 7390 s.OAuthCredentials = v 7391 return s 7392} 7393 7394// The connector-specific profile properties required when using SAPOData. 7395type SAPODataConnectorProfileProperties struct { 7396 _ struct{} `type:"structure"` 7397 7398 // The location of the SAPOData resource. 7399 // 7400 // ApplicationHostUrl is a required field 7401 ApplicationHostUrl *string `locationName:"applicationHostUrl" type:"string" required:"true"` 7402 7403 // The application path to catalog service. 7404 // 7405 // ApplicationServicePath is a required field 7406 ApplicationServicePath *string `locationName:"applicationServicePath" type:"string" required:"true"` 7407 7408 // The client number for the client creating the connection. 7409 // 7410 // ClientNumber is a required field 7411 ClientNumber *string `locationName:"clientNumber" min:"3" type:"string" required:"true"` 7412 7413 // The logon language of SAPOData instance. 7414 LogonLanguage *string `locationName:"logonLanguage" type:"string"` 7415 7416 // The SAPOData OAuth properties required for OAuth type authentication. 7417 OAuthProperties *OAuthProperties `locationName:"oAuthProperties" type:"structure"` 7418 7419 // The port number of the SAPOData instance. 7420 // 7421 // PortNumber is a required field 7422 PortNumber *int64 `locationName:"portNumber" min:"1" type:"integer" required:"true"` 7423 7424 // The SAPOData Private Link service name to be used for private data transfers. 7425 PrivateLinkServiceName *string `locationName:"privateLinkServiceName" type:"string"` 7426} 7427 7428// String returns the string representation 7429func (s SAPODataConnectorProfileProperties) String() string { 7430 return awsutil.Prettify(s) 7431} 7432 7433// GoString returns the string representation 7434func (s SAPODataConnectorProfileProperties) GoString() string { 7435 return s.String() 7436} 7437 7438// Validate inspects the fields of the type to determine if they are valid. 7439func (s *SAPODataConnectorProfileProperties) Validate() error { 7440 invalidParams := request.ErrInvalidParams{Context: "SAPODataConnectorProfileProperties"} 7441 if s.ApplicationHostUrl == nil { 7442 invalidParams.Add(request.NewErrParamRequired("ApplicationHostUrl")) 7443 } 7444 if s.ApplicationServicePath == nil { 7445 invalidParams.Add(request.NewErrParamRequired("ApplicationServicePath")) 7446 } 7447 if s.ClientNumber == nil { 7448 invalidParams.Add(request.NewErrParamRequired("ClientNumber")) 7449 } 7450 if s.ClientNumber != nil && len(*s.ClientNumber) < 3 { 7451 invalidParams.Add(request.NewErrParamMinLen("ClientNumber", 3)) 7452 } 7453 if s.PortNumber == nil { 7454 invalidParams.Add(request.NewErrParamRequired("PortNumber")) 7455 } 7456 if s.PortNumber != nil && *s.PortNumber < 1 { 7457 invalidParams.Add(request.NewErrParamMinValue("PortNumber", 1)) 7458 } 7459 if s.OAuthProperties != nil { 7460 if err := s.OAuthProperties.Validate(); err != nil { 7461 invalidParams.AddNested("OAuthProperties", err.(request.ErrInvalidParams)) 7462 } 7463 } 7464 7465 if invalidParams.Len() > 0 { 7466 return invalidParams 7467 } 7468 return nil 7469} 7470 7471// SetApplicationHostUrl sets the ApplicationHostUrl field's value. 7472func (s *SAPODataConnectorProfileProperties) SetApplicationHostUrl(v string) *SAPODataConnectorProfileProperties { 7473 s.ApplicationHostUrl = &v 7474 return s 7475} 7476 7477// SetApplicationServicePath sets the ApplicationServicePath field's value. 7478func (s *SAPODataConnectorProfileProperties) SetApplicationServicePath(v string) *SAPODataConnectorProfileProperties { 7479 s.ApplicationServicePath = &v 7480 return s 7481} 7482 7483// SetClientNumber sets the ClientNumber field's value. 7484func (s *SAPODataConnectorProfileProperties) SetClientNumber(v string) *SAPODataConnectorProfileProperties { 7485 s.ClientNumber = &v 7486 return s 7487} 7488 7489// SetLogonLanguage sets the LogonLanguage field's value. 7490func (s *SAPODataConnectorProfileProperties) SetLogonLanguage(v string) *SAPODataConnectorProfileProperties { 7491 s.LogonLanguage = &v 7492 return s 7493} 7494 7495// SetOAuthProperties sets the OAuthProperties field's value. 7496func (s *SAPODataConnectorProfileProperties) SetOAuthProperties(v *OAuthProperties) *SAPODataConnectorProfileProperties { 7497 s.OAuthProperties = v 7498 return s 7499} 7500 7501// SetPortNumber sets the PortNumber field's value. 7502func (s *SAPODataConnectorProfileProperties) SetPortNumber(v int64) *SAPODataConnectorProfileProperties { 7503 s.PortNumber = &v 7504 return s 7505} 7506 7507// SetPrivateLinkServiceName sets the PrivateLinkServiceName field's value. 7508func (s *SAPODataConnectorProfileProperties) SetPrivateLinkServiceName(v string) *SAPODataConnectorProfileProperties { 7509 s.PrivateLinkServiceName = &v 7510 return s 7511} 7512 7513// The connector metadata specific to SAPOData. 7514type SAPODataMetadata struct { 7515 _ struct{} `type:"structure"` 7516} 7517 7518// String returns the string representation 7519func (s SAPODataMetadata) String() string { 7520 return awsutil.Prettify(s) 7521} 7522 7523// GoString returns the string representation 7524func (s SAPODataMetadata) GoString() string { 7525 return s.String() 7526} 7527 7528// The properties that are applied when using SAPOData as a flow source. 7529type SAPODataSourceProperties struct { 7530 _ struct{} `type:"structure"` 7531 7532 // The object path specified in the SAPOData flow source. 7533 ObjectPath *string `locationName:"objectPath" type:"string"` 7534} 7535 7536// String returns the string representation 7537func (s SAPODataSourceProperties) String() string { 7538 return awsutil.Prettify(s) 7539} 7540 7541// GoString returns the string representation 7542func (s SAPODataSourceProperties) GoString() string { 7543 return s.String() 7544} 7545 7546// SetObjectPath sets the ObjectPath field's value. 7547func (s *SAPODataSourceProperties) SetObjectPath(v string) *SAPODataSourceProperties { 7548 s.ObjectPath = &v 7549 return s 7550} 7551 7552// The connector-specific profile credentials required when using Salesforce. 7553type SalesforceConnectorProfileCredentials struct { 7554 _ struct{} `type:"structure"` 7555 7556 // The credentials used to access protected Salesforce resources. 7557 AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"` 7558 7559 // The secret manager ARN, which contains the client ID and client secret of 7560 // the connected app. 7561 ClientCredentialsArn *string `locationName:"clientCredentialsArn" min:"20" type:"string" sensitive:"true"` 7562 7563 // The OAuth requirement needed to request security tokens from the connector 7564 // endpoint. 7565 OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"` 7566 7567 // The credentials used to acquire new access tokens. 7568 RefreshToken *string `locationName:"refreshToken" type:"string"` 7569} 7570 7571// String returns the string representation 7572func (s SalesforceConnectorProfileCredentials) String() string { 7573 return awsutil.Prettify(s) 7574} 7575 7576// GoString returns the string representation 7577func (s SalesforceConnectorProfileCredentials) GoString() string { 7578 return s.String() 7579} 7580 7581// Validate inspects the fields of the type to determine if they are valid. 7582func (s *SalesforceConnectorProfileCredentials) Validate() error { 7583 invalidParams := request.ErrInvalidParams{Context: "SalesforceConnectorProfileCredentials"} 7584 if s.ClientCredentialsArn != nil && len(*s.ClientCredentialsArn) < 20 { 7585 invalidParams.Add(request.NewErrParamMinLen("ClientCredentialsArn", 20)) 7586 } 7587 7588 if invalidParams.Len() > 0 { 7589 return invalidParams 7590 } 7591 return nil 7592} 7593 7594// SetAccessToken sets the AccessToken field's value. 7595func (s *SalesforceConnectorProfileCredentials) SetAccessToken(v string) *SalesforceConnectorProfileCredentials { 7596 s.AccessToken = &v 7597 return s 7598} 7599 7600// SetClientCredentialsArn sets the ClientCredentialsArn field's value. 7601func (s *SalesforceConnectorProfileCredentials) SetClientCredentialsArn(v string) *SalesforceConnectorProfileCredentials { 7602 s.ClientCredentialsArn = &v 7603 return s 7604} 7605 7606// SetOAuthRequest sets the OAuthRequest field's value. 7607func (s *SalesforceConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *SalesforceConnectorProfileCredentials { 7608 s.OAuthRequest = v 7609 return s 7610} 7611 7612// SetRefreshToken sets the RefreshToken field's value. 7613func (s *SalesforceConnectorProfileCredentials) SetRefreshToken(v string) *SalesforceConnectorProfileCredentials { 7614 s.RefreshToken = &v 7615 return s 7616} 7617 7618// The connector-specific profile properties required when using Salesforce. 7619type SalesforceConnectorProfileProperties struct { 7620 _ struct{} `type:"structure"` 7621 7622 // The location of the Salesforce resource. 7623 InstanceUrl *string `locationName:"instanceUrl" type:"string"` 7624 7625 // Indicates whether the connector profile applies to a sandbox or production 7626 // environment. 7627 IsSandboxEnvironment *bool `locationName:"isSandboxEnvironment" type:"boolean"` 7628} 7629 7630// String returns the string representation 7631func (s SalesforceConnectorProfileProperties) String() string { 7632 return awsutil.Prettify(s) 7633} 7634 7635// GoString returns the string representation 7636func (s SalesforceConnectorProfileProperties) GoString() string { 7637 return s.String() 7638} 7639 7640// SetInstanceUrl sets the InstanceUrl field's value. 7641func (s *SalesforceConnectorProfileProperties) SetInstanceUrl(v string) *SalesforceConnectorProfileProperties { 7642 s.InstanceUrl = &v 7643 return s 7644} 7645 7646// SetIsSandboxEnvironment sets the IsSandboxEnvironment field's value. 7647func (s *SalesforceConnectorProfileProperties) SetIsSandboxEnvironment(v bool) *SalesforceConnectorProfileProperties { 7648 s.IsSandboxEnvironment = &v 7649 return s 7650} 7651 7652// The properties that are applied when Salesforce is being used as a destination. 7653type SalesforceDestinationProperties struct { 7654 _ struct{} `type:"structure"` 7655 7656 // The settings that determine how Amazon AppFlow handles an error when placing 7657 // data in the Salesforce destination. For example, this setting would determine 7658 // if the flow should fail after one insertion error, or continue and attempt 7659 // to insert every record regardless of the initial failure. ErrorHandlingConfig 7660 // is a part of the destination connector details. 7661 ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"` 7662 7663 // The name of the field that Amazon AppFlow uses as an ID when performing a 7664 // write operation such as update or delete. 7665 IdFieldNames []*string `locationName:"idFieldNames" type:"list"` 7666 7667 // The object specified in the Salesforce flow destination. 7668 // 7669 // Object is a required field 7670 Object *string `locationName:"object" type:"string" required:"true"` 7671 7672 // This specifies the type of write operation to be performed in Salesforce. 7673 // When the value is UPSERT, then idFieldNames is required. 7674 WriteOperationType *string `locationName:"writeOperationType" type:"string" enum:"WriteOperationType"` 7675} 7676 7677// String returns the string representation 7678func (s SalesforceDestinationProperties) String() string { 7679 return awsutil.Prettify(s) 7680} 7681 7682// GoString returns the string representation 7683func (s SalesforceDestinationProperties) GoString() string { 7684 return s.String() 7685} 7686 7687// Validate inspects the fields of the type to determine if they are valid. 7688func (s *SalesforceDestinationProperties) Validate() error { 7689 invalidParams := request.ErrInvalidParams{Context: "SalesforceDestinationProperties"} 7690 if s.Object == nil { 7691 invalidParams.Add(request.NewErrParamRequired("Object")) 7692 } 7693 if s.ErrorHandlingConfig != nil { 7694 if err := s.ErrorHandlingConfig.Validate(); err != nil { 7695 invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams)) 7696 } 7697 } 7698 7699 if invalidParams.Len() > 0 { 7700 return invalidParams 7701 } 7702 return nil 7703} 7704 7705// SetErrorHandlingConfig sets the ErrorHandlingConfig field's value. 7706func (s *SalesforceDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *SalesforceDestinationProperties { 7707 s.ErrorHandlingConfig = v 7708 return s 7709} 7710 7711// SetIdFieldNames sets the IdFieldNames field's value. 7712func (s *SalesforceDestinationProperties) SetIdFieldNames(v []*string) *SalesforceDestinationProperties { 7713 s.IdFieldNames = v 7714 return s 7715} 7716 7717// SetObject sets the Object field's value. 7718func (s *SalesforceDestinationProperties) SetObject(v string) *SalesforceDestinationProperties { 7719 s.Object = &v 7720 return s 7721} 7722 7723// SetWriteOperationType sets the WriteOperationType field's value. 7724func (s *SalesforceDestinationProperties) SetWriteOperationType(v string) *SalesforceDestinationProperties { 7725 s.WriteOperationType = &v 7726 return s 7727} 7728 7729// The connector metadata specific to Salesforce. 7730type SalesforceMetadata struct { 7731 _ struct{} `type:"structure"` 7732 7733 // The desired authorization scope for the Salesforce account. 7734 OAuthScopes []*string `locationName:"oAuthScopes" type:"list"` 7735} 7736 7737// String returns the string representation 7738func (s SalesforceMetadata) String() string { 7739 return awsutil.Prettify(s) 7740} 7741 7742// GoString returns the string representation 7743func (s SalesforceMetadata) GoString() string { 7744 return s.String() 7745} 7746 7747// SetOAuthScopes sets the OAuthScopes field's value. 7748func (s *SalesforceMetadata) SetOAuthScopes(v []*string) *SalesforceMetadata { 7749 s.OAuthScopes = v 7750 return s 7751} 7752 7753// The properties that are applied when Salesforce is being used as a source. 7754type SalesforceSourceProperties struct { 7755 _ struct{} `type:"structure"` 7756 7757 // The flag that enables dynamic fetching of new (recently added) fields in 7758 // the Salesforce objects while running a flow. 7759 EnableDynamicFieldUpdate *bool `locationName:"enableDynamicFieldUpdate" type:"boolean"` 7760 7761 // Indicates whether Amazon AppFlow includes deleted files in the flow run. 7762 IncludeDeletedRecords *bool `locationName:"includeDeletedRecords" type:"boolean"` 7763 7764 // The object specified in the Salesforce flow source. 7765 // 7766 // Object is a required field 7767 Object *string `locationName:"object" type:"string" required:"true"` 7768} 7769 7770// String returns the string representation 7771func (s SalesforceSourceProperties) String() string { 7772 return awsutil.Prettify(s) 7773} 7774 7775// GoString returns the string representation 7776func (s SalesforceSourceProperties) GoString() string { 7777 return s.String() 7778} 7779 7780// Validate inspects the fields of the type to determine if they are valid. 7781func (s *SalesforceSourceProperties) Validate() error { 7782 invalidParams := request.ErrInvalidParams{Context: "SalesforceSourceProperties"} 7783 if s.Object == nil { 7784 invalidParams.Add(request.NewErrParamRequired("Object")) 7785 } 7786 7787 if invalidParams.Len() > 0 { 7788 return invalidParams 7789 } 7790 return nil 7791} 7792 7793// SetEnableDynamicFieldUpdate sets the EnableDynamicFieldUpdate field's value. 7794func (s *SalesforceSourceProperties) SetEnableDynamicFieldUpdate(v bool) *SalesforceSourceProperties { 7795 s.EnableDynamicFieldUpdate = &v 7796 return s 7797} 7798 7799// SetIncludeDeletedRecords sets the IncludeDeletedRecords field's value. 7800func (s *SalesforceSourceProperties) SetIncludeDeletedRecords(v bool) *SalesforceSourceProperties { 7801 s.IncludeDeletedRecords = &v 7802 return s 7803} 7804 7805// SetObject sets the Object field's value. 7806func (s *SalesforceSourceProperties) SetObject(v string) *SalesforceSourceProperties { 7807 s.Object = &v 7808 return s 7809} 7810 7811// Specifies the configuration details of a schedule-triggered flow as defined 7812// by the user. Currently, these settings only apply to the Scheduled trigger 7813// type. 7814type ScheduledTriggerProperties struct { 7815 _ struct{} `type:"structure"` 7816 7817 // Specifies whether a scheduled flow has an incremental data transfer or a 7818 // complete data transfer for each flow run. 7819 DataPullMode *string `locationName:"dataPullMode" type:"string" enum:"DataPullMode"` 7820 7821 // Specifies the date range for the records to import from the connector in 7822 // the first flow run. 7823 FirstExecutionFrom *time.Time `locationName:"firstExecutionFrom" type:"timestamp"` 7824 7825 // Specifies the scheduled end time for a schedule-triggered flow. 7826 ScheduleEndTime *time.Time `locationName:"scheduleEndTime" type:"timestamp"` 7827 7828 // The scheduling expression that determines the rate at which the schedule 7829 // will run, for example rate(5minutes). 7830 // 7831 // ScheduleExpression is a required field 7832 ScheduleExpression *string `locationName:"scheduleExpression" type:"string" required:"true"` 7833 7834 // Specifies the optional offset that is added to the time interval for a schedule-triggered 7835 // flow. 7836 ScheduleOffset *int64 `locationName:"scheduleOffset" type:"long"` 7837 7838 // Specifies the scheduled start time for a schedule-triggered flow. 7839 ScheduleStartTime *time.Time `locationName:"scheduleStartTime" type:"timestamp"` 7840 7841 // Specifies the time zone used when referring to the date and time of a scheduled-triggered 7842 // flow, such as America/New_York. 7843 Timezone *string `locationName:"timezone" type:"string"` 7844} 7845 7846// String returns the string representation 7847func (s ScheduledTriggerProperties) String() string { 7848 return awsutil.Prettify(s) 7849} 7850 7851// GoString returns the string representation 7852func (s ScheduledTriggerProperties) GoString() string { 7853 return s.String() 7854} 7855 7856// Validate inspects the fields of the type to determine if they are valid. 7857func (s *ScheduledTriggerProperties) Validate() error { 7858 invalidParams := request.ErrInvalidParams{Context: "ScheduledTriggerProperties"} 7859 if s.ScheduleExpression == nil { 7860 invalidParams.Add(request.NewErrParamRequired("ScheduleExpression")) 7861 } 7862 7863 if invalidParams.Len() > 0 { 7864 return invalidParams 7865 } 7866 return nil 7867} 7868 7869// SetDataPullMode sets the DataPullMode field's value. 7870func (s *ScheduledTriggerProperties) SetDataPullMode(v string) *ScheduledTriggerProperties { 7871 s.DataPullMode = &v 7872 return s 7873} 7874 7875// SetFirstExecutionFrom sets the FirstExecutionFrom field's value. 7876func (s *ScheduledTriggerProperties) SetFirstExecutionFrom(v time.Time) *ScheduledTriggerProperties { 7877 s.FirstExecutionFrom = &v 7878 return s 7879} 7880 7881// SetScheduleEndTime sets the ScheduleEndTime field's value. 7882func (s *ScheduledTriggerProperties) SetScheduleEndTime(v time.Time) *ScheduledTriggerProperties { 7883 s.ScheduleEndTime = &v 7884 return s 7885} 7886 7887// SetScheduleExpression sets the ScheduleExpression field's value. 7888func (s *ScheduledTriggerProperties) SetScheduleExpression(v string) *ScheduledTriggerProperties { 7889 s.ScheduleExpression = &v 7890 return s 7891} 7892 7893// SetScheduleOffset sets the ScheduleOffset field's value. 7894func (s *ScheduledTriggerProperties) SetScheduleOffset(v int64) *ScheduledTriggerProperties { 7895 s.ScheduleOffset = &v 7896 return s 7897} 7898 7899// SetScheduleStartTime sets the ScheduleStartTime field's value. 7900func (s *ScheduledTriggerProperties) SetScheduleStartTime(v time.Time) *ScheduledTriggerProperties { 7901 s.ScheduleStartTime = &v 7902 return s 7903} 7904 7905// SetTimezone sets the Timezone field's value. 7906func (s *ScheduledTriggerProperties) SetTimezone(v string) *ScheduledTriggerProperties { 7907 s.Timezone = &v 7908 return s 7909} 7910 7911// The connector-specific profile credentials required when using ServiceNow. 7912type ServiceNowConnectorProfileCredentials struct { 7913 _ struct{} `type:"structure"` 7914 7915 // The password that corresponds to the user name. 7916 // 7917 // Password is a required field 7918 Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"` 7919 7920 // The name of the user. 7921 // 7922 // Username is a required field 7923 Username *string `locationName:"username" type:"string" required:"true"` 7924} 7925 7926// String returns the string representation 7927func (s ServiceNowConnectorProfileCredentials) String() string { 7928 return awsutil.Prettify(s) 7929} 7930 7931// GoString returns the string representation 7932func (s ServiceNowConnectorProfileCredentials) GoString() string { 7933 return s.String() 7934} 7935 7936// Validate inspects the fields of the type to determine if they are valid. 7937func (s *ServiceNowConnectorProfileCredentials) Validate() error { 7938 invalidParams := request.ErrInvalidParams{Context: "ServiceNowConnectorProfileCredentials"} 7939 if s.Password == nil { 7940 invalidParams.Add(request.NewErrParamRequired("Password")) 7941 } 7942 if s.Username == nil { 7943 invalidParams.Add(request.NewErrParamRequired("Username")) 7944 } 7945 7946 if invalidParams.Len() > 0 { 7947 return invalidParams 7948 } 7949 return nil 7950} 7951 7952// SetPassword sets the Password field's value. 7953func (s *ServiceNowConnectorProfileCredentials) SetPassword(v string) *ServiceNowConnectorProfileCredentials { 7954 s.Password = &v 7955 return s 7956} 7957 7958// SetUsername sets the Username field's value. 7959func (s *ServiceNowConnectorProfileCredentials) SetUsername(v string) *ServiceNowConnectorProfileCredentials { 7960 s.Username = &v 7961 return s 7962} 7963 7964// The connector-specific profile properties required when using ServiceNow. 7965type ServiceNowConnectorProfileProperties struct { 7966 _ struct{} `type:"structure"` 7967 7968 // The location of the ServiceNow resource. 7969 // 7970 // InstanceUrl is a required field 7971 InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"` 7972} 7973 7974// String returns the string representation 7975func (s ServiceNowConnectorProfileProperties) String() string { 7976 return awsutil.Prettify(s) 7977} 7978 7979// GoString returns the string representation 7980func (s ServiceNowConnectorProfileProperties) GoString() string { 7981 return s.String() 7982} 7983 7984// Validate inspects the fields of the type to determine if they are valid. 7985func (s *ServiceNowConnectorProfileProperties) Validate() error { 7986 invalidParams := request.ErrInvalidParams{Context: "ServiceNowConnectorProfileProperties"} 7987 if s.InstanceUrl == nil { 7988 invalidParams.Add(request.NewErrParamRequired("InstanceUrl")) 7989 } 7990 7991 if invalidParams.Len() > 0 { 7992 return invalidParams 7993 } 7994 return nil 7995} 7996 7997// SetInstanceUrl sets the InstanceUrl field's value. 7998func (s *ServiceNowConnectorProfileProperties) SetInstanceUrl(v string) *ServiceNowConnectorProfileProperties { 7999 s.InstanceUrl = &v 8000 return s 8001} 8002 8003// The connector metadata specific to ServiceNow. 8004type ServiceNowMetadata struct { 8005 _ struct{} `type:"structure"` 8006} 8007 8008// String returns the string representation 8009func (s ServiceNowMetadata) String() string { 8010 return awsutil.Prettify(s) 8011} 8012 8013// GoString returns the string representation 8014func (s ServiceNowMetadata) GoString() string { 8015 return s.String() 8016} 8017 8018// The properties that are applied when ServiceNow is being used as a source. 8019type ServiceNowSourceProperties struct { 8020 _ struct{} `type:"structure"` 8021 8022 // The object specified in the ServiceNow flow source. 8023 // 8024 // Object is a required field 8025 Object *string `locationName:"object" type:"string" required:"true"` 8026} 8027 8028// String returns the string representation 8029func (s ServiceNowSourceProperties) String() string { 8030 return awsutil.Prettify(s) 8031} 8032 8033// GoString returns the string representation 8034func (s ServiceNowSourceProperties) GoString() string { 8035 return s.String() 8036} 8037 8038// Validate inspects the fields of the type to determine if they are valid. 8039func (s *ServiceNowSourceProperties) Validate() error { 8040 invalidParams := request.ErrInvalidParams{Context: "ServiceNowSourceProperties"} 8041 if s.Object == nil { 8042 invalidParams.Add(request.NewErrParamRequired("Object")) 8043 } 8044 8045 if invalidParams.Len() > 0 { 8046 return invalidParams 8047 } 8048 return nil 8049} 8050 8051// SetObject sets the Object field's value. 8052func (s *ServiceNowSourceProperties) SetObject(v string) *ServiceNowSourceProperties { 8053 s.Object = &v 8054 return s 8055} 8056 8057// The request would cause a service quota (such as the number of flows) to 8058// be exceeded. 8059type ServiceQuotaExceededException struct { 8060 _ struct{} `type:"structure"` 8061 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 8062 8063 Message_ *string `locationName:"message" type:"string"` 8064} 8065 8066// String returns the string representation 8067func (s ServiceQuotaExceededException) String() string { 8068 return awsutil.Prettify(s) 8069} 8070 8071// GoString returns the string representation 8072func (s ServiceQuotaExceededException) GoString() string { 8073 return s.String() 8074} 8075 8076func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error { 8077 return &ServiceQuotaExceededException{ 8078 RespMetadata: v, 8079 } 8080} 8081 8082// Code returns the exception type name. 8083func (s *ServiceQuotaExceededException) Code() string { 8084 return "ServiceQuotaExceededException" 8085} 8086 8087// Message returns the exception's message. 8088func (s *ServiceQuotaExceededException) Message() string { 8089 if s.Message_ != nil { 8090 return *s.Message_ 8091 } 8092 return "" 8093} 8094 8095// OrigErr always returns nil, satisfies awserr.Error interface. 8096func (s *ServiceQuotaExceededException) OrigErr() error { 8097 return nil 8098} 8099 8100func (s *ServiceQuotaExceededException) Error() string { 8101 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 8102} 8103 8104// Status code returns the HTTP status code for the request's response error. 8105func (s *ServiceQuotaExceededException) StatusCode() int { 8106 return s.RespMetadata.StatusCode 8107} 8108 8109// RequestID returns the service's response RequestID for request. 8110func (s *ServiceQuotaExceededException) RequestID() string { 8111 return s.RespMetadata.RequestID 8112} 8113 8114// The connector-specific profile credentials required when using Singular. 8115type SingularConnectorProfileCredentials struct { 8116 _ struct{} `type:"structure"` 8117 8118 // A unique alphanumeric identifier used to authenticate a user, developer, 8119 // or calling program to your API. 8120 // 8121 // ApiKey is a required field 8122 ApiKey *string `locationName:"apiKey" type:"string" required:"true"` 8123} 8124 8125// String returns the string representation 8126func (s SingularConnectorProfileCredentials) String() string { 8127 return awsutil.Prettify(s) 8128} 8129 8130// GoString returns the string representation 8131func (s SingularConnectorProfileCredentials) GoString() string { 8132 return s.String() 8133} 8134 8135// Validate inspects the fields of the type to determine if they are valid. 8136func (s *SingularConnectorProfileCredentials) Validate() error { 8137 invalidParams := request.ErrInvalidParams{Context: "SingularConnectorProfileCredentials"} 8138 if s.ApiKey == nil { 8139 invalidParams.Add(request.NewErrParamRequired("ApiKey")) 8140 } 8141 8142 if invalidParams.Len() > 0 { 8143 return invalidParams 8144 } 8145 return nil 8146} 8147 8148// SetApiKey sets the ApiKey field's value. 8149func (s *SingularConnectorProfileCredentials) SetApiKey(v string) *SingularConnectorProfileCredentials { 8150 s.ApiKey = &v 8151 return s 8152} 8153 8154// The connector-specific profile properties required when using Singular. 8155type SingularConnectorProfileProperties struct { 8156 _ struct{} `type:"structure"` 8157} 8158 8159// String returns the string representation 8160func (s SingularConnectorProfileProperties) String() string { 8161 return awsutil.Prettify(s) 8162} 8163 8164// GoString returns the string representation 8165func (s SingularConnectorProfileProperties) GoString() string { 8166 return s.String() 8167} 8168 8169// The connector metadata specific to Singular. 8170type SingularMetadata struct { 8171 _ struct{} `type:"structure"` 8172} 8173 8174// String returns the string representation 8175func (s SingularMetadata) String() string { 8176 return awsutil.Prettify(s) 8177} 8178 8179// GoString returns the string representation 8180func (s SingularMetadata) GoString() string { 8181 return s.String() 8182} 8183 8184// The properties that are applied when Singular is being used as a source. 8185type SingularSourceProperties struct { 8186 _ struct{} `type:"structure"` 8187 8188 // The object specified in the Singular flow source. 8189 // 8190 // Object is a required field 8191 Object *string `locationName:"object" type:"string" required:"true"` 8192} 8193 8194// String returns the string representation 8195func (s SingularSourceProperties) String() string { 8196 return awsutil.Prettify(s) 8197} 8198 8199// GoString returns the string representation 8200func (s SingularSourceProperties) GoString() string { 8201 return s.String() 8202} 8203 8204// Validate inspects the fields of the type to determine if they are valid. 8205func (s *SingularSourceProperties) Validate() error { 8206 invalidParams := request.ErrInvalidParams{Context: "SingularSourceProperties"} 8207 if s.Object == nil { 8208 invalidParams.Add(request.NewErrParamRequired("Object")) 8209 } 8210 8211 if invalidParams.Len() > 0 { 8212 return invalidParams 8213 } 8214 return nil 8215} 8216 8217// SetObject sets the Object field's value. 8218func (s *SingularSourceProperties) SetObject(v string) *SingularSourceProperties { 8219 s.Object = &v 8220 return s 8221} 8222 8223// The connector-specific profile credentials required when using Slack. 8224type SlackConnectorProfileCredentials struct { 8225 _ struct{} `type:"structure"` 8226 8227 // The credentials used to access protected Slack resources. 8228 AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"` 8229 8230 // The identifier for the client. 8231 // 8232 // ClientId is a required field 8233 ClientId *string `locationName:"clientId" type:"string" required:"true"` 8234 8235 // The client secret used by the OAuth client to authenticate to the authorization 8236 // server. 8237 // 8238 // ClientSecret is a required field 8239 ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"` 8240 8241 // The OAuth requirement needed to request security tokens from the connector 8242 // endpoint. 8243 OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"` 8244} 8245 8246// String returns the string representation 8247func (s SlackConnectorProfileCredentials) String() string { 8248 return awsutil.Prettify(s) 8249} 8250 8251// GoString returns the string representation 8252func (s SlackConnectorProfileCredentials) GoString() string { 8253 return s.String() 8254} 8255 8256// Validate inspects the fields of the type to determine if they are valid. 8257func (s *SlackConnectorProfileCredentials) Validate() error { 8258 invalidParams := request.ErrInvalidParams{Context: "SlackConnectorProfileCredentials"} 8259 if s.ClientId == nil { 8260 invalidParams.Add(request.NewErrParamRequired("ClientId")) 8261 } 8262 if s.ClientSecret == nil { 8263 invalidParams.Add(request.NewErrParamRequired("ClientSecret")) 8264 } 8265 8266 if invalidParams.Len() > 0 { 8267 return invalidParams 8268 } 8269 return nil 8270} 8271 8272// SetAccessToken sets the AccessToken field's value. 8273func (s *SlackConnectorProfileCredentials) SetAccessToken(v string) *SlackConnectorProfileCredentials { 8274 s.AccessToken = &v 8275 return s 8276} 8277 8278// SetClientId sets the ClientId field's value. 8279func (s *SlackConnectorProfileCredentials) SetClientId(v string) *SlackConnectorProfileCredentials { 8280 s.ClientId = &v 8281 return s 8282} 8283 8284// SetClientSecret sets the ClientSecret field's value. 8285func (s *SlackConnectorProfileCredentials) SetClientSecret(v string) *SlackConnectorProfileCredentials { 8286 s.ClientSecret = &v 8287 return s 8288} 8289 8290// SetOAuthRequest sets the OAuthRequest field's value. 8291func (s *SlackConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *SlackConnectorProfileCredentials { 8292 s.OAuthRequest = v 8293 return s 8294} 8295 8296// The connector-specific profile properties required when using Slack. 8297type SlackConnectorProfileProperties struct { 8298 _ struct{} `type:"structure"` 8299 8300 // The location of the Slack resource. 8301 // 8302 // InstanceUrl is a required field 8303 InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"` 8304} 8305 8306// String returns the string representation 8307func (s SlackConnectorProfileProperties) String() string { 8308 return awsutil.Prettify(s) 8309} 8310 8311// GoString returns the string representation 8312func (s SlackConnectorProfileProperties) GoString() string { 8313 return s.String() 8314} 8315 8316// Validate inspects the fields of the type to determine if they are valid. 8317func (s *SlackConnectorProfileProperties) Validate() error { 8318 invalidParams := request.ErrInvalidParams{Context: "SlackConnectorProfileProperties"} 8319 if s.InstanceUrl == nil { 8320 invalidParams.Add(request.NewErrParamRequired("InstanceUrl")) 8321 } 8322 8323 if invalidParams.Len() > 0 { 8324 return invalidParams 8325 } 8326 return nil 8327} 8328 8329// SetInstanceUrl sets the InstanceUrl field's value. 8330func (s *SlackConnectorProfileProperties) SetInstanceUrl(v string) *SlackConnectorProfileProperties { 8331 s.InstanceUrl = &v 8332 return s 8333} 8334 8335// The connector metadata specific to Slack. 8336type SlackMetadata struct { 8337 _ struct{} `type:"structure"` 8338 8339 // The desired authorization scope for the Slack account. 8340 OAuthScopes []*string `locationName:"oAuthScopes" type:"list"` 8341} 8342 8343// String returns the string representation 8344func (s SlackMetadata) String() string { 8345 return awsutil.Prettify(s) 8346} 8347 8348// GoString returns the string representation 8349func (s SlackMetadata) GoString() string { 8350 return s.String() 8351} 8352 8353// SetOAuthScopes sets the OAuthScopes field's value. 8354func (s *SlackMetadata) SetOAuthScopes(v []*string) *SlackMetadata { 8355 s.OAuthScopes = v 8356 return s 8357} 8358 8359// The properties that are applied when Slack is being used as a source. 8360type SlackSourceProperties struct { 8361 _ struct{} `type:"structure"` 8362 8363 // The object specified in the Slack flow source. 8364 // 8365 // Object is a required field 8366 Object *string `locationName:"object" type:"string" required:"true"` 8367} 8368 8369// String returns the string representation 8370func (s SlackSourceProperties) String() string { 8371 return awsutil.Prettify(s) 8372} 8373 8374// GoString returns the string representation 8375func (s SlackSourceProperties) GoString() string { 8376 return s.String() 8377} 8378 8379// Validate inspects the fields of the type to determine if they are valid. 8380func (s *SlackSourceProperties) Validate() error { 8381 invalidParams := request.ErrInvalidParams{Context: "SlackSourceProperties"} 8382 if s.Object == nil { 8383 invalidParams.Add(request.NewErrParamRequired("Object")) 8384 } 8385 8386 if invalidParams.Len() > 0 { 8387 return invalidParams 8388 } 8389 return nil 8390} 8391 8392// SetObject sets the Object field's value. 8393func (s *SlackSourceProperties) SetObject(v string) *SlackSourceProperties { 8394 s.Object = &v 8395 return s 8396} 8397 8398// The connector-specific profile credentials required when using Snowflake. 8399type SnowflakeConnectorProfileCredentials struct { 8400 _ struct{} `type:"structure"` 8401 8402 // The password that corresponds to the user name. 8403 // 8404 // Password is a required field 8405 Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"` 8406 8407 // The name of the user. 8408 // 8409 // Username is a required field 8410 Username *string `locationName:"username" type:"string" required:"true"` 8411} 8412 8413// String returns the string representation 8414func (s SnowflakeConnectorProfileCredentials) String() string { 8415 return awsutil.Prettify(s) 8416} 8417 8418// GoString returns the string representation 8419func (s SnowflakeConnectorProfileCredentials) GoString() string { 8420 return s.String() 8421} 8422 8423// Validate inspects the fields of the type to determine if they are valid. 8424func (s *SnowflakeConnectorProfileCredentials) Validate() error { 8425 invalidParams := request.ErrInvalidParams{Context: "SnowflakeConnectorProfileCredentials"} 8426 if s.Password == nil { 8427 invalidParams.Add(request.NewErrParamRequired("Password")) 8428 } 8429 if s.Username == nil { 8430 invalidParams.Add(request.NewErrParamRequired("Username")) 8431 } 8432 8433 if invalidParams.Len() > 0 { 8434 return invalidParams 8435 } 8436 return nil 8437} 8438 8439// SetPassword sets the Password field's value. 8440func (s *SnowflakeConnectorProfileCredentials) SetPassword(v string) *SnowflakeConnectorProfileCredentials { 8441 s.Password = &v 8442 return s 8443} 8444 8445// SetUsername sets the Username field's value. 8446func (s *SnowflakeConnectorProfileCredentials) SetUsername(v string) *SnowflakeConnectorProfileCredentials { 8447 s.Username = &v 8448 return s 8449} 8450 8451// The connector-specific profile properties required when using Snowflake. 8452type SnowflakeConnectorProfileProperties struct { 8453 _ struct{} `type:"structure"` 8454 8455 // The name of the account. 8456 AccountName *string `locationName:"accountName" type:"string"` 8457 8458 // The name of the Amazon S3 bucket associated with Snowflake. 8459 // 8460 // BucketName is a required field 8461 BucketName *string `locationName:"bucketName" min:"3" type:"string" required:"true"` 8462 8463 // The bucket path that refers to the Amazon S3 bucket associated with Snowflake. 8464 BucketPrefix *string `locationName:"bucketPrefix" type:"string"` 8465 8466 // The Snowflake Private Link service name to be used for private data transfers. 8467 PrivateLinkServiceName *string `locationName:"privateLinkServiceName" type:"string"` 8468 8469 // The Amazon Web Services Region of the Snowflake account. 8470 Region *string `locationName:"region" type:"string"` 8471 8472 // The name of the Amazon S3 stage that was created while setting up an Amazon 8473 // S3 stage in the Snowflake account. This is written in the following format: 8474 // < Database>< Schema><Stage Name>. 8475 // 8476 // Stage is a required field 8477 Stage *string `locationName:"stage" type:"string" required:"true"` 8478 8479 // The name of the Snowflake warehouse. 8480 // 8481 // Warehouse is a required field 8482 Warehouse *string `locationName:"warehouse" type:"string" required:"true"` 8483} 8484 8485// String returns the string representation 8486func (s SnowflakeConnectorProfileProperties) String() string { 8487 return awsutil.Prettify(s) 8488} 8489 8490// GoString returns the string representation 8491func (s SnowflakeConnectorProfileProperties) GoString() string { 8492 return s.String() 8493} 8494 8495// Validate inspects the fields of the type to determine if they are valid. 8496func (s *SnowflakeConnectorProfileProperties) Validate() error { 8497 invalidParams := request.ErrInvalidParams{Context: "SnowflakeConnectorProfileProperties"} 8498 if s.BucketName == nil { 8499 invalidParams.Add(request.NewErrParamRequired("BucketName")) 8500 } 8501 if s.BucketName != nil && len(*s.BucketName) < 3 { 8502 invalidParams.Add(request.NewErrParamMinLen("BucketName", 3)) 8503 } 8504 if s.Stage == nil { 8505 invalidParams.Add(request.NewErrParamRequired("Stage")) 8506 } 8507 if s.Warehouse == nil { 8508 invalidParams.Add(request.NewErrParamRequired("Warehouse")) 8509 } 8510 8511 if invalidParams.Len() > 0 { 8512 return invalidParams 8513 } 8514 return nil 8515} 8516 8517// SetAccountName sets the AccountName field's value. 8518func (s *SnowflakeConnectorProfileProperties) SetAccountName(v string) *SnowflakeConnectorProfileProperties { 8519 s.AccountName = &v 8520 return s 8521} 8522 8523// SetBucketName sets the BucketName field's value. 8524func (s *SnowflakeConnectorProfileProperties) SetBucketName(v string) *SnowflakeConnectorProfileProperties { 8525 s.BucketName = &v 8526 return s 8527} 8528 8529// SetBucketPrefix sets the BucketPrefix field's value. 8530func (s *SnowflakeConnectorProfileProperties) SetBucketPrefix(v string) *SnowflakeConnectorProfileProperties { 8531 s.BucketPrefix = &v 8532 return s 8533} 8534 8535// SetPrivateLinkServiceName sets the PrivateLinkServiceName field's value. 8536func (s *SnowflakeConnectorProfileProperties) SetPrivateLinkServiceName(v string) *SnowflakeConnectorProfileProperties { 8537 s.PrivateLinkServiceName = &v 8538 return s 8539} 8540 8541// SetRegion sets the Region field's value. 8542func (s *SnowflakeConnectorProfileProperties) SetRegion(v string) *SnowflakeConnectorProfileProperties { 8543 s.Region = &v 8544 return s 8545} 8546 8547// SetStage sets the Stage field's value. 8548func (s *SnowflakeConnectorProfileProperties) SetStage(v string) *SnowflakeConnectorProfileProperties { 8549 s.Stage = &v 8550 return s 8551} 8552 8553// SetWarehouse sets the Warehouse field's value. 8554func (s *SnowflakeConnectorProfileProperties) SetWarehouse(v string) *SnowflakeConnectorProfileProperties { 8555 s.Warehouse = &v 8556 return s 8557} 8558 8559// The properties that are applied when Snowflake is being used as a destination. 8560type SnowflakeDestinationProperties struct { 8561 _ struct{} `type:"structure"` 8562 8563 // The object key for the destination bucket in which Amazon AppFlow places 8564 // the files. 8565 BucketPrefix *string `locationName:"bucketPrefix" type:"string"` 8566 8567 // The settings that determine how Amazon AppFlow handles an error when placing 8568 // data in the Snowflake destination. For example, this setting would determine 8569 // if the flow should fail after one insertion error, or continue and attempt 8570 // to insert every record regardless of the initial failure. ErrorHandlingConfig 8571 // is a part of the destination connector details. 8572 ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"` 8573 8574 // The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake. 8575 // 8576 // IntermediateBucketName is a required field 8577 IntermediateBucketName *string `locationName:"intermediateBucketName" min:"3" type:"string" required:"true"` 8578 8579 // The object specified in the Snowflake flow destination. 8580 // 8581 // Object is a required field 8582 Object *string `locationName:"object" type:"string" required:"true"` 8583} 8584 8585// String returns the string representation 8586func (s SnowflakeDestinationProperties) String() string { 8587 return awsutil.Prettify(s) 8588} 8589 8590// GoString returns the string representation 8591func (s SnowflakeDestinationProperties) GoString() string { 8592 return s.String() 8593} 8594 8595// Validate inspects the fields of the type to determine if they are valid. 8596func (s *SnowflakeDestinationProperties) Validate() error { 8597 invalidParams := request.ErrInvalidParams{Context: "SnowflakeDestinationProperties"} 8598 if s.IntermediateBucketName == nil { 8599 invalidParams.Add(request.NewErrParamRequired("IntermediateBucketName")) 8600 } 8601 if s.IntermediateBucketName != nil && len(*s.IntermediateBucketName) < 3 { 8602 invalidParams.Add(request.NewErrParamMinLen("IntermediateBucketName", 3)) 8603 } 8604 if s.Object == nil { 8605 invalidParams.Add(request.NewErrParamRequired("Object")) 8606 } 8607 if s.ErrorHandlingConfig != nil { 8608 if err := s.ErrorHandlingConfig.Validate(); err != nil { 8609 invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams)) 8610 } 8611 } 8612 8613 if invalidParams.Len() > 0 { 8614 return invalidParams 8615 } 8616 return nil 8617} 8618 8619// SetBucketPrefix sets the BucketPrefix field's value. 8620func (s *SnowflakeDestinationProperties) SetBucketPrefix(v string) *SnowflakeDestinationProperties { 8621 s.BucketPrefix = &v 8622 return s 8623} 8624 8625// SetErrorHandlingConfig sets the ErrorHandlingConfig field's value. 8626func (s *SnowflakeDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *SnowflakeDestinationProperties { 8627 s.ErrorHandlingConfig = v 8628 return s 8629} 8630 8631// SetIntermediateBucketName sets the IntermediateBucketName field's value. 8632func (s *SnowflakeDestinationProperties) SetIntermediateBucketName(v string) *SnowflakeDestinationProperties { 8633 s.IntermediateBucketName = &v 8634 return s 8635} 8636 8637// SetObject sets the Object field's value. 8638func (s *SnowflakeDestinationProperties) SetObject(v string) *SnowflakeDestinationProperties { 8639 s.Object = &v 8640 return s 8641} 8642 8643// The connector metadata specific to Snowflake. 8644type SnowflakeMetadata struct { 8645 _ struct{} `type:"structure"` 8646 8647 // Specifies the supported Amazon Web Services Regions when using Snowflake. 8648 SupportedRegions []*string `locationName:"supportedRegions" type:"list"` 8649} 8650 8651// String returns the string representation 8652func (s SnowflakeMetadata) String() string { 8653 return awsutil.Prettify(s) 8654} 8655 8656// GoString returns the string representation 8657func (s SnowflakeMetadata) GoString() string { 8658 return s.String() 8659} 8660 8661// SetSupportedRegions sets the SupportedRegions field's value. 8662func (s *SnowflakeMetadata) SetSupportedRegions(v []*string) *SnowflakeMetadata { 8663 s.SupportedRegions = v 8664 return s 8665} 8666 8667// Specifies the information that is required to query a particular connector. 8668type SourceConnectorProperties struct { 8669 _ struct{} `type:"structure"` 8670 8671 // Specifies the information that is required for querying Amplitude. 8672 Amplitude *AmplitudeSourceProperties `type:"structure"` 8673 8674 // Specifies the information that is required for querying Datadog. 8675 Datadog *DatadogSourceProperties `type:"structure"` 8676 8677 // Specifies the information that is required for querying Dynatrace. 8678 Dynatrace *DynatraceSourceProperties `type:"structure"` 8679 8680 // Specifies the information that is required for querying Google Analytics. 8681 GoogleAnalytics *GoogleAnalyticsSourceProperties `type:"structure"` 8682 8683 // Specifies the information that is required for querying Infor Nexus. 8684 InforNexus *InforNexusSourceProperties `type:"structure"` 8685 8686 // Specifies the information that is required for querying Marketo. 8687 Marketo *MarketoSourceProperties `type:"structure"` 8688 8689 // Specifies the information that is required for querying Amazon S3. 8690 S3 *S3SourceProperties `type:"structure"` 8691 8692 // The properties that are applied when using SAPOData as a flow source. 8693 SAPOData *SAPODataSourceProperties `type:"structure"` 8694 8695 // Specifies the information that is required for querying Salesforce. 8696 Salesforce *SalesforceSourceProperties `type:"structure"` 8697 8698 // Specifies the information that is required for querying ServiceNow. 8699 ServiceNow *ServiceNowSourceProperties `type:"structure"` 8700 8701 // Specifies the information that is required for querying Singular. 8702 Singular *SingularSourceProperties `type:"structure"` 8703 8704 // Specifies the information that is required for querying Slack. 8705 Slack *SlackSourceProperties `type:"structure"` 8706 8707 // Specifies the information that is required for querying Trend Micro. 8708 Trendmicro *TrendmicroSourceProperties `type:"structure"` 8709 8710 // Specifies the information that is required for querying Veeva. 8711 Veeva *VeevaSourceProperties `type:"structure"` 8712 8713 // Specifies the information that is required for querying Zendesk. 8714 Zendesk *ZendeskSourceProperties `type:"structure"` 8715} 8716 8717// String returns the string representation 8718func (s SourceConnectorProperties) String() string { 8719 return awsutil.Prettify(s) 8720} 8721 8722// GoString returns the string representation 8723func (s SourceConnectorProperties) GoString() string { 8724 return s.String() 8725} 8726 8727// Validate inspects the fields of the type to determine if they are valid. 8728func (s *SourceConnectorProperties) Validate() error { 8729 invalidParams := request.ErrInvalidParams{Context: "SourceConnectorProperties"} 8730 if s.Amplitude != nil { 8731 if err := s.Amplitude.Validate(); err != nil { 8732 invalidParams.AddNested("Amplitude", err.(request.ErrInvalidParams)) 8733 } 8734 } 8735 if s.Datadog != nil { 8736 if err := s.Datadog.Validate(); err != nil { 8737 invalidParams.AddNested("Datadog", err.(request.ErrInvalidParams)) 8738 } 8739 } 8740 if s.Dynatrace != nil { 8741 if err := s.Dynatrace.Validate(); err != nil { 8742 invalidParams.AddNested("Dynatrace", err.(request.ErrInvalidParams)) 8743 } 8744 } 8745 if s.GoogleAnalytics != nil { 8746 if err := s.GoogleAnalytics.Validate(); err != nil { 8747 invalidParams.AddNested("GoogleAnalytics", err.(request.ErrInvalidParams)) 8748 } 8749 } 8750 if s.InforNexus != nil { 8751 if err := s.InforNexus.Validate(); err != nil { 8752 invalidParams.AddNested("InforNexus", err.(request.ErrInvalidParams)) 8753 } 8754 } 8755 if s.Marketo != nil { 8756 if err := s.Marketo.Validate(); err != nil { 8757 invalidParams.AddNested("Marketo", err.(request.ErrInvalidParams)) 8758 } 8759 } 8760 if s.S3 != nil { 8761 if err := s.S3.Validate(); err != nil { 8762 invalidParams.AddNested("S3", err.(request.ErrInvalidParams)) 8763 } 8764 } 8765 if s.Salesforce != nil { 8766 if err := s.Salesforce.Validate(); err != nil { 8767 invalidParams.AddNested("Salesforce", err.(request.ErrInvalidParams)) 8768 } 8769 } 8770 if s.ServiceNow != nil { 8771 if err := s.ServiceNow.Validate(); err != nil { 8772 invalidParams.AddNested("ServiceNow", err.(request.ErrInvalidParams)) 8773 } 8774 } 8775 if s.Singular != nil { 8776 if err := s.Singular.Validate(); err != nil { 8777 invalidParams.AddNested("Singular", err.(request.ErrInvalidParams)) 8778 } 8779 } 8780 if s.Slack != nil { 8781 if err := s.Slack.Validate(); err != nil { 8782 invalidParams.AddNested("Slack", err.(request.ErrInvalidParams)) 8783 } 8784 } 8785 if s.Trendmicro != nil { 8786 if err := s.Trendmicro.Validate(); err != nil { 8787 invalidParams.AddNested("Trendmicro", err.(request.ErrInvalidParams)) 8788 } 8789 } 8790 if s.Veeva != nil { 8791 if err := s.Veeva.Validate(); err != nil { 8792 invalidParams.AddNested("Veeva", err.(request.ErrInvalidParams)) 8793 } 8794 } 8795 if s.Zendesk != nil { 8796 if err := s.Zendesk.Validate(); err != nil { 8797 invalidParams.AddNested("Zendesk", err.(request.ErrInvalidParams)) 8798 } 8799 } 8800 8801 if invalidParams.Len() > 0 { 8802 return invalidParams 8803 } 8804 return nil 8805} 8806 8807// SetAmplitude sets the Amplitude field's value. 8808func (s *SourceConnectorProperties) SetAmplitude(v *AmplitudeSourceProperties) *SourceConnectorProperties { 8809 s.Amplitude = v 8810 return s 8811} 8812 8813// SetDatadog sets the Datadog field's value. 8814func (s *SourceConnectorProperties) SetDatadog(v *DatadogSourceProperties) *SourceConnectorProperties { 8815 s.Datadog = v 8816 return s 8817} 8818 8819// SetDynatrace sets the Dynatrace field's value. 8820func (s *SourceConnectorProperties) SetDynatrace(v *DynatraceSourceProperties) *SourceConnectorProperties { 8821 s.Dynatrace = v 8822 return s 8823} 8824 8825// SetGoogleAnalytics sets the GoogleAnalytics field's value. 8826func (s *SourceConnectorProperties) SetGoogleAnalytics(v *GoogleAnalyticsSourceProperties) *SourceConnectorProperties { 8827 s.GoogleAnalytics = v 8828 return s 8829} 8830 8831// SetInforNexus sets the InforNexus field's value. 8832func (s *SourceConnectorProperties) SetInforNexus(v *InforNexusSourceProperties) *SourceConnectorProperties { 8833 s.InforNexus = v 8834 return s 8835} 8836 8837// SetMarketo sets the Marketo field's value. 8838func (s *SourceConnectorProperties) SetMarketo(v *MarketoSourceProperties) *SourceConnectorProperties { 8839 s.Marketo = v 8840 return s 8841} 8842 8843// SetS3 sets the S3 field's value. 8844func (s *SourceConnectorProperties) SetS3(v *S3SourceProperties) *SourceConnectorProperties { 8845 s.S3 = v 8846 return s 8847} 8848 8849// SetSAPOData sets the SAPOData field's value. 8850func (s *SourceConnectorProperties) SetSAPOData(v *SAPODataSourceProperties) *SourceConnectorProperties { 8851 s.SAPOData = v 8852 return s 8853} 8854 8855// SetSalesforce sets the Salesforce field's value. 8856func (s *SourceConnectorProperties) SetSalesforce(v *SalesforceSourceProperties) *SourceConnectorProperties { 8857 s.Salesforce = v 8858 return s 8859} 8860 8861// SetServiceNow sets the ServiceNow field's value. 8862func (s *SourceConnectorProperties) SetServiceNow(v *ServiceNowSourceProperties) *SourceConnectorProperties { 8863 s.ServiceNow = v 8864 return s 8865} 8866 8867// SetSingular sets the Singular field's value. 8868func (s *SourceConnectorProperties) SetSingular(v *SingularSourceProperties) *SourceConnectorProperties { 8869 s.Singular = v 8870 return s 8871} 8872 8873// SetSlack sets the Slack field's value. 8874func (s *SourceConnectorProperties) SetSlack(v *SlackSourceProperties) *SourceConnectorProperties { 8875 s.Slack = v 8876 return s 8877} 8878 8879// SetTrendmicro sets the Trendmicro field's value. 8880func (s *SourceConnectorProperties) SetTrendmicro(v *TrendmicroSourceProperties) *SourceConnectorProperties { 8881 s.Trendmicro = v 8882 return s 8883} 8884 8885// SetVeeva sets the Veeva field's value. 8886func (s *SourceConnectorProperties) SetVeeva(v *VeevaSourceProperties) *SourceConnectorProperties { 8887 s.Veeva = v 8888 return s 8889} 8890 8891// SetZendesk sets the Zendesk field's value. 8892func (s *SourceConnectorProperties) SetZendesk(v *ZendeskSourceProperties) *SourceConnectorProperties { 8893 s.Zendesk = v 8894 return s 8895} 8896 8897// The properties that can be applied to a field when the connector is being 8898// used as a source. 8899type SourceFieldProperties struct { 8900 _ struct{} `type:"structure"` 8901 8902 // Indicates if the field can be queried. 8903 IsQueryable *bool `locationName:"isQueryable" type:"boolean"` 8904 8905 // Indicates whether the field can be returned in a search result. 8906 IsRetrievable *bool `locationName:"isRetrievable" type:"boolean"` 8907} 8908 8909// String returns the string representation 8910func (s SourceFieldProperties) String() string { 8911 return awsutil.Prettify(s) 8912} 8913 8914// GoString returns the string representation 8915func (s SourceFieldProperties) GoString() string { 8916 return s.String() 8917} 8918 8919// SetIsQueryable sets the IsQueryable field's value. 8920func (s *SourceFieldProperties) SetIsQueryable(v bool) *SourceFieldProperties { 8921 s.IsQueryable = &v 8922 return s 8923} 8924 8925// SetIsRetrievable sets the IsRetrievable field's value. 8926func (s *SourceFieldProperties) SetIsRetrievable(v bool) *SourceFieldProperties { 8927 s.IsRetrievable = &v 8928 return s 8929} 8930 8931// Contains information about the configuration of the source connector used 8932// in the flow. 8933type SourceFlowConfig struct { 8934 _ struct{} `type:"structure"` 8935 8936 // The name of the connector profile. This name must be unique for each connector 8937 // profile in the Amazon Web Services account. 8938 ConnectorProfileName *string `locationName:"connectorProfileName" type:"string"` 8939 8940 // The type of connector, such as Salesforce, Amplitude, and so on. 8941 // 8942 // ConnectorType is a required field 8943 ConnectorType *string `locationName:"connectorType" type:"string" required:"true" enum:"ConnectorType"` 8944 8945 // Defines the configuration for a scheduled incremental data pull. If a valid 8946 // configuration is provided, the fields specified in the configuration are 8947 // used when querying for the incremental data pull. 8948 IncrementalPullConfig *IncrementalPullConfig `locationName:"incrementalPullConfig" type:"structure"` 8949 8950 // Specifies the information that is required to query a particular source connector. 8951 // 8952 // SourceConnectorProperties is a required field 8953 SourceConnectorProperties *SourceConnectorProperties `locationName:"sourceConnectorProperties" type:"structure" required:"true"` 8954} 8955 8956// String returns the string representation 8957func (s SourceFlowConfig) String() string { 8958 return awsutil.Prettify(s) 8959} 8960 8961// GoString returns the string representation 8962func (s SourceFlowConfig) GoString() string { 8963 return s.String() 8964} 8965 8966// Validate inspects the fields of the type to determine if they are valid. 8967func (s *SourceFlowConfig) Validate() error { 8968 invalidParams := request.ErrInvalidParams{Context: "SourceFlowConfig"} 8969 if s.ConnectorType == nil { 8970 invalidParams.Add(request.NewErrParamRequired("ConnectorType")) 8971 } 8972 if s.SourceConnectorProperties == nil { 8973 invalidParams.Add(request.NewErrParamRequired("SourceConnectorProperties")) 8974 } 8975 if s.SourceConnectorProperties != nil { 8976 if err := s.SourceConnectorProperties.Validate(); err != nil { 8977 invalidParams.AddNested("SourceConnectorProperties", err.(request.ErrInvalidParams)) 8978 } 8979 } 8980 8981 if invalidParams.Len() > 0 { 8982 return invalidParams 8983 } 8984 return nil 8985} 8986 8987// SetConnectorProfileName sets the ConnectorProfileName field's value. 8988func (s *SourceFlowConfig) SetConnectorProfileName(v string) *SourceFlowConfig { 8989 s.ConnectorProfileName = &v 8990 return s 8991} 8992 8993// SetConnectorType sets the ConnectorType field's value. 8994func (s *SourceFlowConfig) SetConnectorType(v string) *SourceFlowConfig { 8995 s.ConnectorType = &v 8996 return s 8997} 8998 8999// SetIncrementalPullConfig sets the IncrementalPullConfig field's value. 9000func (s *SourceFlowConfig) SetIncrementalPullConfig(v *IncrementalPullConfig) *SourceFlowConfig { 9001 s.IncrementalPullConfig = v 9002 return s 9003} 9004 9005// SetSourceConnectorProperties sets the SourceConnectorProperties field's value. 9006func (s *SourceFlowConfig) SetSourceConnectorProperties(v *SourceConnectorProperties) *SourceFlowConfig { 9007 s.SourceConnectorProperties = v 9008 return s 9009} 9010 9011type StartFlowInput struct { 9012 _ struct{} `type:"structure"` 9013 9014 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 9015 // or hyphens (-) only. 9016 // 9017 // FlowName is a required field 9018 FlowName *string `locationName:"flowName" type:"string" required:"true"` 9019} 9020 9021// String returns the string representation 9022func (s StartFlowInput) String() string { 9023 return awsutil.Prettify(s) 9024} 9025 9026// GoString returns the string representation 9027func (s StartFlowInput) GoString() string { 9028 return s.String() 9029} 9030 9031// Validate inspects the fields of the type to determine if they are valid. 9032func (s *StartFlowInput) Validate() error { 9033 invalidParams := request.ErrInvalidParams{Context: "StartFlowInput"} 9034 if s.FlowName == nil { 9035 invalidParams.Add(request.NewErrParamRequired("FlowName")) 9036 } 9037 9038 if invalidParams.Len() > 0 { 9039 return invalidParams 9040 } 9041 return nil 9042} 9043 9044// SetFlowName sets the FlowName field's value. 9045func (s *StartFlowInput) SetFlowName(v string) *StartFlowInput { 9046 s.FlowName = &v 9047 return s 9048} 9049 9050type StartFlowOutput struct { 9051 _ struct{} `type:"structure"` 9052 9053 // Returns the internal execution ID of an on-demand flow when the flow is started. 9054 // For scheduled or event-triggered flows, this value is null. 9055 ExecutionId *string `locationName:"executionId" type:"string"` 9056 9057 // The flow's Amazon Resource Name (ARN). 9058 FlowArn *string `locationName:"flowArn" type:"string"` 9059 9060 // Indicates the current status of the flow. 9061 FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"` 9062} 9063 9064// String returns the string representation 9065func (s StartFlowOutput) String() string { 9066 return awsutil.Prettify(s) 9067} 9068 9069// GoString returns the string representation 9070func (s StartFlowOutput) GoString() string { 9071 return s.String() 9072} 9073 9074// SetExecutionId sets the ExecutionId field's value. 9075func (s *StartFlowOutput) SetExecutionId(v string) *StartFlowOutput { 9076 s.ExecutionId = &v 9077 return s 9078} 9079 9080// SetFlowArn sets the FlowArn field's value. 9081func (s *StartFlowOutput) SetFlowArn(v string) *StartFlowOutput { 9082 s.FlowArn = &v 9083 return s 9084} 9085 9086// SetFlowStatus sets the FlowStatus field's value. 9087func (s *StartFlowOutput) SetFlowStatus(v string) *StartFlowOutput { 9088 s.FlowStatus = &v 9089 return s 9090} 9091 9092type StopFlowInput struct { 9093 _ struct{} `type:"structure"` 9094 9095 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 9096 // or hyphens (-) only. 9097 // 9098 // FlowName is a required field 9099 FlowName *string `locationName:"flowName" type:"string" required:"true"` 9100} 9101 9102// String returns the string representation 9103func (s StopFlowInput) String() string { 9104 return awsutil.Prettify(s) 9105} 9106 9107// GoString returns the string representation 9108func (s StopFlowInput) GoString() string { 9109 return s.String() 9110} 9111 9112// Validate inspects the fields of the type to determine if they are valid. 9113func (s *StopFlowInput) Validate() error { 9114 invalidParams := request.ErrInvalidParams{Context: "StopFlowInput"} 9115 if s.FlowName == nil { 9116 invalidParams.Add(request.NewErrParamRequired("FlowName")) 9117 } 9118 9119 if invalidParams.Len() > 0 { 9120 return invalidParams 9121 } 9122 return nil 9123} 9124 9125// SetFlowName sets the FlowName field's value. 9126func (s *StopFlowInput) SetFlowName(v string) *StopFlowInput { 9127 s.FlowName = &v 9128 return s 9129} 9130 9131type StopFlowOutput struct { 9132 _ struct{} `type:"structure"` 9133 9134 // The flow's Amazon Resource Name (ARN). 9135 FlowArn *string `locationName:"flowArn" type:"string"` 9136 9137 // Indicates the current status of the flow. 9138 FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"` 9139} 9140 9141// String returns the string representation 9142func (s StopFlowOutput) String() string { 9143 return awsutil.Prettify(s) 9144} 9145 9146// GoString returns the string representation 9147func (s StopFlowOutput) GoString() string { 9148 return s.String() 9149} 9150 9151// SetFlowArn sets the FlowArn field's value. 9152func (s *StopFlowOutput) SetFlowArn(v string) *StopFlowOutput { 9153 s.FlowArn = &v 9154 return s 9155} 9156 9157// SetFlowStatus sets the FlowStatus field's value. 9158func (s *StopFlowOutput) SetFlowStatus(v string) *StopFlowOutput { 9159 s.FlowStatus = &v 9160 return s 9161} 9162 9163// Contains details regarding all the supported FieldTypes and their corresponding 9164// filterOperators and supportedValues. 9165type SupportedFieldTypeDetails struct { 9166 _ struct{} `type:"structure"` 9167 9168 // The initial supported version for fieldType. If this is later changed to 9169 // a different version, v2 will be introduced. 9170 // 9171 // V1 is a required field 9172 V1 *FieldTypeDetails `locationName:"v1" type:"structure" required:"true"` 9173} 9174 9175// String returns the string representation 9176func (s SupportedFieldTypeDetails) String() string { 9177 return awsutil.Prettify(s) 9178} 9179 9180// GoString returns the string representation 9181func (s SupportedFieldTypeDetails) GoString() string { 9182 return s.String() 9183} 9184 9185// SetV1 sets the V1 field's value. 9186func (s *SupportedFieldTypeDetails) SetV1(v *FieldTypeDetails) *SupportedFieldTypeDetails { 9187 s.V1 = v 9188 return s 9189} 9190 9191type TagResourceInput struct { 9192 _ struct{} `type:"structure"` 9193 9194 // The Amazon Resource Name (ARN) of the flow that you want to tag. 9195 // 9196 // ResourceArn is a required field 9197 ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` 9198 9199 // The tags used to organize, track, or control access for your flow. 9200 // 9201 // Tags is a required field 9202 Tags map[string]*string `locationName:"tags" type:"map" required:"true"` 9203} 9204 9205// String returns the string representation 9206func (s TagResourceInput) String() string { 9207 return awsutil.Prettify(s) 9208} 9209 9210// GoString returns the string representation 9211func (s TagResourceInput) GoString() string { 9212 return s.String() 9213} 9214 9215// Validate inspects the fields of the type to determine if they are valid. 9216func (s *TagResourceInput) Validate() error { 9217 invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} 9218 if s.ResourceArn == nil { 9219 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 9220 } 9221 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 9222 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 9223 } 9224 if s.Tags == nil { 9225 invalidParams.Add(request.NewErrParamRequired("Tags")) 9226 } 9227 9228 if invalidParams.Len() > 0 { 9229 return invalidParams 9230 } 9231 return nil 9232} 9233 9234// SetResourceArn sets the ResourceArn field's value. 9235func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { 9236 s.ResourceArn = &v 9237 return s 9238} 9239 9240// SetTags sets the Tags field's value. 9241func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { 9242 s.Tags = v 9243 return s 9244} 9245 9246type TagResourceOutput struct { 9247 _ struct{} `type:"structure"` 9248} 9249 9250// String returns the string representation 9251func (s TagResourceOutput) String() string { 9252 return awsutil.Prettify(s) 9253} 9254 9255// GoString returns the string representation 9256func (s TagResourceOutput) GoString() string { 9257 return s.String() 9258} 9259 9260// A class for modeling different type of tasks. Task implementation varies 9261// based on the TaskType. 9262type Task struct { 9263 _ struct{} `type:"structure"` 9264 9265 // The operation to be performed on the provided source fields. 9266 ConnectorOperator *ConnectorOperator `locationName:"connectorOperator" type:"structure"` 9267 9268 // A field in a destination connector, or a field value against which Amazon 9269 // AppFlow validates a source field. 9270 DestinationField *string `locationName:"destinationField" type:"string"` 9271 9272 // The source fields to which a particular task is applied. 9273 // 9274 // SourceFields is a required field 9275 SourceFields []*string `locationName:"sourceFields" type:"list" required:"true"` 9276 9277 // A map used to store task-related information. The execution service looks 9278 // for particular information based on the TaskType. 9279 TaskProperties map[string]*string `locationName:"taskProperties" type:"map"` 9280 9281 // Specifies the particular task implementation that Amazon AppFlow performs. 9282 // 9283 // TaskType is a required field 9284 TaskType *string `locationName:"taskType" type:"string" required:"true" enum:"TaskType"` 9285} 9286 9287// String returns the string representation 9288func (s Task) String() string { 9289 return awsutil.Prettify(s) 9290} 9291 9292// GoString returns the string representation 9293func (s Task) GoString() string { 9294 return s.String() 9295} 9296 9297// Validate inspects the fields of the type to determine if they are valid. 9298func (s *Task) Validate() error { 9299 invalidParams := request.ErrInvalidParams{Context: "Task"} 9300 if s.SourceFields == nil { 9301 invalidParams.Add(request.NewErrParamRequired("SourceFields")) 9302 } 9303 if s.TaskType == nil { 9304 invalidParams.Add(request.NewErrParamRequired("TaskType")) 9305 } 9306 9307 if invalidParams.Len() > 0 { 9308 return invalidParams 9309 } 9310 return nil 9311} 9312 9313// SetConnectorOperator sets the ConnectorOperator field's value. 9314func (s *Task) SetConnectorOperator(v *ConnectorOperator) *Task { 9315 s.ConnectorOperator = v 9316 return s 9317} 9318 9319// SetDestinationField sets the DestinationField field's value. 9320func (s *Task) SetDestinationField(v string) *Task { 9321 s.DestinationField = &v 9322 return s 9323} 9324 9325// SetSourceFields sets the SourceFields field's value. 9326func (s *Task) SetSourceFields(v []*string) *Task { 9327 s.SourceFields = v 9328 return s 9329} 9330 9331// SetTaskProperties sets the TaskProperties field's value. 9332func (s *Task) SetTaskProperties(v map[string]*string) *Task { 9333 s.TaskProperties = v 9334 return s 9335} 9336 9337// SetTaskType sets the TaskType field's value. 9338func (s *Task) SetTaskType(v string) *Task { 9339 s.TaskType = &v 9340 return s 9341} 9342 9343// The connector-specific profile credentials required when using Trend Micro. 9344type TrendmicroConnectorProfileCredentials struct { 9345 _ struct{} `type:"structure"` 9346 9347 // The Secret Access Key portion of the credentials. 9348 // 9349 // ApiSecretKey is a required field 9350 ApiSecretKey *string `locationName:"apiSecretKey" type:"string" required:"true" sensitive:"true"` 9351} 9352 9353// String returns the string representation 9354func (s TrendmicroConnectorProfileCredentials) String() string { 9355 return awsutil.Prettify(s) 9356} 9357 9358// GoString returns the string representation 9359func (s TrendmicroConnectorProfileCredentials) GoString() string { 9360 return s.String() 9361} 9362 9363// Validate inspects the fields of the type to determine if they are valid. 9364func (s *TrendmicroConnectorProfileCredentials) Validate() error { 9365 invalidParams := request.ErrInvalidParams{Context: "TrendmicroConnectorProfileCredentials"} 9366 if s.ApiSecretKey == nil { 9367 invalidParams.Add(request.NewErrParamRequired("ApiSecretKey")) 9368 } 9369 9370 if invalidParams.Len() > 0 { 9371 return invalidParams 9372 } 9373 return nil 9374} 9375 9376// SetApiSecretKey sets the ApiSecretKey field's value. 9377func (s *TrendmicroConnectorProfileCredentials) SetApiSecretKey(v string) *TrendmicroConnectorProfileCredentials { 9378 s.ApiSecretKey = &v 9379 return s 9380} 9381 9382// The connector-specific profile properties required when using Trend Micro. 9383type TrendmicroConnectorProfileProperties struct { 9384 _ struct{} `type:"structure"` 9385} 9386 9387// String returns the string representation 9388func (s TrendmicroConnectorProfileProperties) String() string { 9389 return awsutil.Prettify(s) 9390} 9391 9392// GoString returns the string representation 9393func (s TrendmicroConnectorProfileProperties) GoString() string { 9394 return s.String() 9395} 9396 9397// The connector metadata specific to Trend Micro. 9398type TrendmicroMetadata struct { 9399 _ struct{} `type:"structure"` 9400} 9401 9402// String returns the string representation 9403func (s TrendmicroMetadata) String() string { 9404 return awsutil.Prettify(s) 9405} 9406 9407// GoString returns the string representation 9408func (s TrendmicroMetadata) GoString() string { 9409 return s.String() 9410} 9411 9412// The properties that are applied when using Trend Micro as a flow source. 9413type TrendmicroSourceProperties struct { 9414 _ struct{} `type:"structure"` 9415 9416 // The object specified in the Trend Micro flow source. 9417 // 9418 // Object is a required field 9419 Object *string `locationName:"object" type:"string" required:"true"` 9420} 9421 9422// String returns the string representation 9423func (s TrendmicroSourceProperties) String() string { 9424 return awsutil.Prettify(s) 9425} 9426 9427// GoString returns the string representation 9428func (s TrendmicroSourceProperties) GoString() string { 9429 return s.String() 9430} 9431 9432// Validate inspects the fields of the type to determine if they are valid. 9433func (s *TrendmicroSourceProperties) Validate() error { 9434 invalidParams := request.ErrInvalidParams{Context: "TrendmicroSourceProperties"} 9435 if s.Object == nil { 9436 invalidParams.Add(request.NewErrParamRequired("Object")) 9437 } 9438 9439 if invalidParams.Len() > 0 { 9440 return invalidParams 9441 } 9442 return nil 9443} 9444 9445// SetObject sets the Object field's value. 9446func (s *TrendmicroSourceProperties) SetObject(v string) *TrendmicroSourceProperties { 9447 s.Object = &v 9448 return s 9449} 9450 9451// The trigger settings that determine how and when Amazon AppFlow runs the 9452// specified flow. 9453type TriggerConfig struct { 9454 _ struct{} `type:"structure"` 9455 9456 // Specifies the configuration details of a schedule-triggered flow as defined 9457 // by the user. Currently, these settings only apply to the Scheduled trigger 9458 // type. 9459 TriggerProperties *TriggerProperties `locationName:"triggerProperties" type:"structure"` 9460 9461 // Specifies the type of flow trigger. This can be OnDemand, Scheduled, or Event. 9462 // 9463 // TriggerType is a required field 9464 TriggerType *string `locationName:"triggerType" type:"string" required:"true" enum:"TriggerType"` 9465} 9466 9467// String returns the string representation 9468func (s TriggerConfig) String() string { 9469 return awsutil.Prettify(s) 9470} 9471 9472// GoString returns the string representation 9473func (s TriggerConfig) GoString() string { 9474 return s.String() 9475} 9476 9477// Validate inspects the fields of the type to determine if they are valid. 9478func (s *TriggerConfig) Validate() error { 9479 invalidParams := request.ErrInvalidParams{Context: "TriggerConfig"} 9480 if s.TriggerType == nil { 9481 invalidParams.Add(request.NewErrParamRequired("TriggerType")) 9482 } 9483 if s.TriggerProperties != nil { 9484 if err := s.TriggerProperties.Validate(); err != nil { 9485 invalidParams.AddNested("TriggerProperties", err.(request.ErrInvalidParams)) 9486 } 9487 } 9488 9489 if invalidParams.Len() > 0 { 9490 return invalidParams 9491 } 9492 return nil 9493} 9494 9495// SetTriggerProperties sets the TriggerProperties field's value. 9496func (s *TriggerConfig) SetTriggerProperties(v *TriggerProperties) *TriggerConfig { 9497 s.TriggerProperties = v 9498 return s 9499} 9500 9501// SetTriggerType sets the TriggerType field's value. 9502func (s *TriggerConfig) SetTriggerType(v string) *TriggerConfig { 9503 s.TriggerType = &v 9504 return s 9505} 9506 9507// Specifies the configuration details that control the trigger for a flow. 9508// Currently, these settings only apply to the Scheduled trigger type. 9509type TriggerProperties struct { 9510 _ struct{} `type:"structure"` 9511 9512 // Specifies the configuration details of a schedule-triggered flow as defined 9513 // by the user. 9514 Scheduled *ScheduledTriggerProperties `type:"structure"` 9515} 9516 9517// String returns the string representation 9518func (s TriggerProperties) String() string { 9519 return awsutil.Prettify(s) 9520} 9521 9522// GoString returns the string representation 9523func (s TriggerProperties) GoString() string { 9524 return s.String() 9525} 9526 9527// Validate inspects the fields of the type to determine if they are valid. 9528func (s *TriggerProperties) Validate() error { 9529 invalidParams := request.ErrInvalidParams{Context: "TriggerProperties"} 9530 if s.Scheduled != nil { 9531 if err := s.Scheduled.Validate(); err != nil { 9532 invalidParams.AddNested("Scheduled", err.(request.ErrInvalidParams)) 9533 } 9534 } 9535 9536 if invalidParams.Len() > 0 { 9537 return invalidParams 9538 } 9539 return nil 9540} 9541 9542// SetScheduled sets the Scheduled field's value. 9543func (s *TriggerProperties) SetScheduled(v *ScheduledTriggerProperties) *TriggerProperties { 9544 s.Scheduled = v 9545 return s 9546} 9547 9548// The requested operation is not supported for the current flow. 9549type UnsupportedOperationException struct { 9550 _ struct{} `type:"structure"` 9551 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 9552 9553 Message_ *string `locationName:"message" type:"string"` 9554} 9555 9556// String returns the string representation 9557func (s UnsupportedOperationException) String() string { 9558 return awsutil.Prettify(s) 9559} 9560 9561// GoString returns the string representation 9562func (s UnsupportedOperationException) GoString() string { 9563 return s.String() 9564} 9565 9566func newErrorUnsupportedOperationException(v protocol.ResponseMetadata) error { 9567 return &UnsupportedOperationException{ 9568 RespMetadata: v, 9569 } 9570} 9571 9572// Code returns the exception type name. 9573func (s *UnsupportedOperationException) Code() string { 9574 return "UnsupportedOperationException" 9575} 9576 9577// Message returns the exception's message. 9578func (s *UnsupportedOperationException) Message() string { 9579 if s.Message_ != nil { 9580 return *s.Message_ 9581 } 9582 return "" 9583} 9584 9585// OrigErr always returns nil, satisfies awserr.Error interface. 9586func (s *UnsupportedOperationException) OrigErr() error { 9587 return nil 9588} 9589 9590func (s *UnsupportedOperationException) Error() string { 9591 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 9592} 9593 9594// Status code returns the HTTP status code for the request's response error. 9595func (s *UnsupportedOperationException) StatusCode() int { 9596 return s.RespMetadata.StatusCode 9597} 9598 9599// RequestID returns the service's response RequestID for request. 9600func (s *UnsupportedOperationException) RequestID() string { 9601 return s.RespMetadata.RequestID 9602} 9603 9604type UntagResourceInput struct { 9605 _ struct{} `type:"structure"` 9606 9607 // The Amazon Resource Name (ARN) of the flow that you want to untag. 9608 // 9609 // ResourceArn is a required field 9610 ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` 9611 9612 // The tag keys associated with the tag that you want to remove from your flow. 9613 // 9614 // TagKeys is a required field 9615 TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` 9616} 9617 9618// String returns the string representation 9619func (s UntagResourceInput) String() string { 9620 return awsutil.Prettify(s) 9621} 9622 9623// GoString returns the string representation 9624func (s UntagResourceInput) GoString() string { 9625 return s.String() 9626} 9627 9628// Validate inspects the fields of the type to determine if they are valid. 9629func (s *UntagResourceInput) Validate() error { 9630 invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} 9631 if s.ResourceArn == nil { 9632 invalidParams.Add(request.NewErrParamRequired("ResourceArn")) 9633 } 9634 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { 9635 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) 9636 } 9637 if s.TagKeys == nil { 9638 invalidParams.Add(request.NewErrParamRequired("TagKeys")) 9639 } 9640 9641 if invalidParams.Len() > 0 { 9642 return invalidParams 9643 } 9644 return nil 9645} 9646 9647// SetResourceArn sets the ResourceArn field's value. 9648func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { 9649 s.ResourceArn = &v 9650 return s 9651} 9652 9653// SetTagKeys sets the TagKeys field's value. 9654func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { 9655 s.TagKeys = v 9656 return s 9657} 9658 9659type UntagResourceOutput struct { 9660 _ struct{} `type:"structure"` 9661} 9662 9663// String returns the string representation 9664func (s UntagResourceOutput) String() string { 9665 return awsutil.Prettify(s) 9666} 9667 9668// GoString returns the string representation 9669func (s UntagResourceOutput) GoString() string { 9670 return s.String() 9671} 9672 9673type UpdateConnectorProfileInput struct { 9674 _ struct{} `type:"structure"` 9675 9676 // Indicates the connection mode and if it is public or private. 9677 // 9678 // ConnectionMode is a required field 9679 ConnectionMode *string `locationName:"connectionMode" type:"string" required:"true" enum:"ConnectionMode"` 9680 9681 // Defines the connector-specific profile configuration and credentials. 9682 // 9683 // ConnectorProfileConfig is a required field 9684 ConnectorProfileConfig *ConnectorProfileConfig `locationName:"connectorProfileConfig" type:"structure" required:"true"` 9685 9686 // The name of the connector profile and is unique for each ConnectorProfile 9687 // in the Amazon Web Services account. 9688 // 9689 // ConnectorProfileName is a required field 9690 ConnectorProfileName *string `locationName:"connectorProfileName" type:"string" required:"true"` 9691} 9692 9693// String returns the string representation 9694func (s UpdateConnectorProfileInput) String() string { 9695 return awsutil.Prettify(s) 9696} 9697 9698// GoString returns the string representation 9699func (s UpdateConnectorProfileInput) GoString() string { 9700 return s.String() 9701} 9702 9703// Validate inspects the fields of the type to determine if they are valid. 9704func (s *UpdateConnectorProfileInput) Validate() error { 9705 invalidParams := request.ErrInvalidParams{Context: "UpdateConnectorProfileInput"} 9706 if s.ConnectionMode == nil { 9707 invalidParams.Add(request.NewErrParamRequired("ConnectionMode")) 9708 } 9709 if s.ConnectorProfileConfig == nil { 9710 invalidParams.Add(request.NewErrParamRequired("ConnectorProfileConfig")) 9711 } 9712 if s.ConnectorProfileName == nil { 9713 invalidParams.Add(request.NewErrParamRequired("ConnectorProfileName")) 9714 } 9715 if s.ConnectorProfileConfig != nil { 9716 if err := s.ConnectorProfileConfig.Validate(); err != nil { 9717 invalidParams.AddNested("ConnectorProfileConfig", err.(request.ErrInvalidParams)) 9718 } 9719 } 9720 9721 if invalidParams.Len() > 0 { 9722 return invalidParams 9723 } 9724 return nil 9725} 9726 9727// SetConnectionMode sets the ConnectionMode field's value. 9728func (s *UpdateConnectorProfileInput) SetConnectionMode(v string) *UpdateConnectorProfileInput { 9729 s.ConnectionMode = &v 9730 return s 9731} 9732 9733// SetConnectorProfileConfig sets the ConnectorProfileConfig field's value. 9734func (s *UpdateConnectorProfileInput) SetConnectorProfileConfig(v *ConnectorProfileConfig) *UpdateConnectorProfileInput { 9735 s.ConnectorProfileConfig = v 9736 return s 9737} 9738 9739// SetConnectorProfileName sets the ConnectorProfileName field's value. 9740func (s *UpdateConnectorProfileInput) SetConnectorProfileName(v string) *UpdateConnectorProfileInput { 9741 s.ConnectorProfileName = &v 9742 return s 9743} 9744 9745type UpdateConnectorProfileOutput struct { 9746 _ struct{} `type:"structure"` 9747 9748 // The Amazon Resource Name (ARN) of the connector profile. 9749 ConnectorProfileArn *string `locationName:"connectorProfileArn" type:"string"` 9750} 9751 9752// String returns the string representation 9753func (s UpdateConnectorProfileOutput) String() string { 9754 return awsutil.Prettify(s) 9755} 9756 9757// GoString returns the string representation 9758func (s UpdateConnectorProfileOutput) GoString() string { 9759 return s.String() 9760} 9761 9762// SetConnectorProfileArn sets the ConnectorProfileArn field's value. 9763func (s *UpdateConnectorProfileOutput) SetConnectorProfileArn(v string) *UpdateConnectorProfileOutput { 9764 s.ConnectorProfileArn = &v 9765 return s 9766} 9767 9768type UpdateFlowInput struct { 9769 _ struct{} `type:"structure"` 9770 9771 // A description of the flow. 9772 Description *string `locationName:"description" type:"string"` 9773 9774 // The configuration that controls how Amazon AppFlow transfers data to the 9775 // destination connector. 9776 // 9777 // DestinationFlowConfigList is a required field 9778 DestinationFlowConfigList []*DestinationFlowConfig `locationName:"destinationFlowConfigList" type:"list" required:"true"` 9779 9780 // The specified name of the flow. Spaces are not allowed. Use underscores (_) 9781 // or hyphens (-) only. 9782 // 9783 // FlowName is a required field 9784 FlowName *string `locationName:"flowName" type:"string" required:"true"` 9785 9786 // Contains information about the configuration of the source connector used 9787 // in the flow. 9788 // 9789 // SourceFlowConfig is a required field 9790 SourceFlowConfig *SourceFlowConfig `locationName:"sourceFlowConfig" type:"structure" required:"true"` 9791 9792 // A list of tasks that Amazon AppFlow performs while transferring the data 9793 // in the flow run. 9794 // 9795 // Tasks is a required field 9796 Tasks []*Task `locationName:"tasks" type:"list" required:"true"` 9797 9798 // The trigger settings that determine how and when the flow runs. 9799 // 9800 // TriggerConfig is a required field 9801 TriggerConfig *TriggerConfig `locationName:"triggerConfig" type:"structure" required:"true"` 9802} 9803 9804// String returns the string representation 9805func (s UpdateFlowInput) String() string { 9806 return awsutil.Prettify(s) 9807} 9808 9809// GoString returns the string representation 9810func (s UpdateFlowInput) GoString() string { 9811 return s.String() 9812} 9813 9814// Validate inspects the fields of the type to determine if they are valid. 9815func (s *UpdateFlowInput) Validate() error { 9816 invalidParams := request.ErrInvalidParams{Context: "UpdateFlowInput"} 9817 if s.DestinationFlowConfigList == nil { 9818 invalidParams.Add(request.NewErrParamRequired("DestinationFlowConfigList")) 9819 } 9820 if s.FlowName == nil { 9821 invalidParams.Add(request.NewErrParamRequired("FlowName")) 9822 } 9823 if s.SourceFlowConfig == nil { 9824 invalidParams.Add(request.NewErrParamRequired("SourceFlowConfig")) 9825 } 9826 if s.Tasks == nil { 9827 invalidParams.Add(request.NewErrParamRequired("Tasks")) 9828 } 9829 if s.TriggerConfig == nil { 9830 invalidParams.Add(request.NewErrParamRequired("TriggerConfig")) 9831 } 9832 if s.DestinationFlowConfigList != nil { 9833 for i, v := range s.DestinationFlowConfigList { 9834 if v == nil { 9835 continue 9836 } 9837 if err := v.Validate(); err != nil { 9838 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DestinationFlowConfigList", i), err.(request.ErrInvalidParams)) 9839 } 9840 } 9841 } 9842 if s.SourceFlowConfig != nil { 9843 if err := s.SourceFlowConfig.Validate(); err != nil { 9844 invalidParams.AddNested("SourceFlowConfig", err.(request.ErrInvalidParams)) 9845 } 9846 } 9847 if s.Tasks != nil { 9848 for i, v := range s.Tasks { 9849 if v == nil { 9850 continue 9851 } 9852 if err := v.Validate(); err != nil { 9853 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tasks", i), err.(request.ErrInvalidParams)) 9854 } 9855 } 9856 } 9857 if s.TriggerConfig != nil { 9858 if err := s.TriggerConfig.Validate(); err != nil { 9859 invalidParams.AddNested("TriggerConfig", err.(request.ErrInvalidParams)) 9860 } 9861 } 9862 9863 if invalidParams.Len() > 0 { 9864 return invalidParams 9865 } 9866 return nil 9867} 9868 9869// SetDescription sets the Description field's value. 9870func (s *UpdateFlowInput) SetDescription(v string) *UpdateFlowInput { 9871 s.Description = &v 9872 return s 9873} 9874 9875// SetDestinationFlowConfigList sets the DestinationFlowConfigList field's value. 9876func (s *UpdateFlowInput) SetDestinationFlowConfigList(v []*DestinationFlowConfig) *UpdateFlowInput { 9877 s.DestinationFlowConfigList = v 9878 return s 9879} 9880 9881// SetFlowName sets the FlowName field's value. 9882func (s *UpdateFlowInput) SetFlowName(v string) *UpdateFlowInput { 9883 s.FlowName = &v 9884 return s 9885} 9886 9887// SetSourceFlowConfig sets the SourceFlowConfig field's value. 9888func (s *UpdateFlowInput) SetSourceFlowConfig(v *SourceFlowConfig) *UpdateFlowInput { 9889 s.SourceFlowConfig = v 9890 return s 9891} 9892 9893// SetTasks sets the Tasks field's value. 9894func (s *UpdateFlowInput) SetTasks(v []*Task) *UpdateFlowInput { 9895 s.Tasks = v 9896 return s 9897} 9898 9899// SetTriggerConfig sets the TriggerConfig field's value. 9900func (s *UpdateFlowInput) SetTriggerConfig(v *TriggerConfig) *UpdateFlowInput { 9901 s.TriggerConfig = v 9902 return s 9903} 9904 9905type UpdateFlowOutput struct { 9906 _ struct{} `type:"structure"` 9907 9908 // Indicates the current status of the flow. 9909 FlowStatus *string `locationName:"flowStatus" type:"string" enum:"FlowStatus"` 9910} 9911 9912// String returns the string representation 9913func (s UpdateFlowOutput) String() string { 9914 return awsutil.Prettify(s) 9915} 9916 9917// GoString returns the string representation 9918func (s UpdateFlowOutput) GoString() string { 9919 return s.String() 9920} 9921 9922// SetFlowStatus sets the FlowStatus field's value. 9923func (s *UpdateFlowOutput) SetFlowStatus(v string) *UpdateFlowOutput { 9924 s.FlowStatus = &v 9925 return s 9926} 9927 9928// The properties that are applied when Upsolver is used as a destination. 9929type UpsolverDestinationProperties struct { 9930 _ struct{} `type:"structure"` 9931 9932 // The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred 9933 // data. 9934 // 9935 // BucketName is a required field 9936 BucketName *string `locationName:"bucketName" min:"16" type:"string" required:"true"` 9937 9938 // The object key for the destination Upsolver Amazon S3 bucket in which Amazon 9939 // AppFlow places the files. 9940 BucketPrefix *string `locationName:"bucketPrefix" type:"string"` 9941 9942 // The configuration that determines how data is formatted when Upsolver is 9943 // used as the flow destination. 9944 // 9945 // S3OutputFormatConfig is a required field 9946 S3OutputFormatConfig *UpsolverS3OutputFormatConfig `locationName:"s3OutputFormatConfig" type:"structure" required:"true"` 9947} 9948 9949// String returns the string representation 9950func (s UpsolverDestinationProperties) String() string { 9951 return awsutil.Prettify(s) 9952} 9953 9954// GoString returns the string representation 9955func (s UpsolverDestinationProperties) GoString() string { 9956 return s.String() 9957} 9958 9959// Validate inspects the fields of the type to determine if they are valid. 9960func (s *UpsolverDestinationProperties) Validate() error { 9961 invalidParams := request.ErrInvalidParams{Context: "UpsolverDestinationProperties"} 9962 if s.BucketName == nil { 9963 invalidParams.Add(request.NewErrParamRequired("BucketName")) 9964 } 9965 if s.BucketName != nil && len(*s.BucketName) < 16 { 9966 invalidParams.Add(request.NewErrParamMinLen("BucketName", 16)) 9967 } 9968 if s.S3OutputFormatConfig == nil { 9969 invalidParams.Add(request.NewErrParamRequired("S3OutputFormatConfig")) 9970 } 9971 if s.S3OutputFormatConfig != nil { 9972 if err := s.S3OutputFormatConfig.Validate(); err != nil { 9973 invalidParams.AddNested("S3OutputFormatConfig", err.(request.ErrInvalidParams)) 9974 } 9975 } 9976 9977 if invalidParams.Len() > 0 { 9978 return invalidParams 9979 } 9980 return nil 9981} 9982 9983// SetBucketName sets the BucketName field's value. 9984func (s *UpsolverDestinationProperties) SetBucketName(v string) *UpsolverDestinationProperties { 9985 s.BucketName = &v 9986 return s 9987} 9988 9989// SetBucketPrefix sets the BucketPrefix field's value. 9990func (s *UpsolverDestinationProperties) SetBucketPrefix(v string) *UpsolverDestinationProperties { 9991 s.BucketPrefix = &v 9992 return s 9993} 9994 9995// SetS3OutputFormatConfig sets the S3OutputFormatConfig field's value. 9996func (s *UpsolverDestinationProperties) SetS3OutputFormatConfig(v *UpsolverS3OutputFormatConfig) *UpsolverDestinationProperties { 9997 s.S3OutputFormatConfig = v 9998 return s 9999} 10000 10001// The connector metadata specific to Upsolver. 10002type UpsolverMetadata struct { 10003 _ struct{} `type:"structure"` 10004} 10005 10006// String returns the string representation 10007func (s UpsolverMetadata) String() string { 10008 return awsutil.Prettify(s) 10009} 10010 10011// GoString returns the string representation 10012func (s UpsolverMetadata) GoString() string { 10013 return s.String() 10014} 10015 10016// The configuration that determines how Amazon AppFlow formats the flow output 10017// data when Upsolver is used as the destination. 10018type UpsolverS3OutputFormatConfig struct { 10019 _ struct{} `type:"structure"` 10020 10021 // The aggregation settings that you can use to customize the output format 10022 // of your flow data. 10023 AggregationConfig *AggregationConfig `locationName:"aggregationConfig" type:"structure"` 10024 10025 // Indicates the file type that Amazon AppFlow places in the Upsolver Amazon 10026 // S3 bucket. 10027 FileType *string `locationName:"fileType" type:"string" enum:"FileType"` 10028 10029 // Determines the prefix that Amazon AppFlow applies to the destination folder 10030 // name. You can name your destination folders according to the flow frequency 10031 // and date. 10032 // 10033 // PrefixConfig is a required field 10034 PrefixConfig *PrefixConfig `locationName:"prefixConfig" type:"structure" required:"true"` 10035} 10036 10037// String returns the string representation 10038func (s UpsolverS3OutputFormatConfig) String() string { 10039 return awsutil.Prettify(s) 10040} 10041 10042// GoString returns the string representation 10043func (s UpsolverS3OutputFormatConfig) GoString() string { 10044 return s.String() 10045} 10046 10047// Validate inspects the fields of the type to determine if they are valid. 10048func (s *UpsolverS3OutputFormatConfig) Validate() error { 10049 invalidParams := request.ErrInvalidParams{Context: "UpsolverS3OutputFormatConfig"} 10050 if s.PrefixConfig == nil { 10051 invalidParams.Add(request.NewErrParamRequired("PrefixConfig")) 10052 } 10053 10054 if invalidParams.Len() > 0 { 10055 return invalidParams 10056 } 10057 return nil 10058} 10059 10060// SetAggregationConfig sets the AggregationConfig field's value. 10061func (s *UpsolverS3OutputFormatConfig) SetAggregationConfig(v *AggregationConfig) *UpsolverS3OutputFormatConfig { 10062 s.AggregationConfig = v 10063 return s 10064} 10065 10066// SetFileType sets the FileType field's value. 10067func (s *UpsolverS3OutputFormatConfig) SetFileType(v string) *UpsolverS3OutputFormatConfig { 10068 s.FileType = &v 10069 return s 10070} 10071 10072// SetPrefixConfig sets the PrefixConfig field's value. 10073func (s *UpsolverS3OutputFormatConfig) SetPrefixConfig(v *PrefixConfig) *UpsolverS3OutputFormatConfig { 10074 s.PrefixConfig = v 10075 return s 10076} 10077 10078// The request has invalid or missing parameters. 10079type ValidationException struct { 10080 _ struct{} `type:"structure"` 10081 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 10082 10083 Message_ *string `locationName:"message" type:"string"` 10084} 10085 10086// String returns the string representation 10087func (s ValidationException) String() string { 10088 return awsutil.Prettify(s) 10089} 10090 10091// GoString returns the string representation 10092func (s ValidationException) GoString() string { 10093 return s.String() 10094} 10095 10096func newErrorValidationException(v protocol.ResponseMetadata) error { 10097 return &ValidationException{ 10098 RespMetadata: v, 10099 } 10100} 10101 10102// Code returns the exception type name. 10103func (s *ValidationException) Code() string { 10104 return "ValidationException" 10105} 10106 10107// Message returns the exception's message. 10108func (s *ValidationException) Message() string { 10109 if s.Message_ != nil { 10110 return *s.Message_ 10111 } 10112 return "" 10113} 10114 10115// OrigErr always returns nil, satisfies awserr.Error interface. 10116func (s *ValidationException) OrigErr() error { 10117 return nil 10118} 10119 10120func (s *ValidationException) Error() string { 10121 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 10122} 10123 10124// Status code returns the HTTP status code for the request's response error. 10125func (s *ValidationException) StatusCode() int { 10126 return s.RespMetadata.StatusCode 10127} 10128 10129// RequestID returns the service's response RequestID for request. 10130func (s *ValidationException) RequestID() string { 10131 return s.RespMetadata.RequestID 10132} 10133 10134// The connector-specific profile credentials required when using Veeva. 10135type VeevaConnectorProfileCredentials struct { 10136 _ struct{} `type:"structure"` 10137 10138 // The password that corresponds to the user name. 10139 // 10140 // Password is a required field 10141 Password *string `locationName:"password" type:"string" required:"true" sensitive:"true"` 10142 10143 // The name of the user. 10144 // 10145 // Username is a required field 10146 Username *string `locationName:"username" type:"string" required:"true"` 10147} 10148 10149// String returns the string representation 10150func (s VeevaConnectorProfileCredentials) String() string { 10151 return awsutil.Prettify(s) 10152} 10153 10154// GoString returns the string representation 10155func (s VeevaConnectorProfileCredentials) GoString() string { 10156 return s.String() 10157} 10158 10159// Validate inspects the fields of the type to determine if they are valid. 10160func (s *VeevaConnectorProfileCredentials) Validate() error { 10161 invalidParams := request.ErrInvalidParams{Context: "VeevaConnectorProfileCredentials"} 10162 if s.Password == nil { 10163 invalidParams.Add(request.NewErrParamRequired("Password")) 10164 } 10165 if s.Username == nil { 10166 invalidParams.Add(request.NewErrParamRequired("Username")) 10167 } 10168 10169 if invalidParams.Len() > 0 { 10170 return invalidParams 10171 } 10172 return nil 10173} 10174 10175// SetPassword sets the Password field's value. 10176func (s *VeevaConnectorProfileCredentials) SetPassword(v string) *VeevaConnectorProfileCredentials { 10177 s.Password = &v 10178 return s 10179} 10180 10181// SetUsername sets the Username field's value. 10182func (s *VeevaConnectorProfileCredentials) SetUsername(v string) *VeevaConnectorProfileCredentials { 10183 s.Username = &v 10184 return s 10185} 10186 10187// The connector-specific profile properties required when using Veeva. 10188type VeevaConnectorProfileProperties struct { 10189 _ struct{} `type:"structure"` 10190 10191 // The location of the Veeva resource. 10192 // 10193 // InstanceUrl is a required field 10194 InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"` 10195} 10196 10197// String returns the string representation 10198func (s VeevaConnectorProfileProperties) String() string { 10199 return awsutil.Prettify(s) 10200} 10201 10202// GoString returns the string representation 10203func (s VeevaConnectorProfileProperties) GoString() string { 10204 return s.String() 10205} 10206 10207// Validate inspects the fields of the type to determine if they are valid. 10208func (s *VeevaConnectorProfileProperties) Validate() error { 10209 invalidParams := request.ErrInvalidParams{Context: "VeevaConnectorProfileProperties"} 10210 if s.InstanceUrl == nil { 10211 invalidParams.Add(request.NewErrParamRequired("InstanceUrl")) 10212 } 10213 10214 if invalidParams.Len() > 0 { 10215 return invalidParams 10216 } 10217 return nil 10218} 10219 10220// SetInstanceUrl sets the InstanceUrl field's value. 10221func (s *VeevaConnectorProfileProperties) SetInstanceUrl(v string) *VeevaConnectorProfileProperties { 10222 s.InstanceUrl = &v 10223 return s 10224} 10225 10226// The connector metadata specific to Veeva. 10227type VeevaMetadata struct { 10228 _ struct{} `type:"structure"` 10229} 10230 10231// String returns the string representation 10232func (s VeevaMetadata) String() string { 10233 return awsutil.Prettify(s) 10234} 10235 10236// GoString returns the string representation 10237func (s VeevaMetadata) GoString() string { 10238 return s.String() 10239} 10240 10241// The properties that are applied when using Veeva as a flow source. 10242type VeevaSourceProperties struct { 10243 _ struct{} `type:"structure"` 10244 10245 // The document type specified in the Veeva document extract flow. 10246 DocumentType *string `locationName:"documentType" type:"string"` 10247 10248 // Boolean value to include All Versions of files in Veeva document extract 10249 // flow. 10250 IncludeAllVersions *bool `locationName:"includeAllVersions" type:"boolean"` 10251 10252 // Boolean value to include file renditions in Veeva document extract flow. 10253 IncludeRenditions *bool `locationName:"includeRenditions" type:"boolean"` 10254 10255 // Boolean value to include source files in Veeva document extract flow. 10256 IncludeSourceFiles *bool `locationName:"includeSourceFiles" type:"boolean"` 10257 10258 // The object specified in the Veeva flow source. 10259 // 10260 // Object is a required field 10261 Object *string `locationName:"object" type:"string" required:"true"` 10262} 10263 10264// String returns the string representation 10265func (s VeevaSourceProperties) String() string { 10266 return awsutil.Prettify(s) 10267} 10268 10269// GoString returns the string representation 10270func (s VeevaSourceProperties) GoString() string { 10271 return s.String() 10272} 10273 10274// Validate inspects the fields of the type to determine if they are valid. 10275func (s *VeevaSourceProperties) Validate() error { 10276 invalidParams := request.ErrInvalidParams{Context: "VeevaSourceProperties"} 10277 if s.Object == nil { 10278 invalidParams.Add(request.NewErrParamRequired("Object")) 10279 } 10280 10281 if invalidParams.Len() > 0 { 10282 return invalidParams 10283 } 10284 return nil 10285} 10286 10287// SetDocumentType sets the DocumentType field's value. 10288func (s *VeevaSourceProperties) SetDocumentType(v string) *VeevaSourceProperties { 10289 s.DocumentType = &v 10290 return s 10291} 10292 10293// SetIncludeAllVersions sets the IncludeAllVersions field's value. 10294func (s *VeevaSourceProperties) SetIncludeAllVersions(v bool) *VeevaSourceProperties { 10295 s.IncludeAllVersions = &v 10296 return s 10297} 10298 10299// SetIncludeRenditions sets the IncludeRenditions field's value. 10300func (s *VeevaSourceProperties) SetIncludeRenditions(v bool) *VeevaSourceProperties { 10301 s.IncludeRenditions = &v 10302 return s 10303} 10304 10305// SetIncludeSourceFiles sets the IncludeSourceFiles field's value. 10306func (s *VeevaSourceProperties) SetIncludeSourceFiles(v bool) *VeevaSourceProperties { 10307 s.IncludeSourceFiles = &v 10308 return s 10309} 10310 10311// SetObject sets the Object field's value. 10312func (s *VeevaSourceProperties) SetObject(v string) *VeevaSourceProperties { 10313 s.Object = &v 10314 return s 10315} 10316 10317// The connector-specific profile credentials required when using Zendesk. 10318type ZendeskConnectorProfileCredentials struct { 10319 _ struct{} `type:"structure"` 10320 10321 // The credentials used to access protected Zendesk resources. 10322 AccessToken *string `locationName:"accessToken" type:"string" sensitive:"true"` 10323 10324 // The identifier for the desired client. 10325 // 10326 // ClientId is a required field 10327 ClientId *string `locationName:"clientId" type:"string" required:"true"` 10328 10329 // The client secret used by the OAuth client to authenticate to the authorization 10330 // server. 10331 // 10332 // ClientSecret is a required field 10333 ClientSecret *string `locationName:"clientSecret" type:"string" required:"true" sensitive:"true"` 10334 10335 // The OAuth requirement needed to request security tokens from the connector 10336 // endpoint. 10337 OAuthRequest *ConnectorOAuthRequest `locationName:"oAuthRequest" type:"structure"` 10338} 10339 10340// String returns the string representation 10341func (s ZendeskConnectorProfileCredentials) String() string { 10342 return awsutil.Prettify(s) 10343} 10344 10345// GoString returns the string representation 10346func (s ZendeskConnectorProfileCredentials) GoString() string { 10347 return s.String() 10348} 10349 10350// Validate inspects the fields of the type to determine if they are valid. 10351func (s *ZendeskConnectorProfileCredentials) Validate() error { 10352 invalidParams := request.ErrInvalidParams{Context: "ZendeskConnectorProfileCredentials"} 10353 if s.ClientId == nil { 10354 invalidParams.Add(request.NewErrParamRequired("ClientId")) 10355 } 10356 if s.ClientSecret == nil { 10357 invalidParams.Add(request.NewErrParamRequired("ClientSecret")) 10358 } 10359 10360 if invalidParams.Len() > 0 { 10361 return invalidParams 10362 } 10363 return nil 10364} 10365 10366// SetAccessToken sets the AccessToken field's value. 10367func (s *ZendeskConnectorProfileCredentials) SetAccessToken(v string) *ZendeskConnectorProfileCredentials { 10368 s.AccessToken = &v 10369 return s 10370} 10371 10372// SetClientId sets the ClientId field's value. 10373func (s *ZendeskConnectorProfileCredentials) SetClientId(v string) *ZendeskConnectorProfileCredentials { 10374 s.ClientId = &v 10375 return s 10376} 10377 10378// SetClientSecret sets the ClientSecret field's value. 10379func (s *ZendeskConnectorProfileCredentials) SetClientSecret(v string) *ZendeskConnectorProfileCredentials { 10380 s.ClientSecret = &v 10381 return s 10382} 10383 10384// SetOAuthRequest sets the OAuthRequest field's value. 10385func (s *ZendeskConnectorProfileCredentials) SetOAuthRequest(v *ConnectorOAuthRequest) *ZendeskConnectorProfileCredentials { 10386 s.OAuthRequest = v 10387 return s 10388} 10389 10390// The connector-specific profile properties required when using Zendesk. 10391type ZendeskConnectorProfileProperties struct { 10392 _ struct{} `type:"structure"` 10393 10394 // The location of the Zendesk resource. 10395 // 10396 // InstanceUrl is a required field 10397 InstanceUrl *string `locationName:"instanceUrl" type:"string" required:"true"` 10398} 10399 10400// String returns the string representation 10401func (s ZendeskConnectorProfileProperties) String() string { 10402 return awsutil.Prettify(s) 10403} 10404 10405// GoString returns the string representation 10406func (s ZendeskConnectorProfileProperties) GoString() string { 10407 return s.String() 10408} 10409 10410// Validate inspects the fields of the type to determine if they are valid. 10411func (s *ZendeskConnectorProfileProperties) Validate() error { 10412 invalidParams := request.ErrInvalidParams{Context: "ZendeskConnectorProfileProperties"} 10413 if s.InstanceUrl == nil { 10414 invalidParams.Add(request.NewErrParamRequired("InstanceUrl")) 10415 } 10416 10417 if invalidParams.Len() > 0 { 10418 return invalidParams 10419 } 10420 return nil 10421} 10422 10423// SetInstanceUrl sets the InstanceUrl field's value. 10424func (s *ZendeskConnectorProfileProperties) SetInstanceUrl(v string) *ZendeskConnectorProfileProperties { 10425 s.InstanceUrl = &v 10426 return s 10427} 10428 10429// The properties that are applied when Zendesk is used as a destination. 10430type ZendeskDestinationProperties struct { 10431 _ struct{} `type:"structure"` 10432 10433 // The settings that determine how Amazon AppFlow handles an error when placing 10434 // data in the destination. For example, this setting would determine if the 10435 // flow should fail after one insertion error, or continue and attempt to insert 10436 // every record regardless of the initial failure. ErrorHandlingConfig is a 10437 // part of the destination connector details. 10438 ErrorHandlingConfig *ErrorHandlingConfig `locationName:"errorHandlingConfig" type:"structure"` 10439 10440 // A list of field names that can be used as an ID field when performing a write 10441 // operation. 10442 IdFieldNames []*string `locationName:"idFieldNames" type:"list"` 10443 10444 // The object specified in the Zendesk flow destination. 10445 // 10446 // Object is a required field 10447 Object *string `locationName:"object" type:"string" required:"true"` 10448 10449 // The possible write operations in the destination connector. When this value 10450 // is not provided, this defaults to the INSERT operation. 10451 WriteOperationType *string `locationName:"writeOperationType" type:"string" enum:"WriteOperationType"` 10452} 10453 10454// String returns the string representation 10455func (s ZendeskDestinationProperties) String() string { 10456 return awsutil.Prettify(s) 10457} 10458 10459// GoString returns the string representation 10460func (s ZendeskDestinationProperties) GoString() string { 10461 return s.String() 10462} 10463 10464// Validate inspects the fields of the type to determine if they are valid. 10465func (s *ZendeskDestinationProperties) Validate() error { 10466 invalidParams := request.ErrInvalidParams{Context: "ZendeskDestinationProperties"} 10467 if s.Object == nil { 10468 invalidParams.Add(request.NewErrParamRequired("Object")) 10469 } 10470 if s.ErrorHandlingConfig != nil { 10471 if err := s.ErrorHandlingConfig.Validate(); err != nil { 10472 invalidParams.AddNested("ErrorHandlingConfig", err.(request.ErrInvalidParams)) 10473 } 10474 } 10475 10476 if invalidParams.Len() > 0 { 10477 return invalidParams 10478 } 10479 return nil 10480} 10481 10482// SetErrorHandlingConfig sets the ErrorHandlingConfig field's value. 10483func (s *ZendeskDestinationProperties) SetErrorHandlingConfig(v *ErrorHandlingConfig) *ZendeskDestinationProperties { 10484 s.ErrorHandlingConfig = v 10485 return s 10486} 10487 10488// SetIdFieldNames sets the IdFieldNames field's value. 10489func (s *ZendeskDestinationProperties) SetIdFieldNames(v []*string) *ZendeskDestinationProperties { 10490 s.IdFieldNames = v 10491 return s 10492} 10493 10494// SetObject sets the Object field's value. 10495func (s *ZendeskDestinationProperties) SetObject(v string) *ZendeskDestinationProperties { 10496 s.Object = &v 10497 return s 10498} 10499 10500// SetWriteOperationType sets the WriteOperationType field's value. 10501func (s *ZendeskDestinationProperties) SetWriteOperationType(v string) *ZendeskDestinationProperties { 10502 s.WriteOperationType = &v 10503 return s 10504} 10505 10506// The connector metadata specific to Zendesk. 10507type ZendeskMetadata struct { 10508 _ struct{} `type:"structure"` 10509 10510 // The desired authorization scope for the Zendesk account. 10511 OAuthScopes []*string `locationName:"oAuthScopes" type:"list"` 10512} 10513 10514// String returns the string representation 10515func (s ZendeskMetadata) String() string { 10516 return awsutil.Prettify(s) 10517} 10518 10519// GoString returns the string representation 10520func (s ZendeskMetadata) GoString() string { 10521 return s.String() 10522} 10523 10524// SetOAuthScopes sets the OAuthScopes field's value. 10525func (s *ZendeskMetadata) SetOAuthScopes(v []*string) *ZendeskMetadata { 10526 s.OAuthScopes = v 10527 return s 10528} 10529 10530// The properties that are applied when using Zendesk as a flow source. 10531type ZendeskSourceProperties struct { 10532 _ struct{} `type:"structure"` 10533 10534 // The object specified in the Zendesk flow source. 10535 // 10536 // Object is a required field 10537 Object *string `locationName:"object" type:"string" required:"true"` 10538} 10539 10540// String returns the string representation 10541func (s ZendeskSourceProperties) String() string { 10542 return awsutil.Prettify(s) 10543} 10544 10545// GoString returns the string representation 10546func (s ZendeskSourceProperties) GoString() string { 10547 return s.String() 10548} 10549 10550// Validate inspects the fields of the type to determine if they are valid. 10551func (s *ZendeskSourceProperties) Validate() error { 10552 invalidParams := request.ErrInvalidParams{Context: "ZendeskSourceProperties"} 10553 if s.Object == nil { 10554 invalidParams.Add(request.NewErrParamRequired("Object")) 10555 } 10556 10557 if invalidParams.Len() > 0 { 10558 return invalidParams 10559 } 10560 return nil 10561} 10562 10563// SetObject sets the Object field's value. 10564func (s *ZendeskSourceProperties) SetObject(v string) *ZendeskSourceProperties { 10565 s.Object = &v 10566 return s 10567} 10568 10569const ( 10570 // AggregationTypeNone is a AggregationType enum value 10571 AggregationTypeNone = "None" 10572 10573 // AggregationTypeSingleFile is a AggregationType enum value 10574 AggregationTypeSingleFile = "SingleFile" 10575) 10576 10577// AggregationType_Values returns all elements of the AggregationType enum 10578func AggregationType_Values() []string { 10579 return []string{ 10580 AggregationTypeNone, 10581 AggregationTypeSingleFile, 10582 } 10583} 10584 10585const ( 10586 // AmplitudeConnectorOperatorBetween is a AmplitudeConnectorOperator enum value 10587 AmplitudeConnectorOperatorBetween = "BETWEEN" 10588) 10589 10590// AmplitudeConnectorOperator_Values returns all elements of the AmplitudeConnectorOperator enum 10591func AmplitudeConnectorOperator_Values() []string { 10592 return []string{ 10593 AmplitudeConnectorOperatorBetween, 10594 } 10595} 10596 10597const ( 10598 // ConnectionModePublic is a ConnectionMode enum value 10599 ConnectionModePublic = "Public" 10600 10601 // ConnectionModePrivate is a ConnectionMode enum value 10602 ConnectionModePrivate = "Private" 10603) 10604 10605// ConnectionMode_Values returns all elements of the ConnectionMode enum 10606func ConnectionMode_Values() []string { 10607 return []string{ 10608 ConnectionModePublic, 10609 ConnectionModePrivate, 10610 } 10611} 10612 10613const ( 10614 // ConnectorTypeSalesforce is a ConnectorType enum value 10615 ConnectorTypeSalesforce = "Salesforce" 10616 10617 // ConnectorTypeSingular is a ConnectorType enum value 10618 ConnectorTypeSingular = "Singular" 10619 10620 // ConnectorTypeSlack is a ConnectorType enum value 10621 ConnectorTypeSlack = "Slack" 10622 10623 // ConnectorTypeRedshift is a ConnectorType enum value 10624 ConnectorTypeRedshift = "Redshift" 10625 10626 // ConnectorTypeS3 is a ConnectorType enum value 10627 ConnectorTypeS3 = "S3" 10628 10629 // ConnectorTypeMarketo is a ConnectorType enum value 10630 ConnectorTypeMarketo = "Marketo" 10631 10632 // ConnectorTypeGoogleanalytics is a ConnectorType enum value 10633 ConnectorTypeGoogleanalytics = "Googleanalytics" 10634 10635 // ConnectorTypeZendesk is a ConnectorType enum value 10636 ConnectorTypeZendesk = "Zendesk" 10637 10638 // ConnectorTypeServicenow is a ConnectorType enum value 10639 ConnectorTypeServicenow = "Servicenow" 10640 10641 // ConnectorTypeDatadog is a ConnectorType enum value 10642 ConnectorTypeDatadog = "Datadog" 10643 10644 // ConnectorTypeTrendmicro is a ConnectorType enum value 10645 ConnectorTypeTrendmicro = "Trendmicro" 10646 10647 // ConnectorTypeSnowflake is a ConnectorType enum value 10648 ConnectorTypeSnowflake = "Snowflake" 10649 10650 // ConnectorTypeDynatrace is a ConnectorType enum value 10651 ConnectorTypeDynatrace = "Dynatrace" 10652 10653 // ConnectorTypeInfornexus is a ConnectorType enum value 10654 ConnectorTypeInfornexus = "Infornexus" 10655 10656 // ConnectorTypeAmplitude is a ConnectorType enum value 10657 ConnectorTypeAmplitude = "Amplitude" 10658 10659 // ConnectorTypeVeeva is a ConnectorType enum value 10660 ConnectorTypeVeeva = "Veeva" 10661 10662 // ConnectorTypeEventBridge is a ConnectorType enum value 10663 ConnectorTypeEventBridge = "EventBridge" 10664 10665 // ConnectorTypeLookoutMetrics is a ConnectorType enum value 10666 ConnectorTypeLookoutMetrics = "LookoutMetrics" 10667 10668 // ConnectorTypeUpsolver is a ConnectorType enum value 10669 ConnectorTypeUpsolver = "Upsolver" 10670 10671 // ConnectorTypeHoneycode is a ConnectorType enum value 10672 ConnectorTypeHoneycode = "Honeycode" 10673 10674 // ConnectorTypeCustomerProfiles is a ConnectorType enum value 10675 ConnectorTypeCustomerProfiles = "CustomerProfiles" 10676 10677 // ConnectorTypeSapodata is a ConnectorType enum value 10678 ConnectorTypeSapodata = "SAPOData" 10679) 10680 10681// ConnectorType_Values returns all elements of the ConnectorType enum 10682func ConnectorType_Values() []string { 10683 return []string{ 10684 ConnectorTypeSalesforce, 10685 ConnectorTypeSingular, 10686 ConnectorTypeSlack, 10687 ConnectorTypeRedshift, 10688 ConnectorTypeS3, 10689 ConnectorTypeMarketo, 10690 ConnectorTypeGoogleanalytics, 10691 ConnectorTypeZendesk, 10692 ConnectorTypeServicenow, 10693 ConnectorTypeDatadog, 10694 ConnectorTypeTrendmicro, 10695 ConnectorTypeSnowflake, 10696 ConnectorTypeDynatrace, 10697 ConnectorTypeInfornexus, 10698 ConnectorTypeAmplitude, 10699 ConnectorTypeVeeva, 10700 ConnectorTypeEventBridge, 10701 ConnectorTypeLookoutMetrics, 10702 ConnectorTypeUpsolver, 10703 ConnectorTypeHoneycode, 10704 ConnectorTypeCustomerProfiles, 10705 ConnectorTypeSapodata, 10706 } 10707} 10708 10709const ( 10710 // DataPullModeIncremental is a DataPullMode enum value 10711 DataPullModeIncremental = "Incremental" 10712 10713 // DataPullModeComplete is a DataPullMode enum value 10714 DataPullModeComplete = "Complete" 10715) 10716 10717// DataPullMode_Values returns all elements of the DataPullMode enum 10718func DataPullMode_Values() []string { 10719 return []string{ 10720 DataPullModeIncremental, 10721 DataPullModeComplete, 10722 } 10723} 10724 10725const ( 10726 // DatadogConnectorOperatorProjection is a DatadogConnectorOperator enum value 10727 DatadogConnectorOperatorProjection = "PROJECTION" 10728 10729 // DatadogConnectorOperatorBetween is a DatadogConnectorOperator enum value 10730 DatadogConnectorOperatorBetween = "BETWEEN" 10731 10732 // DatadogConnectorOperatorEqualTo is a DatadogConnectorOperator enum value 10733 DatadogConnectorOperatorEqualTo = "EQUAL_TO" 10734 10735 // DatadogConnectorOperatorAddition is a DatadogConnectorOperator enum value 10736 DatadogConnectorOperatorAddition = "ADDITION" 10737 10738 // DatadogConnectorOperatorMultiplication is a DatadogConnectorOperator enum value 10739 DatadogConnectorOperatorMultiplication = "MULTIPLICATION" 10740 10741 // DatadogConnectorOperatorDivision is a DatadogConnectorOperator enum value 10742 DatadogConnectorOperatorDivision = "DIVISION" 10743 10744 // DatadogConnectorOperatorSubtraction is a DatadogConnectorOperator enum value 10745 DatadogConnectorOperatorSubtraction = "SUBTRACTION" 10746 10747 // DatadogConnectorOperatorMaskAll is a DatadogConnectorOperator enum value 10748 DatadogConnectorOperatorMaskAll = "MASK_ALL" 10749 10750 // DatadogConnectorOperatorMaskFirstN is a DatadogConnectorOperator enum value 10751 DatadogConnectorOperatorMaskFirstN = "MASK_FIRST_N" 10752 10753 // DatadogConnectorOperatorMaskLastN is a DatadogConnectorOperator enum value 10754 DatadogConnectorOperatorMaskLastN = "MASK_LAST_N" 10755 10756 // DatadogConnectorOperatorValidateNonNull is a DatadogConnectorOperator enum value 10757 DatadogConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 10758 10759 // DatadogConnectorOperatorValidateNonZero is a DatadogConnectorOperator enum value 10760 DatadogConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 10761 10762 // DatadogConnectorOperatorValidateNonNegative is a DatadogConnectorOperator enum value 10763 DatadogConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 10764 10765 // DatadogConnectorOperatorValidateNumeric is a DatadogConnectorOperator enum value 10766 DatadogConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 10767 10768 // DatadogConnectorOperatorNoOp is a DatadogConnectorOperator enum value 10769 DatadogConnectorOperatorNoOp = "NO_OP" 10770) 10771 10772// DatadogConnectorOperator_Values returns all elements of the DatadogConnectorOperator enum 10773func DatadogConnectorOperator_Values() []string { 10774 return []string{ 10775 DatadogConnectorOperatorProjection, 10776 DatadogConnectorOperatorBetween, 10777 DatadogConnectorOperatorEqualTo, 10778 DatadogConnectorOperatorAddition, 10779 DatadogConnectorOperatorMultiplication, 10780 DatadogConnectorOperatorDivision, 10781 DatadogConnectorOperatorSubtraction, 10782 DatadogConnectorOperatorMaskAll, 10783 DatadogConnectorOperatorMaskFirstN, 10784 DatadogConnectorOperatorMaskLastN, 10785 DatadogConnectorOperatorValidateNonNull, 10786 DatadogConnectorOperatorValidateNonZero, 10787 DatadogConnectorOperatorValidateNonNegative, 10788 DatadogConnectorOperatorValidateNumeric, 10789 DatadogConnectorOperatorNoOp, 10790 } 10791} 10792 10793const ( 10794 // DynatraceConnectorOperatorProjection is a DynatraceConnectorOperator enum value 10795 DynatraceConnectorOperatorProjection = "PROJECTION" 10796 10797 // DynatraceConnectorOperatorBetween is a DynatraceConnectorOperator enum value 10798 DynatraceConnectorOperatorBetween = "BETWEEN" 10799 10800 // DynatraceConnectorOperatorEqualTo is a DynatraceConnectorOperator enum value 10801 DynatraceConnectorOperatorEqualTo = "EQUAL_TO" 10802 10803 // DynatraceConnectorOperatorAddition is a DynatraceConnectorOperator enum value 10804 DynatraceConnectorOperatorAddition = "ADDITION" 10805 10806 // DynatraceConnectorOperatorMultiplication is a DynatraceConnectorOperator enum value 10807 DynatraceConnectorOperatorMultiplication = "MULTIPLICATION" 10808 10809 // DynatraceConnectorOperatorDivision is a DynatraceConnectorOperator enum value 10810 DynatraceConnectorOperatorDivision = "DIVISION" 10811 10812 // DynatraceConnectorOperatorSubtraction is a DynatraceConnectorOperator enum value 10813 DynatraceConnectorOperatorSubtraction = "SUBTRACTION" 10814 10815 // DynatraceConnectorOperatorMaskAll is a DynatraceConnectorOperator enum value 10816 DynatraceConnectorOperatorMaskAll = "MASK_ALL" 10817 10818 // DynatraceConnectorOperatorMaskFirstN is a DynatraceConnectorOperator enum value 10819 DynatraceConnectorOperatorMaskFirstN = "MASK_FIRST_N" 10820 10821 // DynatraceConnectorOperatorMaskLastN is a DynatraceConnectorOperator enum value 10822 DynatraceConnectorOperatorMaskLastN = "MASK_LAST_N" 10823 10824 // DynatraceConnectorOperatorValidateNonNull is a DynatraceConnectorOperator enum value 10825 DynatraceConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 10826 10827 // DynatraceConnectorOperatorValidateNonZero is a DynatraceConnectorOperator enum value 10828 DynatraceConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 10829 10830 // DynatraceConnectorOperatorValidateNonNegative is a DynatraceConnectorOperator enum value 10831 DynatraceConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 10832 10833 // DynatraceConnectorOperatorValidateNumeric is a DynatraceConnectorOperator enum value 10834 DynatraceConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 10835 10836 // DynatraceConnectorOperatorNoOp is a DynatraceConnectorOperator enum value 10837 DynatraceConnectorOperatorNoOp = "NO_OP" 10838) 10839 10840// DynatraceConnectorOperator_Values returns all elements of the DynatraceConnectorOperator enum 10841func DynatraceConnectorOperator_Values() []string { 10842 return []string{ 10843 DynatraceConnectorOperatorProjection, 10844 DynatraceConnectorOperatorBetween, 10845 DynatraceConnectorOperatorEqualTo, 10846 DynatraceConnectorOperatorAddition, 10847 DynatraceConnectorOperatorMultiplication, 10848 DynatraceConnectorOperatorDivision, 10849 DynatraceConnectorOperatorSubtraction, 10850 DynatraceConnectorOperatorMaskAll, 10851 DynatraceConnectorOperatorMaskFirstN, 10852 DynatraceConnectorOperatorMaskLastN, 10853 DynatraceConnectorOperatorValidateNonNull, 10854 DynatraceConnectorOperatorValidateNonZero, 10855 DynatraceConnectorOperatorValidateNonNegative, 10856 DynatraceConnectorOperatorValidateNumeric, 10857 DynatraceConnectorOperatorNoOp, 10858 } 10859} 10860 10861const ( 10862 // ExecutionStatusInProgress is a ExecutionStatus enum value 10863 ExecutionStatusInProgress = "InProgress" 10864 10865 // ExecutionStatusSuccessful is a ExecutionStatus enum value 10866 ExecutionStatusSuccessful = "Successful" 10867 10868 // ExecutionStatusError is a ExecutionStatus enum value 10869 ExecutionStatusError = "Error" 10870) 10871 10872// ExecutionStatus_Values returns all elements of the ExecutionStatus enum 10873func ExecutionStatus_Values() []string { 10874 return []string{ 10875 ExecutionStatusInProgress, 10876 ExecutionStatusSuccessful, 10877 ExecutionStatusError, 10878 } 10879} 10880 10881const ( 10882 // FileTypeCsv is a FileType enum value 10883 FileTypeCsv = "CSV" 10884 10885 // FileTypeJson is a FileType enum value 10886 FileTypeJson = "JSON" 10887 10888 // FileTypeParquet is a FileType enum value 10889 FileTypeParquet = "PARQUET" 10890) 10891 10892// FileType_Values returns all elements of the FileType enum 10893func FileType_Values() []string { 10894 return []string{ 10895 FileTypeCsv, 10896 FileTypeJson, 10897 FileTypeParquet, 10898 } 10899} 10900 10901const ( 10902 // FlowStatusActive is a FlowStatus enum value 10903 FlowStatusActive = "Active" 10904 10905 // FlowStatusDeprecated is a FlowStatus enum value 10906 FlowStatusDeprecated = "Deprecated" 10907 10908 // FlowStatusDeleted is a FlowStatus enum value 10909 FlowStatusDeleted = "Deleted" 10910 10911 // FlowStatusDraft is a FlowStatus enum value 10912 FlowStatusDraft = "Draft" 10913 10914 // FlowStatusErrored is a FlowStatus enum value 10915 FlowStatusErrored = "Errored" 10916 10917 // FlowStatusSuspended is a FlowStatus enum value 10918 FlowStatusSuspended = "Suspended" 10919) 10920 10921// FlowStatus_Values returns all elements of the FlowStatus enum 10922func FlowStatus_Values() []string { 10923 return []string{ 10924 FlowStatusActive, 10925 FlowStatusDeprecated, 10926 FlowStatusDeleted, 10927 FlowStatusDraft, 10928 FlowStatusErrored, 10929 FlowStatusSuspended, 10930 } 10931} 10932 10933const ( 10934 // GoogleAnalyticsConnectorOperatorProjection is a GoogleAnalyticsConnectorOperator enum value 10935 GoogleAnalyticsConnectorOperatorProjection = "PROJECTION" 10936 10937 // GoogleAnalyticsConnectorOperatorBetween is a GoogleAnalyticsConnectorOperator enum value 10938 GoogleAnalyticsConnectorOperatorBetween = "BETWEEN" 10939) 10940 10941// GoogleAnalyticsConnectorOperator_Values returns all elements of the GoogleAnalyticsConnectorOperator enum 10942func GoogleAnalyticsConnectorOperator_Values() []string { 10943 return []string{ 10944 GoogleAnalyticsConnectorOperatorProjection, 10945 GoogleAnalyticsConnectorOperatorBetween, 10946 } 10947} 10948 10949const ( 10950 // InforNexusConnectorOperatorProjection is a InforNexusConnectorOperator enum value 10951 InforNexusConnectorOperatorProjection = "PROJECTION" 10952 10953 // InforNexusConnectorOperatorBetween is a InforNexusConnectorOperator enum value 10954 InforNexusConnectorOperatorBetween = "BETWEEN" 10955 10956 // InforNexusConnectorOperatorEqualTo is a InforNexusConnectorOperator enum value 10957 InforNexusConnectorOperatorEqualTo = "EQUAL_TO" 10958 10959 // InforNexusConnectorOperatorAddition is a InforNexusConnectorOperator enum value 10960 InforNexusConnectorOperatorAddition = "ADDITION" 10961 10962 // InforNexusConnectorOperatorMultiplication is a InforNexusConnectorOperator enum value 10963 InforNexusConnectorOperatorMultiplication = "MULTIPLICATION" 10964 10965 // InforNexusConnectorOperatorDivision is a InforNexusConnectorOperator enum value 10966 InforNexusConnectorOperatorDivision = "DIVISION" 10967 10968 // InforNexusConnectorOperatorSubtraction is a InforNexusConnectorOperator enum value 10969 InforNexusConnectorOperatorSubtraction = "SUBTRACTION" 10970 10971 // InforNexusConnectorOperatorMaskAll is a InforNexusConnectorOperator enum value 10972 InforNexusConnectorOperatorMaskAll = "MASK_ALL" 10973 10974 // InforNexusConnectorOperatorMaskFirstN is a InforNexusConnectorOperator enum value 10975 InforNexusConnectorOperatorMaskFirstN = "MASK_FIRST_N" 10976 10977 // InforNexusConnectorOperatorMaskLastN is a InforNexusConnectorOperator enum value 10978 InforNexusConnectorOperatorMaskLastN = "MASK_LAST_N" 10979 10980 // InforNexusConnectorOperatorValidateNonNull is a InforNexusConnectorOperator enum value 10981 InforNexusConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 10982 10983 // InforNexusConnectorOperatorValidateNonZero is a InforNexusConnectorOperator enum value 10984 InforNexusConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 10985 10986 // InforNexusConnectorOperatorValidateNonNegative is a InforNexusConnectorOperator enum value 10987 InforNexusConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 10988 10989 // InforNexusConnectorOperatorValidateNumeric is a InforNexusConnectorOperator enum value 10990 InforNexusConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 10991 10992 // InforNexusConnectorOperatorNoOp is a InforNexusConnectorOperator enum value 10993 InforNexusConnectorOperatorNoOp = "NO_OP" 10994) 10995 10996// InforNexusConnectorOperator_Values returns all elements of the InforNexusConnectorOperator enum 10997func InforNexusConnectorOperator_Values() []string { 10998 return []string{ 10999 InforNexusConnectorOperatorProjection, 11000 InforNexusConnectorOperatorBetween, 11001 InforNexusConnectorOperatorEqualTo, 11002 InforNexusConnectorOperatorAddition, 11003 InforNexusConnectorOperatorMultiplication, 11004 InforNexusConnectorOperatorDivision, 11005 InforNexusConnectorOperatorSubtraction, 11006 InforNexusConnectorOperatorMaskAll, 11007 InforNexusConnectorOperatorMaskFirstN, 11008 InforNexusConnectorOperatorMaskLastN, 11009 InforNexusConnectorOperatorValidateNonNull, 11010 InforNexusConnectorOperatorValidateNonZero, 11011 InforNexusConnectorOperatorValidateNonNegative, 11012 InforNexusConnectorOperatorValidateNumeric, 11013 InforNexusConnectorOperatorNoOp, 11014 } 11015} 11016 11017const ( 11018 // MarketoConnectorOperatorProjection is a MarketoConnectorOperator enum value 11019 MarketoConnectorOperatorProjection = "PROJECTION" 11020 11021 // MarketoConnectorOperatorLessThan is a MarketoConnectorOperator enum value 11022 MarketoConnectorOperatorLessThan = "LESS_THAN" 11023 11024 // MarketoConnectorOperatorGreaterThan is a MarketoConnectorOperator enum value 11025 MarketoConnectorOperatorGreaterThan = "GREATER_THAN" 11026 11027 // MarketoConnectorOperatorBetween is a MarketoConnectorOperator enum value 11028 MarketoConnectorOperatorBetween = "BETWEEN" 11029 11030 // MarketoConnectorOperatorAddition is a MarketoConnectorOperator enum value 11031 MarketoConnectorOperatorAddition = "ADDITION" 11032 11033 // MarketoConnectorOperatorMultiplication is a MarketoConnectorOperator enum value 11034 MarketoConnectorOperatorMultiplication = "MULTIPLICATION" 11035 11036 // MarketoConnectorOperatorDivision is a MarketoConnectorOperator enum value 11037 MarketoConnectorOperatorDivision = "DIVISION" 11038 11039 // MarketoConnectorOperatorSubtraction is a MarketoConnectorOperator enum value 11040 MarketoConnectorOperatorSubtraction = "SUBTRACTION" 11041 11042 // MarketoConnectorOperatorMaskAll is a MarketoConnectorOperator enum value 11043 MarketoConnectorOperatorMaskAll = "MASK_ALL" 11044 11045 // MarketoConnectorOperatorMaskFirstN is a MarketoConnectorOperator enum value 11046 MarketoConnectorOperatorMaskFirstN = "MASK_FIRST_N" 11047 11048 // MarketoConnectorOperatorMaskLastN is a MarketoConnectorOperator enum value 11049 MarketoConnectorOperatorMaskLastN = "MASK_LAST_N" 11050 11051 // MarketoConnectorOperatorValidateNonNull is a MarketoConnectorOperator enum value 11052 MarketoConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 11053 11054 // MarketoConnectorOperatorValidateNonZero is a MarketoConnectorOperator enum value 11055 MarketoConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 11056 11057 // MarketoConnectorOperatorValidateNonNegative is a MarketoConnectorOperator enum value 11058 MarketoConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11059 11060 // MarketoConnectorOperatorValidateNumeric is a MarketoConnectorOperator enum value 11061 MarketoConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 11062 11063 // MarketoConnectorOperatorNoOp is a MarketoConnectorOperator enum value 11064 MarketoConnectorOperatorNoOp = "NO_OP" 11065) 11066 11067// MarketoConnectorOperator_Values returns all elements of the MarketoConnectorOperator enum 11068func MarketoConnectorOperator_Values() []string { 11069 return []string{ 11070 MarketoConnectorOperatorProjection, 11071 MarketoConnectorOperatorLessThan, 11072 MarketoConnectorOperatorGreaterThan, 11073 MarketoConnectorOperatorBetween, 11074 MarketoConnectorOperatorAddition, 11075 MarketoConnectorOperatorMultiplication, 11076 MarketoConnectorOperatorDivision, 11077 MarketoConnectorOperatorSubtraction, 11078 MarketoConnectorOperatorMaskAll, 11079 MarketoConnectorOperatorMaskFirstN, 11080 MarketoConnectorOperatorMaskLastN, 11081 MarketoConnectorOperatorValidateNonNull, 11082 MarketoConnectorOperatorValidateNonZero, 11083 MarketoConnectorOperatorValidateNonNegative, 11084 MarketoConnectorOperatorValidateNumeric, 11085 MarketoConnectorOperatorNoOp, 11086 } 11087} 11088 11089const ( 11090 // OperatorProjection is a Operator enum value 11091 OperatorProjection = "PROJECTION" 11092 11093 // OperatorLessThan is a Operator enum value 11094 OperatorLessThan = "LESS_THAN" 11095 11096 // OperatorGreaterThan is a Operator enum value 11097 OperatorGreaterThan = "GREATER_THAN" 11098 11099 // OperatorContains is a Operator enum value 11100 OperatorContains = "CONTAINS" 11101 11102 // OperatorBetween is a Operator enum value 11103 OperatorBetween = "BETWEEN" 11104 11105 // OperatorLessThanOrEqualTo is a Operator enum value 11106 OperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO" 11107 11108 // OperatorGreaterThanOrEqualTo is a Operator enum value 11109 OperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" 11110 11111 // OperatorEqualTo is a Operator enum value 11112 OperatorEqualTo = "EQUAL_TO" 11113 11114 // OperatorNotEqualTo is a Operator enum value 11115 OperatorNotEqualTo = "NOT_EQUAL_TO" 11116 11117 // OperatorAddition is a Operator enum value 11118 OperatorAddition = "ADDITION" 11119 11120 // OperatorMultiplication is a Operator enum value 11121 OperatorMultiplication = "MULTIPLICATION" 11122 11123 // OperatorDivision is a Operator enum value 11124 OperatorDivision = "DIVISION" 11125 11126 // OperatorSubtraction is a Operator enum value 11127 OperatorSubtraction = "SUBTRACTION" 11128 11129 // OperatorMaskAll is a Operator enum value 11130 OperatorMaskAll = "MASK_ALL" 11131 11132 // OperatorMaskFirstN is a Operator enum value 11133 OperatorMaskFirstN = "MASK_FIRST_N" 11134 11135 // OperatorMaskLastN is a Operator enum value 11136 OperatorMaskLastN = "MASK_LAST_N" 11137 11138 // OperatorValidateNonNull is a Operator enum value 11139 OperatorValidateNonNull = "VALIDATE_NON_NULL" 11140 11141 // OperatorValidateNonZero is a Operator enum value 11142 OperatorValidateNonZero = "VALIDATE_NON_ZERO" 11143 11144 // OperatorValidateNonNegative is a Operator enum value 11145 OperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11146 11147 // OperatorValidateNumeric is a Operator enum value 11148 OperatorValidateNumeric = "VALIDATE_NUMERIC" 11149 11150 // OperatorNoOp is a Operator enum value 11151 OperatorNoOp = "NO_OP" 11152) 11153 11154// Operator_Values returns all elements of the Operator enum 11155func Operator_Values() []string { 11156 return []string{ 11157 OperatorProjection, 11158 OperatorLessThan, 11159 OperatorGreaterThan, 11160 OperatorContains, 11161 OperatorBetween, 11162 OperatorLessThanOrEqualTo, 11163 OperatorGreaterThanOrEqualTo, 11164 OperatorEqualTo, 11165 OperatorNotEqualTo, 11166 OperatorAddition, 11167 OperatorMultiplication, 11168 OperatorDivision, 11169 OperatorSubtraction, 11170 OperatorMaskAll, 11171 OperatorMaskFirstN, 11172 OperatorMaskLastN, 11173 OperatorValidateNonNull, 11174 OperatorValidateNonZero, 11175 OperatorValidateNonNegative, 11176 OperatorValidateNumeric, 11177 OperatorNoOp, 11178 } 11179} 11180 11181const ( 11182 // OperatorPropertiesKeysValue is a OperatorPropertiesKeys enum value 11183 OperatorPropertiesKeysValue = "VALUE" 11184 11185 // OperatorPropertiesKeysValues is a OperatorPropertiesKeys enum value 11186 OperatorPropertiesKeysValues = "VALUES" 11187 11188 // OperatorPropertiesKeysDataType is a OperatorPropertiesKeys enum value 11189 OperatorPropertiesKeysDataType = "DATA_TYPE" 11190 11191 // OperatorPropertiesKeysUpperBound is a OperatorPropertiesKeys enum value 11192 OperatorPropertiesKeysUpperBound = "UPPER_BOUND" 11193 11194 // OperatorPropertiesKeysLowerBound is a OperatorPropertiesKeys enum value 11195 OperatorPropertiesKeysLowerBound = "LOWER_BOUND" 11196 11197 // OperatorPropertiesKeysSourceDataType is a OperatorPropertiesKeys enum value 11198 OperatorPropertiesKeysSourceDataType = "SOURCE_DATA_TYPE" 11199 11200 // OperatorPropertiesKeysDestinationDataType is a OperatorPropertiesKeys enum value 11201 OperatorPropertiesKeysDestinationDataType = "DESTINATION_DATA_TYPE" 11202 11203 // OperatorPropertiesKeysValidationAction is a OperatorPropertiesKeys enum value 11204 OperatorPropertiesKeysValidationAction = "VALIDATION_ACTION" 11205 11206 // OperatorPropertiesKeysMaskValue is a OperatorPropertiesKeys enum value 11207 OperatorPropertiesKeysMaskValue = "MASK_VALUE" 11208 11209 // OperatorPropertiesKeysMaskLength is a OperatorPropertiesKeys enum value 11210 OperatorPropertiesKeysMaskLength = "MASK_LENGTH" 11211 11212 // OperatorPropertiesKeysTruncateLength is a OperatorPropertiesKeys enum value 11213 OperatorPropertiesKeysTruncateLength = "TRUNCATE_LENGTH" 11214 11215 // OperatorPropertiesKeysMathOperationFieldsOrder is a OperatorPropertiesKeys enum value 11216 OperatorPropertiesKeysMathOperationFieldsOrder = "MATH_OPERATION_FIELDS_ORDER" 11217 11218 // OperatorPropertiesKeysConcatFormat is a OperatorPropertiesKeys enum value 11219 OperatorPropertiesKeysConcatFormat = "CONCAT_FORMAT" 11220 11221 // OperatorPropertiesKeysSubfieldCategoryMap is a OperatorPropertiesKeys enum value 11222 OperatorPropertiesKeysSubfieldCategoryMap = "SUBFIELD_CATEGORY_MAP" 11223 11224 // OperatorPropertiesKeysExcludeSourceFieldsList is a OperatorPropertiesKeys enum value 11225 OperatorPropertiesKeysExcludeSourceFieldsList = "EXCLUDE_SOURCE_FIELDS_LIST" 11226) 11227 11228// OperatorPropertiesKeys_Values returns all elements of the OperatorPropertiesKeys enum 11229func OperatorPropertiesKeys_Values() []string { 11230 return []string{ 11231 OperatorPropertiesKeysValue, 11232 OperatorPropertiesKeysValues, 11233 OperatorPropertiesKeysDataType, 11234 OperatorPropertiesKeysUpperBound, 11235 OperatorPropertiesKeysLowerBound, 11236 OperatorPropertiesKeysSourceDataType, 11237 OperatorPropertiesKeysDestinationDataType, 11238 OperatorPropertiesKeysValidationAction, 11239 OperatorPropertiesKeysMaskValue, 11240 OperatorPropertiesKeysMaskLength, 11241 OperatorPropertiesKeysTruncateLength, 11242 OperatorPropertiesKeysMathOperationFieldsOrder, 11243 OperatorPropertiesKeysConcatFormat, 11244 OperatorPropertiesKeysSubfieldCategoryMap, 11245 OperatorPropertiesKeysExcludeSourceFieldsList, 11246 } 11247} 11248 11249const ( 11250 // PrefixFormatYear is a PrefixFormat enum value 11251 PrefixFormatYear = "YEAR" 11252 11253 // PrefixFormatMonth is a PrefixFormat enum value 11254 PrefixFormatMonth = "MONTH" 11255 11256 // PrefixFormatDay is a PrefixFormat enum value 11257 PrefixFormatDay = "DAY" 11258 11259 // PrefixFormatHour is a PrefixFormat enum value 11260 PrefixFormatHour = "HOUR" 11261 11262 // PrefixFormatMinute is a PrefixFormat enum value 11263 PrefixFormatMinute = "MINUTE" 11264) 11265 11266// PrefixFormat_Values returns all elements of the PrefixFormat enum 11267func PrefixFormat_Values() []string { 11268 return []string{ 11269 PrefixFormatYear, 11270 PrefixFormatMonth, 11271 PrefixFormatDay, 11272 PrefixFormatHour, 11273 PrefixFormatMinute, 11274 } 11275} 11276 11277const ( 11278 // PrefixTypeFilename is a PrefixType enum value 11279 PrefixTypeFilename = "FILENAME" 11280 11281 // PrefixTypePath is a PrefixType enum value 11282 PrefixTypePath = "PATH" 11283 11284 // PrefixTypePathAndFilename is a PrefixType enum value 11285 PrefixTypePathAndFilename = "PATH_AND_FILENAME" 11286) 11287 11288// PrefixType_Values returns all elements of the PrefixType enum 11289func PrefixType_Values() []string { 11290 return []string{ 11291 PrefixTypeFilename, 11292 PrefixTypePath, 11293 PrefixTypePathAndFilename, 11294 } 11295} 11296 11297const ( 11298 // PrivateConnectionProvisioningFailureCauseConnectorAuthentication is a PrivateConnectionProvisioningFailureCause enum value 11299 PrivateConnectionProvisioningFailureCauseConnectorAuthentication = "CONNECTOR_AUTHENTICATION" 11300 11301 // PrivateConnectionProvisioningFailureCauseConnectorServer is a PrivateConnectionProvisioningFailureCause enum value 11302 PrivateConnectionProvisioningFailureCauseConnectorServer = "CONNECTOR_SERVER" 11303 11304 // PrivateConnectionProvisioningFailureCauseInternalServer is a PrivateConnectionProvisioningFailureCause enum value 11305 PrivateConnectionProvisioningFailureCauseInternalServer = "INTERNAL_SERVER" 11306 11307 // PrivateConnectionProvisioningFailureCauseAccessDenied is a PrivateConnectionProvisioningFailureCause enum value 11308 PrivateConnectionProvisioningFailureCauseAccessDenied = "ACCESS_DENIED" 11309 11310 // PrivateConnectionProvisioningFailureCauseValidation is a PrivateConnectionProvisioningFailureCause enum value 11311 PrivateConnectionProvisioningFailureCauseValidation = "VALIDATION" 11312) 11313 11314// PrivateConnectionProvisioningFailureCause_Values returns all elements of the PrivateConnectionProvisioningFailureCause enum 11315func PrivateConnectionProvisioningFailureCause_Values() []string { 11316 return []string{ 11317 PrivateConnectionProvisioningFailureCauseConnectorAuthentication, 11318 PrivateConnectionProvisioningFailureCauseConnectorServer, 11319 PrivateConnectionProvisioningFailureCauseInternalServer, 11320 PrivateConnectionProvisioningFailureCauseAccessDenied, 11321 PrivateConnectionProvisioningFailureCauseValidation, 11322 } 11323} 11324 11325const ( 11326 // PrivateConnectionProvisioningStatusFailed is a PrivateConnectionProvisioningStatus enum value 11327 PrivateConnectionProvisioningStatusFailed = "FAILED" 11328 11329 // PrivateConnectionProvisioningStatusPending is a PrivateConnectionProvisioningStatus enum value 11330 PrivateConnectionProvisioningStatusPending = "PENDING" 11331 11332 // PrivateConnectionProvisioningStatusCreated is a PrivateConnectionProvisioningStatus enum value 11333 PrivateConnectionProvisioningStatusCreated = "CREATED" 11334) 11335 11336// PrivateConnectionProvisioningStatus_Values returns all elements of the PrivateConnectionProvisioningStatus enum 11337func PrivateConnectionProvisioningStatus_Values() []string { 11338 return []string{ 11339 PrivateConnectionProvisioningStatusFailed, 11340 PrivateConnectionProvisioningStatusPending, 11341 PrivateConnectionProvisioningStatusCreated, 11342 } 11343} 11344 11345const ( 11346 // S3ConnectorOperatorProjection is a S3ConnectorOperator enum value 11347 S3ConnectorOperatorProjection = "PROJECTION" 11348 11349 // S3ConnectorOperatorLessThan is a S3ConnectorOperator enum value 11350 S3ConnectorOperatorLessThan = "LESS_THAN" 11351 11352 // S3ConnectorOperatorGreaterThan is a S3ConnectorOperator enum value 11353 S3ConnectorOperatorGreaterThan = "GREATER_THAN" 11354 11355 // S3ConnectorOperatorBetween is a S3ConnectorOperator enum value 11356 S3ConnectorOperatorBetween = "BETWEEN" 11357 11358 // S3ConnectorOperatorLessThanOrEqualTo is a S3ConnectorOperator enum value 11359 S3ConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO" 11360 11361 // S3ConnectorOperatorGreaterThanOrEqualTo is a S3ConnectorOperator enum value 11362 S3ConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" 11363 11364 // S3ConnectorOperatorEqualTo is a S3ConnectorOperator enum value 11365 S3ConnectorOperatorEqualTo = "EQUAL_TO" 11366 11367 // S3ConnectorOperatorNotEqualTo is a S3ConnectorOperator enum value 11368 S3ConnectorOperatorNotEqualTo = "NOT_EQUAL_TO" 11369 11370 // S3ConnectorOperatorAddition is a S3ConnectorOperator enum value 11371 S3ConnectorOperatorAddition = "ADDITION" 11372 11373 // S3ConnectorOperatorMultiplication is a S3ConnectorOperator enum value 11374 S3ConnectorOperatorMultiplication = "MULTIPLICATION" 11375 11376 // S3ConnectorOperatorDivision is a S3ConnectorOperator enum value 11377 S3ConnectorOperatorDivision = "DIVISION" 11378 11379 // S3ConnectorOperatorSubtraction is a S3ConnectorOperator enum value 11380 S3ConnectorOperatorSubtraction = "SUBTRACTION" 11381 11382 // S3ConnectorOperatorMaskAll is a S3ConnectorOperator enum value 11383 S3ConnectorOperatorMaskAll = "MASK_ALL" 11384 11385 // S3ConnectorOperatorMaskFirstN is a S3ConnectorOperator enum value 11386 S3ConnectorOperatorMaskFirstN = "MASK_FIRST_N" 11387 11388 // S3ConnectorOperatorMaskLastN is a S3ConnectorOperator enum value 11389 S3ConnectorOperatorMaskLastN = "MASK_LAST_N" 11390 11391 // S3ConnectorOperatorValidateNonNull is a S3ConnectorOperator enum value 11392 S3ConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 11393 11394 // S3ConnectorOperatorValidateNonZero is a S3ConnectorOperator enum value 11395 S3ConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 11396 11397 // S3ConnectorOperatorValidateNonNegative is a S3ConnectorOperator enum value 11398 S3ConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11399 11400 // S3ConnectorOperatorValidateNumeric is a S3ConnectorOperator enum value 11401 S3ConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 11402 11403 // S3ConnectorOperatorNoOp is a S3ConnectorOperator enum value 11404 S3ConnectorOperatorNoOp = "NO_OP" 11405) 11406 11407// S3ConnectorOperator_Values returns all elements of the S3ConnectorOperator enum 11408func S3ConnectorOperator_Values() []string { 11409 return []string{ 11410 S3ConnectorOperatorProjection, 11411 S3ConnectorOperatorLessThan, 11412 S3ConnectorOperatorGreaterThan, 11413 S3ConnectorOperatorBetween, 11414 S3ConnectorOperatorLessThanOrEqualTo, 11415 S3ConnectorOperatorGreaterThanOrEqualTo, 11416 S3ConnectorOperatorEqualTo, 11417 S3ConnectorOperatorNotEqualTo, 11418 S3ConnectorOperatorAddition, 11419 S3ConnectorOperatorMultiplication, 11420 S3ConnectorOperatorDivision, 11421 S3ConnectorOperatorSubtraction, 11422 S3ConnectorOperatorMaskAll, 11423 S3ConnectorOperatorMaskFirstN, 11424 S3ConnectorOperatorMaskLastN, 11425 S3ConnectorOperatorValidateNonNull, 11426 S3ConnectorOperatorValidateNonZero, 11427 S3ConnectorOperatorValidateNonNegative, 11428 S3ConnectorOperatorValidateNumeric, 11429 S3ConnectorOperatorNoOp, 11430 } 11431} 11432 11433const ( 11434 // SAPODataConnectorOperatorProjection is a SAPODataConnectorOperator enum value 11435 SAPODataConnectorOperatorProjection = "PROJECTION" 11436 11437 // SAPODataConnectorOperatorLessThan is a SAPODataConnectorOperator enum value 11438 SAPODataConnectorOperatorLessThan = "LESS_THAN" 11439 11440 // SAPODataConnectorOperatorContains is a SAPODataConnectorOperator enum value 11441 SAPODataConnectorOperatorContains = "CONTAINS" 11442 11443 // SAPODataConnectorOperatorGreaterThan is a SAPODataConnectorOperator enum value 11444 SAPODataConnectorOperatorGreaterThan = "GREATER_THAN" 11445 11446 // SAPODataConnectorOperatorBetween is a SAPODataConnectorOperator enum value 11447 SAPODataConnectorOperatorBetween = "BETWEEN" 11448 11449 // SAPODataConnectorOperatorLessThanOrEqualTo is a SAPODataConnectorOperator enum value 11450 SAPODataConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO" 11451 11452 // SAPODataConnectorOperatorGreaterThanOrEqualTo is a SAPODataConnectorOperator enum value 11453 SAPODataConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" 11454 11455 // SAPODataConnectorOperatorEqualTo is a SAPODataConnectorOperator enum value 11456 SAPODataConnectorOperatorEqualTo = "EQUAL_TO" 11457 11458 // SAPODataConnectorOperatorNotEqualTo is a SAPODataConnectorOperator enum value 11459 SAPODataConnectorOperatorNotEqualTo = "NOT_EQUAL_TO" 11460 11461 // SAPODataConnectorOperatorAddition is a SAPODataConnectorOperator enum value 11462 SAPODataConnectorOperatorAddition = "ADDITION" 11463 11464 // SAPODataConnectorOperatorMultiplication is a SAPODataConnectorOperator enum value 11465 SAPODataConnectorOperatorMultiplication = "MULTIPLICATION" 11466 11467 // SAPODataConnectorOperatorDivision is a SAPODataConnectorOperator enum value 11468 SAPODataConnectorOperatorDivision = "DIVISION" 11469 11470 // SAPODataConnectorOperatorSubtraction is a SAPODataConnectorOperator enum value 11471 SAPODataConnectorOperatorSubtraction = "SUBTRACTION" 11472 11473 // SAPODataConnectorOperatorMaskAll is a SAPODataConnectorOperator enum value 11474 SAPODataConnectorOperatorMaskAll = "MASK_ALL" 11475 11476 // SAPODataConnectorOperatorMaskFirstN is a SAPODataConnectorOperator enum value 11477 SAPODataConnectorOperatorMaskFirstN = "MASK_FIRST_N" 11478 11479 // SAPODataConnectorOperatorMaskLastN is a SAPODataConnectorOperator enum value 11480 SAPODataConnectorOperatorMaskLastN = "MASK_LAST_N" 11481 11482 // SAPODataConnectorOperatorValidateNonNull is a SAPODataConnectorOperator enum value 11483 SAPODataConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 11484 11485 // SAPODataConnectorOperatorValidateNonZero is a SAPODataConnectorOperator enum value 11486 SAPODataConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 11487 11488 // SAPODataConnectorOperatorValidateNonNegative is a SAPODataConnectorOperator enum value 11489 SAPODataConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11490 11491 // SAPODataConnectorOperatorValidateNumeric is a SAPODataConnectorOperator enum value 11492 SAPODataConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 11493 11494 // SAPODataConnectorOperatorNoOp is a SAPODataConnectorOperator enum value 11495 SAPODataConnectorOperatorNoOp = "NO_OP" 11496) 11497 11498// SAPODataConnectorOperator_Values returns all elements of the SAPODataConnectorOperator enum 11499func SAPODataConnectorOperator_Values() []string { 11500 return []string{ 11501 SAPODataConnectorOperatorProjection, 11502 SAPODataConnectorOperatorLessThan, 11503 SAPODataConnectorOperatorContains, 11504 SAPODataConnectorOperatorGreaterThan, 11505 SAPODataConnectorOperatorBetween, 11506 SAPODataConnectorOperatorLessThanOrEqualTo, 11507 SAPODataConnectorOperatorGreaterThanOrEqualTo, 11508 SAPODataConnectorOperatorEqualTo, 11509 SAPODataConnectorOperatorNotEqualTo, 11510 SAPODataConnectorOperatorAddition, 11511 SAPODataConnectorOperatorMultiplication, 11512 SAPODataConnectorOperatorDivision, 11513 SAPODataConnectorOperatorSubtraction, 11514 SAPODataConnectorOperatorMaskAll, 11515 SAPODataConnectorOperatorMaskFirstN, 11516 SAPODataConnectorOperatorMaskLastN, 11517 SAPODataConnectorOperatorValidateNonNull, 11518 SAPODataConnectorOperatorValidateNonZero, 11519 SAPODataConnectorOperatorValidateNonNegative, 11520 SAPODataConnectorOperatorValidateNumeric, 11521 SAPODataConnectorOperatorNoOp, 11522 } 11523} 11524 11525const ( 11526 // SalesforceConnectorOperatorProjection is a SalesforceConnectorOperator enum value 11527 SalesforceConnectorOperatorProjection = "PROJECTION" 11528 11529 // SalesforceConnectorOperatorLessThan is a SalesforceConnectorOperator enum value 11530 SalesforceConnectorOperatorLessThan = "LESS_THAN" 11531 11532 // SalesforceConnectorOperatorContains is a SalesforceConnectorOperator enum value 11533 SalesforceConnectorOperatorContains = "CONTAINS" 11534 11535 // SalesforceConnectorOperatorGreaterThan is a SalesforceConnectorOperator enum value 11536 SalesforceConnectorOperatorGreaterThan = "GREATER_THAN" 11537 11538 // SalesforceConnectorOperatorBetween is a SalesforceConnectorOperator enum value 11539 SalesforceConnectorOperatorBetween = "BETWEEN" 11540 11541 // SalesforceConnectorOperatorLessThanOrEqualTo is a SalesforceConnectorOperator enum value 11542 SalesforceConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO" 11543 11544 // SalesforceConnectorOperatorGreaterThanOrEqualTo is a SalesforceConnectorOperator enum value 11545 SalesforceConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" 11546 11547 // SalesforceConnectorOperatorEqualTo is a SalesforceConnectorOperator enum value 11548 SalesforceConnectorOperatorEqualTo = "EQUAL_TO" 11549 11550 // SalesforceConnectorOperatorNotEqualTo is a SalesforceConnectorOperator enum value 11551 SalesforceConnectorOperatorNotEqualTo = "NOT_EQUAL_TO" 11552 11553 // SalesforceConnectorOperatorAddition is a SalesforceConnectorOperator enum value 11554 SalesforceConnectorOperatorAddition = "ADDITION" 11555 11556 // SalesforceConnectorOperatorMultiplication is a SalesforceConnectorOperator enum value 11557 SalesforceConnectorOperatorMultiplication = "MULTIPLICATION" 11558 11559 // SalesforceConnectorOperatorDivision is a SalesforceConnectorOperator enum value 11560 SalesforceConnectorOperatorDivision = "DIVISION" 11561 11562 // SalesforceConnectorOperatorSubtraction is a SalesforceConnectorOperator enum value 11563 SalesforceConnectorOperatorSubtraction = "SUBTRACTION" 11564 11565 // SalesforceConnectorOperatorMaskAll is a SalesforceConnectorOperator enum value 11566 SalesforceConnectorOperatorMaskAll = "MASK_ALL" 11567 11568 // SalesforceConnectorOperatorMaskFirstN is a SalesforceConnectorOperator enum value 11569 SalesforceConnectorOperatorMaskFirstN = "MASK_FIRST_N" 11570 11571 // SalesforceConnectorOperatorMaskLastN is a SalesforceConnectorOperator enum value 11572 SalesforceConnectorOperatorMaskLastN = "MASK_LAST_N" 11573 11574 // SalesforceConnectorOperatorValidateNonNull is a SalesforceConnectorOperator enum value 11575 SalesforceConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 11576 11577 // SalesforceConnectorOperatorValidateNonZero is a SalesforceConnectorOperator enum value 11578 SalesforceConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 11579 11580 // SalesforceConnectorOperatorValidateNonNegative is a SalesforceConnectorOperator enum value 11581 SalesforceConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11582 11583 // SalesforceConnectorOperatorValidateNumeric is a SalesforceConnectorOperator enum value 11584 SalesforceConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 11585 11586 // SalesforceConnectorOperatorNoOp is a SalesforceConnectorOperator enum value 11587 SalesforceConnectorOperatorNoOp = "NO_OP" 11588) 11589 11590// SalesforceConnectorOperator_Values returns all elements of the SalesforceConnectorOperator enum 11591func SalesforceConnectorOperator_Values() []string { 11592 return []string{ 11593 SalesforceConnectorOperatorProjection, 11594 SalesforceConnectorOperatorLessThan, 11595 SalesforceConnectorOperatorContains, 11596 SalesforceConnectorOperatorGreaterThan, 11597 SalesforceConnectorOperatorBetween, 11598 SalesforceConnectorOperatorLessThanOrEqualTo, 11599 SalesforceConnectorOperatorGreaterThanOrEqualTo, 11600 SalesforceConnectorOperatorEqualTo, 11601 SalesforceConnectorOperatorNotEqualTo, 11602 SalesforceConnectorOperatorAddition, 11603 SalesforceConnectorOperatorMultiplication, 11604 SalesforceConnectorOperatorDivision, 11605 SalesforceConnectorOperatorSubtraction, 11606 SalesforceConnectorOperatorMaskAll, 11607 SalesforceConnectorOperatorMaskFirstN, 11608 SalesforceConnectorOperatorMaskLastN, 11609 SalesforceConnectorOperatorValidateNonNull, 11610 SalesforceConnectorOperatorValidateNonZero, 11611 SalesforceConnectorOperatorValidateNonNegative, 11612 SalesforceConnectorOperatorValidateNumeric, 11613 SalesforceConnectorOperatorNoOp, 11614 } 11615} 11616 11617const ( 11618 // ScheduleFrequencyTypeByminute is a ScheduleFrequencyType enum value 11619 ScheduleFrequencyTypeByminute = "BYMINUTE" 11620 11621 // ScheduleFrequencyTypeHourly is a ScheduleFrequencyType enum value 11622 ScheduleFrequencyTypeHourly = "HOURLY" 11623 11624 // ScheduleFrequencyTypeDaily is a ScheduleFrequencyType enum value 11625 ScheduleFrequencyTypeDaily = "DAILY" 11626 11627 // ScheduleFrequencyTypeWeekly is a ScheduleFrequencyType enum value 11628 ScheduleFrequencyTypeWeekly = "WEEKLY" 11629 11630 // ScheduleFrequencyTypeMonthly is a ScheduleFrequencyType enum value 11631 ScheduleFrequencyTypeMonthly = "MONTHLY" 11632 11633 // ScheduleFrequencyTypeOnce is a ScheduleFrequencyType enum value 11634 ScheduleFrequencyTypeOnce = "ONCE" 11635) 11636 11637// ScheduleFrequencyType_Values returns all elements of the ScheduleFrequencyType enum 11638func ScheduleFrequencyType_Values() []string { 11639 return []string{ 11640 ScheduleFrequencyTypeByminute, 11641 ScheduleFrequencyTypeHourly, 11642 ScheduleFrequencyTypeDaily, 11643 ScheduleFrequencyTypeWeekly, 11644 ScheduleFrequencyTypeMonthly, 11645 ScheduleFrequencyTypeOnce, 11646 } 11647} 11648 11649const ( 11650 // ServiceNowConnectorOperatorProjection is a ServiceNowConnectorOperator enum value 11651 ServiceNowConnectorOperatorProjection = "PROJECTION" 11652 11653 // ServiceNowConnectorOperatorContains is a ServiceNowConnectorOperator enum value 11654 ServiceNowConnectorOperatorContains = "CONTAINS" 11655 11656 // ServiceNowConnectorOperatorLessThan is a ServiceNowConnectorOperator enum value 11657 ServiceNowConnectorOperatorLessThan = "LESS_THAN" 11658 11659 // ServiceNowConnectorOperatorGreaterThan is a ServiceNowConnectorOperator enum value 11660 ServiceNowConnectorOperatorGreaterThan = "GREATER_THAN" 11661 11662 // ServiceNowConnectorOperatorBetween is a ServiceNowConnectorOperator enum value 11663 ServiceNowConnectorOperatorBetween = "BETWEEN" 11664 11665 // ServiceNowConnectorOperatorLessThanOrEqualTo is a ServiceNowConnectorOperator enum value 11666 ServiceNowConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO" 11667 11668 // ServiceNowConnectorOperatorGreaterThanOrEqualTo is a ServiceNowConnectorOperator enum value 11669 ServiceNowConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" 11670 11671 // ServiceNowConnectorOperatorEqualTo is a ServiceNowConnectorOperator enum value 11672 ServiceNowConnectorOperatorEqualTo = "EQUAL_TO" 11673 11674 // ServiceNowConnectorOperatorNotEqualTo is a ServiceNowConnectorOperator enum value 11675 ServiceNowConnectorOperatorNotEqualTo = "NOT_EQUAL_TO" 11676 11677 // ServiceNowConnectorOperatorAddition is a ServiceNowConnectorOperator enum value 11678 ServiceNowConnectorOperatorAddition = "ADDITION" 11679 11680 // ServiceNowConnectorOperatorMultiplication is a ServiceNowConnectorOperator enum value 11681 ServiceNowConnectorOperatorMultiplication = "MULTIPLICATION" 11682 11683 // ServiceNowConnectorOperatorDivision is a ServiceNowConnectorOperator enum value 11684 ServiceNowConnectorOperatorDivision = "DIVISION" 11685 11686 // ServiceNowConnectorOperatorSubtraction is a ServiceNowConnectorOperator enum value 11687 ServiceNowConnectorOperatorSubtraction = "SUBTRACTION" 11688 11689 // ServiceNowConnectorOperatorMaskAll is a ServiceNowConnectorOperator enum value 11690 ServiceNowConnectorOperatorMaskAll = "MASK_ALL" 11691 11692 // ServiceNowConnectorOperatorMaskFirstN is a ServiceNowConnectorOperator enum value 11693 ServiceNowConnectorOperatorMaskFirstN = "MASK_FIRST_N" 11694 11695 // ServiceNowConnectorOperatorMaskLastN is a ServiceNowConnectorOperator enum value 11696 ServiceNowConnectorOperatorMaskLastN = "MASK_LAST_N" 11697 11698 // ServiceNowConnectorOperatorValidateNonNull is a ServiceNowConnectorOperator enum value 11699 ServiceNowConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 11700 11701 // ServiceNowConnectorOperatorValidateNonZero is a ServiceNowConnectorOperator enum value 11702 ServiceNowConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 11703 11704 // ServiceNowConnectorOperatorValidateNonNegative is a ServiceNowConnectorOperator enum value 11705 ServiceNowConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11706 11707 // ServiceNowConnectorOperatorValidateNumeric is a ServiceNowConnectorOperator enum value 11708 ServiceNowConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 11709 11710 // ServiceNowConnectorOperatorNoOp is a ServiceNowConnectorOperator enum value 11711 ServiceNowConnectorOperatorNoOp = "NO_OP" 11712) 11713 11714// ServiceNowConnectorOperator_Values returns all elements of the ServiceNowConnectorOperator enum 11715func ServiceNowConnectorOperator_Values() []string { 11716 return []string{ 11717 ServiceNowConnectorOperatorProjection, 11718 ServiceNowConnectorOperatorContains, 11719 ServiceNowConnectorOperatorLessThan, 11720 ServiceNowConnectorOperatorGreaterThan, 11721 ServiceNowConnectorOperatorBetween, 11722 ServiceNowConnectorOperatorLessThanOrEqualTo, 11723 ServiceNowConnectorOperatorGreaterThanOrEqualTo, 11724 ServiceNowConnectorOperatorEqualTo, 11725 ServiceNowConnectorOperatorNotEqualTo, 11726 ServiceNowConnectorOperatorAddition, 11727 ServiceNowConnectorOperatorMultiplication, 11728 ServiceNowConnectorOperatorDivision, 11729 ServiceNowConnectorOperatorSubtraction, 11730 ServiceNowConnectorOperatorMaskAll, 11731 ServiceNowConnectorOperatorMaskFirstN, 11732 ServiceNowConnectorOperatorMaskLastN, 11733 ServiceNowConnectorOperatorValidateNonNull, 11734 ServiceNowConnectorOperatorValidateNonZero, 11735 ServiceNowConnectorOperatorValidateNonNegative, 11736 ServiceNowConnectorOperatorValidateNumeric, 11737 ServiceNowConnectorOperatorNoOp, 11738 } 11739} 11740 11741const ( 11742 // SingularConnectorOperatorProjection is a SingularConnectorOperator enum value 11743 SingularConnectorOperatorProjection = "PROJECTION" 11744 11745 // SingularConnectorOperatorEqualTo is a SingularConnectorOperator enum value 11746 SingularConnectorOperatorEqualTo = "EQUAL_TO" 11747 11748 // SingularConnectorOperatorAddition is a SingularConnectorOperator enum value 11749 SingularConnectorOperatorAddition = "ADDITION" 11750 11751 // SingularConnectorOperatorMultiplication is a SingularConnectorOperator enum value 11752 SingularConnectorOperatorMultiplication = "MULTIPLICATION" 11753 11754 // SingularConnectorOperatorDivision is a SingularConnectorOperator enum value 11755 SingularConnectorOperatorDivision = "DIVISION" 11756 11757 // SingularConnectorOperatorSubtraction is a SingularConnectorOperator enum value 11758 SingularConnectorOperatorSubtraction = "SUBTRACTION" 11759 11760 // SingularConnectorOperatorMaskAll is a SingularConnectorOperator enum value 11761 SingularConnectorOperatorMaskAll = "MASK_ALL" 11762 11763 // SingularConnectorOperatorMaskFirstN is a SingularConnectorOperator enum value 11764 SingularConnectorOperatorMaskFirstN = "MASK_FIRST_N" 11765 11766 // SingularConnectorOperatorMaskLastN is a SingularConnectorOperator enum value 11767 SingularConnectorOperatorMaskLastN = "MASK_LAST_N" 11768 11769 // SingularConnectorOperatorValidateNonNull is a SingularConnectorOperator enum value 11770 SingularConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 11771 11772 // SingularConnectorOperatorValidateNonZero is a SingularConnectorOperator enum value 11773 SingularConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 11774 11775 // SingularConnectorOperatorValidateNonNegative is a SingularConnectorOperator enum value 11776 SingularConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11777 11778 // SingularConnectorOperatorValidateNumeric is a SingularConnectorOperator enum value 11779 SingularConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 11780 11781 // SingularConnectorOperatorNoOp is a SingularConnectorOperator enum value 11782 SingularConnectorOperatorNoOp = "NO_OP" 11783) 11784 11785// SingularConnectorOperator_Values returns all elements of the SingularConnectorOperator enum 11786func SingularConnectorOperator_Values() []string { 11787 return []string{ 11788 SingularConnectorOperatorProjection, 11789 SingularConnectorOperatorEqualTo, 11790 SingularConnectorOperatorAddition, 11791 SingularConnectorOperatorMultiplication, 11792 SingularConnectorOperatorDivision, 11793 SingularConnectorOperatorSubtraction, 11794 SingularConnectorOperatorMaskAll, 11795 SingularConnectorOperatorMaskFirstN, 11796 SingularConnectorOperatorMaskLastN, 11797 SingularConnectorOperatorValidateNonNull, 11798 SingularConnectorOperatorValidateNonZero, 11799 SingularConnectorOperatorValidateNonNegative, 11800 SingularConnectorOperatorValidateNumeric, 11801 SingularConnectorOperatorNoOp, 11802 } 11803} 11804 11805const ( 11806 // SlackConnectorOperatorProjection is a SlackConnectorOperator enum value 11807 SlackConnectorOperatorProjection = "PROJECTION" 11808 11809 // SlackConnectorOperatorLessThan is a SlackConnectorOperator enum value 11810 SlackConnectorOperatorLessThan = "LESS_THAN" 11811 11812 // SlackConnectorOperatorGreaterThan is a SlackConnectorOperator enum value 11813 SlackConnectorOperatorGreaterThan = "GREATER_THAN" 11814 11815 // SlackConnectorOperatorBetween is a SlackConnectorOperator enum value 11816 SlackConnectorOperatorBetween = "BETWEEN" 11817 11818 // SlackConnectorOperatorLessThanOrEqualTo is a SlackConnectorOperator enum value 11819 SlackConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO" 11820 11821 // SlackConnectorOperatorGreaterThanOrEqualTo is a SlackConnectorOperator enum value 11822 SlackConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" 11823 11824 // SlackConnectorOperatorEqualTo is a SlackConnectorOperator enum value 11825 SlackConnectorOperatorEqualTo = "EQUAL_TO" 11826 11827 // SlackConnectorOperatorAddition is a SlackConnectorOperator enum value 11828 SlackConnectorOperatorAddition = "ADDITION" 11829 11830 // SlackConnectorOperatorMultiplication is a SlackConnectorOperator enum value 11831 SlackConnectorOperatorMultiplication = "MULTIPLICATION" 11832 11833 // SlackConnectorOperatorDivision is a SlackConnectorOperator enum value 11834 SlackConnectorOperatorDivision = "DIVISION" 11835 11836 // SlackConnectorOperatorSubtraction is a SlackConnectorOperator enum value 11837 SlackConnectorOperatorSubtraction = "SUBTRACTION" 11838 11839 // SlackConnectorOperatorMaskAll is a SlackConnectorOperator enum value 11840 SlackConnectorOperatorMaskAll = "MASK_ALL" 11841 11842 // SlackConnectorOperatorMaskFirstN is a SlackConnectorOperator enum value 11843 SlackConnectorOperatorMaskFirstN = "MASK_FIRST_N" 11844 11845 // SlackConnectorOperatorMaskLastN is a SlackConnectorOperator enum value 11846 SlackConnectorOperatorMaskLastN = "MASK_LAST_N" 11847 11848 // SlackConnectorOperatorValidateNonNull is a SlackConnectorOperator enum value 11849 SlackConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 11850 11851 // SlackConnectorOperatorValidateNonZero is a SlackConnectorOperator enum value 11852 SlackConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 11853 11854 // SlackConnectorOperatorValidateNonNegative is a SlackConnectorOperator enum value 11855 SlackConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11856 11857 // SlackConnectorOperatorValidateNumeric is a SlackConnectorOperator enum value 11858 SlackConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 11859 11860 // SlackConnectorOperatorNoOp is a SlackConnectorOperator enum value 11861 SlackConnectorOperatorNoOp = "NO_OP" 11862) 11863 11864// SlackConnectorOperator_Values returns all elements of the SlackConnectorOperator enum 11865func SlackConnectorOperator_Values() []string { 11866 return []string{ 11867 SlackConnectorOperatorProjection, 11868 SlackConnectorOperatorLessThan, 11869 SlackConnectorOperatorGreaterThan, 11870 SlackConnectorOperatorBetween, 11871 SlackConnectorOperatorLessThanOrEqualTo, 11872 SlackConnectorOperatorGreaterThanOrEqualTo, 11873 SlackConnectorOperatorEqualTo, 11874 SlackConnectorOperatorAddition, 11875 SlackConnectorOperatorMultiplication, 11876 SlackConnectorOperatorDivision, 11877 SlackConnectorOperatorSubtraction, 11878 SlackConnectorOperatorMaskAll, 11879 SlackConnectorOperatorMaskFirstN, 11880 SlackConnectorOperatorMaskLastN, 11881 SlackConnectorOperatorValidateNonNull, 11882 SlackConnectorOperatorValidateNonZero, 11883 SlackConnectorOperatorValidateNonNegative, 11884 SlackConnectorOperatorValidateNumeric, 11885 SlackConnectorOperatorNoOp, 11886 } 11887} 11888 11889const ( 11890 // TaskTypeArithmetic is a TaskType enum value 11891 TaskTypeArithmetic = "Arithmetic" 11892 11893 // TaskTypeFilter is a TaskType enum value 11894 TaskTypeFilter = "Filter" 11895 11896 // TaskTypeMap is a TaskType enum value 11897 TaskTypeMap = "Map" 11898 11899 // TaskTypeMapAll is a TaskType enum value 11900 TaskTypeMapAll = "Map_all" 11901 11902 // TaskTypeMask is a TaskType enum value 11903 TaskTypeMask = "Mask" 11904 11905 // TaskTypeMerge is a TaskType enum value 11906 TaskTypeMerge = "Merge" 11907 11908 // TaskTypeTruncate is a TaskType enum value 11909 TaskTypeTruncate = "Truncate" 11910 11911 // TaskTypeValidate is a TaskType enum value 11912 TaskTypeValidate = "Validate" 11913) 11914 11915// TaskType_Values returns all elements of the TaskType enum 11916func TaskType_Values() []string { 11917 return []string{ 11918 TaskTypeArithmetic, 11919 TaskTypeFilter, 11920 TaskTypeMap, 11921 TaskTypeMapAll, 11922 TaskTypeMask, 11923 TaskTypeMerge, 11924 TaskTypeTruncate, 11925 TaskTypeValidate, 11926 } 11927} 11928 11929const ( 11930 // TrendmicroConnectorOperatorProjection is a TrendmicroConnectorOperator enum value 11931 TrendmicroConnectorOperatorProjection = "PROJECTION" 11932 11933 // TrendmicroConnectorOperatorEqualTo is a TrendmicroConnectorOperator enum value 11934 TrendmicroConnectorOperatorEqualTo = "EQUAL_TO" 11935 11936 // TrendmicroConnectorOperatorAddition is a TrendmicroConnectorOperator enum value 11937 TrendmicroConnectorOperatorAddition = "ADDITION" 11938 11939 // TrendmicroConnectorOperatorMultiplication is a TrendmicroConnectorOperator enum value 11940 TrendmicroConnectorOperatorMultiplication = "MULTIPLICATION" 11941 11942 // TrendmicroConnectorOperatorDivision is a TrendmicroConnectorOperator enum value 11943 TrendmicroConnectorOperatorDivision = "DIVISION" 11944 11945 // TrendmicroConnectorOperatorSubtraction is a TrendmicroConnectorOperator enum value 11946 TrendmicroConnectorOperatorSubtraction = "SUBTRACTION" 11947 11948 // TrendmicroConnectorOperatorMaskAll is a TrendmicroConnectorOperator enum value 11949 TrendmicroConnectorOperatorMaskAll = "MASK_ALL" 11950 11951 // TrendmicroConnectorOperatorMaskFirstN is a TrendmicroConnectorOperator enum value 11952 TrendmicroConnectorOperatorMaskFirstN = "MASK_FIRST_N" 11953 11954 // TrendmicroConnectorOperatorMaskLastN is a TrendmicroConnectorOperator enum value 11955 TrendmicroConnectorOperatorMaskLastN = "MASK_LAST_N" 11956 11957 // TrendmicroConnectorOperatorValidateNonNull is a TrendmicroConnectorOperator enum value 11958 TrendmicroConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 11959 11960 // TrendmicroConnectorOperatorValidateNonZero is a TrendmicroConnectorOperator enum value 11961 TrendmicroConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 11962 11963 // TrendmicroConnectorOperatorValidateNonNegative is a TrendmicroConnectorOperator enum value 11964 TrendmicroConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 11965 11966 // TrendmicroConnectorOperatorValidateNumeric is a TrendmicroConnectorOperator enum value 11967 TrendmicroConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 11968 11969 // TrendmicroConnectorOperatorNoOp is a TrendmicroConnectorOperator enum value 11970 TrendmicroConnectorOperatorNoOp = "NO_OP" 11971) 11972 11973// TrendmicroConnectorOperator_Values returns all elements of the TrendmicroConnectorOperator enum 11974func TrendmicroConnectorOperator_Values() []string { 11975 return []string{ 11976 TrendmicroConnectorOperatorProjection, 11977 TrendmicroConnectorOperatorEqualTo, 11978 TrendmicroConnectorOperatorAddition, 11979 TrendmicroConnectorOperatorMultiplication, 11980 TrendmicroConnectorOperatorDivision, 11981 TrendmicroConnectorOperatorSubtraction, 11982 TrendmicroConnectorOperatorMaskAll, 11983 TrendmicroConnectorOperatorMaskFirstN, 11984 TrendmicroConnectorOperatorMaskLastN, 11985 TrendmicroConnectorOperatorValidateNonNull, 11986 TrendmicroConnectorOperatorValidateNonZero, 11987 TrendmicroConnectorOperatorValidateNonNegative, 11988 TrendmicroConnectorOperatorValidateNumeric, 11989 TrendmicroConnectorOperatorNoOp, 11990 } 11991} 11992 11993const ( 11994 // TriggerTypeScheduled is a TriggerType enum value 11995 TriggerTypeScheduled = "Scheduled" 11996 11997 // TriggerTypeEvent is a TriggerType enum value 11998 TriggerTypeEvent = "Event" 11999 12000 // TriggerTypeOnDemand is a TriggerType enum value 12001 TriggerTypeOnDemand = "OnDemand" 12002) 12003 12004// TriggerType_Values returns all elements of the TriggerType enum 12005func TriggerType_Values() []string { 12006 return []string{ 12007 TriggerTypeScheduled, 12008 TriggerTypeEvent, 12009 TriggerTypeOnDemand, 12010 } 12011} 12012 12013const ( 12014 // VeevaConnectorOperatorProjection is a VeevaConnectorOperator enum value 12015 VeevaConnectorOperatorProjection = "PROJECTION" 12016 12017 // VeevaConnectorOperatorLessThan is a VeevaConnectorOperator enum value 12018 VeevaConnectorOperatorLessThan = "LESS_THAN" 12019 12020 // VeevaConnectorOperatorGreaterThan is a VeevaConnectorOperator enum value 12021 VeevaConnectorOperatorGreaterThan = "GREATER_THAN" 12022 12023 // VeevaConnectorOperatorContains is a VeevaConnectorOperator enum value 12024 VeevaConnectorOperatorContains = "CONTAINS" 12025 12026 // VeevaConnectorOperatorBetween is a VeevaConnectorOperator enum value 12027 VeevaConnectorOperatorBetween = "BETWEEN" 12028 12029 // VeevaConnectorOperatorLessThanOrEqualTo is a VeevaConnectorOperator enum value 12030 VeevaConnectorOperatorLessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO" 12031 12032 // VeevaConnectorOperatorGreaterThanOrEqualTo is a VeevaConnectorOperator enum value 12033 VeevaConnectorOperatorGreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" 12034 12035 // VeevaConnectorOperatorEqualTo is a VeevaConnectorOperator enum value 12036 VeevaConnectorOperatorEqualTo = "EQUAL_TO" 12037 12038 // VeevaConnectorOperatorNotEqualTo is a VeevaConnectorOperator enum value 12039 VeevaConnectorOperatorNotEqualTo = "NOT_EQUAL_TO" 12040 12041 // VeevaConnectorOperatorAddition is a VeevaConnectorOperator enum value 12042 VeevaConnectorOperatorAddition = "ADDITION" 12043 12044 // VeevaConnectorOperatorMultiplication is a VeevaConnectorOperator enum value 12045 VeevaConnectorOperatorMultiplication = "MULTIPLICATION" 12046 12047 // VeevaConnectorOperatorDivision is a VeevaConnectorOperator enum value 12048 VeevaConnectorOperatorDivision = "DIVISION" 12049 12050 // VeevaConnectorOperatorSubtraction is a VeevaConnectorOperator enum value 12051 VeevaConnectorOperatorSubtraction = "SUBTRACTION" 12052 12053 // VeevaConnectorOperatorMaskAll is a VeevaConnectorOperator enum value 12054 VeevaConnectorOperatorMaskAll = "MASK_ALL" 12055 12056 // VeevaConnectorOperatorMaskFirstN is a VeevaConnectorOperator enum value 12057 VeevaConnectorOperatorMaskFirstN = "MASK_FIRST_N" 12058 12059 // VeevaConnectorOperatorMaskLastN is a VeevaConnectorOperator enum value 12060 VeevaConnectorOperatorMaskLastN = "MASK_LAST_N" 12061 12062 // VeevaConnectorOperatorValidateNonNull is a VeevaConnectorOperator enum value 12063 VeevaConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 12064 12065 // VeevaConnectorOperatorValidateNonZero is a VeevaConnectorOperator enum value 12066 VeevaConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 12067 12068 // VeevaConnectorOperatorValidateNonNegative is a VeevaConnectorOperator enum value 12069 VeevaConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 12070 12071 // VeevaConnectorOperatorValidateNumeric is a VeevaConnectorOperator enum value 12072 VeevaConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 12073 12074 // VeevaConnectorOperatorNoOp is a VeevaConnectorOperator enum value 12075 VeevaConnectorOperatorNoOp = "NO_OP" 12076) 12077 12078// VeevaConnectorOperator_Values returns all elements of the VeevaConnectorOperator enum 12079func VeevaConnectorOperator_Values() []string { 12080 return []string{ 12081 VeevaConnectorOperatorProjection, 12082 VeevaConnectorOperatorLessThan, 12083 VeevaConnectorOperatorGreaterThan, 12084 VeevaConnectorOperatorContains, 12085 VeevaConnectorOperatorBetween, 12086 VeevaConnectorOperatorLessThanOrEqualTo, 12087 VeevaConnectorOperatorGreaterThanOrEqualTo, 12088 VeevaConnectorOperatorEqualTo, 12089 VeevaConnectorOperatorNotEqualTo, 12090 VeevaConnectorOperatorAddition, 12091 VeevaConnectorOperatorMultiplication, 12092 VeevaConnectorOperatorDivision, 12093 VeevaConnectorOperatorSubtraction, 12094 VeevaConnectorOperatorMaskAll, 12095 VeevaConnectorOperatorMaskFirstN, 12096 VeevaConnectorOperatorMaskLastN, 12097 VeevaConnectorOperatorValidateNonNull, 12098 VeevaConnectorOperatorValidateNonZero, 12099 VeevaConnectorOperatorValidateNonNegative, 12100 VeevaConnectorOperatorValidateNumeric, 12101 VeevaConnectorOperatorNoOp, 12102 } 12103} 12104 12105// The possible write operations in the destination connector. When this value 12106// is not provided, this defaults to the INSERT operation. 12107const ( 12108 // WriteOperationTypeInsert is a WriteOperationType enum value 12109 WriteOperationTypeInsert = "INSERT" 12110 12111 // WriteOperationTypeUpsert is a WriteOperationType enum value 12112 WriteOperationTypeUpsert = "UPSERT" 12113 12114 // WriteOperationTypeUpdate is a WriteOperationType enum value 12115 WriteOperationTypeUpdate = "UPDATE" 12116) 12117 12118// WriteOperationType_Values returns all elements of the WriteOperationType enum 12119func WriteOperationType_Values() []string { 12120 return []string{ 12121 WriteOperationTypeInsert, 12122 WriteOperationTypeUpsert, 12123 WriteOperationTypeUpdate, 12124 } 12125} 12126 12127const ( 12128 // ZendeskConnectorOperatorProjection is a ZendeskConnectorOperator enum value 12129 ZendeskConnectorOperatorProjection = "PROJECTION" 12130 12131 // ZendeskConnectorOperatorGreaterThan is a ZendeskConnectorOperator enum value 12132 ZendeskConnectorOperatorGreaterThan = "GREATER_THAN" 12133 12134 // ZendeskConnectorOperatorAddition is a ZendeskConnectorOperator enum value 12135 ZendeskConnectorOperatorAddition = "ADDITION" 12136 12137 // ZendeskConnectorOperatorMultiplication is a ZendeskConnectorOperator enum value 12138 ZendeskConnectorOperatorMultiplication = "MULTIPLICATION" 12139 12140 // ZendeskConnectorOperatorDivision is a ZendeskConnectorOperator enum value 12141 ZendeskConnectorOperatorDivision = "DIVISION" 12142 12143 // ZendeskConnectorOperatorSubtraction is a ZendeskConnectorOperator enum value 12144 ZendeskConnectorOperatorSubtraction = "SUBTRACTION" 12145 12146 // ZendeskConnectorOperatorMaskAll is a ZendeskConnectorOperator enum value 12147 ZendeskConnectorOperatorMaskAll = "MASK_ALL" 12148 12149 // ZendeskConnectorOperatorMaskFirstN is a ZendeskConnectorOperator enum value 12150 ZendeskConnectorOperatorMaskFirstN = "MASK_FIRST_N" 12151 12152 // ZendeskConnectorOperatorMaskLastN is a ZendeskConnectorOperator enum value 12153 ZendeskConnectorOperatorMaskLastN = "MASK_LAST_N" 12154 12155 // ZendeskConnectorOperatorValidateNonNull is a ZendeskConnectorOperator enum value 12156 ZendeskConnectorOperatorValidateNonNull = "VALIDATE_NON_NULL" 12157 12158 // ZendeskConnectorOperatorValidateNonZero is a ZendeskConnectorOperator enum value 12159 ZendeskConnectorOperatorValidateNonZero = "VALIDATE_NON_ZERO" 12160 12161 // ZendeskConnectorOperatorValidateNonNegative is a ZendeskConnectorOperator enum value 12162 ZendeskConnectorOperatorValidateNonNegative = "VALIDATE_NON_NEGATIVE" 12163 12164 // ZendeskConnectorOperatorValidateNumeric is a ZendeskConnectorOperator enum value 12165 ZendeskConnectorOperatorValidateNumeric = "VALIDATE_NUMERIC" 12166 12167 // ZendeskConnectorOperatorNoOp is a ZendeskConnectorOperator enum value 12168 ZendeskConnectorOperatorNoOp = "NO_OP" 12169) 12170 12171// ZendeskConnectorOperator_Values returns all elements of the ZendeskConnectorOperator enum 12172func ZendeskConnectorOperator_Values() []string { 12173 return []string{ 12174 ZendeskConnectorOperatorProjection, 12175 ZendeskConnectorOperatorGreaterThan, 12176 ZendeskConnectorOperatorAddition, 12177 ZendeskConnectorOperatorMultiplication, 12178 ZendeskConnectorOperatorDivision, 12179 ZendeskConnectorOperatorSubtraction, 12180 ZendeskConnectorOperatorMaskAll, 12181 ZendeskConnectorOperatorMaskFirstN, 12182 ZendeskConnectorOperatorMaskLastN, 12183 ZendeskConnectorOperatorValidateNonNull, 12184 ZendeskConnectorOperatorValidateNonZero, 12185 ZendeskConnectorOperatorValidateNonNegative, 12186 ZendeskConnectorOperatorValidateNumeric, 12187 ZendeskConnectorOperatorNoOp, 12188 } 12189} 12190