aws-sdk-codebuild 1.101.0 → 1.103.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codebuild/client.rb +503 -1
- data/lib/aws-sdk-codebuild/client_api.rb +174 -0
- data/lib/aws-sdk-codebuild/endpoints.rb +70 -0
- data/lib/aws-sdk-codebuild/plugins/endpoints.rb +11 -0
- data/lib/aws-sdk-codebuild/types.rb +700 -7
- data/lib/aws-sdk-codebuild.rb +1 -1
- data/sig/client.rbs +1293 -0
- data/sig/errors.rbs +26 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1265 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
@@ -24,6 +24,8 @@ module Aws::CodeBuild
|
|
24
24
|
BatchGetBuildBatchesOutput = Shapes::StructureShape.new(name: 'BatchGetBuildBatchesOutput')
|
25
25
|
BatchGetBuildsInput = Shapes::StructureShape.new(name: 'BatchGetBuildsInput')
|
26
26
|
BatchGetBuildsOutput = Shapes::StructureShape.new(name: 'BatchGetBuildsOutput')
|
27
|
+
BatchGetFleetsInput = Shapes::StructureShape.new(name: 'BatchGetFleetsInput')
|
28
|
+
BatchGetFleetsOutput = Shapes::StructureShape.new(name: 'BatchGetFleetsOutput')
|
27
29
|
BatchGetProjectsInput = Shapes::StructureShape.new(name: 'BatchGetProjectsInput')
|
28
30
|
BatchGetProjectsOutput = Shapes::StructureShape.new(name: 'BatchGetProjectsOutput')
|
29
31
|
BatchGetReportGroupsInput = Shapes::StructureShape.new(name: 'BatchGetReportGroupsInput')
|
@@ -65,6 +67,8 @@ module Aws::CodeBuild
|
|
65
67
|
CodeCoverages = Shapes::ListShape.new(name: 'CodeCoverages')
|
66
68
|
ComputeType = Shapes::StringShape.new(name: 'ComputeType')
|
67
69
|
ComputeTypesAllowed = Shapes::ListShape.new(name: 'ComputeTypesAllowed')
|
70
|
+
CreateFleetInput = Shapes::StructureShape.new(name: 'CreateFleetInput')
|
71
|
+
CreateFleetOutput = Shapes::StructureShape.new(name: 'CreateFleetOutput')
|
68
72
|
CreateProjectInput = Shapes::StructureShape.new(name: 'CreateProjectInput')
|
69
73
|
CreateProjectOutput = Shapes::StructureShape.new(name: 'CreateProjectOutput')
|
70
74
|
CreateReportGroupInput = Shapes::StructureShape.new(name: 'CreateReportGroupInput')
|
@@ -75,6 +79,8 @@ module Aws::CodeBuild
|
|
75
79
|
DebugSession = Shapes::StructureShape.new(name: 'DebugSession')
|
76
80
|
DeleteBuildBatchInput = Shapes::StructureShape.new(name: 'DeleteBuildBatchInput')
|
77
81
|
DeleteBuildBatchOutput = Shapes::StructureShape.new(name: 'DeleteBuildBatchOutput')
|
82
|
+
DeleteFleetInput = Shapes::StructureShape.new(name: 'DeleteFleetInput')
|
83
|
+
DeleteFleetOutput = Shapes::StructureShape.new(name: 'DeleteFleetOutput')
|
78
84
|
DeleteProjectInput = Shapes::StructureShape.new(name: 'DeleteProjectInput')
|
79
85
|
DeleteProjectOutput = Shapes::StructureShape.new(name: 'DeleteProjectOutput')
|
80
86
|
DeleteReportGroupInput = Shapes::StructureShape.new(name: 'DeleteReportGroupInput')
|
@@ -106,6 +112,18 @@ module Aws::CodeBuild
|
|
106
112
|
FileSystemType = Shapes::StringShape.new(name: 'FileSystemType')
|
107
113
|
FilterGroup = Shapes::ListShape.new(name: 'FilterGroup')
|
108
114
|
FilterGroups = Shapes::ListShape.new(name: 'FilterGroups')
|
115
|
+
Fleet = Shapes::StructureShape.new(name: 'Fleet')
|
116
|
+
FleetArns = Shapes::ListShape.new(name: 'FleetArns')
|
117
|
+
FleetCapacity = Shapes::IntegerShape.new(name: 'FleetCapacity')
|
118
|
+
FleetContextCode = Shapes::StringShape.new(name: 'FleetContextCode')
|
119
|
+
FleetName = Shapes::StringShape.new(name: 'FleetName')
|
120
|
+
FleetNames = Shapes::ListShape.new(name: 'FleetNames')
|
121
|
+
FleetScalingMetricType = Shapes::StringShape.new(name: 'FleetScalingMetricType')
|
122
|
+
FleetScalingType = Shapes::StringShape.new(name: 'FleetScalingType')
|
123
|
+
FleetSortByType = Shapes::StringShape.new(name: 'FleetSortByType')
|
124
|
+
FleetStatus = Shapes::StructureShape.new(name: 'FleetStatus')
|
125
|
+
FleetStatusCode = Shapes::StringShape.new(name: 'FleetStatusCode')
|
126
|
+
Fleets = Shapes::ListShape.new(name: 'Fleets')
|
109
127
|
GetReportGroupTrendInput = Shapes::StructureShape.new(name: 'GetReportGroupTrendInput')
|
110
128
|
GetReportGroupTrendOutput = Shapes::StructureShape.new(name: 'GetReportGroupTrendOutput')
|
111
129
|
GetResourcePolicyInput = Shapes::StructureShape.new(name: 'GetResourcePolicyInput')
|
@@ -132,6 +150,8 @@ module Aws::CodeBuild
|
|
132
150
|
ListBuildsOutput = Shapes::StructureShape.new(name: 'ListBuildsOutput')
|
133
151
|
ListCuratedEnvironmentImagesInput = Shapes::StructureShape.new(name: 'ListCuratedEnvironmentImagesInput')
|
134
152
|
ListCuratedEnvironmentImagesOutput = Shapes::StructureShape.new(name: 'ListCuratedEnvironmentImagesOutput')
|
153
|
+
ListFleetsInput = Shapes::StructureShape.new(name: 'ListFleetsInput')
|
154
|
+
ListFleetsOutput = Shapes::StructureShape.new(name: 'ListFleetsOutput')
|
135
155
|
ListProjectsInput = Shapes::StructureShape.new(name: 'ListProjectsInput')
|
136
156
|
ListProjectsOutput = Shapes::StructureShape.new(name: 'ListProjectsOutput')
|
137
157
|
ListReportGroupsInput = Shapes::StructureShape.new(name: 'ListReportGroupsInput')
|
@@ -170,6 +190,7 @@ module Aws::CodeBuild
|
|
170
190
|
ProjectEnvironment = Shapes::StructureShape.new(name: 'ProjectEnvironment')
|
171
191
|
ProjectFileSystemLocation = Shapes::StructureShape.new(name: 'ProjectFileSystemLocation')
|
172
192
|
ProjectFileSystemLocations = Shapes::ListShape.new(name: 'ProjectFileSystemLocations')
|
193
|
+
ProjectFleet = Shapes::StructureShape.new(name: 'ProjectFleet')
|
173
194
|
ProjectName = Shapes::StringShape.new(name: 'ProjectName')
|
174
195
|
ProjectNames = Shapes::ListShape.new(name: 'ProjectNames')
|
175
196
|
ProjectSecondarySourceVersions = Shapes::ListShape.new(name: 'ProjectSecondarySourceVersions')
|
@@ -214,8 +235,11 @@ module Aws::CodeBuild
|
|
214
235
|
RetryBuildOutput = Shapes::StructureShape.new(name: 'RetryBuildOutput')
|
215
236
|
S3LogsConfig = Shapes::StructureShape.new(name: 'S3LogsConfig')
|
216
237
|
S3ReportExportConfig = Shapes::StructureShape.new(name: 'S3ReportExportConfig')
|
238
|
+
ScalingConfigurationInput = Shapes::StructureShape.new(name: 'ScalingConfigurationInput')
|
239
|
+
ScalingConfigurationOutput = Shapes::StructureShape.new(name: 'ScalingConfigurationOutput')
|
217
240
|
SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
|
218
241
|
SensitiveNonEmptyString = Shapes::StringShape.new(name: 'SensitiveNonEmptyString')
|
242
|
+
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
219
243
|
ServerType = Shapes::StringShape.new(name: 'ServerType')
|
220
244
|
SharedResourceSortByType = Shapes::StringShape.new(name: 'SharedResourceSortByType')
|
221
245
|
SortOrderType = Shapes::StringShape.new(name: 'SortOrderType')
|
@@ -237,12 +261,16 @@ module Aws::CodeBuild
|
|
237
261
|
Subnets = Shapes::ListShape.new(name: 'Subnets')
|
238
262
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
239
263
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
264
|
+
TargetTrackingScalingConfiguration = Shapes::StructureShape.new(name: 'TargetTrackingScalingConfiguration')
|
265
|
+
TargetTrackingScalingConfigurations = Shapes::ListShape.new(name: 'TargetTrackingScalingConfigurations')
|
240
266
|
TestCase = Shapes::StructureShape.new(name: 'TestCase')
|
241
267
|
TestCaseFilter = Shapes::StructureShape.new(name: 'TestCaseFilter')
|
242
268
|
TestCases = Shapes::ListShape.new(name: 'TestCases')
|
243
269
|
TestReportSummary = Shapes::StructureShape.new(name: 'TestReportSummary')
|
244
270
|
TimeOut = Shapes::IntegerShape.new(name: 'TimeOut')
|
245
271
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
272
|
+
UpdateFleetInput = Shapes::StructureShape.new(name: 'UpdateFleetInput')
|
273
|
+
UpdateFleetOutput = Shapes::StructureShape.new(name: 'UpdateFleetOutput')
|
246
274
|
UpdateProjectInput = Shapes::StructureShape.new(name: 'UpdateProjectInput')
|
247
275
|
UpdateProjectOutput = Shapes::StructureShape.new(name: 'UpdateProjectOutput')
|
248
276
|
UpdateProjectVisibilityInput = Shapes::StructureShape.new(name: 'UpdateProjectVisibilityInput')
|
@@ -258,6 +286,7 @@ module Aws::CodeBuild
|
|
258
286
|
WebhookFilter = Shapes::StructureShape.new(name: 'WebhookFilter')
|
259
287
|
WebhookFilterType = Shapes::StringShape.new(name: 'WebhookFilterType')
|
260
288
|
WrapperBoolean = Shapes::BooleanShape.new(name: 'WrapperBoolean')
|
289
|
+
WrapperDouble = Shapes::FloatShape.new(name: 'WrapperDouble')
|
261
290
|
WrapperInt = Shapes::IntegerShape.new(name: 'WrapperInt')
|
262
291
|
WrapperLong = Shapes::IntegerShape.new(name: 'WrapperLong')
|
263
292
|
|
@@ -284,6 +313,13 @@ module Aws::CodeBuild
|
|
284
313
|
BatchGetBuildsOutput.add_member(:builds_not_found, Shapes::ShapeRef.new(shape: BuildIds, location_name: "buildsNotFound"))
|
285
314
|
BatchGetBuildsOutput.struct_class = Types::BatchGetBuildsOutput
|
286
315
|
|
316
|
+
BatchGetFleetsInput.add_member(:names, Shapes::ShapeRef.new(shape: FleetNames, required: true, location_name: "names"))
|
317
|
+
BatchGetFleetsInput.struct_class = Types::BatchGetFleetsInput
|
318
|
+
|
319
|
+
BatchGetFleetsOutput.add_member(:fleets, Shapes::ShapeRef.new(shape: Fleets, location_name: "fleets"))
|
320
|
+
BatchGetFleetsOutput.add_member(:fleets_not_found, Shapes::ShapeRef.new(shape: FleetNames, location_name: "fleetsNotFound"))
|
321
|
+
BatchGetFleetsOutput.struct_class = Types::BatchGetFleetsOutput
|
322
|
+
|
287
323
|
BatchGetProjectsInput.add_member(:names, Shapes::ShapeRef.new(shape: ProjectNames, required: true, location_name: "names"))
|
288
324
|
BatchGetProjectsInput.struct_class = Types::BatchGetProjectsInput
|
289
325
|
|
@@ -476,6 +512,17 @@ module Aws::CodeBuild
|
|
476
512
|
|
477
513
|
ComputeTypesAllowed.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
478
514
|
|
515
|
+
CreateFleetInput.add_member(:name, Shapes::ShapeRef.new(shape: FleetName, required: true, location_name: "name"))
|
516
|
+
CreateFleetInput.add_member(:base_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, required: true, location_name: "baseCapacity"))
|
517
|
+
CreateFleetInput.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "environmentType"))
|
518
|
+
CreateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
|
519
|
+
CreateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
|
520
|
+
CreateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
521
|
+
CreateFleetInput.struct_class = Types::CreateFleetInput
|
522
|
+
|
523
|
+
CreateFleetOutput.add_member(:fleet, Shapes::ShapeRef.new(shape: Fleet, location_name: "fleet"))
|
524
|
+
CreateFleetOutput.struct_class = Types::CreateFleetOutput
|
525
|
+
|
479
526
|
CreateProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
|
480
527
|
CreateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
481
528
|
CreateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, required: true, location_name: "source"))
|
@@ -532,6 +579,11 @@ module Aws::CodeBuild
|
|
532
579
|
DeleteBuildBatchOutput.add_member(:builds_not_deleted, Shapes::ShapeRef.new(shape: BuildsNotDeleted, location_name: "buildsNotDeleted"))
|
533
580
|
DeleteBuildBatchOutput.struct_class = Types::DeleteBuildBatchOutput
|
534
581
|
|
582
|
+
DeleteFleetInput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "arn"))
|
583
|
+
DeleteFleetInput.struct_class = Types::DeleteFleetInput
|
584
|
+
|
585
|
+
DeleteFleetOutput.struct_class = Types::DeleteFleetOutput
|
586
|
+
|
535
587
|
DeleteProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
536
588
|
DeleteProjectInput.struct_class = Types::DeleteProjectInput
|
537
589
|
|
@@ -623,6 +675,30 @@ module Aws::CodeBuild
|
|
623
675
|
|
624
676
|
FilterGroups.member = Shapes::ShapeRef.new(shape: FilterGroup)
|
625
677
|
|
678
|
+
Fleet.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
679
|
+
Fleet.add_member(:name, Shapes::ShapeRef.new(shape: FleetName, location_name: "name"))
|
680
|
+
Fleet.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
|
681
|
+
Fleet.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
|
682
|
+
Fleet.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
|
683
|
+
Fleet.add_member(:status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "status"))
|
684
|
+
Fleet.add_member(:base_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "baseCapacity"))
|
685
|
+
Fleet.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentType"))
|
686
|
+
Fleet.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
|
687
|
+
Fleet.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationOutput, location_name: "scalingConfiguration"))
|
688
|
+
Fleet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
689
|
+
Fleet.struct_class = Types::Fleet
|
690
|
+
|
691
|
+
FleetArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
692
|
+
|
693
|
+
FleetNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
694
|
+
|
695
|
+
FleetStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: FleetStatusCode, location_name: "statusCode"))
|
696
|
+
FleetStatus.add_member(:context, Shapes::ShapeRef.new(shape: FleetContextCode, location_name: "context"))
|
697
|
+
FleetStatus.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
698
|
+
FleetStatus.struct_class = Types::FleetStatus
|
699
|
+
|
700
|
+
Fleets.member = Shapes::ShapeRef.new(shape: Fleet)
|
701
|
+
|
626
702
|
GetReportGroupTrendInput.add_member(:report_group_arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "reportGroupArn"))
|
627
703
|
GetReportGroupTrendInput.add_member(:num_of_reports, Shapes::ShapeRef.new(shape: PageSize, location_name: "numOfReports"))
|
628
704
|
GetReportGroupTrendInput.add_member(:trend_field, Shapes::ShapeRef.new(shape: ReportGroupTrendFieldType, required: true, location_name: "trendField"))
|
@@ -705,6 +781,16 @@ module Aws::CodeBuild
|
|
705
781
|
ListCuratedEnvironmentImagesOutput.add_member(:platforms, Shapes::ShapeRef.new(shape: EnvironmentPlatforms, location_name: "platforms"))
|
706
782
|
ListCuratedEnvironmentImagesOutput.struct_class = Types::ListCuratedEnvironmentImagesOutput
|
707
783
|
|
784
|
+
ListFleetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "nextToken"))
|
785
|
+
ListFleetsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
|
786
|
+
ListFleetsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
|
787
|
+
ListFleetsInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: FleetSortByType, location_name: "sortBy"))
|
788
|
+
ListFleetsInput.struct_class = Types::ListFleetsInput
|
789
|
+
|
790
|
+
ListFleetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
791
|
+
ListFleetsOutput.add_member(:fleets, Shapes::ShapeRef.new(shape: FleetArns, location_name: "fleets"))
|
792
|
+
ListFleetsOutput.struct_class = Types::ListFleetsOutput
|
793
|
+
|
708
794
|
ListProjectsInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: ProjectSortByType, location_name: "sortBy"))
|
709
795
|
ListProjectsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrderType, location_name: "sortOrder"))
|
710
796
|
ListProjectsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
|
@@ -863,6 +949,7 @@ module Aws::CodeBuild
|
|
863
949
|
ProjectEnvironment.add_member(:type, Shapes::ShapeRef.new(shape: EnvironmentType, required: true, location_name: "type"))
|
864
950
|
ProjectEnvironment.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "image"))
|
865
951
|
ProjectEnvironment.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "computeType"))
|
952
|
+
ProjectEnvironment.add_member(:fleet, Shapes::ShapeRef.new(shape: ProjectFleet, location_name: "fleet"))
|
866
953
|
ProjectEnvironment.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environmentVariables"))
|
867
954
|
ProjectEnvironment.add_member(:privileged_mode, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedMode"))
|
868
955
|
ProjectEnvironment.add_member(:certificate, Shapes::ShapeRef.new(shape: String, location_name: "certificate"))
|
@@ -879,6 +966,9 @@ module Aws::CodeBuild
|
|
879
966
|
|
880
967
|
ProjectFileSystemLocations.member = Shapes::ShapeRef.new(shape: ProjectFileSystemLocation)
|
881
968
|
|
969
|
+
ProjectFleet.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: String, location_name: "fleetArn"))
|
970
|
+
ProjectFleet.struct_class = Types::ProjectFleet
|
971
|
+
|
882
972
|
ProjectNames.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
883
973
|
|
884
974
|
ProjectSecondarySourceVersions.member = Shapes::ShapeRef.new(shape: ProjectSourceVersion)
|
@@ -1007,6 +1097,17 @@ module Aws::CodeBuild
|
|
1007
1097
|
S3ReportExportConfig.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
|
1008
1098
|
S3ReportExportConfig.struct_class = Types::S3ReportExportConfig
|
1009
1099
|
|
1100
|
+
ScalingConfigurationInput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: FleetScalingType, location_name: "scalingType"))
|
1101
|
+
ScalingConfigurationInput.add_member(:target_tracking_scaling_configs, Shapes::ShapeRef.new(shape: TargetTrackingScalingConfigurations, location_name: "targetTrackingScalingConfigs"))
|
1102
|
+
ScalingConfigurationInput.add_member(:max_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "maxCapacity"))
|
1103
|
+
ScalingConfigurationInput.struct_class = Types::ScalingConfigurationInput
|
1104
|
+
|
1105
|
+
ScalingConfigurationOutput.add_member(:scaling_type, Shapes::ShapeRef.new(shape: FleetScalingType, location_name: "scalingType"))
|
1106
|
+
ScalingConfigurationOutput.add_member(:target_tracking_scaling_configs, Shapes::ShapeRef.new(shape: TargetTrackingScalingConfigurations, location_name: "targetTrackingScalingConfigs"))
|
1107
|
+
ScalingConfigurationOutput.add_member(:max_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "maxCapacity"))
|
1108
|
+
ScalingConfigurationOutput.add_member(:desired_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "desiredCapacity"))
|
1109
|
+
ScalingConfigurationOutput.struct_class = Types::ScalingConfigurationOutput
|
1110
|
+
|
1010
1111
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
1011
1112
|
|
1012
1113
|
SourceAuth.add_member(:type, Shapes::ShapeRef.new(shape: SourceAuthType, required: true, location_name: "type"))
|
@@ -1087,6 +1188,7 @@ module Aws::CodeBuild
|
|
1087
1188
|
StartBuildInput.add_member(:registry_credential_override, Shapes::ShapeRef.new(shape: RegistryCredential, location_name: "registryCredentialOverride"))
|
1088
1189
|
StartBuildInput.add_member(:image_pull_credentials_type_override, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsTypeOverride"))
|
1089
1190
|
StartBuildInput.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
|
1191
|
+
StartBuildInput.add_member(:fleet_override, Shapes::ShapeRef.new(shape: ProjectFleet, location_name: "fleetOverride"))
|
1090
1192
|
StartBuildInput.struct_class = Types::StartBuildInput
|
1091
1193
|
|
1092
1194
|
StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
|
@@ -1112,6 +1214,12 @@ module Aws::CodeBuild
|
|
1112
1214
|
|
1113
1215
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
1114
1216
|
|
1217
|
+
TargetTrackingScalingConfiguration.add_member(:metric_type, Shapes::ShapeRef.new(shape: FleetScalingMetricType, location_name: "metricType"))
|
1218
|
+
TargetTrackingScalingConfiguration.add_member(:target_value, Shapes::ShapeRef.new(shape: WrapperDouble, location_name: "targetValue"))
|
1219
|
+
TargetTrackingScalingConfiguration.struct_class = Types::TargetTrackingScalingConfiguration
|
1220
|
+
|
1221
|
+
TargetTrackingScalingConfigurations.member = Shapes::ShapeRef.new(shape: TargetTrackingScalingConfiguration)
|
1222
|
+
|
1115
1223
|
TestCase.add_member(:report_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "reportArn"))
|
1116
1224
|
TestCase.add_member(:test_raw_data_path, Shapes::ShapeRef.new(shape: String, location_name: "testRawDataPath"))
|
1117
1225
|
TestCase.add_member(:prefix, Shapes::ShapeRef.new(shape: String, location_name: "prefix"))
|
@@ -1133,6 +1241,17 @@ module Aws::CodeBuild
|
|
1133
1241
|
TestReportSummary.add_member(:duration_in_nano_seconds, Shapes::ShapeRef.new(shape: WrapperLong, required: true, location_name: "durationInNanoSeconds"))
|
1134
1242
|
TestReportSummary.struct_class = Types::TestReportSummary
|
1135
1243
|
|
1244
|
+
UpdateFleetInput.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "arn"))
|
1245
|
+
UpdateFleetInput.add_member(:base_capacity, Shapes::ShapeRef.new(shape: FleetCapacity, location_name: "baseCapacity"))
|
1246
|
+
UpdateFleetInput.add_member(:environment_type, Shapes::ShapeRef.new(shape: EnvironmentType, location_name: "environmentType"))
|
1247
|
+
UpdateFleetInput.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "computeType"))
|
1248
|
+
UpdateFleetInput.add_member(:scaling_configuration, Shapes::ShapeRef.new(shape: ScalingConfigurationInput, location_name: "scalingConfiguration"))
|
1249
|
+
UpdateFleetInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1250
|
+
UpdateFleetInput.struct_class = Types::UpdateFleetInput
|
1251
|
+
|
1252
|
+
UpdateFleetOutput.add_member(:fleet, Shapes::ShapeRef.new(shape: Fleet, location_name: "fleet"))
|
1253
|
+
UpdateFleetOutput.struct_class = Types::UpdateFleetOutput
|
1254
|
+
|
1136
1255
|
UpdateProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "name"))
|
1137
1256
|
UpdateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
|
1138
1257
|
UpdateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, location_name: "source"))
|
@@ -1251,6 +1370,15 @@ module Aws::CodeBuild
|
|
1251
1370
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1252
1371
|
end)
|
1253
1372
|
|
1373
|
+
api.add_operation(:batch_get_fleets, Seahorse::Model::Operation.new.tap do |o|
|
1374
|
+
o.name = "BatchGetFleets"
|
1375
|
+
o.http_method = "POST"
|
1376
|
+
o.http_request_uri = "/"
|
1377
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetFleetsInput)
|
1378
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetFleetsOutput)
|
1379
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1380
|
+
end)
|
1381
|
+
|
1254
1382
|
api.add_operation(:batch_get_projects, Seahorse::Model::Operation.new.tap do |o|
|
1255
1383
|
o.name = "BatchGetProjects"
|
1256
1384
|
o.http_method = "POST"
|
@@ -1278,6 +1406,17 @@ module Aws::CodeBuild
|
|
1278
1406
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1279
1407
|
end)
|
1280
1408
|
|
1409
|
+
api.add_operation(:create_fleet, Seahorse::Model::Operation.new.tap do |o|
|
1410
|
+
o.name = "CreateFleet"
|
1411
|
+
o.http_method = "POST"
|
1412
|
+
o.http_request_uri = "/"
|
1413
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFleetInput)
|
1414
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFleetOutput)
|
1415
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1416
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
1417
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountLimitExceededException)
|
1418
|
+
end)
|
1419
|
+
|
1281
1420
|
api.add_operation(:create_project, Seahorse::Model::Operation.new.tap do |o|
|
1282
1421
|
o.name = "CreateProject"
|
1283
1422
|
o.http_method = "POST"
|
@@ -1321,6 +1460,15 @@ module Aws::CodeBuild
|
|
1321
1460
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1322
1461
|
end)
|
1323
1462
|
|
1463
|
+
api.add_operation(:delete_fleet, Seahorse::Model::Operation.new.tap do |o|
|
1464
|
+
o.name = "DeleteFleet"
|
1465
|
+
o.http_method = "POST"
|
1466
|
+
o.http_request_uri = "/"
|
1467
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFleetInput)
|
1468
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteFleetOutput)
|
1469
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1470
|
+
end)
|
1471
|
+
|
1324
1472
|
api.add_operation(:delete_project, Seahorse::Model::Operation.new.tap do |o|
|
1325
1473
|
o.name = "DeleteProject"
|
1326
1474
|
o.http_method = "POST"
|
@@ -1518,6 +1666,21 @@ module Aws::CodeBuild
|
|
1518
1666
|
o.output = Shapes::ShapeRef.new(shape: ListCuratedEnvironmentImagesOutput)
|
1519
1667
|
end)
|
1520
1668
|
|
1669
|
+
api.add_operation(:list_fleets, Seahorse::Model::Operation.new.tap do |o|
|
1670
|
+
o.name = "ListFleets"
|
1671
|
+
o.http_method = "POST"
|
1672
|
+
o.http_request_uri = "/"
|
1673
|
+
o.input = Shapes::ShapeRef.new(shape: ListFleetsInput)
|
1674
|
+
o.output = Shapes::ShapeRef.new(shape: ListFleetsOutput)
|
1675
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1676
|
+
o[:pager] = Aws::Pager.new(
|
1677
|
+
limit_key: "max_results",
|
1678
|
+
tokens: {
|
1679
|
+
"next_token" => "next_token"
|
1680
|
+
}
|
1681
|
+
)
|
1682
|
+
end)
|
1683
|
+
|
1521
1684
|
api.add_operation(:list_projects, Seahorse::Model::Operation.new.tap do |o|
|
1522
1685
|
o.name = "ListProjects"
|
1523
1686
|
o.http_method = "POST"
|
@@ -1689,6 +1852,17 @@ module Aws::CodeBuild
|
|
1689
1852
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1690
1853
|
end)
|
1691
1854
|
|
1855
|
+
api.add_operation(:update_fleet, Seahorse::Model::Operation.new.tap do |o|
|
1856
|
+
o.name = "UpdateFleet"
|
1857
|
+
o.http_method = "POST"
|
1858
|
+
o.http_request_uri = "/"
|
1859
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFleetInput)
|
1860
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateFleetOutput)
|
1861
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1862
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1863
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountLimitExceededException)
|
1864
|
+
end)
|
1865
|
+
|
1692
1866
|
api.add_operation(:update_project, Seahorse::Model::Operation.new.tap do |o|
|
1693
1867
|
o.name = "UpdateProject"
|
1694
1868
|
o.http_method = "POST"
|
@@ -54,6 +54,20 @@ module Aws::CodeBuild
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
class BatchGetFleets
|
58
|
+
def self.build(context)
|
59
|
+
unless context.config.regional_endpoint
|
60
|
+
endpoint = context.config.endpoint.to_s
|
61
|
+
end
|
62
|
+
Aws::CodeBuild::EndpointParameters.new(
|
63
|
+
region: context.config.region,
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
66
|
+
endpoint: endpoint,
|
67
|
+
)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
57
71
|
class BatchGetProjects
|
58
72
|
def self.build(context)
|
59
73
|
unless context.config.regional_endpoint
|
@@ -96,6 +110,20 @@ module Aws::CodeBuild
|
|
96
110
|
end
|
97
111
|
end
|
98
112
|
|
113
|
+
class CreateFleet
|
114
|
+
def self.build(context)
|
115
|
+
unless context.config.regional_endpoint
|
116
|
+
endpoint = context.config.endpoint.to_s
|
117
|
+
end
|
118
|
+
Aws::CodeBuild::EndpointParameters.new(
|
119
|
+
region: context.config.region,
|
120
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
endpoint: endpoint,
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
99
127
|
class CreateProject
|
100
128
|
def self.build(context)
|
101
129
|
unless context.config.regional_endpoint
|
@@ -152,6 +180,20 @@ module Aws::CodeBuild
|
|
152
180
|
end
|
153
181
|
end
|
154
182
|
|
183
|
+
class DeleteFleet
|
184
|
+
def self.build(context)
|
185
|
+
unless context.config.regional_endpoint
|
186
|
+
endpoint = context.config.endpoint.to_s
|
187
|
+
end
|
188
|
+
Aws::CodeBuild::EndpointParameters.new(
|
189
|
+
region: context.config.region,
|
190
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
191
|
+
use_fips: context.config.use_fips_endpoint,
|
192
|
+
endpoint: endpoint,
|
193
|
+
)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
155
197
|
class DeleteProject
|
156
198
|
def self.build(context)
|
157
199
|
unless context.config.regional_endpoint
|
@@ -390,6 +432,20 @@ module Aws::CodeBuild
|
|
390
432
|
end
|
391
433
|
end
|
392
434
|
|
435
|
+
class ListFleets
|
436
|
+
def self.build(context)
|
437
|
+
unless context.config.regional_endpoint
|
438
|
+
endpoint = context.config.endpoint.to_s
|
439
|
+
end
|
440
|
+
Aws::CodeBuild::EndpointParameters.new(
|
441
|
+
region: context.config.region,
|
442
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
443
|
+
use_fips: context.config.use_fips_endpoint,
|
444
|
+
endpoint: endpoint,
|
445
|
+
)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
393
449
|
class ListProjects
|
394
450
|
def self.build(context)
|
395
451
|
unless context.config.regional_endpoint
|
@@ -586,6 +642,20 @@ module Aws::CodeBuild
|
|
586
642
|
end
|
587
643
|
end
|
588
644
|
|
645
|
+
class UpdateFleet
|
646
|
+
def self.build(context)
|
647
|
+
unless context.config.regional_endpoint
|
648
|
+
endpoint = context.config.endpoint.to_s
|
649
|
+
end
|
650
|
+
Aws::CodeBuild::EndpointParameters.new(
|
651
|
+
region: context.config.region,
|
652
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
653
|
+
use_fips: context.config.use_fips_endpoint,
|
654
|
+
endpoint: endpoint,
|
655
|
+
)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
589
659
|
class UpdateProject
|
590
660
|
def self.build(context)
|
591
661
|
unless context.config.regional_endpoint
|
@@ -14,6 +14,7 @@ module Aws::CodeBuild
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::CodeBuild::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -63,12 +64,16 @@ module Aws::CodeBuild
|
|
63
64
|
Aws::CodeBuild::Endpoints::BatchGetBuildBatches.build(context)
|
64
65
|
when :batch_get_builds
|
65
66
|
Aws::CodeBuild::Endpoints::BatchGetBuilds.build(context)
|
67
|
+
when :batch_get_fleets
|
68
|
+
Aws::CodeBuild::Endpoints::BatchGetFleets.build(context)
|
66
69
|
when :batch_get_projects
|
67
70
|
Aws::CodeBuild::Endpoints::BatchGetProjects.build(context)
|
68
71
|
when :batch_get_report_groups
|
69
72
|
Aws::CodeBuild::Endpoints::BatchGetReportGroups.build(context)
|
70
73
|
when :batch_get_reports
|
71
74
|
Aws::CodeBuild::Endpoints::BatchGetReports.build(context)
|
75
|
+
when :create_fleet
|
76
|
+
Aws::CodeBuild::Endpoints::CreateFleet.build(context)
|
72
77
|
when :create_project
|
73
78
|
Aws::CodeBuild::Endpoints::CreateProject.build(context)
|
74
79
|
when :create_report_group
|
@@ -77,6 +82,8 @@ module Aws::CodeBuild
|
|
77
82
|
Aws::CodeBuild::Endpoints::CreateWebhook.build(context)
|
78
83
|
when :delete_build_batch
|
79
84
|
Aws::CodeBuild::Endpoints::DeleteBuildBatch.build(context)
|
85
|
+
when :delete_fleet
|
86
|
+
Aws::CodeBuild::Endpoints::DeleteFleet.build(context)
|
80
87
|
when :delete_project
|
81
88
|
Aws::CodeBuild::Endpoints::DeleteProject.build(context)
|
82
89
|
when :delete_report
|
@@ -111,6 +118,8 @@ module Aws::CodeBuild
|
|
111
118
|
Aws::CodeBuild::Endpoints::ListBuildsForProject.build(context)
|
112
119
|
when :list_curated_environment_images
|
113
120
|
Aws::CodeBuild::Endpoints::ListCuratedEnvironmentImages.build(context)
|
121
|
+
when :list_fleets
|
122
|
+
Aws::CodeBuild::Endpoints::ListFleets.build(context)
|
114
123
|
when :list_projects
|
115
124
|
Aws::CodeBuild::Endpoints::ListProjects.build(context)
|
116
125
|
when :list_report_groups
|
@@ -139,6 +148,8 @@ module Aws::CodeBuild
|
|
139
148
|
Aws::CodeBuild::Endpoints::StopBuild.build(context)
|
140
149
|
when :stop_build_batch
|
141
150
|
Aws::CodeBuild::Endpoints::StopBuildBatch.build(context)
|
151
|
+
when :update_fleet
|
152
|
+
Aws::CodeBuild::Endpoints::UpdateFleet.build(context)
|
142
153
|
when :update_project
|
143
154
|
Aws::CodeBuild::Endpoints::UpdateProject.build(context)
|
144
155
|
when :update_project_visibility
|