aws-sdk-codebuild 1.47.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,6 +75,7 @@ module Aws::CodeBuild
75
75
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
76
76
  ExportedEnvironmentVariable = Shapes::StructureShape.new(name: 'ExportedEnvironmentVariable')
77
77
  ExportedEnvironmentVariables = Shapes::ListShape.new(name: 'ExportedEnvironmentVariables')
78
+ FileSystemType = Shapes::StringShape.new(name: 'FileSystemType')
78
79
  FilterGroup = Shapes::ListShape.new(name: 'FilterGroup')
79
80
  FilterGroups = Shapes::ListShape.new(name: 'FilterGroups')
80
81
  GetResourcePolicyInput = Shapes::StructureShape.new(name: 'GetResourcePolicyInput')
@@ -129,6 +130,8 @@ module Aws::CodeBuild
129
130
  ProjectCacheModes = Shapes::ListShape.new(name: 'ProjectCacheModes')
130
131
  ProjectDescription = Shapes::StringShape.new(name: 'ProjectDescription')
131
132
  ProjectEnvironment = Shapes::StructureShape.new(name: 'ProjectEnvironment')
133
+ ProjectFileSystemLocation = Shapes::StructureShape.new(name: 'ProjectFileSystemLocation')
134
+ ProjectFileSystemLocations = Shapes::ListShape.new(name: 'ProjectFileSystemLocations')
132
135
  ProjectName = Shapes::StringShape.new(name: 'ProjectName')
133
136
  ProjectNames = Shapes::ListShape.new(name: 'ProjectNames')
134
137
  ProjectSecondarySourceVersions = Shapes::ListShape.new(name: 'ProjectSecondarySourceVersions')
@@ -199,6 +202,8 @@ module Aws::CodeBuild
199
202
  WrapperInt = Shapes::IntegerShape.new(name: 'WrapperInt')
200
203
  WrapperLong = Shapes::IntegerShape.new(name: 'WrapperLong')
201
204
 
205
+ AccountLimitExceededException.struct_class = Types::AccountLimitExceededException
206
+
202
207
  BatchDeleteBuildsInput.add_member(:ids, Shapes::ShapeRef.new(shape: BuildIds, required: true, location_name: "ids"))
203
208
  BatchDeleteBuildsInput.struct_class = Types::BatchDeleteBuildsInput
204
209
 
@@ -263,6 +268,7 @@ module Aws::CodeBuild
263
268
  Build.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
264
269
  Build.add_member(:exported_environment_variables, Shapes::ShapeRef.new(shape: ExportedEnvironmentVariables, location_name: "exportedEnvironmentVariables"))
265
270
  Build.add_member(:report_arns, Shapes::ShapeRef.new(shape: BuildReportArns, location_name: "reportArns"))
271
+ Build.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
266
272
  Build.struct_class = Types::Build
267
273
 
268
274
  BuildArtifacts.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
@@ -320,6 +326,7 @@ module Aws::CodeBuild
320
326
  CreateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
321
327
  CreateProjectInput.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "badgeEnabled"))
322
328
  CreateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
329
+ CreateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
323
330
  CreateProjectInput.struct_class = Types::CreateProjectInput
324
331
 
325
332
  CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -328,6 +335,7 @@ module Aws::CodeBuild
328
335
  CreateReportGroupInput.add_member(:name, Shapes::ShapeRef.new(shape: ReportGroupName, required: true, location_name: "name"))
329
336
  CreateReportGroupInput.add_member(:type, Shapes::ShapeRef.new(shape: ReportType, required: true, location_name: "type"))
330
337
  CreateReportGroupInput.add_member(:export_config, Shapes::ShapeRef.new(shape: ReportExportConfig, required: true, location_name: "exportConfig"))
338
+ CreateReportGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
331
339
  CreateReportGroupInput.struct_class = Types::CreateReportGroupInput
332
340
 
333
341
  CreateReportGroupOutput.add_member(:report_group, Shapes::ShapeRef.new(shape: ReportGroup, location_name: "reportGroup"))
@@ -439,6 +447,8 @@ module Aws::CodeBuild
439
447
  ImportSourceCredentialsOutput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
440
448
  ImportSourceCredentialsOutput.struct_class = Types::ImportSourceCredentialsOutput
441
449
 
450
+ InvalidInputException.struct_class = Types::InvalidInputException
451
+
442
452
  InvalidateProjectCacheInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
443
453
  InvalidateProjectCacheInput.struct_class = Types::InvalidateProjectCacheInput
444
454
 
@@ -549,6 +559,8 @@ module Aws::CodeBuild
549
559
  NetworkInterface.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "networkInterfaceId"))
550
560
  NetworkInterface.struct_class = Types::NetworkInterface
551
561
 
562
+ OAuthProviderException.struct_class = Types::OAuthProviderException
563
+
552
564
  PhaseContext.add_member(:status_code, Shapes::ShapeRef.new(shape: String, location_name: "statusCode"))
553
565
  PhaseContext.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
554
566
  PhaseContext.struct_class = Types::PhaseContext
@@ -577,6 +589,7 @@ module Aws::CodeBuild
577
589
  Project.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
578
590
  Project.add_member(:badge, Shapes::ShapeRef.new(shape: ProjectBadge, location_name: "badge"))
579
591
  Project.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
592
+ Project.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
580
593
  Project.struct_class = Types::Project
581
594
 
582
595
  ProjectArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -615,6 +628,15 @@ module Aws::CodeBuild
