aws-sdk-codebuild 1.44.0 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59c74b0c601ae19c8e8bbeac6037afb499737e50
4
- data.tar.gz: 68baab04c993f50bc498bb64dee532a3601697b8
3
+ metadata.gz: 3351b9a2a22311291bcca852b48e0b03f8d352fa
4
+ data.tar.gz: fc71fe2467afc609098e92897bfe59cc834e5d24
5
5
  SHA512:
6
- metadata.gz: dd0bd1911f8b3350b37eba9740dbf0a2a1a5b3ffe17fe6800392d19efcadbd95644c23cc01cedeeb7811092e6f9e9be7c42a804a8166ad0d1ebbbc35f314bd3f
7
- data.tar.gz: 3e9dc907d7051fdcb871e84bf5cc8abde9e049e12be58135bbf5ca18a52ab89b9745dc5d8f0d1b859be75a5942b1fbd90de1b28cfdc5df7a229197aa733de262
6
+ metadata.gz: 8da07f7cb2a68e3e1c7e5ec96e7ce763b9d0542318d1f7bb78b30e4fe325eb37e69d8f7bfebc6d77c0d39fabbf7e5f9740eff67f697773e82afc21038ff92610
7
+ data.tar.gz: b34c6dde6768e1d10c18973e9b55c199515715c41deff1b40ab91dc7064c2b61fcfe4ef8c9dd2cafbd97f77bc5304a3aae0b2747d51e85316e94c98ee55d23dc
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codebuild/customizations'
42
42
  # @service
43
43
  module Aws::CodeBuild
44
44
 
45
- GEM_VERSION = '1.44.0'
45
+ GEM_VERSION = '1.45.0'
46
46
 
47
47
  end
@@ -669,6 +669,8 @@ module Aws::CodeBuild
669
669
  # resp.builds[0].exported_environment_variables #=> Array
670
670
  # resp.builds[0].exported_environment_variables[0].name #=> String
671
671
  # resp.builds[0].exported_environment_variables[0].value #=> String
672
+ # resp.builds[0].report_arns #=> Array
673
+ # resp.builds[0].report_arns[0] #=> String
672
674
  # resp.builds_not_found #=> Array
673
675
  # resp.builds_not_found[0] #=> String
674
676
  #
@@ -807,6 +809,99 @@ module Aws::CodeBuild
807
809
  req.send_request(options)
808
810
  end
809
811
 
