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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93ecd224c41094c9dbd9c9accf3d19b9553b86e4236aadde3f83b2578f0ffc7c
4
- data.tar.gz: 4e70f29b2e76b0439c424e016ff762587948b5ce47db89e51ce39dc2c57d36ec
3
+ metadata.gz: 96a90300a4e4b0a4a5938862aa43292be5497586e738b62acdd7a4f370b32f1f
4
+ data.tar.gz: 99f5ebb19c990faf385fa7643fa1bb0081d7e314cb1382c4e6ca3c079f5784af
5
5
  SHA512:
6
- metadata.gz: 4fbb15dc474d8878257a7b1012f6bf75189f9f9f502381964140f5b7f99fbca429af57fcb133a3f7d0c08cb04ec4c8d0a7c545248e0fc30e1307fef09c278e5e
7
- data.tar.gz: 6066fa6386aab07739a609252c9b33a7ae9ce5a2887c4163d134ee34797b65dcc338effb7311757bdcec1d21f6dab216a3142ec37ac72b9db444c1bc8ed280de
6
+ metadata.gz: 94e5ab9abca1a516b043ba38a1ed303253b525417fa8e2cd3f6a865794f7e29a24fffa23524162d0d4acadff14bd307d7fcbe673cf5a245c567587b1d3f3b347
7
+ data.tar.gz: 5229e057f72c7b5eedf055351ddee19dba05e5b0c1fd8190da5f7a4556d6b1f25b564b993b3c2b017a6c932d41d0ef3587156d49130605fce8b8e4a7b31a42ce
@@ -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:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-codebuild/customizations'
45
47
  # @service
46
48
  module Aws::CodeBuild
47
49
 
48
- GEM_VERSION = '1.52.0'
50
+ GEM_VERSION = '1.57.0'
49
51
 
50
52
  end
@@ -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:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::CodeBuild
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -161,7 +165,7 @@ module Aws::CodeBuild
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -650,6 +654,8 @@ module Aws::CodeBuild
650
654
  # resp.builds[0].source.auth.type #=> String, one of "OAUTH"
651
655
  # resp.builds[0].source.auth.resource #=> String
652
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
653
659
  # resp.builds[0].source.insecure_ssl #=> Boolean
654
660
  # resp.builds[0].source.source_identifier #=> String
655
661
  # resp.builds[0].secondary_sources #=> Array
@@ -661,6 +667,8 @@ module Aws::CodeBuild
661
667
  # resp.builds[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
662
668
  # resp.builds[0].secondary_sources[0].auth.resource #=> String
663
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
664
672
  # resp.builds[0].secondary_sources[0].insecure_ssl #=> Boolean
665
673
  # resp.builds[0].secondary_sources[0].source_identifier #=> String
666
674
  # resp.builds[0].secondary_source_versions #=> Array
@@ -683,7 +691,7 @@ module Aws::CodeBuild
683
691
  # resp.builds[0].cache.location #=> String
684
692
  # resp.builds[0].cache.modes #=> Array
685
693
  # resp.builds[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
686
- # resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
694
+ # resp.builds[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
687
695
  # resp.builds[0].environment.image #=> String
688
696
  # resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
689
697
  # resp.builds[0].environment.environment_variables #=> Array
@@ -731,6 +739,8 @@ module Aws::CodeBuild
731
739
  # resp.builds[0].file_system_locations[0].mount_point #=> String
732
740
  # resp.builds[0].file_system_locations[0].identifier #=> String
733
741
  # resp.builds[0].file_system_locations[0].mount_options #=> String
742
+ # resp.builds[0].debug_session.session_enabled #=> Boolean
743
+ # resp.builds[0].debug_session.session_target #=> String
734
744
  # resp.builds_not_found #=> Array
735
745
  # resp.builds_not_found[0] #=> String
736
746
  #
@@ -775,6 +785,8 @@ module Aws::CodeBuild
775
785
  # resp.projects[0].source.auth.type #=> String, one of "OAUTH"
776
786
  # resp.projects[0].source.auth.resource #=> String
777
787
  # resp.projects[0].source.report_build_status #=> Boolean
788
+ # resp.projects[0].source.build_status_config.context #=> String
789
+ # resp.projects[0].source.build_status_config.target_url #=> String
778
790
  # resp.projects[0].source.insecure_ssl #=> Boolean
779
791
  # resp.projects[0].source.source_identifier #=> String
780
792
  # resp.projects[0].secondary_sources #=> Array
