github.com/aavshr/aws-sdk-go@v1.41.3/service/finspacedata/api.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package finspacedata 4 5 import ( 6 "fmt" 7 "time" 8 9 "github.com/aavshr/aws-sdk-go/aws" 10 "github.com/aavshr/aws-sdk-go/aws/awsutil" 11 "github.com/aavshr/aws-sdk-go/aws/request" 12 "github.com/aavshr/aws-sdk-go/private/protocol" 13 ) 14 15 const opCreateChangeset = "CreateChangeset" 16 17 // CreateChangesetRequest generates a "aws/request.Request" representing the 18 // client's request for the CreateChangeset operation. The "output" return 19 // value will be populated with the request's response once the request completes 20 // successfully. 21 // 22 // Use "Send" method on the returned Request to send the API call to the service. 23 // the "output" return value is not valid until after Send returns without error. 24 // 25 // See CreateChangeset for more information on using the CreateChangeset 26 // API call, and error handling. 27 // 28 // This method is useful when you want to inject custom logic or configuration 29 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 30 // 31 // 32 // // Example sending a request using the CreateChangesetRequest method. 33 // req, resp := client.CreateChangesetRequest(params) 34 // 35 // err := req.Send() 36 // if err == nil { // resp is now filled 37 // fmt.Println(resp) 38 // } 39 // 40 // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateChangeset 41 func (c *FinSpaceData) CreateChangesetRequest(input *CreateChangesetInput) (req *request.Request, output *CreateChangesetOutput) { 42 op := &request.Operation{ 43 Name: opCreateChangeset, 44 HTTPMethod: "POST", 45 HTTPPath: "/datasets/{datasetId}/changesets", 46 } 47 48 if input == nil { 49 input = &CreateChangesetInput{} 50 } 51 52 output = &CreateChangesetOutput{} 53 req = c.newRequest(op, input, output) 54 return 55 } 56 57 // CreateChangeset API operation for FinSpace Public API. 58 // 59 // Creates a new changeset in a FinSpace dataset. 60 // 61 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 62 // with awserr.Error's Code and Message methods to get detailed information about 63 // the error. 64 // 65 // See the AWS API reference guide for FinSpace Public API's 66 // API operation CreateChangeset for usage and error information. 67 // 68 // Returned Error Types: 69 // * ResourceNotFoundException 70 // One or more resources can't be found. 71 // 72 // * InternalServerException 73 // The request processing has failed because of an unknown error, exception 74 // or failure. 75 // 76 // * ValidationException 77 // The input fails to satisfy the constraints specified by an AWS service. 78 // 79 // * ThrottlingException 80 // The request was denied due to request throttling. 81 // 82 // * AccessDeniedException 83 // You do not have sufficient access to perform this action. 84 // 85 // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateChangeset 86 func (c *FinSpaceData) CreateChangeset(input *CreateChangesetInput) (*CreateChangesetOutput, error) { 87 req, out := c.CreateChangesetRequest(input) 88 return out, req.Send() 89 } 90 91 // CreateChangesetWithContext is the same as CreateChangeset with the addition of 92 // the ability to pass a context and additional request options. 93 // 94 // See CreateChangeset for details on how to use this API operation. 95 // 96 // The context must be non-nil and will be used for request cancellation. If 97 // the context is nil a panic will occur. In the future the SDK may create 98 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 99 // for more information on using Contexts. 100 func (c *FinSpaceData) CreateChangesetWithContext(ctx aws.Context, input *CreateChangesetInput, opts ...request.Option) (*CreateChangesetOutput, error) { 101 req, out := c.CreateChangesetRequest(input) 102 req.SetContext(ctx) 103 req.ApplyOptions(opts...) 104 return out, req.Send() 105 } 106 107 const opGetProgrammaticAccessCredentials = "GetProgrammaticAccessCredentials" 108 109 // GetProgrammaticAccessCredentialsRequest generates a "aws/request.Request" representing the 110 // client's request for the GetProgrammaticAccessCredentials operation. The "output" return 111 // value will be populated with the request's response once the request completes 112 // successfully. 113 // 114 // Use "Send" method on the returned Request to send the API call to the service. 115 // the "output" return value is not valid until after Send returns without error. 116 // 117 // See GetProgrammaticAccessCredentials for more information on using the GetProgrammaticAccessCredentials 118 // API call, and error handling. 119 // 120 // This method is useful when you want to inject custom logic or configuration 121 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 122 // 123 // 124 // // Example sending a request using the GetProgrammaticAccessCredentialsRequest method. 125 // req, resp := client.GetProgrammaticAccessCredentialsRequest(params) 126 // 127 // err := req.Send() 128 // if err == nil { // resp is now filled 129 // fmt.Println(resp) 130 // } 131 // 132 // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetProgrammaticAccessCredentials 133 func (c *FinSpaceData) GetProgrammaticAccessCredentialsRequest(input *GetProgrammaticAccessCredentialsInput) (req *request.Request, output *GetProgrammaticAccessCredentialsOutput) { 134 op := &request.Operation{ 135 Name: opGetProgrammaticAccessCredentials, 136 HTTPMethod: "GET", 137 HTTPPath: "/credentials/programmatic", 138 } 139 140 if input == nil { 141 input = &GetProgrammaticAccessCredentialsInput{} 142 } 143 144 output = &GetProgrammaticAccessCredentialsOutput{} 145 req = c.newRequest(op, input, output) 146 return 147 } 148 149 // GetProgrammaticAccessCredentials API operation for FinSpace Public API. 150 // 151 // Request programmatic credentials to use with Habanero SDK. 152 // 153 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 154 // with awserr.Error's Code and Message methods to get detailed information about 155 // the error. 156 // 157 // See the AWS API reference guide for FinSpace Public API's 158 // API operation GetProgrammaticAccessCredentials for usage and error information. 159 // 160 // Returned Error Types: 161 // * InternalServerException 162 // The request processing has failed because of an unknown error, exception 163 // or failure. 164 // 165 // * ThrottlingException 166 // The request was denied due to request throttling. 167 // 168 // * AccessDeniedException 169 // You do not have sufficient access to perform this action. 170 // 171 // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetProgrammaticAccessCredentials 172 func (c *FinSpaceData) GetProgrammaticAccessCredentials(input *GetProgrammaticAccessCredentialsInput) (*GetProgrammaticAccessCredentialsOutput, error) { 173 req, out := c.GetProgrammaticAccessCredentialsRequest(input) 174 return out, req.Send() 175 } 176 177 // GetProgrammaticAccessCredentialsWithContext is the same as GetProgrammaticAccessCredentials with the addition of 178 // the ability to pass a context and additional request options. 179 // 180 // See GetProgrammaticAccessCredentials for details on how to use this API operation. 181 // 182 // The context must be non-nil and will be used for request cancellation. If 183 // the context is nil a panic will occur. In the future the SDK may create 184 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 185 // for more information on using Contexts. 186 func (c *FinSpaceData) GetProgrammaticAccessCredentialsWithContext(ctx aws.Context, input *GetProgrammaticAccessCredentialsInput, opts ...request.Option) (*GetProgrammaticAccessCredentialsOutput, error) { 187 req, out := c.GetProgrammaticAccessCredentialsRequest(input) 188 req.SetContext(ctx) 189 req.ApplyOptions(opts...) 190 return out, req.Send() 191 } 192 193 const opGetWorkingLocation = "GetWorkingLocation" 194 195 // GetWorkingLocationRequest generates a "aws/request.Request" representing the 196 // client's request for the GetWorkingLocation operation. The "output" return 197 // value will be populated with the request's response once the request completes 198 // successfully. 199 // 200 // Use "Send" method on the returned Request to send the API call to the service. 201 // the "output" return value is not valid until after Send returns without error. 202 // 203 // See GetWorkingLocation for more information on using the GetWorkingLocation 204 // API call, and error handling. 205 // 206 // This method is useful when you want to inject custom logic or configuration 207 // into the SDK's request lifecycle. Such as custom headers, or retry logic. 208 // 209 // 210 // // Example sending a request using the GetWorkingLocationRequest method. 211 // req, resp := client.GetWorkingLocationRequest(params) 212 // 213 // err := req.Send() 214 // if err == nil { // resp is now filled 215 // fmt.Println(resp) 216 // } 217 // 218 // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation 219 func (c *FinSpaceData) GetWorkingLocationRequest(input *GetWorkingLocationInput) (req *request.Request, output *GetWorkingLocationOutput) { 220 op := &request.Operation{ 221 Name: opGetWorkingLocation, 222 HTTPMethod: "POST", 223 HTTPPath: "/workingLocationV1", 224 } 225 226 if input == nil { 227 input = &GetWorkingLocationInput{} 228 } 229 230 output = &GetWorkingLocationOutput{} 231 req = c.newRequest(op, input, output) 232 return 233 } 234 235 // GetWorkingLocation API operation for FinSpace Public API. 236 // 237 // A temporary Amazon S3 location to copy your files from a source location 238 // to stage or use as a scratch space in Habanero notebook. 239 // 240 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions 241 // with awserr.Error's Code and Message methods to get detailed information about 242 // the error. 243 // 244 // See the AWS API reference guide for FinSpace Public API's 245 // API operation GetWorkingLocation for usage and error information. 246 // 247 // Returned Error Types: 248 // * InternalServerException 249 // The request processing has failed because of an unknown error, exception 250 // or failure. 251 // 252 // * AccessDeniedException 253 // You do not have sufficient access to perform this action. 254 // 255 // * ThrottlingException 256 // The request was denied due to request throttling. 257 // 258 // * ValidationException 259 // The input fails to satisfy the constraints specified by an AWS service. 260 // 261 // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation 262 func (c *FinSpaceData) GetWorkingLocation(input *GetWorkingLocationInput) (*GetWorkingLocationOutput, error) { 263 req, out := c.GetWorkingLocationRequest(input) 264 return out, req.Send() 265 } 266 267 // GetWorkingLocationWithContext is the same as GetWorkingLocation with the addition of 268 // the ability to pass a context and additional request options. 269 // 270 // See GetWorkingLocation for details on how to use this API operation. 271 // 272 // The context must be non-nil and will be used for request cancellation. If 273 // the context is nil a panic will occur. In the future the SDK may create 274 // sub-contexts for http.Requests. See https://golang.org/pkg/context/ 275 // for more information on using Contexts. 276 func (c *FinSpaceData) GetWorkingLocationWithContext(ctx aws.Context, input *GetWorkingLocationInput, opts ...request.Option) (*GetWorkingLocationOutput, error) { 277 req, out := c.GetWorkingLocationRequest(input) 278 req.SetContext(ctx) 279 req.ApplyOptions(opts...) 280 return out, req.Send() 281 } 282 283 // You do not have sufficient access to perform this action. 284 type AccessDeniedException struct { 285 _ struct{} `type:"structure"` 286 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 287 288 Message_ *string `locationName:"message" type:"string"` 289 } 290 291 // String returns the string representation. 292 // 293 // API parameter values that are decorated as "sensitive" in the API will not 294 // be included in the string output. The member name will be present, but the 295 // value will be replaced with "sensitive". 296 func (s AccessDeniedException) String() string { 297 return awsutil.Prettify(s) 298 } 299 300 // GoString returns the string representation. 301 // 302 // API parameter values that are decorated as "sensitive" in the API will not 303 // be included in the string output. The member name will be present, but the 304 // value will be replaced with "sensitive". 305 func (s AccessDeniedException) GoString() string { 306 return s.String() 307 } 308 309 func newErrorAccessDeniedException(v protocol.ResponseMetadata) error { 310 return &AccessDeniedException{ 311 RespMetadata: v, 312 } 313 } 314 315 // Code returns the exception type name. 316 func (s *AccessDeniedException) Code() string { 317 return "AccessDeniedException" 318 } 319 320 // Message returns the exception's message. 321 func (s *AccessDeniedException) Message() string { 322 if s.Message_ != nil { 323 return *s.Message_ 324 } 325 return "" 326 } 327 328 // OrigErr always returns nil, satisfies awserr.Error interface. 329 func (s *AccessDeniedException) OrigErr() error { 330 return nil 331 } 332 333 func (s *AccessDeniedException) Error() string { 334 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 335 } 336 337 // Status code returns the HTTP status code for the request's response error. 338 func (s *AccessDeniedException) StatusCode() int { 339 return s.RespMetadata.StatusCode 340 } 341 342 // RequestID returns the service's response RequestID for request. 343 func (s *AccessDeniedException) RequestID() string { 344 return s.RespMetadata.RequestID 345 } 346 347 // A changeset is unit of data in a dataset. 348 type ChangesetInfo struct { 349 _ struct{} `type:"structure"` 350 351 // Change type indicates how a changeset is applied to a dataset. 352 // 353 // * REPLACE - Changeset is considered as a replacement to all prior loaded 354 // changesets. 355 // 356 // * APPEND - Changeset is considered as an addition to the end of all prior 357 // loaded changesets. 358 // 359 // * MODIFY - Changeset is considered as a replacement to a specific prior 360 // ingested changeset. 361 ChangeType *string `locationName:"changeType" type:"string" enum:"ChangeType"` 362 363 // The ARN identifier of the changeset. 364 ChangesetArn *string `locationName:"changesetArn" min:"20" type:"string"` 365 366 // Tags associated with the changeset. 367 ChangesetLabels map[string]*string `locationName:"changesetLabels" type:"map"` 368 369 // The timestamp at which the changeset was created in FinSpace. 370 CreateTimestamp *time.Time `locationName:"createTimestamp" type:"timestamp"` 371 372 // The unique identifier for the FinSpace dataset in which the changeset is 373 // created. 374 DatasetId *string `locationName:"datasetId" min:"1" type:"string"` 375 376 // The structure with error messages. 377 ErrorInfo *ErrorInfo `locationName:"errorInfo" type:"structure"` 378 379 // Structure of the source file(s). 380 FormatParams map[string]*string `locationName:"formatParams" type:"map"` 381 382 // Format type of the input files loaded into the changeset. 383 FormatType *string `locationName:"formatType" type:"string" enum:"FormatType"` 384 385 // Unique identifier for a changeset. 386 Id *string `locationName:"id" min:"1" type:"string"` 387 388 // Source path from which the files to create the changeset are sourced. 389 SourceParams map[string]*string `locationName:"sourceParams" type:"map"` 390 391 // Type of the data source from which the files to create the changeset are 392 // sourced. 393 // 394 // * S3 - Amazon S3. 395 SourceType *string `locationName:"sourceType" type:"string" enum:"SourceType"` 396 397 // The status of changeset creation operation. 398 Status *string `locationName:"status" type:"string" enum:"ChangesetStatus"` 399 400 // Unique identifier of the changeset that is updated a changeset. 401 UpdatedByChangesetId *string `locationName:"updatedByChangesetId" type:"string"` 402 403 // Unique identifier of the changeset that is updated. 404 UpdatesChangesetId *string `locationName:"updatesChangesetId" type:"string"` 405 } 406 407 // String returns the string representation. 408 // 409 // API parameter values that are decorated as "sensitive" in the API will not 410 // be included in the string output. The member name will be present, but the 411 // value will be replaced with "sensitive". 412 func (s ChangesetInfo) String() string { 413 return awsutil.Prettify(s) 414 } 415 416 // GoString returns the string representation. 417 // 418 // API parameter values that are decorated as "sensitive" in the API will not 419 // be included in the string output. The member name will be present, but the 420 // value will be replaced with "sensitive". 421 func (s ChangesetInfo) GoString() string { 422 return s.String() 423 } 424 425 // SetChangeType sets the ChangeType field's value. 426 func (s *ChangesetInfo) SetChangeType(v string) *ChangesetInfo { 427 s.ChangeType = &v 428 return s 429 } 430 431 // SetChangesetArn sets the ChangesetArn field's value. 432 func (s *ChangesetInfo) SetChangesetArn(v string) *ChangesetInfo { 433 s.ChangesetArn = &v 434 return s 435 } 436 437 // SetChangesetLabels sets the ChangesetLabels field's value. 438 func (s *ChangesetInfo) SetChangesetLabels(v map[string]*string) *ChangesetInfo { 439 s.ChangesetLabels = v 440 return s 441 } 442 443 // SetCreateTimestamp sets the CreateTimestamp field's value. 444 func (s *ChangesetInfo) SetCreateTimestamp(v time.Time) *ChangesetInfo { 445 s.CreateTimestamp = &v 446 return s 447 } 448 449 // SetDatasetId sets the DatasetId field's value. 450 func (s *ChangesetInfo) SetDatasetId(v string) *ChangesetInfo { 451 s.DatasetId = &v 452 return s 453 } 454 455 // SetErrorInfo sets the ErrorInfo field's value. 456 func (s *ChangesetInfo) SetErrorInfo(v *ErrorInfo) *ChangesetInfo { 457 s.ErrorInfo = v 458 return s 459 } 460 461 // SetFormatParams sets the FormatParams field's value. 462 func (s *ChangesetInfo) SetFormatParams(v map[string]*string) *ChangesetInfo { 463 s.FormatParams = v 464 return s 465 } 466 467 // SetFormatType sets the FormatType field's value. 468 func (s *ChangesetInfo) SetFormatType(v string) *ChangesetInfo { 469 s.FormatType = &v 470 return s 471 } 472 473 // SetId sets the Id field's value. 474 func (s *ChangesetInfo) SetId(v string) *ChangesetInfo { 475 s.Id = &v 476 return s 477 } 478 479 // SetSourceParams sets the SourceParams field's value. 480 func (s *ChangesetInfo) SetSourceParams(v map[string]*string) *ChangesetInfo { 481 s.SourceParams = v 482 return s 483 } 484 485 // SetSourceType sets the SourceType field's value. 486 func (s *ChangesetInfo) SetSourceType(v string) *ChangesetInfo { 487 s.SourceType = &v 488 return s 489 } 490 491 // SetStatus sets the Status field's value. 492 func (s *ChangesetInfo) SetStatus(v string) *ChangesetInfo { 493 s.Status = &v 494 return s 495 } 496 497 // SetUpdatedByChangesetId sets the UpdatedByChangesetId field's value. 498 func (s *ChangesetInfo) SetUpdatedByChangesetId(v string) *ChangesetInfo { 499 s.UpdatedByChangesetId = &v 500 return s 501 } 502 503 // SetUpdatesChangesetId sets the UpdatesChangesetId field's value. 504 func (s *ChangesetInfo) SetUpdatesChangesetId(v string) *ChangesetInfo { 505 s.UpdatesChangesetId = &v 506 return s 507 } 508 509 type CreateChangesetInput struct { 510 _ struct{} `type:"structure"` 511 512 // Option to indicate how a changeset will be applied to a dataset. 513 // 514 // * REPLACE - Changeset will be considered as a replacement to all prior 515 // loaded changesets. 516 // 517 // * APPEND - Changeset will be considered as an addition to the end of all 518 // prior loaded changesets. 519 // 520 // ChangeType is a required field 521 ChangeType *string `locationName:"changeType" type:"string" required:"true" enum:"ChangeType"` 522 523 // The unique identifier for the FinSpace dataset in which the changeset will 524 // be created. 525 // 526 // DatasetId is a required field 527 DatasetId *string `location:"uri" locationName:"datasetId" min:"1" type:"string" required:"true"` 528 529 // Options that define the structure of the source file(s). 530 FormatParams map[string]*string `locationName:"formatParams" type:"map"` 531 532 // Format type of the input files being loaded into the changeset. 533 FormatType *string `locationName:"formatType" type:"string" enum:"FormatType"` 534 535 // Source path from which the files to create the changeset will be sourced. 536 // 537 // SourceParams is a required field 538 SourceParams map[string]*string `locationName:"sourceParams" type:"map" required:"true"` 539 540 // Type of the data source from which the files to create the changeset will 541 // be sourced. 542 // 543 // * S3 - Amazon S3. 544 // 545 // SourceType is a required field 546 SourceType *string `locationName:"sourceType" type:"string" required:"true" enum:"SourceType"` 547 548 // Metadata tags to apply to this changeset. 549 Tags map[string]*string `locationName:"tags" type:"map"` 550 } 551 552 // String returns the string representation. 553 // 554 // API parameter values that are decorated as "sensitive" in the API will not 555 // be included in the string output. The member name will be present, but the 556 // value will be replaced with "sensitive". 557 func (s CreateChangesetInput) String() string { 558 return awsutil.Prettify(s) 559 } 560 561 // GoString returns the string representation. 562 // 563 // API parameter values that are decorated as "sensitive" in the API will not 564 // be included in the string output. The member name will be present, but the 565 // value will be replaced with "sensitive". 566 func (s CreateChangesetInput) GoString() string { 567 return s.String() 568 } 569 570 // Validate inspects the fields of the type to determine if they are valid. 571 func (s *CreateChangesetInput) Validate() error { 572 invalidParams := request.ErrInvalidParams{Context: "CreateChangesetInput"} 573 if s.ChangeType == nil { 574 invalidParams.Add(request.NewErrParamRequired("ChangeType")) 575 } 576 if s.DatasetId == nil { 577 invalidParams.Add(request.NewErrParamRequired("DatasetId")) 578 } 579 if s.DatasetId != nil && len(*s.DatasetId) < 1 { 580 invalidParams.Add(request.NewErrParamMinLen("DatasetId", 1)) 581 } 582 if s.SourceParams == nil { 583 invalidParams.Add(request.NewErrParamRequired("SourceParams")) 584 } 585 if s.SourceType == nil { 586 invalidParams.Add(request.NewErrParamRequired("SourceType")) 587 } 588 589 if invalidParams.Len() > 0 { 590 return invalidParams 591 } 592 return nil 593 } 594 595 // SetChangeType sets the ChangeType field's value. 596 func (s *CreateChangesetInput) SetChangeType(v string) *CreateChangesetInput { 597 s.ChangeType = &v 598 return s 599 } 600 601 // SetDatasetId sets the DatasetId field's value. 602 func (s *CreateChangesetInput) SetDatasetId(v string) *CreateChangesetInput { 603 s.DatasetId = &v 604 return s 605 } 606 607 // SetFormatParams sets the FormatParams field's value. 608 func (s *CreateChangesetInput) SetFormatParams(v map[string]*string) *CreateChangesetInput { 609 s.FormatParams = v 610 return s 611 } 612 613 // SetFormatType sets the FormatType field's value. 614 func (s *CreateChangesetInput) SetFormatType(v string) *CreateChangesetInput { 615 s.FormatType = &v 616 return s 617 } 618 619 // SetSourceParams sets the SourceParams field's value. 620 func (s *CreateChangesetInput) SetSourceParams(v map[string]*string) *CreateChangesetInput { 621 s.SourceParams = v 622 return s 623 } 624 625 // SetSourceType sets the SourceType field's value. 626 func (s *CreateChangesetInput) SetSourceType(v string) *CreateChangesetInput { 627 s.SourceType = &v 628 return s 629 } 630 631 // SetTags sets the Tags field's value. 632 func (s *CreateChangesetInput) SetTags(v map[string]*string) *CreateChangesetInput { 633 s.Tags = v 634 return s 635 } 636 637 type CreateChangesetOutput struct { 638 _ struct{} `type:"structure"` 639 640 // Returns the changeset details. 641 Changeset *ChangesetInfo `locationName:"changeset" type:"structure"` 642 } 643 644 // String returns the string representation. 645 // 646 // API parameter values that are decorated as "sensitive" in the API will not 647 // be included in the string output. The member name will be present, but the 648 // value will be replaced with "sensitive". 649 func (s CreateChangesetOutput) String() string { 650 return awsutil.Prettify(s) 651 } 652 653 // GoString returns the string representation. 654 // 655 // API parameter values that are decorated as "sensitive" in the API will not 656 // be included in the string output. The member name will be present, but the 657 // value will be replaced with "sensitive". 658 func (s CreateChangesetOutput) GoString() string { 659 return s.String() 660 } 661 662 // SetChangeset sets the Changeset field's value. 663 func (s *CreateChangesetOutput) SetChangeset(v *ChangesetInfo) *CreateChangesetOutput { 664 s.Changeset = v 665 return s 666 } 667 668 // Set short term API credentials. 669 type Credentials struct { 670 _ struct{} `type:"structure"` 671 672 // The access key identifier. 673 AccessKeyId *string `locationName:"accessKeyId" min:"1" type:"string"` 674 675 // The access key. 676 SecretAccessKey *string `locationName:"secretAccessKey" type:"string"` 677 678 // The session token. 679 SessionToken *string `locationName:"sessionToken" type:"string"` 680 } 681 682 // String returns the string representation. 683 // 684 // API parameter values that are decorated as "sensitive" in the API will not 685 // be included in the string output. The member name will be present, but the 686 // value will be replaced with "sensitive". 687 func (s Credentials) String() string { 688 return awsutil.Prettify(s) 689 } 690 691 // GoString returns the string representation. 692 // 693 // API parameter values that are decorated as "sensitive" in the API will not 694 // be included in the string output. The member name will be present, but the 695 // value will be replaced with "sensitive". 696 func (s Credentials) GoString() string { 697 return s.String() 698 } 699 700 // SetAccessKeyId sets the AccessKeyId field's value. 701 func (s *Credentials) SetAccessKeyId(v string) *Credentials { 702 s.AccessKeyId = &v 703 return s 704 } 705 706 // SetSecretAccessKey sets the SecretAccessKey field's value. 707 func (s *Credentials) SetSecretAccessKey(v string) *Credentials { 708 s.SecretAccessKey = &v 709 return s 710 } 711 712 // SetSessionToken sets the SessionToken field's value. 713 func (s *Credentials) SetSessionToken(v string) *Credentials { 714 s.SessionToken = &v 715 return s 716 } 717 718 // Error message. 719 type ErrorInfo struct { 720 _ struct{} `type:"structure"` 721 722 // The category of the error. 723 // 724 // * VALIDATION -The inputs to this request are invalid. 725 // 726 // * SERVICE_QUOTA_EXCEEDED - Service quotas have been exceeded. Please contact 727 // AWS support to increase quotas. 728 // 729 // * ACCESS_DENIED - Missing required permission to perform this request. 730 // 731 // * RESOURCE_NOT_FOUND - One or more inputs to this request were not found. 732 // 733 // * THROTTLING - The system temporarily lacks sufficient resources to process 734 // the request. 735 // 736 // * INTERNAL_SERVICE_EXCEPTION - An internal service error has occurred. 737 // 738 // * CANCELLED - A user recoverable error has occurred. 739 ErrorCategory *string `locationName:"errorCategory" type:"string" enum:"ErrorCategory"` 740 741 // The text of the error message. 742 ErrorMessage *string `locationName:"errorMessage" type:"string"` 743 } 744 745 // String returns the string representation. 746 // 747 // API parameter values that are decorated as "sensitive" in the API will not 748 // be included in the string output. The member name will be present, but the 749 // value will be replaced with "sensitive". 750 func (s ErrorInfo) String() string { 751 return awsutil.Prettify(s) 752 } 753 754 // GoString returns the string representation. 755 // 756 // API parameter values that are decorated as "sensitive" in the API will not 757 // be included in the string output. The member name will be present, but the 758 // value will be replaced with "sensitive". 759 func (s ErrorInfo) GoString() string { 760 return s.String() 761 } 762 763 // SetErrorCategory sets the ErrorCategory field's value. 764 func (s *ErrorInfo) SetErrorCategory(v string) *ErrorInfo { 765 s.ErrorCategory = &v 766 return s 767 } 768 769 // SetErrorMessage sets the ErrorMessage field's value. 770 func (s *ErrorInfo) SetErrorMessage(v string) *ErrorInfo { 771 s.ErrorMessage = &v 772 return s 773 } 774 775 type GetProgrammaticAccessCredentialsInput struct { 776 _ struct{} `type:"structure" nopayload:"true"` 777 778 // The time duration in which the credentials remain valid. 779 DurationInMinutes *int64 `location:"querystring" locationName:"durationInMinutes" min:"60" type:"long"` 780 781 // The habanero environment identifier. 782 // 783 // EnvironmentId is a required field 784 EnvironmentId *string `location:"querystring" locationName:"environmentId" min:"1" type:"string" required:"true"` 785 } 786 787 // String returns the string representation. 788 // 789 // API parameter values that are decorated as "sensitive" in the API will not 790 // be included in the string output. The member name will be present, but the 791 // value will be replaced with "sensitive". 792 func (s GetProgrammaticAccessCredentialsInput) String() string { 793 return awsutil.Prettify(s) 794 } 795 796 // GoString returns the string representation. 797 // 798 // API parameter values that are decorated as "sensitive" in the API will not 799 // be included in the string output. The member name will be present, but the 800 // value will be replaced with "sensitive". 801 func (s GetProgrammaticAccessCredentialsInput) GoString() string { 802 return s.String() 803 } 804 805 // Validate inspects the fields of the type to determine if they are valid. 806 func (s *GetProgrammaticAccessCredentialsInput) Validate() error { 807 invalidParams := request.ErrInvalidParams{Context: "GetProgrammaticAccessCredentialsInput"} 808 if s.DurationInMinutes != nil && *s.DurationInMinutes < 60 { 809 invalidParams.Add(request.NewErrParamMinValue("DurationInMinutes", 60)) 810 } 811 if s.EnvironmentId == nil { 812 invalidParams.Add(request.NewErrParamRequired("EnvironmentId")) 813 } 814 if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { 815 invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) 816 } 817 818 if invalidParams.Len() > 0 { 819 return invalidParams 820 } 821 return nil 822 } 823 824 // SetDurationInMinutes sets the DurationInMinutes field's value. 825 func (s *GetProgrammaticAccessCredentialsInput) SetDurationInMinutes(v int64) *GetProgrammaticAccessCredentialsInput { 826 s.DurationInMinutes = &v 827 return s 828 } 829 830 // SetEnvironmentId sets the EnvironmentId field's value. 831 func (s *GetProgrammaticAccessCredentialsInput) SetEnvironmentId(v string) *GetProgrammaticAccessCredentialsInput { 832 s.EnvironmentId = &v 833 return s 834 } 835 836 type GetProgrammaticAccessCredentialsOutput struct { 837 _ struct{} `type:"structure"` 838 839 // Returns the programmatic credentials. 840 Credentials *Credentials `locationName:"credentials" type:"structure"` 841 842 // Returns the duration in which the credentials will remain valid. 843 DurationInMinutes *int64 `locationName:"durationInMinutes" min:"60" type:"long"` 844 } 845 846 // String returns the string representation. 847 // 848 // API parameter values that are decorated as "sensitive" in the API will not 849 // be included in the string output. The member name will be present, but the 850 // value will be replaced with "sensitive". 851 func (s GetProgrammaticAccessCredentialsOutput) String() string { 852 return awsutil.Prettify(s) 853 } 854 855 // GoString returns the string representation. 856 // 857 // API parameter values that are decorated as "sensitive" in the API will not 858 // be included in the string output. The member name will be present, but the 859 // value will be replaced with "sensitive". 860 func (s GetProgrammaticAccessCredentialsOutput) GoString() string { 861 return s.String() 862 } 863 864 // SetCredentials sets the Credentials field's value. 865 func (s *GetProgrammaticAccessCredentialsOutput) SetCredentials(v *Credentials) *GetProgrammaticAccessCredentialsOutput { 866 s.Credentials = v 867 return s 868 } 869 870 // SetDurationInMinutes sets the DurationInMinutes field's value. 871 func (s *GetProgrammaticAccessCredentialsOutput) SetDurationInMinutes(v int64) *GetProgrammaticAccessCredentialsOutput { 872 s.DurationInMinutes = &v 873 return s 874 } 875 876 type GetWorkingLocationInput struct { 877 _ struct{} `type:"structure"` 878 879 // Specify the type of the working location. 880 // 881 // * SAGEMAKER - Use the Amazon S3 location as a temporary location to store 882 // data content when working with FinSpace Notebooks that run on SageMaker 883 // studio. 884 // 885 // * INGESTION - Use the Amazon S3 location as a staging location to copy 886 // your data content and then use the location with the changeset creation 887 // operation. 888 LocationType *string `locationName:"locationType" type:"string" enum:"LocationType"` 889 } 890 891 // String returns the string representation. 892 // 893 // API parameter values that are decorated as "sensitive" in the API will not 894 // be included in the string output. The member name will be present, but the 895 // value will be replaced with "sensitive". 896 func (s GetWorkingLocationInput) String() string { 897 return awsutil.Prettify(s) 898 } 899 900 // GoString returns the string representation. 901 // 902 // API parameter values that are decorated as "sensitive" in the API will not 903 // be included in the string output. The member name will be present, but the 904 // value will be replaced with "sensitive". 905 func (s GetWorkingLocationInput) GoString() string { 906 return s.String() 907 } 908 909 // SetLocationType sets the LocationType field's value. 910 func (s *GetWorkingLocationInput) SetLocationType(v string) *GetWorkingLocationInput { 911 s.LocationType = &v 912 return s 913 } 914 915 type GetWorkingLocationOutput struct { 916 _ struct{} `type:"structure"` 917 918 // Returns the Amazon S3 bucket name for the working location. 919 S3Bucket *string `locationName:"s3Bucket" min:"1" type:"string"` 920 921 // Returns the Amazon S3 Path for the working location. 922 S3Path *string `locationName:"s3Path" min:"1" type:"string"` 923 924 // Returns the Amazon S3 URI for the working location. 925 S3Uri *string `locationName:"s3Uri" min:"1" type:"string"` 926 } 927 928 // String returns the string representation. 929 // 930 // API parameter values that are decorated as "sensitive" in the API will not 931 // be included in the string output. The member name will be present, but the 932 // value will be replaced with "sensitive". 933 func (s GetWorkingLocationOutput) String() string { 934 return awsutil.Prettify(s) 935 } 936 937 // GoString returns the string representation. 938 // 939 // API parameter values that are decorated as "sensitive" in the API will not 940 // be included in the string output. The member name will be present, but the 941 // value will be replaced with "sensitive". 942 func (s GetWorkingLocationOutput) GoString() string { 943 return s.String() 944 } 945 946 // SetS3Bucket sets the S3Bucket field's value. 947 func (s *GetWorkingLocationOutput) SetS3Bucket(v string) *GetWorkingLocationOutput { 948 s.S3Bucket = &v 949 return s 950 } 951 952 // SetS3Path sets the S3Path field's value. 953 func (s *GetWorkingLocationOutput) SetS3Path(v string) *GetWorkingLocationOutput { 954 s.S3Path = &v 955 return s 956 } 957 958 // SetS3Uri sets the S3Uri field's value. 959 func (s *GetWorkingLocationOutput) SetS3Uri(v string) *GetWorkingLocationOutput { 960 s.S3Uri = &v 961 return s 962 } 963 964 // The request processing has failed because of an unknown error, exception 965 // or failure. 966 type InternalServerException struct { 967 _ struct{} `type:"structure"` 968 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 969 970 Message_ *string `locationName:"message" type:"string"` 971 } 972 973 // String returns the string representation. 974 // 975 // API parameter values that are decorated as "sensitive" in the API will not 976 // be included in the string output. The member name will be present, but the 977 // value will be replaced with "sensitive". 978 func (s InternalServerException) String() string { 979 return awsutil.Prettify(s) 980 } 981 982 // GoString returns the string representation. 983 // 984 // API parameter values that are decorated as "sensitive" in the API will not 985 // be included in the string output. The member name will be present, but the 986 // value will be replaced with "sensitive". 987 func (s InternalServerException) GoString() string { 988 return s.String() 989 } 990 991 func newErrorInternalServerException(v protocol.ResponseMetadata) error { 992 return &InternalServerException{ 993 RespMetadata: v, 994 } 995 } 996 997 // Code returns the exception type name. 998 func (s *InternalServerException) Code() string { 999 return "InternalServerException" 1000 } 1001 1002 // Message returns the exception's message. 1003 func (s *InternalServerException) Message() string { 1004 if s.Message_ != nil { 1005 return *s.Message_ 1006 } 1007 return "" 1008 } 1009 1010 // OrigErr always returns nil, satisfies awserr.Error interface. 1011 func (s *InternalServerException) OrigErr() error { 1012 return nil 1013 } 1014 1015 func (s *InternalServerException) Error() string { 1016 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 1017 } 1018 1019 // Status code returns the HTTP status code for the request's response error. 1020 func (s *InternalServerException) StatusCode() int { 1021 return s.RespMetadata.StatusCode 1022 } 1023 1024 // RequestID returns the service's response RequestID for request. 1025 func (s *InternalServerException) RequestID() string { 1026 return s.RespMetadata.RequestID 1027 } 1028 1029 // One or more resources can't be found. 1030 type ResourceNotFoundException struct { 1031 _ struct{} `type:"structure"` 1032 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 1033 1034 Message_ *string `locationName:"message" type:"string"` 1035 } 1036 1037 // String returns the string representation. 1038 // 1039 // API parameter values that are decorated as "sensitive" in the API will not 1040 // be included in the string output. The member name will be present, but the 1041 // value will be replaced with "sensitive". 1042 func (s ResourceNotFoundException) String() string { 1043 return awsutil.Prettify(s) 1044 } 1045 1046 // GoString returns the string representation. 1047 // 1048 // API parameter values that are decorated as "sensitive" in the API will not 1049 // be included in the string output. The member name will be present, but the 1050 // value will be replaced with "sensitive". 1051 func (s ResourceNotFoundException) GoString() string { 1052 return s.String() 1053 } 1054 1055 func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { 1056 return &ResourceNotFoundException{ 1057 RespMetadata: v, 1058 } 1059 } 1060 1061 // Code returns the exception type name. 1062 func (s *ResourceNotFoundException) Code() string { 1063 return "ResourceNotFoundException" 1064 } 1065 1066 // Message returns the exception's message. 1067 func (s *ResourceNotFoundException) Message() string { 1068 if s.Message_ != nil { 1069 return *s.Message_ 1070 } 1071 return "" 1072 } 1073 1074 // OrigErr always returns nil, satisfies awserr.Error interface. 1075 func (s *ResourceNotFoundException) OrigErr() error { 1076 return nil 1077 } 1078 1079 func (s *ResourceNotFoundException) Error() string { 1080 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 1081 } 1082 1083 // Status code returns the HTTP status code for the request's response error. 1084 func (s *ResourceNotFoundException) StatusCode() int { 1085 return s.RespMetadata.StatusCode 1086 } 1087 1088 // RequestID returns the service's response RequestID for request. 1089 func (s *ResourceNotFoundException) RequestID() string { 1090 return s.RespMetadata.RequestID 1091 } 1092 1093 // The request was denied due to request throttling. 1094 type ThrottlingException struct { 1095 _ struct{} `type:"structure"` 1096 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 1097 1098 Message_ *string `locationName:"message" type:"string"` 1099 } 1100 1101 // String returns the string representation. 1102 // 1103 // API parameter values that are decorated as "sensitive" in the API will not 1104 // be included in the string output. The member name will be present, but the 1105 // value will be replaced with "sensitive". 1106 func (s ThrottlingException) String() string { 1107 return awsutil.Prettify(s) 1108 } 1109 1110 // GoString returns the string representation. 1111 // 1112 // API parameter values that are decorated as "sensitive" in the API will not 1113 // be included in the string output. The member name will be present, but the 1114 // value will be replaced with "sensitive". 1115 func (s ThrottlingException) GoString() string { 1116 return s.String() 1117 } 1118 1119 func newErrorThrottlingException(v protocol.ResponseMetadata) error { 1120 return &ThrottlingException{ 1121 RespMetadata: v, 1122 } 1123 } 1124 1125 // Code returns the exception type name. 1126 func (s *ThrottlingException) Code() string { 1127 return "ThrottlingException" 1128 } 1129 1130 // Message returns the exception's message. 1131 func (s *ThrottlingException) Message() string { 1132 if s.Message_ != nil { 1133 return *s.Message_ 1134 } 1135 return "" 1136 } 1137 1138 // OrigErr always returns nil, satisfies awserr.Error interface. 1139 func (s *ThrottlingException) OrigErr() error { 1140 return nil 1141 } 1142 1143 func (s *ThrottlingException) Error() string { 1144 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 1145 } 1146 1147 // Status code returns the HTTP status code for the request's response error. 1148 func (s *ThrottlingException) StatusCode() int { 1149 return s.RespMetadata.StatusCode 1150 } 1151 1152 // RequestID returns the service's response RequestID for request. 1153 func (s *ThrottlingException) RequestID() string { 1154 return s.RespMetadata.RequestID 1155 } 1156 1157 // The input fails to satisfy the constraints specified by an AWS service. 1158 type ValidationException struct { 1159 _ struct{} `type:"structure"` 1160 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` 1161 1162 Message_ *string `locationName:"message" type:"string"` 1163 } 1164 1165 // String returns the string representation. 1166 // 1167 // API parameter values that are decorated as "sensitive" in the API will not 1168 // be included in the string output. The member name will be present, but the 1169 // value will be replaced with "sensitive". 1170 func (s ValidationException) String() string { 1171 return awsutil.Prettify(s) 1172 } 1173 1174 // GoString returns the string representation. 1175 // 1176 // API parameter values that are decorated as "sensitive" in the API will not 1177 // be included in the string output. The member name will be present, but the 1178 // value will be replaced with "sensitive". 1179 func (s ValidationException) GoString() string { 1180 return s.String() 1181 } 1182 1183 func newErrorValidationException(v protocol.ResponseMetadata) error { 1184 return &ValidationException{ 1185 RespMetadata: v, 1186 } 1187 } 1188 1189 // Code returns the exception type name. 1190 func (s *ValidationException) Code() string { 1191 return "ValidationException" 1192 } 1193 1194 // Message returns the exception's message. 1195 func (s *ValidationException) Message() string { 1196 if s.Message_ != nil { 1197 return *s.Message_ 1198 } 1199 return "" 1200 } 1201 1202 // OrigErr always returns nil, satisfies awserr.Error interface. 1203 func (s *ValidationException) OrigErr() error { 1204 return nil 1205 } 1206 1207 func (s *ValidationException) Error() string { 1208 return fmt.Sprintf("%s: %s", s.Code(), s.Message()) 1209 } 1210 1211 // Status code returns the HTTP status code for the request's response error. 1212 func (s *ValidationException) StatusCode() int { 1213 return s.RespMetadata.StatusCode 1214 } 1215 1216 // RequestID returns the service's response RequestID for request. 1217 func (s *ValidationException) RequestID() string { 1218 return s.RespMetadata.RequestID 1219 } 1220 1221 const ( 1222 // ChangeTypeReplace is a ChangeType enum value 1223 ChangeTypeReplace = "REPLACE" 1224 1225 // ChangeTypeAppend is a ChangeType enum value 1226 ChangeTypeAppend = "APPEND" 1227 1228 // ChangeTypeModify is a ChangeType enum value 1229 ChangeTypeModify = "MODIFY" 1230 ) 1231 1232 // ChangeType_Values returns all elements of the ChangeType enum 1233 func ChangeType_Values() []string { 1234 return []string{ 1235 ChangeTypeReplace, 1236 ChangeTypeAppend, 1237 ChangeTypeModify, 1238 } 1239 } 1240 1241 const ( 1242 // ChangesetStatusPending is a ChangesetStatus enum value 1243 ChangesetStatusPending = "PENDING" 1244 1245 // ChangesetStatusFailed is a ChangesetStatus enum value 1246 ChangesetStatusFailed = "FAILED" 1247 1248 // ChangesetStatusSuccess is a ChangesetStatus enum value 1249 ChangesetStatusSuccess = "SUCCESS" 1250 1251 // ChangesetStatusRunning is a ChangesetStatus enum value 1252 ChangesetStatusRunning = "RUNNING" 1253 1254 // ChangesetStatusStopRequested is a ChangesetStatus enum value 1255 ChangesetStatusStopRequested = "STOP_REQUESTED" 1256 ) 1257 1258 // ChangesetStatus_Values returns all elements of the ChangesetStatus enum 1259 func ChangesetStatus_Values() []string { 1260 return []string{ 1261 ChangesetStatusPending, 1262 ChangesetStatusFailed, 1263 ChangesetStatusSuccess, 1264 ChangesetStatusRunning, 1265 ChangesetStatusStopRequested, 1266 } 1267 } 1268 1269 const ( 1270 // ErrorCategoryTheInputsToThisRequestAreInvalid is a ErrorCategory enum value 1271 ErrorCategoryTheInputsToThisRequestAreInvalid = "The_inputs_to_this_request_are_invalid" 1272 1273 // ErrorCategoryServiceLimitsHaveBeenExceeded is a ErrorCategory enum value 1274 ErrorCategoryServiceLimitsHaveBeenExceeded = "Service_limits_have_been_exceeded" 1275 1276 // ErrorCategoryMissingRequiredPermissionToPerformThisRequest is a ErrorCategory enum value 1277 ErrorCategoryMissingRequiredPermissionToPerformThisRequest = "Missing_required_permission_to_perform_this_request" 1278 1279 // ErrorCategoryOneOrMoreInputsToThisRequestWereNotFound is a ErrorCategory enum value 1280 ErrorCategoryOneOrMoreInputsToThisRequestWereNotFound = "One_or_more_inputs_to_this_request_were_not_found" 1281 1282 // ErrorCategoryTheSystemTemporarilyLacksSufficientResourcesToProcessTheRequest is a ErrorCategory enum value 1283 ErrorCategoryTheSystemTemporarilyLacksSufficientResourcesToProcessTheRequest = "The_system_temporarily_lacks_sufficient_resources_to_process_the_request" 1284 1285 // ErrorCategoryAnInternalErrorHasOccurred is a ErrorCategory enum value 1286 ErrorCategoryAnInternalErrorHasOccurred = "An_internal_error_has_occurred" 1287 1288 // ErrorCategoryCancelled is a ErrorCategory enum value 1289 ErrorCategoryCancelled = "Cancelled" 1290 1291 // ErrorCategoryAUserRecoverableErrorHasOccurred is a ErrorCategory enum value 1292 ErrorCategoryAUserRecoverableErrorHasOccurred = "A_user_recoverable_error_has_occurred" 1293 ) 1294 1295 // ErrorCategory_Values returns all elements of the ErrorCategory enum 1296 func ErrorCategory_Values() []string { 1297 return []string{ 1298 ErrorCategoryTheInputsToThisRequestAreInvalid, 1299 ErrorCategoryServiceLimitsHaveBeenExceeded, 1300 ErrorCategoryMissingRequiredPermissionToPerformThisRequest, 1301 ErrorCategoryOneOrMoreInputsToThisRequestWereNotFound, 1302 ErrorCategoryTheSystemTemporarilyLacksSufficientResourcesToProcessTheRequest, 1303 ErrorCategoryAnInternalErrorHasOccurred, 1304 ErrorCategoryCancelled, 1305 ErrorCategoryAUserRecoverableErrorHasOccurred, 1306 } 1307 } 1308 1309 const ( 1310 // FormatTypeCsv is a FormatType enum value 1311 FormatTypeCsv = "CSV" 1312 1313 // FormatTypeJson is a FormatType enum value 1314 FormatTypeJson = "JSON" 1315 1316 // FormatTypeParquet is a FormatType enum value 1317 FormatTypeParquet = "PARQUET" 1318 1319 // FormatTypeXml is a FormatType enum value 1320 FormatTypeXml = "XML" 1321 ) 1322 1323 // FormatType_Values returns all elements of the FormatType enum 1324 func FormatType_Values() []string { 1325 return []string{ 1326 FormatTypeCsv, 1327 FormatTypeJson, 1328 FormatTypeParquet, 1329 FormatTypeXml, 1330 } 1331 } 1332 1333 const ( 1334 // LocationTypeIngestion is a LocationType enum value 1335 LocationTypeIngestion = "INGESTION" 1336 1337 // LocationTypeSagemaker is a LocationType enum value 1338 LocationTypeSagemaker = "SAGEMAKER" 1339 ) 1340 1341 // LocationType_Values returns all elements of the LocationType enum 1342 func LocationType_Values() []string { 1343 return []string{ 1344 LocationTypeIngestion, 1345 LocationTypeSagemaker, 1346 } 1347 } 1348 1349 const ( 1350 // SourceTypeS3 is a SourceType enum value 1351 SourceTypeS3 = "S3" 1352 ) 1353 1354 // SourceType_Values returns all elements of the SourceType enum 1355 func SourceType_Values() []string { 1356 return []string{ 1357 SourceTypeS3, 1358 } 1359 }