@aws-sdk/client-codecatalyst 3.451.0 → 3.453.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +64 -1
  2. package/dist-cjs/CodeCatalyst.js +10 -0
  3. package/dist-cjs/commands/GetWorkflowCommand.js +50 -0
  4. package/dist-cjs/commands/GetWorkflowRunCommand.js +50 -0
  5. package/dist-cjs/commands/ListWorkflowRunsCommand.js +50 -0
  6. package/dist-cjs/commands/ListWorkflowsCommand.js +50 -0
  7. package/dist-cjs/commands/StartWorkflowRunCommand.js +50 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +25 -1
  10. package/dist-cjs/pagination/ListWorkflowRunsPaginator.js +29 -0
  11. package/dist-cjs/pagination/ListWorkflowsPaginator.js +29 -0
  12. package/dist-cjs/pagination/index.js +2 -0
  13. package/dist-cjs/protocols/Aws_restJson1.js +445 -5
  14. package/dist-es/CodeCatalyst.js +10 -0
  15. package/dist-es/commands/GetWorkflowCommand.js +46 -0
  16. package/dist-es/commands/GetWorkflowRunCommand.js +46 -0
  17. package/dist-es/commands/ListWorkflowRunsCommand.js +46 -0
  18. package/dist-es/commands/ListWorkflowsCommand.js +46 -0
  19. package/dist-es/commands/StartWorkflowRunCommand.js +46 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/models/models_0.js +24 -0
  22. package/dist-es/pagination/ListWorkflowRunsPaginator.js +25 -0
  23. package/dist-es/pagination/ListWorkflowsPaginator.js +25 -0
  24. package/dist-es/pagination/index.js +2 -0
  25. package/dist-es/protocols/Aws_restJson1.js +433 -3
  26. package/dist-types/CodeCatalyst.d.ts +59 -1
  27. package/dist-types/CodeCatalystClient.d.ts +31 -3
  28. package/dist-types/commands/CreateDevEnvironmentCommand.d.ts +2 -0
  29. package/dist-types/commands/GetDevEnvironmentCommand.d.ts +1 -0
  30. package/dist-types/commands/GetWorkflowCommand.d.ts +107 -0
  31. package/dist-types/commands/GetWorkflowRunCommand.d.ts +105 -0
  32. package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +2 -1
  33. package/dist-types/commands/ListEventLogsCommand.d.ts +10 -1
  34. package/dist-types/commands/ListWorkflowRunsCommand.d.ts +114 -0
  35. package/dist-types/commands/ListWorkflowsCommand.d.ts +114 -0
  36. package/dist-types/commands/StartWorkflowRunCommand.d.ts +99 -0
  37. package/dist-types/commands/index.d.ts +5 -0
  38. package/dist-types/index.d.ts +24 -1
  39. package/dist-types/models/models_0.d.ts +728 -218
  40. package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/index.d.ts +2 -0
  43. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  44. package/dist-types/ts3.4/CodeCatalyst.d.ts +85 -0
  45. package/dist-types/ts3.4/CodeCatalystClient.d.ts +30 -0
  46. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
  47. package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +38 -0
  49. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +38 -0
  51. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +194 -61
  53. package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
  54. package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  57. package/package.json +4 -2
@@ -516,6 +516,227 @@ export interface GetSpaceResponse {
516
516
  */
517
517
  description?: string;
518
518
  }
