aws-sdk-codebuild 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74881935962411a2d86f37791d34a4ceb10e2bfa
4
- data.tar.gz: a8a2197ab77418a3ee9c960fb9c16fdc57f4e82e
3
+ metadata.gz: 5778f98d37812bb0d7ad918fca87f5ec6a4182d2
4
+ data.tar.gz: 496875f64cc57a4bb22f391daa2900cda0c2ee82
5
5
  SHA512:
6
- metadata.gz: e26d5554c42968b38f800c2eba790637ff2e3ec3f84de5343fd3236c65d06c57267737777a312853220d6f6cd7301ef67ddaedfc013d67780b568f53a89d4d50
7
- data.tar.gz: 61d7a2e55875b817cf287f4bcc3a2c4eb730de36081cf2c953cd47483f4618ea982f86e15aec00cd7b58176e2f338f62bf258cac174ec92270d6b907c0f127d8
6
+ metadata.gz: 1e9df6f6d479786836fd1ae5189c505d1fe2eaabe794d865bdb898d29862d06641e8519ffcdda660b11414bbb134eda415e4eb6b1c9f016b86f035c7bc10d58a
7
+ data.tar.gz: cbbed4a22ccd478803ec9d85fe7c12ada0a0d1f8c1b72ad56ceb15d39d464343b869877f84c8a457042e7dabde19e8160e375be62a1e80899a30f9d4e1415e44
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -1,6 +1,6 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
@@ -23,836 +23,919 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
23
23
 
24
24
  Aws::Plugins::GlobalConfiguration.add_identifier(:codebuild)
25
25
 
26
- module Aws
27
- module CodeBuild
28
- class Client < Seahorse::Client::Base
26
+ module Aws::CodeBuild
27
+ class Client < Seahorse::Client::Base
29
28
 
30
- include Aws::ClientStubs
29
+ include Aws::ClientStubs
31
30
 
32
- @identifier = :codebuild
31
+ @identifier = :codebuild
33
32
 
34
- set_api(ClientApi::API)
33
+ set_api(ClientApi::API)
35
34
 
36
- add_plugin(Seahorse::Client::Plugins::ContentLength)
37
- add_plugin(Aws::Plugins::CredentialsConfiguration)
38
- add_plugin(Aws::Plugins::Logging)
39
- add_plugin(Aws::Plugins::ParamConverter)
40
- add_plugin(Aws::Plugins::ParamValidator)
41
- add_plugin(Aws::Plugins::UserAgent)
42
- add_plugin(Aws::Plugins::HelpfulSocketErrors)
43
- add_plugin(Aws::Plugins::RetryErrors)
44
- add_plugin(Aws::Plugins::GlobalConfiguration)
45
- add_plugin(Aws::Plugins::RegionalEndpoint)
46
- add_plugin(Aws::Plugins::ResponsePaging)
47
- add_plugin(Aws::Plugins::StubResponses)
48
- add_plugin(Aws::Plugins::IdempotencyToken)
49
- add_plugin(Aws::Plugins::SignatureV4)
50
- add_plugin(Aws::Plugins::Protocols::JsonRpc)
35
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
36
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
37
+ add_plugin(Aws::Plugins::Logging)
38
+ add_plugin(Aws::Plugins::ParamConverter)
39
+ add_plugin(Aws::Plugins::ParamValidator)
40
+ add_plugin(Aws::Plugins::UserAgent)
41
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
42
+ add_plugin(Aws::Plugins::RetryErrors)
43
+ add_plugin(Aws::Plugins::GlobalConfiguration)
44
+ add_plugin(Aws::Plugins::RegionalEndpoint)
45
+ add_plugin(Aws::Plugins::ResponsePaging)
46
+ add_plugin(Aws::Plugins::StubResponses)
47
+ add_plugin(Aws::Plugins::IdempotencyToken)
48
+ add_plugin(Aws::Plugins::SignatureV4)
49
+ add_plugin(Aws::Plugins::Protocols::JsonRpc)
51
50
 
52
- # @option options [required, Aws::CredentialProvider] :credentials
53
- # Your AWS credentials. This can be an instance of any one of the
54
- # following classes:
55
- #
56
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
57
- # credentials.
58
- #
59
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
60
- # from an EC2 IMDS on an EC2 instance.
61
- #
62
- # * `Aws::SharedCredentials` - Used for loading credentials from a
63
- # shared file, such as `~/.aws/config`.
64
- #
65
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
66
- #
67
- # When `:credentials` are not configured directly, the following
68
- # locations will be searched for credentials:
69
- #
70
- # * `Aws.config[:credentials]`
71
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
72
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
73
- # * `~/.aws/credentials`
74
- # * `~/.aws/config`
75
- # * EC2 IMDS instance profile - When used by default, the timeouts are
76
- # very aggressive. Construct and pass an instance of
77
- # `Aws::InstanceProfileCredentails` to enable retries and extended
78
- # timeouts.
79
- # @option options [required, String] :region
80
- # The AWS region to connect to. The configured `:region` is
81
- # used to determine the service `:endpoint`. When not passed,
82
- # a default `:region` is search for in the following locations:
83
- #
84
- # * `Aws.config[:region]`
85
- # * `ENV['AWS_REGION']`
86
- # * `ENV['AMAZON_REGION']`
87
- # * `ENV['AWS_DEFAULT_REGION']`
88
- # * `~/.aws/credentials`
89
- # * `~/.aws/config`
90
- # @option options [String] :access_key_id
91
- # @option options [Boolean] :convert_params (true)
92
- # When `true`, an attempt is made to coerce request parameters into
93
- # the required types.
94
- # @option options [String] :endpoint
95
- # The client endpoint is normally constructed from the `:region`
96
- # option. You should only configure an `:endpoint` when connecting
97
- # to test endpoints. This should be avalid HTTP(S) URI.
98
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
99
- # The log formatter.
100
- # @option options [Symbol] :log_level (:info)
101
- # The log level to send messages to the `:logger` at.
102
- # @option options [Logger] :logger
103
- # The Logger instance to send log messages to. If this option
104
- # is not set, logging will be disabled.
105
- # @option options [String] :profile ("default")
106
- # Used when loading credentials from the shared credentials file
107
- # at HOME/.aws/credentials. When not specified, 'default' is used.
108
- # @option options [Integer] :retry_limit (3)
109
- # The maximum number of times to retry failed requests. Only
110
- # ~ 500 level server errors and certain ~ 400 level client errors
111
- # are retried. Generally, these are throttling errors, data
112
- # checksum errors, networking errors, timeout errors and auth
113
- # errors from expired credentials.
114
- # @option options [String] :secret_access_key
115
- # @option options [String] :session_token
116
- # @option options [Boolean] :simple_json (false)
117
- # Disables request parameter conversion, validation, and formatting.
118
- # Also disable response data type conversions. This option is useful
119
- # when you want to ensure the highest level of performance by
120
- # avoiding overhead of walking request parameters and response data
121
- # structures.
122
- #
123
- # When `:simple_json` is enabled, the request parameters hash must
124
- # be formatted exactly as the DynamoDB API expects.
125
- # @option options [Boolean] :stub_responses (false)
126
- # Causes the client to return stubbed responses. By default
127
- # fake responses are generated and returned. You can specify
128
- # the response data to return or errors to raise by calling
129
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
130
- #
131
- # ** Please note ** When response stubbing is enabled, no HTTP
132
- # requests are made, and retries are disabled.
133
- # @option options [Boolean] :validate_params (true)
134
- # When `true`, request parameters are validated before
135
- # sending the request.
136
- def initialize(*args)
137
- super
138
- end
51
+ # @option options [required, Aws::CredentialProvider] :credentials
52
+ # Your AWS credentials. This can be an instance of any one of the
53
+ # following classes:
54
+ #
55
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
56
+ # credentials.
57
+ #
58
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
59
+ # from an EC2 IMDS on an EC2 instance.
60
+ #
61
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
62
+ # shared file, such as `~/.aws/config`.
63
+ #
64
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
65
+ #
66
+ # When `:credentials` are not configured directly, the following
67
+ # locations will be searched for credentials:
68
+ #
69
+ # * `Aws.config[:credentials]`
70
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
71
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
72
+ # * `~/.aws/credentials`
73
+ # * `~/.aws/config`
74
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
75
+ # very aggressive. Construct and pass an instance of
76
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
77
+ # timeouts.
78
+ #
79
+ # @option options [required, String] :region
80
+ # The AWS region to connect to. The configured `:region` is
81
+ # used to determine the service `:endpoint`. When not passed,
82
+ # a default `:region` is search for in the following locations:
83
+ #
84
+ # * `Aws.config[:region]`
85
+ # * `ENV['AWS_REGION']`
86
+ # * `ENV['AMAZON_REGION']`
87
+ # * `ENV['AWS_DEFAULT_REGION']`
88
+ # * `~/.aws/credentials`
89
+ # * `~/.aws/config`
90
+ #
91
+ # @option options [String] :access_key_id
92
+ #
93
+ # @option options [Boolean] :convert_params (true)
94
+ # When `true`, an attempt is made to coerce request parameters into
95
+ # the required types.
96
+ #
97
+ # @option options [String] :endpoint
98
+ # The client endpoint is normally constructed from the `:region`
99
+ # option. You should only configure an `:endpoint` when connecting
100
+ # to test endpoints. This should be avalid HTTP(S) URI.
101
+ #
102
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
103
+ # The log formatter.
104
+ #
105
+ # @option options [Symbol] :log_level (:info)
106
+ # The log level to send messages to the `:logger` at.
107
+ #
108
+ # @option options [Logger] :logger
109
+ # The Logger instance to send log messages to. If this option
110
+ # is not set, logging will be disabled.
111
+ #
112
+ # @option options [String] :profile ("default")
113
+ # Used when loading credentials from the shared credentials file
114
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
115
+ #
116
+ # @option options [Integer] :retry_limit (3)
117
+ # The maximum number of times to retry failed requests. Only
118
+ # ~ 500 level server errors and certain ~ 400 level client errors
119
+ # are retried. Generally, these are throttling errors, data
120
+ # checksum errors, networking errors, timeout errors and auth
121
+ # errors from expired credentials.
122
+ #
123
+ # @option options [String] :secret_access_key
124
+ #
125
+ # @option options [String] :session_token
126
+ #
127
+ # @option options [Boolean] :simple_json (false)
128
+ # Disables request parameter conversion, validation, and formatting.
129
+ # Also disable response data type conversions. This option is useful
130
+ # when you want to ensure the highest level of performance by
131
+ # avoiding overhead of walking request parameters and response data
132
+ # structures.
133
+ #
134
+ # When `:simple_json` is enabled, the request parameters hash must
135
+ # be formatted exactly as the DynamoDB API expects.
136
+ #
137
+ # @option options [Boolean] :stub_responses (false)
138
+ # Causes the client to return stubbed responses. By default
139
+ # fake responses are generated and returned. You can specify
140
+ # the response data to return or errors to raise by calling
141
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
142
+ #
143
+ # ** Please note ** When response stubbing is enabled, no HTTP
144
+ # requests are made, and retries are disabled.
145
+ #
146
+ # @option options [Boolean] :validate_params (true)
147
+ # When `true`, request parameters are validated before
148
+ # sending the request.
149
+ #
150
+ def initialize(*args)
151
+ super
152
+ end
139
153
 
