aws-sdk-codebuild 1.54.0 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83f161a48d98d3a772e2c6e0a25f6f0c77f239e227c61eae7c3a86fce7778603
4
- data.tar.gz: 5df91eff0c5caadf2e2293dd1076a049aa0ea7210f334275ecbf98c60dda6ba4
3
+ metadata.gz: d320d5867337f251e07014822199acf6ef4f024da9731324618a11c6dceafa78
4
+ data.tar.gz: f374575bd92c10cfd78d5d0c400c8e8bf4bb73e7c382dada8e9cf289bd770d44
5
5
  SHA512:
6
- metadata.gz: e18fd5c4dd0a1cc676b6f49a8e04dff411a45eb702a271b4232a8535dbc294f9d383242a9e6da01777eadc347f76558a860decc2499ee15a6722b508c6b2a9cb
7
- data.tar.gz: 53294cd93e6b0d2aaedf3a007276d45e2b96496d1a0af41408a32e19e6331e1617e43214e8d6c5757b05d63b980116784f35d0d8278c9d60dd7f3b5455e4121b
6
+ metadata.gz: 1eefdec65501837255580a041653a0e0ad92dba0912af9ee41055e75b70bce3d10e78824523e582b0f77bbe96be0de8e72999fe7e353e5e4b057d8191bc64ab1
7
+ data.tar.gz: 25f09254c8ef903b0f0d27b84daa8897d602aea2d6bb192db2d57945110ed1d3da581ce74c8597246b43394d4646438a65e639b03260dd620fb75e5045add072
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-codebuild/customizations'
47
47
  # @service
48
48
  module Aws::CodeBuild
49
49
 
50
- GEM_VERSION = '1.54.0'
50
+ GEM_VERSION = '1.55.0'
51
51
 
52
52
  end
@@ -654,6 +654,8 @@ module Aws::CodeBuild
654
654
  # resp.builds[0].source.auth.type #=> String, one of "OAUTH"
655
655
  # resp.builds[0].source.auth.resource #=> String
656
656
  # resp.builds[0].source.report_build_status #=> Boolean
657
+ # resp.builds[0].source.build_status_config.context #=> String
658
+ # resp.builds[0].source.build_status_config.target_url #=> String
657
659
  # resp.builds[0].source.insecure_ssl #=> Boolean
658
660
  # resp.builds[0].source.source_identifier #=> String
659
661
  # resp.builds[0].secondary_sources #=> Array
@@ -665,6 +667,8 @@ module Aws::CodeBuild
665
667
  # resp.builds[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
666
668
  # resp.builds[0].secondary_sources[0].auth.resource #=> String
667
669
  # resp.builds[0].secondary_sources[0].report_build_status #=> Boolean
670
+ # resp.builds[0].secondary_sources[0].build_status_config.context #=> String
671
+ # resp.builds[0].secondary_sources[0].build_status_config.target_url #=> String
668
672
  # resp.builds[0].secondary_sources[0].insecure_ssl #=> Boolean
669
673
  # resp.builds[0].secondary_sources[0].source_identifier #=> String
670
674
  # resp.builds[0].secondary_source_versions #=> Array
@@ -779,6 +783,8 @@ module Aws::CodeBuild
779
783
  # resp.projects[0].source.auth.type #=> String, one of "OAUTH"
780
784
  # resp.projects[0].source.auth.resource #=> String
781
785
  # resp.projects[0].source.report_build_status #=> Boolean
786
+ # resp.projects[0].source.build_status_config.context #=> String
787
+ # resp.projects[0].source.build_status_config.target_url #=> String
782
788
  # resp.projects[0].source.insecure_ssl #=> Boolean
783
789
  # resp.projects[0].source.source_identifier #=> String
784
790
  # resp.projects[0].secondary_sources #=> Array
@@ -790,6 +796,8 @@ module Aws::CodeBuild
790
796
  # resp.projects[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
791
797
  # resp.projects[0].secondary_sources[0].auth.resource #=> String
