aws-sdk-codecatalyst 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1309,6 +1309,199 @@ module Aws::CodeCatalyst
1309
1309
  include Aws::Structure
1310
1310
  end
1311
1311
 
1312
+ # @!attribute [rw] space_name
1313
+ # The name of the space.
1314
+ # @return [String]
1315
+ #
1316
+ # @!attribute [rw] id
1317
+ # The ID of the workflow. To rerieve a list of workflow IDs, use
1318
+ # ListWorkflows.
1319
+ # @return [String]
1320
+ #
1321
+ # @!attribute [rw] project_name
1322
+ # The name of the project in the space.
1323
+ # @return [String]
1324
+ #
1325
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetWorkflowRequest AWS API Documentation
1326
+ #
1327
+ class GetWorkflowRequest < Struct.new(
1328
+ :space_name,
1329
+ :id,
1330
+ :project_name)
1331
+ SENSITIVE = []
1332
+ include Aws::Structure
1333
+ end
1334
+
1335
+ # @!attribute [rw] space_name
1336
+ # The name of the space.
1337
+ # @return [String]
1338
+ #
1339
+ # @!attribute [rw] project_name
1340
+ # The name of the project in the space.
1341
+ # @return [String]
1342
+ #
1343
+ # @!attribute [rw] id
1344
+ # The ID of the workflow.
1345
+ # @return [String]
1346
+ #
1347
+ # @!attribute [rw] name
1348
+ # The name of the workflow.
1349
+ # @return [String]
1350
+ #
1351
+ # @!attribute [rw] source_repository_name
1352
+ # The name of the source repository where the workflow YAML is stored.
1353
+ # @return [String]
1354
+ #
1355
+ # @!attribute [rw] source_branch_name
1356
+ # The name of the branch that contains the workflow YAML.
1357
+ # @return [String]
1358
+ #
1359
+ # @!attribute [rw] definition
1360
+ # Information about the workflow definition file for the workflow.
1361
+ # @return [Types::WorkflowDefinition]
1362
+ #
1363
+ # @!attribute [rw] created_time
1364
+ # The date and time the workflow was created, in coordinated universal
1365
+ # time (UTC) timestamp format as specified in [RFC 3339][1]
1366
+ #
1367
+ #
1368
+ #
1369
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
1370
+ # @return [Time]
1371
+ #
1372
+ # @!attribute [rw] last_updated_time
1373
+ # The date and time the workflow was last updated, in coordinated
1374
+ # universal time (UTC) timestamp format as specified in [RFC 3339][1]
1375
+ #
1376
+ #
1377
+ #
1378
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
1379
+ # @return [Time]
1380
+ #
1381
+ # @!attribute [rw] run_mode
1382
+ # The behavior to use when multiple workflows occur at the same time.
1383
+ # For more information, see
1384
+ # [https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html][1]
1385
+ # in the Amazon CodeCatalyst User Guide.
1386
+ #
1387
+ #
1388
+ #
1389
+ # [1]: https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html
1390
+ # @return [String]
1391
+ #
1392
+ # @!attribute [rw] status
1393
+ # The status of the workflow.
1394
+ # @return [String]
1395
+ #
1396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetWorkflowResponse AWS API Documentation
1397
+ #
1398
+ class GetWorkflowResponse < Struct.new(
1399
+ :space_name,
1400
+ :project_name,
1401
+ :id,
1402
+ :name,
1403
+ :source_repository_name,
1404
+ :source_branch_name,
1405
+ :definition,
1406
+ :created_time,
1407
+ :last_updated_time,
1408
+ :run_mode,
1409
+ :status)
1410
+ SENSITIVE = []
1411
+ include Aws::Structure
1412
+ end
1413
+
1414
+ # @!attribute [rw] space_name
1415
+ # The name of the space.
1416
+ # @return [String]
1417
+ #
1418
+ # @!attribute [rw] id
1419
+ # The ID of the workflow run. To retrieve a list of workflow run IDs,
1420
+ # use ListWorkflowRuns.
1421
+ # @return [String]
1422
+ #
1423
+ # @!attribute [rw] project_name
1424
+ # The name of the project in the space.
1425
+ # @return [String]
1426
+ #
1427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetWorkflowRunRequest AWS API Documentation
1428
+ #
1429
+ class GetWorkflowRunRequest < Struct.new(
1430
+ :space_name,
1431
+ :id,
1432
+ :project_name)
1433
+ SENSITIVE = []
1434
+ include Aws::Structure
1435
+ end
1436
+
1437
+ # @!attribute [rw] space_name
1438
+ # The name of the space.
1439
+ # @return [String]
1440
+ #
1441
+ # @!attribute [rw] project_name
1442
+ # The name of the project in the space.
1443
+ # @return [String]
1444
+ #
1445
+ # @!attribute [rw] id
1446
+ # The ID of the workflow run.
1447
+ # @return [String]
1448
+ #
1449
+ # @!attribute [rw] workflow_id
1450
+ # The ID of the workflow.
1451
+ # @return [String]
1452
+ #
1453
+ # @!attribute [rw] status
1454
+ # The status of the workflow run.
1455
+ # @return [String]
1456
+ #
1457
+ # @!attribute [rw] status_reasons
1458
+ # Information about the reasons for the status of the workflow run.
1459
+ # @return [Array<Types::WorkflowRunStatusReason>]
1460
+ #
1461
+ # @!attribute [rw] start_time
1462
+ # The date and time the workflow run began, in coordinated universal
1463
+ # time (UTC) timestamp format as specified in [RFC 3339][1]
1464
+ #
1465
+ #
1466
+ #
1467
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
1468
+ # @return [Time]
1469
+ #
1470
+ # @!attribute [rw] end_time
1471
+ # The date and time the workflow run ended, in coordinated universal
1472
+ # time (UTC) timestamp format as specified in [RFC 3339][1].
1473
+ #
1474
+ #
1475
+ #
1476
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
1477
+ # @return [Time]
1478
+ #
1479
+ # @!attribute [rw] last_updated_time
1480
+ # The date and time the workflow run status was last updated, in
1481
+ # coordinated universal time (UTC) timestamp format as specified in
1482
+ # [RFC 3339][1]
1483
+ #
1484
+ #
1485
+ #
1486
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
1487
+ # @return [Time]
1488
+ #
1489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetWorkflowRunResponse AWS API Documentation
1490
+ #
1491
+ class GetWorkflowRunResponse < Struct.new(
1492
+ :space_name,
1493
+ :project_name,
1494
+ :id,
1495
+ :workflow_id,
1496
+ :status,
1497
+ :status_reasons,
1498
+ :start_time,
1499
+ :end_time,
1500
+ :last_updated_time)
1501
+ SENSITIVE = []
1502
+ include Aws::Structure
1503
+ end
1504
+
1312
1505
  # Information about an integrated development environment (IDE) used in