140
- # @!group API Operations
154
+ # @!group API Operations
141
155
 
142
- # Gets information about one or more builds.
143
- # @option params [required, Array<String>] :ids
144
- # The IDs of the builds to get information about.
145
- # @return [Types::BatchGetBuildsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
146
- #
147
- # * {Types::BatchGetBuildsOutput#builds #builds} => Array&lt;Types::Build&gt;
148
- # * {Types::BatchGetBuildsOutput#builds_not_found #buildsNotFound} => Array&lt;String&gt;
149
- #
150
- # @example Request syntax with placeholder values
151
- # resp = client.batch_get_builds({
152
- # ids: ["NonEmptyString"], # required
153
- # })
154
- #
155
- # @example Response structure
156
- # resp.builds #=> Array
157
- # resp.builds[0].id #=> String
158
- # resp.builds[0].arn #=> String
159
- # resp.builds[0].start_time #=> Time
160
- # resp.builds[0].end_time #=> Time
161
- # resp.builds[0].current_phase #=> String
162
- # resp.builds[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
163
- # resp.builds[0].source_version #=> String
164
- # resp.builds[0].project_name #=> String
165
- # resp.builds[0].phases #=> Array
166
- # resp.builds[0].phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
167
- # resp.builds[0].phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
168
- # resp.builds[0].phases[0].start_time #=> Time
169
- # resp.builds[0].phases[0].end_time #=> Time
170
- # resp.builds[0].phases[0].duration_in_seconds #=> Integer
171
- # resp.builds[0].phases[0].contexts #=> Array
172
- # resp.builds[0].phases[0].contexts[0].status_code #=> String
173
- # resp.builds[0].phases[0].contexts[0].message #=> String
174
- # resp.builds[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
175
- # resp.builds[0].source.location #=> String
176
- # resp.builds[0].source.buildspec #=> String
177
- # resp.builds[0].source.auth.type #=> String, one of "OAUTH"
178
- # resp.builds[0].source.auth.resource #=> String
179
- # resp.builds[0].artifacts.location #=> String
180
- # resp.builds[0].artifacts.sha256sum #=> String
181
- # resp.builds[0].artifacts.md5sum #=> String
182
- # resp.builds[0].environment.type #=> String, one of "LINUX_CONTAINER"
183
- # resp.builds[0].environment.image #=> String
184
- # resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
185
- # resp.builds[0].environment.environment_variables #=> Array
186
- # resp.builds[0].environment.environment_variables[0].name #=> String
187
- # resp.builds[0].environment.environment_variables[0].value #=> String
188
- # resp.builds[0].logs.group_name #=> String
189
- # resp.builds[0].logs.stream_name #=> String
190
- # resp.builds[0].logs.deep_link #=> String
191
- # resp.builds[0].timeout_in_minutes #=> Integer
192
- # resp.builds[0].build_complete #=> Boolean
193
- # resp.builds[0].initiator #=> String
194
- # resp.builds_not_found #=> Array
195
- # resp.builds_not_found[0] #=> String
196
- # @overload batch_get_builds(params = {})
197
- # @param [Hash] params ({})
198
- def batch_get_builds(params = {}, options = {})
199
- req = build_request(:batch_get_builds, params)
200
- req.send_request(options)
201
- end
202
-
203
- # Gets information about one or more build projects.
204
- # @option params [required, Array<String>] :names
205
- # The names of the build projects to get information about.
206
- # @return [Types::BatchGetProjectsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
207
- #
208
- # * {Types::BatchGetProjectsOutput#projects #projects} => Array&lt;Types::Project&gt;
209
- # * {Types::BatchGetProjectsOutput#projects_not_found #projectsNotFound} => Array&lt;String&gt;
210
- #
211
- # @example Request syntax with placeholder values
212
- # resp = client.batch_get_projects({
213
- # names: ["NonEmptyString"], # required
214
- # })
215
- #
216
- # @example Response structure
217
- # resp.projects #=> Array
218
- # resp.projects[0].name #=> String
219
- # resp.projects[0].arn #=> String
220
- # resp.projects[0].description #=> String
221
- # resp.projects[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
222
- # resp.projects[0].source.location #=> String
223
- # resp.projects[0].source.buildspec #=> String
224
- # resp.projects[0].source.auth.type #=> String, one of "OAUTH"
225
- # resp.projects[0].source.auth.resource #=> String
226
- # resp.projects[0].artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
227
- # resp.projects[0].artifacts.location #=> String
228
- # resp.projects[0].artifacts.path #=> String
229
- # resp.projects[0].artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
230
- # resp.projects[0].artifacts.name #=> String
231
- # resp.projects[0].artifacts.packaging #=> String, one of "NONE", "ZIP"
232
- # resp.projects[0].environment.type #=> String, one of "LINUX_CONTAINER"
233
- # resp.projects[0].environment.image #=> String
234
- # resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
235
- # resp.projects[0].environment.environment_variables #=> Array
236
- # resp.projects[0].environment.environment_variables[0].name #=> String
237
- # resp.projects[0].environment.environment_variables[0].value #=> String
238
- # resp.projects[0].service_role #=> String
239
- # resp.projects[0].timeout_in_minutes #=> Integer
240
- # resp.projects[0].encryption_key #=> String
241
- # resp.projects[0].tags #=> Array
242
- # resp.projects[0].tags[0].key #=> String
243
- # resp.projects[0].tags[0].value #=> String
244
- # resp.projects[0].created #=> Time
245
- # resp.projects[0].last_modified #=> Time
246
- # resp.projects_not_found #=> Array
247
- # resp.projects_not_found[0] #=> String
248
- # @overload batch_get_projects(params = {})
249
- # @param [Hash] params ({})
250
- def batch_get_projects(params = {}, options = {})
251
- req = build_request(:batch_get_projects, params)
252
- req.send_request(options)
253
- end
156
+ # Gets information about builds.
157
+ #
158
+ # @option params [required, Array<String>] :ids
159
+ # The IDs of the builds.
160
+ #
161
+ # @return [Types::BatchGetBuildsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
162
+ #
163
+ # * {Types::BatchGetBuildsOutput#builds #builds} => Array&lt;Types::Build&gt;
164
+ # * {Types::BatchGetBuildsOutput#builds_not_found #builds_not_found} => Array&lt;String&gt;
165
+ #
166
+ # @example Request syntax with placeholder values
167
+ #
168
+ # resp = client.batch_get_builds({
169
+ # ids: ["NonEmptyString"], # required
170
+ # })
171
+ #
172
+ # @example Response structure
173
+ #
174
+ # resp.builds #=> Array
175
+ # resp.builds[0].id #=> String
176
+ # resp.builds[0].arn #=> String
177
+ # resp.builds[0].start_time #=> Time
178
+ # resp.builds[0].end_time #=> Time
179
+ # resp.builds[0].current_phase #=> String
180
+ # resp.builds[0].build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
181
+ # resp.builds[0].source_version #=> String
182
+ # resp.builds[0].project_name #=> String
183
+ # resp.builds[0].phases #=> Array
184
+ # resp.builds[0].phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
185
+ # resp.builds[0].phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
186
+ # resp.builds[0].phases[0].start_time #=> Time
187
+ # resp.builds[0].phases[0].end_time #=> Time
188
+ # resp.builds[0].phases[0].duration_in_seconds #=> Integer
189
+ # resp.builds[0].phases[0].contexts #=> Array
190
+ # resp.builds[0].phases[0].contexts[0].status_code #=> String
191
+ # resp.builds[0].phases[0].contexts[0].message #=> String
192
+ # resp.builds[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
193
+ # resp.builds[0].source.location #=> String
194
+ # resp.builds[0].source.buildspec #=> String
195
+ # resp.builds[0].source.auth.type #=> String, one of "OAUTH"
196
+ # resp.builds[0].source.auth.resource #=> String
197
+ # resp.builds[0].artifacts.location #=> String
198
+ # resp.builds[0].artifacts.sha256sum #=> String
199
+ # resp.builds[0].artifacts.md5sum #=> String
200
+ # resp.builds[0].environment.type #=> String, one of "LINUX_CONTAINER"
201
+ # resp.builds[0].environment.image #=> String
202
+ # resp.builds[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
203
+ # resp.builds[0].environment.environment_variables #=> Array
204
+ # resp.builds[0].environment.environment_variables[0].name #=> String
205
+ # resp.builds[0].environment.environment_variables[0].value #=> String
206
+ # resp.builds[0].logs.group_name #=> String
207
+ # resp.builds[0].logs.stream_name #=> String
208
+ # resp.builds[0].logs.deep_link #=> String
209
+ # resp.builds[0].timeout_in_minutes #=> Integer
210
+ # resp.builds[0].build_complete #=> Boolean
211
+ # resp.builds[0].initiator #=> String
212
+ # resp.builds_not_found #=> Array
213
+ # resp.builds_not_found[0] #=> String
214
+ #
215
+ # @overload batch_get_builds(params = {})
216
+ # @param [Hash] params ({})
217
+ def batch_get_builds(params = {}, options = {})
218
+ req = build_request(:batch_get_builds, params)
219
+ req.send_request(options)
220
+ end
254
221
 