@@ -786,6 +798,8 @@ module Aws::CodeBuild
786
798
  # resp.projects[0].secondary_sources[0].auth.type #=> String, one of "OAUTH"
787
799
  # resp.projects[0].secondary_sources[0].auth.resource #=> String
788
800
  # resp.projects[0].secondary_sources[0].report_build_status #=> Boolean
801
+ # resp.projects[0].secondary_sources[0].build_status_config.context #=> String
802
+ # resp.projects[0].secondary_sources[0].build_status_config.target_url #=> String
789
803
  # resp.projects[0].secondary_sources[0].insecure_ssl #=> Boolean
790
804
  # resp.projects[0].secondary_sources[0].source_identifier #=> String
791
805
  # resp.projects[0].source_version #=> String
@@ -815,7 +829,7 @@ module Aws::CodeBuild
815
829
  # resp.projects[0].cache.location #=> String
816
830
  # resp.projects[0].cache.modes #=> Array
817
831
  # resp.projects[0].cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
818
- # resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
832
+ # resp.projects[0].environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
819
833
  # resp.projects[0].environment.image #=> String
820
834
  # resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
821
835
  # resp.projects[0].environment.environment_variables #=> Array
@@ -1110,6 +1124,10 @@ module Aws::CodeBuild
1110
1124
  # resource: "String",
1111
1125
  # },
1112
1126
  # report_build_status: false,
1127
+ # build_status_config: {
1128
+ # context: "String",
1129
+ # target_url: "String",
1130
+ # },
1113
1131
  # insecure_ssl: false,
1114
1132
  # source_identifier: "String",
1115
1133
  # },
@@ -1127,6 +1145,10 @@ module Aws::CodeBuild
1127
1145
  # resource: "String",
1128
1146
  # },
1129
1147
  # report_build_status: false,
1148
+ # build_status_config: {
1149
+ # context: "String",
1150
+ # target_url: "String",
1151
+ # },
1130
1152
  # insecure_ssl: false,
1131
1153
  # source_identifier: "String",
1132
1154
  # },
@@ -1168,7 +1190,7 @@ module Aws::CodeBuild
1168
1190
  # modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
1169
1191
  # },
1170
1192
  # environment: { # required
1171
- # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
1193
+ # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
1172
1194
  # image: "NonEmptyString", # required
1173
1195
  # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
1174
1196
  # environment_variables: [
@@ -1238,6 +1260,8 @@ module Aws::CodeBuild
1238
1260
  # resp.project.source.auth.type #=> String, one of "OAUTH"
1239
1261
  # resp.project.source.auth.resource #=> String
1240
1262
  # resp.project.source.report_build_status #=> Boolean
1263
+ # resp.project.source.build_status_config.context #=> String
1264
+ # resp.project.source.build_status_config.target_url #=> String
1241
1265
  # resp.project.source.insecure_ssl #=> Boolean
1242
1266
  # resp.project.source.source_identifier #=> String
1243
1267
  # resp.project.secondary_sources #=> Array
@@ -1249,6 +1273,8 @@ module Aws::CodeBuild
1249
1273
  # resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
1250
1274
  # resp.project.secondary_sources[0].auth.resource #=> String
1251
1275
  # resp.project.secondary_sources[0].report_build_status #=> Boolean
1276
+ # resp.project.secondary_sources[0].build_status_config.context #=> String
1277
+ # resp.project.secondary_sources[0].build_status_config.target_url #=> String
1252
1278
  # resp.project.secondary_sources[0].insecure_ssl #=> Boolean
1253
1279
  # resp.project.secondary_sources[0].source_identifier #=> String
1254
1280
  # resp.project.source_version #=> String
@@ -1278,7 +1304,7 @@ module Aws::CodeBuild
1278
1304
  # resp.project.cache.location #=> String
1279
1305
  # resp.project.cache.modes #=> Array
1280
1306
  # resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
1281
- # resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
1307
+ # resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
1282
1308
  # resp.project.environment.image #=> String
1283
1309
  # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
1284
1310
  # resp.project.environment.environment_variables #=> Array
@@ -2496,6 +2522,11 @@ module Aws::CodeBuild
2496
2522
  #
2497
2523
  # </note>
2498
2524
  #
