aws-sdk-codebuild 1.114.0 → 1.115.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75591482384a8f908fdda2c29855eb315d572999e56ddbb56229b9b91eca3b01
4
- data.tar.gz: 82de6fff579f37e9e931e22509967074c7fa974182e61c3e74084eb4b7238cf1
3
+ metadata.gz: ce0ee7df311ee2a2fa73383c0b7810914bdec11593a02350ebccae40d95d5104
4
+ data.tar.gz: f4811ad014eef2dcf7e7b40948589bfe37599496549d285e72fb6382857995ee
5
5
  SHA512:
6
- metadata.gz: f9f490cab650e59287ce5beaf0c53be142b40cc96bae2a0e9180a289501fad056335229c4095586dfae90408c1c0920b912f3cda9fc8d7da2592b2dce7e15d51
7
- data.tar.gz: f0ef20b6d9d30219faab3b08ae2d92125a8e7740f27cc03dae1e5ea36ee58ef90372557f71ae0b1ed2ad8df41eac3c835a13da98d0806d6b5f21aa3bec724256
6
+ metadata.gz: d6ac3416453d3dc997e6856002fd143ed734c0d4ab1bf78ec7a4f36650b0908bfcc419c5f0fca942f30b68c06a85c778bd886dcb9be134b2f0d2a01c1044f895
7
+ data.tar.gz: ee43339778c0090b16a80faef26675109cad827362e3f97d690f9652bcd90d7b2fd7a24e4e306bc3bc996c9684816f7db729e263ca68999b34bfc30e40d7fe5d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.114.0 (2024-05-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
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.
@@ -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
@@ -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.
@@ -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.114.0'
5782
+ context[:gem_version] = '1.115.0'
5755
5783
  Seahorse::Client::Request.new(handlers, context)
5756
5784
  end
5757
5785
 
@@ -567,6 +567,7 @@ module Aws::CodeBuild
567
567
  CreateWebhookInput.add_member(:branch_filter, Shapes::ShapeRef.new(shape: String, location_name: "branchFilter"))
568
568
  CreateWebhookInput.add_member(:filter_groups, Shapes::ShapeRef.new(shape: FilterGroups, location_name: "filterGroups"))
569
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"))
570
571
  CreateWebhookInput.struct_class = Types::CreateWebhookInput
571
572
 
572
573
  CreateWebhookOutput.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
@@ -1329,6 +1330,7 @@ module Aws::CodeBuild
1329
1330
  Webhook.add_member(:branch_filter, Shapes::ShapeRef.new(shape: String, location_name: "branchFilter"))
1330
1331
  Webhook.add_member(:filter_groups, Shapes::ShapeRef.new(shape: FilterGroups, location_name: "filterGroups"))
1331
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"))
1332
1334
  Webhook.add_member(:last_modified_secret, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedSecret"))
1333
1335
  Webhook.struct_class = Types::Webhook
1334
1336
 
@@ -1527,7 +1527,13 @@ module Aws::CodeBuild
1527
1527
  # @return [Types::VpcConfig]
1528
1528
  #
1529
1529
  # @!attribute [rw] fleet_service_role
1530
- # 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
1531
1537
  # @return [String]
1532
1538
  #
1533
1539
  # @!attribute [rw] tags
@@ -1835,13 +1841,25 @@ module Aws::CodeBuild
1835
1841
  # Specifies the type of build this webhook will trigger.
1836
1842
  # @return [String]
1837
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
+ #
1838
1855
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput AWS API Documentation
1839
1856
  #
1840
1857
  class CreateWebhookInput < Struct.new(
1841
1858
  :project_name,
1842
1859
  :branch_filter,
1843
1860
  :filter_groups,
1844
- :build_type)
1861
+ :build_type,
1862
+ :manual_creation)
1845
1863
  SENSITIVE = []
1846
1864
  include Aws::Structure
1847
1865
  end
@@ -2498,7 +2516,13 @@ module Aws::CodeBuild
2498
2516
  # @return [Types::VpcConfig]
2499
2517
  #
2500
2518
  # @!attribute [rw] fleet_service_role
2501
- # 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
2502
2526
  # @return [String]
2503
2527
  #
2504
2528
  # @!attribute [rw] tags
@@ -6447,7 +6471,13 @@ module Aws::CodeBuild
6447
6471
  # @return [Types::VpcConfig]
6448
6472
  #
6449
6473
  # @!attribute [rw] fleet_service_role
6450
- # 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
6451
6481
  # @return [String]
6452
6482
  #
6453
6483
  # @!attribute [rw] tags
@@ -6915,6 +6945,17 @@ module Aws::CodeBuild
6915
6945
  # Specifies the type of build this webhook will trigger.
6916
6946
  # @return [String]
6917
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
+ #
6918
6959
  # @!attribute [rw] last_modified_secret
6919
6960
  # A timestamp that indicates the last time a repository's secret
6920
6961
  # token was modified.
@@ -6929,6 +6970,7 @@ module Aws::CodeBuild
6929
6970
  :branch_filter,
6930
6971
  :filter_groups,
6931
6972
  :build_type,
6973
+ :manual_creation,
6932
6974
  :last_modified_secret)
6933
6975
  SENSITIVE = []
6934
6976
  include Aws::Structure
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codebuild/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeBuild
54
54
 
55
- GEM_VERSION = '1.114.0'
55
+ GEM_VERSION = '1.115.0'
56
56
 
57
57
  end
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.114.0
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-17 00:00:00.000000000 Z
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