aws-sdk-codebuild 1.7.0 → 1.8.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
  SHA1:
3
- metadata.gz: 1a94e2e4e3f788ad0097ca831418cc005bb7515e
4
- data.tar.gz: dcb00da1a7a4c68e9f946232d494142da82c66dc
3
+ metadata.gz: 14786e649ce6df7279a76d11f74332a3e0fbd0a4
4
+ data.tar.gz: 15cd8515cd46bc17375c1cc868c9bba58843d1a3
5
5
  SHA512:
6
- metadata.gz: f2d4b89e933288107371fa45bb3f74254fdb9fa481922103bc0b4f220160b2d515ca3f780cad7de828e1efabf95474af9cde76477ed63aa16ce224040c7b93e0
7
- data.tar.gz: 70f28cc0ac3c3673f1b369c747f1dcec0ef4c9ab8fa7fdedd89dbb6aa0de0a46441fad5e92c7ff6b334a382f0755c112edda7f1c707f6cc40a14e3a3d30041e0
6
+ metadata.gz: '059f8e4b79fe20b53839b21416ad827aff806a6f26740686c0822442b2126ddb8ec2539bd1006b2bc543e4279934413cf94b0a7b66febca8c2da490c2bf3bdd7'
7
+ data.tar.gz: e988a9f9ead3ee205205dd64db0402af7878f3e0c35a067597420dd2a0347d35b098ed9d6f63cfea7c515abec70c870d26f44160cde4fc8c340fd1276a1f84c8
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codebuild/customizations'
42
42
  # @service
43
43
  module Aws::CodeBuild
44
44
 
45
- GEM_VERSION = '1.7.0'
45
+ GEM_VERSION = '1.8.0'
46
46
 
47
47
  end
@@ -498,6 +498,7 @@ module Aws::CodeBuild
498
498
  # resp.builds[0].environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
499
499
  # resp.builds[0].environment.privileged_mode #=> Boolean
500
500
  # resp.builds[0].environment.certificate #=> String
501
+ # resp.builds[0].service_role #=> String
501
502
  # resp.builds[0].logs.group_name #=> String
502
503
  # resp.builds[0].logs.stream_name #=> String
503
504
  # resp.builds[0].logs.deep_link #=> String
@@ -786,7 +787,7 @@ module Aws::CodeBuild
786
787
  # per-build basis, you will be billed for both builds. Therefore, if you
787
788
  # are using AWS CodePipeline, we recommend that you disable webhooks in
788
789
  # CodeBuild. In the AWS CodeBuild console, clear the Webhook box. For
789
- # more information, see step 9 in [Change a Build Project's
790
+ # more information, see step 5 in [Change a Build Project's
790
791
  # Settings][1].
791
792
  #
792
793
  #
@@ -1126,6 +1127,19 @@ module Aws::CodeBuild
1126
1127
  # A set of environment variables that overrides, for this build only,
1127
1128
  # the latest ones already defined in the build project.
1128
1129
  #
1130
+ # @option params [String] :source_type_override
1131
+ # A source input type for this build that overrides the source input
1132
+ # defined in the build project
1133
+ #
1134
+ # @option params [String] :source_location_override
1135
+ # A location that overrides for this build the source location for the
1136
+ # one defined in the build project.
1137
+ #
1138
+ # @option params [Types::SourceAuth] :source_auth_override
1139
+ # An authorization type for this build that overrides the one defined in
1140
+ # the build project. This override applies only if the build project's
1141
+ # source is BitBucket or GitHub.
1142
+ #
1129
1143
  # @option params [Integer] :git_clone_depth_override
1130
1144
  # The user-defined depth of history, with a minimum value of 0, that
1131
1145
  # overrides, for this build only, any previous depth of history defined
@@ -1135,11 +1149,52 @@ module Aws::CodeBuild
1135
1149
  # A build spec declaration that overrides, for this build only, the
1136
1150
  # latest one already defined in the build project.
1137
1151
  #
1152
+ # @option params [Boolean] :insecure_ssl_override
1153
+ # Enable this flag to override the insecure SSL setting that is
1154
+ # specified in the build project. The insecure SSL setting determines
1155
+ # whether to ignore SSL warnings while connecting to the project source
1156
+ # code. This override applies only if the build's source is GitHub
1157
+ # Enterprise.
1158
+ #
1159
+ # @option params [String] :environment_type_override
1160
+ # A container type for this build that overrides the one specified in
1161
+ # the build project.
1162
+ #
1163
+ # @option params [String] :image_override
1164
+ # The name of an image for this build that overrides the one specified
1165
+ # in the build project.
1166
+ #
1167
+ # @option params [String] :compute_type_override
1168
+ # The name of a compute type for this build that overrides the one
1169
+ # specified in the build project.
1170
+ #
1171
+ # @option params [String] :certificate_override
1172
+ # The name of a certificate for this build that overrides the one
1173
+ # specified in the build project.
1174
+ #
1175
+ # @option params [Types::ProjectCache] :cache_override
1176
+ # A ProjectCache object specified for this build that overrides the one
1177
+ # defined in the build project.
1178
+ #
1179
+ # @option params [String] :service_role_override
1180
+ # The name of a service role for this build that overrides the one
1181
+ # specified in the build project.
1182
+ #
1183
+ # @option params [Boolean] :privileged_mode_override
1184
+ # Enable this flag to override privileged mode in the build project.
1185
+ #
1138
1186
  # @option params [Integer] :timeout_in_minutes_override
1139
1187
  # The number of build timeout minutes, from 5 to 480 (8 hours), that
1140
1188
  # overrides, for this build only, the latest setting already defined in
1141
1189
  # the build project.
1142
1190
  #
1191
+ # @option params [String] :idempotency_token
1192
+ # A unique, case sensitive identifier you provide to ensure the
1193
+ # idempotency of the StartBuild request. The token is included in the
1194
+ # StartBuild request and is valid for 12 hours. If you repeat the
1195
+ # StartBuild request with the same token, but change a parameter, AWS
1196
+ # CodeBuild returns a parameter mismatch error.
1197
+ #
1143
1198
  # @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1144
1199
  #
1145
1200
  # * {Types::StartBuildOutput#build #build} => Types::Build
@@ -1164,9 +1219,27 @@ module Aws::CodeBuild
1164
1219
  # type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE
1165
1220
  # },
1166
1221
  # ],
1222
+ # source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
1223
+ # source_location_override: "String",
1224
+ # source_auth_override: {
1225
+ # type: "OAUTH", # required, accepts OAUTH
1226
+ # resource: "String",
1227
+ # },
1167
1228
  # git_clone_depth_override: 1,
1168
1229
  # buildspec_override: "String",
1230
+ # insecure_ssl_override: false,
1231
+ # environment_type_override: "LINUX_CONTAINER", # accepts LINUX_CONTAINER
1232
+ # image_override: "NonEmptyString",
1233
+ # compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
1234
+ # certificate_override: "String",
1235
+ # cache_override: {
1236
+ # type: "NO_CACHE", # required, accepts NO_CACHE, S3
1237
+ # location: "String",
1238
+ # },
1239
+ # service_role_override: "NonEmptyString",
1240
+ # privileged_mode_override: false,
1169
1241
  # timeout_in_minutes_override: 1,
1242
+ # idempotency_token: "String",
1170
1243
  # })
1171
1244
  #
1172
1245
  # @example Response structure
@@ -1209,6 +1282,7 @@ module Aws::CodeBuild
1209
1282
  # resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
1210
1283
  # resp.build.environment.privileged_mode #=> Boolean
1211
1284
  # resp.build.environment.certificate #=> String
1285
+ # resp.build.service_role #=> String
1212
1286
  # resp.build.logs.group_name #=> String
1213
1287
  # resp.build.logs.stream_name #=> String
1214
1288
  # resp.build.logs.deep_link #=> String
@@ -1287,6 +1361,7 @@ module Aws::CodeBuild
1287
1361
  # resp.build.environment.environment_variables[0].type #=> String, one of "PLAINTEXT", "PARAMETER_STORE"
1288
1362
  # resp.build.environment.privileged_mode #=> Boolean
1289
1363
  # resp.build.environment.certificate #=> String
1364
+ # resp.build.service_role #=> String
1290
1365
  # resp.build.logs.group_name #=> String
1291
1366
  # resp.build.logs.stream_name #=> String
1292
1367
  # resp.build.logs.deep_link #=> String
@@ -1547,7 +1622,7 @@ module Aws::CodeBuild
1547
1622
  params: params,
1548
1623
  config: config)
1549
1624
  context[:gem_name] = 'aws-sdk-codebuild'
1550
- context[:gem_version] = '1.7.0'
1625
+ context[:gem_version] = '1.8.0'
1551
1626
  Seahorse::Client::Request.new(handlers, context)
1552
1627
  end
1553
1628
 
@@ -147,6 +147,7 @@ module Aws::CodeBuild
147
147
  Build.add_member(:artifacts, Shapes::ShapeRef.new(shape: BuildArtifacts, location_name: "artifacts"))
148
148
  Build.add_member(:cache, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cache"))
149
149
  Build.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
150
+ Build.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
150
151
  Build.add_member(:logs, Shapes::ShapeRef.new(shape: LogsLocation, location_name: "logs"))
151
152
  Build.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "timeoutInMinutes"))
152
153
  Build.add_member(:build_complete, Shapes::ShapeRef.new(shape: Boolean, location_name: "buildComplete"))
@@ -357,9 +358,21 @@ module Aws::CodeBuild
357
358
  StartBuildInput.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "sourceVersion"))
358
359
  StartBuildInput.add_member(:artifacts_override, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifactsOverride"))
359
360
  StartBuildInput.add_member(:environment_variables_override, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariablesOverride"))
361
+ StartBuildInput.add_member(:source_type_override, Shapes::ShapeRef.new(shape: SourceType, location_name: "sourceTypeOverride"))
362
+ StartBuildInput.add_member(:source_location_override, Shapes::ShapeRef.new(shape: String, location_name: "sourceLocationOverride"))
363
+ StartBuildInput.add_member(:source_auth_override, Shapes::ShapeRef.new(shape: SourceAuth, location_name: "sourceAuthOverride"))
360
364
  StartBuildInput.add_member(:git_clone_depth_override, Shapes::ShapeRef.new(shape: GitCloneDepth, location_name: "gitCloneDepthOverride"))
361
365
  StartBuildInput.add_member(:buildspec_override, Shapes::ShapeRef.new(shape: String, location_name: "buildspecOverride"))
366
+ StartBuildInput.add_member(:insecure_ssl_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "insecureSslOverride"))
367
+ StartBuildInput.add_member(:environment_type_override, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentTypeOverride"))
368
+ StartBuildInput.add_member(:image_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "imageOverride"))
369
+ StartBuildInput.add_member(:compute_type_override, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeTypeOverride"))
370
+ StartBuildInput.add_member(:certificate_override, Shapes::ShapeRef.new(shape: String, location_name: "certificateOverride"))
371
+ StartBuildInput.add_member(:cache_override, Shapes::ShapeRef.new(shape: ProjectCache, location_name: "cacheOverride"))
372
+ StartBuildInput.add_member(:service_role_override, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRoleOverride"))
373
+ StartBuildInput.add_member(:privileged_mode_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedModeOverride"))
362
374
  StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutesOverride"))
375
+ StartBuildInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "idempotencyToken"))
363
376
  StartBuildInput.struct_class = Types::StartBuildInput
364
377
 
365
378
  StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
@@ -179,6 +179,10 @@ module Aws::CodeBuild
179
179
  # Information about the build environment for this build.
180
180
  # @return [Types::ProjectEnvironment]
181
181
  #
182
+ # @!attribute [rw] service_role
183
+ # The name of a service role used for this build.
184
+ # @return [String]
185
+ #
182
186
  # @!attribute [rw] logs
183
187
  # Information about the build's logs in Amazon CloudWatch Logs.
184
188
  # @return [Types::LogsLocation]
@@ -233,6 +237,7 @@ module Aws::CodeBuild
233
237
  :artifacts,
234
238
  :cache,
235
239
  :environment,
240
+ :service_role,
236
241
  :logs,
237
242
  :timeout_in_minutes,
238
243
  :build_complete,
@@ -1216,12 +1221,22 @@ module Aws::CodeBuild
1216
1221
  # ignored if specified, because no build output will be produced.
1217
1222
  #
1218
1223
  # * If `type` is set to `S3`, this is the name of the output artifact
1219
- # object.
1224
+ # object. If you set the name to be a forward slash ("/"), then
1225
+ # the artifact is stored in the root of the output bucket.
1220
1226
  #
1221
- # For example, if `path` is set to `MyArtifacts`, `namespaceType` is
1222
- # set to `BUILD_ID`, and `name` is set to `MyArtifact.zip`, then the
1223
- # output artifact would be stored in
1224
- # `MyArtifacts/build-ID/MyArtifact.zip`.
1227
+ # For example:
1228
+ #
1229
+ # * If `path` is set to `MyArtifacts`, `namespaceType` is set to
1230
+ # `BUILD_ID`, and `name` is set to `MyArtifact.zip`, then the output
1231
+ # artifact would be stored in `MyArtifacts/build-ID/MyArtifact.zip`.
1232
+ #
1233
+ # * If `path` is empty, `namespaceType` is set to `NONE`, and `name`
1234
+ # is set to "`/`", then the output artifact would be stored in the
1235
+ # root of the output bucket.
1236
+ #
1237
+ # * If `path` is set to `MyArtifacts`, `namespaceType` is set to
1238
+ # `BUILD_ID`, and `name` is set to "`/`", then the output artifact
1239
+ # would be stored in `MyArtifacts/build-ID `.
1225
1240
  # @return [String]
1226
1241
  #
1227
1242
  # @!attribute [rw] packaging
@@ -1564,9 +1579,27 @@ module Aws::CodeBuild
1564
1579
  # type: "PLAINTEXT", # accepts PLAINTEXT, PARAMETER_STORE
1565
1580
  # },
1566
1581
  # ],
1582
+ # source_type_override: "CODECOMMIT", # accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3, BITBUCKET, GITHUB_ENTERPRISE
1583
+ # source_location_override: "String",
1584
+ # source_auth_override: {
1585
+ # type: "OAUTH", # required, accepts OAUTH
1586
+ # resource: "String",
1587
+ # },
1567
1588
  # git_clone_depth_override: 1,
1568
1589
  # buildspec_override: "String",
1590
+ # insecure_ssl_override: false,
1591
+ # environment_type_override: "LINUX_CONTAINER", # accepts LINUX_CONTAINER
1592
+ # image_override: "NonEmptyString",
1593
+ # compute_type_override: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
1594
+ # certificate_override: "String",
1595
+ # cache_override: {
1596
+ # type: "NO_CACHE", # required, accepts NO_CACHE, S3
1597
+ # location: "String",
1598
+ # },
1599
+ # service_role_override: "NonEmptyString",
1600
+ # privileged_mode_override: false,
1569
1601
  # timeout_in_minutes_override: 1,
1602
+ # idempotency_token: "String",
1570
1603
  # }
1571
1604
  #
1572
1605
  # @!attribute [rw] project_name
@@ -1608,6 +1641,22 @@ module Aws::CodeBuild
1608
1641
  # the latest ones already defined in the build project.
1609
1642
  # @return [Array<Types::EnvironmentVariable>]
1610
1643
  #
1644
+ # @!attribute [rw] source_type_override
1645
+ # A source input type for this build that overrides the source input
1646
+ # defined in the build project
1647
+ # @return [String]
1648
+ #
1649
+ # @!attribute [rw] source_location_override
1650
+ # A location that overrides for this build the source location for the
1651
+ # one defined in the build project.
1652
+ # @return [String]
1653
+ #
1654
+ # @!attribute [rw] source_auth_override
1655
+ # An authorization type for this build that overrides the one defined
1656
+ # in the build project. This override applies only if the build
1657
+ # project's source is BitBucket or GitHub.
1658
+ # @return [Types::SourceAuth]
1659
+ #
1611
1660
  # @!attribute [rw] git_clone_depth_override
1612
1661
  # The user-defined depth of history, with a minimum value of 0, that
1613
1662
  # overrides, for this build only, any previous depth of history
@@ -1619,12 +1668,62 @@ module Aws::CodeBuild
1619
1668
  # latest one already defined in the build project.
1620
1669
  # @return [String]
1621
1670
  #
1671
+ # @!attribute [rw] insecure_ssl_override
1672
+ # Enable this flag to override the insecure SSL setting that is
1673
+ # specified in the build project. The insecure SSL setting determines
1674
+ # whether to ignore SSL warnings while connecting to the project
1675
+ # source code. This override applies only if the build's source is
1676
+ # GitHub Enterprise.
1677
+ # @return [Boolean]
1678
+ #
1679
+ # @!attribute [rw] environment_type_override
1680
+ # A container type for this build that overrides the one specified in
1681
+ # the build project.
1682
+ # @return [String]
1683
+ #
1684
+ # @!attribute [rw] image_override
1685
+ # The name of an image for this build that overrides the one specified
1686
+ # in the build project.
1687
+ # @return [String]
1688
+ #
1689
+ # @!attribute [rw] compute_type_override
1690
+ # The name of a compute type for this build that overrides the one
1691
+ # specified in the build project.
1692
+ # @return [String]
1693
+ #
1694
+ # @!attribute [rw] certificate_override
1695
+ # The name of a certificate for this build that overrides the one
1696
+ # specified in the build project.
1697
+ # @return [String]
1698
+ #
1699
+ # @!attribute [rw] cache_override
1700
+ # A ProjectCache object specified for this build that overrides the
1701
+ # one defined in the build project.
1702
+ # @return [Types::ProjectCache]
1703
+ #
1704
+ # @!attribute [rw] service_role_override
1705
+ # The name of a service role for this build that overrides the one
1706
+ # specified in the build project.
1707
+ # @return [String]
1708
+ #
1709
+ # @!attribute [rw] privileged_mode_override
1710
+ # Enable this flag to override privileged mode in the build project.
1711
+ # @return [Boolean]
1712
+ #
1622
1713
  # @!attribute [rw] timeout_in_minutes_override
1623
1714
  # The number of build timeout minutes, from 5 to 480 (8 hours), that
1624
1715
  # overrides, for this build only, the latest setting already defined
1625
1716
  # in the build project.
1626
1717
  # @return [Integer]
1627
1718
  #
1719
+ # @!attribute [rw] idempotency_token
1720
+ # A unique, case sensitive identifier you provide to ensure the
1721
+ # idempotency of the StartBuild request. The token is included in the
1722
+ # StartBuild request and is valid for 12 hours. If you repeat the
1723
+ # StartBuild request with the same token, but change a parameter, AWS
1724
+ # CodeBuild returns a parameter mismatch error.
1725
+ # @return [String]
1726
+ #
1628
1727
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput AWS API Documentation
1629
1728
  #
1630
1729
  class StartBuildInput < Struct.new(
@@ -1632,9 +1731,21 @@ module Aws::CodeBuild
1632
1731
  :source_version,
1633
1732
  :artifacts_override,
1634
1733
  :environment_variables_override,
1734
+ :source_type_override,
1735
+ :source_location_override,
1736
+ :source_auth_override,
1635
1737
  :git_clone_depth_override,
1636
1738
  :buildspec_override,
1637
- :timeout_in_minutes_override)
1739
+ :insecure_ssl_override,
1740
+ :environment_type_override,
1741
+ :image_override,
1742
+ :compute_type_override,
1743
+ :certificate_override,
1744
+ :cache_override,
1745
+ :service_role_override,
1746
+ :privileged_mode_override,
1747
+ :timeout_in_minutes_override,
1748
+ :idempotency_token)
1638
1749
  include Aws::Structure
1639
1750
  end
1640
1751
 
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.7.0
4
+ version: 1.8.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-03-22 00:00:00.000000000 Z
11
+ date: 2018-05-14 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.2.2
78
+ rubygems_version: 2.5.2.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - AWS CodeBuild