812
+ # Returns an array of report groups.
813
+ #
814
+ # @option params [required, Array<String>] :report_group_arns
815
+ # An array of report group ARNs that identify the report groups to
816
+ # return.
817
+ #
818
+ # @return [Types::BatchGetReportGroupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
819
+ #
820
+ # * {Types::BatchGetReportGroupsOutput#report_groups #report_groups} => Array&lt;Types::ReportGroup&gt;
821
+ # * {Types::BatchGetReportGroupsOutput#report_groups_not_found #report_groups_not_found} => Array&lt;String&gt;
822
+ #
823
+ # @example Request syntax with placeholder values
824
+ #
825
+ # resp = client.batch_get_report_groups({
826
+ # report_group_arns: ["NonEmptyString"], # required
827
+ # })
828
+ #
829
+ # @example Response structure
830
+ #
831
+ # resp.report_groups #=> Array
832
+ # resp.report_groups[0].arn #=> String
833
+ # resp.report_groups[0].name #=> String
834
+ # resp.report_groups[0].type #=> String, one of "TEST"
835
+ # resp.report_groups[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
836
+ # resp.report_groups[0].export_config.s3_destination.bucket #=> String
837
+ # resp.report_groups[0].export_config.s3_destination.path #=> String
838
+ # resp.report_groups[0].export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
839
+ # resp.report_groups[0].export_config.s3_destination.encryption_key #=> String
840
+ # resp.report_groups[0].export_config.s3_destination.encryption_disabled #=> Boolean
841
+ # resp.report_groups[0].created #=> Time
842
+ # resp.report_groups[0].last_modified #=> Time
843
+ # resp.report_groups_not_found #=> Array
844
+ # resp.report_groups_not_found[0] #=> String
845
+ #
846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetReportGroups AWS API Documentation
847
+ #
848
+ # @overload batch_get_report_groups(params = {})
849
+ # @param [Hash] params ({})
850
+ def batch_get_report_groups(params = {}, options = {})
851
+ req = build_request(:batch_get_report_groups, params)
852
+ req.send_request(options)
853
+ end
854
+
855
+ # Returns an array of reports.
856
+ #
857
+ # @option params [required, Array<String>] :report_arns
858
+ # An array of ARNs that identify the `Report` objects to return.
859
+ #
860
+ # @return [Types::BatchGetReportsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
861
+ #
862
+ # * {Types::BatchGetReportsOutput#reports #reports} => Array&lt;Types::Report&gt;
863
+ # * {Types::BatchGetReportsOutput#reports_not_found #reports_not_found} => Array&lt;String&gt;
864
+ #
865
+ # @example Request syntax with placeholder values
866
+ #
867
+ # resp = client.batch_get_reports({
868
+ # report_arns: ["NonEmptyString"], # required
869
+ # })
870
+ #
871
+ # @example Response structure
872
+ #
873
+ # resp.reports #=> Array
874
+ # resp.reports[0].arn #=> String
875
+ # resp.reports[0].type #=> String, one of "TEST"
876
+ # resp.reports[0].name #=> String
877
+ # resp.reports[0].report_group_arn #=> String
878
+ # resp.reports[0].execution_id #=> String
879
+ # resp.reports[0].status #=> String, one of "GENERATING", "SUCCEEDED", "FAILED", "INCOMPLETE", "DELETING"
880
+ # resp.reports[0].created #=> Time
881
+ # resp.reports[0].expired #=> Time
882
+ # resp.reports[0].export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
883
+ # resp.reports[0].export_config.s3_destination.bucket #=> String
884
+ # resp.reports[0].export_config.s3_destination.path #=> String
885
+ # resp.reports[0].export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
886
+ # resp.reports[0].export_config.s3_destination.encryption_key #=> String
887
+ # resp.reports[0].export_config.s3_destination.encryption_disabled #=> Boolean
888
+ # resp.reports[0].truncated #=> Boolean
889
+ # resp.reports[0].test_summary.total #=> Integer
890
+ # resp.reports[0].test_summary.status_counts #=> Hash
891
+ # resp.reports[0].test_summary.status_counts["String"] #=> Integer
892
+ # resp.reports[0].test_summary.duration_in_nano_seconds #=> Integer
893
+ # resp.reports_not_found #=> Array
894
+ # resp.reports_not_found[0] #=> String
895
+ #
896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetReports AWS API Documentation
897
+ #
898
+ # @overload batch_get_reports(params = {})
899
+ # @param [Hash] params ({})
900
+ def batch_get_reports(params = {}, options = {})
901
+ req = build_request(:batch_get_reports, params)
902
+ req.send_request(options)
903
+ end
904
+
810
905
  # Creates a build project.
811
906
  #
812
907
  # @option params [required, String] :name
@@ -826,7 +921,7 @@ module Aws::CodeBuild
826
921
  # specified, the latest version is used. If specified, it must be one
827
922
  # of:
828
923
  #
829
- # * For AWS CodeCommit: the commit ID to use.
924
+ # * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
830
925
  #
831
926
  # * For GitHub: the commit ID, pull request ID, branch name, or tag name
832
927
  # that corresponds to the version of the source code you want to
@@ -1151,6 +1246,63 @@ module Aws::CodeBuild
1151
1246
  req.send_request(options)
1152
1247
  end
1153
1248
 