519
+ /**
520
+ * @public
521
+ * <p>Information about a filter used to limit results of a query.</p>
522
+ */
523
+ export interface Filter {
524
+ /**
525
+ * @public
526
+ * <p>A key that can be used to sort results.</p>
527
+ */
528
+ key: string | undefined;
529
+ /**
530
+ * @public
531
+ * <p>The values of the key.</p>
532
+ */
533
+ values: string[] | undefined;
534
+ /**
535
+ * @public
536
+ * <p>The operator used to compare the fields.</p>
537
+ */
538
+ comparisonOperator?: string;
539
+ }
540
+ /**
541
+ * @public
542
+ */
543
+ export interface ListDevEnvironmentsRequest {
544
+ /**
545
+ * @public
546
+ * <p>The name of the space.</p>
547
+ */
548
+ spaceName: string | undefined;
549
+ /**
550
+ * @public
551
+ * <p>The name of the project in the space.</p>
552
+ */
553
+ projectName?: string;
554
+ /**
555
+ * @public
556
+ * <p>Information about filters to apply to narrow the results returned in the list.</p>
557
+ */
558
+ filters?: Filter[];
559
+ /**
560
+ * @public
561
+ * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
562
+ */
563
+ nextToken?: string;
564
+ /**
565
+ * @public
566
+ * <p>The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.</p>
567
+ */
568
+ maxResults?: number;
569
+ }
570
+ /**
571
+ * @public
572
+ * <p>Information about an integrated development environment (IDE) used in a Dev Environment.</p>
573
+ */
574
+ export interface Ide {
575
+ /**
576
+ * @public
577
+ * <p>A link to the IDE runtime image.</p>
578
+ */
579
+ runtime?: string;
580
+ /**
581
+ * @public
582
+ * <p>The name of the IDE.</p>
583
+ */
584
+ name?: string;
585
+ }
586
+ /**
587
+ * @public
588
+ * @enum
589
+ */
590
+ export declare const _InstanceType: {
591
+ readonly DEV_STANDARD1_LARGE: "dev.standard1.large";
592
+ readonly DEV_STANDARD1_MEDIUM: "dev.standard1.medium";
593
+ readonly DEV_STANDARD1_SMALL: "dev.standard1.small";
594
+ readonly DEV_STANDARD1_XLARGE: "dev.standard1.xlarge";
595
+ };
596
+ /**
597
+ * @public
598
+ */
599
+ export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
600
+ /**
601
+ * @public
602
+ * <p>Information about the persistent storage for a Dev Environment.</p>
603
+ */
604
+ export interface PersistentStorage {
605
+ /**
606
+ * @public
607
+ * <p>The size of the persistent storage in gigabytes (specifically GiB).</p>
608
+ * <note>
609
+ * <p>Valid values for storage are based on memory sizes in 16GB increments. Valid values are
610
+ * 16, 32, and 64.</p>
611
+ * </note>
612
+ */
613
+ sizeInGiB: number | undefined;
614
+ }
615
+ /**
616
+ * @public
617
+ * <p>Information about the source repsitory for a Dev Environment. </p>
618
+ */
619
+ export interface DevEnvironmentRepositorySummary {
620
+ /**
621
+ * @public
622
+ * <p>The name of the source repository.</p>
623
+ */
624
+ repositoryName: string | undefined;
625
+ /**
626
+ * @public
627
+ * <p>The name of the branch in a source repository cloned into the Dev Environment. </p>
628
+ */
629
+ branchName?: string;
630
+ }
631
+ /**
632
+ * @public
633
+ * @enum
634
+ */
635
+ export declare const DevEnvironmentStatus: {
636
+ readonly DELETED: "DELETED";
637
+ readonly DELETING: "DELETING";
638
+ readonly FAILED: "FAILED";
639
+ readonly PENDING: "PENDING";
640
+ readonly RUNNING: "RUNNING";
641
+ readonly STARTING: "STARTING";
642
+ readonly STOPPED: "STOPPED";
643
+ readonly STOPPING: "STOPPING";
644
+ };
645
+ /**
646
+ * @public
647
+ */
648
+ export type DevEnvironmentStatus = (typeof DevEnvironmentStatus)[keyof typeof DevEnvironmentStatus];
649
+ /**
650
+ * @public
651
+ * <p>Information about a Dev Environment. </p>
652
+ */
653
+ export interface DevEnvironmentSummary {
654
+ /**
655
+ * @public
656
+ * <p>The name of the space.</p>
657
+ */
658
+ spaceName?: string;
659
+ /**
660
+ * @public
661
+ * <p>The name of the project in the space.</p>
662
+ */
663
+ projectName?: string;
664
+ /**
665
+ * @public
666
+ * <p>The system-generated unique ID for the Dev Environment. </p>
667
+ */
668
+ id: string | undefined;
669
+ /**
670
+ * @public
671
+ * <p>The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
672
+ */
673
+ lastUpdatedTime: Date | undefined;
674
+ /**
675
+ * @public
676
+ * <p>The system-generated unique ID of the user who created the Dev Environment. </p>
677
+ */
678
+ creatorId: string | undefined;
679
+ /**
680
+ * @public
681
+ * <p>The status of the Dev Environment. </p>
682
+ */
683
+ status: DevEnvironmentStatus | undefined;
684
+ /**
685
+ * @public
686
+ * <p>The reason for the status.</p>
687
+ */
688
+ statusReason?: string;
689
+ /**
690
+ * @public
691
+ * <p>Information about the repositories that will be cloned into the Dev Environment. If no rvalue is specified, no repository is cloned.</p>
692
+ */
693
+ repositories: DevEnvironmentRepositorySummary[] | undefined;
694
+ /**
695
+ * @public
696
+ * <p>The user-specified alias for the Dev Environment.</p>
697
+ */
698
+ alias?: string;
699
+ /**
700
+ * @public
701
+ * <p>Information about the integrated development environment (IDE) configured for a Dev Environment.</p>
702
+ */
703
+ ides?: Ide[];
704
+ /**
705
+ * @public
706
+ * <p>The Amazon EC2 instace type used for the Dev Environment. </p>
707
+ */
708
+ instanceType: _InstanceType | undefined;
709
+ /**
710
+ * @public
711
+ * <p>The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Dev Environments consume compute minutes when running.</p>
712
+ */
713
+ inactivityTimeoutMinutes: number | undefined;
714
+ /**
715
+ * @public
716
+ * <p>Information about the configuration of persistent storage for the Dev Environment.</p>
717
+ */
718
+ persistentStorage: PersistentStorage | undefined;
719
+ /**
720
+ * @public
721
+ * <p>The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.</p>
722
+ */
723
+ vpcConnectionName?: string;
724
+ }
725
+ /**
726
+ * @public
727
+ */
728
+ export interface ListDevEnvironmentsResponse {
729
+ /**
730
+ * @public
731
+ * <p>Information about the Dev Environments in a project.</p>
732
+ */
733
+ items: DevEnvironmentSummary[] | undefined;
734
+ /**
735
+ * @public
736
+ * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
737
+ */
738
+ nextToken?: string;
739
+ }
519
740
  /**
520
741
  * @public
521
742
  */
