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