1249
+ # Creates a report group. A report group contains a collection of
1250
+ # reports.
1251
+ #
1252
+ # @option params [required, String] :name
1253
+ # The name of the report group.
1254
+ #
1255
+ # @option params [required, String] :type
1256
+ # The type of report group.
1257
+ #
1258
+ # @option params [required, Types::ReportExportConfig] :export_config
1259
+ # A `ReportExportConfig` object that contains information about where
1260
+ # the report group test results are exported.
1261
+ #
1262
+ # @return [Types::CreateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1263
+ #
1264
+ # * {Types::CreateReportGroupOutput#report_group #report_group} => Types::ReportGroup
1265
+ #
1266
+ # @example Request syntax with placeholder values
1267
+ #
1268
+ # resp = client.create_report_group({
1269
+ # name: "ReportGroupName", # required
1270
+ # type: "TEST", # required, accepts TEST
1271
+ # export_config: { # required
1272
+ # export_config_type: "S3", # accepts S3, NO_EXPORT
1273
+ # s3_destination: {
1274
+ # bucket: "NonEmptyString",
1275
+ # path: "String",
1276
+ # packaging: "ZIP", # accepts ZIP, NONE
1277
+ # encryption_key: "NonEmptyString",
1278
+ # encryption_disabled: false,
1279
+ # },
1280
+ # },
1281
+ # })
1282
+ #
1283
+ # @example Response structure
1284
+ #
1285
+ # resp.report_group.arn #=> String
1286
+ # resp.report_group.name #=> String
1287
+ # resp.report_group.type #=> String, one of "TEST"
1288
+ # resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
1289
+ # resp.report_group.export_config.s3_destination.bucket #=> String
1290
+ # resp.report_group.export_config.s3_destination.path #=> String
1291
+ # resp.report_group.export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
1292
+ # resp.report_group.export_config.s3_destination.encryption_key #=> String
1293
+ # resp.report_group.export_config.s3_destination.encryption_disabled #=> Boolean
1294
+ # resp.report_group.created #=> Time
1295
+ # resp.report_group.last_modified #=> Time
1296
+ #
1297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroup AWS API Documentation
1298
+ #
1299
+ # @overload create_report_group(params = {})
1300
+ # @param [Hash] params ({})
1301
+ def create_report_group(params = {}, options = {})
1302
+ req = build_request(:create_report_group, params)
1303
+ req.send_request(options)
1304
+ end
1305
+
1154
1306
  # For an existing AWS CodeBuild build project that has its source code
1155
1307
  # stored in a GitHub or Bitbucket repository, enables AWS CodeBuild to
1156
1308
  # start rebuilding the source code every time a code change is pushed to
@@ -1257,6 +1409,60 @@ module Aws::CodeBuild
1257
1409
  req.send_request(options)
1258
1410
  end
1259
1411
 
1412
+ # Deletes a report.
1413
+ #
1414
+ # @option params [required, String] :arn
1415
+ # The ARN of the report to delete.
1416
+ #
1417
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1418
+ #
1419
+ # @example Request syntax with placeholder values
1420
+ #
1421
+ # resp = client.delete_report({
1422
+ # arn: "NonEmptyString", # required
1423
+ # })
1424
+ #
1425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReport AWS API Documentation
1426
+ #
1427
+ # @overload delete_report(params = {})
1428
+ # @param [Hash] params ({})
1429
+ def delete_report(params = {}, options = {})
1430
+ req = build_request(:delete_report, params)
1431
+ req.send_request(options)
1432
+ end
1433
+
1434
+ # `DeleteReportGroup`\: Deletes a report group. Before you delete a
1435
+ # report group, you must delete its reports. Use
1436
+ # [ListReportsForReportGroup][1] to get the reports in a report group.
1437
+ # Use [DeleteReport][2] to delete the reports. If you call
1438
+ # `DeleteReportGroup` for a report group that contains one or more
1439
+ # reports, an exception is thrown.
1440
+ #
1441
+ #
1442
+ #
1443
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListReportsForReportGroup.html
1444
+ # [2]: https://docs.aws.amazon.com/codebuild/latest/APIReference/API_DeleteReport.html
1445
+ #
1446
+ # @option params [required, String] :arn
1447
+ # The ARN of the report group to delete.
1448
+ #
1449
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1450
+ #
1451
+ # @example Request syntax with placeholder values
1452
+ #
1453
+ # resp = client.delete_report_group({
1454
+ # arn: "NonEmptyString", # required
1455
+ # })
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReportGroup AWS API Documentation
1458
+ #
1459
+ # @overload delete_report_group(params = {})
1460
+ # @param [Hash] params ({})
1461
+ def delete_report_group(params = {}, options = {})
1462
+ req = build_request(:delete_report_group, params)
1463
+ req.send_request(options)
1464
+ end
1465
+
1260
1466
  # Deletes a set of GitHub, GitHub Enterprise, or Bitbucket source
1261
1467
  # credentials.
1262
1468
  #
@@ -1311,6 +1517,66 @@ module Aws::CodeBuild
1311
1517
  req.send_request(options)