792
798
  # resp.projects[0].secondary_sources[0].report_build_status #=> Boolean
799
+ # resp.projects[0].secondary_sources[0].build_status_config.context #=> String
800
+ # resp.projects[0].secondary_sources[0].build_status_config.target_url #=> String
793
801
  # resp.projects[0].secondary_sources[0].insecure_ssl #=> Boolean
794
802
  # resp.projects[0].secondary_sources[0].source_identifier #=> String
795
803
  # resp.projects[0].source_version #=> String
@@ -1114,6 +1122,10 @@ module Aws::CodeBuild
1114
1122
  # resource: "String",
1115
1123
  # },
1116
1124
  # report_build_status: false,
1125
+ # build_status_config: {
1126
+ # context: "String",
1127
+ # target_url: "String",
1128
+ # },
1117
1129
  # insecure_ssl: false,
1118
1130
  # source_identifier: "String",
1119
1131
  # },
@@ -1131,6 +1143,10 @@ module Aws::CodeBuild
1131
1143
  # resource: "String",
1132
1144
  # },
1133
1145
  # report_build_status: false,
1146
+ # build_status_config: {
1147
+ # context: "String",
1148
+ # target_url: "String",
1149
+ # },
1134
1150
  # insecure_ssl: false,
1135
1151
  # source_identifier: "String",
1136
1152
  # },
@@ -1242,6 +1258,8 @@ module Aws::CodeBuild
1242
1258
  # resp.project.source.auth.type #=> String, one of "OAUTH"
1243
1259
  # resp.project.source.auth.resource #=> String
1244
1260
  # resp.project.source.report_build_status #=> Boolean
1261
+ # resp.project.source.build_status_config.context #=> String
1262
+ # resp.project.source.build_status_config.target_url #=> String
1245
1263
  # resp.project.source.insecure_ssl #=> Boolean
1246
1264
  # resp.project.source.source_identifier #=> String
1247
1265
  # resp.project.secondary_sources #=> Array
@@ -1253,6 +1271,8 @@ module Aws::CodeBuild
1253
1271
  # resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
1254
1272
  # resp.project.secondary_sources[0].auth.resource #=> String
1255
1273
  # resp.project.secondary_sources[0].report_build_status #=> Boolean
1274
+ # resp.project.secondary_sources[0].build_status_config.context #=> String
1275
+ # resp.project.secondary_sources[0].build_status_config.target_url #=> String
1256
1276
  # resp.project.secondary_sources[0].insecure_ssl #=> Boolean
1257
1277
  # resp.project.secondary_sources[0].source_identifier #=> String
1258
1278
  # resp.project.source_version #=> String
@@ -2500,6 +2520,11 @@ module Aws::CodeBuild
2500
2520
  #
2501
2521
  # </note>
2502
2522
  #
2523
+ # @option params [Types::BuildStatusConfig] :build_status_config_override
2524
+ # Contains information that defines how the build project reports the
2525
+ # build status to the source provider. This option is only used when the
2526
+ # source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`.
2527
+ #
2503
2528
  # @option params [String] :environment_type_override
2504
2529
  # A container type for this build that overrides the one specified in
2505
2530
  # the build project.
@@ -2552,7 +2577,7 @@ module Aws::CodeBuild
2552
2577
  # @option params [String] :idempotency_token
2553
2578
  # A unique, case sensitive identifier you provide to ensure the
2554
2579
  # idempotency of the StartBuild request. The token is included in the
2555
- # StartBuild request and is valid for 12 hours. If you repeat the
2580
+ # StartBuild request and is valid for 5 minutes. If you repeat the
2556
2581
  # StartBuild request with the same token, but change a parameter, AWS
2557
2582
  # CodeBuild returns a parameter mismatch error.
2558
2583
  #
@@ -2600,6 +2625,10 @@ module Aws::CodeBuild
2600
2625
  # resource: "String",
2601
2626
  # },
2602
2627
  # report_build_status: false,
