aws-sdk-codebuild 1.114.0 → 1.116.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: 75591482384a8f908fdda2c29855eb315d572999e56ddbb56229b9b91eca3b01
4
- data.tar.gz: 82de6fff579f37e9e931e22509967074c7fa974182e61c3e74084eb4b7238cf1
3
+ metadata.gz: 9298db480c6f7180d10759a51fdd013606a0ddc89725bcafb3e9be57a4219dd8
4
+ data.tar.gz: ce80831bc8776be7b6b5eeb465e15d4b8f9726ecdf7b97ad59a0e194b845fc81
5
5
  SHA512:
6
- metadata.gz: f9f490cab650e59287ce5beaf0c53be142b40cc96bae2a0e9180a289501fad056335229c4095586dfae90408c1c0920b912f3cda9fc8d7da2592b2dce7e15d51
7
- data.tar.gz: f0ef20b6d9d30219faab3b08ae2d92125a8e7740f27cc03dae1e5ea36ee58ef90372557f71ae0b1ed2ad8df41eac3c835a13da98d0806d6b5f21aa3bec724256
6
+ metadata.gz: 3269ece8ba791a8804d81a5cb8f0ce704a784dec04f3a9ca4ee06666d804ea195b63c568144984604bb201192415d385283565f813490555a55038b9c01e779e
7
+ data.tar.gz: c7f35943c10d4f5210a2bbdc68aca1835ea49d55690fe7c0fd029af5f2b3561e0814cd9541087efd18e2cd74bac36027cfba037408d61ddc99376bed2492b430
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.116.0 (2024-05-31)
5
+ ------------------
6
+
7
+ * Feature - AWS CodeBuild now supports Self-hosted GitHub Actions runners for Github Enterprise
8
+
9
+ 1.115.0 (2024-05-29)
10
+ ------------------
11
+
12
+ * Feature - AWS CodeBuild now supports manually creating GitHub webhooks
13
+
4
14
  1.114.0 (2024-05-17)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.114.0
1
+ 1.116.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.116.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
@@ -6952,9 +6994,9 @@ module Aws::CodeBuild
6952
6994
  # PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED` filters all push,
6953
6995
  # pull request created, and pull request updated events.
6954
6996
  #
6955
- # <note markdown="1"> The `PULL_REQUEST_REOPENED` works with GitHub and GitHub
6956
- # Enterprise only. The `RELEASED`, `PRERELEASED`, and
6957
- # `WORKFLOW_JOB_QUEUED` work with GitHub only.
6997
+ # <note markdown="1"> Types `PULL_REQUEST_REOPENED` and `WORKFLOW_JOB_QUEUED` work
6998
+ # with GitHub and GitHub Enterprise only. Types `RELEASED` and
6999
+ # `PRERELEASED` work with GitHub only.
6958
7000
  #
6959
7001
  # </note>
6960
7002
  #
@@ -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.116.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.116.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-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core