615
628
  ProjectEnvironment.add_member(:image_pull_credentials_type, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsType"))
616
629
  ProjectEnvironment.struct_class = Types::ProjectEnvironment
617
630
 
631
+ ProjectFileSystemLocation.add_member(:type, Shapes::ShapeRef.new(shape: FileSystemType, location_name: "type"))
632
+ ProjectFileSystemLocation.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
633
+ ProjectFileSystemLocation.add_member(:mount_point, Shapes::ShapeRef.new(shape: String, location_name: "mountPoint"))
634
+ ProjectFileSystemLocation.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "identifier"))
635
+ ProjectFileSystemLocation.add_member(:mount_options, Shapes::ShapeRef.new(shape: String, location_name: "mountOptions"))
636
+ ProjectFileSystemLocation.struct_class = Types::ProjectFileSystemLocation
637
+
638
+ ProjectFileSystemLocations.member = Shapes::ShapeRef.new(shape: ProjectFileSystemLocation)
639
+
618
640
  ProjectNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
619
641
 
620
642
  ProjectSecondarySourceVersions.member = Shapes::ShapeRef.new(shape: ProjectSourceVersion)
@@ -677,6 +699,7 @@ module Aws::CodeBuild
677
699
  ReportGroup.add_member(:export_config, Shapes::ShapeRef.new(shape: ReportExportConfig, location_name: "exportConfig"))
678
700
  ReportGroup.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
679
701
  ReportGroup.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
702
+ ReportGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
680
703
  ReportGroup.struct_class = Types::ReportGroup
681
704
 
682
705
  ReportGroupArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -688,6 +711,10 @@ module Aws::CodeBuild
688
711
 
689
712
  Reports.member = Shapes::ShapeRef.new(shape: Report)
690
713
 
714
+ ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
715
+
716
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
717
+
691
718
  S3LogsConfig.add_member(:status, Shapes::ShapeRef.new(shape: LogsConfigStatusType, required: true, location_name: "status"))
692
719
  S3LogsConfig.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
693
720
  S3LogsConfig.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
@@ -799,6 +826,7 @@ module Aws::CodeBuild
799
826
  UpdateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
800
827
  UpdateProjectInput.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "badgeEnabled"))
801
828
  UpdateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
829
+ UpdateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
802
830
  UpdateProjectInput.struct_class = Types::UpdateProjectInput
803
831
 
804
832
  UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -806,6 +834,7 @@ module Aws::CodeBuild
806
834
 
807
835
  UpdateReportGroupInput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "arn"))
808
836
  UpdateReportGroupInput.add_member(:export_config, Shapes::ShapeRef.new(shape: ReportExportConfig, location_name: "exportConfig"))
837
+ UpdateReportGroupInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
809
838
  UpdateReportGroupInput.struct_class = Types::UpdateReportGroupInput
810
839
 
811
840
  UpdateReportGroupOutput.add_member(:report_group, Shapes::ShapeRef.new(shape: ReportGroup, location_name: "reportGroup"))
@@ -1000,6 +1029,12 @@ module Aws::CodeBuild
1000
1029
  o.output = Shapes::ShapeRef.new(shape: DescribeTestCasesOutput)
1001
1030
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1002
1031
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1032
+ o[:pager] = Aws::Pager.new(
1033
+ limit_key: "max_results",
1034
+ tokens: {
1035
+ "next_token" => "next_token"
1036
+ }
1037
+ )
1003
1038
  end)
1004
1039
 
1005
1040
  api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -1040,6 +1075,11 @@ module Aws::CodeBuild
1040
1075
  o.input = Shapes::ShapeRef.new(shape: ListBuildsInput)
1041
1076
  o.output = Shapes::ShapeRef.new(shape: ListBuildsOutput)
1042
1077
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1078
+ o[:pager] = Aws::Pager.new(
1079
+ tokens: {
1080
+ "next_token" => "next_token"
1081
+ }
1082
+ )
1043
1083
  end)
1044
1084
 
1045
1085
  api.add_operation(:list_builds_for_project, Seahorse::Model::Operation.new.tap do |o|
@@ -1050,6 +1090,11 @@ module Aws::CodeBuild
1050
1090
  o.output = Shapes::ShapeRef.new(shape: ListBuildsForProjectOutput)
1051
1091
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1052
1092
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1093
+ o[:pager] = Aws::Pager.new(
1094
+ tokens: {
1095
+ "next_token" => "next_token"
1096
+ }
1097
+ )
1053
1098
  end)
1054
1099
 
1055
1100
  api.add_operation(:list_curated_environment_images, Seahorse::Model::Operation.new.tap do |o|
@@ -1067,6 +1112,11 @@ module Aws::CodeBuild
1067
1112
  o.input = Shapes::ShapeRef.new(shape: ListProjectsInput)
1068
1113
  o.output = Shapes::ShapeRef.new(shape: ListProjectsOutput)
1069
1114
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1115
+ o[:pager] = Aws::Pager.new(
1116
+ tokens: {
1117
+ "next_token" => "next_token"
1118
+ }
1119
+ )
1070
1120
  end)
1071
1121
 
1072
1122
  api.add_operation(:list_report_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -1076,6 +1126,12 @@ module Aws::CodeBuild
1076
1126
  o.input = Shapes::ShapeRef.new(shape: ListReportGroupsInput)
1077
1127
  o.output = Shapes::ShapeRef.new(shape: ListReportGroupsOutput)
1078
1128
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1129
+ o[:pager] = Aws::Pager.new(
1130
+ limit_key: "max_results",
1131
+ tokens: {
1132
+ "next_token" => "next_token"
1133
+ }
1134
+ )
1079
1135
  end)
1080
1136
 