2628
+ # build_status_config: {
2629
+ # context: "String",
2630
+ # target_url: "String",
2631
+ # },
2603
2632
  # insecure_ssl: false,
2604
2633
  # source_identifier: "String",
2605
2634
  # },
@@ -2655,6 +2684,10 @@ module Aws::CodeBuild
2655
2684
  # buildspec_override: "String",
2656
2685
  # insecure_ssl_override: false,
2657
2686
  # report_build_status_override: false,
2687
+ # build_status_config_override: {
2688
+ # context: "String",
2689
+ # target_url: "String",
2690
+ # },
2658
2691
  # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
2659
2692
  # image_override: "NonEmptyString",
2660
2693
  # compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
@@ -2718,6 +2751,8 @@ module Aws::CodeBuild
2718
2751
  # resp.build.source.auth.type #=> String, one of "OAUTH"
2719
2752
  # resp.build.source.auth.resource #=> String
2720
2753
  # resp.build.source.report_build_status #=> Boolean
2754
+ # resp.build.source.build_status_config.context #=> String
2755
+ # resp.build.source.build_status_config.target_url #=> String
2721
2756
  # resp.build.source.insecure_ssl #=> Boolean
2722
2757
  # resp.build.source.source_identifier #=> String
2723
2758
  # resp.build.secondary_sources #=> Array
@@ -2729,6 +2764,8 @@ module Aws::CodeBuild
2729
2764
  # resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
2730
2765
  # resp.build.secondary_sources[0].auth.resource #=> String
2731
2766
  # resp.build.secondary_sources[0].report_build_status #=> Boolean
2767
+ # resp.build.secondary_sources[0].build_status_config.context #=> String
2768
+ # resp.build.secondary_sources[0].build_status_config.target_url #=> String
2732
2769
  # resp.build.secondary_sources[0].insecure_ssl #=> Boolean
2733
2770
  # resp.build.secondary_sources[0].source_identifier #=> String
2734
2771
  # resp.build.secondary_source_versions #=> Array
@@ -2853,6 +2890,8 @@ module Aws::CodeBuild
2853
2890
  # resp.build.source.auth.type #=> String, one of "OAUTH"
2854
2891
  # resp.build.source.auth.resource #=> String
2855
2892
  # resp.build.source.report_build_status #=> Boolean
2893
+ # resp.build.source.build_status_config.context #=> String
2894
+ # resp.build.source.build_status_config.target_url #=> String
2856
2895
  # resp.build.source.insecure_ssl #=> Boolean
2857
2896
  # resp.build.source.source_identifier #=> String
2858
2897
  # resp.build.secondary_sources #=> Array
@@ -2864,6 +2903,8 @@ module Aws::CodeBuild
2864
2903
  # resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
2865
2904
  # resp.build.secondary_sources[0].auth.resource #=> String
2866
2905
  # resp.build.secondary_sources[0].report_build_status #=> Boolean
2906
+ # resp.build.secondary_sources[0].build_status_config.context #=> String
2907
+ # resp.build.secondary_sources[0].build_status_config.target_url #=> String
2867
2908
  # resp.build.secondary_sources[0].insecure_ssl #=> Boolean
2868
2909
  # resp.build.secondary_sources[0].source_identifier #=> String
2869
2910
  # resp.build.secondary_source_versions #=> Array
@@ -3087,6 +3128,10 @@ module Aws::CodeBuild
3087
3128
  # resource: "String",
3088
3129
  # },
3089
3130
  # report_build_status: false,
3131
+ # build_status_config: {
3132
+ # context: "String",
3133
+ # target_url: "String",
3134
+ # },
3090
3135
  # insecure_ssl: false,
3091
3136
  # source_identifier: "String",
3092
3137
  # },
@@ -3104,6 +3149,10 @@ module Aws::CodeBuild
3104
3149
  # resource: "String",
3105
3150
  # },
3106
3151
  # report_build_status: false,