@@ -667,20 +888,6 @@ export interface IdeConfiguration {
667
888
  */
668
889
  name?: string;
669
890
  }
670
- /**
671
- * @public
672
- * @enum
673
- */
674
- export declare const _InstanceType: {
675
- readonly DEV_STANDARD1_LARGE: "dev.standard1.large";
676
- readonly DEV_STANDARD1_MEDIUM: "dev.standard1.medium";
677
- readonly DEV_STANDARD1_SMALL: "dev.standard1.small";
678
- readonly DEV_STANDARD1_XLARGE: "dev.standard1.xlarge";
679
- };
680
- /**
681
- * @public
682
- */
683
- export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
684
891
  /**
685
892
  * @public
686
893
  * <p>Information about the configuration of persistent storage for a Dev Environment. </p>
@@ -773,6 +980,11 @@ export interface CreateDevEnvironmentRequest {
773
980
  * </note>
774
981
  */
775
982
  persistentStorage: PersistentStorageConfiguration | undefined;
983
+ /**
984
+ * @public
985
+ * <p>The name of the connection to use connect to a Amazon VPC.</p>
986
+ */
987
+ vpcConnectionName?: string;
776
988
  }
777
989
  /**
778
990
  * @public
@@ -793,6 +1005,11 @@ export interface CreateDevEnvironmentResponse {
793
1005
  * <p>The system-generated unique ID of the Dev Environment. </p>
794
1006
  */
795
1007
  id: string | undefined;
1008
+ /**
1009
+ * @public
1010
+ * <p>The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.</p>
1011
+ */
1012
+ vpcConnectionName?: string;
796
1013
  }
797
1014
  /**
798
1015
  * @public
@@ -856,83 +1073,18 @@ export interface GetDevEnvironmentRequest {
856
1073
  }
857
1074
  /**
858
1075
  * @public
859
- * <p>Information about an integrated development environment (IDE) used in a Dev Environment.</p>
860
1076
  */
861
- export interface Ide {
1077
+ export interface GetDevEnvironmentResponse {
862
1078
  /**
863
1079
  * @public
864
- * <p>A link to the IDE runtime image.</p>
1080
+ * <p>The name of the space.</p>
865
1081
  */
866
- runtime?: string;
1082
+ spaceName: string | undefined;
867
1083
  /**
868
1084
  * @public
869
- * <p>The name of the IDE.</p>
1085
+ * <p>The name of the project in the space.</p>
870
1086
  */
871
- name?: string;
872
- }
873
- /**
874
- * @public
875
- * <p>Information about the persistent storage for a Dev Environment.</p>
876
- */
877
- export interface PersistentStorage {
878
- /**
879
- * @public
880
- * <p>The size of the persistent storage in gigabytes (specifically GiB).</p>
881
- * <note>
882
- * <p>Valid values for storage are based on memory sizes in 16GB increments. Valid values are
883
- * 16, 32, and 64.</p>
884
- * </note>
885
- */
886
- sizeInGiB: number | undefined;
887
- }
888
- /**
889
- * @public
890
- * <p>Information about the source repsitory for a Dev Environment. </p>
891
- */
892
- export interface DevEnvironmentRepositorySummary {
893
- /**
894
- * @public
895
- * <p>The name of the source repository.</p>
896
- */
897
- repositoryName: string | undefined;
898
- /**
899
- * @public
900
- * <p>The name of the branch in a source repository cloned into the Dev Environment. </p>
901
- */
902
- branchName?: string;
903
- }
904
- /**
905
- * @public
906
- * @enum
907
- */
908
- export declare const DevEnvironmentStatus: {
909
- readonly DELETED: "DELETED";
910
- readonly DELETING: "DELETING";
911
- readonly FAILED: "FAILED";
912
- readonly PENDING: "PENDING";
913
- readonly RUNNING: "RUNNING";
914
- readonly STARTING: "STARTING";
915
- readonly STOPPED: "STOPPED";
916
- readonly STOPPING: "STOPPING";
917
- };
918
- /**
919
- * @public
920
- */
921
- export type DevEnvironmentStatus = (typeof DevEnvironmentStatus)[keyof typeof DevEnvironmentStatus];
922
- /**
923
- * @public
924
- */
925
- export interface GetDevEnvironmentResponse {
926
- /**
927
- * @public
928
- * <p>The name of the space.</p>
929
- */
930
- spaceName: string | undefined;
931
- /**
932
- * @public
933
- * <p>The name of the project in the space.</p>
934
- */
935
- projectName: string | undefined;
1087
+ projectName: string | undefined;
936
1088
  /**
937
1089
  * @public
938
1090
  * <p>The system-generated unique ID of the Dev Environment. </p>
@@ -988,143 +1140,11 @@ export interface GetDevEnvironmentResponse {
988
1140
  * <p>Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.</p>
989
1141
  */
990
1142
  persistentStorage: PersistentStorage | undefined;
991
- }
992
- /**
993
- * @public
994
- * <p>Information about a filter used to limit results of a query.</p>
995
- */
996
- export interface Filter {
997
- /**
998
- * @public
999
- * <p>A key that can be used to sort results.</p>
1000
- */
1001
- key: string | undefined;
1002
- /**
1003
- * @public
1004
- * <p>The values of the key.</p>
1005
- */
1006
- values: string[] | undefined;
1007
- /**
1008
- * @public
1009
- * <p>The operator used to compare the fields.</p>
1010
- */
1011
- comparisonOperator?: string;
1012
- }
1013
- /**
1014
- * @public
1015
- */
1016
- export interface ListDevEnvironmentsRequest {
1017
- /**
1018
- * @public
1019
- * <p>The name of the space.</p>
1020
- */
1021
- spaceName: string | undefined;
1022
- /**
1023
- * @public
1024
- * <p>The name of the project in the space.</p>
1025
- */
1026
- projectName: string | undefined;
1027
- /**
1028
- * @public
1029
- * <p>Information about filters to apply to narrow the results returned in the list.</p>
1030
- */
1031
- filters?: Filter[];
1032
- /**
1033
- * @public
1034
- * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
1035
- */
1036
- nextToken?: string;
1037
- /**
1038
- * @public
1039
- * <p>The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.</p>
1040
- */
1041
- maxResults?: number;
1042
- }
1043
- /**
1044
- * @public
1045
- * <p>Information about a Dev Environment. </p>
1046
- */
1047
- export interface DevEnvironmentSummary {
1048
- /**
1049
- * @public
1050
- * <p>The name of the space.</p>
1051
- */
1052
- spaceName?: string;
1053
- /**
1054
- * @public
1055
- * <p>The name of the project in the space.</p>
1056
- */
1057
- projectName?: string;
1058
- /**
1059
- * @public
1060
- * <p>The system-generated unique ID for the Dev Environment. </p>
1061
- */
1062
- id: string | undefined;
1063
- /**
1064
- * @public
1065
- * <p>The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
1066
- */
1067
- lastUpdatedTime: Date | undefined;
1068
- /**
1069
- * @public
1070
- * <p>The system-generated unique ID of the user who created the Dev Environment. </p>
1071
- */
1072
- creatorId: string | undefined;
1073
- /**
1074
- * @public
1075
- * <p>The status of the Dev Environment. </p>
1076
- */
1077
- status: DevEnvironmentStatus | undefined;
1078
- /**
1079
- * @public
1080
- * <p>The reason for the status.</p>
1081
- */
1082
- statusReason?: string;
1083
- /**
1084
- * @public
1085
- * <p>Information about the repositories that will be cloned into the Dev Environment. If no rvalue is specified, no repository is cloned.</p>
1086
- */
1087
- repositories: DevEnvironmentRepositorySummary[] | undefined;
1088
- /**
1089
- * @public
1090
- * <p>The user-specified alias for the Dev Environment.</p>
1091
- */
1092
- alias?: string;
1093
- /**
1094
- * @public
1095
- * <p>Information about the integrated development environment (IDE) configured for a Dev Environment.</p>
1096
- */
1097
- ides?: Ide[];
1098
- /**
1099
- * @public
1100
- * <p>The Amazon EC2 instace type used for the Dev Environment. </p>
1101
- */
1102
- instanceType: _InstanceType | undefined;
1103
- /**
1104
- * @public
1105
- * <p>The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Dev Environments consume compute minutes when running.</p>
1106
- */
1107
- inactivityTimeoutMinutes: number | undefined;
1108
- /**
1109
- * @public
1110
- * <p>Information about the configuration of persistent storage for the Dev Environment.</p>
1111
- */
1112
- persistentStorage: PersistentStorage | undefined;
1113
- }
1114
- /**
1115
- * @public
1116
- */
1117
- export interface ListDevEnvironmentsResponse {
1118
- /**
1119
- * @public
1120
- * <p>Information about the Dev Environments in a project.</p>
1121
- */
1122
- items: DevEnvironmentSummary[] | undefined;
1123
1143
  /**
1124
1144
  * @public
1125
- * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
1145
+ * <p>The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.</p>
1126
1146
  */
1127
- nextToken?: string;
1147
+ vpcConnectionName?: string;
1128
1148
  }
1129
1149
  /**
1130
1150
  * @public
@@ -1617,6 +1637,7 @@ export interface GetProjectResponse {
1617
1637
  * @enum
1618
1638
  */
1619
1639
  export declare const ComparisonOperator: {
1640
+ readonly BEGINS_WITH: "BEGINS_WITH";
1620
1641
  readonly EQUALS: "EQ";
1621
1642
  readonly GREATER_THAN: "GT";
1622
1643
  readonly GREATER_THAN_OR_EQUALS: "GE";
@@ -1633,6 +1654,7 @@ export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof Compar
1633
1654
  */
1634
1655
  export declare const FilterKey: {
1635
1656
  readonly HAS_ACCESS_TO: "hasAccessTo";
1657
+ readonly NAME: "name";
1636
1658
  };
1637
1659
  /**
1638
1660
  * @public
@@ -2137,6 +2159,494 @@ export interface UpdateProjectResponse {
2137
2159
  */
2138
2160
  description?: string;
2139
2161
  }
2162
+ /**
2163
+ * @public
2164
+ */
2165
+ export interface GetWorkflowRequest {
2166
+ /**
2167
+ * @public
2168
+ * <p>The name of the space.</p>
2169
+ */
2170
+ spaceName: string | undefined;
2171
+ /**
2172
+ * @public
2173
+ * <p>The ID of the workflow. To rerieve a list of workflow IDs, use <a>ListWorkflows</a>.</p>
2174
+ */
2175
+ id: string | undefined;
2176
+ /**
2177
+ * @public
2178
+ * <p>The name of the project in the space.</p>
2179
+ */
2180
+ projectName: string | undefined;
2181
+ }
2182
+ /**
2183
+ * @public
2184
+ * <p>Information about a workflow definition file.</p>
2185
+ */
2186
+ export interface WorkflowDefinition {
2187
+ /**
2188
+ * @public
2189
+ * <p>The path to the workflow definition file stored in the source repository for the project, including the file name.</p>
2190
+ */
2191
+ path: string | undefined;
2192
+ }
2193
+ /**
2194
+ * @public
2195
+ * @enum
2196
+ */
2197
+ export declare const WorkflowRunMode: {
2198
+ readonly PARALLEL: "PARALLEL";
2199
+ readonly QUEUED: "QUEUED";
2200
+ readonly SUPERSEDED: "SUPERSEDED";
2201
+ };
2202
+ /**
2203
+ * @public
2204
+ */
2205
+ export type WorkflowRunMode = (typeof WorkflowRunMode)[keyof typeof WorkflowRunMode];
2206
+ /**
2207
+ * @public
2208
+ * @enum
2209
+ */
2210
+ export declare const WorkflowStatus: {
2211
+ readonly ACTIVE: "ACTIVE";
2212
+ readonly INVALID: "INVALID";
2213
+ };
2214
+ /**
2215
+ * @public
2216
+ */
2217
+ export type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
2218
+ /**
2219
+ * @public
2220
+ */
2221
+ export interface GetWorkflowResponse {
2222
+ /**
2223
+ * @public
2224
+ * <p>The name of the space.</p>
2225
+ */
2226
+ spaceName: string | undefined;
2227
+ /**
2228
+ * @public
2229
+ * <p>The name of the project in the space.</p>
2230
+ */
2231
+ projectName: string | undefined;
2232
+ /**
2233
+ * @public
2234
+ * <p>The ID of the workflow.</p>
2235
+ */
2236
+ id: string | undefined;
2237
+ /**
2238
+ * @public
2239
+ * <p>The name of the workflow.</p>
2240
+ */
2241
+ name: string | undefined;
2242
+ /**
2243
+ * @public
2244
+ * <p>The name of the source repository where the workflow YAML is stored.</p>
2245
+ */
2246
+ sourceRepositoryName?: string;
2247
+ /**
2248
+ * @public
2249
+ * <p>The name of the branch that contains the workflow YAML.</p>
2250
+ */
2251
+ sourceBranchName?: string;
2252
+ /**
2253
+ * @public
2254
+ * <p>Information about the workflow definition file for the workflow.</p>
2255
+ */
2256
+ definition: WorkflowDefinition | undefined;
2257
+ /**
2258
+ * @public
2259
+ * <p>The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
2260
+ * </p>
2261
+ */
2262
+ createdTime: Date | undefined;
2263
+ /**
2264
+ * @public
2265
+ * <p>The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
2266
+ * </p>
2267
+ */
2268
+ lastUpdatedTime: Date | undefined;
2269
+ /**
2270
+ * @public
2271
+ * <p>The behavior to use when multiple workflows occur at the same time. For more information, see
2272
+ * <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html">https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html</a> in the Amazon CodeCatalyst User Guide.</p>
2273
+ */
2274
+ runMode: WorkflowRunMode | undefined;
2275
+ /**
2276
+ * @public
2277
+ * <p>The status of the workflow.</p>
2278
+ */
2279
+ status: WorkflowStatus | undefined;
2280
+ }
2281
+ /**
2282
+ * @public
2283
+ * <p>Information used to sort workflows in the returned list.</p>
2284
+ */
2285
+ export interface WorkflowSortCriteria {
2286
+ }
2287
+ /**
2288
+ * @public
2289
+ */
2290
+ export interface ListWorkflowsRequest {
2291
+ /**
2292
+ * @public
2293
+ * <p>The name of the space.</p>
2294
+ */
2295
+ spaceName: string | undefined;
2296
+ /**
2297
+ * @public
2298
+ * <p>The name of the project in the space.</p>
2299
+ */
2300
+ projectName: string | undefined;
2301
+ /**
2302
+ * @public
2303
+ * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
2304
+ */
2305
+ nextToken?: string;
2306
+ /**
2307
+ * @public
2308
+ * <p>The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.</p>
2309
+ */
2310
+ maxResults?: number;
2311
+ /**
2312
+ * @public
2313
+ * <p>Information used to sort the items in the returned list.</p>
2314
+ */
2315
+ sortBy?: WorkflowSortCriteria[];
2316
+ }
2317
+ /**
2318
+ * @public
2319
+ * <p>Information about a workflow definition.</p>
2320
+ */
2321
+ export interface WorkflowDefinitionSummary {
2322
+ /**
2323
+ * @public
2324
+ * <p>The path to the workflow definition file stored in the source repository for the project, including the file name.</p>
2325
+ */
2326
+ path: string | undefined;
2327
+ }
2328
+ /**
2329
+ * @public
2330
+ * <p>Information about a workflow.</p>
2331
+ */
2332
+ export interface WorkflowSummary {
2333
+ /**
2334
+ * @public
2335
+ * <p>The system-generated unique ID of a workflow.</p>
2336
+ */
2337
+ id: string | undefined;
2338
+ /**
2339
+ * @public
2340
+ * <p>The name of the workflow.</p>
2341
+ */
2342
+ name: string | undefined;
2343
+ /**
2344
+ * @public
2345
+ * <p>The name of the source repository where the workflow definition file is stored.</p>
2346
+ */
2347
+ sourceRepositoryName: string | undefined;
2348
+ /**
2349
+ * @public
2350
+ * <p>The name of the branch of the source repository where the workflow definition file is stored.</p>
2351
+ */
2352
+ sourceBranchName: string | undefined;
2353
+ /**
2354
+ * @public
2355
+ * <p>Information about the workflow definition file.</p>
2356
+ */
2357
+ definition: WorkflowDefinitionSummary | undefined;
2358
+ /**
2359
+ * @public
2360
+ * <p>The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
2361
+ * </p>
2362
+ */
2363
+ createdTime: Date | undefined;
2364
+ /**
2365
+ * @public
2366
+ * <p>The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
2367
+ * </p>
2368
+ */
2369
+ lastUpdatedTime: Date | undefined;
2370
+ /**
2371
+ * @public
2372
+ * <p>The run mode of the workflow.</p>
2373
+ */
2374
+ runMode: WorkflowRunMode | undefined;
2375
+ /**
2376
+ * @public
2377
+ * <p>The status of the workflow.</p>
2378
+ */
2379
+ status: WorkflowStatus | undefined;
2380
+ }
2381
+ /**
2382
+ * @public
2383
+ */
2384
+ export interface ListWorkflowsResponse {
2385
+ /**
2386
+ * @public
2387
+ * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
2388
+ */
2389
+ nextToken?: string;
2390
+ /**
2391
+ * @public
2392
+ * <p>Information about the workflows in a project.</p>
2393
+ */
2394
+ items?: WorkflowSummary[];
2395
+ }
2396
+ /**
2397
+ * @public
2398
+ */
2399
+ export interface GetWorkflowRunRequest {
2400
+ /**
2401
+ * @public
2402
+ * <p>The name of the space.</p>
2403
+ */
2404
+ spaceName: string | undefined;
2405
+ /**
2406
+ * @public
2407
+ * <p>The ID of the workflow run. To retrieve a list of workflow run IDs, use <a>ListWorkflowRuns</a>.</p>
2408
+ */
2409
+ id: string | undefined;
2410
+ /**
2411
+ * @public
2412
+ * <p>The name of the project in the space.</p>
2413
+ */
2414
+ projectName: string | undefined;
2415
+ }
2416
+ /**
2417
+ * @public
2418
+ * @enum
2419
+ */
2420
+ export declare const WorkflowRunStatus: {
2421
+ readonly ABANDONED: "ABANDONED";
2422
+ readonly CANCELLED: "CANCELLED";
2423
+ readonly FAILED: "FAILED";
2424
+ readonly IN_PROGRESS: "IN_PROGRESS";
2425
+ readonly NOT_RUN: "NOT_RUN";
2426
+ readonly PROVISIONING: "PROVISIONING";
2427
+ readonly STOPPED: "STOPPED";
2428
+ readonly STOPPING: "STOPPING";
2429
+ readonly SUCCEEDED: "SUCCEEDED";
2430
+ readonly SUPERSEDED: "SUPERSEDED";
2431
+ readonly VALIDATING: "VALIDATING";
2432
+ };
2433
+ /**
2434
+ * @public
2435
+ */
2436
+ export type WorkflowRunStatus = (typeof WorkflowRunStatus)[keyof typeof WorkflowRunStatus];
2437
+ /**
2438
+ * @public
2439
+ * <p>Information about the status of a workflow run.</p>
2440
+ */
2441
+ export interface WorkflowRunStatusReason {
2442
+ }
2443
+ /**
2444
+ * @public
2445
+ */
2446
+ export interface GetWorkflowRunResponse {
2447
+ /**
2448
+ * @public
2449
+ * <p>The name of the space.</p>
2450
+ */
2451
+ spaceName: string | undefined;
2452
+ /**
2453
+ * @public
2454
+ * <p>The name of the project in the space.</p>
2455
+ */
2456
+ projectName: string | undefined;
2457
+ /**
2458
+ * @public
2459
+ * <p>The ID of the workflow run.</p>
2460
+ */
2461
+ id: string | undefined;
2462
+ /**
2463
+ * @public
2464
+ * <p>The ID of the workflow.</p>
2465
+ */
2466
+ workflowId: string | undefined;
2467
+ /**
2468
+ * @public
2469
+ * <p>The status of the workflow run.</p>
2470
+ */
2471
+ status: WorkflowRunStatus | undefined;
2472
+ /**
2473
+ * @public
2474
+ * <p>Information about the reasons for the status of the workflow run.</p>
2475
+ */
2476
+ statusReasons?: WorkflowRunStatusReason[];
2477
+ /**
2478
+ * @public
2479
+ * <p>The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
2480
+ * </p>
2481
+ */
2482
+ startTime: Date | undefined;
2483
+ /**
2484
+ * @public
2485
+ * <p>The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
2486
+ */
2487
+ endTime?: Date;
2488
+ /**
2489
+ * @public
2490
+ * <p>The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
2491
+ * </p>
2492
+ */
2493
+ lastUpdatedTime: Date | undefined;
2494
+ }
2495
+ /**
2496
+ * @public
2497
+ * <p>Information used to sort workflow runs in the returned list.</p>
2498
+ */
2499
+ export interface WorkflowRunSortCriteria {
2500
+ }
2501
+ /**
2502
+ * @public
2503
+ */
2504
+ export interface ListWorkflowRunsRequest {
2505
+ /**
2506
+ * @public
2507
+ * <p>The name of the space.</p>
2508
+ */
2509
+ spaceName: string | undefined;
2510
+ /**
2511
+ * @public
2512
+ * <p>The ID of the workflow. To retrieve a list of workflow IDs, use <a>ListWorkflows</a>.</p>
2513
+ */
2514
+ workflowId?: string;
2515
+ /**
2516
+ * @public
2517
+ * <p>The name of the project in the space.</p>
2518
+ */
2519
+ projectName: string | undefined;
2520
+ /**
2521
+ * @public
2522
+ * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
2523
+ */
2524
+ nextToken?: string;
2525
+ /**
2526
+ * @public
2527
+ * <p>The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a <code>NextToken</code> element, which you can use to obtain additional results.</p>
2528
+ */
2529
+ maxResults?: number;
2530
+ /**
2531
+ * @public
2532
+ * <p>Information used to sort the items in the returned list.</p>
2533
+ */
2534
+ sortBy?: WorkflowRunSortCriteria[];
2535
+ }
2536
+ /**
2537
+ * @public
2538
+ * <p>Information about a workflow run.</p>
2539
+ */
2540
+ export interface WorkflowRunSummary {
2541
+ /**
2542
+ * @public
2543
+ * <p>The system-generated unique ID of the workflow run.</p>
2544
+ */
2545
+ id: string | undefined;
2546
+ /**
2547
+ * @public
2548
+ * <p>The system-generated unique ID of the workflow.</p>
2549
+ */
2550
+ workflowId: string | undefined;
2551
+ /**
2552
+ * @public
2553
+ * <p>The name of the workflow.</p>
2554
+ */
2555
+ workflowName: string | undefined;
2556
+ /**
2557
+ * @public
2558
+ * <p>The status of the workflow run.</p>
2559
+ */
2560
+ status: WorkflowRunStatus | undefined;
2561
+ /**
2562
+ * @public
2563
+ * <p>The reasons for the workflow run status.</p>
2564
+ */
2565
+ statusReasons?: WorkflowRunStatusReason[];
2566
+ /**
2567
+ * @public
2568
+ * <p>The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
2569
+ */
2570
+ startTime: Date | undefined;
2571
+ /**
2572
+ * @public
2573
+ * <p>The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
2574
+ * </p>
2575
+ */
2576
+ endTime?: Date;
2577
+ /**
2578
+ * @public
2579
+ * <p>The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>
2580
+ * </p>
2581
+ */
2582
+ lastUpdatedTime: Date | undefined;
2583
+ }
2584
+ /**
2585
+ * @public
2586
+ */
2587
+ export interface ListWorkflowRunsResponse {
2588
+ /**
2589
+ * @public
2590
+ * <p>A token returned from a call to this API to indicate the next batch of results to return, if any.</p>
2591
+ */
2592
+ nextToken?: string;
2593
+ /**
2594
+ * @public
2595
+ * <p>Information about the runs of a workflow.</p>
2596
+ */
2597
+ items?: WorkflowRunSummary[];
2598
+ }
2599
+ /**
2600
+ * @public
2601
+ */
2602
+ export interface StartWorkflowRunRequest {
2603
+ /**
2604
+ * @public
2605
+ * <p>The name of the space.</p>
2606
+ */
2607
+ spaceName: string | undefined;
2608
+ /**
2609
+ * @public
2610
+ * <p>The name of the project in the space.</p>
2611
+ */
2612
+ projectName: string | undefined;
2613
+ /**
2614
+ * @public
2615
+ * <p>The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use <a>ListWorkflows</a>.</p>
2616
+ */
2617
+ workflowId: string | undefined;
2618
+ /**
2619
+ * @public
2620
+ * <p>A user-specified idempotency token. Idempotency ensures that an API request completes only once.
2621
+ * With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.</p>
2622
+ */
2623
+ clientToken?: string;
2624
+ }
2625
+ /**
2626
+ * @public
2627
+ */
2628
+ export interface StartWorkflowRunResponse {
2629
+ /**
2630
+ * @public
2631
+ * <p>The name of the space.</p>
2632
+ */
2633
+ spaceName: string | undefined;
2634
+ /**
2635
+ * @public
2636
+ * <p>The name of the project in the space.</p>
2637
+ */
2638
+ projectName: string | undefined;
2639
+ /**
2640
+ * @public
2641
+ * <p>The system-generated unique ID of the workflow run.</p>
2642
+ */
2643
+ id: string | undefined;
2644
+ /**
2645
+ * @public
2646
+ * <p>The system-generated unique ID of the workflow.</p>
2647
+ */
2648
+ workflowId: string | undefined;
2649
+ }
2140
2650
  /**
2141
2651
  * @public
2142
2652
  */