1081
1137
  api.add_operation(:list_reports, Seahorse::Model::Operation.new.tap do |o|
@@ -1085,6 +1141,12 @@ module Aws::CodeBuild
1085
1141
  o.input = Shapes::ShapeRef.new(shape: ListReportsInput)
1086
1142
  o.output = Shapes::ShapeRef.new(shape: ListReportsOutput)
1087
1143
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1144
+ o[:pager] = Aws::Pager.new(
1145
+ limit_key: "max_results",
1146
+ tokens: {
1147
+ "next_token" => "next_token"
1148
+ }
1149
+ )
1088
1150
  end)
1089
1151
 
1090
1152
  api.add_operation(:list_reports_for_report_group, Seahorse::Model::Operation.new.tap do |o|
@@ -1095,6 +1157,12 @@ module Aws::CodeBuild
1095
1157
  o.output = Shapes::ShapeRef.new(shape: ListReportsForReportGroupOutput)
1096
1158
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1097
1159
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1160
+ o[:pager] = Aws::Pager.new(
1161
+ limit_key: "max_results",
1162
+ tokens: {
1163
+ "next_token" => "next_token"
1164
+ }
1165
+ )
1098
1166
  end)
1099
1167
 
1100
1168
  api.add_operation(:list_shared_projects, Seahorse::Model::Operation.new.tap do |o|
@@ -1104,6 +1172,12 @@ module Aws::CodeBuild
1104
1172
  o.input = Shapes::ShapeRef.new(shape: ListSharedProjectsInput)
1105
1173
  o.output = Shapes::ShapeRef.new(shape: ListSharedProjectsOutput)
1106
1174
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1175
+ o[:pager] = Aws::Pager.new(
1176
+ limit_key: "max_results",
1177
+ tokens: {
1178
+ "next_token" => "next_token"
1179
+ }
1180
+ )
1107
1181
  end)
1108
1182
 
1109
1183
  api.add_operation(:list_shared_report_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -1113,6 +1187,12 @@ module Aws::CodeBuild
1113
1187
  o.input = Shapes::ShapeRef.new(shape: ListSharedReportGroupsInput)
1114
1188
  o.output = Shapes::ShapeRef.new(shape: ListSharedReportGroupsOutput)
1115
1189
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1190
+ o[:pager] = Aws::Pager.new(
1191
+ limit_key: "max_results",
1192
+ tokens: {
1193
+ "next_token" => "next_token"
1194
+ }
1195
+ )
1116
1196
  end)
1117
1197
 
1118
1198
  api.add_operation(:list_source_credentials, Seahorse::Model::Operation.new.tap do |o|
@@ -6,9 +6,86 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CodeBuild
9
+
10
+ # When CodeBuild returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::CodeBuild::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all CodeBuild errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::CodeBuild::Errors::ServiceError
18
+ # # rescues all CodeBuild API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {AccountLimitExceededException}
29
+ # * {InvalidInputException}
30
+ # * {OAuthProviderException}
31
+ # * {ResourceAlreadyExistsException}
32
+ # * {ResourceNotFoundException}
33
+ #
34
+ # Additionally, error classes are dynamically generated for service errors based on the error code
35
+ # if they are not defined above.
9
36
  module Errors
10
37
 
11
38
  extend Aws::Errors::DynamicErrors
12
39
 
40
+ class AccountLimitExceededException < ServiceError
41
+
42
+ # @param [Seahorse::Client::RequestContext] context
43
+ # @param [String] message
44
+ # @param [Aws::CodeBuild::Types::AccountLimitExceededException] data
45
+ def initialize(context, message, data = Aws::EmptyStructure.new)
46
+ super(context, message, data)
47
+ end
48
+ end
49
+
50
+ class InvalidInputException < ServiceError
51
+
52
+ # @param [Seahorse::Client::RequestContext] context
53
+ # @param [String] message
54
+ # @param [Aws::CodeBuild::Types::InvalidInputException] data
55
+ def initialize(context, message, data = Aws::EmptyStructure.new)
56
+ super(context, message, data)
57
+ end
58
+ end
59
+
60
+ class OAuthProviderException < ServiceError
61
+
62
+ # @param [Seahorse::Client::RequestContext] context
63
+ # @param [String] message
64
+ # @param [Aws::CodeBuild::Types::OAuthProviderException] data
65
+ def initialize(context, message, data = Aws::EmptyStructure.new)
66
+ super(context, message, data)
67
+ end
68
+ end
69
+
70
+ class ResourceAlreadyExistsException < ServiceError
71
+
72
+ # @param [Seahorse::Client::RequestContext] context
73
+ # @param [String] message
74
+ # @param [Aws::CodeBuild::Types::ResourceAlreadyExistsException] data
75
+ def initialize(context, message, data = Aws::EmptyStructure.new)
76
+ super(context, message, data)
77
+ end
78
+ end
79
+
80
+ class ResourceNotFoundException < ServiceError
81
+
82
+ # @param [Seahorse::Client::RequestContext] context
83
+ # @param [String] message
84
+ # @param [Aws::CodeBuild::Types::ResourceNotFoundException] data
85
+ def initialize(context, message, data = Aws::EmptyStructure.new)
86
+ super(context, message, data)
87
+ end
88
+ end
89
+
13
90
  end
14
91
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::CodeBuild
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -8,6 +8,12 @@
8
8
  module Aws::CodeBuild
9
9
  module Types
10
10
 
11
+ # An AWS service limit was exceeded for the calling AWS account.
12
+ #
13
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/AccountLimitExceededException AWS API Documentation
14
+ #
15
+ class AccountLimitExceededException < Aws::EmptyStructure; end
16
+
11
17
  # @note When making an API call, you may pass BatchDeleteBuildsInput
12
18
  # data as a hash:
13
19
  #
@@ -380,6 +386,13 @@ module Aws::CodeBuild
380
386
  # An array of the ARNs associated with this build's reports.
381
387
  # @return [Array<String>]
382
388
  #
389
+ # @!attribute [rw] file_system_locations
390
+ # An array of `ProjectFileSystemLocation` objects for a CodeBuild
391
+ # build project. A `ProjectFileSystemLocation` object specifies the
392
+ # `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
393
+ # of a file system created using Amazon Elastic File System.
394
+ # @return [Array<Types::ProjectFileSystemLocation>]
395
+ #
383
396
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Build AWS API Documentation
384
397
  #
385
398
  class Build < Struct.new(
@@ -411,7 +424,8 @@ module Aws::CodeBuild
411
424
  :network_interface,
412
425
  :encryption_key,
413
426
  :exported_environment_variables,
414
- :report_arns)
427
+ :report_arns,
428
+ :file_system_locations)
415
429
  include Aws::Structure