1313
1506
  # a Dev Environment.
1314
1507
  #
@@ -1839,6 +2032,120 @@ module Aws::CodeCatalyst
1839
2032
  include Aws::Structure
1840
2033
  end
1841
2034
 
2035
+ # @!attribute [rw] space_name
2036
+ # The name of the space.
2037
+ # @return [String]
2038
+ #
2039
+ # @!attribute [rw] workflow_id
2040
+ # The ID of the workflow. To retrieve a list of workflow IDs, use
2041
+ # ListWorkflows.
2042
+ # @return [String]
2043
+ #
2044
+ # @!attribute [rw] project_name
2045
+ # The name of the project in the space.
2046
+ # @return [String]
2047
+ #
2048
+ # @!attribute [rw] next_token
2049
+ # A token returned from a call to this API to indicate the next batch
2050
+ # of results to return, if any.
2051
+ # @return [String]
2052
+ #
2053
+ # @!attribute [rw] max_results
2054
+ # The maximum number of results to show in a single call to this API.
2055
+ # If the number of results is larger than the number you specified,
2056
+ # the response will include a `NextToken` element, which you can use
2057
+ # to obtain additional results.
2058
+ # @return [Integer]
2059
+ #
2060
+ # @!attribute [rw] sort_by
2061
+ # Information used to sort the items in the returned list.
2062
+ # @return [Array<Types::WorkflowRunSortCriteria>]
2063
+ #
2064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/ListWorkflowRunsRequest AWS API Documentation
2065
+ #
2066
+ class ListWorkflowRunsRequest < Struct.new(
2067
+ :space_name,
2068
+ :workflow_id,
2069
+ :project_name,
2070
+ :next_token,
2071
+ :max_results,
2072
+ :sort_by)
2073
+ SENSITIVE = []
2074
+ include Aws::Structure
2075
+ end
2076
+
2077
+ # @!attribute [rw] next_token
2078
+ # A token returned from a call to this API to indicate the next batch
2079
+ # of results to return, if any.
2080
+ # @return [String]
2081
+ #
2082
+ # @!attribute [rw] items
2083
+ # Information about the runs of a workflow.
2084
+ # @return [Array<Types::WorkflowRunSummary>]
2085
+ #
2086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/ListWorkflowRunsResponse AWS API Documentation
2087
+ #
2088
+ class ListWorkflowRunsResponse < Struct.new(
2089
+ :next_token,
2090
+ :items)
2091
+ SENSITIVE = []
2092
+ include Aws::Structure
2093
+ end
2094
+
2095
+ # @!attribute [rw] space_name
2096
+ # The name of the space.
2097
+ # @return [String]
2098
+ #
2099
+ # @!attribute [rw] project_name
2100
+ # The name of the project in the space.
2101
+ # @return [String]
2102
+ #
2103
+ # @!attribute [rw] next_token
2104
+ # A token returned from a call to this API to indicate the next batch
2105
+ # of results to return, if any.
2106
+ # @return [String]
2107
+ #
2108
+ # @!attribute [rw] max_results
2109
+ # The maximum number of results to show in a single call to this API.
2110
+ # If the number of results is larger than the number you specified,
2111
+ # the response will include a `NextToken` element, which you can use
2112
+ # to obtain additional results.
2113
+ # @return [Integer]
2114
+ #
2115
+ # @!attribute [rw] sort_by
2116
+ # Information used to sort the items in the returned list.
2117
+ # @return [Array<Types::WorkflowSortCriteria>]
2118
+ #
2119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/ListWorkflowsRequest AWS API Documentation
2120
+ #
2121
+ class ListWorkflowsRequest < Struct.new(
2122
+ :space_name,
2123
+ :project_name,
2124
+ :next_token,
2125
+ :max_results,
2126
+ :sort_by)
2127
+ SENSITIVE = []
2128
+ include Aws::Structure
2129
+ end
2130
+
2131
+ # @!attribute [rw] next_token
2132
+ # A token returned from a call to this API to indicate the next batch
2133
+ # of results to return, if any.
2134
+ # @return [String]
2135
+ #
2136
+ # @!attribute [rw] items
2137
+ # Information about the workflows in a project.
2138
+ # @return [Array<Types::WorkflowSummary>]
2139
+ #
2140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/ListWorkflowsResponse AWS API Documentation
2141
+ #
2142
+ class ListWorkflowsResponse < Struct.new(
2143
+ :next_token,
2144
+ :items)
2145
+ SENSITIVE = []
2146
+ include Aws::Structure
2147
+ end
2148
+
1842
2149
  # Information about the persistent storage for a Dev Environment.
1843
2150
  #
1844
2151
  # @!attribute [rw] size_in_gi_b
@@ -2152,6 +2459,68 @@ module Aws::CodeCatalyst
2152
2459
  include Aws::Structure
2153
2460
  end
2154
2461
 
2462
+ # @!attribute [rw] space_name
2463
+ # The name of the space.
2464
+ # @return [String]
2465
+ #
2466
+ # @!attribute [rw] project_name
2467
+ # The name of the project in the space.
2468
+ # @return [String]
2469
+ #
2470
+ # @!attribute [rw] workflow_id
2471
+ # The system-generated unique ID of the workflow. To retrieve a list
2472
+ # of workflow IDs, use ListWorkflows.
2473
+ # @return [String]
2474
+ #
2475
+ # @!attribute [rw] client_token
2476
+ # A user-specified idempotency token. Idempotency ensures that an API
2477
+ # request completes only once. With an idempotent request, if the
2478
+ # original request completes successfully, the subsequent retries
2479
+ # return the result from the original successful request and have no
2480
+ # additional effect.
2481
+ #
2482
+ # **A suitable default value is auto-generated.** You should normally
2483
+ # not need to pass this option.
2484
+ # @return [String]
2485
+ #
2486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/StartWorkflowRunRequest AWS API Documentation
2487
+ #
2488
+ class StartWorkflowRunRequest < Struct.new(
2489
+ :space_name,
2490
+ :project_name,
2491
+ :workflow_id,
2492
+ :client_token)
2493
+ SENSITIVE = []
2494
+ include Aws::Structure
2495
+ end
2496
+
2497
+ # @!attribute [rw] space_name
2498
+ # The name of the space.
2499
+ # @return [String]
2500
+ #
2501
+ # @!attribute [rw] project_name
2502
+ # The name of the project in the space.
2503
+ # @return [String]
2504
+ #
2505
+ # @!attribute [rw] id
2506
+ # The system-generated unique ID of the workflow run.
2507
+ # @return [String]
2508
+ #
2509
+ # @!attribute [rw] workflow_id
2510
+ # The system-generated unique ID of the workflow.
2511
+ # @return [String]
2512
+ #
2513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/StartWorkflowRunResponse AWS API Documentation
2514
+ #
2515
+ class StartWorkflowRunResponse < Struct.new(
2516
+ :space_name,
2517
+ :project_name,
2518
+ :id,
2519
+ :workflow_id)
2520
+ SENSITIVE = []
2521
+ include Aws::Structure
2522
+ end
2523
+
2155
2524
  # @!attribute [rw] space_name