3152
+ # build_status_config: {
3153
+ # context: "String",
3154
+ # target_url: "String",
3155
+ # },
3107
3156
  # insecure_ssl: false,
3108
3157
  # source_identifier: "String",
3109
3158
  # },
@@ -3215,6 +3264,8 @@ module Aws::CodeBuild
3215
3264
  # resp.project.source.auth.type #=> String, one of "OAUTH"
3216
3265
  # resp.project.source.auth.resource #=> String
3217
3266
  # resp.project.source.report_build_status #=> Boolean
3267
+ # resp.project.source.build_status_config.context #=> String
3268
+ # resp.project.source.build_status_config.target_url #=> String
3218
3269
  # resp.project.source.insecure_ssl #=> Boolean
3219
3270
  # resp.project.source.source_identifier #=> String
3220
3271
  # resp.project.secondary_sources #=> Array
@@ -3226,6 +3277,8 @@ module Aws::CodeBuild
3226
3277
  # resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
3227
3278
  # resp.project.secondary_sources[0].auth.resource #=> String
3228
3279
  # resp.project.secondary_sources[0].report_build_status #=> Boolean
3280
+ # resp.project.secondary_sources[0].build_status_config.context #=> String
3281
+ # resp.project.secondary_sources[0].build_status_config.target_url #=> String
3229
3282
  # resp.project.secondary_sources[0].insecure_ssl #=> Boolean
3230
3283
  # resp.project.secondary_sources[0].source_identifier #=> String
3231
3284
  # resp.project.source_version #=> String
@@ -3472,7 +3525,7 @@ module Aws::CodeBuild
3472
3525
  params: params,
3473
3526
  config: config)
3474
3527
  context[:gem_name] = 'aws-sdk-codebuild'
3475
- context[:gem_version] = '1.54.0'
3528
+ context[:gem_version] = '1.55.0'
3476
3529
  Seahorse::Client::Request.new(handlers, context)
3477
3530
  end
3478
3531
 
@@ -38,6 +38,7 @@ module Aws::CodeBuild
38
38
  BuildPhaseType = Shapes::StringShape.new(name: 'BuildPhaseType')
39
39
  BuildPhases = Shapes::ListShape.new(name: 'BuildPhases')
40
40
  BuildReportArns = Shapes::ListShape.new(name: 'BuildReportArns')
41
+ BuildStatusConfig = Shapes::StructureShape.new(name: 'BuildStatusConfig')
41
42
  Builds = Shapes::ListShape.new(name: 'Builds')
42
43
  BuildsNotDeleted = Shapes::ListShape.new(name: 'BuildsNotDeleted')
43
44
  CacheMode = Shapes::StringShape.new(name: 'CacheMode')
@@ -301,6 +302,10 @@ module Aws::CodeBuild
301
302
 
302
303
  BuildReportArns.member = Shapes::ShapeRef.new(shape: String)
303
304
 
305
+ BuildStatusConfig.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
306
+ BuildStatusConfig.add_member(:target_url, Shapes::ShapeRef.new(shape: String, location_name: "targetUrl"))
307
+ BuildStatusConfig.struct_class = Types::BuildStatusConfig
308
+
304
309
  Builds.member = Shapes::ShapeRef.new(shape: Build)
305
310
 
306
311
  BuildsNotDeleted.member = Shapes::ShapeRef.new(shape: BuildNotDeleted)
@@ -650,6 +655,7 @@ module Aws::CodeBuild
650
655
  ProjectSource.add_member(:buildspec, Shapes::ShapeRef.new(shape: String, location_name: "buildspec"))
651
656
  ProjectSource.add_member(:auth, Shapes::ShapeRef.new(shape: SourceAuth, location_name: "auth"))
652
657
  ProjectSource.add_member(:report_build_status, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "reportBuildStatus"))
658
+ ProjectSource.add_member(:build_status_config, Shapes::ShapeRef.new(shape: BuildStatusConfig, location_name: "buildStatusConfig"))
653
659
  ProjectSource.add_member(:insecure_ssl, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "insecureSsl"))