416
430
  end
417
431
 
@@ -446,8 +460,8 @@ module Aws::CodeBuild
446
460
  # @return [String]
447
461
  #
448
462
  # @!attribute [rw] override_artifact_name
449
- # If this flag is set, a name specified in the build spec file
450
- # overrides the artifact name. The name specified in a build spec file
463
+ # If this flag is set, a name specified in the buildspec file
464
+ # overrides the artifact name. The name specified in a buildspec file
451
465
  # is calculated at build time and uses the Shell Command Language. For
452
466
  # example, you can append a date and time to your artifact name so
453
467
  # that it is always unique.
@@ -750,6 +764,15 @@ module Aws::CodeBuild
750
764
  # encryption_disabled: false,
751
765
  # },
752
766
  # },
767
+ # file_system_locations: [
768
+ # {
769
+ # type: "EFS", # accepts EFS
770
+ # location: "String",
771
+ # mount_point: "String",
772
+ # identifier: "String",
773
+ # mount_options: "String",
774
+ # },
775
+ # ],
753
776
  # }
754
777
  #
755
778
  # @!attribute [rw] name
@@ -859,7 +882,8 @@ module Aws::CodeBuild
859
882
  # @return [String]
860
883
  #
861
884
  # @!attribute [rw] tags
862
- # A set of tags for this build project.
885
+ # A list of tag key and value pairs associated with this build
886
+ # project.
863
887
  #
864
888
  # These tags are available for use by AWS services that support AWS
865
889
  # CodeBuild build project tags.
@@ -881,6 +905,13 @@ module Aws::CodeBuild
881
905
  # both.
882
906
  # @return [Types::LogsConfig]
883
907
  #
908
+ # @!attribute [rw] file_system_locations
909
+ # An array of `ProjectFileSystemLocation` objects for a CodeBuild
910
+ # build project. A `ProjectFileSystemLocation` object specifies the
911
+ # `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
912
+ # of a file system created using Amazon Elastic File System.
913
+ # @return [Array<Types::ProjectFileSystemLocation>]
914
+ #
884
915
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput AWS API Documentation
885
916
  #
886
917
  class CreateProjectInput < Struct.new(
@@ -901,7 +932,8 @@ module Aws::CodeBuild
901
932
  :tags,
902
933
  :vpc_config,
903
934
  :badge_enabled,
904
- :logs_config)
935
+ :logs_config,
936
+ :file_system_locations)
905
937
  include Aws::Structure
906
938
  end
907
939
 
@@ -932,6 +964,12 @@ module Aws::CodeBuild
932
964
  # encryption_disabled: false,
933
965
  # },
934
966
  # },
967
+ # tags: [
968
+ # {
969
+ # key: "KeyInput",
970
+ # value: "ValueInput",
971
+ # },
972
+ # ],
935
973
  # }
936
974
  #
937
975
  # @!attribute [rw] name
@@ -947,12 +985,20 @@ module Aws::CodeBuild
947
985
  # the report group test results are exported.
948
986
  # @return [Types::ReportExportConfig]
949
987
  #
988
+ # @!attribute [rw] tags
989
+ # A list of tag key and value pairs associated with this report group.
990
+ #
991
+ # These tags are available for use by AWS services that support AWS
992
+ # CodeBuild report group tags.
993
+ # @return [Array<Types::Tag>]
994
+ #
950
995
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroupInput AWS API Documentation
951
996
  #
952
997
  class CreateReportGroupInput < Struct.new(
953
998
  :name,
954
999
  :type,
955
- :export_config)
1000
+ :export_config,
1001
+ :tags)
956
1002
  include Aws::Structure
957
1003
  end
958
1004
 
@@ -976,7 +1022,7 @@ module Aws::CodeBuild
976
1022
  # filter_groups: [
977
1023
  # [
978
1024
  # {
979
- # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
1025
+ # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
980
1026
  # pattern: "String", # required
981
1027
  # exclude_matched_pattern: false,
982
1028
  # },
@@ -1320,23 +1366,34 @@ module Aws::CodeBuild
1320
1366
  # @!attribute [rw] value
1321
1367
  # The value of the environment variable.
1322
1368
  #
1323
- # We strongly discourage the use of environment variables to store
1324
- # sensitive values, especially AWS secret key IDs and secret access
1325
- # keys. Environment variables can be displayed in plain text using the
1326
- # AWS CodeBuild console and the AWS Command Line Interface (AWS CLI).
1369
+ # We strongly discourage the use of `PLAINTEXT` environment variables
1370
+ # to store sensitive values, especially AWS secret key IDs and secret
1371
+ # access keys. `PLAINTEXT` environment variables can be displayed in
1372
+ # plain text using the AWS CodeBuild console and the AWS Command Line
1373
+ # Interface (AWS CLI). For sensitive values, we recommend you use an
1374
+ # environment variable of type `PARAMETER_STORE` or `SECRETS_MANAGER`.
1327
1375
  # @return [String]