2525
+ # @option params [Types::BuildStatusConfig] :build_status_config_override
2526
+ # Contains information that defines how the build project reports the
2527
+ # build status to the source provider. This option is only used when the
2528
+ # source provider is `GITHUB`, `GITHUB_ENTERPRISE`, or `BITBUCKET`.
2529
+ #
2499
2530
  # @option params [String] :environment_type_override
2500
2531
  # A container type for this build that overrides the one specified in
2501
2532
  # the build project.
@@ -2548,7 +2579,7 @@ module Aws::CodeBuild
2548
2579
  # @option params [String] :idempotency_token
2549
2580
  # A unique, case sensitive identifier you provide to ensure the
2550
2581
  # idempotency of the StartBuild request. The token is included in the
2551
- # StartBuild request and is valid for 12 hours. If you repeat the
2582
+ # StartBuild request and is valid for 5 minutes. If you repeat the
2552
2583
  # StartBuild request with the same token, but change a parameter, AWS
2553
2584
  # CodeBuild returns a parameter mismatch error.
2554
2585
  #
@@ -2574,6 +2605,14 @@ module Aws::CodeBuild
2574
2605
  # SERVICE\_ROLE credentials. When using an AWS CodeBuild curated image,
2575
2606
  # you must use CODEBUILD credentials.
2576
2607
  #
2608
+ # @option params [Boolean] :debug_session_enabled
2609
+ # Specifies if session debugging is enabled for this build. For more
2610
+ # information, see [Viewing a running build in Session Manager][1].
2611
+ #
2612
+ #
2613
+ #
2614
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
2615
+ #
2577
2616
  # @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2578
2617
  #
2579
2618
  # * {Types::StartBuildOutput#build #build} => Types::Build
@@ -2596,6 +2635,10 @@ module Aws::CodeBuild
2596
2635
  # resource: "String",
2597
2636
  # },
2598
2637
  # report_build_status: false,
2638
+ # build_status_config: {
2639
+ # context: "String",
2640
+ # target_url: "String",
2641
+ # },
2599
2642
  # insecure_ssl: false,
2600
2643
  # source_identifier: "String",
2601
2644
  # },
@@ -2651,7 +2694,11 @@ module Aws::CodeBuild
2651
2694
  # buildspec_override: "String",
2652
2695
  # insecure_ssl_override: false,
2653
2696
  # report_build_status_override: false,
2654
- # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
2697
+ # build_status_config_override: {
2698
+ # context: "String",
2699
+ # target_url: "String",
2700
+ # },
2701
+ # environment_type_override: "WINDOWS_CONTAINER", # accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
2655
2702
  # image_override: "NonEmptyString",
2656
2703
  # compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
2657
2704
  # certificate_override: "String",
@@ -2683,6 +2730,7 @@ module Aws::CodeBuild
2683
2730
  # credential_provider: "SECRETS_MANAGER", # required, accepts SECRETS_MANAGER
2684
2731
  # },
2685
2732
  # image_pull_credentials_type_override: "CODEBUILD", # accepts CODEBUILD, SERVICE_ROLE
2733
+ # debug_session_enabled: false,
2686
2734
  # })
2687
2735
  #
2688
2736
  # @example Response structure
@@ -2714,6 +2762,8 @@ module Aws::CodeBuild
2714
2762
  # resp.build.source.auth.type #=> String, one of "OAUTH"
2715
2763
  # resp.build.source.auth.resource #=> String
2716
2764
  # resp.build.source.report_build_status #=> Boolean
2765
+ # resp.build.source.build_status_config.context #=> String
2766
+ # resp.build.source.build_status_config.target_url #=> String
2717
2767
  # resp.build.source.insecure_ssl #=> Boolean
2718
2768
  # resp.build.source.source_identifier #=> String
2719
2769
  # resp.build.secondary_sources #=> Array
@@ -2725,6 +2775,8 @@ module Aws::CodeBuild
2725
2775
  # resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
2726
2776
  # resp.build.secondary_sources[0].auth.resource #=> String
2727
2777
  # resp.build.secondary_sources[0].report_build_status #=> Boolean
2778
+ # resp.build.secondary_sources[0].build_status_config.context #=> String
2779
+ # resp.build.secondary_sources[0].build_status_config.target_url #=> String
2728
2780
  # resp.build.secondary_sources[0].insecure_ssl #=> Boolean
2729
2781
  # resp.build.secondary_sources[0].source_identifier #=> String
2730
2782
  # resp.build.secondary_source_versions #=> Array
@@ -2747,7 +2799,7 @@ module Aws::CodeBuild
2747
2799
  # resp.build.cache.location #=> String