1312
1518
  end
1313
1519
 
1520
+ # Returns a list of details about test cases for a report.
1521
+ #
1522
+ # @option params [required, String] :report_arn
1523
+ # The ARN of the report for which test cases are returned.
1524
+ #
1525
+ # @option params [String] :next_token
1526
+ # During a previous call, the maximum number of items that can be
1527
+ # returned is the value specified in `maxResults`. If there more items
1528
+ # in the list, then a unique string called a *nextToken* is returned. To
1529
+ # get the next batch of items in the list, call this operation again,
1530
+ # adding the next token to the call. To get all of the items in the
1531
+ # list, keep calling this operation with each subsequent next token that
1532
+ # is returned, until no more next tokens are returned.
1533
+ #
1534
+ # @option params [Integer] :max_results
1535
+ # The maximum number of paginated test cases returned per response. Use
1536
+ # `nextToken` to iterate pages in the list of returned `TestCase`
1537
+ # objects. The default value is 100.
1538
+ #
1539
+ # @option params [Types::TestCaseFilter] :filter
1540
+ # A `TestCaseFilter` object used to filter the returned reports.
1541
+ #
1542
+ # @return [Types::DescribeTestCasesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1543
+ #
1544
+ # * {Types::DescribeTestCasesOutput#next_token #next_token} => String
1545
+ # * {Types::DescribeTestCasesOutput#test_cases #test_cases} => Array&lt;Types::TestCase&gt;
1546
+ #
1547
+ # @example Request syntax with placeholder values
1548
+ #
1549
+ # resp = client.describe_test_cases({
1550
+ # report_arn: "String", # required
1551
+ # next_token: "String",
1552
+ # max_results: 1,
1553
+ # filter: {
1554
+ # status: "String",
1555
+ # },
1556
+ # })
1557
+ #
1558
+ # @example Response structure
1559
+ #
1560
+ # resp.next_token #=> String
1561
+ # resp.test_cases #=> Array
1562
+ # resp.test_cases[0].report_arn #=> String
1563
+ # resp.test_cases[0].test_raw_data_path #=> String
1564
+ # resp.test_cases[0].prefix #=> String
1565
+ # resp.test_cases[0].name #=> String
1566
+ # resp.test_cases[0].status #=> String
1567
+ # resp.test_cases[0].duration_in_nano_seconds #=> Integer
1568
+ # resp.test_cases[0].message #=> String
1569
+ # resp.test_cases[0].expired #=> Time
1570
+ #
1571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeTestCases AWS API Documentation
1572
+ #
1573
+ # @overload describe_test_cases(params = {})
1574
+ # @param [Hash] params ({})
1575
+ def describe_test_cases(params = {}, options = {})
1576
+ req = build_request(:describe_test_cases, params)
1577
+ req.send_request(options)
1578
+ end
1579
+
1314
1580
  # Imports the source repository credentials for an AWS CodeBuild project
1315
1581
  # that has its source code stored in a GitHub, GitHub Enterprise, or
1316
1582
  # Bitbucket repository.
@@ -1576,6 +1842,184 @@ module Aws::CodeBuild
1576
1842
  req.send_request(options)
1577
1843
  end
1578
1844
 