1328
1376
  #
1329
1377
  # @!attribute [rw] type
1330
1378
  # The type of environment variable. Valid values include:
1331
1379
  #
1332
1380
  # * `PARAMETER_STORE`\: An environment variable stored in Amazon EC2
1333
- # Systems Manager Parameter Store.
1381
+ # Systems Manager Parameter Store. To learn how to specify a
1382
+ # parameter store environment variable, see [ parameter store
1383
+ # reference-key in the buildspec file][1].
1334
1384
  #
1335
1385
  # * `PLAINTEXT`\: An environment variable in plain text format. This
1336
1386
  # is the default value.
1337
1387
  #
1338
1388
  # * `SECRETS_MANAGER`\: An environment variable stored in AWS Secrets
1339
- # Manager.
1389
+ # Manager. To learn how to specify a secrets manager environment
1390
+ # variable, see [ secrets manager reference-key in the buildspec
1391
+ # file][2].
1392
+ #
1393
+ #
1394
+ #
1395
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#parameter-store-build-spec
1396
+ # [2]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#secrets-manager-build-spec
1340
1397
  # @return [String]
1341
1398
  #
1342
1399
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/EnvironmentVariable AWS API Documentation
@@ -1487,6 +1544,12 @@ module Aws::CodeBuild
1487
1544
  include Aws::Structure
1488
1545
  end
1489
1546
 
1547
+ # The input value that was provided is not valid.
1548
+ #
1549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidInputException AWS API Documentation
1550
+ #
1551
+ class InvalidInputException < Aws::EmptyStructure; end
1552
+
1490
1553
  # @note When making an API call, you may pass InvalidateProjectCacheInput
1491
1554
  # data as a hash:
1492
1555
  #
@@ -2234,6 +2297,12 @@ module Aws::CodeBuild
2234
2297
  include Aws::Structure
2235
2298
  end
2236
2299
 
2300
+ # There was a problem with the underlying OAuth provider.
2301
+ #
2302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/OAuthProviderException AWS API Documentation
2303
+ #
2304
+ class OAuthProviderException < Aws::EmptyStructure; end
2305
+
2237
2306
  # Additional information about a build phase that has an error. You can
2238
2307
  # use this information for troubleshooting.
2239
2308
  #
@@ -2366,7 +2435,8 @@ module Aws::CodeBuild
2366
2435
  # @return [String]
2367
2436
  #
2368
2437
  # @!attribute [rw] tags
2369
- # The tags for this build project.
2438
+ # A list of tag key and value pairs associated with this build
2439
+ # project.
2370
2440
  #
2371
2441
  # These tags are available for use by AWS services that support AWS
2372
2442
  # CodeBuild build project tags.
@@ -2399,6 +2469,13 @@ module Aws::CodeBuild
2399
2469
  # logs in Amazon CloudWatch Logs, an S3 bucket, or both.
2400
2470
  # @return [Types::LogsConfig]
2401
2471
  #
2472
+ # @!attribute [rw] file_system_locations
2473
+ # An array of `ProjectFileSystemLocation` objects for a CodeBuild
2474
+ # build project. A `ProjectFileSystemLocation` object specifies the
2475
+ # `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
2476
+ # of a file system created using Amazon Elastic File System.
2477
+ # @return [Array<Types::ProjectFileSystemLocation>]
2478
+ #
2402
2479
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
2403
2480
  #
2404
2481
  class Project < Struct.new(
@@ -2423,7 +2500,8 @@ module Aws::CodeBuild
2423
2500
  :webhook,
2424
2501
  :vpc_config,
2425
2502
  :badge,
2426
- :logs_config)
2503
+ :logs_config,
2504
+ :file_system_locations)
2427
2505
  include Aws::Structure
2428
2506
  end
2429
2507
 
@@ -2569,8 +2647,8 @@ module Aws::CodeBuild
2569
2647
  # @return [String]
2570
2648
  #
2571
2649
  # @!attribute [rw] override_artifact_name
2572
- # If this flag is set, a name specified in the build spec file
2573
- # overrides the artifact name. The name specified in a build spec file
2650
+ # If this flag is set, a name specified in the buildspec file
2651
+ # overrides the artifact name. The name specified in a buildspec file
2574
2652
  # is calculated at build time and uses the Shell Command Language. For
2575
2653
  # example, you can append a date and time to your artifact name so
2576
2654
  # that it is always unique.
@@ -2743,17 +2821,16 @@ module Aws::CodeBuild
2743
2821
  #
2744
2822
  # * The environment type `LINUX_CONTAINER` with compute type
2745
2823
  # `build.general1.2xlarge` is available only in regions US East (N.
2746
- # Virginia), US East (N. Virginia), US West (Oregon), Canada
2747
- # (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia Pacific
2748
- # (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore), Asia
2749
- # Pacific (Sydney), China (Beijing), and China (Ningxia).
2824
+ # Virginia), US East (Ohio), US West (Oregon), Canada (Central), EU
2825
+ # (Ireland), EU (London), EU (Frankfurt), Asia Pacific (Tokyo), Asia
2826
+ # Pacific (Seoul), Asia Pacific (Singapore), Asia Pacific (Sydney),
2827
+ # China (Beijing), and China (Ningxia).
2750
2828
  #
2751
2829
  # * The environment type `LINUX_GPU_CONTAINER` is available only in
