aws-sdk-codebuild 1.52.0 → 1.57.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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -29,6 +31,7 @@ module Aws::CodeBuild
29
31
  #
30
32
  class BatchDeleteBuildsInput < Struct.new(
31
33
  :ids)
34
+ SENSITIVE = []
32
35
  include Aws::Structure
33
36
  end
34
37
 
@@ -45,6 +48,7 @@ module Aws::CodeBuild
45
48
  class BatchDeleteBuildsOutput < Struct.new(
46
49
  :builds_deleted,
47
50
  :builds_not_deleted)
51
+ SENSITIVE = []
48
52
  include Aws::Structure
49
53
  end
50
54
 
@@ -63,6 +67,7 @@ module Aws::CodeBuild
63
67
  #
64
68
  class BatchGetBuildsInput < Struct.new(
65
69
  :ids)
70
+ SENSITIVE = []
66
71
  include Aws::Structure
67
72
  end
68
73
 
@@ -79,6 +84,7 @@ module Aws::CodeBuild
79
84
  class BatchGetBuildsOutput < Struct.new(
80
85
  :builds,
81
86
  :builds_not_found)
87
+ SENSITIVE = []
82
88
  include Aws::Structure
83
89
  end
84
90
 
@@ -99,6 +105,7 @@ module Aws::CodeBuild
99
105
  #
100
106
  class BatchGetProjectsInput < Struct.new(
101
107
  :names)
108
+ SENSITIVE = []
102
109
  include Aws::Structure
103
110
  end
104
111
 
@@ -116,6 +123,7 @@ module Aws::CodeBuild
116
123
  class BatchGetProjectsOutput < Struct.new(
117
124
  :projects,
118
125
  :projects_not_found)
126
+ SENSITIVE = []
119
127
  include Aws::Structure
120
128
  end
121
129
 
@@ -135,6 +143,7 @@ module Aws::CodeBuild
135
143
  #
136
144
  class BatchGetReportGroupsInput < Struct.new(
137
145
  :report_group_arns)
146
+ SENSITIVE = []
138
147
  include Aws::Structure
139
148
  end
140
149
 
@@ -152,6 +161,7 @@ module Aws::CodeBuild
152
161
  class BatchGetReportGroupsOutput < Struct.new(
153
162
  :report_groups,
154
163
  :report_groups_not_found)
164
+ SENSITIVE = []
155
165
  include Aws::Structure
156
166
  end
157
167
 
@@ -170,6 +180,7 @@ module Aws::CodeBuild
170
180
  #
171
181
  class BatchGetReportsInput < Struct.new(
172
182
  :report_arns)
183
+ SENSITIVE = []
173
184
  include Aws::Structure
174
185
  end
175
186
 
@@ -187,6 +198,7 @@ module Aws::CodeBuild
187
198
  class BatchGetReportsOutput < Struct.new(
188
199
  :reports,
189
200
  :reports_not_found)
201
+ SENSITIVE = []
190
202
  include Aws::Structure
191
203
  end
192
204
 
@@ -393,6 +405,10 @@ module Aws::CodeBuild
393
405
  # of a file system created using Amazon Elastic File System.
394
406
  # @return [Array<Types::ProjectFileSystemLocation>]
395
407
  #
408
+ # @!attribute [rw] debug_session
409
+ # Contains information about the debug session for this build.
410
+ # @return [Types::DebugSession]
411
+ #
396
412
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build AWS API Documentation
397
413
  #
398
414
  class Build < Struct.new(
@@ -425,7 +441,9 @@ module Aws::CodeBuild
425
441
  :encryption_key,
426
442
  :exported_environment_variables,
427
443
  :report_arns,
428
- :file_system_locations)
444
+ :file_system_locations,
445
+ :debug_session)
446
+ SENSITIVE = []
429
447
  include Aws::Structure
430
448
  end
431
449
 
@@ -485,6 +503,7 @@ module Aws::CodeBuild
485
503
  :override_artifact_name,
486
504
  :encryption_disabled,
487
505
  :artifact_identifier)
506
+ SENSITIVE = []
488
507
  include Aws::Structure
489
508
  end
490
509
 
@@ -504,6 +523,7 @@ module Aws::CodeBuild
504
523
  class BuildNotDeleted < Struct.new(
505
524
  :id,
506
525
  :status_code)
526
+ SENSITIVE = []
507
527
  include Aws::Structure
508
528
  end
509
529
 
@@ -589,6 +609,73 @@ module Aws::CodeBuild
589
609
  :end_time,
590
610
  :duration_in_seconds,
591
611
  :contexts)