2748
2800
  # resp.build.cache.modes #=> Array
2749
2801
  # resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
2750
- # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
2802
+ # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
2751
2803
  # resp.build.environment.image #=> String
2752
2804
  # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
2753
2805
  # resp.build.environment.environment_variables #=> Array
@@ -2795,6 +2847,8 @@ module Aws::CodeBuild
2795
2847
  # resp.build.file_system_locations[0].mount_point #=> String
2796
2848
  # resp.build.file_system_locations[0].identifier #=> String
2797
2849
  # resp.build.file_system_locations[0].mount_options #=> String
2850
+ # resp.build.debug_session.session_enabled #=> Boolean
2851
+ # resp.build.debug_session.session_target #=> String
2798
2852
  #
2799
2853
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild AWS API Documentation
2800
2854
  #
@@ -2849,6 +2903,8 @@ module Aws::CodeBuild
2849
2903
  # resp.build.source.auth.type #=> String, one of "OAUTH"
2850
2904
  # resp.build.source.auth.resource #=> String
2851
2905
  # resp.build.source.report_build_status #=> Boolean
2906
+ # resp.build.source.build_status_config.context #=> String
2907
+ # resp.build.source.build_status_config.target_url #=> String
2852
2908
  # resp.build.source.insecure_ssl #=> Boolean
2853
2909
  # resp.build.source.source_identifier #=> String
2854
2910
  # resp.build.secondary_sources #=> Array
@@ -2860,6 +2916,8 @@ module Aws::CodeBuild
2860
2916
  # resp.build.secondary_sources[0].auth.type #=> String, one of "OAUTH"
2861
2917
  # resp.build.secondary_sources[0].auth.resource #=> String
2862
2918
  # resp.build.secondary_sources[0].report_build_status #=> Boolean
2919
+ # resp.build.secondary_sources[0].build_status_config.context #=> String
2920
+ # resp.build.secondary_sources[0].build_status_config.target_url #=> String
2863
2921
  # resp.build.secondary_sources[0].insecure_ssl #=> Boolean
2864
2922
  # resp.build.secondary_sources[0].source_identifier #=> String
2865
2923
  # resp.build.secondary_source_versions #=> Array
@@ -2882,7 +2940,7 @@ module Aws::CodeBuild
2882
2940
  # resp.build.cache.location #=> String
2883
2941
  # resp.build.cache.modes #=> Array
2884
2942
  # resp.build.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
2885
- # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
2943
+ # resp.build.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
2886
2944
  # resp.build.environment.image #=> String
2887
2945
  # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
2888
2946
  # resp.build.environment.environment_variables #=> Array
@@ -2930,6 +2988,8 @@ module Aws::CodeBuild
2930
2988
  # resp.build.file_system_locations[0].mount_point #=> String
2931
2989
  # resp.build.file_system_locations[0].identifier #=> String
2932
2990
  # resp.build.file_system_locations[0].mount_options #=> String
2991
+ # resp.build.debug_session.session_enabled #=> Boolean
2992
+ # resp.build.debug_session.session_target #=> String
2933
2993
  #
2934
2994
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild AWS API Documentation
2935
2995
  #
@@ -3083,6 +3143,10 @@ module Aws::CodeBuild
3083
3143
  # resource: "String",
3084
3144
  # },
3085
3145
  # report_build_status: false,
3146
+ # build_status_config: {
3147
+ # context: "String",
3148
+ # target_url: "String",
3149
+ # },
3086
3150
  # insecure_ssl: false,
3087
3151
  # source_identifier: "String",
3088
3152
  # },
@@ -3100,6 +3164,10 @@ module Aws::CodeBuild
3100
3164
  # resource: "String",
3101
3165
  # },
3102
3166
  # report_build_status: false,
3167
+ # build_status_config: {
3168
+ # context: "String",
3169
+ # target_url: "String",
3170
+ # },
3103
3171
  # insecure_ssl: false,
3104
3172
  # source_identifier: "String",
3105
3173
  # },
@@ -3141,7 +3209,7 @@ module Aws::CodeBuild
3141
3209
  # modes: ["LOCAL_DOCKER_LAYER_CACHE"], # accepts LOCAL_DOCKER_LAYER_CACHE, LOCAL_SOURCE_CACHE, LOCAL_CUSTOM_CACHE
3142
3210
  # },
3143
3211
  # environment: {