1845
+ # Gets a list ARNs for the report groups in the current AWS account.
1846
+ #
1847
+ # @option params [String] :sort_order
1848
+ # Used to specify the order to sort the list of returned report groups.
1849
+ # Valid values are `ASCENDING` and `DESCENDING`.
1850
+ #
1851
+ # @option params [String] :sort_by
1852
+ # The criterion to be used to list build report groups. Valid values
1853
+ # include:
1854
+ #
1855
+ # * `CREATED_TIME`\: List based on when each report group was created.
1856
+ #
1857
+ # * `LAST_MODIFIED_TIME`\: List based on when each report group was last
1858
+ # changed.
1859
+ #
1860
+ # * `NAME`\: List based on each report group's name.
1861
+ #
1862
+ # @option params [String] :next_token
1863
+ # During a previous call, the maximum number of items that can be
1864
+ # returned is the value specified in `maxResults`. If there more items
1865
+ # in the list, then a unique string called a *nextToken* is returned. To
1866
+ # get the next batch of items in the list, call this operation again,
1867
+ # adding the next token to the call. To get all of the items in the
1868
+ # list, keep calling this operation with each subsequent next token that
1869
+ # is returned, until no more next tokens are returned.
1870
+ #
1871
+ # @option params [Integer] :max_results
1872
+ # The maximum number of paginated report groups returned per response.
1873
+ # Use `nextToken` to iterate pages in the list of returned `ReportGroup`
1874
+ # objects. The default value is 100.
1875
+ #
1876
+ # @return [Types::ListReportGroupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1877
+ #
1878
+ # * {Types::ListReportGroupsOutput#next_token #next_token} => String
1879
+ # * {Types::ListReportGroupsOutput#report_groups #report_groups} => Array&lt;String&gt;
1880
+ #
1881
+ # @example Request syntax with placeholder values
1882
+ #
1883
+ # resp = client.list_report_groups({
1884
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
1885
+ # sort_by: "NAME", # accepts NAME, CREATED_TIME, LAST_MODIFIED_TIME
1886
+ # next_token: "String",
1887
+ # max_results: 1,
1888
+ # })
1889
+ #
1890
+ # @example Response structure
1891
+ #
1892
+ # resp.next_token #=> String
1893
+ # resp.report_groups #=> Array
1894
+ # resp.report_groups[0] #=> String
1895
+ #
1896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroups AWS API Documentation
1897
+ #
1898
+ # @overload list_report_groups(params = {})
1899
+ # @param [Hash] params ({})
1900
+ def list_report_groups(params = {}, options = {})
1901
+ req = build_request(:list_report_groups, params)
1902
+ req.send_request(options)
1903
+ end
1904
+
1905
+ # Returns a list of ARNs for the reports in the current AWS account.
1906
+ #
1907
+ # @option params [String] :sort_order
1908
+ # Specifies the sort order for the list of returned reports. Valid
1909
+ # values are:
1910
+ #
1911
+ # * `ASCENDING`\: return reports in chronological order based on their
1912
+ # creation date.
1913
+ #
1914
+ # * `DESCENDING`\: return reports in the reverse chronological order
1915
+ # based on their creation date.
1916
+ #
1917
+ # @option params [String] :next_token
1918
+ # During a previous call, the maximum number of items that can be
1919
+ # returned is the value specified in `maxResults`. If there more items
1920
+ # in the list, then a unique string called a *nextToken* is returned. To
1921
+ # get the next batch of items in the list, call this operation again,
1922
+ # adding the next token to the call. To get all of the items in the
1923
+ # list, keep calling this operation with each subsequent next token that
1924
+ # is returned, until no more next tokens are returned.
1925
+ #
1926
+ # @option params [Integer] :max_results
1927
+ # The maximum number of paginated reports returned per response. Use
1928
+ # `nextToken` to iterate pages in the list of returned `Report` objects.
1929
+ # The default value is 100.
1930
+ #
1931
+ # @option params [Types::ReportFilter] :filter
1932
+ # A `ReportFilter` object used to filter the returned reports.
1933
+ #
1934
+ # @return [Types::ListReportsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1935
+ #
1936
+ # * {Types::ListReportsOutput#next_token #next_token} => String
1937
+ # * {Types::ListReportsOutput#reports #reports} => Array&lt;String&gt;
1938
+ #
1939
+ # @example Request syntax with placeholder values
1940
+ #
1941
+ # resp = client.list_reports({
1942
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
1943
+ # next_token: "String",
1944
+ # max_results: 1,
1945
+ # filter: {
1946
+ # status: "GENERATING", # accepts GENERATING, SUCCEEDED, FAILED, INCOMPLETE, DELETING
1947
+ # },
1948
+ # })
1949
+ #
1950
+ # @example Response structure
1951
+ #
1952
+ # resp.next_token #=> String
1953
+ # resp.reports #=> Array
1954
+ # resp.reports[0] #=> String
1955
+ #
1956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReports AWS API Documentation
1957
+ #
1958
+ # @overload list_reports(params = {})
1959
+ # @param [Hash] params ({})
1960
+ def list_reports(params = {}, options = {})
1961
+ req = build_request(:list_reports, params)
1962
+ req.send_request(options)
1963
+ end
1964
+
1965
+ # Returns a list of ARNs for the reports that belong to a `ReportGroup`.
1966
+ #
1967
+ # @option params [required, String] :report_group_arn
1968
+ # The ARN of the report group for which you want to return report ARNs.
1969
+ #
1970
+ # @option params [String] :next_token
1971
+ # During a previous call, the maximum number of items that can be
1972
+ # returned is the value specified in `maxResults`. If there more items
1973
+ # in the list, then a unique string called a *nextToken* is returned. To
1974
+ # get the next batch of items in the list, call this operation again,
1975
+ # adding the next token to the call. To get all of the items in the
1976
+ # list, keep calling this operation with each subsequent next token that
1977
+ # is returned, until no more next tokens are returned.
1978
+ #
1979
+ # @option params [String] :sort_order
1980
+ # Use to specify whether the results are returned in ascending or
1981
+ # descending order.
1982
+ #
1983
+ # @option params [Integer] :max_results
1984
+ # The maximum number of paginated reports in this report group returned
1985
+ # per response. Use `nextToken` to iterate pages in the list of returned
1986
+ # `Report` objects. The default value is 100.
1987
+ #
1988
+ # @option params [Types::ReportFilter] :filter
1989
+ # A `ReportFilter` object used to filter the returned reports.
1990
+ #
1991
+ # @return [Types::ListReportsForReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1992
+ #
1993
+ # * {Types::ListReportsForReportGroupOutput#next_token #next_token} => String
1994
+ # * {Types::ListReportsForReportGroupOutput#reports #reports} => Array&lt;String&gt;
1995
+ #
1996
+ # @example Request syntax with placeholder values
1997
+ #
1998
+ # resp = client.list_reports_for_report_group({
1999
+ # report_group_arn: "String", # required
2000
+ # next_token: "String",
2001
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
2002
+ # max_results: 1,
2003
+ # filter: {
2004
+ # status: "GENERATING", # accepts GENERATING, SUCCEEDED, FAILED, INCOMPLETE, DELETING
2005
+ # },
2006
+ # })
2007
+ #
2008
+ # @example Response structure
2009
+ #
2010
+ # resp.next_token #=> String
2011
+ # resp.reports #=> Array
2012
+ # resp.reports[0] #=> String
2013
+ #
2014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsForReportGroup AWS API Documentation
2015
+ #
2016
+ # @overload list_reports_for_report_group(params = {})
2017
+ # @param [Hash] params ({})
2018
+ def list_reports_for_report_group(params = {}, options = {})
2019
+ req = build_request(:list_reports_for_report_group, params)
2020
+ req.send_request(options)
2021
+ end
2022
+
1579
2023
  # Returns a list of `SourceCredentialsInfo` objects.