612
+ SENSITIVE = []
613
+ include Aws::Structure
614
+ end
615
+
616
+ # Contains information that defines how the AWS CodeBuild build project
617
+ # reports the build status to the source provider.
618
+ #
619
+ # @note When making an API call, you may pass BuildStatusConfig
620
+ # data as a hash:
621
+ #
622
+ # {
623
+ # context: "String",
624
+ # target_url: "String",
625
+ # }
626
+ #
627
+ # @!attribute [rw] context
628
+ # Specifies the context of the build status CodeBuild sends to the
629
+ # source provider. The usage of this parameter depends on the source
630
+ # provider.
631
+ #
632
+ # Bitbucket
633
+ #
634
+ # : This parameter is used for the `name` parameter in the Bitbucket
635
+ # commit status. For more information, see [build][1] in the
636
+ # Bitbucket API documentation.
637
+ #
638
+ # GitHub/GitHub Enterprise Server
639
+ #
640
+ # : This parameter is used for the `context` parameter in the GitHub
641
+ # commit status. For more information, see [Create a commit
642
+ # status][2] in the GitHub developer guide.
643
+ #
644
+ #
645
+ #
646
+ # [1]: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build
647
+ # [2]: https://developer.github.com/v3/repos/statuses/#create-a-commit-status
648
+ # @return [String]
649
+ #
650
+ # @!attribute [rw] target_url
651
+ # Specifies the target url of the build status CodeBuild sends to the
652
+ # source provider. The usage of this parameter depends on the source
653
+ # provider.
654
+ #
655
+ # Bitbucket
656
+ #
657
+ # : This parameter is used for the `url` parameter in the Bitbucket
658
+ # commit status. For more information, see [build][1] in the
659
+ # Bitbucket API documentation.
660
+ #
661
+ # GitHub/GitHub Enterprise Server
662
+ #
663
+ # : This parameter is used for the `target_url` parameter in the
664
+ # GitHub commit status. For more information, see [Create a commit
665
+ # status][2] in the GitHub developer guide.
666
+ #
667
+ #
668
+ #
669
+ # [1]: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build
670
+ # [2]: https://developer.github.com/v3/repos/statuses/#create-a-commit-status
671
+ # @return [String]
672
+ #
673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildStatusConfig AWS API Documentation
674
+ #
675
+ class BuildStatusConfig < Struct.new(
676
+ :context,
677
+ :target_url)
678
+ SENSITIVE = []
592
679
  include Aws::Structure
593
680
  end
594
681
 
@@ -638,6 +725,7 @@ module Aws::CodeBuild
638
725
  :status,
639
726
  :group_name,
640
727
  :stream_name)
728
+ SENSITIVE = []
641
729
  include Aws::Structure
642
730
  end
643
731
 
@@ -660,6 +748,10 @@ module Aws::CodeBuild
660
748
  # resource: "String",
661
749
  # },
662
750
  # report_build_status: false,
751
+ # build_status_config: {
752
+ # context: "String",
753
+ # target_url: "String",
754
+ # },
663
755
  # insecure_ssl: false,
664
756
  # source_identifier: "String",
665
757
  # },
@@ -677,6 +769,10 @@ module Aws::CodeBuild
677
769
  # resource: "String",
678
770
  # },
679
771
  # report_build_status: false,
772
+ # build_status_config: {
773
+ # context: "String",
774
+ # target_url: "String",
775
+ # },
680
776
  # insecure_ssl: false,
681
777
  # source_identifier: "String",
682
778
  # },
@@ -718,7 +814,7 @@ module Aws::CodeBuild
718
814
  # modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
719
815
  # },
720
816
  # environment: { # required
721
- # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
817
+ # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
722
818
  # image: "NonEmptyString", # required
723
819
  # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
724
820
  # environment_variables: [
@@ -934,6 +1030,7 @@ module Aws::CodeBuild
934
1030
  :badge_enabled,
935
1031
  :logs_config,
936
1032
  :file_system_locations)
1033
+ SENSITIVE = []
937
1034
  include Aws::Structure
938
1035
  end
939
1036
 
@@ -945,6 +1042,7 @@ module Aws::CodeBuild
945
1042
  #
946
1043
  class CreateProjectOutput < Struct.new(
947
1044
  :project)
1045
+ SENSITIVE = []
948
1046
  include Aws::Structure
949
1047
  end
950
1048
 
@@ -999,6 +1097,7 @@ module Aws::CodeBuild
999
1097
  :type,
1000
1098
  :export_config,
1001
1099
  :tags)
1100
+ SENSITIVE = []
1002
1101
  include Aws::Structure
1003
1102
  end
1004
1103
 
@@ -1010,6 +1109,7 @@ module Aws::CodeBuild
1010
1109
  #
1011
1110
  class CreateReportGroupOutput < Struct.new(
1012
1111
  :report_group)
1112
+ SENSITIVE = []
1013
1113
  include Aws::Structure
1014
1114
  end
1015
1115
 
@@ -1062,6 +1162,7 @@ module Aws::CodeBuild
1062
1162
  :project_name,
1063
1163
  :branch_filter,
1064
1164
  :filter_groups)
1165
+ SENSITIVE = []
1065
1166
  include Aws::Structure
1066
1167
  end
1067
1168
 
@@ -1074,6 +1175,33 @@ module Aws::CodeBuild
1074
1175
  #
1075
1176
  class CreateWebhookOutput < Struct.new(
1076
1177
  :webhook)
1178
+ SENSITIVE = []
1179
+ include Aws::Structure
1180
+ end
1181
+
1182
+ # Contains information about the debug session for a build. For more
1183
+ # information, see [Viewing a running build in Session Manager][1].
1184
+ #
1185
+ #
1186
+ #
1187
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
1188
+ #
1189
+ # @!attribute [rw] session_enabled
1190
+ # Specifies if session debugging is enabled for this build.
1191
+ # @return [Boolean]
1192
+ #
1193
+ # @!attribute [rw] session_target
1194
+ # Contains the identifier of the Session Manager session used for the
1195
+ # build. To work with the paused build, you open this session to
1196
+ # examine, control, and resume the build.
1197
+ # @return [String]
1198
+ #
1199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DebugSession AWS API Documentation
1200
+ #
1201
+ class DebugSession < Struct.new(
1202
+ :session_enabled,
1203
+ :session_target)
1204
+ SENSITIVE = []
1077
1205
  include Aws::Structure
1078
1206
  end
1079
1207
 
@@ -1092,6 +1220,7 @@ module Aws::CodeBuild
1092
1220
  #
1093
1221
  class DeleteProjectInput < Struct.new(
1094
1222
  :name)
1223
+ SENSITIVE = []
1095
1224
  include Aws::Structure
1096
1225
  end
1097
1226
 
@@ -1114,6 +1243,7 @@ module Aws::CodeBuild
1114
1243
  #
1115
1244
  class DeleteReportGroupInput < Struct.new(
1116
1245
  :arn)
1246
+ SENSITIVE = []
1117
1247
  include Aws::Structure
1118
1248
  end
1119
1249
 
@@ -1136,6 +1266,7 @@ module Aws::CodeBuild
1136
1266
  #
1137
1267
  class DeleteReportInput < Struct.new(
1138
1268
  :arn)
1269
+ SENSITIVE = []
1139
1270
  include Aws::Structure
1140
1271
  end
1141
1272
 
@@ -1158,6 +1289,7 @@ module Aws::CodeBuild
1158
1289
  #
1159
1290
  class DeleteResourcePolicyInput < Struct.new(
1160
1291
  :resource_arn)
1292
+ SENSITIVE = []
1161
1293
  include Aws::Structure
1162
1294
  end
1163
1295
 
@@ -1180,6 +1312,7 @@ module Aws::CodeBuild
1180
1312
  #
1181
1313
  class DeleteSourceCredentialsInput < Struct.new(
1182
1314
  :arn)
1315
+ SENSITIVE = []
1183
1316
  include Aws::Structure
1184
1317
  end
1185
1318
 
@@ -1191,6 +1324,7 @@ module Aws::CodeBuild
1191
1324
  #
1192
1325
  class DeleteSourceCredentialsOutput < Struct.new(
1193
1326
  :arn)
1327
+ SENSITIVE = []
1194
1328
  include Aws::Structure
1195
1329
  end
1196
1330
 
@@ -1209,6 +1343,7 @@ module Aws::CodeBuild
1209
1343
  #
1210
1344
  class DeleteWebhookInput < Struct.new(
1211
1345
  :project_name)
1346
+ SENSITIVE = []
1212
1347
  include Aws::Structure
1213
1348
  end
1214
1349
 
@@ -1259,6 +1394,7 @@ module Aws::CodeBuild
1259
1394
  :next_token,
1260
1395
  :max_results,
1261
1396
  :filter)
1397
+ SENSITIVE = []
1262
1398
  include Aws::Structure
1263
1399
  end
1264
1400
 
@@ -1281,6 +1417,7 @@ module Aws::CodeBuild
1281
1417
  class DescribeTestCasesOutput < Struct.new(
1282
1418
  :next_token,
1283
1419
  :test_cases)
1420
+ SENSITIVE = []
1284
1421
  include Aws::Structure
1285
1422
  end
1286
1423
 
@@ -1304,6 +1441,7 @@ module Aws::CodeBuild
1304
1441
  :name,
1305
1442
  :description,
1306
1443
  :versions)
1444
+ SENSITIVE = []
1307
1445
  include Aws::Structure
1308
1446
  end
1309
1447
 
@@ -1324,6 +1462,7 @@ module Aws::CodeBuild
1324
1462
  class EnvironmentLanguage < Struct.new(
1325
1463
  :language,
1326
1464
  :images)
1465
+ SENSITIVE = []
1327
1466
  include Aws::Structure
1328
1467
  end
1329
1468
 
@@ -1344,6 +1483,7 @@ module Aws::CodeBuild
1344
1483
  class EnvironmentPlatform < Struct.new(
1345
1484
  :platform,
1346
1485
  :languages)
1486
+ SENSITIVE = []
1347
1487
  include Aws::Structure
1348
1488
  end
1349
1489
 
@@ -1402,6 +1542,7 @@ module Aws::CodeBuild
1402
1542
  :name,
1403
1543
  :value,
1404
1544
  :type)
1545
+ SENSITIVE = []
1405
1546
  include Aws::Structure
1406
1547
  end
1407
1548
 
@@ -1428,6 +1569,7 @@ module Aws::CodeBuild
1428
1569
  class ExportedEnvironmentVariable < Struct.new(
1429
1570
  :name,
1430
1571
  :value)
1572
+ SENSITIVE = []
1431
1573
  include Aws::Structure
1432
1574
  end
1433
1575
 
@@ -1446,6 +1588,7 @@ module Aws::CodeBuild
1446
1588
  #
1447
1589
  class GetResourcePolicyInput < Struct.new(
1448
1590
  :resource_arn)
1591
+ SENSITIVE = []
1449
1592
  include Aws::Structure
1450
1593
  end
1451
1594
 
@@ -1458,6 +1601,7 @@ module Aws::CodeBuild
1458
1601
  #
1459
1602
  class GetResourcePolicyOutput < Struct.new(
1460
1603
  :policy)
1604
+ SENSITIVE = []
1461
1605
  include Aws::Structure
1462
1606
  end
1463
1607
 
@@ -1480,6 +1624,7 @@ module Aws::CodeBuild
1480
1624
  #
1481
1625
  class GitSubmodulesConfig < Struct.new(
1482
1626
  :fetch_submodules)
1627
+ SENSITIVE = []
1483
1628
  include Aws::Structure
1484
1629
  end
1485
1630
 
@@ -1530,6 +1675,7 @@ module Aws::CodeBuild
1530
1675
  :server_type,
1531
1676
  :auth_type,
1532
1677
  :should_overwrite)
1678
+ SENSITIVE = [:token]
1533
1679
  include Aws::Structure
1534
1680
  end
1535
1681
 
@@ -1541,6 +1687,7 @@ module Aws::CodeBuild
1541
1687
  #