2752
- # regions US East (N. Virginia), US East (N. Virginia), US West
2753
- # (Oregon), Canada (Central), EU (Ireland), EU (London), EU
2754
- # (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia
2755
- # Pacific (Singapore), Asia Pacific (Sydney) , China (Beijing), and
2756
- # China (Ningxia).
2830
+ # regions US East (N. Virginia), US East (Ohio), US West (Oregon),
2831
+ # Canada (Central), EU (Ireland), EU (London), EU (Frankfurt), Asia
2832
+ # Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Singapore),
2833
+ # Asia Pacific (Sydney) , China (Beijing), and China (Ningxia).
2757
2834
  # @return [String]
2758
2835
  #
2759
2836
  # @!attribute [rw] image
@@ -2877,6 +2954,80 @@ module Aws::CodeBuild
2877
2954
  include Aws::Structure
2878
2955
  end
2879
2956
 
2957
+ # Information about a file system created by Amazon Elastic File System
2958
+ # (EFS). For more information, see [What Is Amazon Elastic File
2959
+ # System?][1]
2960
+ #
2961
+ #
2962
+ #
2963
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html
2964
+ #
2965
+ # @note When making an API call, you may pass ProjectFileSystemLocation
2966
+ # data as a hash:
2967
+ #
2968
+ # {
2969
+ # type: "EFS", # accepts EFS
2970
+ # location: "String",
2971
+ # mount_point: "String",
2972
+ # identifier: "String",
2973
+ # mount_options: "String",
2974
+ # }
2975
+ #
2976
+ # @!attribute [rw] type
2977
+ # The type of the file system. The one supported type is `EFS`.
2978
+ # @return [String]
2979
+ #
2980
+ # @!attribute [rw] location
2981
+ # A string that specifies the location of the file system created by
2982
+ # Amazon EFS. Its format is `efs-dns-name:/directory-path`. You can
2983
+ # find the DNS name of file system when you view it in the AWS EFS
2984
+ # console. The directory path is a path to a directory in the file
2985
+ # system that CodeBuild mounts. For example, if the DNS name of a file
2986
+ # system is `fs-abcd1234.efs.us-west-2.amazonaws.com`, and its mount
2987
+ # directory is `my-efs-mount-directory`, then the `location` is
2988
+ # `fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory`.
2989
+ #
2990
+ # The directory path in the format `efs-dns-name:/directory-path` is
2991
+ # optional. If you do not specify a directory path, the location is
2992
+ # only the DNS name and CodeBuild mounts the entire file system.
2993
+ # @return [String]
2994
+ #
2995
+ # @!attribute [rw] mount_point
2996
+ # The location in the container where you mount the file system.
2997
+ # @return [String]
2998
+ #
2999
+ # @!attribute [rw] identifier
3000
+ # The name used to access a file system created by Amazon EFS.
3001
+ # CodeBuild creates an environment variable by appending the
3002
+ # `identifier` in all capital letters to `CODEBUILD_`. For example, if
3003
+ # you specify `my-efs` for `identifier`, a new environment variable is
3004
+ # create named `CODEBUILD_MY-EFS`.
3005
+ #
3006
+ # The `identifier` is used to mount your file system.
3007
+ # @return [String]
3008
+ #
3009
+ # @!attribute [rw] mount_options
3010
+ # The mount options for a file system created by AWS EFS. The default
3011
+ # mount options used by CodeBuild are
3012
+ # `nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2`.
3013
+ # For more information, see [Recommended NFS Mount Options][1].
3014
+ #
3015
+ #
3016
+ #
3017
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html
3018
+ # @return [String]
3019
+ #
3020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectFileSystemLocation AWS API Documentation
3021
+ #
3022
+ class ProjectFileSystemLocation < Struct.new(
3023
+ :type,
3024
+ :location,
3025
+ :mount_point,
3026
+ :identifier,
3027
+ :mount_options)
3028
+ include Aws::Structure
3029
+ end
3030
+
2880
3031
  # Information about the build input source code for the build project.
2881
3032
  #
2882
3033
  # @note When making an API call, you may pass ProjectSource
@@ -2932,8 +3083,8 @@ module Aws::CodeBuild
2932
3083
  # source action instead of this value.
2933
3084
  #
2934
3085
  # * For source code in an AWS CodeCommit repository, the HTTPS clone
2935
- # URL to the repository that contains the source code and the build
2936
- # spec (for example,
3086
+ # URL to the repository that contains the source code and the
3087
+ # buildspec file (for example,
2937
3088
  # `https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name
2938
3089
  # `).
2939
3090
  #
@@ -2947,8 +3098,8 @@ module Aws::CodeBuild
2947
3098
  # example, ` bucket-name/path/to/source-code/folder/`).
2948
3099
  #
2949
3100
  # * For source code in a GitHub repository, the HTTPS clone URL to the
2950
- # repository that contains the source and the build spec. You must
2951
- # connect your AWS account to your GitHub account. Use the AWS
3101
+ # repository that contains the source and the buildspec file. You
3102
+ # must connect your AWS account to your GitHub account. Use the AWS
2952
3103
  # CodeBuild console to start creating a build project. When you use
2953
3104
  # the console to connect (or reconnect) with GitHub, on the GitHub
2954
3105
  # **Authorize application** page, for **Organization access**,
@@ -2961,16 +3112,16 @@ module Aws::CodeBuild
2961
3112
  # `type` value to `OAUTH`.
2962
3113
  #
2963
3114
  # * For source code in a Bitbucket repository, the HTTPS clone URL to