1580
2024
  #
1581
2025
  # @return [Types::ListSourceCredentialsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1615,7 +2059,7 @@ module Aws::CodeBuild
1615
2059
  # A version of the build input to be built, for this build only. If not
1616
2060
  # specified, the latest version is used. If specified, must be one of:
1617
2061
  #
1618
- # * For AWS CodeCommit: the commit ID to use.
2062
+ # * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
1619
2063
  #
1620
2064
  # * For GitHub: the commit ID, pull request ID, branch name, or tag name
1621
2065
  # that corresponds to the version of the source code you want to
@@ -1974,6 +2418,8 @@ module Aws::CodeBuild
1974
2418
  # resp.build.exported_environment_variables #=> Array
1975
2419
  # resp.build.exported_environment_variables[0].name #=> String
1976
2420
  # resp.build.exported_environment_variables[0].value #=> String
2421
+ # resp.build.report_arns #=> Array
2422
+ # resp.build.report_arns[0] #=> String
1977
2423
  #
1978
2424
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
1979
2425
  #
@@ -2101,6 +2547,8 @@ module Aws::CodeBuild
2101
2547
  # resp.build.exported_environment_variables #=> Array
2102
2548
  # resp.build.exported_environment_variables[0].name #=> String
2103
2549
  # resp.build.exported_environment_variables[0].value #=> String
2550
+ # resp.build.report_arns #=> Array
2551
+ # resp.build.report_arns[0] #=> String
2104
2552
  #
2105
2553
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
2106
2554
  #
@@ -2135,7 +2583,7 @@ module Aws::CodeBuild
2135
2583
  # specified, the latest version is used. If specified, it must be one