1542
1688
  class ImportSourceCredentialsOutput < Struct.new(
1543
1689
  :arn)
1690
+ SENSITIVE = []
1544
1691
  include Aws::Structure
1545
1692
  end
1546
1693
 
@@ -1566,6 +1713,7 @@ module Aws::CodeBuild
1566
1713
  #
1567
1714
  class InvalidateProjectCacheInput < Struct.new(
1568
1715
  :project_name)
1716
+ SENSITIVE = []
1569
1717
  include Aws::Structure
1570
1718
  end
1571
1719
 
@@ -1610,6 +1758,7 @@ module Aws::CodeBuild
1610
1758
  :project_name,
1611
1759
  :sort_order,
1612
1760
  :next_token)
1761
+ SENSITIVE = []
1613
1762
  include Aws::Structure
1614
1763
  end
1615
1764
 
@@ -1630,6 +1779,7 @@ module Aws::CodeBuild
1630
1779
  class ListBuildsForProjectOutput < Struct.new(
1631
1780
  :ids,
1632
1781
  :next_token)
1782
+ SENSITIVE = []
1633
1783
  include Aws::Structure
1634
1784
  end
1635
1785
 
@@ -1664,6 +1814,7 @@ module Aws::CodeBuild
1664
1814
  class ListBuildsInput < Struct.new(
1665
1815
  :sort_order,
1666
1816
  :next_token)
1817
+ SENSITIVE = []
1667
1818
  include Aws::Structure
1668
1819
  end
1669
1820
 
@@ -1683,6 +1834,7 @@ module Aws::CodeBuild
1683
1834
  class ListBuildsOutput < Struct.new(
1684
1835
  :ids,
1685
1836
  :next_token)
1837
+ SENSITIVE = []
1686
1838
  include Aws::Structure
1687
1839
  end
1688
1840
 
@@ -1701,6 +1853,7 @@ module Aws::CodeBuild
1701
1853
  #
1702
1854
  class ListCuratedEnvironmentImagesOutput < Struct.new(
1703
1855
  :platforms)
1856
+ SENSITIVE = []
1704
1857
  include Aws::Structure
1705
1858
  end
1706
1859
 
@@ -1756,6 +1909,7 @@ module Aws::CodeBuild
1756
1909
  :sort_by,
1757
1910
  :sort_order,
1758
1911
  :next_token)
1912
+ SENSITIVE = []
1759
1913
  include Aws::Structure
1760
1914
  end
1761
1915
 
@@ -1776,6 +1930,7 @@ module Aws::CodeBuild
1776
1930
  class ListProjectsOutput < Struct.new(
1777
1931
  :next_token,
1778
1932
  :projects)
1933
+ SENSITIVE = []
1779
1934
  include Aws::Structure
1780
1935
  end
1781
1936
 
@@ -1829,6 +1984,7 @@ module Aws::CodeBuild
1829
1984
  :sort_by,
1830
1985
  :next_token,
1831
1986
  :max_results)
1987
+ SENSITIVE = []
1832
1988
  include Aws::Structure
1833
1989
  end
1834
1990
 
@@ -1851,6 +2007,7 @@ module Aws::CodeBuild
1851
2007
  class ListReportGroupsOutput < Struct.new(
1852
2008
  :next_token,
1853
2009
  :report_groups)
2010
+ SENSITIVE = []
1854
2011
  include Aws::Structure
1855
2012
  end
1856
2013
 
@@ -1905,6 +2062,7 @@ module Aws::CodeBuild
1905
2062
  :sort_order,
1906
2063
  :max_results,
1907
2064
  :filter)
2065
+ SENSITIVE = []
1908
2066
  include Aws::Structure
1909
2067
  end
1910
2068
 
@@ -1919,7 +2077,7 @@ module Aws::CodeBuild
1919
2077
  # @return [String]
1920
2078
  #
1921
2079
  # @!attribute [rw] reports
1922
- # The list of returned report group ARNs.
2080
+ # The list of report ARNs.
1923
2081
  # @return [Array<String>]
1924
2082
  #
1925
2083
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsForReportGroupOutput AWS API Documentation
@@ -1927,6 +2085,7 @@ module Aws::CodeBuild
1927
2085
  class ListReportsForReportGroupOutput < Struct.new(
1928
2086
  :next_token,
1929
2087
  :reports)
2088
+ SENSITIVE = []
1930
2089
  include Aws::Structure
1931
2090
  end
1932
2091
 
@@ -1980,6 +2139,7 @@ module Aws::CodeBuild
1980
2139
  :next_token,
1981
2140
  :max_results,
1982
2141
  :filter)
2142
+ SENSITIVE = []
1983
2143
  include Aws::Structure
1984
2144
  end
1985
2145
 
@@ -2003,6 +2163,7 @@ module Aws::CodeBuild
2003
2163
  class ListReportsOutput < Struct.new(
2004
2164
  :next_token,
2005
2165
  :reports)
2166
+ SENSITIVE = []
2006
2167
  include Aws::Structure
2007
2168
  end
2008
2169
 
@@ -2058,6 +2219,7 @@ module Aws::CodeBuild
2058
2219
  :sort_order,
2059
2220
  :max_results,
2060
2221
  :next_token)
2222
+ SENSITIVE = []
2061
2223
  include Aws::Structure
2062
2224
  end
2063
2225
 
@@ -2081,6 +2243,7 @@ module Aws::CodeBuild
2081
2243
  class ListSharedProjectsOutput < Struct.new(
2082
2244
  :next_token,
2083
2245
  :projects)