2964
- # the repository that contains the source and the build spec. You
2965
- # must connect your AWS account to your Bitbucket account. Use the
2966
- # AWS CodeBuild console to start creating a build project. When you
2967
- # use the console to connect (or reconnect) with Bitbucket, on the
2968
- # Bitbucket **Confirm access to your account** page, choose **Grant
2969
- # access**. (After you have connected to your Bitbucket account, you
2970
- # do not need to finish creating the build project. You can leave
2971
- # the AWS CodeBuild console.) To instruct AWS CodeBuild to use this
2972
- # connection, in the `source` object, set the `auth` object's
2973
- # `type` value to `OAUTH`.
3115
+ # the repository that contains the source and the buildspec file.
3116
+ # You must connect your AWS account to your Bitbucket account. Use
3117
+ # the AWS CodeBuild console to start creating a build project. When
3118
+ # you use the console to connect (or reconnect) with Bitbucket, on
3119
+ # the Bitbucket **Confirm access to your account** page, choose
3120
+ # **Grant access**. (After you have connected to your Bitbucket
3121
+ # account, you do not need to finish creating the build project. You
3122
+ # can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to
3123
+ # use this connection, in the `source` object, set the `auth`
3124
+ # object's `type` value to `OAUTH`.
2974
3125
  # @return [String]
2975
3126
  #
2976
3127
  # @!attribute [rw] git_clone_depth
@@ -2983,11 +3134,22 @@ module Aws::CodeBuild
2983
3134
  # @return [Types::GitSubmodulesConfig]
2984
3135
  #
2985
3136
  # @!attribute [rw] buildspec
2986
- # The build spec declaration to use for the builds in this build
3137
+ # The buildspec file declaration to use for the builds in this build
2987
3138
  # project.
2988
3139
  #
2989
- # If this value is not specified, a build spec must be included along
2990
- # with the source code to be built.
3140
+ # If this value is set, it can be either an inline buildspec
3141
+ # definition, the path to an alternate buildspec file relative to the
3142
+ # value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
3143
+ # the path to an S3 bucket. The bucket must be in the same AWS Region
3144
+ # as the build project. Specify the buildspec file using its ARN (for
3145
+ # example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
3146
+ # value is not provided or is set to an empty string, the source code
3147
+ # must contain a buildspec file in its root directory. For more
3148
+ # information, see [Buildspec File Name and Storage Location][1].
3149
+ #
3150
+ #
3151
+ #
3152
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
2991
3153
  # @return [String]
2992
3154
  #
2993
3155
  # @!attribute [rw] auth
@@ -3158,7 +3320,7 @@ module Aws::CodeBuild
3158
3320
  # AWS Secrets Manager.
3159
3321
  #
3160
3322
  # <note markdown="1"> The `credential` can use the name of the credentials only if they
3161
- # exist in your current region.
3323
+ # exist in your current AWS Region.
3162
3324
  #
3163
3325
  # </note>
3164
3326
  # @return [String]
@@ -3339,6 +3501,13 @@ module Aws::CodeBuild
3339
3501
  # The date and time this `ReportGroup` was last modified.
3340
3502
  # @return [Time]
3341
3503
  #
3504
+ # @!attribute [rw] tags
3505
+ # A list of tag key and value pairs associated with this report group.
3506
+ #
3507
+ # These tags are available for use by AWS services that support AWS
3508
+ # CodeBuild report group tags.
3509
+ # @return [Array<Types::Tag>]
3510
+ #
3342
3511
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ReportGroup AWS API Documentation
3343
3512
  #
3344
3513
  class ReportGroup < Struct.new(
@@ -3347,10 +3516,24 @@ module Aws::CodeBuild
3347
3516
  :type,
3348
3517
  :export_config,
3349
3518
  :created,
3350
- :last_modified)
3519
+ :last_modified,
3520
+ :tags)
3351
3521
  include Aws::Structure
3352
3522
  end
3353
3523
 
3524
+ # The specified AWS resource cannot be created, because an AWS resource
3525
+ # with the same settings already exists.
3526
+ #
3527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceAlreadyExistsException AWS API Documentation
3528
+ #
3529
+ class ResourceAlreadyExistsException < Aws::EmptyStructure; end
3530
+
3531
+ # The specified AWS resource cannot be found.
3532
+ #
3533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ResourceNotFoundException AWS API Documentation
3534
+ #
3535
+ class ResourceNotFoundException < Aws::EmptyStructure; end
3536
+
3354
3537
  # Information about S3 logs for a build project.
3355
3538
  #
3356
3539
  # @note When making an API call, you may pass S3LogsConfig
@@ -3704,8 +3887,22 @@ module Aws::CodeBuild
3704
3887
  # @return [Types::GitSubmodulesConfig]
3705
3888
  #
3706
3889
  # @!attribute [rw] buildspec_override
3707
- # A build spec declaration that overrides, for this build only, the
3708
- # latest one already defined in the build project.
3890
+ # A buildspec file declaration that overrides, for this build only,
3891
+ # the latest one already defined in the build project.
3892
+ #
3893
+ # If this value is set, it can be either an inline buildspec
3894
+ # definition, the path to an alternate buildspec file relative to the
3895
+ # value of the built-in `CODEBUILD_SRC_DIR` environment variable, or
3896
+ # the path to an S3 bucket. The bucket must be in the same AWS Region
3897
+ # as the build project. Specify the buildspec file using its ARN (for
3898
+ # example, `arn:aws:s3:::my-codebuild-sample2/buildspec.yml`). If this
3899
+ # value is not provided or is set to an empty string, the source code
3900
+ # must contain a buildspec file in its root directory. For more
3901
+ # information, see [Buildspec File Name and Storage Location][1].
3902
+ #
3903
+ #
3904
+ #
3905
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage
3709
3906
  # @return [String]