3144
- # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER
3212
+ # type: "WINDOWS_CONTAINER", # required, accepts WINDOWS_CONTAINER, LINUX_CONTAINER, LINUX_GPU_CONTAINER, ARM_CONTAINER, WINDOWS_SERVER_2019_CONTAINER
3145
3213
  # image: "NonEmptyString", # required
3146
3214
  # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE, BUILD_GENERAL1_2XLARGE
3147
3215
  # environment_variables: [
@@ -3211,6 +3279,8 @@ module Aws::CodeBuild
3211
3279
  # resp.project.source.auth.type #=> String, one of "OAUTH"
3212
3280
  # resp.project.source.auth.resource #=> String
3213
3281
  # resp.project.source.report_build_status #=> Boolean
3282
+ # resp.project.source.build_status_config.context #=> String
3283
+ # resp.project.source.build_status_config.target_url #=> String
3214
3284
  # resp.project.source.insecure_ssl #=> Boolean
3215
3285
  # resp.project.source.source_identifier #=> String
3216
3286
  # resp.project.secondary_sources #=> Array
@@ -3222,6 +3292,8 @@ module Aws::CodeBuild
3222
3292
  # resp.project.secondary_sources[0].auth.type #=> String, one of "OAUTH"
3223
3293
  # resp.project.secondary_sources[0].auth.resource #=> String
3224
3294
  # resp.project.secondary_sources[0].report_build_status #=> Boolean
3295
+ # resp.project.secondary_sources[0].build_status_config.context #=> String
3296
+ # resp.project.secondary_sources[0].build_status_config.target_url #=> String
3225
3297
  # resp.project.secondary_sources[0].insecure_ssl #=> Boolean
3226
3298
  # resp.project.secondary_sources[0].source_identifier #=> String
3227
3299
  # resp.project.source_version #=> String
@@ -3251,7 +3323,7 @@ module Aws::CodeBuild
3251
3323
  # resp.project.cache.location #=> String
3252
3324
  # resp.project.cache.modes #=> Array
3253
3325
  # resp.project.cache.modes[0] #=> String, one of "LOCAL_DOCKER_LAYER_CACHE", "LOCAL_SOURCE_CACHE", "LOCAL_CUSTOM_CACHE"
3254
- # resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER"
3326
+ # resp.project.environment.type #=> String, one of "WINDOWS_CONTAINER", "LINUX_CONTAINER", "LINUX_GPU_CONTAINER", "ARM_CONTAINER", "WINDOWS_SERVER_2019_CONTAINER"
3255
3327
  # resp.project.environment.image #=> String
3256
3328
  # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE", "BUILD_GENERAL1_2XLARGE"
3257
3329
  # resp.project.environment.environment_variables #=> Array
@@ -3468,7 +3540,7 @@ module Aws::CodeBuild
3468
3540
  params: params,
3469
3541
  config: config)
3470
3542
  context[:gem_name] = 'aws-sdk-codebuild'
3471
- context[:gem_version] = '1.52.0'
3543
+ context[:gem_version] = '1.57.0'
3472
3544
  Seahorse::Client::Request.new(handlers, context)
3473
3545
  end
3474
3546
 
@@ -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:
@@ -36,6 +38,7 @@ module Aws::CodeBuild
36
38
  BuildPhaseType = Shapes::StringShape.new(name: 'BuildPhaseType')
37
39
  BuildPhases = Shapes::ListShape.new(name: 'BuildPhases')
38
40
  BuildReportArns = Shapes::ListShape.new(name: 'BuildReportArns')
41
+ BuildStatusConfig = Shapes::StructureShape.new(name: 'BuildStatusConfig')
39
42
  Builds = Shapes::ListShape.new(name: 'Builds')
40
43
  BuildsNotDeleted = Shapes::ListShape.new(name: 'BuildsNotDeleted')
41
44
  CacheMode = Shapes::StringShape.new(name: 'CacheMode')
@@ -49,6 +52,7 @@ module Aws::CodeBuild
49
52
  CreateWebhookInput = Shapes::StructureShape.new(name: 'CreateWebhookInput')
50
53
  CreateWebhookOutput = Shapes::StructureShape.new(name: 'CreateWebhookOutput')
51
54
  CredentialProviderType = Shapes::StringShape.new(name: 'CredentialProviderType')
55
+ DebugSession = Shapes::StructureShape.new(name: 'DebugSession')
52
56
  DeleteProjectInput = Shapes::StructureShape.new(name: 'DeleteProjectInput')
