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
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Contains details about an activity that failed during an execution.
type ActivityFailedEventDetails struct {
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about an activity.
type ActivityListItem struct {
// The Amazon Resource Name (ARN) that identifies the activity.
//
// This member is required.
ActivityArn *string
// The date the activity is created.
//
// This member is required.
CreationDate *time.Time
// The name of the activity. A name must not contain:
//
// * white space
//
// * brackets <
// > { } [ ]
//
// * wildcard characters ? *
//
// * special characters " # % \ ^ | ~ ` $ & ,
// ; : /
//
// * control characters (U+0000-001F, U+007F-009F)
//
// To enable logging with
// CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
//
// This member is required.
Name *string
noSmithyDocumentSerde
}
// Contains details about an activity scheduled during an execution.
type ActivityScheduledEventDetails struct {
// The Amazon Resource Name (ARN) of the scheduled activity.
//
// This member is required.
Resource *string
// The maximum allowed duration between two heartbeats for the activity task.
HeartbeatInSeconds *int64
// The JSON data input to the activity task. Length constraints apply to the
// payload size, and are expressed as bytes in UTF-8 encoding.
Input *string
// Contains details about the input for an execution history event.
InputDetails *HistoryEventExecutionDataDetails
// The maximum allowed duration of the activity task.
TimeoutInSeconds *int64
noSmithyDocumentSerde
}
// Contains details about an activity schedule failure that occurred during an
// execution.
type ActivityScheduleFailedEventDetails struct {
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about the start of an activity during an execution.
type ActivityStartedEventDetails struct {
// The name of the worker that the task is assigned to. These names are provided by
// the workers when calling GetActivityTask.
WorkerName *string
noSmithyDocumentSerde
}
// Contains details about an activity that successfully terminated during an
// execution.
type ActivitySucceededEventDetails struct {
// The JSON data output by the activity task. Length constraints apply to the
// payload size, and are expressed as bytes in UTF-8 encoding.
Output *string
// Contains details about the output of an execution history event.
OutputDetails *HistoryEventExecutionDataDetails
noSmithyDocumentSerde
}
// Contains details about an activity timeout that occurred during an execution.
type ActivityTimedOutEventDetails struct {
// A more detailed explanation of the cause of the timeout.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// An object that describes workflow billing details.
type BillingDetails struct {
// Billed duration of your workflow, in milliseconds.
BilledDurationInMilliseconds int64
// Billed memory consumption of your workflow, in MB.
BilledMemoryUsedInMB int64
noSmithyDocumentSerde
}
// Provides details about execution input or output.
type CloudWatchEventsExecutionDataDetails struct {
// Indicates whether input or output was included in the response. Always true for
// API calls.
Included bool
noSmithyDocumentSerde
}
type CloudWatchLogsLogGroup struct {
// The ARN of the the CloudWatch log group to which you want your logs emitted to.
// The ARN must end with :*
LogGroupArn *string
noSmithyDocumentSerde
}
// Contains details about an abort of an execution.
type ExecutionAbortedEventDetails struct {
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about an execution failure event.
type ExecutionFailedEventDetails struct {
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about an execution.
type ExecutionListItem struct {
// The Amazon Resource Name (ARN) that identifies the execution.
//
// This member is required.
ExecutionArn *string
// The name of the execution. A name must not contain:
//
// * white space
//
// * brackets <
// > { } [ ]
//
// * wildcard characters ? *
//
// * special characters " # % \ ^ | ~ ` $ & ,
// ; : /
//
// * control characters (U+0000-001F, U+007F-009F)
//
// To enable logging with
// CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
//
// This member is required.
Name *string
// The date the execution started.
//
// This member is required.
StartDate *time.Time
// The Amazon Resource Name (ARN) of the executed state machine.
//
// This member is required.
StateMachineArn *string
// The current status of the execution.
//
// This member is required.
Status ExecutionStatus
// If the execution already ended, the date the execution stopped.
StopDate *time.Time
noSmithyDocumentSerde
}
// Contains details about the start of the execution.
type ExecutionStartedEventDetails struct {
// The JSON data input to the execution. Length constraints apply to the payload
// size, and are expressed as bytes in UTF-8 encoding.
Input *string
// Contains details about the input for an execution history event.
InputDetails *HistoryEventExecutionDataDetails
// The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
// tasks.
RoleArn *string
noSmithyDocumentSerde
}
// Contains details about the successful termination of the execution.
type ExecutionSucceededEventDetails struct {
// The JSON data output by the execution. Length constraints apply to the payload
// size, and are expressed as bytes in UTF-8 encoding.
Output *string
// Contains details about the output of an execution history event.
OutputDetails *HistoryEventExecutionDataDetails
noSmithyDocumentSerde
}
// Contains details about the execution timeout that occurred during the execution.
type ExecutionTimedOutEventDetails struct {
// A more detailed explanation of the cause of the timeout.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about the events of an execution.
type HistoryEvent struct {
// The id of the event. Events are numbered sequentially, starting at one.
//
// This member is required.
Id int64
// The date and time the event occurred.
//
// This member is required.
Timestamp *time.Time
// The type of the event.
//
// This member is required.
Type HistoryEventType
// Contains details about an activity that failed during an execution.
ActivityFailedEventDetails *ActivityFailedEventDetails
// Contains details about an activity schedule event that failed during an
// execution.
ActivityScheduleFailedEventDetails *ActivityScheduleFailedEventDetails
// Contains details about an activity scheduled during an execution.
ActivityScheduledEventDetails *ActivityScheduledEventDetails
// Contains details about the start of an activity during an execution.
ActivityStartedEventDetails *ActivityStartedEventDetails
// Contains details about an activity that successfully terminated during an
// execution.
ActivitySucceededEventDetails *ActivitySucceededEventDetails
// Contains details about an activity timeout that occurred during an execution.
ActivityTimedOutEventDetails *ActivityTimedOutEventDetails
// Contains details about an abort of an execution.
ExecutionAbortedEventDetails *ExecutionAbortedEventDetails
// Contains details about an execution failure event.
ExecutionFailedEventDetails *ExecutionFailedEventDetails
// Contains details about the start of the execution.
ExecutionStartedEventDetails *ExecutionStartedEventDetails
// Contains details about the successful termination of the execution.
ExecutionSucceededEventDetails *ExecutionSucceededEventDetails
// Contains details about the execution timeout that occurred during the execution.
ExecutionTimedOutEventDetails *ExecutionTimedOutEventDetails
// Contains details about a lambda function that failed during an execution.
LambdaFunctionFailedEventDetails *LambdaFunctionFailedEventDetails
// Contains details about a failed lambda function schedule event that occurred
// during an execution.
LambdaFunctionScheduleFailedEventDetails *LambdaFunctionScheduleFailedEventDetails
// Contains details about a lambda function scheduled during an execution.
LambdaFunctionScheduledEventDetails *LambdaFunctionScheduledEventDetails
// Contains details about a lambda function that failed to start during an
// execution.
LambdaFunctionStartFailedEventDetails *LambdaFunctionStartFailedEventDetails
// Contains details about a lambda function that terminated successfully during an
// execution.
LambdaFunctionSucceededEventDetails *LambdaFunctionSucceededEventDetails
// Contains details about a lambda function timeout that occurred during an
// execution.
LambdaFunctionTimedOutEventDetails *LambdaFunctionTimedOutEventDetails
// Contains details about an iteration of a Map state that was aborted.
MapIterationAbortedEventDetails *MapIterationEventDetails
// Contains details about an iteration of a Map state that failed.
MapIterationFailedEventDetails *MapIterationEventDetails
// Contains details about an iteration of a Map state that was started.
MapIterationStartedEventDetails *MapIterationEventDetails
// Contains details about an iteration of a Map state that succeeded.
MapIterationSucceededEventDetails *MapIterationEventDetails
// Contains details about Map state that was started.
MapStateStartedEventDetails *MapStateStartedEventDetails
// The id of the previous event.
PreviousEventId int64
// Contains details about a state entered during an execution.
StateEnteredEventDetails *StateEnteredEventDetails
// Contains details about an exit from a state during an execution.
StateExitedEventDetails *StateExitedEventDetails
// Contains details about the failure of a task.
TaskFailedEventDetails *TaskFailedEventDetails
// Contains details about a task that was scheduled.
TaskScheduledEventDetails *TaskScheduledEventDetails
// Contains details about a task that failed to start.
TaskStartFailedEventDetails *TaskStartFailedEventDetails
// Contains details about a task that was started.
TaskStartedEventDetails *TaskStartedEventDetails
// Contains details about a task that where the submit failed.
TaskSubmitFailedEventDetails *TaskSubmitFailedEventDetails
// Contains details about a submitted task.
TaskSubmittedEventDetails *TaskSubmittedEventDetails
// Contains details about a task that succeeded.
TaskSucceededEventDetails *TaskSucceededEventDetails
// Contains details about a task that timed out.
TaskTimedOutEventDetails *TaskTimedOutEventDetails
noSmithyDocumentSerde
}
// Provides details about input or output in an execution history event.
type HistoryEventExecutionDataDetails struct {
// Indicates whether input or output was truncated in the response. Always false
// for API calls.
Truncated bool
noSmithyDocumentSerde
}
// Contains details about a lambda function that failed during an execution.
type LambdaFunctionFailedEventDetails struct {
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about a lambda function scheduled during an execution.
type LambdaFunctionScheduledEventDetails struct {
// The Amazon Resource Name (ARN) of the scheduled lambda function.
//
// This member is required.
Resource *string
// The JSON data input to the lambda function. Length constraints apply to the
// payload size, and are expressed as bytes in UTF-8 encoding.
Input *string
// Contains details about input for an execution history event.
InputDetails *HistoryEventExecutionDataDetails
// The maximum allowed duration of the lambda function.
TimeoutInSeconds *int64
noSmithyDocumentSerde
}
// Contains details about a failed lambda function schedule event that occurred
// during an execution.
type LambdaFunctionScheduleFailedEventDetails struct {
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about a lambda function that failed to start during an
// execution.
type LambdaFunctionStartFailedEventDetails struct {
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about a lambda function that successfully terminated during an
// execution.
type LambdaFunctionSucceededEventDetails struct {
// The JSON data output by the lambda function. Length constraints apply to the
// payload size, and are expressed as bytes in UTF-8 encoding.
Output *string
// Contains details about the output of an execution history event.
OutputDetails *HistoryEventExecutionDataDetails
noSmithyDocumentSerde
}
// Contains details about a lambda function timeout that occurred during an
// execution.
type LambdaFunctionTimedOutEventDetails struct {
// A more detailed explanation of the cause of the timeout.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
type LogDestination struct {
// An object describing a CloudWatch log group. For more information, see
// AWS::Logs::LogGroup
// (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-loggroup.html)
// in the AWS CloudFormation User Guide.
CloudWatchLogsLogGroup *CloudWatchLogsLogGroup
noSmithyDocumentSerde
}
// The LoggingConfiguration data type is used to set CloudWatch Logs options.
type LoggingConfiguration struct {
// An array of objects that describes where your execution history events will be
// logged. Limited to size 1. Required, if your log level is not set to OFF.
Destinations []LogDestination
// Determines whether execution data is included in your log. When set to false,
// data is excluded.
IncludeExecutionData bool
// Defines which category of execution history events are logged.
Level LogLevel
noSmithyDocumentSerde
}
// Contains details about an iteration of a Map state.
type MapIterationEventDetails struct {
// The index of the array belonging to the Map state iteration.
Index int32
// The name of the iteration’s parent Map state.
Name *string
noSmithyDocumentSerde
}
// Details about a Map state that was started.
type MapStateStartedEventDetails struct {
// The size of the array for Map state iterations.
Length int32
noSmithyDocumentSerde
}
// Contains details about a state entered during an execution.
type StateEnteredEventDetails struct {
// The name of the state.
//
// This member is required.
Name *string
// The string that contains the JSON input data for the state. Length constraints
// apply to the payload size, and are expressed as bytes in UTF-8 encoding.
Input *string
// Contains details about the input for an execution history event.
InputDetails *HistoryEventExecutionDataDetails
noSmithyDocumentSerde
}
// Contains details about an exit from a state during an execution.
type StateExitedEventDetails struct {
// The name of the state. A name must not contain:
//
// * white space
//
// * brackets < > {
// } [ ]
//
// * wildcard characters ? *
//
// * special characters " # % \ ^ | ~ ` $ & , ; :
// /
//
// * control characters (U+0000-001F, U+007F-009F)
//
// To enable logging with
// CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _.
//
// This member is required.
Name *string
// The JSON output data of the state. Length constraints apply to the payload size,
// and are expressed as bytes in UTF-8 encoding.
Output *string
// Contains details about the output of an execution history event.
OutputDetails *HistoryEventExecutionDataDetails
noSmithyDocumentSerde
}
// Contains details about the state machine.
type StateMachineListItem struct {
// The date the state machine is created.
//
// This member is required.
CreationDate *time.Time
// The name of the state machine. A name must not contain:
//
// * white space
//
// *
// brackets < > { } [ ]
//
// * wildcard characters ? *
//
// * special characters " # % \ ^
// | ~ ` $ & , ; : /
//
// * control characters (U+0000-001F, U+007F-009F)
//
// To enable
// logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and
// _.
//
// This member is required.
Name *string
// The Amazon Resource Name (ARN) that identifies the state machine.
//
// This member is required.
StateMachineArn *string
//
//
// This member is required.
Type StateMachineType
noSmithyDocumentSerde
}
// Tags are key-value pairs that can be associated with Step Functions state
// machines and activities. An array of key-value pairs. For more information, see
// Using Cost Allocation Tags
// (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html)
// in the AWS Billing and Cost Management User Guide, and Controlling Access Using
// IAM Tags
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html). Tags
// may only contain Unicode letters, digits, white space, or these symbols: _ . : /
// = + - @.
type Tag struct {
// The key of a tag.
Key *string
// The value of a tag.
Value *string
noSmithyDocumentSerde
}
// Contains details about a task failure event.
type TaskFailedEventDetails struct {
// The service name of the resource in a task state.
//
// This member is required.
Resource *string
// The action of the resource called by a task state.
//
// This member is required.
ResourceType *string
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about a task scheduled during an execution.
type TaskScheduledEventDetails struct {
// The JSON data passed to the resource referenced in a task state. Length
// constraints apply to the payload size, and are expressed as bytes in UTF-8
// encoding.
//
// This member is required.
Parameters *string
// The region of the scheduled task
//
// This member is required.
Region *string
// The service name of the resource in a task state.
//
// This member is required.
Resource *string
// The action of the resource called by a task state.
//
// This member is required.
ResourceType *string
// The maximum allowed duration between two heartbeats for the task.
HeartbeatInSeconds *int64
// The maximum allowed duration of the task.
TimeoutInSeconds *int64
noSmithyDocumentSerde
}
// Contains details about the start of a task during an execution.
type TaskStartedEventDetails struct {
// The service name of the resource in a task state.
//
// This member is required.
Resource *string
// The action of the resource called by a task state.
//
// This member is required.
ResourceType *string
noSmithyDocumentSerde
}
// Contains details about a task that failed to start during an execution.
type TaskStartFailedEventDetails struct {
// The service name of the resource in a task state.
//
// This member is required.
Resource *string
// The action of the resource called by a task state.
//
// This member is required.
ResourceType *string
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about a task that failed to submit during an execution.
type TaskSubmitFailedEventDetails struct {
// The service name of the resource in a task state.
//
// This member is required.
Resource *string
// The action of the resource called by a task state.
//
// This member is required.
ResourceType *string
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Contains details about a task submitted to a resource .
type TaskSubmittedEventDetails struct {
// The service name of the resource in a task state.
//
// This member is required.
Resource *string
// The action of the resource called by a task state.
//
// This member is required.
ResourceType *string
// The response from a resource when a task has started. Length constraints apply
// to the payload size, and are expressed as bytes in UTF-8 encoding.
Output *string
// Contains details about the output of an execution history event.
OutputDetails *HistoryEventExecutionDataDetails
noSmithyDocumentSerde
}
// Contains details about the successful completion of a task state.
type TaskSucceededEventDetails struct {
// The service name of the resource in a task state.
//
// This member is required.
Resource *string
// The action of the resource called by a task state.
//
// This member is required.
ResourceType *string
// The full JSON response from a resource when a task has succeeded. This response
// becomes the output of the related task. Length constraints apply to the payload
// size, and are expressed as bytes in UTF-8 encoding.
Output *string
// Contains details about the output of an execution history event.
OutputDetails *HistoryEventExecutionDataDetails
noSmithyDocumentSerde
}
// Contains details about a resource timeout that occurred during an execution.
type TaskTimedOutEventDetails struct {
// The service name of the resource in a task state.
//
// This member is required.
Resource *string
// The action of the resource called by a task state.
//
// This member is required.
ResourceType *string
// A more detailed explanation of the cause of the failure.
Cause *string
// The error code of the failure.
Error *string
noSmithyDocumentSerde
}
// Selects whether or not the state machine's AWS X-Ray tracing is enabled. Default
// is false
type TracingConfiguration struct {
// When set to true, AWS X-Ray tracing is enabled.
Enabled bool
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|