aws-sdk-codebuild 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,430 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeBuild
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ AccountLimitExceededException = Shapes::StructureShape.new(name: 'AccountLimitExceededException')
16
+ ArtifactNamespace = Shapes::StringShape.new(name: 'ArtifactNamespace')
17
+ ArtifactPackaging = Shapes::StringShape.new(name: 'ArtifactPackaging')
18
+ ArtifactsType = Shapes::StringShape.new(name: 'ArtifactsType')
19
+ BatchGetBuildsInput = Shapes::StructureShape.new(name: 'BatchGetBuildsInput')
20
+ BatchGetBuildsOutput = Shapes::StructureShape.new(name: 'BatchGetBuildsOutput')
21
+ BatchGetProjectsInput = Shapes::StructureShape.new(name: 'BatchGetProjectsInput')
22
+ BatchGetProjectsOutput = Shapes::StructureShape.new(name: 'BatchGetProjectsOutput')
23
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
24
+ Build = Shapes::StructureShape.new(name: 'Build')
25
+ BuildArtifacts = Shapes::StructureShape.new(name: 'BuildArtifacts')
26
+ BuildIds = Shapes::ListShape.new(name: 'BuildIds')
27
+ BuildPhase = Shapes::StructureShape.new(name: 'BuildPhase')
28
+ BuildPhaseType = Shapes::StringShape.new(name: 'BuildPhaseType')
29
+ BuildPhases = Shapes::ListShape.new(name: 'BuildPhases')
30
+ Builds = Shapes::ListShape.new(name: 'Builds')
31
+ ComputeType = Shapes::StringShape.new(name: 'ComputeType')
32
+ CreateProjectInput = Shapes::StructureShape.new(name: 'CreateProjectInput')
33
+ CreateProjectOutput = Shapes::StructureShape.new(name: 'CreateProjectOutput')
34
+ DeleteProjectInput = Shapes::StructureShape.new(name: 'DeleteProjectInput')
35
+ DeleteProjectOutput = Shapes::StructureShape.new(name: 'DeleteProjectOutput')
36
+ EnvironmentImage = Shapes::StructureShape.new(name: 'EnvironmentImage')
37
+ EnvironmentImages = Shapes::ListShape.new(name: 'EnvironmentImages')
38
+ EnvironmentLanguage = Shapes::StructureShape.new(name: 'EnvironmentLanguage')
39
+ EnvironmentLanguages = Shapes::ListShape.new(name: 'EnvironmentLanguages')
40
+ EnvironmentPlatform = Shapes::StructureShape.new(name: 'EnvironmentPlatform')
41
+ EnvironmentPlatforms = Shapes::ListShape.new(name: 'EnvironmentPlatforms')
42
+ EnvironmentType = Shapes::StringShape.new(name: 'EnvironmentType')
43
+ EnvironmentVariable = Shapes::StructureShape.new(name: 'EnvironmentVariable')
44
+ EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
45
+ InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
46
+ KeyInput = Shapes::StringShape.new(name: 'KeyInput')
47
+ LanguageType = Shapes::StringShape.new(name: 'LanguageType')
48
+ ListBuildsForProjectInput = Shapes::StructureShape.new(name: 'ListBuildsForProjectInput')
49
+ ListBuildsForProjectOutput = Shapes::StructureShape.new(name: 'ListBuildsForProjectOutput')
50
+ ListBuildsInput = Shapes::StructureShape.new(name: 'ListBuildsInput')
51
+ ListBuildsOutput = Shapes::StructureShape.new(name: 'ListBuildsOutput')
52
+ ListCuratedEnvironmentImagesInput = Shapes::StructureShape.new(name: 'ListCuratedEnvironmentImagesInput')
53
+ ListCuratedEnvironmentImagesOutput = Shapes::StructureShape.new(name: 'ListCuratedEnvironmentImagesOutput')
54
+ ListProjectsInput = Shapes::StructureShape.new(name: 'ListProjectsInput')
55
+ ListProjectsOutput = Shapes::StructureShape.new(name: 'ListProjectsOutput')
56
+ LogsLocation = Shapes::StructureShape.new(name: 'LogsLocation')
57
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
58
+ PhaseContext = Shapes::StructureShape.new(name: 'PhaseContext')
59
+ PhaseContexts = Shapes::ListShape.new(name: 'PhaseContexts')
60
+ PlatformType = Shapes::StringShape.new(name: 'PlatformType')
61
+ Project = Shapes::StructureShape.new(name: 'Project')
62
+ ProjectArtifacts = Shapes::StructureShape.new(name: 'ProjectArtifacts')
63
+ ProjectDescription = Shapes::StringShape.new(name: 'ProjectDescription')
64
+ ProjectEnvironment = Shapes::StructureShape.new(name: 'ProjectEnvironment')
65
+ ProjectName = Shapes::StringShape.new(name: 'ProjectName')
66
+ ProjectNames = Shapes::ListShape.new(name: 'ProjectNames')
67
+ ProjectSortByType = Shapes::StringShape.new(name: 'ProjectSortByType')
68
+ ProjectSource = Shapes::StructureShape.new(name: 'ProjectSource')
69
+ Projects = Shapes::ListShape.new(name: 'Projects')
70
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
71
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
72
+ SortOrderType = Shapes::StringShape.new(name: 'SortOrderType')
73
+ SourceAuth = Shapes::StructureShape.new(name: 'SourceAuth')
74
+ SourceAuthType = Shapes::StringShape.new(name: 'SourceAuthType')
75
+ SourceType = Shapes::StringShape.new(name: 'SourceType')
76
+ StartBuildInput = Shapes::StructureShape.new(name: 'StartBuildInput')
77
+ StartBuildOutput = Shapes::StructureShape.new(name: 'StartBuildOutput')
78
+ StatusType = Shapes::StringShape.new(name: 'StatusType')
79
+ StopBuildInput = Shapes::StructureShape.new(name: 'StopBuildInput')
80
+ StopBuildOutput = Shapes::StructureShape.new(name: 'StopBuildOutput')
81
+ String = Shapes::StringShape.new(name: 'String')
82
+ Tag = Shapes::StructureShape.new(name: 'Tag')
83
+ TagList = Shapes::ListShape.new(name: 'TagList')
84
+ TimeOut = Shapes::IntegerShape.new(name: 'TimeOut')
85
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
86
+ UpdateProjectInput = Shapes::StructureShape.new(name: 'UpdateProjectInput')
87
+ UpdateProjectOutput = Shapes::StructureShape.new(name: 'UpdateProjectOutput')
88
+ ValueInput = Shapes::StringShape.new(name: 'ValueInput')
89
+ WrapperInt = Shapes::IntegerShape.new(name: 'WrapperInt')
90
+ WrapperLong = Shapes::IntegerShape.new(name: 'WrapperLong')
91
+
92
+ BatchGetBuildsInput.add_member(:ids, Shapes::ShapeRef.new(shape: BuildIds, required: true, location_name: "ids"))
93
+ BatchGetBuildsInput.struct_class = Types::BatchGetBuildsInput
94
+
95
+ BatchGetBuildsOutput.add_member(:builds, Shapes::ShapeRef.new(shape: Builds, location_name: "builds"))
96
+ BatchGetBuildsOutput.add_member(:builds_not_found, Shapes::ShapeRef.new(shape: BuildIds, location_name: "buildsNotFound"))
97
+ BatchGetBuildsOutput.struct_class = Types::BatchGetBuildsOutput
98
+
99
+ BatchGetProjectsInput.add_member(:names, Shapes::ShapeRef.new(shape: ProjectNames, required: true, location_name: "names"))
100
+ BatchGetProjectsInput.struct_class = Types::BatchGetProjectsInput
101
+
102
+ BatchGetProjectsOutput.add_member(:projects, Shapes::ShapeRef.new(shape: Projects, location_name: "projects"))
103
+ BatchGetProjectsOutput.add_member(:projects_not_found, Shapes::ShapeRef.new(shape: ProjectNames, location_name: "projectsNotFound"))
104
+ BatchGetProjectsOutput.struct_class = Types::BatchGetProjectsOutput
105
+
106
+ Build.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
107
+ Build.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
108
+ Build.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
109
+ Build.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
110
+ Build.add_member(:current_phase, Shapes::ShapeRef.new(shape: String, location_name: "currentPhase"))
111
+ Build.add_member(:build_status, Shapes::ShapeRef.new(shape: StatusType, location_name: "buildStatus"))
112
+ Build.add_member(:source_version, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "sourceVersion"))
113
+ Build.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "projectName"))
114
+ Build.add_member(:phases, Shapes::ShapeRef.new(shape: BuildPhases, location_name: "phases"))
115
+ Build.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
116
+ Build.add_member(:artifacts, Shapes::ShapeRef.new(shape: BuildArtifacts, location_name: "artifacts"))
117
+ Build.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
118
+ Build.add_member(:logs, Shapes::ShapeRef.new(shape: LogsLocation, location_name: "logs"))
119
+ Build.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "timeoutInMinutes"))
120
+ Build.add_member(:build_complete, Shapes::ShapeRef.new(shape: Boolean, location_name: "buildComplete"))
121
+ Build.add_member(:initiator, Shapes::ShapeRef.new(shape: String, location_name: "initiator"))
122
+ Build.struct_class = Types::Build
123
+
124
+ BuildArtifacts.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
125
+ BuildArtifacts.add_member(:sha256sum, Shapes::ShapeRef.new(shape: String, location_name: "sha256sum"))
126
+ BuildArtifacts.add_member(:md5sum, Shapes::ShapeRef.new(shape: String, location_name: "md5sum"))
127
+ BuildArtifacts.struct_class = Types::BuildArtifacts
128
+
129
+ BuildIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
130
+
131
+ BuildPhase.add_member(:phase_type, Shapes::ShapeRef.new(shape: BuildPhaseType, location_name: "phaseType"))
132
+ BuildPhase.add_member(:phase_status, Shapes::ShapeRef.new(shape: StatusType, location_name: "phaseStatus"))
133
+ BuildPhase.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
134
+ BuildPhase.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
135
+ BuildPhase.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: WrapperLong, location_name: "durationInSeconds"))
136
+ BuildPhase.add_member(:contexts, Shapes::ShapeRef.new(shape: PhaseContexts, location_name: "contexts"))
137
+ BuildPhase.struct_class = Types::BuildPhase
138
+
139
+ BuildPhases.member = Shapes::ShapeRef.new(shape: BuildPhase)
140
+
141
+ Builds.member = Shapes::ShapeRef.new(shape: Build)
142
+
143
+ CreateProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
144
+ CreateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
145
+ CreateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, required: true, location_name: "source"))
146
+ CreateProjectInput.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, required: true, location_name: "artifacts"))
147
+ CreateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, required: true, location_name: "environment"))
148
+ CreateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
149
+ CreateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
150
+ CreateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
151
+ CreateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
152
+ CreateProjectInput.struct_class = Types::CreateProjectInput
153
+
154
+ CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
155
+ CreateProjectOutput.struct_class = Types::CreateProjectOutput
156
+
157
+ DeleteProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
158
+ DeleteProjectInput.struct_class = Types::DeleteProjectInput
159
+
160
+ DeleteProjectOutput.struct_class = Types::DeleteProjectOutput
161
+
162
+ EnvironmentImage.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
163
+ EnvironmentImage.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
164
+ EnvironmentImage.struct_class = Types::EnvironmentImage
165
+
166
+ EnvironmentImages.member = Shapes::ShapeRef.new(shape: EnvironmentImage)
167
+
168
+ EnvironmentLanguage.add_member(:language, Shapes::ShapeRef.new(shape: LanguageType, location_name: "language"))
169
+ EnvironmentLanguage.add_member(:images, Shapes::ShapeRef.new(shape: EnvironmentImages, location_name: "images"))
170
+ EnvironmentLanguage.struct_class = Types::EnvironmentLanguage
171
+
172
+ EnvironmentLanguages.member = Shapes::ShapeRef.new(shape: EnvironmentLanguage)
173
+
174
+ EnvironmentPlatform.add_member(:platform, Shapes::ShapeRef.new(shape: PlatformType, location_name: "platform"))
175
+ EnvironmentPlatform.add_member(:languages, Shapes::ShapeRef.new(shape: EnvironmentLanguages, location_name: "languages"))
176
+ EnvironmentPlatform.struct_class = Types::EnvironmentPlatform
177
+
178
+ EnvironmentPlatforms.member = Shapes::ShapeRef.new(shape: EnvironmentPlatform)
179
+
180
+ EnvironmentVariable.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
181
+ EnvironmentVariable.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
182
+ EnvironmentVariable.struct_class = Types::EnvironmentVariable
183
+
184
+ EnvironmentVariables.member = Shapes::ShapeRef.new(shape: EnvironmentVariable)
185
+
186
+ ListBuildsForProjectInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
187
+ ListBuildsForProjectInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
188
+ ListBuildsForProjectInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
189
+ ListBuildsForProjectInput.struct_class = Types::ListBuildsForProjectInput
190
+
191
+ ListBuildsForProjectOutput.add_member(:ids, Shapes::ShapeRef.new(shape: BuildIds, location_name: "ids"))
192
+ ListBuildsForProjectOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
193
+ ListBuildsForProjectOutput.struct_class = Types::ListBuildsForProjectOutput
194
+
195
+ ListBuildsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
196
+ ListBuildsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
197
+ ListBuildsInput.struct_class = Types::ListBuildsInput
198
+
199
+ ListBuildsOutput.add_member(:ids, Shapes::ShapeRef.new(shape: BuildIds, location_name: "ids"))
200
+ ListBuildsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
201
+ ListBuildsOutput.struct_class = Types::ListBuildsOutput
202
+
203
+ ListCuratedEnvironmentImagesInput.struct_class = Types::ListCuratedEnvironmentImagesInput
204
+
205
+ ListCuratedEnvironmentImagesOutput.add_member(:platforms, Shapes::ShapeRef.new(shape: EnvironmentPlatforms, location_name: "platforms"))
206
+ ListCuratedEnvironmentImagesOutput.struct_class = Types::ListCuratedEnvironmentImagesOutput
207
+
208
+ ListProjectsInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: ProjectSortByType, location_name: "sortBy"))
209
+ ListProjectsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
210
+ ListProjectsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
211
+ ListProjectsInput.struct_class = Types::ListProjectsInput
212
+
213
+ ListProjectsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
214
+ ListProjectsOutput.add_member(:projects, Shapes::ShapeRef.new(shape: ProjectNames, location_name: "projects"))
215
+ ListProjectsOutput.struct_class = Types::ListProjectsOutput
216
+
217
+ LogsLocation.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
218
+ LogsLocation.add_member(:stream_name, Shapes::ShapeRef.new(shape: String, location_name: "streamName"))
219
+ LogsLocation.add_member(:deep_link, Shapes::ShapeRef.new(shape: String, location_name: "deepLink"))
220
+ LogsLocation.struct_class = Types::LogsLocation
221
+
222
+ PhaseContext.add_member(:status_code, Shapes::ShapeRef.new(shape: String, location_name: "statusCode"))
223
+ PhaseContext.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
224
+ PhaseContext.struct_class = Types::PhaseContext
225
+
226
+ PhaseContexts.member = Shapes::ShapeRef.new(shape: PhaseContext)
227
+
228
+ Project.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, location_name: "name"))
229
+ Project.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
230
+ Project.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
231
+ Project.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
232
+ Project.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifacts"))
233
+ Project.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
234
+ Project.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
235
+ Project.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
236
+ Project.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
237
+ Project.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
238
+ Project.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
239
+ Project.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
240
+ Project.struct_class = Types::Project
241
+
242
+ ProjectArtifacts.add_member(:type, Shapes::ShapeRef.new(shape: ArtifactsType, required: true, location_name: "type"))
243
+ ProjectArtifacts.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
244
+ ProjectArtifacts.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
245
+ ProjectArtifacts.add_member(:namespace_type, Shapes::ShapeRef.new(shape: ArtifactNamespace, location_name: "namespaceType"))
246
+ ProjectArtifacts.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
247
+ ProjectArtifacts.add_member(:packaging, Shapes::ShapeRef.new(shape: ArtifactPackaging, location_name: "packaging"))
248
+ ProjectArtifacts.struct_class = Types::ProjectArtifacts
249
+
250
+ ProjectEnvironment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "type"))
251
+ ProjectEnvironment.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "image"))
252
+ ProjectEnvironment.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
253
+ ProjectEnvironment.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
254
+ ProjectEnvironment.struct_class = Types::ProjectEnvironment
255
+
256
+ ProjectNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
257
+
258
+ ProjectSource.add_member(:type, Shapes::ShapeRef.new(shape: SourceType, required: true, location_name: "type"))
259
+ ProjectSource.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
260
+ ProjectSource.add_member(:buildspec, Shapes::ShapeRef.new(shape: String, location_name: "buildspec"))
261
+ ProjectSource.add_member(:auth, Shapes::ShapeRef.new(shape: SourceAuth, location_name: "auth"))
262
+ ProjectSource.struct_class = Types::ProjectSource
263
+
264
+ Projects.member = Shapes::ShapeRef.new(shape: Project)
265
+
266
+ SourceAuth.add_member(:type, Shapes::ShapeRef.new(shape: SourceAuthType, required: true, location_name: "type"))
267
+ SourceAuth.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
268
+ SourceAuth.struct_class = Types::SourceAuth
269
+
270
+ StartBuildInput.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "projectName"))
271
+ StartBuildInput.add_member(:source_version, Shapes::ShapeRef.new(shape: String, location_name: "sourceVersion"))
272
+ StartBuildInput.add_member(:artifacts_override, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifactsOverride"))
273
+ StartBuildInput.add_member(:environment_variables_override, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariablesOverride"))
274
+ StartBuildInput.add_member(:buildspec_override, Shapes::ShapeRef.new(shape: String, location_name: "buildspecOverride"))
275
+ StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutesOverride"))
276
+ StartBuildInput.struct_class = Types::StartBuildInput
277
+
278
+ StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
279
+ StartBuildOutput.struct_class = Types::StartBuildOutput
280
+
281
+ StopBuildInput.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "id"))
282
+ StopBuildInput.struct_class = Types::StopBuildInput
283
+
284
+ StopBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
285
+ StopBuildOutput.struct_class = Types::StopBuildOutput
286
+
287
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: KeyInput, location_name: "key"))
288
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: ValueInput, location_name: "value"))
289
+ Tag.struct_class = Types::Tag
290
+
291
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
292
+
293
+ UpdateProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
294
+ UpdateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
295
+ UpdateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
296
+ UpdateProjectInput.add_member(:artifacts, Shapes::ShapeRef.new(shape: ProjectArtifacts, location_name: "artifacts"))
297
+ UpdateProjectInput.add_member(:environment, Shapes::ShapeRef.new(shape: ProjectEnvironment, location_name: "environment"))
298
+ UpdateProjectInput.add_member(:service_role, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serviceRole"))
299
+ UpdateProjectInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutes"))
300
+ UpdateProjectInput.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
301
+ UpdateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
302
+ UpdateProjectInput.struct_class = Types::UpdateProjectInput
303
+
304
+ UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
305
+ UpdateProjectOutput.struct_class = Types::UpdateProjectOutput
306
+
307
+
308
+ # @api private
309
+ API = Seahorse::Model::Api.new.tap do |api|
310
+
311
+ api.version = "2016-10-06"
312
+
313
+ api.metadata = {
314
+ "endpointPrefix" => "codebuild",
315
+ "jsonVersion" => "1.1",
316
+ "protocol" => "json",
317
+ "serviceFullName" => "AWS CodeBuild",
318
+ "signatureVersion" => "v4",
319
+ "targetPrefix" => "CodeBuild_20161006",
320
+ }
321
+
322
+ api.add_operation(:batch_get_builds, Seahorse::Model::Operation.new.tap do |o|
323
+ o.name = "BatchGetBuilds"
324
+ o.http_method = "POST"
325
+ o.http_request_uri = "/"
326
+ o.input = Shapes::ShapeRef.new(shape: BatchGetBuildsInput)
327
+ o.output = Shapes::ShapeRef.new(shape: BatchGetBuildsOutput)
328
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
329
+ end)
330
+
331
+ api.add_operation(:batch_get_projects, Seahorse::Model::Operation.new.tap do |o|
332
+ o.name = "BatchGetProjects"
333
+ o.http_method = "POST"
334
+ o.http_request_uri = "/"
335
+ o.input = Shapes::ShapeRef.new(shape: BatchGetProjectsInput)
336
+ o.output = Shapes::ShapeRef.new(shape: BatchGetProjectsOutput)
337
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
338
+ end)
339
+
340
+ api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
341
+ o.name = "CreateProject"
342
+ o.http_method = "POST"
343
+ o.http_request_uri = "/"
344
+ o.input = Shapes::ShapeRef.new(shape: CreateProjectInput)
345
+ o.output = Shapes::ShapeRef.new(shape: CreateProjectOutput)
346
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
347
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
348
+ o.errors << Shapes::ShapeRef.new(shape: AccountLimitExceededException)
349
+ end)
350
+
351
+ api.add_operation(:delete_project, Seahorse::Model::Operation.new.tap do |o|
352
+ o.name = "DeleteProject"
353
+ o.http_method = "POST"
354
+ o.http_request_uri = "/"
355
+ o.input = Shapes::ShapeRef.new(shape: DeleteProjectInput)
356
+ o.output = Shapes::ShapeRef.new(shape: DeleteProjectOutput)
357
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
358
+ end)
359
+
360
+ api.add_operation(:list_builds, Seahorse::Model::Operation.new.tap do |o|
361
+ o.name = "ListBuilds"
362
+ o.http_method = "POST"
363
+ o.http_request_uri = "/"
364
+ o.input = Shapes::ShapeRef.new(shape: ListBuildsInput)
365
+ o.output = Shapes::ShapeRef.new(shape: ListBuildsOutput)
366
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
367
+ end)
368
+
369
+ api.add_operation(:list_builds_for_project, Seahorse::Model::Operation.new.tap do |o|
370
+ o.name = "ListBuildsForProject"
371
+ o.http_method = "POST"
372
+ o.http_request_uri = "/"
373
+ o.input = Shapes::ShapeRef.new(shape: ListBuildsForProjectInput)
374
+ o.output = Shapes::ShapeRef.new(shape: ListBuildsForProjectOutput)
375
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
376
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
377
+ end)
378
+
379
+ api.add_operation(:list_curated_environment_images, Seahorse::Model::Operation.new.tap do |o|
380
+ o.name = "ListCuratedEnvironmentImages"
381
+ o.http_method = "POST"
382
+ o.http_request_uri = "/"
383
+ o.input = Shapes::ShapeRef.new(shape: ListCuratedEnvironmentImagesInput)
384
+ o.output = Shapes::ShapeRef.new(shape: ListCuratedEnvironmentImagesOutput)
385
+ end)
386
+
387
+ api.add_operation(:list_projects, Seahorse::Model::Operation.new.tap do |o|
388
+ o.name = "ListProjects"
389
+ o.http_method = "POST"
390
+ o.http_request_uri = "/"
391
+ o.input = Shapes::ShapeRef.new(shape: ListProjectsInput)
392
+ o.output = Shapes::ShapeRef.new(shape: ListProjectsOutput)
393
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
394
+ end)
395
+
396
+ api.add_operation(:start_build, Seahorse::Model::Operation.new.tap do |o|
397
+ o.name = "StartBuild"
398
+ o.http_method = "POST"
399
+ o.http_request_uri = "/"
400
+ o.input = Shapes::ShapeRef.new(shape: StartBuildInput)
401
+ o.output = Shapes::ShapeRef.new(shape: StartBuildOutput)
402
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
403
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
404
+ o.errors << Shapes::ShapeRef.new(shape: AccountLimitExceededException)
405
+ end)
406
+
407
+ api.add_operation(:stop_build, Seahorse::Model::Operation.new.tap do |o|
408
+ o.name = "StopBuild"
409
+ o.http_method = "POST"
410
+ o.http_request_uri = "/"
411
+ o.input = Shapes::ShapeRef.new(shape: StopBuildInput)
412
+ o.output = Shapes::ShapeRef.new(shape: StopBuildOutput)
413
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
414
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
415
+ end)
416
+
417
+ api.add_operation(:update_project, Seahorse::Model::Operation.new.tap do |o|
418
+ o.name = "UpdateProject"
419
+ o.http_method = "POST"
420
+ o.http_request_uri = "/"
421
+ o.input = Shapes::ShapeRef.new(shape: UpdateProjectInput)
422
+ o.output = Shapes::ShapeRef.new(shape: UpdateProjectOutput)
423
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
424
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
425
+ end)
426
+ end
427
+
428
+ end
429
+ end
430
+ end
@@ -0,0 +1,23 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CodeBuild
10
+ module Errors
11
+
12
+ extend Aws::Errors::DynamicErrors
13
+
14
+ # Raised when calling #load or #data on a resource class that can not be
15
+ # loaded. This can happen when:
16
+ #
17
+ # * A resource class has identifiers, but no data attributes.
18
+ # * Resource data is only available when making an API call that
19
+ # enumerates all resources of that type.
20
+ class ResourceNotLoadable < RuntimeError; end
21
+ end
22
+ end
23
+ end