aws-sdk-codebuild 1.113.0 → 1.115.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +34 -6
- data/lib/aws-sdk-codebuild/client_api.rb +8 -5
- data/lib/aws-sdk-codebuild/types.rb +56 -13
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce0ee7df311ee2a2fa73383c0b7810914bdec11593a02350ebccae40d95d5104
|
4
|
+
data.tar.gz: f4811ad014eef2dcf7e7b40948589bfe37599496549d285e72fb6382857995ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6ac3416453d3dc997e6856002fd143ed734c0d4ab1bf78ec7a4f36650b0908bfcc419c5f0fca942f30b68c06a85c778bd886dcb9be134b2f0d2a01c1044f895
|
7
|
+
data.tar.gz: ee43339778c0090b16a80faef26675109cad827362e3f97d690f9652bcd90d7b2fd7a24e4e306bc3bc996c9684816f7db729e263ca68999b34bfc30e40d7fe5d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.115.0 (2024-05-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS CodeBuild now supports manually creating GitHub webhooks
|
8
|
+
|
9
|
+
1.114.0 (2024-05-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Aws CodeBuild now supports 36 hours build timeout
|
13
|
+
|
4
14
|
1.113.0 (2024-05-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.115.0
|
@@ -942,6 +942,7 @@ module Aws::CodeBuild
|
|
942
942
|
# resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
|
943
943
|
# resp.projects[0].webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
944
944
|
# resp.projects[0].webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
945
|
+
# resp.projects[0].webhook.manual_creation #=> Boolean
|
945
946
|
# resp.projects[0].webhook.last_modified_secret #=> Time
|
946
947
|
# resp.projects[0].vpc_config.vpc_id #=> String
|
947
948
|
# resp.projects[0].vpc_config.subnets #=> Array
|
@@ -1216,7 +1217,13 @@ module Aws::CodeBuild
|
|
1216
1217
|
# Information about the VPC configuration that CodeBuild accesses.
|
1217
1218
|
#
|
1218
1219
|
# @option params [String] :fleet_service_role
|
1219
|
-
# The service role associated with the compute fleet.
|
1220
|
+
# The service role associated with the compute fleet. For more
|
1221
|
+
# information, see [ Allow a user to add a permission policy for a fleet
|
1222
|
+
# service role][1] in the *CodeBuild User Guide*.
|
1223
|
+
#
|
1224
|
+
#
|
1225
|
+
#
|
1226
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html
|
1220
1227
|
#
|
1221
1228
|
# @option params [Array<Types::Tag>] :tags
|
1222
1229
|
# A list of tag key and value pairs associated with this compute fleet.
|
@@ -1372,7 +1379,7 @@ module Aws::CodeBuild
|
|
1372
1379
|
# Services account.
|
1373
1380
|
#
|
1374
1381
|
# @option params [Integer] :timeout_in_minutes
|
1375
|
-
# How long, in minutes, from 5 to
|
1382
|
+
# How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait
|
1376
1383
|
# before it times out any build that has not been marked as completed.
|
1377
1384
|
# The default is 60 minutes.
|
1378
1385
|
#
|
@@ -1686,6 +1693,7 @@ module Aws::CodeBuild
|
|
1686
1693
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
1687
1694
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1688
1695
|
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1696
|
+
# resp.project.webhook.manual_creation #=> Boolean
|
1689
1697
|
# resp.project.webhook.last_modified_secret #=> Time
|
1690
1698
|
# resp.project.vpc_config.vpc_id #=> String
|
1691
1699
|
# resp.project.vpc_config.subnets #=> Array
|
@@ -1847,6 +1855,16 @@ module Aws::CodeBuild
|
|
1847
1855
|
# @option params [String] :build_type
|
1848
1856
|
# Specifies the type of build this webhook will trigger.
|
1849
1857
|
#
|
1858
|
+
# @option params [Boolean] :manual_creation
|
1859
|
+
# If manualCreation is true, CodeBuild doesn't create a webhook in
|
1860
|
+
# GitHub and instead returns `payloadUrl` and `secret` values for the
|
1861
|
+
# webhook. The `payloadUrl` and `secret` values in the output can be
|
1862
|
+
# used to manually create a webhook within GitHub.
|
1863
|
+
#
|
1864
|
+
# <note markdown="1"> manualCreation is only available for GitHub webhooks.
|
1865
|
+
#
|
1866
|
+
# </note>
|
1867
|
+
#
|
1850
1868
|
# @return [Types::CreateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1851
1869
|
#
|
1852
1870
|
# * {Types::CreateWebhookOutput#webhook #webhook} => Types::Webhook
|
@@ -1866,6 +1884,7 @@ module Aws::CodeBuild
|
|
1866
1884
|
# ],
|
1867
1885
|
# ],
|
1868
1886
|
# build_type: "BUILD", # accepts BUILD, BUILD_BATCH
|
1887
|
+
# manual_creation: false,
|
1869
1888
|
# })
|
1870
1889
|
#
|
1871
1890
|
# @example Response structure
|
@@ -1880,6 +1899,7 @@ module Aws::CodeBuild
|
|
1880
1899
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
1881
1900
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
1882
1901
|
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
1902
|
+
# resp.webhook.manual_creation #=> Boolean
|
1883
1903
|
# resp.webhook.last_modified_secret #=> Time
|
1884
1904
|
#
|
1885
1905
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
|
@@ -3733,7 +3753,7 @@ module Aws::CodeBuild
|
|
3733
3753
|
# Enable this flag to override privileged mode in the build project.
|
3734
3754
|
#
|
3735
3755
|
# @option params [Integer] :timeout_in_minutes_override
|
3736
|
-
# The number of build timeout minutes, from 5 to
|
3756
|
+
# The number of build timeout minutes, from 5 to 2160 (36 hours), that
|
3737
3757
|
# overrides, for this build only, the latest setting already defined in
|
3738
3758
|
# the build project.
|
3739
3759
|
#
|
@@ -4986,7 +5006,13 @@ module Aws::CodeBuild
|
|
4986
5006
|
# Information about the VPC configuration that CodeBuild accesses.
|
4987
5007
|
#
|
4988
5008
|
# @option params [String] :fleet_service_role
|
4989
|
-
# The service role associated with the compute fleet.
|
5009
|
+
# The service role associated with the compute fleet. For more
|
5010
|
+
# information, see [ Allow a user to add a permission policy for a fleet
|
5011
|
+
# service role][1] in the *CodeBuild User Guide*.
|
5012
|
+
#
|
5013
|
+
#
|
5014
|
+
#
|
5015
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html
|
4990
5016
|
#
|
4991
5017
|
# @option params [Array<Types::Tag>] :tags
|
4992
5018
|
# A list of tag key and value pairs associated with this compute fleet.
|
@@ -5148,7 +5174,7 @@ module Aws::CodeBuild
|
|
5148
5174
|
# Web Services account.
|
5149
5175
|
#
|
5150
5176
|
# @option params [Integer] :timeout_in_minutes
|
5151
|
-
# The replacement value in minutes, from 5 to
|
5177
|
+
# The replacement value in minutes, from 5 to 2160 (36 hours), for
|
5152
5178
|
# CodeBuild to wait before timing out any related build that did not get
|
5153
5179
|
# marked as completed.
|
5154
5180
|
#
|
@@ -5459,6 +5485,7 @@ module Aws::CodeBuild
|
|
5459
5485
|
# resp.project.webhook.filter_groups[0][0].pattern #=> String
|
5460
5486
|
# resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
5461
5487
|
# resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
5488
|
+
# resp.project.webhook.manual_creation #=> Boolean
|
5462
5489
|
# resp.project.webhook.last_modified_secret #=> Time
|
5463
5490
|
# resp.project.vpc_config.vpc_id #=> String
|
5464
5491
|
# resp.project.vpc_config.subnets #=> Array
|
@@ -5727,6 +5754,7 @@ module Aws::CodeBuild
|
|
5727
5754
|
# resp.webhook.filter_groups[0][0].pattern #=> String
|
5728
5755
|
# resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
|
5729
5756
|
# resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
|
5757
|
+
# resp.webhook.manual_creation #=> Boolean
|
5730
5758
|
# resp.webhook.last_modified_secret #=> Time
|
5731
5759
|
#
|
5732
5760
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
|
@@ -5751,7 +5779,7 @@ module Aws::CodeBuild
|
|
5751
5779
|
params: params,
|
5752
5780
|
config: config)
|
5753
5781
|
context[:gem_name] = 'aws-sdk-codebuild'
|
5754
|
-
context[:gem_version] = '1.
|
5782
|
+
context[:gem_version] = '1.115.0'
|
5755
5783
|
Seahorse::Client::Request.new(handlers, context)
|
5756
5784
|
end
|
5757
5785
|
|
@@ -57,6 +57,7 @@ module Aws::CodeBuild
|
|
57
57
|
BuildStatusConfig = Shapes::StructureShape.new(name: 'BuildStatusConfig')
|
58
58
|
BuildSummaries = Shapes::ListShape.new(name: 'BuildSummaries')
|
59
59
|
BuildSummary = Shapes::StructureShape.new(name: 'BuildSummary')
|
60
|
+
BuildTimeOut = Shapes::IntegerShape.new(name: 'BuildTimeOut')
|
60
61
|
Builds = Shapes::ListShape.new(name: 'Builds')
|
61
62
|
BuildsNotDeleted = Shapes::ListShape.new(name: 'BuildsNotDeleted')
|
62
63
|
CacheMode = Shapes::StringShape.new(name: 'CacheMode')
|
@@ -538,7 +539,7 @@ module Aws::CodeBuild
|
|
538
539
|
CreateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
539
540
|
CreateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, required: true, location_name: "environment"))
|
540
541
|
CreateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "serviceRole"))
|
541
|
-
CreateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape:
|
542
|
+
CreateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "timeoutInMinutes"))
|
542
543
|
CreateProjectInput.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
|
543
544
|
CreateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
544
545
|
CreateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
@@ -566,6 +567,7 @@ module Aws::CodeBuild
|
|
566
567
|
CreateWebhookInput.add_member(:branch_filter, Shapes::ShapeRef.new(shape: String, location_name: "branchFilter"))
|
567
568
|
CreateWebhookInput.add_member(:filter_groups, Shapes::ShapeRef.new(shape: FilterGroups, location_name: "filterGroups"))
|
568
569
|
CreateWebhookInput.add_member(:build_type, Shapes::ShapeRef.new(shape: WebhookBuildType, location_name: "buildType"))
|
570
|
+
CreateWebhookInput.add_member(:manual_creation, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "manualCreation"))
|
569
571
|
CreateWebhookInput.struct_class = Types::CreateWebhookInput
|
570
572
|
|
571
573
|
CreateWebhookOutput.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
|
@@ -901,7 +903,7 @@ module Aws::CodeBuild
|
|
901
903
|
Project.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
902
904
|
Project.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
|
903
905
|
Project.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
|
904
|
-
Project.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape:
|
906
|
+
Project.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "timeoutInMinutes"))
|
905
907
|
Project.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
|
906
908
|
Project.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
907
909
|
Project.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
@@ -1151,7 +1153,7 @@ module Aws::CodeBuild
|
|
1151
1153
|
StartBuildBatchInput.add_member(:cache_override, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cacheOverride"))
|
1152
1154
|
StartBuildBatchInput.add_member(:service_role_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRoleOverride"))
|
1153
1155
|
StartBuildBatchInput.add_member(:privileged_mode_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedModeOverride"))
|
1154
|
-
StartBuildBatchInput.add_member(:build_timeout_in_minutes_override, Shapes::ShapeRef.new(shape:
|
1156
|
+
StartBuildBatchInput.add_member(:build_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "buildTimeoutInMinutesOverride"))
|
1155
1157
|
StartBuildBatchInput.add_member(:queued_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutesOverride"))
|
1156
1158
|
StartBuildBatchInput.add_member(:encryption_key_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKeyOverride"))
|
1157
1159
|
StartBuildBatchInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "idempotencyToken"))
|
@@ -1188,7 +1190,7 @@ module Aws::CodeBuild
|
|
1188
1190
|
StartBuildInput.add_member(:cache_override, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cacheOverride"))
|
1189
1191
|
StartBuildInput.add_member(:service_role_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRoleOverride"))
|
1190
1192
|
StartBuildInput.add_member(:privileged_mode_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedModeOverride"))
|
1191
|
-
StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape:
|
1193
|
+
StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "timeoutInMinutesOverride"))
|
1192
1194
|
StartBuildInput.add_member(:queued_timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutesOverride"))
|
1193
1195
|
StartBuildInput.add_member(:encryption_key_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKeyOverride"))
|
1194
1196
|
StartBuildInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "idempotencyToken"))
|
@@ -1274,7 +1276,7 @@ module Aws::CodeBuild
|
|
1274
1276
|
UpdateProjectInput.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
|
1275
1277
|
UpdateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
|
1276
1278
|
UpdateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
|
1277
|
-
UpdateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape:
|
1279
|
+
UpdateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: BuildTimeOut, location_name: "timeoutInMinutes"))
|
1278
1280
|
UpdateProjectInput.add_member(:queued_timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "queuedTimeoutInMinutes"))
|
1279
1281
|
UpdateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
|
1280
1282
|
UpdateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
@@ -1328,6 +1330,7 @@ module Aws::CodeBuild
|
|
1328
1330
|
Webhook.add_member(:branch_filter, Shapes::ShapeRef.new(shape: String, location_name: "branchFilter"))
|
1329
1331
|
Webhook.add_member(:filter_groups, Shapes::ShapeRef.new(shape: FilterGroups, location_name: "filterGroups"))
|
1330
1332
|
Webhook.add_member(:build_type, Shapes::ShapeRef.new(shape: WebhookBuildType, location_name: "buildType"))
|
1333
|
+
Webhook.add_member(:manual_creation, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "manualCreation"))
|
1331
1334
|
Webhook.add_member(:last_modified_secret, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedSecret"))
|
1332
1335
|
Webhook.struct_class = Types::Webhook
|
1333
1336
|
|
@@ -388,8 +388,9 @@ module Aws::CodeBuild
|
|
388
388
|
# @return [Types::LogsLocation]
|
389
389
|
#
|
390
390
|
# @!attribute [rw] timeout_in_minutes
|
391
|
-
# How long, in minutes, from 5 to
|
392
|
-
# before timing out this build if it does not get marked as
|
391
|
+
# How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to
|
392
|
+
# wait before timing out this build if it does not get marked as
|
393
|
+
# completed.
|
393
394
|
# @return [Integer]
|
394
395
|
#
|
395
396
|
# @!attribute [rw] queued_timeout_in_minutes
|
@@ -1526,7 +1527,13 @@ module Aws::CodeBuild
|
|
1526
1527
|
# @return [Types::VpcConfig]
|
1527
1528
|
#
|
1528
1529
|
# @!attribute [rw] fleet_service_role
|
1529
|
-
# The service role associated with the compute fleet.
|
1530
|
+
# The service role associated with the compute fleet. For more
|
1531
|
+
# information, see [ Allow a user to add a permission policy for a
|
1532
|
+
# fleet service role][1] in the *CodeBuild User Guide*.
|
1533
|
+
#
|
1534
|
+
#
|
1535
|
+
#
|
1536
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html
|
1530
1537
|
# @return [String]
|
1531
1538
|
#
|
1532
1539
|
# @!attribute [rw] tags
|
@@ -1649,9 +1656,9 @@ module Aws::CodeBuild
|
|
1649
1656
|
# @return [String]
|
1650
1657
|
#
|
1651
1658
|
# @!attribute [rw] timeout_in_minutes
|
1652
|
-
# How long, in minutes, from 5 to
|
1653
|
-
# before it times out any build that has not been marked as
|
1654
|
-
# The default is 60 minutes.
|
1659
|
+
# How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to
|
1660
|
+
# wait before it times out any build that has not been marked as
|
1661
|
+
# completed. The default is 60 minutes.
|
1655
1662
|
# @return [Integer]
|
1656
1663
|
#
|
1657
1664
|
# @!attribute [rw] queued_timeout_in_minutes
|
@@ -1834,13 +1841,25 @@ module Aws::CodeBuild
|
|
1834
1841
|
# Specifies the type of build this webhook will trigger.
|
1835
1842
|
# @return [String]
|
1836
1843
|
#
|
1844
|
+
# @!attribute [rw] manual_creation
|
1845
|
+
# If manualCreation is true, CodeBuild doesn't create a webhook in
|
1846
|
+
# GitHub and instead returns `payloadUrl` and `secret` values for the
|
1847
|
+
# webhook. The `payloadUrl` and `secret` values in the output can be
|
1848
|
+
# used to manually create a webhook within GitHub.
|
1849
|
+
#
|
1850
|
+
# <note markdown="1"> manualCreation is only available for GitHub webhooks.
|
1851
|
+
#
|
1852
|
+
# </note>
|
1853
|
+
# @return [Boolean]
|
1854
|
+
#
|
1837
1855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput AWS API Documentation
|
1838
1856
|
#
|
1839
1857
|
class CreateWebhookInput < Struct.new(
|
1840
1858
|
:project_name,
|
1841
1859
|
:branch_filter,
|
1842
1860
|
:filter_groups,
|
1843
|
-
:build_type
|
1861
|
+
:build_type,
|
1862
|
+
:manual_creation)
|
1844
1863
|
SENSITIVE = []
|
1845
1864
|
include Aws::Structure
|
1846
1865
|
end
|
@@ -2497,7 +2516,13 @@ module Aws::CodeBuild
|
|
2497
2516
|
# @return [Types::VpcConfig]
|
2498
2517
|
#
|
2499
2518
|
# @!attribute [rw] fleet_service_role
|
2500
|
-
# The service role associated with the compute fleet.
|
2519
|
+
# The service role associated with the compute fleet. For more
|
2520
|
+
# information, see [ Allow a user to add a permission policy for a
|
2521
|
+
# fleet service role][1] in the *CodeBuild User Guide*.
|
2522
|
+
#
|
2523
|
+
#
|
2524
|
+
#
|
2525
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html
|
2501
2526
|
# @return [String]
|
2502
2527
|
#
|
2503
2528
|
# @!attribute [rw] tags
|
@@ -3749,8 +3774,8 @@ module Aws::CodeBuild
|
|
3749
3774
|
# @return [String]
|
3750
3775
|
#
|
3751
3776
|
# @!attribute [rw] timeout_in_minutes
|
3752
|
-
# How long, in minutes, from 5 to
|
3753
|
-
# before timing out any related build that did not get marked as
|
3777
|
+
# How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to
|
3778
|
+
# wait before timing out any related build that did not get marked as
|
3754
3779
|
# completed. The default is 60 minutes.
|
3755
3780
|
# @return [Integer]
|
3756
3781
|
#
|
@@ -5984,7 +6009,7 @@ module Aws::CodeBuild
|
|
5984
6009
|
# @return [Boolean]
|
5985
6010
|
#
|
5986
6011
|
# @!attribute [rw] timeout_in_minutes_override
|
5987
|
-
# The number of build timeout minutes, from 5 to
|
6012
|
+
# The number of build timeout minutes, from 5 to 2160 (36 hours), that
|
5988
6013
|
# overrides, for this build only, the latest setting already defined
|
5989
6014
|
# in the build project.
|
5990
6015
|
# @return [Integer]
|
@@ -6446,7 +6471,13 @@ module Aws::CodeBuild
|
|
6446
6471
|
# @return [Types::VpcConfig]
|
6447
6472
|
#
|
6448
6473
|
# @!attribute [rw] fleet_service_role
|
6449
|
-
# The service role associated with the compute fleet.
|
6474
|
+
# The service role associated with the compute fleet. For more
|
6475
|
+
# information, see [ Allow a user to add a permission policy for a
|
6476
|
+
# fleet service role][1] in the *CodeBuild User Guide*.
|
6477
|
+
#
|
6478
|
+
#
|
6479
|
+
#
|
6480
|
+
# [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html
|
6450
6481
|
# @return [String]
|
6451
6482
|
#
|
6452
6483
|
# @!attribute [rw] tags
|
@@ -6575,7 +6606,7 @@ module Aws::CodeBuild
|
|
6575
6606
|
# @return [String]
|
6576
6607
|
#
|
6577
6608
|
# @!attribute [rw] timeout_in_minutes
|
6578
|
-
# The replacement value in minutes, from 5 to
|
6609
|
+
# The replacement value in minutes, from 5 to 2160 (36 hours), for
|
6579
6610
|
# CodeBuild to wait before timing out any related build that did not
|
6580
6611
|
# get marked as completed.
|
6581
6612
|
# @return [Integer]
|
@@ -6914,6 +6945,17 @@ module Aws::CodeBuild
|
|
6914
6945
|
# Specifies the type of build this webhook will trigger.
|
6915
6946
|
# @return [String]
|
6916
6947
|
#
|
6948
|
+
# @!attribute [rw] manual_creation
|
6949
|
+
# If manualCreation is true, CodeBuild doesn't create a webhook in
|
6950
|
+
# GitHub and instead returns `payloadUrl` and `secret` values for the
|
6951
|
+
# webhook. The `payloadUrl` and `secret` values in the output can be
|
6952
|
+
# used to manually create a webhook within GitHub.
|
6953
|
+
#
|
6954
|
+
# <note markdown="1"> manualCreation is only available for GitHub webhooks.
|
6955
|
+
#
|
6956
|
+
# </note>
|
6957
|
+
# @return [Boolean]
|
6958
|
+
#
|
6917
6959
|
# @!attribute [rw] last_modified_secret
|
6918
6960
|
# A timestamp that indicates the last time a repository's secret
|
6919
6961
|
# token was modified.
|
@@ -6928,6 +6970,7 @@ module Aws::CodeBuild
|
|
6928
6970
|
:branch_filter,
|
6929
6971
|
:filter_groups,
|
6930
6972
|
:build_type,
|
6973
|
+
:manual_creation,
|
6931
6974
|
:last_modified_secret)
|
6932
6975
|
SENSITIVE = []
|
6933
6976
|
include Aws::Structure
|
data/lib/aws-sdk-codebuild.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -393,7 +393,8 @@ module Aws
|
|
393
393
|
},
|
394
394
|
],
|
395
395
|
],
|
396
|
-
?build_type: ("BUILD" | "BUILD_BATCH")
|
396
|
+
?build_type: ("BUILD" | "BUILD_BATCH"),
|
397
|
+
?manual_creation: bool
|
397
398
|
) -> _CreateWebhookResponseSuccess
|
398
399
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebhookResponseSuccess
|
399
400
|
|
data/sig/types.rbs
CHANGED
@@ -327,6 +327,7 @@ module Aws::CodeBuild
|
|
327
327
|
attr_accessor branch_filter: ::String
|
328
328
|
attr_accessor filter_groups: ::Array[::Array[Types::WebhookFilter]]
|
329
329
|
attr_accessor build_type: ("BUILD" | "BUILD_BATCH")
|
330
|
+
attr_accessor manual_creation: bool
|
330
331
|
SENSITIVE: []
|
331
332
|
end
|
332
333
|
|
@@ -1261,6 +1262,7 @@ module Aws::CodeBuild
|
|
1261
1262
|
attr_accessor branch_filter: ::String
|
1262
1263
|
attr_accessor filter_groups: ::Array[::Array[Types::WebhookFilter]]
|
1263
1264
|
attr_accessor build_type: ("BUILD" | "BUILD_BATCH")
|
1265
|
+
attr_accessor manual_creation: bool
|
1264
1266
|
attr_accessor last_modified_secret: ::Time
|
1265
1267
|
SENSITIVE: []
|
1266
1268
|
end
|
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.
|
4
|
+
version: 1.115.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: 2024-05-
|
11
|
+
date: 2024-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|