2136
2584
  # of:
2137
2585
  #
2138
- # * For AWS CodeCommit: the commit ID to use.
2586
+ # * For AWS CodeCommit: the commit ID, branch, or Git tag to use.
2139
2587
  #
2140
2588
  # * For GitHub: the commit ID, pull request ID, branch name, or tag name
2141
2589
  # that corresponds to the version of the source code you want to
@@ -2460,6 +2908,61 @@ module Aws::CodeBuild
2460
2908
  req.send_request(options)
2461
2909
  end
2462
2910
 
2911
+ # Updates a report group.
2912
+ #
2913
+ # @option params [required, String] :arn
2914
+ # The ARN of the report group to update.
2915
+ #
2916
+ # @option params [Types::ReportExportConfig] :export_config
2917
+ # Used to specify an updated export type. Valid values are:
2918
+ #
2919
+ # * `S3`\: The report results are exported to an S3 bucket.
2920
+ #
2921
+ # * `NO_EXPORT`\: The report results are not exported.
2922
+ #
2923
+ # @return [Types::UpdateReportGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2924
+ #
2925
+ # * {Types::UpdateReportGroupOutput#report_group #report_group} => Types::ReportGroup
2926
+ #
2927
+ # @example Request syntax with placeholder values
2928
+ #
2929
+ # resp = client.update_report_group({
2930
+ # arn: "NonEmptyString", # required
2931
+ # export_config: {
2932
+ # export_config_type: "S3", # accepts S3, NO_EXPORT
2933
+ # s3_destination: {
2934
+ # bucket: "NonEmptyString",
2935
+ # path: "String",
2936
+ # packaging: "ZIP", # accepts ZIP, NONE
2937
+ # encryption_key: "NonEmptyString",
2938
+ # encryption_disabled: false,
2939
+ # },
2940
+ # },
2941
+ # })
2942
+ #
2943
+ # @example Response structure
2944
+ #
2945
+ # resp.report_group.arn #=> String
2946
+ # resp.report_group.name #=> String
2947
+ # resp.report_group.type #=> String, one of "TEST"
2948
+ # resp.report_group.export_config.export_config_type #=> String, one of "S3", "NO_EXPORT"
2949
+ # resp.report_group.export_config.s3_destination.bucket #=> String
2950
+ # resp.report_group.export_config.s3_destination.path #=> String
2951
+ # resp.report_group.export_config.s3_destination.packaging #=> String, one of "ZIP", "NONE"
2952
+ # resp.report_group.export_config.s3_destination.encryption_key #=> String
2953
+ # resp.report_group.export_config.s3_destination.encryption_disabled #=> Boolean
2954
+ # resp.report_group.created #=> Time
2955
+ # resp.report_group.last_modified #=> Time
2956
+ #
2957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup AWS API Documentation
2958
+ #
2959
+ # @overload update_report_group(params = {})
2960
+ # @param [Hash] params ({})
2961
+ def update_report_group(params = {}, options = {})
2962
+ req = build_request(:update_report_group, params)
2963
+ req.send_request(options)
2964
+ end
2965
+
2463
2966
  # Updates the webhook associated with an AWS CodeBuild build project.
2464
2967
  #
2465
2968
  # <note markdown="1"> If you use Bitbucket for your repository, `rotateSecret` is ignored.
@@ -2487,7 +2990,7 @@ module Aws::CodeBuild
2487
2990
  #
2488
2991
  # @option params [Array<Array>] :filter_groups
2489
2992
  # An array of arrays of `WebhookFilter` objects used to determine if a
2490
- # webhook event can trigger a build. A filter group must pcontain at
2993
+ # webhook event can trigger a build. A filter group must contain at
2491
2994
  # least one `EVENT` `WebhookFilter`.
2492
2995
  #
2493
2996
  # @return [Types::UpdateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2546,7 +3049,7 @@ module Aws::CodeBuild
2546
3049
  params: params,
2547
3050
  config: config)
2548
3051
  context[:gem_name] = 'aws-sdk-codebuild'
2549
- context[:gem_version] = '1.44.0'
3052
+ context[:gem_version] = '1.45.0'
2550
3053
  Seahorse::Client::Request.new(handlers, context)
2551
3054
  end
2552
3055