2246
+ SENSITIVE = []
2084
2247
  include Aws::Structure
2085
2248
  end
2086
2249
 
@@ -2136,6 +2299,7 @@ module Aws::CodeBuild
2136
2299
  :sort_by,
2137
2300
  :next_token,
2138
2301
  :max_results)
2302
+ SENSITIVE = []
2139
2303
  include Aws::Structure
2140
2304
  end
2141
2305
 
@@ -2159,6 +2323,7 @@ module Aws::CodeBuild
2159
2323
  class ListSharedReportGroupsOutput < Struct.new(
2160
2324
  :next_token,
2161
2325
  :report_groups)
2326
+ SENSITIVE = []
2162
2327
  include Aws::Structure
2163
2328
  end
2164
2329
 
@@ -2178,6 +2343,7 @@ module Aws::CodeBuild
2178
2343
  #
2179
2344
  class ListSourceCredentialsOutput < Struct.new(
2180
2345
  :source_credentials_infos)
2346
+ SENSITIVE = []
2181
2347
  include Aws::Structure
2182
2348
  end
2183
2349
 
@@ -2215,6 +2381,7 @@ module Aws::CodeBuild
2215
2381
  class LogsConfig < Struct.new(
2216
2382
  :cloud_watch_logs,
2217
2383
  :s3_logs)
2384
+ SENSITIVE = []
2218
2385
  include Aws::Structure
2219
2386
  end
2220
2387
 
@@ -2276,6 +2443,7 @@ module Aws::CodeBuild
2276
2443
  :s3_logs_arn,
2277
2444
  :cloud_watch_logs,
2278
2445
  :s3_logs)
2446
+ SENSITIVE = []
2279
2447
  include Aws::Structure
2280
2448
  end
2281
2449
 
@@ -2294,6 +2462,7 @@ module Aws::CodeBuild
2294
2462
  class NetworkInterface < Struct.new(
2295
2463
  :subnet_id,
2296
2464
  :network_interface_id)
2465
+ SENSITIVE = []
2297
2466
  include Aws::Structure
2298
2467
  end
2299
2468
 
@@ -2320,6 +2489,7 @@ module Aws::CodeBuild
2320
2489
  class PhaseContext < Struct.new(
2321
2490
  :status_code,
2322
2491
  :message)
2492
+ SENSITIVE = []
2323
2493
  include Aws::Structure
2324
2494
  end
2325
2495
 
@@ -2502,6 +2672,7 @@ module Aws::CodeBuild
2502
2672
  :badge,
2503
2673
  :logs_config,
2504
2674
  :file_system_locations)
2675
+ SENSITIVE = []
2505
2676
  include Aws::Structure
2506
2677
  end
2507
2678
 
@@ -2677,6 +2848,7 @@ module Aws::CodeBuild
2677
2848
  :override_artifact_name,
2678
2849
  :encryption_disabled,
2679
2850
  :artifact_identifier)
2851
+ SENSITIVE = []
2680
2852
  include Aws::Structure
2681
2853
  end
2682
2854
 
@@ -2700,6 +2872,7 @@ module Aws::CodeBuild
2700
2872
  class ProjectBadge < Struct.new(
2701
2873
  :badge_enabled,
2702
2874
  :badge_request_url)
2875
+ SENSITIVE = []
2703
2876
  include Aws::Structure
2704
2877
  end
2705
2878
 
@@ -2783,6 +2956,7 @@ module Aws::CodeBuild
2783
2956
  :type,
2784
2957
  :location,
2785
2958
  :modes)
2959
+ SENSITIVE = []
2786
2960
  include Aws::Structure
2787
2961
  end
2788
2962
 
@@ -2792,7 +2966,7 @@ module Aws::CodeBuild
2792
2966
  # data as a hash:
2793
2967
  #
2794
2968
  # {
2795
- # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
2969
+ # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
2796
2970
  # image: "NonEmptyString", # required
2797
2971
  # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
2798
2972
  # environment_variables: [
@@ -2951,6 +3125,7 @@ module Aws::CodeBuild
2951
3125
  :certificate,
2952
3126
  :registry_credential,
2953
3127
  :image_pull_credentials_type)
3128
+ SENSITIVE = []
2954
3129
  include Aws::Structure
2955
3130
  end
2956
3131
 
@@ -3025,6 +3200,7 @@ module Aws::CodeBuild
3025
3200
  :mount_point,
3026
3201
  :identifier,
3027
3202
  :mount_options)
3203
+ SENSITIVE = []
3028
3204
  include Aws::Structure
3029
3205
  end
3030
3206
 
@@ -3046,6 +3222,10 @@ module Aws::CodeBuild
3046
3222
  # resource: "String",
3047
3223
  # },
3048
3224
  # report_build_status: false,
3225
+ # build_status_config: {
3226
+ # context: "String",
3227
+ # target_url: "String",
3228
+ # },
3049
3229
  # insecure_ssl: false,
3050
3230
  # source_identifier: "String",
3051
3231
  # }
@@ -3061,10 +3241,11 @@ module Aws::CodeBuild
3061
3241
  # * `CODEPIPELINE`\: The source code settings are specified in the
3062
3242
  # source action of a pipeline in AWS CodePipeline.
3063
3243
  #
3064
- # * `GITHUB`\: The source code is in a GitHub repository.
3244
+ # * `GITHUB`\: The source code is in a GitHub or GitHub Enterprise
3245
+ # Cloud repository.
3065
3246
  #
3066
3247
  # * `GITHUB_ENTERPRISE`\: The source code is in a GitHub Enterprise