53
57
  DeleteProjectOutput = Shapes::StructureShape.new(name: 'DeleteProjectOutput')
54
58
  DeleteReportGroupInput = Shapes::StructureShape.new(name: 'DeleteReportGroupInput')
@@ -269,6 +273,7 @@ module Aws::CodeBuild
269
273
  Build.add_member(:exported_environment_variables, Shapes::ShapeRef.new(shape: ExportedEnvironmentVariables, location_name: "exportedEnvironmentVariables"))
270
274
  Build.add_member(:report_arns, Shapes::ShapeRef.new(shape: BuildReportArns, location_name: "reportArns"))
271
275
  Build.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
276
+ Build.add_member(:debug_session, Shapes::ShapeRef.new(shape: DebugSession, location_name: "debugSession"))
272
277
  Build.struct_class = Types::Build
273
278
 
274
279
  BuildArtifacts.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
@@ -299,6 +304,10 @@ module Aws::CodeBuild
299
304
 
300
305
  BuildReportArns.member = Shapes::ShapeRef.new(shape: String)
301
306
 
307
+ BuildStatusConfig.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
308
+ BuildStatusConfig.add_member(:target_url, Shapes::ShapeRef.new(shape: String, location_name: "targetUrl"))
309
+ BuildStatusConfig.struct_class = Types::BuildStatusConfig
310
+
302
311
  Builds.member = Shapes::ShapeRef.new(shape: Build)
303
312
 
304
313
  BuildsNotDeleted.member = Shapes::ShapeRef.new(shape: BuildNotDeleted)
@@ -349,6 +358,10 @@ module Aws::CodeBuild
349
358
  CreateWebhookOutput.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
350
359
  CreateWebhookOutput.struct_class = Types::CreateWebhookOutput
351
360
 
361
+ DebugSession.add_member(:session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "sessionEnabled"))
362
+ DebugSession.add_member(:session_target, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "sessionTarget"))
363
+ DebugSession.struct_class = Types::DebugSession
364
+
352
365
  DeleteProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
353
366
  DeleteProjectInput.struct_class = Types::DeleteProjectInput
354
367
 
@@ -648,6 +661,7 @@ module Aws::CodeBuild
648
661
  ProjectSource.add_member(:buildspec, Shapes::ShapeRef.new(shape: String, location_name: "buildspec"))
649
662
  ProjectSource.add_member(:auth, Shapes::ShapeRef.new(shape: SourceAuth, location_name: "auth"))
650
663
  ProjectSource.add_member(:report_build_status, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "reportBuildStatus"))
664
+ ProjectSource.add_member(:build_status_config, Shapes::ShapeRef.new(shape: BuildStatusConfig, location_name: "buildStatusConfig"))
651
665
  ProjectSource.add_member(:insecure_ssl, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "insecureSsl"))
652
666
  ProjectSource.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, location_name: "sourceIdentifier"))
653
667
  ProjectSource.struct_class = Types::ProjectSource
@@ -755,6 +769,7 @@ module Aws::CodeBuild
755
769
  StartBuildInput.add_member(:buildspec_override, Shapes::ShapeRef.new(shape: String, location_name: "buildspecOverride"))
756
770
  StartBuildInput.add_member(:insecure_ssl_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "insecureSslOverride"))
757
771
  StartBuildInput.add_member(:report_build_status_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "reportBuildStatusOverride"))
772
+ StartBuildInput.add_member(:build_status_config_override, Shapes::ShapeRef.new(shape: BuildStatusConfig, location_name: "buildStatusConfigOverride"))
758
773
  StartBuildInput.add_member(:environment_type_override, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentTypeOverride"))
759
774
  StartBuildInput.add_member(:image_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "imageOverride"))
760
775
  StartBuildInput.add_member(:compute_type_override, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeTypeOverride"))
@@ -769,6 +784,7 @@ module Aws::CodeBuild
769
784
  StartBuildInput.add_member(:logs_config_override, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfigOverride"))
770
785
  StartBuildInput.add_member(:registry_credential_override, Shapes::ShapeRef.new(shape: RegistryCredential, location_name: "registryCredentialOverride"))
771
786
  StartBuildInput.add_member(:image_pull_credentials_type_override, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsTypeOverride"))
787
+ StartBuildInput.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
772
788
  StartBuildInput.struct_class = Types::StartBuildInput
773
789
 
774
790
  StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
@@ -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:
@@ -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: