aws-sdk-codebuild 1.132.0 → 1.134.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: 425ae1a9768958532996c5f3a105e91386f50d18931a82e02a1df6b7106d8262
4
- data.tar.gz: b19fa2d9430a0a0737f0dde5c6224880f4c3607addbfa5d1498d8e7fd238443a
3
+ metadata.gz: 0ec8d8ed29ed8a0bacd1dbe562ac79d1ea3fb5422280301d7d9864b6024fcb8c
4
+ data.tar.gz: 1185460336e8d00cfdaf44f413fdb62b7a8f5a00783e285529765733ce5622e8
5
5
  SHA512:
6
- metadata.gz: c0de8bf640cbf0f63c50d3545e7fc371e3f2cd2ad272d90b8ca1d19848117f49b1bbbc8af54e70de54595b53c95cb0ef9ea22ac685220028c2b86ea8c8219fa7
7
- data.tar.gz: a23b73c0520db5fd8975d2af6042c6e0c90b800364a0f0abe730a4948f1c355f0f27a7e65f74ce05b937871e56e937b9db12e10dec22502cc29e32ea92bd39e7
6
+ metadata.gz: ce0a3fb0e67b176524d6913e0cd8971ee3651bda5b2b9ed65bde44dce10646f7f0812fd57bf7d855fb7f6420e6f1cd92ae897eeac8de46ae83c4d47bebbd9420
7
+ data.tar.gz: a7cc82bb07682a6f2e4b84c1b838198174c2de30a7dc6e5c2c5319bd0da2d6d652a56d96a19142df3440b16af9f68e1bffab7fb87dcf0ae47479ce387ad7211b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.134.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.133.0 (2024-10-15)
10
+ ------------------
11
+
12
+ * Feature - Enable proxy for reserved capacity fleet.
13
+
4
14
  1.132.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.132.0
1
+ 1.134.0
@@ -847,6 +847,12 @@ module Aws::CodeBuild
847
847
  # resp.fleets[0].vpc_config.subnets[0] #=> String
848
848
  # resp.fleets[0].vpc_config.security_group_ids #=> Array
849
849
  # resp.fleets[0].vpc_config.security_group_ids[0] #=> String
850
+ # resp.fleets[0].proxy_configuration.default_behavior #=> String, one of "ALLOW_ALL", "DENY_ALL"
851
+ # resp.fleets[0].proxy_configuration.ordered_proxy_rules #=> Array
852
+ # resp.fleets[0].proxy_configuration.ordered_proxy_rules[0].type #=> String, one of "DOMAIN", "IP"
853
+ # resp.fleets[0].proxy_configuration.ordered_proxy_rules[0].effect #=> String, one of "ALLOW", "DENY"
854
+ # resp.fleets[0].proxy_configuration.ordered_proxy_rules[0].entities #=> Array
855
+ # resp.fleets[0].proxy_configuration.ordered_proxy_rules[0].entities[0] #=> String
850
856
  # resp.fleets[0].image_id #=> String
851
857
  # resp.fleets[0].fleet_service_role #=> String
852
858
  # resp.fleets[0].tags #=> Array
@@ -970,7 +976,7 @@ module Aws::CodeBuild
970
976
  # resp.projects[0].webhook.branch_filter #=> String
971
977
  # resp.projects[0].webhook.filter_groups #=> Array
972
978
  # resp.projects[0].webhook.filter_groups[0] #=> Array
973
- # resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME"
979
+ # resp.projects[0].webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
974
980
  # resp.projects[0].webhook.filter_groups[0][0].pattern #=> String
975
981
  # resp.projects[0].webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
976
982
  # resp.projects[0].webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
@@ -1259,6 +1265,9 @@ module Aws::CodeBuild
1259
1265
  # @option params [Types::VpcConfig] :vpc_config
1260
1266
  # Information about the VPC configuration that CodeBuild accesses.
1261
1267
  #
1268
+ # @option params [Types::ProxyConfiguration] :proxy_configuration
1269
+ # The proxy configuration of the compute fleet.
1270
+ #
1262
1271
  # @option params [String] :image_id
1263
1272
  # The Amazon Machine Image (AMI) of the compute fleet.
1264
1273
  #
@@ -1304,6 +1313,16 @@ module Aws::CodeBuild
1304
1313
  # subnets: ["NonEmptyString"],
1305
1314
  # security_group_ids: ["NonEmptyString"],
1306
1315
  # },
1316
+ # proxy_configuration: {
1317
+ # default_behavior: "ALLOW_ALL", # accepts ALLOW_ALL, DENY_ALL
1318
+ # ordered_proxy_rules: [
1319
+ # {
1320
+ # type: "DOMAIN", # required, accepts DOMAIN, IP
1321
+ # effect: "ALLOW", # required, accepts ALLOW, DENY
1322
+ # entities: ["String"], # required
1323
+ # },
1324
+ # ],
1325
+ # },
1307
1326
  # image_id: "NonEmptyString",
1308
1327
  # fleet_service_role: "NonEmptyString",
1309
1328
  # tags: [
@@ -1339,6 +1358,12 @@ module Aws::CodeBuild
1339
1358
  # resp.fleet.vpc_config.subnets[0] #=> String
1340
1359
  # resp.fleet.vpc_config.security_group_ids #=> Array
1341
1360
  # resp.fleet.vpc_config.security_group_ids[0] #=> String
1361
+ # resp.fleet.proxy_configuration.default_behavior #=> String, one of "ALLOW_ALL", "DENY_ALL"
1362
+ # resp.fleet.proxy_configuration.ordered_proxy_rules #=> Array
1363
+ # resp.fleet.proxy_configuration.ordered_proxy_rules[0].type #=> String, one of "DOMAIN", "IP"
1364
+ # resp.fleet.proxy_configuration.ordered_proxy_rules[0].effect #=> String, one of "ALLOW", "DENY"
1365
+ # resp.fleet.proxy_configuration.ordered_proxy_rules[0].entities #=> Array
1366
+ # resp.fleet.proxy_configuration.ordered_proxy_rules[0].entities[0] #=> String
1342
1367
  # resp.fleet.image_id #=> String
1343
1368
  # resp.fleet.fleet_service_role #=> String
1344
1369
  # resp.fleet.tags #=> Array
@@ -1737,7 +1762,7 @@ module Aws::CodeBuild
1737
1762
  # resp.project.webhook.branch_filter #=> String
1738
1763
  # resp.project.webhook.filter_groups #=> Array
1739
1764
  # resp.project.webhook.filter_groups[0] #=> Array
1740
- # resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME"
1765
+ # resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
1741
1766
  # resp.project.webhook.filter_groups[0][0].pattern #=> String
1742
1767
  # resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
1743
1768
  # resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
@@ -1936,7 +1961,7 @@ module Aws::CodeBuild
1936
1961
  # filter_groups: [
1937
1962
  # [
1938
1963
  # {
1939
- # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE, WORKFLOW_NAME, TAG_NAME, RELEASE_NAME
1964
+ # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE, WORKFLOW_NAME, TAG_NAME, RELEASE_NAME, REPOSITORY_NAME
1940
1965
  # pattern: "String", # required
1941
1966
  # exclude_matched_pattern: false,
1942
1967
  # },
@@ -1959,7 +1984,7 @@ module Aws::CodeBuild
1959
1984
  # resp.webhook.branch_filter #=> String
1960
1985
  # resp.webhook.filter_groups #=> Array
1961
1986
  # resp.webhook.filter_groups[0] #=> Array
1962
- # resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME"
1987
+ # resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
1963
1988
  # resp.webhook.filter_groups[0][0].pattern #=> String
1964
1989
  # resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
1965
1990
  # resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
@@ -5080,6 +5105,9 @@ module Aws::CodeBuild
5080
5105
  # @option params [Types::VpcConfig] :vpc_config
5081
5106
  # Information about the VPC configuration that CodeBuild accesses.
5082
5107
  #
5108
+ # @option params [Types::ProxyConfiguration] :proxy_configuration
5109
+ # The proxy configuration of the compute fleet.
5110
+ #
5083
5111
  # @option params [String] :image_id
5084
5112
  # The Amazon Machine Image (AMI) of the compute fleet.
5085
5113
  #
@@ -5125,6 +5153,16 @@ module Aws::CodeBuild
5125
5153
  # subnets: ["NonEmptyString"],
5126
5154
  # security_group_ids: ["NonEmptyString"],
5127
5155
  # },
5156
+ # proxy_configuration: {
5157
+ # default_behavior: "ALLOW_ALL", # accepts ALLOW_ALL, DENY_ALL
5158
+ # ordered_proxy_rules: [
5159
+ # {
5160
+ # type: "DOMAIN", # required, accepts DOMAIN, IP
5161
+ # effect: "ALLOW", # required, accepts ALLOW, DENY
5162
+ # entities: ["String"], # required
5163
+ # },
5164
+ # ],
5165
+ # },
5128
5166
  # image_id: "NonEmptyString",
5129
5167
  # fleet_service_role: "NonEmptyString",
5130
5168
  # tags: [
@@ -5160,6 +5198,12 @@ module Aws::CodeBuild
5160
5198
  # resp.fleet.vpc_config.subnets[0] #=> String
5161
5199
  # resp.fleet.vpc_config.security_group_ids #=> Array
5162
5200
  # resp.fleet.vpc_config.security_group_ids[0] #=> String
5201
+ # resp.fleet.proxy_configuration.default_behavior #=> String, one of "ALLOW_ALL", "DENY_ALL"
5202
+ # resp.fleet.proxy_configuration.ordered_proxy_rules #=> Array
5203
+ # resp.fleet.proxy_configuration.ordered_proxy_rules[0].type #=> String, one of "DOMAIN", "IP"
5204
+ # resp.fleet.proxy_configuration.ordered_proxy_rules[0].effect #=> String, one of "ALLOW", "DENY"
5205
+ # resp.fleet.proxy_configuration.ordered_proxy_rules[0].entities #=> Array
5206
+ # resp.fleet.proxy_configuration.ordered_proxy_rules[0].entities[0] #=> String
5163
5207
  # resp.fleet.image_id #=> String
5164
5208
  # resp.fleet.fleet_service_role #=> String
5165
5209
  # resp.fleet.tags #=> Array
@@ -5561,7 +5605,7 @@ module Aws::CodeBuild
5561
5605
  # resp.project.webhook.branch_filter #=> String
5562
5606
  # resp.project.webhook.filter_groups #=> Array
5563
5607
  # resp.project.webhook.filter_groups[0] #=> Array
5564
- # resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME"
5608
+ # resp.project.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
5565
5609
  # resp.project.webhook.filter_groups[0][0].pattern #=> String
5566
5610
  # resp.project.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
5567
5611
  # resp.project.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
@@ -5816,7 +5860,7 @@ module Aws::CodeBuild
5816
5860
  # filter_groups: [
5817
5861
  # [
5818
5862
  # {
5819
- # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE, WORKFLOW_NAME, TAG_NAME, RELEASE_NAME
5863
+ # type: "EVENT", # required, accepts EVENT, BASE_REF, HEAD_REF, ACTOR_ACCOUNT_ID, FILE_PATH, COMMIT_MESSAGE, WORKFLOW_NAME, TAG_NAME, RELEASE_NAME, REPOSITORY_NAME
5820
5864
  # pattern: "String", # required
5821
5865
  # exclude_matched_pattern: false,
5822
5866
  # },
@@ -5833,7 +5877,7 @@ module Aws::CodeBuild
5833
5877
  # resp.webhook.branch_filter #=> String
5834
5878
  # resp.webhook.filter_groups #=> Array
5835
5879
  # resp.webhook.filter_groups[0] #=> Array
5836
- # resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME"
5880
+ # resp.webhook.filter_groups[0][0].type #=> String, one of "EVENT", "BASE_REF", "HEAD_REF", "ACTOR_ACCOUNT_ID", "FILE_PATH", "COMMIT_MESSAGE", "WORKFLOW_NAME", "TAG_NAME", "RELEASE_NAME", "REPOSITORY_NAME"
5837
5881
  # resp.webhook.filter_groups[0][0].pattern #=> String
5838
5882
  # resp.webhook.filter_groups[0][0].exclude_matched_pattern #=> Boolean
5839
5883
  # resp.webhook.build_type #=> String, one of "BUILD", "BUILD_BATCH"
@@ -5870,7 +5914,7 @@ module Aws::CodeBuild
5870
5914
  tracer: tracer
5871
5915
  )
5872
5916
  context[:gem_name] = 'aws-sdk-codebuild'
5873
- context[:gem_version] = '1.132.0'
5917
+ context[:gem_version] = '1.134.0'
5874
5918
  Seahorse::Client::Request.new(handlers, context)
5875
5919
  end
5876
5920
 
@@ -121,6 +121,12 @@ module Aws::CodeBuild
121
121
  FleetName = Shapes::StringShape.new(name: 'FleetName')
122
122
  FleetNames = Shapes::ListShape.new(name: 'FleetNames')
123
123
  FleetOverflowBehavior = Shapes::StringShape.new(name: 'FleetOverflowBehavior')
124
+ FleetProxyRule = Shapes::StructureShape.new(name: 'FleetProxyRule')
125
+ FleetProxyRuleBehavior = Shapes::StringShape.new(name: 'FleetProxyRuleBehavior')
126
+ FleetProxyRuleEffectType = Shapes::StringShape.new(name: 'FleetProxyRuleEffectType')
127
+ FleetProxyRuleEntities = Shapes::ListShape.new(name: 'FleetProxyRuleEntities')
128
+ FleetProxyRuleType = Shapes::StringShape.new(name: 'FleetProxyRuleType')
129
+ FleetProxyRules = Shapes::ListShape.new(name: 'FleetProxyRules')
124
130
  FleetScalingMetricType = Shapes::StringShape.new(name: 'FleetScalingMetricType')
125
131
  FleetScalingType = Shapes::StringShape.new(name: 'FleetScalingType')
126
132
  FleetSortByType = Shapes::StringShape.new(name: 'FleetSortByType')
@@ -203,6 +209,7 @@ module Aws::CodeBuild
203
209
  ProjectSources = Shapes::ListShape.new(name: 'ProjectSources')
204
210
  ProjectVisibilityType = Shapes::StringShape.new(name: 'ProjectVisibilityType')
205
211
  Projects = Shapes::ListShape.new(name: 'Projects')
212
+ ProxyConfiguration = Shapes::StructureShape.new(name: 'ProxyConfiguration')
206
213
  PutResourcePolicyInput = Shapes::StructureShape.new(name: 'PutResourcePolicyInput')
207
214
  PutResourcePolicyOutput = Shapes::StructureShape.new(name: 'PutResourcePolicyOutput')
208
215
  RegistryCredential = Shapes::StructureShape.new(name: 'RegistryCredential')
@@ -524,6 +531,7 @@ module Aws::CodeBuild
524
531
  CreateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
525
532
  CreateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
526
533
  CreateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
534
+ CreateFleetInput.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
527
535
  CreateFleetInput.add_member(:image_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "imageId"))
528
536
  CreateFleetInput.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
529
537
  CreateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
@@ -698,6 +706,7 @@ module Aws::CodeBuild
698
706
  Fleet.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationOutput, location_name: "scalingConfiguration"))
699
707
  Fleet.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
700
708
  Fleet.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
709
+ Fleet.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
701
710
  Fleet.add_member(:image_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "imageId"))
702
711
  Fleet.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
703
712
  Fleet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
@@ -707,6 +716,15 @@ module Aws::CodeBuild
707
716
 
708
717
  FleetNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
709
718
 
719
+ FleetProxyRule.add_member(:type, Shapes::ShapeRef.new(shape: FleetProxyRuleType, required: true, location_name: "type"))
720
+ FleetProxyRule.add_member(:effect, Shapes::ShapeRef.new(shape: FleetProxyRuleEffectType, required: true, location_name: "effect"))
721
+ FleetProxyRule.add_member(:entities, Shapes::ShapeRef.new(shape: FleetProxyRuleEntities, required: true, location_name: "entities"))
722
+ FleetProxyRule.struct_class = Types::FleetProxyRule
723
+
724
+ FleetProxyRuleEntities.member = Shapes::ShapeRef.new(shape: String)
725
+
726
+ FleetProxyRules.member = Shapes::ShapeRef.new(shape: FleetProxyRule)
727
+
710
728
  FleetStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: FleetStatusCode, location_name: "statusCode"))
711
729
  FleetStatus.add_member(:context, Shapes::ShapeRef.new(shape: FleetContextCode, location_name: "context"))
712
730
  FleetStatus.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -1008,6 +1026,10 @@ module Aws::CodeBuild
1008
1026
 
1009
1027
  Projects.member = Shapes::ShapeRef.new(shape: Project)
1010
1028
 
1029
+ ProxyConfiguration.add_member(:default_behavior, Shapes::ShapeRef.new(shape: FleetProxyRuleBehavior, location_name: "defaultBehavior"))
1030
+ ProxyConfiguration.add_member(:ordered_proxy_rules, Shapes::ShapeRef.new(shape: FleetProxyRules, location_name: "orderedProxyRules"))
1031
+ ProxyConfiguration.struct_class = Types::ProxyConfiguration
1032
+
1011
1033
  PutResourcePolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "policy"))
1012
1034
  PutResourcePolicyInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "resourceArn"))
1013
1035
  PutResourcePolicyInput.struct_class = Types::PutResourcePolicyInput
@@ -1269,6 +1291,7 @@ module Aws::CodeBuild
1269
1291
  UpdateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
1270
1292
  UpdateFleetInput.add_member(:overflow_behavior, Shapes::ShapeRef.new(shape: FleetOverflowBehavior, location_name: "overflowBehavior"))
1271
1293
  UpdateFleetInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
1294
+ UpdateFleetInput.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
1272
1295
  UpdateFleetInput.add_member(:image_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "imageId"))
1273
1296
  UpdateFleetInput.add_member(:fleet_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fleetServiceRole"))
1274
1297
  UpdateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
@@ -52,15 +52,18 @@ module Aws::CodeBuild
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,555 +12,9 @@ module Aws::CodeBuild
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class BatchDeleteBuilds
16
- def self.build(context)
17
- Aws::CodeBuild::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class BatchGetBuildBatches
27
- def self.build(context)
28
- Aws::CodeBuild::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class BatchGetBuilds
38
- def self.build(context)
39
- Aws::CodeBuild::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class BatchGetFleets
49
- def self.build(context)
50
- Aws::CodeBuild::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class BatchGetProjects
60
- def self.build(context)
61
- Aws::CodeBuild::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class BatchGetReportGroups
71
- def self.build(context)
72
- Aws::CodeBuild::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class BatchGetReports
82
- def self.build(context)
83
- Aws::CodeBuild::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class CreateFleet
93
- def self.build(context)
94
- Aws::CodeBuild::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
-
103
- class CreateProject
104
- def self.build(context)
105
- Aws::CodeBuild::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
112
- end
113
-
114
- class CreateReportGroup
115
- def self.build(context)
116
- Aws::CodeBuild::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class CreateWebhook
126
- def self.build(context)
127
- Aws::CodeBuild::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class DeleteBuildBatch
137
- def self.build(context)
138
- Aws::CodeBuild::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
-
147
- class DeleteFleet
148
- def self.build(context)
149
- Aws::CodeBuild::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
156
- end
157
-
158
- class DeleteProject
159
- def self.build(context)
160
- Aws::CodeBuild::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class DeleteReport
170
- def self.build(context)
171
- Aws::CodeBuild::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class DeleteReportGroup
181
- def self.build(context)
182
- Aws::CodeBuild::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
- class DeleteResourcePolicy
192
- def self.build(context)
193
- Aws::CodeBuild::EndpointParameters.new(
194
- region: context.config.region,
195
- use_dual_stack: context.config.use_dualstack_endpoint,
196
- use_fips: context.config.use_fips_endpoint,
197
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
198
- )
199
- end
200
- end
201
-
202
- class DeleteSourceCredentials
203
- def self.build(context)
204
- Aws::CodeBuild::EndpointParameters.new(
205
- region: context.config.region,
206
- use_dual_stack: context.config.use_dualstack_endpoint,
207
- use_fips: context.config.use_fips_endpoint,
208
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
209
- )
210
- end
211
- end
212
-
213
- class DeleteWebhook
214
- def self.build(context)
215
- Aws::CodeBuild::EndpointParameters.new(
216
- region: context.config.region,
217
- use_dual_stack: context.config.use_dualstack_endpoint,
218
- use_fips: context.config.use_fips_endpoint,
219
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
220
- )
221
- end
222
- end
223
-
224
- class DescribeCodeCoverages
225
- def self.build(context)
226
- Aws::CodeBuild::EndpointParameters.new(
227
- region: context.config.region,
228
- use_dual_stack: context.config.use_dualstack_endpoint,
229
- use_fips: context.config.use_fips_endpoint,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class DescribeTestCases
236
- def self.build(context)
237
- Aws::CodeBuild::EndpointParameters.new(
238
- region: context.config.region,
239
- use_dual_stack: context.config.use_dualstack_endpoint,
240
- use_fips: context.config.use_fips_endpoint,
241
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
242
- )
243
- end
244
- end
245
-
246
- class GetReportGroupTrend
247
- def self.build(context)
248
- Aws::CodeBuild::EndpointParameters.new(
249
- region: context.config.region,
250
- use_dual_stack: context.config.use_dualstack_endpoint,
251
- use_fips: context.config.use_fips_endpoint,
252
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
253
- )
254
- end
255
- end
256
-
257
- class GetResourcePolicy
258
- def self.build(context)
259
- Aws::CodeBuild::EndpointParameters.new(
260
- region: context.config.region,
261
- use_dual_stack: context.config.use_dualstack_endpoint,
262
- use_fips: context.config.use_fips_endpoint,
263
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
264
- )
265
- end
266
- end
267
-
268
- class ImportSourceCredentials
269
- def self.build(context)
270
- Aws::CodeBuild::EndpointParameters.new(
271
- region: context.config.region,
272
- use_dual_stack: context.config.use_dualstack_endpoint,
273
- use_fips: context.config.use_fips_endpoint,
274
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
275
- )
276
- end
277
- end
278
-
279
- class InvalidateProjectCache
280
- def self.build(context)
281
- Aws::CodeBuild::EndpointParameters.new(
282
- region: context.config.region,
283
- use_dual_stack: context.config.use_dualstack_endpoint,
284
- use_fips: context.config.use_fips_endpoint,
285
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
286
- )
287
- end
288
- end
289
15
 
290
- class ListBuildBatches
291
- def self.build(context)
292
- Aws::CodeBuild::EndpointParameters.new(
293
- region: context.config.region,
294
- use_dual_stack: context.config.use_dualstack_endpoint,
295
- use_fips: context.config.use_fips_endpoint,
296
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
297
- )
298
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::CodeBuild::EndpointParameters.create(context.config)
299
18
  end
300
-
301
- class ListBuildBatchesForProject
302
- def self.build(context)
303
- Aws::CodeBuild::EndpointParameters.new(
304
- region: context.config.region,
305
- use_dual_stack: context.config.use_dualstack_endpoint,
306
- use_fips: context.config.use_fips_endpoint,
307
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
308
- )
309
- end
310
- end
311
-
312
- class ListBuilds
313
- def self.build(context)
314
- Aws::CodeBuild::EndpointParameters.new(
315
- region: context.config.region,
316
- use_dual_stack: context.config.use_dualstack_endpoint,
317
- use_fips: context.config.use_fips_endpoint,
318
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
319
- )
320
- end
321
- end
322
-
323
- class ListBuildsForProject
324
- def self.build(context)
325
- Aws::CodeBuild::EndpointParameters.new(
326
- region: context.config.region,
327
- use_dual_stack: context.config.use_dualstack_endpoint,
328
- use_fips: context.config.use_fips_endpoint,
329
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
330
- )
331
- end
332
- end
333
-
334
- class ListCuratedEnvironmentImages
335
- def self.build(context)
336
- Aws::CodeBuild::EndpointParameters.new(
337
- region: context.config.region,
338
- use_dual_stack: context.config.use_dualstack_endpoint,
339
- use_fips: context.config.use_fips_endpoint,
340
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
341
- )
342
- end
343
- end
344
-
345
- class ListFleets
346
- def self.build(context)
347
- Aws::CodeBuild::EndpointParameters.new(
348
- region: context.config.region,
349
- use_dual_stack: context.config.use_dualstack_endpoint,
350
- use_fips: context.config.use_fips_endpoint,
351
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
352
- )
353
- end
354
- end
355
-
356
- class ListProjects
357
- def self.build(context)
358
- Aws::CodeBuild::EndpointParameters.new(
359
- region: context.config.region,
360
- use_dual_stack: context.config.use_dualstack_endpoint,
361
- use_fips: context.config.use_fips_endpoint,
362
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
363
- )
364
- end
365
- end
366
-
367
- class ListReportGroups
368
- def self.build(context)
369
- Aws::CodeBuild::EndpointParameters.new(
370
- region: context.config.region,
371
- use_dual_stack: context.config.use_dualstack_endpoint,
372
- use_fips: context.config.use_fips_endpoint,
373
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
374
- )
375
- end
376
- end
377
-
378
- class ListReports
379
- def self.build(context)
380
- Aws::CodeBuild::EndpointParameters.new(
381
- region: context.config.region,
382
- use_dual_stack: context.config.use_dualstack_endpoint,
383
- use_fips: context.config.use_fips_endpoint,
384
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
385
- )
386
- end
387
- end
388
-
389
- class ListReportsForReportGroup
390
- def self.build(context)
391
- Aws::CodeBuild::EndpointParameters.new(
392
- region: context.config.region,
393
- use_dual_stack: context.config.use_dualstack_endpoint,
394
- use_fips: context.config.use_fips_endpoint,
395
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
396
- )
397
- end
398
- end
399
-
400
- class ListSharedProjects
401
- def self.build(context)
402
- Aws::CodeBuild::EndpointParameters.new(
403
- region: context.config.region,
404
- use_dual_stack: context.config.use_dualstack_endpoint,
405
- use_fips: context.config.use_fips_endpoint,
406
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
407
- )
408
- end
409
- end
410
-
411
- class ListSharedReportGroups
412
- def self.build(context)
413
- Aws::CodeBuild::EndpointParameters.new(
414
- region: context.config.region,
415
- use_dual_stack: context.config.use_dualstack_endpoint,
416
- use_fips: context.config.use_fips_endpoint,
417
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
418
- )
419
- end
420
- end
421
-
422
- class ListSourceCredentials
423
- def self.build(context)
424
- Aws::CodeBuild::EndpointParameters.new(
425
- region: context.config.region,
426
- use_dual_stack: context.config.use_dualstack_endpoint,
427
- use_fips: context.config.use_fips_endpoint,
428
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
429
- )
430
- end
431
- end
432
-
433
- class PutResourcePolicy
434
- def self.build(context)
435
- Aws::CodeBuild::EndpointParameters.new(
436
- region: context.config.region,
437
- use_dual_stack: context.config.use_dualstack_endpoint,
438
- use_fips: context.config.use_fips_endpoint,
439
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
440
- )
441
- end
442
- end
443
-
444
- class RetryBuild
445
- def self.build(context)
446
- Aws::CodeBuild::EndpointParameters.new(
447
- region: context.config.region,
448
- use_dual_stack: context.config.use_dualstack_endpoint,
449
- use_fips: context.config.use_fips_endpoint,
450
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
451
- )
452
- end
453
- end
454
-
455
- class RetryBuildBatch
456
- def self.build(context)
457
- Aws::CodeBuild::EndpointParameters.new(
458
- region: context.config.region,
459
- use_dual_stack: context.config.use_dualstack_endpoint,
460
- use_fips: context.config.use_fips_endpoint,
461
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
462
- )
463
- end
464
- end
465
-
466
- class StartBuild
467
- def self.build(context)
468
- Aws::CodeBuild::EndpointParameters.new(
469
- region: context.config.region,
470
- use_dual_stack: context.config.use_dualstack_endpoint,
471
- use_fips: context.config.use_fips_endpoint,
472
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
473
- )
474
- end
475
- end
476
-
477
- class StartBuildBatch
478
- def self.build(context)
479
- Aws::CodeBuild::EndpointParameters.new(
480
- region: context.config.region,
481
- use_dual_stack: context.config.use_dualstack_endpoint,
482
- use_fips: context.config.use_fips_endpoint,
483
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
484
- )
485
- end
486
- end
487
-
488
- class StopBuild
489
- def self.build(context)
490
- Aws::CodeBuild::EndpointParameters.new(
491
- region: context.config.region,
492
- use_dual_stack: context.config.use_dualstack_endpoint,
493
- use_fips: context.config.use_fips_endpoint,
494
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
495
- )
496
- end
497
- end
498
-
499
- class StopBuildBatch
500
- def self.build(context)
501
- Aws::CodeBuild::EndpointParameters.new(
502
- region: context.config.region,
503
- use_dual_stack: context.config.use_dualstack_endpoint,
504
- use_fips: context.config.use_fips_endpoint,
505
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
506
- )
507
- end
508
- end
509
-
510
- class UpdateFleet
511
- def self.build(context)
512
- Aws::CodeBuild::EndpointParameters.new(
513
- region: context.config.region,
514
- use_dual_stack: context.config.use_dualstack_endpoint,
515
- use_fips: context.config.use_fips_endpoint,
516
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
517
- )
518
- end
519
- end
520
-
521
- class UpdateProject
522
- def self.build(context)
523
- Aws::CodeBuild::EndpointParameters.new(
524
- region: context.config.region,
525
- use_dual_stack: context.config.use_dualstack_endpoint,
526
- use_fips: context.config.use_fips_endpoint,
527
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
528
- )
529
- end
530
- end
531
-
532
- class UpdateProjectVisibility
533
- def self.build(context)
534
- Aws::CodeBuild::EndpointParameters.new(
535
- region: context.config.region,
536
- use_dual_stack: context.config.use_dualstack_endpoint,
537
- use_fips: context.config.use_fips_endpoint,
538
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
539
- )
540
- end
541
- end
542
-
543
- class UpdateReportGroup
544
- def self.build(context)
545
- Aws::CodeBuild::EndpointParameters.new(
546
- region: context.config.region,
547
- use_dual_stack: context.config.use_dualstack_endpoint,
548
- use_fips: context.config.use_fips_endpoint,
549
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
550
- )
551
- end
552
- end
553
-
554
- class UpdateWebhook
555
- def self.build(context)
556
- Aws::CodeBuild::EndpointParameters.new(
557
- region: context.config.region,
558
- use_dual_stack: context.config.use_dualstack_endpoint,
559
- use_fips: context.config.use_fips_endpoint,
560
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
561
- )
562
- end
563
- end
564
-
565
19
  end
566
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::CodeBuild::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,111 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :batch_delete_builds
74
- Aws::CodeBuild::Endpoints::BatchDeleteBuilds.build(context)
75
- when :batch_get_build_batches
76
- Aws::CodeBuild::Endpoints::BatchGetBuildBatches.build(context)
77
- when :batch_get_builds
78
- Aws::CodeBuild::Endpoints::BatchGetBuilds.build(context)
79
- when :batch_get_fleets
80
- Aws::CodeBuild::Endpoints::BatchGetFleets.build(context)
81
- when :batch_get_projects
82
- Aws::CodeBuild::Endpoints::BatchGetProjects.build(context)
83
- when :batch_get_report_groups
84
- Aws::CodeBuild::Endpoints::BatchGetReportGroups.build(context)
85
- when :batch_get_reports
86
- Aws::CodeBuild::Endpoints::BatchGetReports.build(context)
87
- when :create_fleet
88
- Aws::CodeBuild::Endpoints::CreateFleet.build(context)
89
- when :create_project
90
- Aws::CodeBuild::Endpoints::CreateProject.build(context)
91
- when :create_report_group
92
- Aws::CodeBuild::Endpoints::CreateReportGroup.build(context)
93
- when :create_webhook
94
- Aws::CodeBuild::Endpoints::CreateWebhook.build(context)
95
- when :delete_build_batch
96
- Aws::CodeBuild::Endpoints::DeleteBuildBatch.build(context)
97
- when :delete_fleet
98
- Aws::CodeBuild::Endpoints::DeleteFleet.build(context)
99
- when :delete_project
100
- Aws::CodeBuild::Endpoints::DeleteProject.build(context)
101
- when :delete_report
102
- Aws::CodeBuild::Endpoints::DeleteReport.build(context)
103
- when :delete_report_group
104
- Aws::CodeBuild::Endpoints::DeleteReportGroup.build(context)
105
- when :delete_resource_policy
106
- Aws::CodeBuild::Endpoints::DeleteResourcePolicy.build(context)
107
- when :delete_source_credentials
108
- Aws::CodeBuild::Endpoints::DeleteSourceCredentials.build(context)
109
- when :delete_webhook
110
- Aws::CodeBuild::Endpoints::DeleteWebhook.build(context)
111
- when :describe_code_coverages
112
- Aws::CodeBuild::Endpoints::DescribeCodeCoverages.build(context)
113
- when :describe_test_cases
114
- Aws::CodeBuild::Endpoints::DescribeTestCases.build(context)
115
- when :get_report_group_trend
116
- Aws::CodeBuild::Endpoints::GetReportGroupTrend.build(context)
117
- when :get_resource_policy
118
- Aws::CodeBuild::Endpoints::GetResourcePolicy.build(context)
119
- when :import_source_credentials
120
- Aws::CodeBuild::Endpoints::ImportSourceCredentials.build(context)
121
- when :invalidate_project_cache
122
- Aws::CodeBuild::Endpoints::InvalidateProjectCache.build(context)
123
- when :list_build_batches
124
- Aws::CodeBuild::Endpoints::ListBuildBatches.build(context)
125
- when :list_build_batches_for_project
126
- Aws::CodeBuild::Endpoints::ListBuildBatchesForProject.build(context)
127
- when :list_builds
128
- Aws::CodeBuild::Endpoints::ListBuilds.build(context)
129
- when :list_builds_for_project
130
- Aws::CodeBuild::Endpoints::ListBuildsForProject.build(context)
131
- when :list_curated_environment_images
132
- Aws::CodeBuild::Endpoints::ListCuratedEnvironmentImages.build(context)
133
- when :list_fleets
134
- Aws::CodeBuild::Endpoints::ListFleets.build(context)
135
- when :list_projects
136
- Aws::CodeBuild::Endpoints::ListProjects.build(context)
137
- when :list_report_groups
138
- Aws::CodeBuild::Endpoints::ListReportGroups.build(context)
139
- when :list_reports
140
- Aws::CodeBuild::Endpoints::ListReports.build(context)
141
- when :list_reports_for_report_group
142
- Aws::CodeBuild::Endpoints::ListReportsForReportGroup.build(context)
143
- when :list_shared_projects
144
- Aws::CodeBuild::Endpoints::ListSharedProjects.build(context)
145
- when :list_shared_report_groups
146
- Aws::CodeBuild::Endpoints::ListSharedReportGroups.build(context)
147
- when :list_source_credentials
148
- Aws::CodeBuild::Endpoints::ListSourceCredentials.build(context)
149
- when :put_resource_policy
150
- Aws::CodeBuild::Endpoints::PutResourcePolicy.build(context)
151
- when :retry_build
152
- Aws::CodeBuild::Endpoints::RetryBuild.build(context)
153
- when :retry_build_batch
154
- Aws::CodeBuild::Endpoints::RetryBuildBatch.build(context)
155
- when :start_build
156
- Aws::CodeBuild::Endpoints::StartBuild.build(context)
157
- when :start_build_batch
158
- Aws::CodeBuild::Endpoints::StartBuildBatch.build(context)
159
- when :stop_build
160
- Aws::CodeBuild::Endpoints::StopBuild.build(context)
161
- when :stop_build_batch
162
- Aws::CodeBuild::Endpoints::StopBuildBatch.build(context)
163
- when :update_fleet
164
- Aws::CodeBuild::Endpoints::UpdateFleet.build(context)
165
- when :update_project
166
- Aws::CodeBuild::Endpoints::UpdateProject.build(context)
167
- when :update_project_visibility
168
- Aws::CodeBuild::Endpoints::UpdateProjectVisibility.build(context)
169
- when :update_report_group
170
- Aws::CodeBuild::Endpoints::UpdateReportGroup.build(context)
171
- when :update_webhook
172
- Aws::CodeBuild::Endpoints::UpdateWebhook.build(context)
173
- end
174
- end
175
70
  end
176
71
 
177
72
  def add_handlers(handlers, _config)
@@ -1534,6 +1534,10 @@ module Aws::CodeBuild
1534
1534
  # Information about the VPC configuration that CodeBuild accesses.
1535
1535
  # @return [Types::VpcConfig]
1536
1536
  #
1537
+ # @!attribute [rw] proxy_configuration
1538
+ # The proxy configuration of the compute fleet.
1539
+ # @return [Types::ProxyConfiguration]
1540
+ #
1537
1541
  # @!attribute [rw] image_id
1538
1542
  # The Amazon Machine Image (AMI) of the compute fleet.
1539
1543
  # @return [String]
@@ -1566,6 +1570,7 @@ module Aws::CodeBuild
1566
1570
  :scaling_configuration,
1567
1571
  :overflow_behavior,
1568
1572
  :vpc_config,
1573
+ :proxy_configuration,
1569
1574
  :image_id,
1570
1575
  :fleet_service_role,
1571
1576
  :tags)
@@ -2546,6 +2551,10 @@ module Aws::CodeBuild
2546
2551
  # Information about the VPC configuration that CodeBuild accesses.
2547
2552
  # @return [Types::VpcConfig]
2548
2553
  #
2554
+ # @!attribute [rw] proxy_configuration
2555
+ # The proxy configuration of the compute fleet.
2556
+ # @return [Types::ProxyConfiguration]
2557
+ #
2549
2558
  # @!attribute [rw] image_id
2550
2559
  # The Amazon Machine Image (AMI) of the compute fleet.
2551
2560
  # @return [String]
@@ -2583,6 +2592,7 @@ module Aws::CodeBuild
2583
2592
  :scaling_configuration,
2584
2593
  :overflow_behavior,
2585
2594
  :vpc_config,
2595
+ :proxy_configuration,
2586
2596
  :image_id,
2587
2597
  :fleet_service_role,
2588
2598
  :tags)