255
- # Creates a build project.
256
- # @option params [required, String] :name
257
- # The build project's name.
258
- # @option params [String] :description
259
- # A meaningful description of the build project.
260
- # @option params [required, Types::ProjectSource] :source
261
- # Information about the build project's build input source code.
262
- # @option params [required, Types::ProjectArtifacts] :artifacts
263
- # Information about the build project's build output artifacts.
264
- # @option params [required, Types::ProjectEnvironment] :environment
265
- # Information about the build project's build environment.
266
- # @option params [String] :service_role
267
- # The Amazon Resource Name (ARN) of the AWS Identity and Access
268
- # Management (IAM) role that enables AWS CodeBuild to interact with
269
- # dependent AWS services on behalf of the AWS account.
270
- # @option params [Integer] :timeout_in_minutes
271
- # How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to
272
- # wait until timing out any related build that does not get marked as
273
- # completed. The default is 60 minutes.
274
- # @option params [String] :encryption_key
275
- # The AWS Key Management Service (AWS KMS) customer master key (CMK) to
276
- # be used for encrypting the build project's build output artifacts.
277
- #
278
- # You can specify either the CMK's Amazon Resource Name (ARN) or, if
279
- # available, the CMK's alias (using the format `alias/alias-name `).
280
- # @option params [Array<Types::Tag>] :tags
281
- # A set of tags for this build project.
282
- #
283
- # These tags are available for use by AWS services that support AWS
284
- # CodeBuild build project tags.
285
- # @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
286
- #
287
- # * {Types::CreateProjectOutput#project #project} => Types::Project
288
- #
289
- # @example Request syntax with placeholder values
290
- # resp = client.create_project({
291
- # name: "ProjectName", # required
292
- # description: "ProjectDescription",
293
- # source: { # required
294
- # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3
295
- # location: "String",
296
- # buildspec: "String",
297
- # auth: {
298
- # type: "OAUTH", # required, accepts OAUTH
299
- # resource: "String",
300
- # },
301
- # },
302
- # artifacts: { # required
303
- # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
304
- # location: "String",
305
- # path: "String",
306
- # namespace_type: "NONE", # accepts NONE, BUILD_ID
307
- # name: "String",
308
- # packaging: "NONE", # accepts NONE, ZIP
309
- # },
310
- # environment: { # required
311
- # type: "LINUX_CONTAINER", # required, accepts LINUX_CONTAINER
312
- # image: "NonEmptyString", # required
313
- # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
314
- # environment_variables: [
315
- # {
316
- # name: "NonEmptyString", # required
317
- # value: "String", # required
318
- # },
319
- # ],
320
- # },
321
- # service_role: "NonEmptyString",
322
- # timeout_in_minutes: 1,
323
- # encryption_key: "NonEmptyString",
324
- # tags: [
325
- # {
326
- # key: "KeyInput",
327
- # value: "ValueInput",
328
- # },
329
- # ],
330
- # })
331
- #
332
- # @example Response structure
333
- # resp.project.name #=> String
334
- # resp.project.arn #=> String
335
- # resp.project.description #=> String
336
- # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
337
- # resp.project.source.location #=> String
338
- # resp.project.source.buildspec #=> String
339
- # resp.project.source.auth.type #=> String, one of "OAUTH"
340
- # resp.project.source.auth.resource #=> String
341
- # resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
342
- # resp.project.artifacts.location #=> String
343
- # resp.project.artifacts.path #=> String
344
- # resp.project.artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
345
- # resp.project.artifacts.name #=> String
346
- # resp.project.artifacts.packaging #=> String, one of "NONE", "ZIP"
347
- # resp.project.environment.type #=> String, one of "LINUX_CONTAINER"
348
- # resp.project.environment.image #=> String
349
- # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
350
- # resp.project.environment.environment_variables #=> Array
351
- # resp.project.environment.environment_variables[0].name #=> String
352
- # resp.project.environment.environment_variables[0].value #=> String
353
- # resp.project.service_role #=> String
354
- # resp.project.timeout_in_minutes #=> Integer
355
- # resp.project.encryption_key #=> String
356
- # resp.project.tags #=> Array
357
- # resp.project.tags[0].key #=> String
358
- # resp.project.tags[0].value #=> String
359
- # resp.project.created #=> Time
360
- # resp.project.last_modified #=> Time
361
- # @overload create_project(params = {})
362
- # @param [Hash] params ({})
363
- def create_project(params = {}, options = {})
364
- req = build_request(:create_project, params)
365
- req.send_request(options)
366
- end
222
+ # Gets information about build projects.
223
+ #
224
+ # @option params [required, Array<String>] :names
225
+ # The names of the build projects.
226
+ #
227
+ # @return [Types::BatchGetProjectsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
228
+ #
229
+ # * {Types::BatchGetProjectsOutput#projects #projects} => Array&lt;Types::Project&gt;
230
+ # * {Types::BatchGetProjectsOutput#projects_not_found #projects_not_found} => Array&lt;String&gt;
231
+ #
232
+ # @example Request syntax with placeholder values
233
+ #
234
+ # resp = client.batch_get_projects({
235
+ # names: ["NonEmptyString"], # required
236
+ # })
237
+ #
238
+ # @example Response structure
239
+ #
240
+ # resp.projects #=> Array
241
+ # resp.projects[0].name #=> String
242
+ # resp.projects[0].arn #=> String
243
+ # resp.projects[0].description #=> String
244
+ # resp.projects[0].source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
245
+ # resp.projects[0].source.location #=> String
246
+ # resp.projects[0].source.buildspec #=> String
247
+ # resp.projects[0].source.auth.type #=> String, one of "OAUTH"
248
+ # resp.projects[0].source.auth.resource #=> String
249
+ # resp.projects[0].artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
250
+ # resp.projects[0].artifacts.location #=> String
251
+ # resp.projects[0].artifacts.path #=> String
252
+ # resp.projects[0].artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
253
+ # resp.projects[0].artifacts.name #=> String
254
+ # resp.projects[0].artifacts.packaging #=> String, one of "NONE", "ZIP"
255
+ # resp.projects[0].environment.type #=> String, one of "LINUX_CONTAINER"
256
+ # resp.projects[0].environment.image #=> String
257
+ # resp.projects[0].environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
258
+ # resp.projects[0].environment.environment_variables #=> Array
259
+ # resp.projects[0].environment.environment_variables[0].name #=> String
260
+ # resp.projects[0].environment.environment_variables[0].value #=> String
261
+ # resp.projects[0].service_role #=> String
262
+ # resp.projects[0].timeout_in_minutes #=> Integer
263
+ # resp.projects[0].encryption_key #=> String
264
+ # resp.projects[0].tags #=> Array
265
+ # resp.projects[0].tags[0].key #=> String
266
+ # resp.projects[0].tags[0].value #=> String
267
+ # resp.projects[0].created #=> Time
268
+ # resp.projects[0].last_modified #=> Time
269
+ # resp.projects_not_found #=> Array
270
+ # resp.projects_not_found[0] #=> String
271
+ #
272
+ # @overload batch_get_projects(params = {})
273
+ # @param [Hash] params ({})
274
+ def batch_get_projects(params = {}, options = {})
275
+ req = build_request(:batch_get_projects, params)
276
+ req.send_request(options)
277
+ end
367
278
 
368
- # Deletes a build project.
369
- # @option params [required, String] :name
370
- # The name of the build project to delete.
371
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
372
- #
373
- # @example Request syntax with placeholder values
374
- # resp = client.delete_project({
375
- # name: "NonEmptyString", # required
376
- # })
377
- # @overload delete_project(params = {})
378
- # @param [Hash] params ({})
379
- def delete_project(params = {}, options = {})
380
- req = build_request(:delete_project, params)
381
- req.send_request(options)
382
- end
279
+ # Creates a build project.
280
+ #
281
+ # @option params [required, String] :name
282
+ # The name of the build project.
283
+ #
284
+ # @option params [String] :description
285
+ # A description that makes the build project easy to identify.
286
+ #
287
+ # @option params [required, Types::ProjectSource] :source
288
+ # Information about the build input source code for the build project.
289
+ #
290
+ # @option params [required, Types::ProjectArtifacts] :artifacts
291
+ # Information about the build output artifacts for the build project.
292
+ #
293
+ # @option params [required, Types::ProjectEnvironment] :environment
294
+ # Information about the build environment for the build project.
295
+ #
296
+ # @option params [String] :service_role
297
+ # The ARN of the AWS Identity and Access Management (IAM) role that
298
+ # enables AWS CodeBuild to interact with dependent AWS services on
299
+ # behalf of the AWS account.
300
+ #
301
+ # @option params [Integer] :timeout_in_minutes
302
+ # How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to
303
+ # wait until timing out any build that has not been marked as completed.
304
+ # The default is 60 minutes.
305
+ #
306
+ # @option params [String] :encryption_key
307
+ # The AWS Key Management Service (AWS KMS) customer master key (CMK) to
308
+ # be used for encrypting the build output artifacts.
309
+ #
310
+ # You can specify either the CMK's Amazon Resource Name (ARN) or, if
311
+ # available, the CMK's alias (using the format `alias/alias-name `).
312
+ #
313
+ # @option params [Array<Types::Tag>] :tags
314
+ # A set of tags for this build project.
315
+ #
316
+ # These tags are available for use by AWS services that support AWS
317
+ # CodeBuild build project tags.
318
+ #
319
+ # @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
320
+ #
321
+ # * {Types::CreateProjectOutput#project #project} => Types::Project
322
+ #
323
+ # @example Request syntax with placeholder values
324
+ #
325
+ # resp = client.create_project({
326
+ # name: "ProjectName", # required
327
+ # description: "ProjectDescription",
328
+ # source: { # required
329
+ # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3
330
+ # location: "String",
331
+ # buildspec: "String",
332
+ # auth: {
333
+ # type: "OAUTH", # required, accepts OAUTH
334
+ # resource: "String",
335
+ # },
336
+ # },
337
+ # artifacts: { # required
338
+ # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
339
+ # location: "String",
340
+ # path: "String",
341
+ # namespace_type: "NONE", # accepts NONE, BUILD_ID
342
+ # name: "String",
343
+ # packaging: "NONE", # accepts NONE, ZIP
344
+ # },
345
+ # environment: { # required
346
+ # type: "LINUX_CONTAINER", # required, accepts LINUX_CONTAINER
347
+ # image: "NonEmptyString", # required
348
+ # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
349
+ # environment_variables: [
350
+ # {
351
+ # name: "NonEmptyString", # required
352
+ # value: "String", # required
353
+ # },
354
+ # ],
355
+ # },
356
+ # service_role: "NonEmptyString",
357
+ # timeout_in_minutes: 1,
358
+ # encryption_key: "NonEmptyString",
359
+ # tags: [
360
+ # {
361
+ # key: "KeyInput",
362
+ # value: "ValueInput",
363
+ # },
364
+ # ],
365
+ # })
366
+ #
367
+ # @example Response structure
368
+ #
369
+ # resp.project.name #=> String
370
+ # resp.project.arn #=> String
371
+ # resp.project.description #=> String
372
+ # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
373
+ # resp.project.source.location #=> String
374
+ # resp.project.source.buildspec #=> String
375
+ # resp.project.source.auth.type #=> String, one of "OAUTH"
376
+ # resp.project.source.auth.resource #=> String
377
+ # resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
378
+ # resp.project.artifacts.location #=> String
379
+ # resp.project.artifacts.path #=> String
380
+ # resp.project.artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
381
+ # resp.project.artifacts.name #=> String
382
+ # resp.project.artifacts.packaging #=> String, one of "NONE", "ZIP"
383
+ # resp.project.environment.type #=> String, one of "LINUX_CONTAINER"
384
+ # resp.project.environment.image #=> String
385
+ # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
386
+ # resp.project.environment.environment_variables #=> Array
387
+ # resp.project.environment.environment_variables[0].name #=> String
388
+ # resp.project.environment.environment_variables[0].value #=> String
389
+ # resp.project.service_role #=> String
390
+ # resp.project.timeout_in_minutes #=> Integer
391
+ # resp.project.encryption_key #=> String
392
+ # resp.project.tags #=> Array
393
+ # resp.project.tags[0].key #=> String
394
+ # resp.project.tags[0].value #=> String
395
+ # resp.project.created #=> Time
396
+ # resp.project.last_modified #=> Time
397
+ #
398
+ # @overload create_project(params = {})
399
+ # @param [Hash] params ({})
400
+ def create_project(params = {}, options = {})
401
+ req = build_request(:create_project, params)
402
+ req.send_request(options)
403
+ end
383
404
 
384
- # Gets a list of build IDs, with each build ID representing a single
385
- # build.
386
- # @option params [String] :sort_order
387
- # The order to list build IDs. Valid values include:
388
- #
389
- # * `ASCENDING`\: List the build IDs in ascending order by build ID.
390
- #
391
- # * `DESCENDING`\: List the build IDs in descending order by build ID.
392
- # @option params [String] :next_token
393
- # During a previous call, if there are more than 100 items in the list,
394
- # only the first 100 items are returned, along with a unique string
395
- # called a *next token*. To get the next batch of items in the list,
396
- # call this operation again, adding the next token to the call. To get
397
- # all of the items in the list, keep calling this operation with each
398
- # subsequent next token that is returned, until no more next tokens are
399
- # returned.
400
- # @return [Types::ListBuildsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
401
- #
402
- # * {Types::ListBuildsOutput#ids #ids} => Array&lt;String&gt;
403
- # * {Types::ListBuildsOutput#next_token #nextToken} => String
404
- #
405
- # @example Request syntax with placeholder values
406
- # resp = client.list_builds({
407
- # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
408
- # next_token: "String",
409
- # })
410
- #
411
- # @example Response structure
412
- # resp.ids #=> Array
413
- # resp.ids[0] #=> String
414
- # resp.next_token #=> String
415
- # @overload list_builds(params = {})
416
- # @param [Hash] params ({})
417
- def list_builds(params = {}, options = {})
418
- req = build_request(:list_builds, params)
419
- req.send_request(options)
420
- end
405
+ # Deletes a build project.
406
+ #
407
+ # @option params [required, String] :name
408
+ # The name of the build project.
409
+ #
410
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
411
+ #
412
+ # @example Request syntax with placeholder values
413
+ #
414
+ # resp = client.delete_project({
415
+ # name: "NonEmptyString", # required
416
+ # })
417
+ #
418
+ # @overload delete_project(params = {})
419
+ # @param [Hash] params ({})
420
+ def delete_project(params = {}, options = {})
421
+ req = build_request(:delete_project, params)
422
+ req.send_request(options)
423
+ end
421
424
 
422
- # Gets a list of build IDs for the specified build project, with each
423
- # build ID representing a single build.
424
- # @option params [required, String] :project_name
425
- # The name of the build project to get a list of build IDs for.
426
- # @option params [String] :sort_order
427
- # The order to list build IDs. Valid values include:
428
- #
429
- # * `ASCENDING`\: List the build IDs in ascending order by build ID.
430
- #
431
- # * `DESCENDING`\: List the build IDs in descending order by build ID.
432
- # @option params [String] :next_token
433
- # During a previous call, if there are more than 100 items in the list,
434
- # only the first 100 items are returned, along with a unique string
435
- # called a *next token*. To get the next batch of items in the list,
436
- # call this operation again, adding the next token to the call. To get
437
- # all of the items in the list, keep calling this operation with each
438
- # subsequent next token that is returned, until no more next tokens are
439
- # returned.
440
- # @return [Types::ListBuildsForProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
441
- #
442
- # * {Types::ListBuildsForProjectOutput#ids #ids} => Array&lt;String&gt;
443
- # * {Types::ListBuildsForProjectOutput#next_token #nextToken} => String
444
- #
445
- # @example Request syntax with placeholder values
446
- # resp = client.list_builds_for_project({
447
- # project_name: "NonEmptyString", # required
448
- # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
449
- # next_token: "String",
450
- # })
451
- #
452
- # @example Response structure
453
- # resp.ids #=> Array
454
- # resp.ids[0] #=> String
455
- # resp.next_token #=> String
456
- # @overload list_builds_for_project(params = {})
457
- # @param [Hash] params ({})
458
- def list_builds_for_project(params = {}, options = {})
459
- req = build_request(:list_builds_for_project, params)
460
- req.send_request(options)
461
- end
425
+ # Gets a list of build IDs, with each build ID representing a single
426
+ # build.
427
+ #
428
+ # @option params [String] :sort_order
429
+ # The order to list build IDs. Valid values include:
430
+ #
431
+ # * `ASCENDING`\: List the build IDs in ascending order by build ID.
432
+ #
433
+ # * `DESCENDING`\: List the build IDs in descending order by build ID.
434
+ #
435
+ # @option params [String] :next_token
436
+ # During a previous call, if there are more than 100 items in the list,
437
+ # only the first 100 items are returned, along with a unique string
438
+ # called a *next token*. To get the next batch of items in the list,
439
+ # call this operation again, adding the next token to the call. To get
440
+ # all of the items in the list, keep calling this operation with each
441
+ # subsequent next token that is returned, until no more next tokens are
442
+ # returned.
443
+ #
444
+ # @return [Types::ListBuildsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
445
+ #
446
+ # * {Types::ListBuildsOutput#ids #ids} => Array&lt;String&gt;
447
+ # * {Types::ListBuildsOutput#next_token #next_token} => String
448
+ #
449
+ # @example Request syntax with placeholder values
450
+ #
451
+ # resp = client.list_builds({
452
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
453
+ # next_token: "String",
454
+ # })
455
+ #
456
+ # @example Response structure
457
+ #
458
+ # resp.ids #=> Array
459
+ # resp.ids[0] #=> String
460
+ # resp.next_token #=> String
461
+ #
462
+ # @overload list_builds(params = {})
463
+ # @param [Hash] params ({})
464
+ def list_builds(params = {}, options = {})
465
+ req = build_request(:list_builds, params)
466
+ req.send_request(options)
467
+ end
462
468
 
463
- # Gets information about Docker images that are managed by AWS
464
- # CodeBuild.
465
- # @return [Types::ListCuratedEnvironmentImagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
466
- #
467
- # * {Types::ListCuratedEnvironmentImagesOutput#platforms #platforms} => Array&lt;Types::EnvironmentPlatform&gt;
468
- #
469
- # @example Request syntax with placeholder values
470
- # resp = client.list_curated_environment_images()
471
- #
472
- # @example Response structure
473
- # resp.platforms #=> Array
474
- # resp.platforms[0].platform #=> String, one of "DEBIAN", "AMAZON_LINUX", "UBUNTU"
475
- # resp.platforms[0].languages #=> Array
476
- # resp.platforms[0].languages[0].language #=> String, one of "JAVA", "PYTHON", "NODE_JS", "RUBY", "GOLANG", "DOCKER", "ANDROID", "BASE"
477
- # resp.platforms[0].languages[0].images #=> Array
478
- # resp.platforms[0].languages[0].images[0].name #=> String
479
- # resp.platforms[0].languages[0].images[0].description #=> String
480
- # @overload list_curated_environment_images(params = {})
481
- # @param [Hash] params ({})
482
- def list_curated_environment_images(params = {}, options = {})
483
- req = build_request(:list_curated_environment_images, params)
484
- req.send_request(options)
485
- end
469
+ # Gets a list of build IDs for the specified build project, with each
470
+ # build ID representing a single build.
471
+ #
472
+ # @option params [required, String] :project_name
473
+ # The name of the build project.
474
+ #
475
+ # @option params [String] :sort_order
476
+ # The order to list build IDs. Valid values include:
477
+ #
478
+ # * `ASCENDING`\: List the build IDs in ascending order by build ID.
479
+ #
480
+ # * `DESCENDING`\: List the build IDs in descending order by build ID.
481
+ #
482
+ # @option params [String] :next_token
483
+ # During a previous call, if there are more than 100 items in the list,
484
+ # only the first 100 items are returned, along with a unique string
485
+ # called a *next token*. To get the next batch of items in the list,
486
+ # call this operation again, adding the next token to the call. To get
487
+ # all of the items in the list, keep calling this operation with each
488
+ # subsequent next token that is returned, until no more next tokens are
489
+ # returned.
490
+ #
491
+ # @return [Types::ListBuildsForProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
492
+ #
493
+ # * {Types::ListBuildsForProjectOutput#ids #ids} => Array&lt;String&gt;
494
+ # * {Types::ListBuildsForProjectOutput#next_token #next_token} => String
495
+ #
496
+ # @example Request syntax with placeholder values
497
+ #
498
+ # resp = client.list_builds_for_project({
499
+ # project_name: "NonEmptyString", # required
500
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
501
+ # next_token: "String",
502
+ # })
503
+ #
504
+ # @example Response structure
505
+ #
506
+ # resp.ids #=> Array
507
+ # resp.ids[0] #=> String
508
+ # resp.next_token #=> String
509
+ #
510
+ # @overload list_builds_for_project(params = {})
511
+ # @param [Hash] params ({})
512
+ def list_builds_for_project(params = {}, options = {})
513
+ req = build_request(:list_builds_for_project, params)
514
+ req.send_request(options)
515
+ end
486
516
 
487
- # Gets a list of build project names, with each build project name
488
- # representing a single build project.
489
- # @option params [String] :sort_by
490
- # The criterion to be used to list build project names. Valid values
491
- # include:
492
- #
493
- # * `CREATED_TIME`\: List the build project names based on when each
494
- # build project was created.
495
- #
496
- # * `LAST_MODIFIED_TIME`\: List the build project names based on when
497
- # information about each build project was last changed.
498
- #
499
- # * `NAME`\: List the build project names based on each build project's
500
- # name.
501
- #
502
- # Use `sortOrder` to specify in what order to list the build project
503
- # names based on the preceding criteria.
504
- # @option params [String] :sort_order
505
- # The order in which to list build projects. Valid values include:
506
- #
507
- # * `ASCENDING`\: List the build project names in ascending order.
508
- #
509
- # * `DESCENDING`\: List the build project names in descending order.
510
- #
511
- # Use `sortBy` to specify the criterion to be used to list build project
512
- # names.
513
- # @option params [String] :next_token
514
- # During a previous call, if there are more than 100 items in the list,
515
- # only the first 100 items are returned, along with a unique string
516
- # called a *next token*. To get the next batch of items in the list,
517
- # call this operation again, adding the next token to the call. To get
518
- # all of the items in the list, keep calling this operation with each
519
- # subsequent next token that is returned, until no more next tokens are
520
- # returned.
521
- # @return [Types::ListProjectsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
522
- #
523
- # * {Types::ListProjectsOutput#next_token #nextToken} => String
524
- # * {Types::ListProjectsOutput#projects #projects} => Array&lt;String&gt;
525
- #
526
- # @example Request syntax with placeholder values
527
- # resp = client.list_projects({
528
- # sort_by: "NAME", # accepts NAME, CREATED_TIME, LAST_MODIFIED_TIME
529
- # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
530
- # next_token: "NonEmptyString",
531
- # })
532
- #
533
- # @example Response structure
534
- # resp.next_token #=> String
535
- # resp.projects #=> Array
536
- # resp.projects[0] #=> String
537
- # @overload list_projects(params = {})
538
- # @param [Hash] params ({})
539
- def list_projects(params = {}, options = {})
540
- req = build_request(:list_projects, params)
541
- req.send_request(options)
542
- end
517
+ # Gets information about Docker images that are managed by AWS
518
+ # CodeBuild.
519
+ #
520
+ # @return [Types::ListCuratedEnvironmentImagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
521
+ #
522
+ # * {Types::ListCuratedEnvironmentImagesOutput#platforms #platforms} => Array&lt;Types::EnvironmentPlatform&gt;
523
+ #
524
+ # @example Response structure
525
+ #
526
+ # resp.platforms #=> Array
527
+ # resp.platforms[0].platform #=> String, one of "DEBIAN", "AMAZON_LINUX", "UBUNTU"
528
+ # resp.platforms[0].languages #=> Array
529
+ # resp.platforms[0].languages[0].language #=> String, one of "JAVA", "PYTHON", "NODE_JS", "RUBY", "GOLANG", "DOCKER", "ANDROID", "BASE"
530
+ # resp.platforms[0].languages[0].images #=> Array
531
+ # resp.platforms[0].languages[0].images[0].name #=> String
532
+ # resp.platforms[0].languages[0].images[0].description #=> String
533
+ #
534
+ # @overload list_curated_environment_images(params = {})
535
+ # @param [Hash] params ({})
536
+ def list_curated_environment_images(params = {}, options = {})
537
+ req = build_request(:list_curated_environment_images, params)
538
+ req.send_request(options)
539
+ end
543
540
 
544
- # Starts running a build.
545
- # @option params [required, String] :project_name
546
- # The name of the build project to start running a build.
547
- # @option params [String] :source_version
548
- # A version of the build input to be built, for this build only. If not
549
- # specified, the latest version will be used. If specified, must be one
550
- # of:
551
- #
552
- # * For AWS CodeCommit or GitHub: the commit ID to use.
553
- #
554
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of the
555
- # object representing the build input ZIP file to use.
556
- # @option params [Types::ProjectArtifacts] :artifacts_override
557
- # Build output artifact settings that override, for this build only, the
558
- # latest ones already defined in the corresponding build project.
559
- # @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
560
- # A set of environment variables that overrides, for this build only,
561
- # the latest ones already defined in the corresponding build project.
562
- # @option params [String] :buildspec_override
563
- # A build spec declaration that overrides, for this build only, the
564
- # latest one already defined in the corresponding build project.
565
- # @option params [Integer] :timeout_in_minutes_override
566
- # The number of build timeout minutes, from 5 to 480 (8 hours) that
567
- # overrides, for this build only, the latest setting already defined in
568
- # the corresponding build project.
569
- # @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
570
- #
571
- # * {Types::StartBuildOutput#build #build} => Types::Build
572
- #
573
- # @example Request syntax with placeholder values
574
- # resp = client.start_build({
575
- # project_name: "NonEmptyString", # required
576
- # source_version: "String",
577
- # artifacts_override: {
578
- # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
579
- # location: "String",
580
- # path: "String",
581
- # namespace_type: "NONE", # accepts NONE, BUILD_ID
582
- # name: "String",
583
- # packaging: "NONE", # accepts NONE, ZIP
584
- # },
585
- # environment_variables_override: [
586
- # {
587
- # name: "NonEmptyString", # required
588
- # value: "String", # required
589
- # },
590
- # ],
591
- # buildspec_override: "String",
592
- # timeout_in_minutes_override: 1,
593
- # })
594
- #
595
- # @example Response structure
596
- # resp.build.id #=> String
597
- # resp.build.arn #=> String
598
- # resp.build.start_time #=> Time
599
- # resp.build.end_time #=> Time
600
- # resp.build.current_phase #=> String
601
- # resp.build.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
602
- # resp.build.source_version #=> String
603
- # resp.build.project_name #=> String
604
- # resp.build.phases #=> Array
605
- # resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
606
- # resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
607
- # resp.build.phases[0].start_time #=> Time
608
- # resp.build.phases[0].end_time #=> Time
609
- # resp.build.phases[0].duration_in_seconds #=> Integer
610
- # resp.build.phases[0].contexts #=> Array
611
- # resp.build.phases[0].contexts[0].status_code #=> String
612
- # resp.build.phases[0].contexts[0].message #=> String
613
- # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
614
- # resp.build.source.location #=> String
615
- # resp.build.source.buildspec #=> String
616
- # resp.build.source.auth.type #=> String, one of "OAUTH"
617
- # resp.build.source.auth.resource #=> String
618
- # resp.build.artifacts.location #=> String
619
- # resp.build.artifacts.sha256sum #=> String
620
- # resp.build.artifacts.md5sum #=> String
621
- # resp.build.environment.type #=> String, one of "LINUX_CONTAINER"
622
- # resp.build.environment.image #=> String
623
- # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
624
- # resp.build.environment.environment_variables #=> Array
625
- # resp.build.environment.environment_variables[0].name #=> String
626
- # resp.build.environment.environment_variables[0].value #=> String
627
- # resp.build.logs.group_name #=> String
628
- # resp.build.logs.stream_name #=> String
629
- # resp.build.logs.deep_link #=> String
630
- # resp.build.timeout_in_minutes #=> Integer
631
- # resp.build.build_complete #=> Boolean
632
- # resp.build.initiator #=> String
633
- # @overload start_build(params = {})
634
- # @param [Hash] params ({})
635
- def start_build(params = {}, options = {})
636
- req = build_request(:start_build, params)
637
- req.send_request(options)
638
- end
541
+ # Gets a list of build project names, with each build project name
542
+ # representing a single build project.
543
+ #
544
+ # @option params [String] :sort_by
545
+ # The criterion to be used to list build project names. Valid values
546
+ # include:
547
+ #
548
+ # * `CREATED_TIME`\: List the build project names based on when each
549
+ # build project was created.
550
+ #
551
+ # * `LAST_MODIFIED_TIME`\: List the build project names based on when
552
+ # information about each build project was last changed.
553
+ #
554
+ # * `NAME`\: List the build project names based on each build project's
555
+ # name.
556
+ #
557
+ # Use `sortOrder` to specify in what order to list the build project
558
+ # names based on the preceding criteria.
559
+ #
560
+ # @option params [String] :sort_order
561
+ # The order in which to list build projects. Valid values include:
562
+ #
563
+ # * `ASCENDING`\: List the build project names in ascending order.
564
+ #
565
+ # * `DESCENDING`\: List the build project names in descending order.
566
+ #
567
+ # Use `sortBy` to specify the criterion to be used to list build project
568
+ # names.
569
+ #
570
+ # @option params [String] :next_token
571
+ # During a previous call, if there are more than 100 items in the list,
572
+ # only the first 100 items are returned, along with a unique string
573
+ # called a *next token*. To get the next batch of items in the list,
574
+ # call this operation again, adding the next token to the call. To get
575
+ # all of the items in the list, keep calling this operation with each
576
+ # subsequent next token that is returned, until no more next tokens are
577
+ # returned.
578
+ #
579
+ # @return [Types::ListProjectsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
580
+ #
581
+ # * {Types::ListProjectsOutput#next_token #next_token} => String
582
+ # * {Types::ListProjectsOutput#projects #projects} => Array&lt;String&gt;
583
+ #
584
+ # @example Request syntax with placeholder values
585
+ #
586
+ # resp = client.list_projects({
587
+ # sort_by: "NAME", # accepts NAME, CREATED_TIME, LAST_MODIFIED_TIME
588
+ # sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
589
+ # next_token: "NonEmptyString",
590
+ # })
591
+ #
592
+ # @example Response structure
593
+ #
594
+ # resp.next_token #=> String
595
+ # resp.projects #=> Array
596
+ # resp.projects[0] #=> String
597
+ #
598
+ # @overload list_projects(params = {})
599
+ # @param [Hash] params ({})
600
+ def list_projects(params = {}, options = {})
601
+ req = build_request(:list_projects, params)
602
+ req.send_request(options)
603
+ end
639
604
 
640
- # Attempts to stop running a build.
641
- #
642
- # <note markdown="1"> Completed builds cannot be stopped.
643
- #
644
- # </note>
645
- # @option params [required, String] :id
646
- # The ID of the build to attempt to stop running.
647
- # @return [Types::StopBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
648
- #
649
- # * {Types::StopBuildOutput#build #build} => Types::Build
650
- #
651
- # @example Request syntax with placeholder values
652
- # resp = client.stop_build({
653
- # id: "NonEmptyString", # required
654
- # })
655
- #
656
- # @example Response structure
657
- # resp.build.id #=> String
658
- # resp.build.arn #=> String
659
- # resp.build.start_time #=> Time
660
- # resp.build.end_time #=> Time
661
- # resp.build.current_phase #=> String
662
- # resp.build.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
663
- # resp.build.source_version #=> String
664
- # resp.build.project_name #=> String
665
- # resp.build.phases #=> Array
666
- # resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
667
- # resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
668
- # resp.build.phases[0].start_time #=> Time
669
- # resp.build.phases[0].end_time #=> Time
670
- # resp.build.phases[0].duration_in_seconds #=> Integer
671
- # resp.build.phases[0].contexts #=> Array
672
- # resp.build.phases[0].contexts[0].status_code #=> String
673
- # resp.build.phases[0].contexts[0].message #=> String
674
- # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
675
- # resp.build.source.location #=> String
676
- # resp.build.source.buildspec #=> String
677
- # resp.build.source.auth.type #=> String, one of "OAUTH"
678
- # resp.build.source.auth.resource #=> String
679
- # resp.build.artifacts.location #=> String
680
- # resp.build.artifacts.sha256sum #=> String
681
- # resp.build.artifacts.md5sum #=> String
682
- # resp.build.environment.type #=> String, one of "LINUX_CONTAINER"
683
- # resp.build.environment.image #=> String
684
- # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
685
- # resp.build.environment.environment_variables #=> Array
686
- # resp.build.environment.environment_variables[0].name #=> String
687
- # resp.build.environment.environment_variables[0].value #=> String
688
- # resp.build.logs.group_name #=> String
689
- # resp.build.logs.stream_name #=> String
690
- # resp.build.logs.deep_link #=> String
691
- # resp.build.timeout_in_minutes #=> Integer
692
- # resp.build.build_complete #=> Boolean
693
- # resp.build.initiator #=> String
694
- # @overload stop_build(params = {})
695
- # @param [Hash] params ({})
696
- def stop_build(params = {}, options = {})
697
- req = build_request(:stop_build, params)
698
- req.send_request(options)
699
- end
605
+ # Starts running a build.
606
+ #
607
+ # @option params [required, String] :project_name
608
+ # The name of the build project to start running a build.
609
+ #
610
+ # @option params [String] :source_version
611
+ # A version of the build input to be built, for this build only. If not
612
+ # specified, the latest version will be used. If specified, must be one
613
+ # of:
614
+ #
615
+ # * For AWS CodeCommit or GitHub: the commit ID to use.
616
+ #
617
+ # * For Amazon Simple Storage Service (Amazon S3): the version ID of the
618
+ # object representing the build input ZIP file to use.
619
+ #
620
+ # @option params [Types::ProjectArtifacts] :artifacts_override
621
+ # Build output artifact settings that override, for this build only, the
622
+ # latest ones already defined in the build project.
623
+ #
624
+ # @option params [Array<Types::EnvironmentVariable>] :environment_variables_override
625
+ # A set of environment variables that overrides, for this build only,
626
+ # the latest ones already defined in the build project.
627
+ #
628
+ # @option params [String] :buildspec_override
629
+ # A build spec declaration that overrides, for this build only, the
630
+ # latest one already defined in the build project.
631
+ #
632
+ # @option params [Integer] :timeout_in_minutes_override
633
+ # The number of build timeout minutes, from 5 to 480 (8 hours), that
634
+ # overrides, for this build only, the latest setting already defined in
635
+ # the build project.
636
+ #
637
+ # @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
638
+ #
639
+ # * {Types::StartBuildOutput#build #build} => Types::Build
640
+ #
641
+ # @example Request syntax with placeholder values
642
+ #
643
+ # resp = client.start_build({
644
+ # project_name: "NonEmptyString", # required
645
+ # source_version: "String",
646
+ # artifacts_override: {
647
+ # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
648
+ # location: "String",
649
+ # path: "String",
650
+ # namespace_type: "NONE", # accepts NONE, BUILD_ID
651
+ # name: "String",
652
+ # packaging: "NONE", # accepts NONE, ZIP
653
+ # },
654
+ # environment_variables_override: [
655
+ # {
656
+ # name: "NonEmptyString", # required
657
+ # value: "String", # required
658
+ # },
659
+ # ],
660
+ # buildspec_override: "String",
661
+ # timeout_in_minutes_override: 1,
662
+ # })
663
+ #
664
+ # @example Response structure
665
+ #
666
+ # resp.build.id #=> String
667
+ # resp.build.arn #=> String
668
+ # resp.build.start_time #=> Time
669
+ # resp.build.end_time #=> Time
670
+ # resp.build.current_phase #=> String
671
+ # resp.build.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
672
+ # resp.build.source_version #=> String
673
+ # resp.build.project_name #=> String
674
+ # resp.build.phases #=> Array
675
+ # resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
676
+ # resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
677
+ # resp.build.phases[0].start_time #=> Time
678
+ # resp.build.phases[0].end_time #=> Time
679
+ # resp.build.phases[0].duration_in_seconds #=> Integer
680
+ # resp.build.phases[0].contexts #=> Array
681
+ # resp.build.phases[0].contexts[0].status_code #=> String
682
+ # resp.build.phases[0].contexts[0].message #=> String
683
+ # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
684
+ # resp.build.source.location #=> String
685
+ # resp.build.source.buildspec #=> String
686
+ # resp.build.source.auth.type #=> String, one of "OAUTH"
687
+ # resp.build.source.auth.resource #=> String
688
+ # resp.build.artifacts.location #=> String
689
+ # resp.build.artifacts.sha256sum #=> String
690
+ # resp.build.artifacts.md5sum #=> String
691
+ # resp.build.environment.type #=> String, one of "LINUX_CONTAINER"
692
+ # resp.build.environment.image #=> String
693
+ # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
694
+ # resp.build.environment.environment_variables #=> Array
695
+ # resp.build.environment.environment_variables[0].name #=> String
696
+ # resp.build.environment.environment_variables[0].value #=> String
697
+ # resp.build.logs.group_name #=> String
698
+ # resp.build.logs.stream_name #=> String
699
+ # resp.build.logs.deep_link #=> String
700
+ # resp.build.timeout_in_minutes #=> Integer
701
+ # resp.build.build_complete #=> Boolean
702
+ # resp.build.initiator #=> String
703
+ #
704
+ # @overload start_build(params = {})
705
+ # @param [Hash] params ({})
706
+ def start_build(params = {}, options = {})
707
+ req = build_request(:start_build, params)
708
+ req.send_request(options)
709
+ end
700
710
 