2156
2525
  # The name of the space.
2157
2526
  # @return [String]
@@ -2537,5 +2906,187 @@ module Aws::CodeCatalyst
2537
2906
  include Aws::Structure
2538
2907
  end
2539
2908
 
2909
+ # Information about a workflow definition file.
2910
+ #
2911
+ # @!attribute [rw] path
2912
+ # The path to the workflow definition file stored in the source
2913
+ # repository for the project, including the file name.
2914
+ # @return [String]
2915
+ #
2916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/WorkflowDefinition AWS API Documentation
2917
+ #
2918
+ class WorkflowDefinition < Struct.new(
2919
+ :path)
2920
+ SENSITIVE = []
2921
+ include Aws::Structure
2922
+ end
2923
+
2924
+ # Information about a workflow definition.
2925
+ #
2926
+ # @!attribute [rw] path
2927
+ # The path to the workflow definition file stored in the source
2928
+ # repository for the project, including the file name.
2929
+ # @return [String]
2930
+ #
2931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/WorkflowDefinitionSummary AWS API Documentation
2932
+ #
2933
+ class WorkflowDefinitionSummary < Struct.new(
2934
+ :path)
2935
+ SENSITIVE = []
2936
+ include Aws::Structure
2937
+ end
2938
+
2939
+ # Information used to sort workflow runs in the returned list.
2940
+ #
2941
+ # @api private
2942
+ #
2943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/WorkflowRunSortCriteria AWS API Documentation
2944
+ #
2945
+ class WorkflowRunSortCriteria < Aws::EmptyStructure; end
2946
+
2947
+ # Information about the status of a workflow run.
2948
+ #
2949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/WorkflowRunStatusReason AWS API Documentation
2950
+ #
2951
+ class WorkflowRunStatusReason < Aws::EmptyStructure; end
2952
+
2953
+ # Information about a workflow run.
2954
+ #
2955
+ # @!attribute [rw] id
2956
+ # The system-generated unique ID of the workflow run.
2957
+ # @return [String]
2958
+ #
2959
+ # @!attribute [rw] workflow_id
2960
+ # The system-generated unique ID of the workflow.
2961
+ # @return [String]
2962
+ #
2963
+ # @!attribute [rw] workflow_name
2964
+ # The name of the workflow.
2965
+ # @return [String]
2966
+ #
2967
+ # @!attribute [rw] status
2968
+ # The status of the workflow run.
2969
+ # @return [String]
2970
+ #
2971
+ # @!attribute [rw] status_reasons
2972
+ # The reasons for the workflow run status.
2973
+ # @return [Array<Types::WorkflowRunStatusReason>]
2974
+ #
2975
+ # @!attribute [rw] start_time
2976
+ # The date and time the workflow run began, in coordinated universal
2977
+ # time (UTC) timestamp format as specified in [RFC 3339][1].
2978
+ #
2979
+ #
2980
+ #
2981
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
2982
+ # @return [Time]
2983
+ #
2984
+ # @!attribute [rw] end_time
2985
+ # The date and time the workflow run ended, in coordinated universal
2986
+ # time (UTC) timestamp format as specified in [RFC 3339][1]
2987
+ #
2988
+ #
2989
+ #
2990
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
2991
+ # @return [Time]
2992
+ #
2993
+ # @!attribute [rw] last_updated_time
2994
+ # The date and time the workflow was last updated, in coordinated
2995
+ # universal time (UTC) timestamp format as specified in [RFC 3339][1]
2996
+ #
2997
+ #
2998
+ #
2999
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
3000
+ # @return [Time]
3001
+ #
3002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/WorkflowRunSummary AWS API Documentation
3003
+ #
3004
+ class WorkflowRunSummary < Struct.new(
3005
+ :id,
3006
+ :workflow_id,
3007
+ :workflow_name,
3008
+ :status,
3009
+ :status_reasons,
3010
+ :start_time,
3011
+ :end_time,
3012
+ :last_updated_time)
3013
+ SENSITIVE = []
3014
+ include Aws::Structure
3015
+ end
3016
+
3017
+ # Information used to sort workflows in the returned list.
3018
+ #
3019
+ # @api private
3020
+ #
3021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/WorkflowSortCriteria AWS API Documentation
3022
+ #
3023
+ class WorkflowSortCriteria < Aws::EmptyStructure; end
3024
+
3025
+ # Information about a workflow.
3026
+ #
3027
+ # @!attribute [rw] id
3028
+ # The system-generated unique ID of a workflow.
3029
+ # @return [String]
3030
+ #
3031
+ # @!attribute [rw] name
3032
+ # The name of the workflow.
3033
+ # @return [String]
3034
+ #
3035
+ # @!attribute [rw] source_repository_name
3036
+ # The name of the source repository where the workflow definition file
3037
+ # is stored.
3038
+ # @return [String]
3039
+ #
3040
+ # @!attribute [rw] source_branch_name
3041
+ # The name of the branch of the source repository where the workflow
3042
+ # definition file is stored.
3043
+ # @return [String]
3044
+ #
3045
+ # @!attribute [rw] definition
3046
+ # Information about the workflow definition file.
3047
+ # @return [Types::WorkflowDefinitionSummary]
3048
+ #
3049
+ # @!attribute [rw] created_time
3050
+ # The date and time the workflow was created, in coordinated universal
3051
+ # time (UTC) timestamp format as specified in [RFC 3339][1]
3052
+ #
3053
+ #
3054
+ #
3055
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
3056
+ # @return [Time]
3057
+ #
3058
+ # @!attribute [rw] last_updated_time
3059
+ # The date and time the workflow was last updated, in coordinated
3060
+ # universal time (UTC) timestamp format as specified in [RFC 3339][1]
3061
+ #
3062
+ #
3063
+ #
3064
+ # [1]: https://www.rfc-editor.org/rfc/rfc3339#section-5.6
3065
+ # @return [Time]
3066
+ #
3067
+ # @!attribute [rw] run_mode
3068
+ # The run mode of the workflow.
3069
+ # @return [String]
3070
+ #
3071
+ # @!attribute [rw] status
3072
+ # The status of the workflow.
3073
+ # @return [String]
3074
+ #
3075
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/WorkflowSummary AWS API Documentation
3076
+ #
3077
+ class WorkflowSummary < Struct.new(
3078
+ :id,
3079
+ :name,
3080
+ :source_repository_name,
3081
+ :source_branch_name,
3082
+ :definition,
3083
+ :created_time,
3084
+ :last_updated_time,
3085
+ :run_mode,
3086
+ :status)
3087
+ SENSITIVE = []
3088
+ include Aws::Structure
3089
+ end
3090
+
2540
3091
  end
2541
3092
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codecatalyst/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeCatalyst
54
54
 
55
- GEM_VERSION = '1.11.0'
55
+ GEM_VERSION = '1.12.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codecatalyst
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core