aws-sdk-codebuild 1.6.0 → 1.7.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 +4 -4
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/lib/aws-sdk-codebuild/client.rb +66 -6
- data/lib/aws-sdk-codebuild/client_api.rb +24 -0
- data/lib/aws-sdk-codebuild/types.rb +95 -24
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a94e2e4e3f788ad0097ca831418cc005bb7515e
|
4
|
+
data.tar.gz: dcb00da1a7a4c68e9f946232d494142da82c66dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d4b89e933288107371fa45bb3f74254fdb9fa481922103bc0b4f220160b2d515ca3f780cad7de828e1efabf95474af9cde76477ed63aa16ce224040c7b93e0
|
7
|
+
data.tar.gz: 70f28cc0ac3c3673f1b369c747f1dcec0ef4c9ab8fa7fdedd89dbb6aa0de0a46441fad5e92c7ff6b334a382f0755c112edda7f1c707f6cc40a14e3a3d30041e0
|
data/lib/aws-sdk-codebuild.rb
CHANGED
@@ -580,6 +580,8 @@ module Aws::CodeBuild
|
|
580
580
|
# resp.projects[0].webhook.url #=> String
|
581
581
|
# resp.projects[0].webhook.payload_url #=> String
|
582
582
|
# resp.projects[0].webhook.secret #=> String
|
583
|
+
# resp.projects[0].webhook.branch_filter #=> String
|
584
|
+
# resp.projects[0].webhook.last_modified_secret #=> Time
|
583
585
|
# resp.projects[0].vpc_config.vpc_id #=> String
|
584
586
|
# resp.projects[0].vpc_config.subnets #=> Array
|
585
587
|
# resp.projects[0].vpc_config.subnets[0] #=> String
|
@@ -753,6 +755,8 @@ module Aws::CodeBuild
|
|
753
755
|
# resp.project.webhook.url #=> String
|
754
756
|
# resp.project.webhook.payload_url #=> String
|
755
757
|
# resp.project.webhook.secret #=> String
|
758
|
+
# resp.project.webhook.branch_filter #=> String
|
759
|
+
# resp.project.webhook.last_modified_secret #=> Time
|
756
760
|
# resp.project.vpc_config.vpc_id #=> String
|
757
761
|
# resp.project.vpc_config.subnets #=> Array
|
758
762
|
# resp.project.vpc_config.subnets[0] #=> String
|
@@ -790,7 +794,13 @@ module Aws::CodeBuild
|
|
790
794
|
# [1]: http://docs.aws.amazon.com/codebuild/latest/userguide/change-project.html#change-project-console
|
791
795
|
#
|
792
796
|
# @option params [required, String] :project_name
|
793
|
-
# The name of the
|
797
|
+
# The name of the AWS CodeBuild project.
|
798
|
+
#
|
799
|
+
# @option params [String] :branch_filter
|
800
|
+
# A regular expression used to determine which branches in a repository
|
801
|
+
# are built when a webhook is triggered. If the name of a branch matches
|
802
|
+
# the regular expression, then it is built. If it doesn't match, then
|
803
|
+
# it is not. If branchFilter is empty, then all branches are built.
|
794
804
|
#
|
795
805
|
# @return [Types::CreateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
796
806
|
#
|
@@ -800,6 +810,7 @@ module Aws::CodeBuild
|
|
800
810
|
#
|
801
811
|
# resp = client.create_webhook({
|
802
812
|
# project_name: "ProjectName", # required
|
813
|
+
# branch_filter: "String",
|
803
814
|
# })
|
804
815
|
#
|
805
816
|
# @example Response structure
|
@@ -807,6 +818,8 @@ module Aws::CodeBuild
|
|
807
818
|
# resp.webhook.url #=> String
|
808
819
|
# resp.webhook.payload_url #=> String
|
809
820
|
# resp.webhook.secret #=> String
|
821
|
+
# resp.webhook.branch_filter #=> String
|
822
|
+
# resp.webhook.last_modified_secret #=> Time
|
810
823
|
#
|
811
824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
|
812
825
|
#
|
@@ -845,7 +858,7 @@ module Aws::CodeBuild
|
|
845
858
|
# repository.
|
846
859
|
#
|
847
860
|
# @option params [required, String] :project_name
|
848
|
-
# The name of the
|
861
|
+
# The name of the AWS CodeBuild project.
|
849
862
|
#
|
850
863
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
851
864
|
#
|
@@ -867,7 +880,8 @@ module Aws::CodeBuild
|
|
867
880
|
# Resets the cache for a project.
|
868
881
|
#
|
869
882
|
# @option params [required, String] :project_name
|
870
|
-
# The name of the build project that the cache will be
|
883
|
+
# The name of the AWS CodeBuild build project that the cache will be
|
884
|
+
# reset for.
|
871
885
|
#
|
872
886
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
873
887
|
#
|
@@ -936,7 +950,7 @@ module Aws::CodeBuild
|
|
936
950
|
# build ID representing a single build.
|
937
951
|
#
|
938
952
|
# @option params [required, String] :project_name
|
939
|
-
# The name of the
|
953
|
+
# The name of the AWS CodeBuild project.
|
940
954
|
#
|
941
955
|
# @option params [String] :sort_order
|
942
956
|
# The order to list build IDs. Valid values include:
|
@@ -1079,7 +1093,7 @@ module Aws::CodeBuild
|
|
1079
1093
|
# Starts running a build.
|
1080
1094
|
#
|
1081
1095
|
# @option params [required, String] :project_name
|
1082
|
-
# The name of the build project to start running a build.
|
1096
|
+
# The name of the AWS CodeBuild build project to start running a build.
|
1083
1097
|
#
|
1084
1098
|
# @option params [String] :source_version
|
1085
1099
|
# A version of the build input to be built, for this build only. If not
|
@@ -1457,6 +1471,8 @@ module Aws::CodeBuild
|
|
1457
1471
|
# resp.project.webhook.url #=> String
|
1458
1472
|
# resp.project.webhook.payload_url #=> String
|
1459
1473
|
# resp.project.webhook.secret #=> String
|
1474
|
+
# resp.project.webhook.branch_filter #=> String
|
1475
|
+
# resp.project.webhook.last_modified_secret #=> Time
|
1460
1476
|
# resp.project.vpc_config.vpc_id #=> String
|
1461
1477
|
# resp.project.vpc_config.subnets #=> Array
|
1462
1478
|
# resp.project.vpc_config.subnets[0] #=> String
|
@@ -1474,6 +1490,50 @@ module Aws::CodeBuild
|
|
1474
1490
|
req.send_request(options)
|
1475
1491
|
end
|
1476
1492
|
|
1493
|
+
# Updates the webhook associated with an AWS CodeBuild build project.
|
1494
|
+
#
|
1495
|
+
# @option params [required, String] :project_name
|
1496
|
+
# The name of the AWS CodeBuild project.
|
1497
|
+
#
|
1498
|
+
# @option params [String] :branch_filter
|
1499
|
+
# A regular expression used to determine which branches in a repository
|
1500
|
+
# are built when a webhook is triggered. If the name of a branch matches
|
1501
|
+
# the regular expression, then it is built. If it doesn't match, then
|
1502
|
+
# it is not. If branchFilter is empty, then all branches are built.
|
1503
|
+
#
|
1504
|
+
# @option params [Boolean] :rotate_secret
|
1505
|
+
# A boolean value that specifies whether the associated repository's
|
1506
|
+
# secret token should be updated.
|
1507
|
+
#
|
1508
|
+
# @return [Types::UpdateWebhookOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1509
|
+
#
|
1510
|
+
# * {Types::UpdateWebhookOutput#webhook #webhook} => Types::Webhook
|
1511
|
+
#
|
1512
|
+
# @example Request syntax with placeholder values
|
1513
|
+
#
|
1514
|
+
# resp = client.update_webhook({
|
1515
|
+
# project_name: "ProjectName", # required
|
1516
|
+
# branch_filter: "String",
|
1517
|
+
# rotate_secret: false,
|
1518
|
+
# })
|
1519
|
+
#
|
1520
|
+
# @example Response structure
|
1521
|
+
#
|
1522
|
+
# resp.webhook.url #=> String
|
1523
|
+
# resp.webhook.payload_url #=> String
|
1524
|
+
# resp.webhook.secret #=> String
|
1525
|
+
# resp.webhook.branch_filter #=> String
|
1526
|
+
# resp.webhook.last_modified_secret #=> Time
|
1527
|
+
#
|
1528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
|
1529
|
+
#
|
1530
|
+
# @overload update_webhook(params = {})
|
1531
|
+
# @param [Hash] params ({})
|
1532
|
+
def update_webhook(params = {}, options = {})
|
1533
|
+
req = build_request(:update_webhook, params)
|
1534
|
+
req.send_request(options)
|
1535
|
+
end
|
1536
|
+
|
1477
1537
|
# @!endgroup
|
1478
1538
|
|
1479
1539
|
# @param params ({})
|
@@ -1487,7 +1547,7 @@ module Aws::CodeBuild
|
|
1487
1547
|
params: params,
|
1488
1548
|
config: config)
|
1489
1549
|
context[:gem_name] = 'aws-sdk-codebuild'
|
1490
|
-
context[:gem_version] = '1.
|
1550
|
+
context[:gem_version] = '1.7.0'
|
1491
1551
|
Seahorse::Client::Request.new(handlers, context)
|
1492
1552
|
end
|
1493
1553
|
|
@@ -104,6 +104,8 @@ module Aws::CodeBuild
|
|
104
104
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
105
105
|
UpdateProjectInput = Shapes::StructureShape.new(name: 'UpdateProjectInput')
|
106
106
|
UpdateProjectOutput = Shapes::StructureShape.new(name: 'UpdateProjectOutput')
|
107
|
+
UpdateWebhookInput = Shapes::StructureShape.new(name: 'UpdateWebhookInput')
|
108
|
+
UpdateWebhookOutput = Shapes::StructureShape.new(name: 'UpdateWebhookOutput')
|
107
109
|
ValueInput = Shapes::StringShape.new(name: 'ValueInput')
|
108
110
|
VpcConfig = Shapes::StructureShape.new(name: 'VpcConfig')
|
109
111
|
Webhook = Shapes::StructureShape.new(name: 'Webhook')
|
@@ -196,6 +198,7 @@ module Aws::CodeBuild
|
|
196
198
|
CreateProjectOutput.struct_class = Types::CreateProjectOutput
|
197
199
|
|
198
200
|
CreateWebhookInput.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "projectName"))
|
201
|
+
CreateWebhookInput.add_member(:branch_filter, Shapes::ShapeRef.new(shape: String, location_name: "branchFilter"))
|
199
202
|
CreateWebhookInput.struct_class = Types::CreateWebhookInput
|
200
203
|
|
201
204
|
CreateWebhookOutput.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
|
@@ -393,6 +396,14 @@ module Aws::CodeBuild
|
|
393
396
|
UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
|
394
397
|
UpdateProjectOutput.struct_class = Types::UpdateProjectOutput
|
395
398
|
|
399
|
+
UpdateWebhookInput.add_member(:project_name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "projectName"))
|
400
|
+
UpdateWebhookInput.add_member(:branch_filter, Shapes::ShapeRef.new(shape: String, location_name: "branchFilter"))
|
401
|
+
UpdateWebhookInput.add_member(:rotate_secret, Shapes::ShapeRef.new(shape: Boolean, location_name: "rotateSecret"))
|
402
|
+
UpdateWebhookInput.struct_class = Types::UpdateWebhookInput
|
403
|
+
|
404
|
+
UpdateWebhookOutput.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
|
405
|
+
UpdateWebhookOutput.struct_class = Types::UpdateWebhookOutput
|
406
|
+
|
396
407
|
VpcConfig.add_member(:vpc_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "vpcId"))
|
397
408
|
VpcConfig.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, location_name: "subnets"))
|
398
409
|
VpcConfig.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "securityGroupIds"))
|
@@ -401,6 +412,8 @@ module Aws::CodeBuild
|
|
401
412
|
Webhook.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "url"))
|
402
413
|
Webhook.add_member(:payload_url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "payloadUrl"))
|
403
414
|
Webhook.add_member(:secret, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "secret"))
|
415
|
+
Webhook.add_member(:branch_filter, Shapes::ShapeRef.new(shape: String, location_name: "branchFilter"))
|
416
|
+
Webhook.add_member(:last_modified_secret, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedSecret"))
|
404
417
|
Webhook.struct_class = Types::Webhook
|
405
418
|
|
406
419
|
|
@@ -564,6 +577,17 @@ module Aws::CodeBuild
|
|
564
577
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
565
578
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
566
579
|
end)
|
580
|
+
|
581
|
+
api.add_operation(:update_webhook, Seahorse::Model::Operation.new.tap do |o|
|
582
|
+
o.name = "UpdateWebhook"
|
583
|
+
o.http_method = "POST"
|
584
|
+
o.http_request_uri = "/"
|
585
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateWebhookInput)
|
586
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateWebhookOutput)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: OAuthProviderException)
|
590
|
+
end)
|
567
591
|
end
|
568
592
|
|
569
593
|
end
|
@@ -155,7 +155,7 @@ module Aws::CodeBuild
|
|
155
155
|
# @return [String]
|
156
156
|
#
|
157
157
|
# @!attribute [rw] project_name
|
158
|
-
# The name of the
|
158
|
+
# The name of the AWS CodeBuild project.
|
159
159
|
# @return [String]
|
160
160
|
#
|
161
161
|
# @!attribute [rw] phases
|
@@ -535,16 +535,26 @@ module Aws::CodeBuild
|
|
535
535
|
#
|
536
536
|
# {
|
537
537
|
# project_name: "ProjectName", # required
|
538
|
+
# branch_filter: "String",
|
538
539
|
# }
|
539
540
|
#
|
540
541
|
# @!attribute [rw] project_name
|
541
|
-
# The name of the
|
542
|
+
# The name of the AWS CodeBuild project.
|
543
|
+
# @return [String]
|
544
|
+
#
|
545
|
+
# @!attribute [rw] branch_filter
|
546
|
+
# A regular expression used to determine which branches in a
|
547
|
+
# repository are built when a webhook is triggered. If the name of a
|
548
|
+
# branch matches the regular expression, then it is built. If it
|
549
|
+
# doesn't match, then it is not. If branchFilter is empty, then all
|
550
|
+
# branches are built.
|
542
551
|
# @return [String]
|
543
552
|
#
|
544
553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhookInput AWS API Documentation
|
545
554
|
#
|
546
555
|
class CreateWebhookInput < Struct.new(
|
547
|
-
:project_name
|
556
|
+
:project_name,
|
557
|
+
:branch_filter)
|
548
558
|
include Aws::Structure
|
549
559
|
end
|
550
560
|
|
@@ -590,7 +600,7 @@ module Aws::CodeBuild
|
|
590
600
|
# }
|
591
601
|
#
|
592
602
|
# @!attribute [rw] project_name
|
593
|
-
# The name of the
|
603
|
+
# The name of the AWS CodeBuild project.
|
594
604
|
# @return [String]
|
595
605
|
#
|
596
606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhookInput AWS API Documentation
|
@@ -719,7 +729,8 @@ module Aws::CodeBuild
|
|
719
729
|
# }
|
720
730
|
#
|
721
731
|
# @!attribute [rw] project_name
|
722
|
-
# The name of the build project that the cache will be
|
732
|
+
# The name of the AWS CodeBuild build project that the cache will be
|
733
|
+
# reset for.
|
723
734
|
# @return [String]
|
724
735
|
#
|
725
736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCacheInput AWS API Documentation
|
@@ -743,7 +754,7 @@ module Aws::CodeBuild
|
|
743
754
|
# }
|
744
755
|
#
|
745
756
|
# @!attribute [rw] project_name
|
746
|
-
# The name of the
|
757
|
+
# The name of the AWS CodeBuild project.
|
747
758
|
# @return [String]
|
748
759
|
#
|
749
760
|
# @!attribute [rw] sort_order
|
@@ -1347,18 +1358,17 @@ module Aws::CodeBuild
|
|
1347
1358
|
# @return [Array<Types::EnvironmentVariable>]
|
1348
1359
|
#
|
1349
1360
|
# @!attribute [rw] privileged_mode
|
1350
|
-
#
|
1351
|
-
#
|
1352
|
-
#
|
1353
|
-
#
|
1354
|
-
#
|
1355
|
-
#
|
1356
|
-
#
|
1357
|
-
#
|
1358
|
-
#
|
1359
|
-
# build
|
1360
|
-
#
|
1361
|
-
# provided by AWS CodeBuild with Docker support.)
|
1361
|
+
# Enables running the Docker daemon inside a Docker container. Set to
|
1362
|
+
# true only if the build project is be used to build Docker images,
|
1363
|
+
# and the specified build environment image is not provided by AWS
|
1364
|
+
# CodeBuild with Docker support. Otherwise, all associated builds that
|
1365
|
+
# attempt to interact with the Docker daemon will fail. Note that you
|
1366
|
+
# must also start the Docker daemon so that builds can interact with
|
1367
|
+
# it. One way to do this is to initialize the Docker daemon during the
|
1368
|
+
# install phase of your build spec by running the following build
|
1369
|
+
# commands. (Do not run the following build commands if the specified
|
1370
|
+
# build environment image is provided by AWS CodeBuild with Docker
|
1371
|
+
# support.)
|
1362
1372
|
#
|
1363
1373
|
# `- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock
|
1364
1374
|
# --host=tcp://0.0.0.0:2375 --storage-driver=overlay& - timeout -t 15
|
@@ -1560,7 +1570,8 @@ module Aws::CodeBuild
|
|
1560
1570
|
# }
|
1561
1571
|
#
|
1562
1572
|
# @!attribute [rw] project_name
|
1563
|
-
# The name of the build project to start running a
|
1573
|
+
# The name of the AWS CodeBuild build project to start running a
|
1574
|
+
# build.
|
1564
1575
|
# @return [String]
|
1565
1576
|
#
|
1566
1577
|
# @!attribute [rw] source_version
|
@@ -1854,6 +1865,53 @@ module Aws::CodeBuild
|
|
1854
1865
|
include Aws::Structure
|
1855
1866
|
end
|
1856
1867
|
|
1868
|
+
# @note When making an API call, you may pass UpdateWebhookInput
|
1869
|
+
# data as a hash:
|
1870
|
+
#
|
1871
|
+
# {
|
1872
|
+
# project_name: "ProjectName", # required
|
1873
|
+
# branch_filter: "String",
|
1874
|
+
# rotate_secret: false,
|
1875
|
+
# }
|
1876
|
+
#
|
1877
|
+
# @!attribute [rw] project_name
|
1878
|
+
# The name of the AWS CodeBuild project.
|
1879
|
+
# @return [String]
|
1880
|
+
#
|
1881
|
+
# @!attribute [rw] branch_filter
|
1882
|
+
# A regular expression used to determine which branches in a
|
1883
|
+
# repository are built when a webhook is triggered. If the name of a
|
1884
|
+
# branch matches the regular expression, then it is built. If it
|
1885
|
+
# doesn't match, then it is not. If branchFilter is empty, then all
|
1886
|
+
# branches are built.
|
1887
|
+
# @return [String]
|
1888
|
+
#
|
1889
|
+
# @!attribute [rw] rotate_secret
|
1890
|
+
# A boolean value that specifies whether the associated repository's
|
1891
|
+
# secret token should be updated.
|
1892
|
+
# @return [Boolean]
|
1893
|
+
#
|
1894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookInput AWS API Documentation
|
1895
|
+
#
|
1896
|
+
class UpdateWebhookInput < Struct.new(
|
1897
|
+
:project_name,
|
1898
|
+
:branch_filter,
|
1899
|
+
:rotate_secret)
|
1900
|
+
include Aws::Structure
|
1901
|
+
end
|
1902
|
+
|
1903
|
+
# @!attribute [rw] webhook
|
1904
|
+
# Information about a repository's webhook that is associated with a
|
1905
|
+
# project in AWS CodeBuild.
|
1906
|
+
# @return [Types::Webhook]
|
1907
|
+
#
|
1908
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhookOutput AWS API Documentation
|
1909
|
+
#
|
1910
|
+
class UpdateWebhookOutput < Struct.new(
|
1911
|
+
:webhook)
|
1912
|
+
include Aws::Structure
|
1913
|
+
end
|
1914
|
+
|
1857
1915
|
# Information about the VPC configuration that AWS CodeBuild will
|
1858
1916
|
# access.
|
1859
1917
|
#
|
@@ -1895,21 +1953,34 @@ module Aws::CodeBuild
|
|
1895
1953
|
# @return [String]
|
1896
1954
|
#
|
1897
1955
|
# @!attribute [rw] payload_url
|
1898
|
-
#
|
1956
|
+
# The CodeBuild endpoint where webhook events are sent.
|
1899
1957
|
# @return [String]
|
1900
1958
|
#
|
1901
1959
|
# @!attribute [rw] secret
|
1902
|
-
#
|
1903
|
-
# The secret allows webhook requests sent by GitHub for Enterprise to
|
1904
|
-
# be authenticated by AWS CodeBuild.
|
1960
|
+
# The secret token of the associated repository.
|
1905
1961
|
# @return [String]
|
1906
1962
|
#
|
1963
|
+
# @!attribute [rw] branch_filter
|
1964
|
+
# A regular expression used to determine which branches in a
|
1965
|
+
# repository are built when a webhook is triggered. If the name of a
|
1966
|
+
# branch matches the regular expression, then it is built. If it
|
1967
|
+
# doesn't match, then it is not. If branchFilter is empty, then all
|
1968
|
+
# branches are built.
|
1969
|
+
# @return [String]
|
1970
|
+
#
|
1971
|
+
# @!attribute [rw] last_modified_secret
|
1972
|
+
# A timestamp indicating the last time a repository's secret token
|
1973
|
+
# was modified.
|
1974
|
+
# @return [Time]
|
1975
|
+
#
|
1907
1976
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Webhook AWS API Documentation
|
1908
1977
|
#
|
1909
1978
|
class Webhook < Struct.new(
|
1910
1979
|
:url,
|
1911
1980
|
:payload_url,
|
1912
|
-
:secret
|
1981
|
+
:secret,
|
1982
|
+
:branch_filter,
|
1983
|
+
:last_modified_secret)
|
1913
1984
|
include Aws::Structure
|
1914
1985
|
end
|
1915
1986
|
|
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.7.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: 2018-
|
11
|
+
date: 2018-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.
|
78
|
+
rubygems_version: 2.5.2.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - AWS CodeBuild
|