3067
- # repository.
3248
+ # Server repository.
3068
3249
  #
3069
3250
  # * `NO_SOURCE`\: The project does not have input source code.
3070
3251
  #
@@ -3173,6 +3354,13 @@ module Aws::CodeBuild
3173
3354
  # </note>
3174
3355
  # @return [Boolean]
3175
3356
  #
3357
+ # @!attribute [rw] build_status_config
3358
+ # Contains information that defines how the build project reports the
3359
+ # build status to the source provider. This option is only used when
3360
+ # the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or
3361
+ # `BITBUCKET`.
3362
+ # @return [Types::BuildStatusConfig]
3363
+ #
3176
3364
  # @!attribute [rw] insecure_ssl
3177
3365
  # Enable this flag to ignore SSL warnings while connecting to the
3178
3366
  # project source code.
@@ -3192,8 +3380,10 @@ module Aws::CodeBuild
3192
3380
  :buildspec,
3193
3381
  :auth,
3194
3382
  :report_build_status,
3383
+ :build_status_config,
3195
3384
  :insecure_ssl,
3196
3385
  :source_identifier)
3386
+ SENSITIVE = []
3197
3387
  include Aws::Structure
3198
3388
  end
3199
3389
 
@@ -3246,6 +3436,7 @@ module Aws::CodeBuild
3246
3436
  class ProjectSourceVersion < Struct.new(
3247
3437
  :source_identifier,
3248
3438
  :source_version)
3439
+ SENSITIVE = []
3249
3440
  include Aws::Structure
3250
3441
  end
3251
3442
 
@@ -3278,6 +3469,7 @@ module Aws::CodeBuild
3278
3469
  class PutResourcePolicyInput < Struct.new(
3279
3470
  :policy,
3280
3471
  :resource_arn)
3472
+ SENSITIVE = []
3281
3473
  include Aws::Structure
3282
3474
  end
3283
3475
 
@@ -3290,6 +3482,7 @@ module Aws::CodeBuild
3290
3482
  #
3291
3483
  class PutResourcePolicyOutput < Struct.new(
3292
3484
  :resource_arn)
3485
+ SENSITIVE = []
3293
3486
  include Aws::Structure
3294
3487
  end
3295
3488
 
@@ -3336,6 +3529,7 @@ module Aws::CodeBuild
3336
3529
  class RegistryCredential < Struct.new(
3337
3530
  :credential,
3338
3531
  :credential_provider)
3532
+ SENSITIVE = []
3339
3533
  include Aws::Structure
3340
3534
  end
3341
3535
 
@@ -3409,6 +3603,7 @@ module Aws::CodeBuild
3409
3603
  :export_config,
3410
3604
  :truncated,
3411
3605
  :test_summary)
3606
+ SENSITIVE = []
3412
3607
  include Aws::Structure
3413
3608
  end
3414
3609
 
@@ -3446,6 +3641,7 @@ module Aws::CodeBuild
3446
3641
  class ReportExportConfig < Struct.new(
3447
3642
  :export_config_type,
3448
3643
  :s3_destination)
3644
+ SENSITIVE = []
3449
3645
  include Aws::Structure
3450
3646
  end
3451
3647
 
@@ -3468,6 +3664,7 @@ module Aws::CodeBuild
3468
3664
  #
3469
3665
  class ReportFilter < Struct.new(
3470
3666
  :status)
3667
+ SENSITIVE = []
3471
3668
  include Aws::Structure
3472
3669
  end
3473
3670
 
@@ -3518,6 +3715,7 @@ module Aws::CodeBuild
3518
3715
  :created,
3519
3716
  :last_modified,
3520
3717
  :tags)
3718
+ SENSITIVE = []
3521
3719
  include Aws::Structure
3522
3720
  end
3523
3721
 
@@ -3571,6 +3769,7 @@ module Aws::CodeBuild
3571
3769
  :status,
3572
3770
  :location,
3573
3771
  :encryption_disabled)
3772
+ SENSITIVE = []
3574
3773
  include Aws::Structure
3575
3774
  end
3576
3775
 
@@ -3624,6 +3823,7 @@ module Aws::CodeBuild
3624
3823
  :packaging,
3625
3824
  :encryption_key,
3626
3825
  :encryption_disabled)
3826
+ SENSITIVE = []
3627
3827
  include Aws::Structure
3628
3828
  end
3629
3829
 
@@ -3659,6 +3859,7 @@ module Aws::CodeBuild
3659
3859
  class SourceAuth < Struct.new(
3660
3860
  :type,
3661
3861
  :resource)
3862
+ SENSITIVE = []
3662
3863
  include Aws::Structure
3663
3864
  end
3664
3865
 
@@ -3685,6 +3886,7 @@ module Aws::CodeBuild
3685
3886
  :arn,
3686
3887
  :server_type,
3687
3888
  :auth_type)
3889
+ SENSITIVE = []
3688
3890
  include Aws::Structure
3689
3891
  end
3690
3892
 
@@ -3707,6 +3909,10 @@ module Aws::CodeBuild
3707
3909
  # resource: "String",
3708
3910
  # },
3709
3911
  # report_build_status: false,
3912
+ # build_status_config: {
3913
+ # context: "String",
3914
+ # target_url: "String",
3915
+ # },
3710
3916
  # insecure_ssl: false,
3711
3917
  # source_identifier: "String",
3712
3918
  # },
@@ -3762,7 +3968,11 @@ module Aws::CodeBuild
3762
3968
  # buildspec_override: "String",
3763
3969
  # insecure_ssl_override: false,
3764
3970
  # report_build_status_override: false,