@@ -2590,6 +2600,30 @@ module Aws::CodeBuild
2590
2600
  include Aws::Structure
2591
2601
  end
2592
2602
 
2603
+ # Information about the proxy rule for your reserved capacity instances.
2604
+ #
2605
+ # @!attribute [rw] type
2606
+ # The type of proxy rule.
2607
+ # @return [String]
2608
+ #
2609
+ # @!attribute [rw] effect
2610
+ # The behavior of the proxy rule.
2611
+ # @return [String]
2612
+ #
2613
+ # @!attribute [rw] entities
2614
+ # The destination of the proxy rule.
2615
+ # @return [Array<String>]
2616
+ #
2617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/FleetProxyRule AWS API Documentation
2618
+ #
2619
+ class FleetProxyRule < Struct.new(
2620
+ :type,
2621
+ :effect,
2622
+ :entities)
2623
+ SENSITIVE = []
2624
+ include Aws::Structure
2625
+ end
2626
+
2593
2627
  # The status of the compute fleet.
2594
2628
  #
2595
2629
  # @!attribute [rw] status_code
@@ -4864,6 +4898,28 @@ module Aws::CodeBuild
4864
4898
  include Aws::Structure
4865
4899
  end
4866
4900
 
4901
+ # Information about the proxy configurations that apply network access
4902
+ # control to your reserved capacity instances.
4903
+ #
4904
+ # @!attribute [rw] default_behavior
4905
+ # The default behavior of outgoing traffic.
4906
+ # @return [String]
4907
+ #
4908
+ # @!attribute [rw] ordered_proxy_rules
4909
+ # An array of `FleetProxyRule` objects that represent the specified
4910
+ # destination domains or IPs to allow or deny network access control
4911
+ # to.
4912
+ # @return [Array<Types::FleetProxyRule>]
4913
+ #
4914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProxyConfiguration AWS API Documentation
4915
+ #
4916
+ class ProxyConfiguration < Struct.new(
4917
+ :default_behavior,
4918
+ :ordered_proxy_rules)
4919
+ SENSITIVE = []
4920
+ include Aws::Structure
4921
+ end
4922
+
4867
4923
  # @!attribute [rw] policy
4868
4924
  # A JSON-formatted resource policy. For more information, see [Sharing
4869
4925
  # a Project][1] and [Sharing a Report Group][2] in the *CodeBuild User
@@ -6537,6 +6593,10 @@ module Aws::CodeBuild
6537
6593
  # Information about the VPC configuration that CodeBuild accesses.
6538
6594
  # @return [Types::VpcConfig]
6539
6595
  #
6596
+ # @!attribute [rw] proxy_configuration
6597
+ # The proxy configuration of the compute fleet.
6598
+ # @return [Types::ProxyConfiguration]
6599
+ #
6540
6600
  # @!attribute [rw] image_id
6541
6601
  # The Amazon Machine Image (AMI) of the compute fleet.
6542
6602
  # @return [String]
@@ -6569,6 +6629,7 @@ module Aws::CodeBuild
6569
6629
  :scaling_configuration,
6570
6630
  :overflow_behavior,
6571
6631
  :vpc_config,
6632
+ :proxy_configuration,
6572
6633
  :image_id,
6573
6634
  :fleet_service_role,
6574
6635
  :tags)
@@ -54,7 +54,7 @@ module Aws::CodeBuild
54
54
  autoload :EndpointProvider, 'aws-sdk-codebuild/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-codebuild/endpoints'
56
56
 
57
- GEM_VERSION = '1.132.0'
57
+ GEM_VERSION = '1.134.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -179,6 +179,16 @@ module Aws
179
179
  subnets: Array[::String]?,
180
180
  security_group_ids: Array[::String]?
181
181
  },
182
+ ?proxy_configuration: {
183
+ default_behavior: ("ALLOW_ALL" | "DENY_ALL")?,
184
+ ordered_proxy_rules: Array[
185
+ {
186
+ type: ("DOMAIN" | "IP"),
187
+ effect: ("ALLOW" | "DENY"),
188
+ entities: Array[::String]
189
+ },
190
+ ]?
191
+ },
182
192
  ?image_id: ::String,
183
193
  ?fleet_service_role: ::String,
184
194
  ?tags: Array[
@@ -391,7 +401,7 @@ module Aws
391
401
  ?filter_groups: Array[
392
402
  Array[
393
403
  {
394
- type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME"),
404
+ type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME" | "REPOSITORY_NAME"),
395
405
  pattern: ::String,
396
406
  exclude_matched_pattern: bool?
397
407
  },
@@ -1077,6 +1087,16 @@ module Aws
1077
1087
  subnets: Array[::String]?,
1078
1088
  security_group_ids: Array[::String]?
1079
1089
  },
1090
+ ?proxy_configuration: {
1091
+ default_behavior: ("ALLOW_ALL" | "DENY_ALL")?,
1092
+ ordered_proxy_rules: Array[
1093
+ {
1094
+ type: ("DOMAIN" | "IP"),
1095
+ effect: ("ALLOW" | "DENY"),
1096
+ entities: Array[::String]
1097
+ },
1098
+ ]?
1099
+ },
1080
1100
  ?image_id: ::String,
1081
1101
  ?fleet_service_role: ::String,
1082
1102
  ?tags: Array[
@@ -1303,7 +1323,7 @@ module Aws
1303
1323
  ?filter_groups: Array[
1304
1324
  Array[
1305
1325
  {
1306
- type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME"),
1326
+ type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME" | "REPOSITORY_NAME"),
1307
1327
  pattern: ::String,
1308
1328
  exclude_matched_pattern: bool?
1309
1329
  },
data/sig/types.rbs CHANGED
@@ -269,6 +269,7 @@ module Aws::CodeBuild
269
269
  attr_accessor scaling_configuration: Types::ScalingConfigurationInput
270
270
  attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
271
271
  attr_accessor vpc_config: Types::VpcConfig
272
+ attr_accessor proxy_configuration: Types::ProxyConfiguration
272
273
  attr_accessor image_id: ::String
273
274
  attr_accessor fleet_service_role: ::String
274
275
  attr_accessor tags: ::Array[Types::Tag]
@@ -491,12 +492,20 @@ module Aws::CodeBuild
491
492
  attr_accessor scaling_configuration: Types::ScalingConfigurationOutput
492
493
  attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
493
494
  attr_accessor vpc_config: Types::VpcConfig
495
+ attr_accessor proxy_configuration: Types::ProxyConfiguration
494
496
  attr_accessor image_id: ::String
495
497
  attr_accessor fleet_service_role: ::String
496
498
  attr_accessor tags: ::Array[Types::Tag]
497
499
  SENSITIVE: []
498
500
  end
499
501
 
502
+ class FleetProxyRule
503
+ attr_accessor type: ("DOMAIN" | "IP")
504
+ attr_accessor effect: ("ALLOW" | "DENY")
505
+ attr_accessor entities: ::Array[::String]
506
+ SENSITIVE: []
507
+ end
508
+
500
509
  class FleetStatus
501
510
  attr_accessor status_code: ("CREATING" | "UPDATING" | "ROTATING" | "PENDING_DELETION" | "DELETING" | "CREATE_FAILED" | "UPDATE_ROLLBACK_FAILED" | "ACTIVE")
502
511
  attr_accessor context: ("CREATE_FAILED" | "UPDATE_FAILED" | "ACTION_REQUIRED" | "PENDING_DELETION" | "INSUFFICIENT_CAPACITY")
@@ -873,6 +882,12 @@ module Aws::CodeBuild
873
882
  SENSITIVE: []
874
883
  end
875
884
 
885
+ class ProxyConfiguration
886
+ attr_accessor default_behavior: ("ALLOW_ALL" | "DENY_ALL")
887
+ attr_accessor ordered_proxy_rules: ::Array[Types::FleetProxyRule]
888
+ SENSITIVE: []
889
+ end
890
+
876
891
  class PutResourcePolicyInput
877
892
  attr_accessor policy: ::String
878
893
  attr_accessor resource_arn: ::String
@@ -1178,6 +1193,7 @@ module Aws::CodeBuild
1178
1193
  attr_accessor scaling_configuration: Types::ScalingConfigurationInput
1179
1194
  attr_accessor overflow_behavior: ("QUEUE" | "ON_DEMAND")
1180
1195
  attr_accessor vpc_config: Types::VpcConfig
1196
+ attr_accessor proxy_configuration: Types::ProxyConfiguration
1181
1197
  attr_accessor image_id: ::String
1182
1198
  attr_accessor fleet_service_role: ::String
1183
1199
  attr_accessor tags: ::Array[Types::Tag]
@@ -1280,7 +1296,7 @@ module Aws::CodeBuild
1280
1296
  end
1281
1297
 
1282
1298
  class WebhookFilter
1283
- attr_accessor type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME")
1299
+ attr_accessor type: ("EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME" | "REPOSITORY_NAME")
1284
1300
  attr_accessor pattern: ::String
1285
1301
  attr_accessor exclude_matched_pattern: bool
1286
1302
  SENSITIVE: []
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.132.0
4
+ version: 1.134.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-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement