aws-sdk-codecatalyst 1.11.0 → 1.13.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codecatalyst/client.rb +330 -8
- data/lib/aws-sdk-codecatalyst/client_api.rb +236 -2
- data/lib/aws-sdk-codecatalyst/endpoints.rb +65 -0
- data/lib/aws-sdk-codecatalyst/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-codecatalyst/types.rb +578 -4
- data/lib/aws-sdk-codecatalyst.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f7947bf15a2a277cebaf631b6641f9c3e357aa15917f42817812eb456eec4c1
|
4
|
+
data.tar.gz: 2a3fe2924bf1ab6adfa2505bf02de8b78af791624886954bf3a9020a0d975b29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09c6dddeca01051c82976d6c96c7e92bcc25bb31ffc8537ce0d80707ba60bcae5dc36de7b019e233a6695c1bd731deeb84f8a36463d1f5e713ede431ee5efc12'
|
7
|
+
data.tar.gz: f7ed443ab2b02a90f9c9f18413451c3ba09d0515387a18e49d9f2bf8e463d97381a730df393d3c4ec642732cd4fee63adfd5da1cbb1f611187bdc9d0b09d7045
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.13.0 (2023-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release includes updates to the Dev Environment APIs to include an optional vpcConnectionName parameter that supports using Dev Environments with Amazon VPC.
|
8
|
+
|
9
|
+
1.12.0 (2023-11-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds functionality for retrieving information about workflows and workflow runs and starting workflow runs in Amazon CodeCatalyst.
|
13
|
+
|
4
14
|
1.11.0 (2023-09-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -503,11 +503,15 @@ module Aws::CodeCatalyst
|
|
503
503
|
#
|
504
504
|
# </note>
|
505
505
|
#
|
506
|
+
# @option params [String] :vpc_connection_name
|
507
|
+
# The name of the connection to use connect to a Amazon VPC.
|
508
|
+
#
|
506
509
|
# @return [Types::CreateDevEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
507
510
|
#
|
508
511
|
# * {Types::CreateDevEnvironmentResponse#space_name #space_name} => String
|
509
512
|
# * {Types::CreateDevEnvironmentResponse#project_name #project_name} => String
|
510
513
|
# * {Types::CreateDevEnvironmentResponse#id #id} => String
|
514
|
+
# * {Types::CreateDevEnvironmentResponse#vpc_connection_name #vpc_connection_name} => String
|
511
515
|
#
|
512
516
|
# @example Request syntax with placeholder values
|
513
517
|
#
|
@@ -533,6 +537,7 @@ module Aws::CodeCatalyst
|
|
533
537
|
# persistent_storage: { # required
|
534
538
|
# size_in_gi_b: 1, # required
|
535
539
|
# },
|
540
|
+
# vpc_connection_name: "NameString",
|
536
541
|
# })
|
537
542
|
#
|
538
543
|
# @example Response structure
|
@@ -540,6 +545,7 @@ module Aws::CodeCatalyst
|
|
540
545
|
# resp.space_name #=> String
|
541
546
|
# resp.project_name #=> String
|
542
547
|
# resp.id #=> String
|
548
|
+
# resp.vpc_connection_name #=> String
|
543
549
|
#
|
544
550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/CreateDevEnvironment AWS API Documentation
|
545
551
|
#
|
@@ -915,6 +921,7 @@ module Aws::CodeCatalyst
|
|
915
921
|
# * {Types::GetDevEnvironmentResponse#instance_type #instance_type} => String
|
916
922
|
# * {Types::GetDevEnvironmentResponse#inactivity_timeout_minutes #inactivity_timeout_minutes} => Integer
|
917
923
|
# * {Types::GetDevEnvironmentResponse#persistent_storage #persistent_storage} => Types::PersistentStorage
|
924
|
+
# * {Types::GetDevEnvironmentResponse#vpc_connection_name #vpc_connection_name} => String
|
918
925
|
#
|
919
926
|
# @example Request syntax with placeholder values
|
920
927
|
#
|
@@ -943,6 +950,7 @@ module Aws::CodeCatalyst
|
|
943
950
|
# resp.instance_type #=> String, one of "dev.standard1.small", "dev.standard1.medium", "dev.standard1.large", "dev.standard1.xlarge"
|
944
951
|
# resp.inactivity_timeout_minutes #=> Integer
|
945
952
|
# resp.persistent_storage.size_in_gi_b #=> Integer
|
953
|
+
# resp.vpc_connection_name #=> String
|
946
954
|
#
|
947
955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetDevEnvironment AWS API Documentation
|
948
956
|
#
|
@@ -1180,6 +1188,116 @@ module Aws::CodeCatalyst
|
|
1180
1188
|
req.send_request(options)
|
1181
1189
|
end
|
1182
1190
|
|
1191
|
+
# Returns information about a workflow.
|
1192
|
+
#
|
1193
|
+
# @option params [required, String] :space_name
|
1194
|
+
# The name of the space.
|
1195
|
+
#
|
1196
|
+
# @option params [required, String] :id
|
1197
|
+
# The ID of the workflow. To rerieve a list of workflow IDs, use
|
1198
|
+
# ListWorkflows.
|
1199
|
+
#
|
1200
|
+
# @option params [required, String] :project_name
|
1201
|
+
# The name of the project in the space.
|
1202
|
+
#
|
1203
|
+
# @return [Types::GetWorkflowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1204
|
+
#
|
1205
|
+
# * {Types::GetWorkflowResponse#space_name #space_name} => String
|
1206
|
+
# * {Types::GetWorkflowResponse#project_name #project_name} => String
|
1207
|
+
# * {Types::GetWorkflowResponse#id #id} => String
|
1208
|
+
# * {Types::GetWorkflowResponse#name #name} => String
|
1209
|
+
# * {Types::GetWorkflowResponse#source_repository_name #source_repository_name} => String
|
1210
|
+
# * {Types::GetWorkflowResponse#source_branch_name #source_branch_name} => String
|
1211
|
+
# * {Types::GetWorkflowResponse#definition #definition} => Types::WorkflowDefinition
|
1212
|
+
# * {Types::GetWorkflowResponse#created_time #created_time} => Time
|
1213
|
+
# * {Types::GetWorkflowResponse#last_updated_time #last_updated_time} => Time
|
1214
|
+
# * {Types::GetWorkflowResponse#run_mode #run_mode} => String
|
1215
|
+
# * {Types::GetWorkflowResponse#status #status} => String
|
1216
|
+
#
|
1217
|
+
# @example Request syntax with placeholder values
|
1218
|
+
#
|
1219
|
+
# resp = client.get_workflow({
|
1220
|
+
# space_name: "NameString", # required
|
1221
|
+
# id: "Uuid", # required
|
1222
|
+
# project_name: "GetWorkflowRequestProjectNameString", # required
|
1223
|
+
# })
|
1224
|
+
#
|
1225
|
+
# @example Response structure
|
1226
|
+
#
|
1227
|
+
# resp.space_name #=> String
|
1228
|
+
# resp.project_name #=> String
|
1229
|
+
# resp.id #=> String
|
1230
|
+
# resp.name #=> String
|
1231
|
+
# resp.source_repository_name #=> String
|
1232
|
+
# resp.source_branch_name #=> String
|
1233
|
+
# resp.definition.path #=> String
|
1234
|
+
# resp.created_time #=> Time
|
1235
|
+
# resp.last_updated_time #=> Time
|
1236
|
+
# resp.run_mode #=> String, one of "QUEUED", "PARALLEL", "SUPERSEDED"
|
1237
|
+
# resp.status #=> String, one of "INVALID", "ACTIVE"
|
1238
|
+
#
|
1239
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetWorkflow AWS API Documentation
|
1240
|
+
#
|
1241
|
+
# @overload get_workflow(params = {})
|
1242
|
+
# @param [Hash] params ({})
|
1243
|
+
def get_workflow(params = {}, options = {})
|
1244
|
+
req = build_request(:get_workflow, params)
|
1245
|
+
req.send_request(options)
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
# Returns information about a specified run of a workflow.
|
1249
|
+
#
|
1250
|
+
# @option params [required, String] :space_name
|
1251
|
+
# The name of the space.
|
1252
|
+
#
|
1253
|
+
# @option params [required, String] :id
|
1254
|
+
# The ID of the workflow run. To retrieve a list of workflow run IDs,
|
1255
|
+
# use ListWorkflowRuns.
|
1256
|
+
#
|
1257
|
+
# @option params [required, String] :project_name
|
1258
|
+
# The name of the project in the space.
|
1259
|
+
#
|
1260
|
+
# @return [Types::GetWorkflowRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1261
|
+
#
|
1262
|
+
# * {Types::GetWorkflowRunResponse#space_name #space_name} => String
|
1263
|
+
# * {Types::GetWorkflowRunResponse#project_name #project_name} => String
|
1264
|
+
# * {Types::GetWorkflowRunResponse#id #id} => String
|
1265
|
+
# * {Types::GetWorkflowRunResponse#workflow_id #workflow_id} => String
|
1266
|
+
# * {Types::GetWorkflowRunResponse#status #status} => String
|
1267
|
+
# * {Types::GetWorkflowRunResponse#status_reasons #status_reasons} => Array<Types::WorkflowRunStatusReason>
|
1268
|
+
# * {Types::GetWorkflowRunResponse#start_time #start_time} => Time
|
1269
|
+
# * {Types::GetWorkflowRunResponse#end_time #end_time} => Time
|
1270
|
+
# * {Types::GetWorkflowRunResponse#last_updated_time #last_updated_time} => Time
|
1271
|
+
#
|
1272
|
+
# @example Request syntax with placeholder values
|
1273
|
+
#
|
1274
|
+
# resp = client.get_workflow_run({
|
1275
|
+
# space_name: "NameString", # required
|
1276
|
+
# id: "Uuid", # required
|
1277
|
+
# project_name: "GetWorkflowRunRequestProjectNameString", # required
|
1278
|
+
# })
|
1279
|
+
#
|
1280
|
+
# @example Response structure
|
1281
|
+
#
|
1282
|
+
# resp.space_name #=> String
|
1283
|
+
# resp.project_name #=> String
|
1284
|
+
# resp.id #=> String
|
1285
|
+
# resp.workflow_id #=> String
|
1286
|
+
# resp.status #=> String, one of "SUCCEEDED", "FAILED", "STOPPED", "SUPERSEDED", "CANCELLED", "NOT_RUN", "VALIDATING", "PROVISIONING", "IN_PROGRESS", "STOPPING", "ABANDONED"
|
1287
|
+
# resp.status_reasons #=> Array
|
1288
|
+
# resp.start_time #=> Time
|
1289
|
+
# resp.end_time #=> Time
|
1290
|
+
# resp.last_updated_time #=> Time
|
1291
|
+
#
|
1292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/GetWorkflowRun AWS API Documentation
|
1293
|
+
#
|
1294
|
+
# @overload get_workflow_run(params = {})
|
1295
|
+
# @param [Hash] params ({})
|
1296
|
+
def get_workflow_run(params = {}, options = {})
|
1297
|
+
req = build_request(:get_workflow_run, params)
|
1298
|
+
req.send_request(options)
|
1299
|
+
end
|
1300
|
+
|
1183
1301
|
# Lists all personal access tokens (PATs) associated with the user who
|
1184
1302
|
# calls the API. You can only list PATs associated with your Amazon Web
|
1185
1303
|
# Services Builder ID.
|
@@ -1288,7 +1406,7 @@ module Aws::CodeCatalyst
|
|
1288
1406
|
# @option params [required, String] :space_name
|
1289
1407
|
# The name of the space.
|
1290
1408
|
#
|
1291
|
-
# @option params [
|
1409
|
+
# @option params [String] :project_name
|
1292
1410
|
# The name of the project in the space.
|
1293
1411
|
#
|
1294
1412
|
# @option params [Array<Types::Filter>] :filters
|
@@ -1316,7 +1434,7 @@ module Aws::CodeCatalyst
|
|
1316
1434
|
#
|
1317
1435
|
# resp = client.list_dev_environments({
|
1318
1436
|
# space_name: "NameString", # required
|
1319
|
-
# project_name: "NameString",
|
1437
|
+
# project_name: "NameString",
|
1320
1438
|
# filters: [
|
1321
1439
|
# {
|
1322
1440
|
# key: "String", # required
|
@@ -1348,6 +1466,7 @@ module Aws::CodeCatalyst
|
|
1348
1466
|
# resp.items[0].instance_type #=> String, one of "dev.standard1.small", "dev.standard1.medium", "dev.standard1.large", "dev.standard1.xlarge"
|
1349
1467
|
# resp.items[0].inactivity_timeout_minutes #=> Integer
|
1350
1468
|
# resp.items[0].persistent_storage.size_in_gi_b #=> Integer
|
1469
|
+
# resp.items[0].vpc_connection_name #=> String
|
1351
1470
|
# resp.next_token #=> String
|
1352
1471
|
#
|
1353
1472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/ListDevEnvironments AWS API Documentation
|
@@ -1359,9 +1478,26 @@ module Aws::CodeCatalyst
|
|
1359
1478
|
req.send_request(options)
|
1360
1479
|
end
|
1361
1480
|
|
1362
|
-
# Retrieves a list of events that occurred during a
|
1363
|
-
#
|
1364
|
-
#
|
1481
|
+
# Retrieves a list of events that occurred during a specific time in a
|
1482
|
+
# space. You can use these events to audit user and system activity in a
|
1483
|
+
# space. For more information, see [Monitoring][1] in the *Amazon
|
1484
|
+
# CodeCatalyst User Guide*.
|
1485
|
+
#
|
1486
|
+
# <note markdown="1"> ListEventLogs guarantees events for the last 30 days in a given space.
|
1487
|
+
# You can also view and retrieve a list of management events over the
|
1488
|
+
# last 90 days for Amazon CodeCatalyst in the CloudTrail console by
|
1489
|
+
# viewing Event history, or by creating a trail to create and maintain a
|
1490
|
+
# record of events that extends past 90 days. For more information, see
|
1491
|
+
# [Working with CloudTrail Event History][2] and [Working with
|
1492
|
+
# CloudTrail trails][3].
|
1493
|
+
#
|
1494
|
+
# </note>
|
1495
|
+
#
|
1496
|
+
#
|
1497
|
+
#
|
1498
|
+
# [1]: https://docs.aws.amazon.com/codecatalyst/latest/userguide/ipa-monitoring.html
|
1499
|
+
# [2]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html
|
1500
|
+
# [3]: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-getting-started.html
|
1365
1501
|
#
|
1366
1502
|
# @option params [required, String] :space_name
|
1367
1503
|
# The name of the space.
|
@@ -1484,9 +1620,9 @@ module Aws::CodeCatalyst
|
|
1484
1620
|
# max_results: 1,
|
1485
1621
|
# filters: [
|
1486
1622
|
# {
|
1487
|
-
# key: "hasAccessTo", # required, accepts hasAccessTo
|
1623
|
+
# key: "hasAccessTo", # required, accepts hasAccessTo, name
|
1488
1624
|
# values: ["String"], # required
|
1489
|
-
# comparison_operator: "EQ", # accepts EQ, GT, GE, LT, LE
|
1625
|
+
# comparison_operator: "EQ", # accepts EQ, GT, GE, LT, LE, BEGINS_WITH
|
1490
1626
|
# },
|
1491
1627
|
# ],
|
1492
1628
|
# })
|
@@ -1654,6 +1790,138 @@ module Aws::CodeCatalyst
|
|
1654
1790
|
req.send_request(options)
|
1655
1791
|
end
|
1656
1792
|
|
1793
|
+
# Retrieves a list of workflow runs of a specified workflow.
|
1794
|
+
#
|
1795
|
+
# @option params [required, String] :space_name
|
1796
|
+
# The name of the space.
|
1797
|
+
#
|
1798
|
+
# @option params [String] :workflow_id
|
1799
|
+
# The ID of the workflow. To retrieve a list of workflow IDs, use
|
1800
|
+
# ListWorkflows.
|
1801
|
+
#
|
1802
|
+
# @option params [required, String] :project_name
|
1803
|
+
# The name of the project in the space.
|
1804
|
+
#
|
1805
|
+
# @option params [String] :next_token
|
1806
|
+
# A token returned from a call to this API to indicate the next batch of
|
1807
|
+
# results to return, if any.
|
1808
|
+
#
|
1809
|
+
# @option params [Integer] :max_results
|
1810
|
+
# The maximum number of results to show in a single call to this API. If
|
1811
|
+
# the number of results is larger than the number you specified, the
|
1812
|
+
# response will include a `NextToken` element, which you can use to
|
1813
|
+
# obtain additional results.
|
1814
|
+
#
|
1815
|
+
# @option params [Array<Types::WorkflowRunSortCriteria>] :sort_by
|
1816
|
+
# Information used to sort the items in the returned list.
|
1817
|
+
#
|
1818
|
+
# @return [Types::ListWorkflowRunsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1819
|
+
#
|
1820
|
+
# * {Types::ListWorkflowRunsResponse#next_token #next_token} => String
|
1821
|
+
# * {Types::ListWorkflowRunsResponse#items #items} => Array<Types::WorkflowRunSummary>
|
1822
|
+
#
|
1823
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1824
|
+
#
|
1825
|
+
# @example Request syntax with placeholder values
|
1826
|
+
#
|
1827
|
+
# resp = client.list_workflow_runs({
|
1828
|
+
# space_name: "NameString", # required
|
1829
|
+
# workflow_id: "Uuid",
|
1830
|
+
# project_name: "ListWorkflowRunsRequestProjectNameString", # required
|
1831
|
+
# next_token: "ListWorkflowRunsRequestNextTokenString",
|
1832
|
+
# max_results: 1,
|
1833
|
+
# sort_by: [
|
1834
|
+
# {
|
1835
|
+
# },
|
1836
|
+
# ],
|
1837
|
+
# })
|
1838
|
+
#
|
1839
|
+
# @example Response structure
|
1840
|
+
#
|
1841
|
+
# resp.next_token #=> String
|
1842
|
+
# resp.items #=> Array
|
1843
|
+
# resp.items[0].id #=> String
|
1844
|
+
# resp.items[0].workflow_id #=> String
|
1845
|
+
# resp.items[0].workflow_name #=> String
|
1846
|
+
# resp.items[0].status #=> String, one of "SUCCEEDED", "FAILED", "STOPPED", "SUPERSEDED", "CANCELLED", "NOT_RUN", "VALIDATING", "PROVISIONING", "IN_PROGRESS", "STOPPING", "ABANDONED"
|
1847
|
+
# resp.items[0].status_reasons #=> Array
|
1848
|
+
# resp.items[0].start_time #=> Time
|
1849
|
+
# resp.items[0].end_time #=> Time
|
1850
|
+
# resp.items[0].last_updated_time #=> Time
|
1851
|
+
#
|
1852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/ListWorkflowRuns AWS API Documentation
|
1853
|
+
#
|
1854
|
+
# @overload list_workflow_runs(params = {})
|
1855
|
+
# @param [Hash] params ({})
|
1856
|
+
def list_workflow_runs(params = {}, options = {})
|
1857
|
+
req = build_request(:list_workflow_runs, params)
|
1858
|
+
req.send_request(options)
|
1859
|
+
end
|
1860
|
+
|
1861
|
+
# Retrieves a list of workflows in a specified project.
|
1862
|
+
#
|
1863
|
+
# @option params [required, String] :space_name
|
1864
|
+
# The name of the space.
|
1865
|
+
#
|
1866
|
+
# @option params [required, String] :project_name
|
1867
|
+
# The name of the project in the space.
|
1868
|
+
#
|
1869
|
+
# @option params [String] :next_token
|
1870
|
+
# A token returned from a call to this API to indicate the next batch of
|
1871
|
+
# results to return, if any.
|
1872
|
+
#
|
1873
|
+
# @option params [Integer] :max_results
|
1874
|
+
# The maximum number of results to show in a single call to this API. If
|
1875
|
+
# the number of results is larger than the number you specified, the
|
1876
|
+
# response will include a `NextToken` element, which you can use to
|
1877
|
+
# obtain additional results.
|
1878
|
+
#
|
1879
|
+
# @option params [Array<Types::WorkflowSortCriteria>] :sort_by
|
1880
|
+
# Information used to sort the items in the returned list.
|
1881
|
+
#
|
1882
|
+
# @return [Types::ListWorkflowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1883
|
+
#
|
1884
|
+
# * {Types::ListWorkflowsResponse#next_token #next_token} => String
|
1885
|
+
# * {Types::ListWorkflowsResponse#items #items} => Array<Types::WorkflowSummary>
|
1886
|
+
#
|
1887
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1888
|
+
#
|
1889
|
+
# @example Request syntax with placeholder values
|
1890
|
+
#
|
1891
|
+
# resp = client.list_workflows({
|
1892
|
+
# space_name: "ListWorkflowsRequestSpaceNameString", # required
|
1893
|
+
# project_name: "NameString", # required
|
1894
|
+
# next_token: "ListWorkflowsRequestNextTokenString",
|
1895
|
+
# max_results: 1,
|
1896
|
+
# sort_by: [
|
1897
|
+
# {
|
1898
|
+
# },
|
1899
|
+
# ],
|
1900
|
+
# })
|
1901
|
+
#
|
1902
|
+
# @example Response structure
|
1903
|
+
#
|
1904
|
+
# resp.next_token #=> String
|
1905
|
+
# resp.items #=> Array
|
1906
|
+
# resp.items[0].id #=> String
|
1907
|
+
# resp.items[0].name #=> String
|
1908
|
+
# resp.items[0].source_repository_name #=> String
|
1909
|
+
# resp.items[0].source_branch_name #=> String
|
1910
|
+
# resp.items[0].definition.path #=> String
|
1911
|
+
# resp.items[0].created_time #=> Time
|
1912
|
+
# resp.items[0].last_updated_time #=> Time
|
1913
|
+
# resp.items[0].run_mode #=> String, one of "QUEUED", "PARALLEL", "SUPERSEDED"
|
1914
|
+
# resp.items[0].status #=> String, one of "INVALID", "ACTIVE"
|
1915
|
+
#
|
1916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/ListWorkflows AWS API Documentation
|
1917
|
+
#
|
1918
|
+
# @overload list_workflows(params = {})
|
1919
|
+
# @param [Hash] params ({})
|
1920
|
+
def list_workflows(params = {}, options = {})
|
1921
|
+
req = build_request(:list_workflows, params)
|
1922
|
+
req.send_request(options)
|
1923
|
+
end
|
1924
|
+
|
1657
1925
|
# Starts a specified Dev Environment and puts it into an active state.
|
1658
1926
|
#
|
1659
1927
|
# @option params [required, String] :space_name
|
@@ -1771,6 +2039,60 @@ module Aws::CodeCatalyst
|
|
1771
2039
|
req.send_request(options)
|
1772
2040
|
end
|
1773
2041
|
|
2042
|
+
# Begins a run of a specified workflow.
|
2043
|
+
#
|
2044
|
+
# @option params [required, String] :space_name
|
2045
|
+
# The name of the space.
|
2046
|
+
#
|
2047
|
+
# @option params [required, String] :project_name
|
2048
|
+
# The name of the project in the space.
|
2049
|
+
#
|
2050
|
+
# @option params [required, String] :workflow_id
|
2051
|
+
# The system-generated unique ID of the workflow. To retrieve a list of
|
2052
|
+
# workflow IDs, use ListWorkflows.
|
2053
|
+
#
|
2054
|
+
# @option params [String] :client_token
|
2055
|
+
# A user-specified idempotency token. Idempotency ensures that an API
|
2056
|
+
# request completes only once. With an idempotent request, if the
|
2057
|
+
# original request completes successfully, the subsequent retries return
|
2058
|
+
# the result from the original successful request and have no additional
|
2059
|
+
# effect.
|
2060
|
+
#
|
2061
|
+
# **A suitable default value is auto-generated.** You should normally
|
2062
|
+
# not need to pass this option.**
|
2063
|
+
#
|
2064
|
+
# @return [Types::StartWorkflowRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2065
|
+
#
|
2066
|
+
# * {Types::StartWorkflowRunResponse#space_name #space_name} => String
|
2067
|
+
# * {Types::StartWorkflowRunResponse#project_name #project_name} => String
|
2068
|
+
# * {Types::StartWorkflowRunResponse#id #id} => String
|
2069
|
+
# * {Types::StartWorkflowRunResponse#workflow_id #workflow_id} => String
|
2070
|
+
#
|
2071
|
+
# @example Request syntax with placeholder values
|
2072
|
+
#
|
2073
|
+
# resp = client.start_workflow_run({
|
2074
|
+
# space_name: "StartWorkflowRunRequestSpaceNameString", # required
|
2075
|
+
# project_name: "StartWorkflowRunRequestProjectNameString", # required
|
2076
|
+
# workflow_id: "Uuid", # required
|
2077
|
+
# client_token: "StartWorkflowRunRequestClientTokenString",
|
2078
|
+
# })
|
2079
|
+
#
|
2080
|
+
# @example Response structure
|
2081
|
+
#
|
2082
|
+
# resp.space_name #=> String
|
2083
|
+
# resp.project_name #=> String
|
2084
|
+
# resp.id #=> String
|
2085
|
+
# resp.workflow_id #=> String
|
2086
|
+
#
|
2087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/StartWorkflowRun AWS API Documentation
|
2088
|
+
#
|
2089
|
+
# @overload start_workflow_run(params = {})
|
2090
|
+
# @param [Hash] params ({})
|
2091
|
+
def start_workflow_run(params = {}, options = {})
|
2092
|
+
req = build_request(:start_workflow_run, params)
|
2093
|
+
req.send_request(options)
|
2094
|
+
end
|
2095
|
+
|
1774
2096
|
# Pauses a specified Dev Environment and places it in a non-running
|
1775
2097
|
# state. Stopped Dev Environments do not consume compute minutes.
|
1776
2098
|
#
|
@@ -2070,7 +2392,7 @@ module Aws::CodeCatalyst
|
|
2070
2392
|
params: params,
|
2071
2393
|
config: config)
|
2072
2394
|
context[:gem_name] = 'aws-sdk-codecatalyst'
|
2073
|
-
context[:gem_version] = '1.
|
2395
|
+
context[:gem_version] = '1.13.0'
|
2074
2396
|
Seahorse::Client::Request.new(handlers, context)
|
2075
2397
|
end
|
2076
2398
|
|