3765
- # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
3971
+ # build_status_config_override: {
3972
+ # context: "String",
3973
+ # target_url: "String",
3974
+ # },
3975
+ # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
3766
3976
  # image_override: "NonEmptyString",
3767
3977
  # compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
3768
3978
  # certificate_override: "String",
@@ -3794,6 +4004,7 @@ module Aws::CodeBuild
3794
4004
  # credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
3795
4005
  # },
3796
4006
  # image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
4007
+ # debug_session_enabled: false,
3797
4008
  # }
3798
4009
  #
3799
4010
  # @!attribute [rw] project_name
@@ -3925,6 +4136,13 @@ module Aws::CodeBuild
3925
4136
  # </note>
3926
4137
  # @return [Boolean]
3927
4138
  #
4139
+ # @!attribute [rw] build_status_config_override
4140
+ # Contains information that defines how the build project reports the
4141
+ # build status to the source provider. This option is only used when
4142
+ # the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or
4143
+ # `BITBUCKET`.
4144
+ # @return [Types::BuildStatusConfig]
4145
+ #
3928
4146
  # @!attribute [rw] environment_type_override
3929
4147
  # A container type for this build that overrides the one specified in
3930
4148
  # the build project.
@@ -3988,7 +4206,7 @@ module Aws::CodeBuild
3988
4206
  # @!attribute [rw] idempotency_token
3989
4207
  # A unique, case sensitive identifier you provide to ensure the
3990
4208
  # idempotency of the StartBuild request. The token is included in the
3991
- # StartBuild request and is valid for 12 hours. If you repeat the
4209
+ # StartBuild request and is valid for 5 minutes. If you repeat the
3992
4210
  # StartBuild request with the same token, but change a parameter, AWS
3993
4211
  # CodeBuild returns a parameter mismatch error.
3994
4212
  # @return [String]
@@ -4018,6 +4236,15 @@ module Aws::CodeBuild
4018
4236
  # image, you must use CODEBUILD credentials.
4019
4237
  # @return [String]
4020
4238
  #
4239
+ # @!attribute [rw] debug_session_enabled
4240
+ # Specifies if session debugging is enabled for this build. For more
4241
+ # information, see [Viewing a running build in Session Manager][1].
4242
+ #
4243
+ #
4244
+ #
4245
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
4246
+ # @return [Boolean]
4247
+ #
4021
4248
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput AWS API Documentation
4022
4249
  #
4023
4250
  class StartBuildInput < Struct.new(
@@ -4036,6 +4263,7 @@ module Aws::CodeBuild
4036
4263
  :buildspec_override,
4037
4264
  :insecure_ssl_override,
4038
4265
  :report_build_status_override,
4266
+ :build_status_config_override,
4039
4267
  :environment_type_override,
4040
4268
  :image_override,
4041
4269
  :compute_type_override,
@@ -4049,7 +4277,9 @@ module Aws::CodeBuild
4049
4277
  :idempotency_token,
4050
4278
  :logs_config_override,
4051
4279
  :registry_credential_override,
4052
- :image_pull_credentials_type_override)
4280
+ :image_pull_credentials_type_override,
4281
+ :debug_session_enabled)
4282
+ SENSITIVE = []
4053
4283
  include Aws::Structure
4054
4284
  end
4055
4285
 
@@ -4061,6 +4291,7 @@ module Aws::CodeBuild
4061
4291
  #
4062
4292
  class StartBuildOutput < Struct.new(
4063
4293
  :build)
4294
+ SENSITIVE = []
4064
4295
  include Aws::Structure
4065
4296
  end
4066
4297
 
@@ -4079,6 +4310,7 @@ module Aws::CodeBuild
4079
4310
  #
4080
4311
  class StopBuildInput < Struct.new(
4081
4312
  :id)
4313
+ SENSITIVE = []
4082
4314
  include Aws::Structure
4083
4315
  end
4084
4316
 
@@ -4090,6 +4322,7 @@ module Aws::CodeBuild
4090
4322
  #
4091
4323
  class StopBuildOutput < Struct.new(
4092
4324
  :build)
4325
+ SENSITIVE = []
4093
4326
  include Aws::Structure
4094
4327
  end
4095
4328
 
@@ -4119,6 +4352,7 @@ module Aws::CodeBuild
4119
4352
  class Tag < Struct.new(
4120
4353
  :key,
4121
4354
  :value)
4355
+ SENSITIVE = []
4122
4356
  include Aws::Structure
4123
4357
  end
4124
4358
 
@@ -4175,6 +4409,7 @@ module Aws::CodeBuild
4175
4409
  :duration_in_nano_seconds,
4176
4410
  :message,
4177
4411
  :expired)
4412
+ SENSITIVE = []
4178
4413
  include Aws::Structure
4179
4414
  end
4180
4415
 
@@ -4197,6 +4432,7 @@ module Aws::CodeBuild
4197
4432
  #
4198
4433
  class TestCaseFilter < Struct.new(
4199
4434
  :status)
4435
+ SENSITIVE = []
4200
4436
  include Aws::Structure
4201
4437
  end
4202
4438
 
@@ -4223,6 +4459,7 @@ module Aws::CodeBuild
4223
4459
  :total,
4224
4460
  :status_counts,
4225
4461
  :duration_in_nano_seconds)
4462
+ SENSITIVE = []
4226
4463
  include Aws::Structure
4227
4464
  end
4228
4465
 
@@ -4245,6 +4482,10 @@ module Aws::CodeBuild
4245
4482
  # resource: "String",
4246
4483
  # },
4247
4484
  # report_build_status: false,