3710
3907
  #
3711
3908
  # @!attribute [rw] insecure_ssl_override
@@ -4152,6 +4349,15 @@ module Aws::CodeBuild
4152
4349
  # encryption_disabled: false,
4153
4350
  # },
4154
4351
  # },
4352
+ # file_system_locations: [
4353
+ # {
4354
+ # type: "EFS", # accepts EFS
4355
+ # location: "String",
4356
+ # mount_point: "String",
4357
+ # identifier: "String",
4358
+ # mount_options: "String",
4359
+ # },
4360
+ # ],
4155
4361
  # }
4156
4362
  #
4157
4363
  # @!attribute [rw] name
@@ -4267,7 +4473,8 @@ module Aws::CodeBuild
4267
4473
  # @return [String]
4268
4474
  #
4269
4475
  # @!attribute [rw] tags
4270
- # The replacement set of tags for this build project.
4476
+ # An updated list of tag key and value pairs associated with this
4477
+ # build project.
4271
4478
  #
4272
4479
  # These tags are available for use by AWS services that support AWS
4273
4480
  # CodeBuild build project tags.
@@ -4288,6 +4495,13 @@ module Aws::CodeBuild
4288
4495
  # logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
4289
4496
  # @return [Types::LogsConfig]
4290
4497
  #
4498
+ # @!attribute [rw] file_system_locations
4499
+ # An array of `ProjectFileSystemLocation` objects for a CodeBuild
4500
+ # build project. A `ProjectFileSystemLocation` object specifies the
4501
+ # `identifier`, `location`, `mountOptions`, `mountPoint`, and `type`
4502
+ # of a file system created using Amazon Elastic File System.
4503
+ # @return [Array<Types::ProjectFileSystemLocation>]
4504
+ #
4291
4505
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput AWS API Documentation
4292
4506
  #
4293
4507
  class UpdateProjectInput < Struct.new(
@@ -4308,7 +4522,8 @@ module Aws::CodeBuild
4308
4522
  :tags,
4309
4523
  :vpc_config,
4310
4524
  :badge_enabled,
4311
- :logs_config)
4525
+ :logs_config,
4526
+ :file_system_locations)
4312
4527
  include Aws::Structure
4313
4528
  end
4314
4529
 
@@ -4338,6 +4553,12 @@ module Aws::CodeBuild
4338
4553
  # encryption_disabled: false,
4339
4554
  # },
4340
4555
  # },
4556
+ # tags: [
4557
+ # {
4558
+ # key: "KeyInput",
4559
+ # value: "ValueInput",
4560
+ # },
4561
+ # ],
4341
4562
  # }
4342
4563
  #
4343
4564
  # @!attribute [rw] arn
@@ -4352,11 +4573,20 @@ module Aws::CodeBuild
4352
4573
  # * `NO_EXPORT`\: The report results are not exported.
4353
4574
  # @return [Types::ReportExportConfig]
4354
4575
  #
4576
+ # @!attribute [rw] tags
4577
+ # An updated list of tag key and value pairs associated with this
4578
+ # report group.
4579
+ #
4580
+ # These tags are available for use by AWS services that support AWS
4581
+ # CodeBuild report group tags.
4582
+ # @return [Array<Types::Tag>]
4583
+ #
4355
4584
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroupInput AWS API Documentation
4356
4585
  #
4357
4586
  class UpdateReportGroupInput < Struct.new(
4358
4587
  :arn,
4359
- :export_config)
4588
+ :export_config,
4589
+ :tags)
4360
4590
  include Aws::Structure
4361
4591
  end
4362
4592
 
@@ -4381,7 +4611,7 @@ module Aws::CodeBuild
4381
4611
  # filter_groups: [
4382
4612
  # [
4383
4613
  # {
4384
- # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
4614
+ # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
4385
4615
  # pattern: "String", # required
4386
4616
  # exclude_matched_pattern: false,
4387
4617
  # },
@@ -4535,7 +4765,7 @@ module Aws::CodeBuild
4535
4765
  # data as a hash:
4536
4766
  #
4537
4767
  # {
4538
- # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH
4768
+ # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE
4539
4769
  # pattern: "String", # required
4540
4770
  # exclude_matched_pattern: false,
4541
4771
  # }
@@ -4548,11 +4778,12 @@ module Aws::CodeBuild
4548
4778
  # EVENT
4549
4779
  #
4550
4780
  # : A webhook event triggers a build when the provided `pattern`
4551
- # matches one of four event types: `PUSH`, `PULL_REQUEST_CREATED`,
4552
- # `PULL_REQUEST_UPDATED`, and `PULL_REQUEST_REOPENED`. The `EVENT`
4553
- # patterns are specified as a comma-separated string. For example,
4554
- # `PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED` filters all
4555
- # push, pull request created, and pull request updated events.
4781
+ # matches one of five event types: `PUSH`, `PULL_REQUEST_CREATED`,
4782
+ # `PULL_REQUEST_UPDATED`, `PULL_REQUEST_REOPENED`, and
4783
+ # `PULL_REQUEST_MERGED`. The `EVENT` patterns are specified as a
4784
+ # comma-separated string. For example, `PUSH, PULL_REQUEST_CREATED,
4785
+ # PULL_REQUEST_UPDATED` filters all push, pull request created, and
4786
+ # pull request updated events.
4556
4787
  #
4557
4788
  # <note markdown="1"> The `PULL_REQUEST_REOPENED` works with GitHub and GitHub
4558
4789
  # Enterprise only.