1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type ActionOnFailure string
// Enum values for ActionOnFailure
const (
ActionOnFailureTerminateJobFlow ActionOnFailure = "TERMINATE_JOB_FLOW"
ActionOnFailureTerminateCluster ActionOnFailure = "TERMINATE_CLUSTER"
ActionOnFailureCancelAndWait ActionOnFailure = "CANCEL_AND_WAIT"
ActionOnFailureContinue ActionOnFailure = "CONTINUE"
)
// Values returns all known values for ActionOnFailure. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ActionOnFailure) Values() []ActionOnFailure {
return []ActionOnFailure{
"TERMINATE_JOB_FLOW",
"TERMINATE_CLUSTER",
"CANCEL_AND_WAIT",
"CONTINUE",
}
}
type AdjustmentType string
// Enum values for AdjustmentType
const (
AdjustmentTypeChangeInCapacity AdjustmentType = "CHANGE_IN_CAPACITY"
AdjustmentTypePercentChangeInCapacity AdjustmentType = "PERCENT_CHANGE_IN_CAPACITY"
AdjustmentTypeExactCapacity AdjustmentType = "EXACT_CAPACITY"
)
// Values returns all known values for AdjustmentType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (AdjustmentType) Values() []AdjustmentType {
return []AdjustmentType{
"CHANGE_IN_CAPACITY",
"PERCENT_CHANGE_IN_CAPACITY",
"EXACT_CAPACITY",
}
}
type AuthMode string
// Enum values for AuthMode
const (
AuthModeSso AuthMode = "SSO"
AuthModeIam AuthMode = "IAM"
)
// Values returns all known values for AuthMode. Note that this can be expanded in
// the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (AuthMode) Values() []AuthMode {
return []AuthMode{
"SSO",
"IAM",
}
}
type AutoScalingPolicyState string
// Enum values for AutoScalingPolicyState
const (
AutoScalingPolicyStatePending AutoScalingPolicyState = "PENDING"
AutoScalingPolicyStateAttaching AutoScalingPolicyState = "ATTACHING"
AutoScalingPolicyStateAttached AutoScalingPolicyState = "ATTACHED"
AutoScalingPolicyStateDetaching AutoScalingPolicyState = "DETACHING"
AutoScalingPolicyStateDetached AutoScalingPolicyState = "DETACHED"
AutoScalingPolicyStateFailed AutoScalingPolicyState = "FAILED"
)
// Values returns all known values for AutoScalingPolicyState. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (AutoScalingPolicyState) Values() []AutoScalingPolicyState {
return []AutoScalingPolicyState{
"PENDING",
"ATTACHING",
"ATTACHED",
"DETACHING",
"DETACHED",
"FAILED",
}
}
type AutoScalingPolicyStateChangeReasonCode string
// Enum values for AutoScalingPolicyStateChangeReasonCode
const (
AutoScalingPolicyStateChangeReasonCodeUserRequest AutoScalingPolicyStateChangeReasonCode = "USER_REQUEST"
AutoScalingPolicyStateChangeReasonCodeProvisionFailure AutoScalingPolicyStateChangeReasonCode = "PROVISION_FAILURE"
AutoScalingPolicyStateChangeReasonCodeCleanupFailure AutoScalingPolicyStateChangeReasonCode = "CLEANUP_FAILURE"
)
// Values returns all known values for AutoScalingPolicyStateChangeReasonCode.
// Note that this can be expanded in the future, and so it is only as up to date as
// the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (AutoScalingPolicyStateChangeReasonCode) Values() []AutoScalingPolicyStateChangeReasonCode {
return []AutoScalingPolicyStateChangeReasonCode{
"USER_REQUEST",
"PROVISION_FAILURE",
"CLEANUP_FAILURE",
}
}
type CancelStepsRequestStatus string
// Enum values for CancelStepsRequestStatus
const (
CancelStepsRequestStatusSubmitted CancelStepsRequestStatus = "SUBMITTED"
CancelStepsRequestStatusFailed CancelStepsRequestStatus = "FAILED"
)
// Values returns all known values for CancelStepsRequestStatus. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (CancelStepsRequestStatus) Values() []CancelStepsRequestStatus {
return []CancelStepsRequestStatus{
"SUBMITTED",
"FAILED",
}
}
type ClusterState string
// Enum values for ClusterState
const (
ClusterStateStarting ClusterState = "STARTING"
ClusterStateBootstrapping ClusterState = "BOOTSTRAPPING"
ClusterStateRunning ClusterState = "RUNNING"
ClusterStateWaiting ClusterState = "WAITING"
ClusterStateTerminating ClusterState = "TERMINATING"
ClusterStateTerminated ClusterState = "TERMINATED"
ClusterStateTerminatedWithErrors ClusterState = "TERMINATED_WITH_ERRORS"
)
// Values returns all known values for ClusterState. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ClusterState) Values() []ClusterState {
return []ClusterState{
"STARTING",
"BOOTSTRAPPING",
"RUNNING",
"WAITING",
"TERMINATING",
"TERMINATED",
"TERMINATED_WITH_ERRORS",
}
}
type ClusterStateChangeReasonCode string
// Enum values for ClusterStateChangeReasonCode
const (
ClusterStateChangeReasonCodeInternalError ClusterStateChangeReasonCode = "INTERNAL_ERROR"
ClusterStateChangeReasonCodeValidationError ClusterStateChangeReasonCode = "VALIDATION_ERROR"
ClusterStateChangeReasonCodeInstanceFailure ClusterStateChangeReasonCode = "INSTANCE_FAILURE"
ClusterStateChangeReasonCodeInstanceFleetTimeout ClusterStateChangeReasonCode = "INSTANCE_FLEET_TIMEOUT"
ClusterStateChangeReasonCodeBootstrapFailure ClusterStateChangeReasonCode = "BOOTSTRAP_FAILURE"
ClusterStateChangeReasonCodeUserRequest ClusterStateChangeReasonCode = "USER_REQUEST"
ClusterStateChangeReasonCodeStepFailure ClusterStateChangeReasonCode = "STEP_FAILURE"
ClusterStateChangeReasonCodeAllStepsCompleted ClusterStateChangeReasonCode = "ALL_STEPS_COMPLETED"
)
// Values returns all known values for ClusterStateChangeReasonCode. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ClusterStateChangeReasonCode) Values() []ClusterStateChangeReasonCode {
return []ClusterStateChangeReasonCode{
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"INSTANCE_FLEET_TIMEOUT",
"BOOTSTRAP_FAILURE",
"USER_REQUEST",
"STEP_FAILURE",
"ALL_STEPS_COMPLETED",
}
}
type ComparisonOperator string
// Enum values for ComparisonOperator
const (
ComparisonOperatorGreaterThanOrEqual ComparisonOperator = "GREATER_THAN_OR_EQUAL"
ComparisonOperatorGreaterThan ComparisonOperator = "GREATER_THAN"
ComparisonOperatorLessThan ComparisonOperator = "LESS_THAN"
ComparisonOperatorLessThanOrEqual ComparisonOperator = "LESS_THAN_OR_EQUAL"
)
// Values returns all known values for ComparisonOperator. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ComparisonOperator) Values() []ComparisonOperator {
return []ComparisonOperator{
"GREATER_THAN_OR_EQUAL",
"GREATER_THAN",
"LESS_THAN",
"LESS_THAN_OR_EQUAL",
}
}
type ComputeLimitsUnitType string
// Enum values for ComputeLimitsUnitType
const (
ComputeLimitsUnitTypeInstanceFleetUnits ComputeLimitsUnitType = "InstanceFleetUnits"
ComputeLimitsUnitTypeInstances ComputeLimitsUnitType = "Instances"
ComputeLimitsUnitTypeVcpu ComputeLimitsUnitType = "VCPU"
)
// Values returns all known values for ComputeLimitsUnitType. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ComputeLimitsUnitType) Values() []ComputeLimitsUnitType {
return []ComputeLimitsUnitType{
"InstanceFleetUnits",
"Instances",
"VCPU",
}
}
type ExecutionEngineType string
// Enum values for ExecutionEngineType
const (
ExecutionEngineTypeEmr ExecutionEngineType = "EMR"
)
// Values returns all known values for ExecutionEngineType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ExecutionEngineType) Values() []ExecutionEngineType {
return []ExecutionEngineType{
"EMR",
}
}
type IdcUserAssignment string
// Enum values for IdcUserAssignment
const (
IdcUserAssignmentRequired IdcUserAssignment = "REQUIRED"
IdcUserAssignmentOptional IdcUserAssignment = "OPTIONAL"
)
// Values returns all known values for IdcUserAssignment. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (IdcUserAssignment) Values() []IdcUserAssignment {
return []IdcUserAssignment{
"REQUIRED",
"OPTIONAL",
}
}
type IdentityType string
// Enum values for IdentityType
const (
IdentityTypeUser IdentityType = "USER"
IdentityTypeGroup IdentityType = "GROUP"
)
// Values returns all known values for IdentityType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (IdentityType) Values() []IdentityType {
return []IdentityType{
"USER",
"GROUP",
}
}
type InstanceCollectionType string
// Enum values for InstanceCollectionType
const (
InstanceCollectionTypeInstanceFleet InstanceCollectionType = "INSTANCE_FLEET"
InstanceCollectionTypeInstanceGroup InstanceCollectionType = "INSTANCE_GROUP"
)
// Values returns all known values for InstanceCollectionType. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceCollectionType) Values() []InstanceCollectionType {
return []InstanceCollectionType{
"INSTANCE_FLEET",
"INSTANCE_GROUP",
}
}
type InstanceFleetState string
// Enum values for InstanceFleetState
const (
InstanceFleetStateProvisioning InstanceFleetState = "PROVISIONING"
InstanceFleetStateBootstrapping InstanceFleetState = "BOOTSTRAPPING"
InstanceFleetStateRunning InstanceFleetState = "RUNNING"
InstanceFleetStateResizing InstanceFleetState = "RESIZING"
InstanceFleetStateSuspended InstanceFleetState = "SUSPENDED"
InstanceFleetStateTerminating InstanceFleetState = "TERMINATING"
InstanceFleetStateTerminated InstanceFleetState = "TERMINATED"
)
// Values returns all known values for InstanceFleetState. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceFleetState) Values() []InstanceFleetState {
return []InstanceFleetState{
"PROVISIONING",
"BOOTSTRAPPING",
"RUNNING",
"RESIZING",
"SUSPENDED",
"TERMINATING",
"TERMINATED",
}
}
type InstanceFleetStateChangeReasonCode string
// Enum values for InstanceFleetStateChangeReasonCode
const (
InstanceFleetStateChangeReasonCodeInternalError InstanceFleetStateChangeReasonCode = "INTERNAL_ERROR"
InstanceFleetStateChangeReasonCodeValidationError InstanceFleetStateChangeReasonCode = "VALIDATION_ERROR"
InstanceFleetStateChangeReasonCodeInstanceFailure InstanceFleetStateChangeReasonCode = "INSTANCE_FAILURE"
InstanceFleetStateChangeReasonCodeClusterTerminated InstanceFleetStateChangeReasonCode = "CLUSTER_TERMINATED"
)
// Values returns all known values for InstanceFleetStateChangeReasonCode. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceFleetStateChangeReasonCode) Values() []InstanceFleetStateChangeReasonCode {
return []InstanceFleetStateChangeReasonCode{
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"CLUSTER_TERMINATED",
}
}
type InstanceFleetType string
// Enum values for InstanceFleetType
const (
InstanceFleetTypeMaster InstanceFleetType = "MASTER"
InstanceFleetTypeCore InstanceFleetType = "CORE"
InstanceFleetTypeTask InstanceFleetType = "TASK"
)
// Values returns all known values for InstanceFleetType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceFleetType) Values() []InstanceFleetType {
return []InstanceFleetType{
"MASTER",
"CORE",
"TASK",
}
}
type InstanceGroupState string
// Enum values for InstanceGroupState
const (
InstanceGroupStateProvisioning InstanceGroupState = "PROVISIONING"
InstanceGroupStateBootstrapping InstanceGroupState = "BOOTSTRAPPING"
InstanceGroupStateRunning InstanceGroupState = "RUNNING"
InstanceGroupStateReconfiguring InstanceGroupState = "RECONFIGURING"
InstanceGroupStateResizing InstanceGroupState = "RESIZING"
InstanceGroupStateSuspended InstanceGroupState = "SUSPENDED"
InstanceGroupStateTerminating InstanceGroupState = "TERMINATING"
InstanceGroupStateTerminated InstanceGroupState = "TERMINATED"
InstanceGroupStateArrested InstanceGroupState = "ARRESTED"
InstanceGroupStateShuttingDown InstanceGroupState = "SHUTTING_DOWN"
InstanceGroupStateEnded InstanceGroupState = "ENDED"
)
// Values returns all known values for InstanceGroupState. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceGroupState) Values() []InstanceGroupState {
return []InstanceGroupState{
"PROVISIONING",
"BOOTSTRAPPING",
"RUNNING",
"RECONFIGURING",
"RESIZING",
"SUSPENDED",
"TERMINATING",
"TERMINATED",
"ARRESTED",
"SHUTTING_DOWN",
"ENDED",
}
}
type InstanceGroupStateChangeReasonCode string
// Enum values for InstanceGroupStateChangeReasonCode
const (
InstanceGroupStateChangeReasonCodeInternalError InstanceGroupStateChangeReasonCode = "INTERNAL_ERROR"
InstanceGroupStateChangeReasonCodeValidationError InstanceGroupStateChangeReasonCode = "VALIDATION_ERROR"
InstanceGroupStateChangeReasonCodeInstanceFailure InstanceGroupStateChangeReasonCode = "INSTANCE_FAILURE"
InstanceGroupStateChangeReasonCodeClusterTerminated InstanceGroupStateChangeReasonCode = "CLUSTER_TERMINATED"
)
// Values returns all known values for InstanceGroupStateChangeReasonCode. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceGroupStateChangeReasonCode) Values() []InstanceGroupStateChangeReasonCode {
return []InstanceGroupStateChangeReasonCode{
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"CLUSTER_TERMINATED",
}
}
type InstanceGroupType string
// Enum values for InstanceGroupType
const (
InstanceGroupTypeMaster InstanceGroupType = "MASTER"
InstanceGroupTypeCore InstanceGroupType = "CORE"
InstanceGroupTypeTask InstanceGroupType = "TASK"
)
// Values returns all known values for InstanceGroupType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceGroupType) Values() []InstanceGroupType {
return []InstanceGroupType{
"MASTER",
"CORE",
"TASK",
}
}
type InstanceRoleType string
// Enum values for InstanceRoleType
const (
InstanceRoleTypeMaster InstanceRoleType = "MASTER"
InstanceRoleTypeCore InstanceRoleType = "CORE"
InstanceRoleTypeTask InstanceRoleType = "TASK"
)
// Values returns all known values for InstanceRoleType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceRoleType) Values() []InstanceRoleType {
return []InstanceRoleType{
"MASTER",
"CORE",
"TASK",
}
}
type InstanceState string
// Enum values for InstanceState
const (
InstanceStateAwaitingFulfillment InstanceState = "AWAITING_FULFILLMENT"
InstanceStateProvisioning InstanceState = "PROVISIONING"
InstanceStateBootstrapping InstanceState = "BOOTSTRAPPING"
InstanceStateRunning InstanceState = "RUNNING"
InstanceStateTerminated InstanceState = "TERMINATED"
)
// Values returns all known values for InstanceState. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceState) Values() []InstanceState {
return []InstanceState{
"AWAITING_FULFILLMENT",
"PROVISIONING",
"BOOTSTRAPPING",
"RUNNING",
"TERMINATED",
}
}
type InstanceStateChangeReasonCode string
// Enum values for InstanceStateChangeReasonCode
const (
InstanceStateChangeReasonCodeInternalError InstanceStateChangeReasonCode = "INTERNAL_ERROR"
InstanceStateChangeReasonCodeValidationError InstanceStateChangeReasonCode = "VALIDATION_ERROR"
InstanceStateChangeReasonCodeInstanceFailure InstanceStateChangeReasonCode = "INSTANCE_FAILURE"
InstanceStateChangeReasonCodeBootstrapFailure InstanceStateChangeReasonCode = "BOOTSTRAP_FAILURE"
InstanceStateChangeReasonCodeClusterTerminated InstanceStateChangeReasonCode = "CLUSTER_TERMINATED"
)
// Values returns all known values for InstanceStateChangeReasonCode. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (InstanceStateChangeReasonCode) Values() []InstanceStateChangeReasonCode {
return []InstanceStateChangeReasonCode{
"INTERNAL_ERROR",
"VALIDATION_ERROR",
"INSTANCE_FAILURE",
"BOOTSTRAP_FAILURE",
"CLUSTER_TERMINATED",
}
}
type JobFlowExecutionState string
// Enum values for JobFlowExecutionState
const (
JobFlowExecutionStateStarting JobFlowExecutionState = "STARTING"
JobFlowExecutionStateBootstrapping JobFlowExecutionState = "BOOTSTRAPPING"
JobFlowExecutionStateRunning JobFlowExecutionState = "RUNNING"
JobFlowExecutionStateWaiting JobFlowExecutionState = "WAITING"
JobFlowExecutionStateShuttingDown JobFlowExecutionState = "SHUTTING_DOWN"
JobFlowExecutionStateTerminated JobFlowExecutionState = "TERMINATED"
JobFlowExecutionStateCompleted JobFlowExecutionState = "COMPLETED"
JobFlowExecutionStateFailed JobFlowExecutionState = "FAILED"
)
// Values returns all known values for JobFlowExecutionState. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (JobFlowExecutionState) Values() []JobFlowExecutionState {
return []JobFlowExecutionState{
"STARTING",
"BOOTSTRAPPING",
"RUNNING",
"WAITING",
"SHUTTING_DOWN",
"TERMINATED",
"COMPLETED",
"FAILED",
}
}
type MarketType string
// Enum values for MarketType
const (
MarketTypeOnDemand MarketType = "ON_DEMAND"
MarketTypeSpot MarketType = "SPOT"
)
// Values returns all known values for MarketType. Note that this can be expanded
// in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (MarketType) Values() []MarketType {
return []MarketType{
"ON_DEMAND",
"SPOT",
}
}
type NotebookExecutionStatus string
// Enum values for NotebookExecutionStatus
const (
NotebookExecutionStatusStartPending NotebookExecutionStatus = "START_PENDING"
NotebookExecutionStatusStarting NotebookExecutionStatus = "STARTING"
NotebookExecutionStatusRunning NotebookExecutionStatus = "RUNNING"
NotebookExecutionStatusFinishing NotebookExecutionStatus = "FINISHING"
NotebookExecutionStatusFinished NotebookExecutionStatus = "FINISHED"
NotebookExecutionStatusFailing NotebookExecutionStatus = "FAILING"
NotebookExecutionStatusFailed NotebookExecutionStatus = "FAILED"
NotebookExecutionStatusStopPending NotebookExecutionStatus = "STOP_PENDING"
NotebookExecutionStatusStopping NotebookExecutionStatus = "STOPPING"
NotebookExecutionStatusStopped NotebookExecutionStatus = "STOPPED"
)
// Values returns all known values for NotebookExecutionStatus. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (NotebookExecutionStatus) Values() []NotebookExecutionStatus {
return []NotebookExecutionStatus{
"START_PENDING",
"STARTING",
"RUNNING",
"FINISHING",
"FINISHED",
"FAILING",
"FAILED",
"STOP_PENDING",
"STOPPING",
"STOPPED",
}
}
type OnDemandCapacityReservationPreference string
// Enum values for OnDemandCapacityReservationPreference
const (
OnDemandCapacityReservationPreferenceOpen OnDemandCapacityReservationPreference = "open"
OnDemandCapacityReservationPreferenceNone OnDemandCapacityReservationPreference = "none"
)
// Values returns all known values for OnDemandCapacityReservationPreference. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (OnDemandCapacityReservationPreference) Values() []OnDemandCapacityReservationPreference {
return []OnDemandCapacityReservationPreference{
"open",
"none",
}
}
type OnDemandCapacityReservationUsageStrategy string
// Enum values for OnDemandCapacityReservationUsageStrategy
const (
OnDemandCapacityReservationUsageStrategyUseCapacityReservationsFirst OnDemandCapacityReservationUsageStrategy = "use-capacity-reservations-first"
)
// Values returns all known values for OnDemandCapacityReservationUsageStrategy.
// Note that this can be expanded in the future, and so it is only as up to date as
// the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (OnDemandCapacityReservationUsageStrategy) Values() []OnDemandCapacityReservationUsageStrategy {
return []OnDemandCapacityReservationUsageStrategy{
"use-capacity-reservations-first",
}
}
type OnDemandProvisioningAllocationStrategy string
// Enum values for OnDemandProvisioningAllocationStrategy
const (
OnDemandProvisioningAllocationStrategyLowestPrice OnDemandProvisioningAllocationStrategy = "lowest-price"
OnDemandProvisioningAllocationStrategyPrioritized OnDemandProvisioningAllocationStrategy = "prioritized"
)
// Values returns all known values for OnDemandProvisioningAllocationStrategy.
// Note that this can be expanded in the future, and so it is only as up to date as
// the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (OnDemandProvisioningAllocationStrategy) Values() []OnDemandProvisioningAllocationStrategy {
return []OnDemandProvisioningAllocationStrategy{
"lowest-price",
"prioritized",
}
}
type OutputNotebookFormat string
// Enum values for OutputNotebookFormat
const (
OutputNotebookFormatHtml OutputNotebookFormat = "HTML"
)
// Values returns all known values for OutputNotebookFormat. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (OutputNotebookFormat) Values() []OutputNotebookFormat {
return []OutputNotebookFormat{
"HTML",
}
}
type PlacementGroupStrategy string
// Enum values for PlacementGroupStrategy
const (
PlacementGroupStrategySpread PlacementGroupStrategy = "SPREAD"
PlacementGroupStrategyPartition PlacementGroupStrategy = "PARTITION"
PlacementGroupStrategyCluster PlacementGroupStrategy = "CLUSTER"
PlacementGroupStrategyNone PlacementGroupStrategy = "NONE"
)
// Values returns all known values for PlacementGroupStrategy. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (PlacementGroupStrategy) Values() []PlacementGroupStrategy {
return []PlacementGroupStrategy{
"SPREAD",
"PARTITION",
"CLUSTER",
"NONE",
}
}
type ReconfigurationType string
// Enum values for ReconfigurationType
const (
ReconfigurationTypeOverwrite ReconfigurationType = "OVERWRITE"
ReconfigurationTypeMerge ReconfigurationType = "MERGE"
)
// Values returns all known values for ReconfigurationType. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ReconfigurationType) Values() []ReconfigurationType {
return []ReconfigurationType{
"OVERWRITE",
"MERGE",
}
}
type RepoUpgradeOnBoot string
// Enum values for RepoUpgradeOnBoot
const (
RepoUpgradeOnBootSecurity RepoUpgradeOnBoot = "SECURITY"
RepoUpgradeOnBootNone RepoUpgradeOnBoot = "NONE"
)
// Values returns all known values for RepoUpgradeOnBoot. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (RepoUpgradeOnBoot) Values() []RepoUpgradeOnBoot {
return []RepoUpgradeOnBoot{
"SECURITY",
"NONE",
}
}
type ScaleDownBehavior string
// Enum values for ScaleDownBehavior
const (
ScaleDownBehaviorTerminateAtInstanceHour ScaleDownBehavior = "TERMINATE_AT_INSTANCE_HOUR"
ScaleDownBehaviorTerminateAtTaskCompletion ScaleDownBehavior = "TERMINATE_AT_TASK_COMPLETION"
)
// Values returns all known values for ScaleDownBehavior. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (ScaleDownBehavior) Values() []ScaleDownBehavior {
return []ScaleDownBehavior{
"TERMINATE_AT_INSTANCE_HOUR",
"TERMINATE_AT_TASK_COMPLETION",
}
}
type SpotProvisioningAllocationStrategy string
// Enum values for SpotProvisioningAllocationStrategy
const (
SpotProvisioningAllocationStrategyCapacityOptimized SpotProvisioningAllocationStrategy = "capacity-optimized"
SpotProvisioningAllocationStrategyPriceCapacityOptimized SpotProvisioningAllocationStrategy = "price-capacity-optimized"
SpotProvisioningAllocationStrategyLowestPrice SpotProvisioningAllocationStrategy = "lowest-price"
SpotProvisioningAllocationStrategyDiversified SpotProvisioningAllocationStrategy = "diversified"
SpotProvisioningAllocationStrategyCapacityOptimizedPrioritized SpotProvisioningAllocationStrategy = "capacity-optimized-prioritized"
)
// Values returns all known values for SpotProvisioningAllocationStrategy. Note
// that this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (SpotProvisioningAllocationStrategy) Values() []SpotProvisioningAllocationStrategy {
return []SpotProvisioningAllocationStrategy{
"capacity-optimized",
"price-capacity-optimized",
"lowest-price",
"diversified",
"capacity-optimized-prioritized",
}
}
type SpotProvisioningTimeoutAction string
// Enum values for SpotProvisioningTimeoutAction
const (
SpotProvisioningTimeoutActionSwitchToOnDemand SpotProvisioningTimeoutAction = "SWITCH_TO_ON_DEMAND"
SpotProvisioningTimeoutActionTerminateCluster SpotProvisioningTimeoutAction = "TERMINATE_CLUSTER"
)
// Values returns all known values for SpotProvisioningTimeoutAction. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (SpotProvisioningTimeoutAction) Values() []SpotProvisioningTimeoutAction {
return []SpotProvisioningTimeoutAction{
"SWITCH_TO_ON_DEMAND",
"TERMINATE_CLUSTER",
}
}
type Statistic string
// Enum values for Statistic
const (
StatisticSampleCount Statistic = "SAMPLE_COUNT"
StatisticAverage Statistic = "AVERAGE"
StatisticSum Statistic = "SUM"
StatisticMinimum Statistic = "MINIMUM"
StatisticMaximum Statistic = "MAXIMUM"
)
// Values returns all known values for Statistic. Note that this can be expanded
// in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (Statistic) Values() []Statistic {
return []Statistic{
"SAMPLE_COUNT",
"AVERAGE",
"SUM",
"MINIMUM",
"MAXIMUM",
}
}
type StepCancellationOption string
// Enum values for StepCancellationOption
const (
StepCancellationOptionSendInterrupt StepCancellationOption = "SEND_INTERRUPT"
StepCancellationOptionTerminateProcess StepCancellationOption = "TERMINATE_PROCESS"
)
// Values returns all known values for StepCancellationOption. Note that this can
// be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (StepCancellationOption) Values() []StepCancellationOption {
return []StepCancellationOption{
"SEND_INTERRUPT",
"TERMINATE_PROCESS",
}
}
type StepExecutionState string
// Enum values for StepExecutionState
const (
StepExecutionStatePending StepExecutionState = "PENDING"
StepExecutionStateRunning StepExecutionState = "RUNNING"
StepExecutionStateContinue StepExecutionState = "CONTINUE"
StepExecutionStateCompleted StepExecutionState = "COMPLETED"
StepExecutionStateCancelled StepExecutionState = "CANCELLED"
StepExecutionStateFailed StepExecutionState = "FAILED"
StepExecutionStateInterrupted StepExecutionState = "INTERRUPTED"
)
// Values returns all known values for StepExecutionState. Note that this can be
// expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (StepExecutionState) Values() []StepExecutionState {
return []StepExecutionState{
"PENDING",
"RUNNING",
"CONTINUE",
"COMPLETED",
"CANCELLED",
"FAILED",
"INTERRUPTED",
}
}
type StepState string
// Enum values for StepState
const (
StepStatePending StepState = "PENDING"
StepStateCancelPending StepState = "CANCEL_PENDING"
StepStateRunning StepState = "RUNNING"
StepStateCompleted StepState = "COMPLETED"
StepStateCancelled StepState = "CANCELLED"
StepStateFailed StepState = "FAILED"
StepStateInterrupted StepState = "INTERRUPTED"
)
// Values returns all known values for StepState. Note that this can be expanded
// in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (StepState) Values() []StepState {
return []StepState{
"PENDING",
"CANCEL_PENDING",
"RUNNING",
"COMPLETED",
"CANCELLED",
"FAILED",
"INTERRUPTED",
}
}
type StepStateChangeReasonCode string
// Enum values for StepStateChangeReasonCode
const (
StepStateChangeReasonCodeNone StepStateChangeReasonCode = "NONE"
)
// Values returns all known values for StepStateChangeReasonCode. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (StepStateChangeReasonCode) Values() []StepStateChangeReasonCode {
return []StepStateChangeReasonCode{
"NONE",
}
}
type Unit string
// Enum values for Unit
const (
UnitNone Unit = "NONE"
UnitSeconds Unit = "SECONDS"
UnitMicroSeconds Unit = "MICRO_SECONDS"
UnitMilliSeconds Unit = "MILLI_SECONDS"
UnitBytes Unit = "BYTES"
UnitKiloBytes Unit = "KILO_BYTES"
UnitMegaBytes Unit = "MEGA_BYTES"
UnitGigaBytes Unit = "GIGA_BYTES"
UnitTeraBytes Unit = "TERA_BYTES"
UnitBits Unit = "BITS"
UnitKiloBits Unit = "KILO_BITS"
UnitMegaBits Unit = "MEGA_BITS"
UnitGigaBits Unit = "GIGA_BITS"
UnitTeraBits Unit = "TERA_BITS"
UnitPercent Unit = "PERCENT"
UnitCount Unit = "COUNT"
UnitBytesPerSecond Unit = "BYTES_PER_SECOND"
UnitKiloBytesPerSecond Unit = "KILO_BYTES_PER_SECOND"
UnitMegaBytesPerSecond Unit = "MEGA_BYTES_PER_SECOND"
UnitGigaBytesPerSecond Unit = "GIGA_BYTES_PER_SECOND"
UnitTeraBytesPerSecond Unit = "TERA_BYTES_PER_SECOND"
UnitBitsPerSecond Unit = "BITS_PER_SECOND"
UnitKiloBitsPerSecond Unit = "KILO_BITS_PER_SECOND"
UnitMegaBitsPerSecond Unit = "MEGA_BITS_PER_SECOND"
UnitGigaBitsPerSecond Unit = "GIGA_BITS_PER_SECOND"
UnitTeraBitsPerSecond Unit = "TERA_BITS_PER_SECOND"
UnitCountPerSecond Unit = "COUNT_PER_SECOND"
)
// Values returns all known values for Unit. Note that this can be expanded in the
// future, and so it is only as up to date as the client.
//
// The ordering of this slice is not guaranteed to be stable across updates.
func (Unit) Values() []Unit {
return []Unit{
"NONE",
"SECONDS",
"MICRO_SECONDS",
"MILLI_SECONDS",
"BYTES",
"KILO_BYTES",
"MEGA_BYTES",
"GIGA_BYTES",
"TERA_BYTES",
"BITS",
"KILO_BITS",
"MEGA_BITS",
"GIGA_BITS",
"TERA_BITS",
"PERCENT",
"COUNT",
"BYTES_PER_SECOND",
"KILO_BYTES_PER_SECOND",
"MEGA_BYTES_PER_SECOND",
"GIGA_BYTES_PER_SECOND",
"TERA_BYTES_PER_SECOND",
"BITS_PER_SECOND",
"KILO_BITS_PER_SECOND",
"MEGA_BITS_PER_SECOND",
"GIGA_BITS_PER_SECOND",
"TERA_BITS_PER_SECOND",
"COUNT_PER_SECOND",
}
}
|