4485
+ # build_status_config: {
4486
+ # context: "String",
4487
+ # target_url: "String",
4488
+ # },
4248
4489
  # insecure_ssl: false,
4249
4490
  # source_identifier: "String",
4250
4491
  # },
@@ -4262,6 +4503,10 @@ module Aws::CodeBuild
4262
4503
  # resource: "String",
4263
4504
  # },
4264
4505
  # report_build_status: false,
4506
+ # build_status_config: {
4507
+ # context: "String",
4508
+ # target_url: "String",
4509
+ # },
4265
4510
  # insecure_ssl: false,
4266
4511
  # source_identifier: "String",
4267
4512
  # },
@@ -4303,7 +4548,7 @@ module Aws::CodeBuild
4303
4548
  # modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
4304
4549
  # },
4305
4550
  # environment: {
4306
- # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
4551
+ # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
4307
4552
  # image: "NonEmptyString", # required
4308
4553
  # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
4309
4554
  # environment_variables: [
@@ -4524,6 +4769,7 @@ module Aws::CodeBuild
4524
4769
  :badge_enabled,
4525
4770
  :logs_config,
4526
4771
  :file_system_locations)
4772
+ SENSITIVE = []
4527
4773
  include Aws::Structure
4528
4774
  end
4529
4775
 
@@ -4535,6 +4781,7 @@ module Aws::CodeBuild
4535
4781
  #
4536
4782
  class UpdateProjectOutput < Struct.new(
4537
4783
  :project)
4784
+ SENSITIVE = []
4538
4785
  include Aws::Structure
4539
4786
  end
4540
4787
 
@@ -4587,6 +4834,7 @@ module Aws::CodeBuild
4587
4834
  :arn,
4588
4835
  :export_config,
4589
4836
  :tags)
4837
+ SENSITIVE = []
4590
4838
  include Aws::Structure
4591
4839
  end
4592
4840
 
@@ -4598,6 +4846,7 @@ module Aws::CodeBuild
4598
4846
  #
4599
4847
  class UpdateReportGroupOutput < Struct.new(
4600
4848
  :report_group)
4849
+ SENSITIVE = []
4601
4850
  include Aws::Structure
4602
4851
  end
4603
4852
 
@@ -4654,6 +4903,7 @@ module Aws::CodeBuild
4654
4903
  :branch_filter,
4655
4904
  :rotate_secret,
4656
4905
  :filter_groups)
4906
+ SENSITIVE = []
4657
4907
  include Aws::Structure
4658
4908
  end
4659
4909
 
@@ -4666,6 +4916,7 @@ module Aws::CodeBuild
4666
4916
  #
4667
4917
  class UpdateWebhookOutput < Struct.new(
4668
4918
  :webhook)
4919
+ SENSITIVE = []
4669
4920
  include Aws::Structure
4670
4921
  end
4671
4922
 
@@ -4698,6 +4949,7 @@ module Aws::CodeBuild
4698
4949
  :vpc_id,
4699
4950
  :subnets,
4700
4951
  :security_group_ids)
4952
+ SENSITIVE = []
4701
4953
  include Aws::Structure
4702
4954
  end
4703
4955
 
@@ -4756,6 +5008,7 @@ module Aws::CodeBuild
4756
5008
  :branch_filter,
4757
5009
  :filter_groups,
4758
5010
  :last_modified_secret)
5011
+ SENSITIVE = []
4759
5012
  include Aws::Structure
4760
5013
  end
4761
5014
 
@@ -4771,9 +5024,9 @@ module Aws::CodeBuild
4771
5024
  # }
4772
5025
  #
4773
5026
  # @!attribute [rw] type
4774
- # The type of webhook filter. There are five webhook filter types:
4775
- # `EVENT`, `ACTOR_ACCOUNT_ID`, `HEAD_REF`, `BASE_REF`, and
4776
- # `FILE_PATH`.
5027
+ # The type of webhook filter. There are six webhook filter types:
5028
+ # `EVENT`, `ACTOR_ACCOUNT_ID`, `HEAD_REF`, `BASE_REF`, `FILE_PATH`,
5029
+ # and `COMMIT_MESSAGE`.
4777
5030
  #
4778
5031
  # EVENT
4779
5032
  #
@@ -4820,7 +5073,20 @@ module Aws::CodeBuild
4820
5073
  # : A webhook triggers a build when the path of a changed file matches
4821
5074
  # the regular expression `pattern`.
4822
5075
  #
4823
- # <note markdown="1"> Works with GitHub and GitHub Enterprise push events only.
5076
+ # <note markdown="1"> Works with GitHub and Bitbucket events push and pull requests
5077
+ # events. Also works with GitHub Enterprise push events, but does
5078
+ # not work with GitHub Enterprise pull request events.
5079
+ #
5080
+ # </note>
5081
+ #
5082
+ # COMMIT\_MESSAGE
5083
+ #
5084
+ # : A webhook triggers a build when the head commit message matches
5085
+ # the regular expression `pattern`.
5086
+ #
5087
+ # <note markdown="1"> Works with GitHub and Bitbucket events push and pull requests
5088
+ # events. Also works with GitHub Enterprise push events, but does
5089
+ # not work with GitHub Enterprise pull request events.
4824
5090
  #
4825
5091
  # </note>
4826
5092
  # @return [String]
@@ -4852,6 +5118,7 @@ module Aws::CodeBuild
4852
5118
  :type,
4853
5119
  :pattern,
4854
5120
  :exclude_matched_pattern)
5121
+ SENSITIVE = []
4855
5122
  include Aws::Structure
4856
5123
  end
4857
5124