701
- # Changes the settings of an existing build project.
702
- # @option params [required, String] :name
703
- # The name of the existing build project to change settings.
704
- #
705
- # <note markdown="1"> You cannot change an existing build project's name.
706
- #
707
- # </note>
708
- # @option params [String] :description
709
- # A new or replacement description of the build project.
710
- # @option params [Types::ProjectSource] :source
711
- # Information to be changed about the build project's build input
712
- # source code.
713
- # @option params [Types::ProjectArtifacts] :artifacts
714
- # Information to be changed about the build project's build output
715
- # artifacts.
716
- # @option params [Types::ProjectEnvironment] :environment
717
- # Information to be changed about the build project's build
718
- # environment.
719
- # @option params [String] :service_role
720
- # The replacement Amazon Resource Name (ARN) of the AWS Identity and
721
- # Access Management (IAM) role that enables AWS CodeBuild to interact
722
- # with dependent AWS services on behalf of the AWS account.
723
- # @option params [Integer] :timeout_in_minutes
724
- # The replacement value in minutes, from 5 to 480 (8 hours), for AWS
725
- # CodeBuild to wait to timeout any related build that did not get marked
726
- # as completed.
727
- # @option params [String] :encryption_key
728
- # The replacement AWS Key Management Service (AWS KMS) customer master
729
- # key (CMK) to be used for encrypting the build project's build output
730
- # artifacts.
731
- #
732
- # You can specify either the CMK's Amazon Resource Name (ARN) or, if
733
- # available, the CMK's alias (using the format `alias/alias-name `).
734
- # @option params [Array<Types::Tag>] :tags
735
- # The replacement set of tags for this build project.
736
- #
737
- # These tags are available for use by AWS services that support AWS
738
- # CodeBuild build project tags.
739
- # @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
740
- #
741
- # * {Types::UpdateProjectOutput#project #project} => Types::Project
742
- #
743
- # @example Request syntax with placeholder values
744
- # resp = client.update_project({
745
- # name: "NonEmptyString", # required
746
- # description: "ProjectDescription",
747
- # source: {
748
- # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3
749
- # location: "String",
750
- # buildspec: "String",
751
- # auth: {
752
- # type: "OAUTH", # required, accepts OAUTH
753
- # resource: "String",
754
- # },
755
- # },
756
- # artifacts: {
757
- # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
758
- # location: "String",
759
- # path: "String",
760
- # namespace_type: "NONE", # accepts NONE, BUILD_ID
761
- # name: "String",
762
- # packaging: "NONE", # accepts NONE, ZIP
763
- # },
764
- # environment: {
765
- # type: "LINUX_CONTAINER", # required, accepts LINUX_CONTAINER
766
- # image: "NonEmptyString", # required
767
- # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
768
- # environment_variables: [
769
- # {
770
- # name: "NonEmptyString", # required
771
- # value: "String", # required
772
- # },
773
- # ],
774
- # },
775
- # service_role: "NonEmptyString",
776
- # timeout_in_minutes: 1,
777
- # encryption_key: "NonEmptyString",
778
- # tags: [
779
- # {
780
- # key: "KeyInput",
781
- # value: "ValueInput",
782
- # },
783
- # ],
784
- # })
785
- #
786
- # @example Response structure
787
- # resp.project.name #=> String
788
- # resp.project.arn #=> String
789
- # resp.project.description #=> String
790
- # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
791
- # resp.project.source.location #=> String
792
- # resp.project.source.buildspec #=> String
793
- # resp.project.source.auth.type #=> String, one of "OAUTH"
794
- # resp.project.source.auth.resource #=> String
795
- # resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
796
- # resp.project.artifacts.location #=> String
797
- # resp.project.artifacts.path #=> String
798
- # resp.project.artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
799
- # resp.project.artifacts.name #=> String
800
- # resp.project.artifacts.packaging #=> String, one of "NONE", "ZIP"
801
- # resp.project.environment.type #=> String, one of "LINUX_CONTAINER"
802
- # resp.project.environment.image #=> String
803
- # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
804
- # resp.project.environment.environment_variables #=> Array
805
- # resp.project.environment.environment_variables[0].name #=> String
806
- # resp.project.environment.environment_variables[0].value #=> String
807
- # resp.project.service_role #=> String
808
- # resp.project.timeout_in_minutes #=> Integer
809
- # resp.project.encryption_key #=> String
810
- # resp.project.tags #=> Array
811
- # resp.project.tags[0].key #=> String
812
- # resp.project.tags[0].value #=> String
813
- # resp.project.created #=> Time
814
- # resp.project.last_modified #=> Time
815
- # @overload update_project(params = {})
816
- # @param [Hash] params ({})
817
- def update_project(params = {}, options = {})
818
- req = build_request(:update_project, params)
819
- req.send_request(options)
820
- end
711
+ # Attempts to stop running a build.
712
+ #
713
+ # @option params [required, String] :id
714
+ # The ID of the build.
715
+ #
716
+ # @return [Types::StopBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
717
+ #
718
+ # * {Types::StopBuildOutput#build #build} => Types::Build
719
+ #
720
+ # @example Request syntax with placeholder values
721
+ #
722
+ # resp = client.stop_build({
723
+ # id: "NonEmptyString", # required
724
+ # })
725
+ #
726
+ # @example Response structure
727
+ #
728
+ # resp.build.id #=> String
729
+ # resp.build.arn #=> String
730
+ # resp.build.start_time #=> Time
731
+ # resp.build.end_time #=> Time
732
+ # resp.build.current_phase #=> String
733
+ # resp.build.build_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
734
+ # resp.build.source_version #=> String
735
+ # resp.build.project_name #=> String
736
+ # resp.build.phases #=> Array
737
+ # resp.build.phases[0].phase_type #=> String, one of "SUBMITTED", "PROVISIONING", "DOWNLOAD_SOURCE", "INSTALL", "PRE_BUILD", "BUILD", "POST_BUILD", "UPLOAD_ARTIFACTS", "FINALIZING", "COMPLETED"
738
+ # resp.build.phases[0].phase_status #=> String, one of "SUCCEEDED", "FAILED", "FAULT", "TIMED_OUT", "IN_PROGRESS", "STOPPED"
739
+ # resp.build.phases[0].start_time #=> Time
740
+ # resp.build.phases[0].end_time #=> Time
741
+ # resp.build.phases[0].duration_in_seconds #=> Integer
742
+ # resp.build.phases[0].contexts #=> Array
743
+ # resp.build.phases[0].contexts[0].status_code #=> String
744
+ # resp.build.phases[0].contexts[0].message #=> String
745
+ # resp.build.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
746
+ # resp.build.source.location #=> String
747
+ # resp.build.source.buildspec #=> String
748
+ # resp.build.source.auth.type #=> String, one of "OAUTH"
749
+ # resp.build.source.auth.resource #=> String
750
+ # resp.build.artifacts.location #=> String
751
+ # resp.build.artifacts.sha256sum #=> String
752
+ # resp.build.artifacts.md5sum #=> String
753
+ # resp.build.environment.type #=> String, one of "LINUX_CONTAINER"
754
+ # resp.build.environment.image #=> String
755
+ # resp.build.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
756
+ # resp.build.environment.environment_variables #=> Array
757
+ # resp.build.environment.environment_variables[0].name #=> String
758
+ # resp.build.environment.environment_variables[0].value #=> String
759
+ # resp.build.logs.group_name #=> String
760
+ # resp.build.logs.stream_name #=> String
761
+ # resp.build.logs.deep_link #=> String
762
+ # resp.build.timeout_in_minutes #=> Integer
763
+ # resp.build.build_complete #=> Boolean
764
+ # resp.build.initiator #=> String
765
+ #
766
+ # @overload stop_build(params = {})
767
+ # @param [Hash] params ({})
768
+ def stop_build(params = {}, options = {})
769
+ req = build_request(:stop_build, params)
770
+ req.send_request(options)
771
+ end
821
772
 
822
- # @!endgroup
773
+ # Changes the settings of a build project.
774
+ #
775
+ # @option params [required, String] :name
776
+ # The name of the build project.
777
+ #
778
+ # <note markdown="1"> You cannot change a build project's name.
779
+ #
780
+ # </note>
781
+ #
782
+ # @option params [String] :description
783
+ # A new or replacement description of the build project.
784
+ #
785
+ # @option params [Types::ProjectSource] :source
786
+ # Information to be changed about the build input source code for the
787
+ # build project.
788
+ #
789
+ # @option params [Types::ProjectArtifacts] :artifacts
790
+ # Information to be changed about the build output artifacts for the
791
+ # build project.
792
+ #
793
+ # @option params [Types::ProjectEnvironment] :environment
794
+ # Information to be changed about the build environment for the build
795
+ # project.
796
+ #
797
+ # @option params [String] :service_role
798
+ # The replacement ARN of the AWS Identity and Access Management (IAM)
799
+ # role that enables AWS CodeBuild to interact with dependent AWS
800
+ # services on behalf of the AWS account.
801
+ #
802
+ # @option params [Integer] :timeout_in_minutes
803
+ # The replacement value in minutes, from 5 to 480 (8 hours), for AWS
804
+ # CodeBuild to wait before timing out any related build that did not get
805
+ # marked as completed.
806
+ #
807
+ # @option params [String] :encryption_key
808
+ # The replacement AWS Key Management Service (AWS KMS) customer master
809
+ # key (CMK) to be used for encrypting the build output artifacts.
810
+ #
811
+ # You can specify either the CMK's Amazon Resource Name (ARN) or, if
812
+ # available, the CMK's alias (using the format `alias/alias-name `).
813
+ #
814
+ # @option params [Array<Types::Tag>] :tags
815
+ # The replacement set of tags for this build project.
816
+ #
817
+ # These tags are available for use by AWS services that support AWS
818
+ # CodeBuild build project tags.
819
+ #
820
+ # @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
821
+ #
822
+ # * {Types::UpdateProjectOutput#project #project} => Types::Project
823
+ #
824
+ # @example Request syntax with placeholder values
825
+ #
826
+ # resp = client.update_project({
827
+ # name: "NonEmptyString", # required
828
+ # description: "ProjectDescription",
829
+ # source: {
830
+ # type: "CODECOMMIT", # required, accepts CODECOMMIT, CODEPIPELINE, GITHUB, S3
831
+ # location: "String",
832
+ # buildspec: "String",
833
+ # auth: {
834
+ # type: "OAUTH", # required, accepts OAUTH
835
+ # resource: "String",
836
+ # },
837
+ # },
838
+ # artifacts: {
839
+ # type: "CODEPIPELINE", # required, accepts CODEPIPELINE, S3, NO_ARTIFACTS
840
+ # location: "String",
841
+ # path: "String",
842
+ # namespace_type: "NONE", # accepts NONE, BUILD_ID
843
+ # name: "String",
844
+ # packaging: "NONE", # accepts NONE, ZIP
845
+ # },
846
+ # environment: {
847
+ # type: "LINUX_CONTAINER", # required, accepts LINUX_CONTAINER
848
+ # image: "NonEmptyString", # required
849
+ # compute_type: "BUILD_GENERAL1_SMALL", # required, accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
850
+ # environment_variables: [
851
+ # {
852
+ # name: "NonEmptyString", # required
853
+ # value: "String", # required
854
+ # },
855
+ # ],
856
+ # },
857
+ # service_role: "NonEmptyString",
858
+ # timeout_in_minutes: 1,
859
+ # encryption_key: "NonEmptyString",
860
+ # tags: [
861
+ # {
862
+ # key: "KeyInput",
863
+ # value: "ValueInput",
864
+ # },
865
+ # ],
866
+ # })
867
+ #
868
+ # @example Response structure
869
+ #
870
+ # resp.project.name #=> String
871
+ # resp.project.arn #=> String
872
+ # resp.project.description #=> String
873
+ # resp.project.source.type #=> String, one of "CODECOMMIT", "CODEPIPELINE", "GITHUB", "S3"
874
+ # resp.project.source.location #=> String
875
+ # resp.project.source.buildspec #=> String
876
+ # resp.project.source.auth.type #=> String, one of "OAUTH"
877
+ # resp.project.source.auth.resource #=> String
878
+ # resp.project.artifacts.type #=> String, one of "CODEPIPELINE", "S3", "NO_ARTIFACTS"
879
+ # resp.project.artifacts.location #=> String
880
+ # resp.project.artifacts.path #=> String
881
+ # resp.project.artifacts.namespace_type #=> String, one of "NONE", "BUILD_ID"
882
+ # resp.project.artifacts.name #=> String
883
+ # resp.project.artifacts.packaging #=> String, one of "NONE", "ZIP"
884
+ # resp.project.environment.type #=> String, one of "LINUX_CONTAINER"
885
+ # resp.project.environment.image #=> String
886
+ # resp.project.environment.compute_type #=> String, one of "BUILD_GENERAL1_SMALL", "BUILD_GENERAL1_MEDIUM", "BUILD_GENERAL1_LARGE"
887
+ # resp.project.environment.environment_variables #=> Array
888
+ # resp.project.environment.environment_variables[0].name #=> String
889
+ # resp.project.environment.environment_variables[0].value #=> String
890
+ # resp.project.service_role #=> String
891
+ # resp.project.timeout_in_minutes #=> Integer
892
+ # resp.project.encryption_key #=> String
893
+ # resp.project.tags #=> Array
894
+ # resp.project.tags[0].key #=> String
895
+ # resp.project.tags[0].value #=> String
896
+ # resp.project.created #=> Time
897
+ # resp.project.last_modified #=> Time
898
+ #
899
+ # @overload update_project(params = {})
900
+ # @param [Hash] params ({})
901
+ def update_project(params = {}, options = {})
902
+ req = build_request(:update_project, params)
903
+ req.send_request(options)
904
+ end
823
905
 
824
- # @param params ({})
825
- # @api private
826
- def build_request(operation_name, params = {})
827
- handlers = @handlers.for(operation_name)
828
- context = Seahorse::Client::RequestContext.new(
829
- operation_name: operation_name,
830
- operation: config.api.operation(operation_name),
831
- client: self,
832
- params: params,
833
- config: config)
834
- context[:gem_name] = 'aws-sdk-codebuild'
835
- context[:gem_version] = '1.0.0.rc2'
836
- Seahorse::Client::Request.new(handlers, context)
837
- end
906
+ # @!endgroup
838
907
 
839
- # @api private
840
- # @deprecated
841
- def waiter_names
842
- []
843
- end
908
+ # @param params ({})
909
+ # @api private
910
+ def build_request(operation_name, params = {})
911
+ handlers = @handlers.for(operation_name)
912
+ context = Seahorse::Client::RequestContext.new(
913
+ operation_name: operation_name,
914
+ operation: config.api.operation(operation_name),
915
+ client: self,
916
+ params: params,
917
+ config: config)
918
+ context[:gem_name] = 'aws-sdk-codebuild'
919
+ context[:gem_version] = '1.0.0.rc2'
920
+ Seahorse::Client::Request.new(handlers, context)
921
+ end
844
922
 
845
- class << self
923
+ # @api private
924
+ # @deprecated
925
+ def waiter_names
926
+ []
927
+ end
846
928
 
847
- # @api private
848
- attr_reader :identifier
929
+ class << self
849
930
 
850
- # @api private
851
- def errors_module
852
- Errors
853
- end
931
+ # @api private
932
+ attr_reader :identifier
854
933
 
934
+ # @api private
935
+ def errors_module
936
+ Errors
855
937
  end
938
+
856
939
  end
857
940
  end
858
941
  end