654
660
  ProjectSource.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "sourceIdentifier"))
655
661
  ProjectSource.struct_class = Types::ProjectSource
@@ -757,6 +763,7 @@ module Aws::CodeBuild
757
763
  StartBuildInput.add_member(:buildspec_override, Shapes::ShapeRef.new(shape: String, location_name: "buildspecOverride"))
758
764
  StartBuildInput.add_member(:insecure_ssl_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "insecureSslOverride"))
759
765
  StartBuildInput.add_member(:report_build_status_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "reportBuildStatusOverride"))
766
+ StartBuildInput.add_member(:build_status_config_override, Shapes::ShapeRef.new(shape: BuildStatusConfig, location_name: "buildStatusConfigOverride"))
760
767
  StartBuildInput.add_member(:environment_type_override, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentTypeOverride"))
761
768
  StartBuildInput.add_member(:image_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "imageOverride"))
762
769
  StartBuildInput.add_member(:compute_type_override, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeTypeOverride"))
@@ -608,6 +608,72 @@ module Aws::CodeBuild
608
608
  include Aws::Structure
609
609
  end
610
610
 
611
+ # Contains information that defines how the AWS CodeBuild build project
612
+ # reports the build status to the source provider.
613
+ #
614
+ # @note When making an API call, you may pass BuildStatusConfig
615
+ # data as a hash:
616
+ #
617
+ # {
618
+ # context: "String",
619
+ # target_url: "String",
620
+ # }
621
+ #
622
+ # @!attribute [rw] context
623
+ # Specifies the context of the build status CodeBuild sends to the
624
+ # source provider. The usage of this parameter depends on the source
625
+ # provider.
626
+ #
627
+ # Bitbucket
628
+ #
629
+ # : This parameter is used for the `name` parameter in the Bitbucket
630
+ # commit status. For more information, see [build][1] in the
631
+ # Bitbucket API documentation.
632
+ #
633
+ # GitHub/GitHub Enterprise Server
634
+ #
635
+ # : This parameter is used for the `context` parameter in the GitHub
636
+ # commit status. For more information, see [Create a commit
637
+ # status][2] in the GitHub developer guide.
638
+ #
639
+ #
640
+ #
641
+ # [1]: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build
642
+ # [2]: https://developer.github.com/v3/repos/statuses/#create-a-commit-status
643
+ # @return [String]
644
+ #
645
+ # @!attribute [rw] target_url
646
+ # Specifies the target url of the build status CodeBuild sends to the
647
+ # source provider. The usage of this parameter depends on the source
648
+ # provider.
649
+ #
650
+ # Bitbucket
651
+ #
652
+ # : This parameter is used for the `url` parameter in the Bitbucket
653
+ # commit status. For more information, see [build][1] in the
654
+ # Bitbucket API documentation.
655
+ #
656
+ # GitHub/GitHub Enterprise Server
657
+ #
658
+ # : This parameter is used for the `target_url` parameter in the
659
+ # GitHub commit status. For more information, see [Create a commit
660
+ # status][2] in the GitHub developer guide.
661
+ #
662
+ #
663
+ #
664
+ # [1]: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build
665
+ # [2]: https://developer.github.com/v3/repos/statuses/#create-a-commit-status
666
+ # @return [String]
667
+ #
668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildStatusConfig AWS API Documentation
669
+ #
670
+ class BuildStatusConfig < Struct.new(
671
+ :context,
672
+ :target_url)
673
+ SENSITIVE = []
674
+ include Aws::Structure
675
+ end
676
+
611
677
  # Information about Amazon CloudWatch Logs for a build project.
612
678
  #
613
679
  # @note When making an API call, you may pass CloudWatchLogsConfig
@@ -677,6 +743,10 @@ module Aws::CodeBuild
677
743
  # resource: "String",
678
744
  # },
679
745
  # report_build_status: false,
746
+ # build_status_config: {
747
+ # context: "String",
748
+ # target_url: "String",
749
+ # },
680
750
  # insecure_ssl: false,
681
751
  # source_identifier: "String",
682
752
  # },
@@ -694,6 +764,10 @@ module Aws::CodeBuild
694
764
  # resource: "String",
695
765
  # },
696
766
  # report_build_status: false,
767
+ # build_status_config: {
768
+ # context: "String",
769
+ # target_url: "String",
770
+ # },
697
771
  # insecure_ssl: false,
698
772
  # source_identifier: "String",
699
773
  # },
@@ -3117,6 +3191,10 @@ module Aws::CodeBuild
3117
3191
  # resource: "String",
3118
3192
  # },
3119
3193
  # report_build_status: false,
3194
+ # build_status_config: {
3195
+ # context: "String",
3196
+ # target_url: "String",
3197
+ # },
3120
3198
  # insecure_ssl: false,
3121
3199
  # source_identifier: "String",
3122
3200
  # }
@@ -3132,10 +3210,11 @@ module Aws::CodeBuild
3132
3210
  # * `CODEPIPELINE`\: The source code settings are specified in the
3133
3211
  # source action of a pipeline in AWS CodePipeline.
3134
3212
  #
3135
- # * `GITHUB`\: The source code is in a GitHub repository.
3213
+ # * `GITHUB`\: The source code is in a GitHub or GitHub Enterprise
3214
+ # Cloud repository.
3136
3215
  #
3137
3216
  # * `GITHUB_ENTERPRISE`\: The source code is in a GitHub Enterprise
3138
- # repository.
3217
+ # Server repository.
3139
3218
  #
3140
3219
  # * `NO_SOURCE`\: The project does not have input source code.
3141
3220
  #
@@ -3244,6 +3323,13 @@ module Aws::CodeBuild
3244
3323
  # </note>
3245
3324
  # @return [Boolean]
3246
3325
  #
3326
+ # @!attribute [rw] build_status_config
3327
+ # Contains information that defines how the build project reports the
3328
+ # build status to the source provider. This option is only used when
3329
+ # the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or
3330
+ # `BITBUCKET`.
3331
+ # @return [Types::BuildStatusConfig]
3332
+ #
3247
3333
  # @!attribute [rw] insecure_ssl
3248
3334
  # Enable this flag to ignore SSL warnings while connecting to the
3249
3335
  # project source code.
@@ -3263,6 +3349,7 @@ module Aws::CodeBuild
3263
3349
  :buildspec,
3264
3350
  :auth,
3265
3351
  :report_build_status,
3352
+ :build_status_config,
3266
3353
  :insecure_ssl,
3267
3354
  :source_identifier)
3268
3355
  SENSITIVE = []
@@ -3791,6 +3878,10 @@ module Aws::CodeBuild
3791
3878
  # resource: "String",
3792
3879
  # },
3793
3880
  # report_build_status: false,
3881
+ # build_status_config: {
3882
+ # context: "String",
3883
+ # target_url: "String",
3884
+ # },
3794
3885
  # insecure_ssl: false,
3795
3886
  # source_identifier: "String",
3796
3887
  # },
@@ -3846,6 +3937,10 @@ module Aws::CodeBuild
3846
3937
  # buildspec_override: "String",
3847
3938
  # insecure_ssl_override: false,
3848
3939
  # report_build_status_override: false,
3940
+ # build_status_config_override: {
3941
+ # context: "String",
3942
+ # target_url: "String",
3943
+ # },
3849
3944
  # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
3850
3945
  # image_override: "NonEmptyString",
3851
3946
  # compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
@@ -4009,6 +4104,13 @@ module Aws::CodeBuild
4009
4104
  # </note>
4010
4105
  # @return [Boolean]
4011
4106
  #
4107
+ # @!attribute [rw] build_status_config_override
4108
+ # Contains information that defines how the build project reports the
4109
+ # build status to the source provider. This option is only used when
4110
+ # the source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or
4111
+ # `BITBUCKET`.
4112
+ # @return [Types::BuildStatusConfig]
4113
+ #
4012
4114
  # @!attribute [rw] environment_type_override
4013
4115
  # A container type for this build that overrides the one specified in
4014
4116
  # the build project.
@@ -4072,7 +4174,7 @@ module Aws::CodeBuild
4072
4174
  # @!attribute [rw] idempotency_token
4073
4175
  # A unique, case sensitive identifier you provide to ensure the
4074
4176
  # idempotency of the StartBuild request. The token is included in the
4075
- # StartBuild request and is valid for 12 hours. If you repeat the
4177
+ # StartBuild request and is valid for 5 minutes. If you repeat the
4076
4178
  # StartBuild request with the same token, but change a parameter, AWS
4077
4179
  # CodeBuild returns a parameter mismatch error.
4078
4180
  # @return [String]
@@ -4120,6 +4222,7 @@ module Aws::CodeBuild
4120
4222
  :buildspec_override,
4121
4223
  :insecure_ssl_override,
4122
4224
  :report_build_status_override,
4225
+ :build_status_config_override,
4123
4226
  :environment_type_override,
4124
4227
  :image_override,
4125
4228
  :compute_type_override,
@@ -4337,6 +4440,10 @@ module Aws::CodeBuild
4337
4440
  # resource: "String",
4338
4441
  # },
4339
4442
  # report_build_status: false,
4443
+ # build_status_config: {
4444
+ # context: "String",
4445
+ # target_url: "String",
4446
+ # },
4340
4447
  # insecure_ssl: false,
4341
4448
  # source_identifier: "String",
4342
4449
  # },
@@ -4354,6 +4461,10 @@ module Aws::CodeBuild
4354
4461
  # resource: "String",
4355
4462
  # },
4356
4463
  # report_build_status: false,
4464
+ # build_status_config: {
4465
+ # context: "String",
4466
+ # target_url: "String",
4467
+ # },
4357
4468
  # insecure_ssl: false,
4358
4469
  # source_identifier: "String",
4359
4470
  # },
@@ -4871,9 +4982,9 @@ module Aws::CodeBuild
4871
4982
  # }
4872
4983
  #
4873
4984
  # @!attribute [rw] type
4874
- # The type of webhook filter. There are five webhook filter types:
4875
- # `EVENT`, `ACTOR_ACCOUNT_ID`, `HEAD_REF`, `BASE_REF`, and
4876
- # `FILE_PATH`.
4985
+ # The type of webhook filter. There are six webhook filter types:
4986
+ # `EVENT`, `ACTOR_ACCOUNT_ID`, `HEAD_REF`, `BASE_REF`, `FILE_PATH`,
4987
+ # and `COMMIT_MESSAGE`.
4877
4988
  #
4878
4989
  # EVENT
4879
4990
  #
@@ -4920,7 +5031,20 @@ module Aws::CodeBuild
4920
5031
  # : A webhook triggers a build when the path of a changed file matches
4921
5032
  # the regular expression `pattern`.
4922
5033
  #
4923
- # <note markdown="1"> Works with GitHub and GitHub Enterprise push events only.
5034
+ # <note markdown="1"> Works with GitHub and Bitbucket events push and pull requests
5035
+ # events. Also works with GitHub Enterprise push events, but does
5036
+ # not work with GitHub Enterprise pull request events.
5037
+ #
5038
+ # </note>
5039
+ #
5040
+ # COMMIT\_MESSAGE
5041
+ #
5042
+ # : A webhook triggers a build when the head commit message matches
5043
+ # the regular expression `pattern`.
5044
+ #
5045
+ # <note markdown="1"> Works with GitHub and Bitbucket events push and pull requests
5046
+ # events. Also works with GitHub Enterprise push events, but does
5047
+ # not work with GitHub Enterprise pull request events.
4924
5048
  #
4925
5049
  # </note>
4926
5050
  # @return [String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.54.0
4
+ version: 1.55.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core