aws-sdk-codebuild 1.17.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02f7d05764811fcf98192a57c1032ea7d8d61e5d
4
- data.tar.gz: e283ea5c2690977b663754d03646a38054a97c43
3
+ metadata.gz: 1788a131c457b1619c1fa892104dad774841305b
4
+ data.tar.gz: be1bc20b2cc10a52cb6e04bda81d8945c1ab548c
5
5
  SHA512:
6
- metadata.gz: 92661a6fe633148a3588608a8e1647cf5c92dacb794531c75a714c30ed947996e0e6a86cf76a4080c74908bdf3516ca232683d8cced1659be11608d9a96e39e5
7
- data.tar.gz: 05e33b63417a8479ad485ad2fefd109bb208d2e0b8b0d99328ed0f48c964a2559e1206da61e58ddcc1d3b1b8353a80f21e6f78e938721fcd21120cd0f717281f
6
+ metadata.gz: 0533a268c384be16f76e2469fd76a9913a8fb8275a18a695aaa38cbfe2f3b08666dd755a1e5b08fed34e4bc821bd391512bbaf17be171581b573515d0b20d85f
7
+ data.tar.gz: 5ddccfeaa6358aec029337295ac58ffdb2e8cec09805debdd2f5e96c4a2cf8489dbf2e828b88711e01bfcffbcb5d6d5157cda0256f72993cb1f06643d68e111c
@@ -558,6 +558,12 @@ module Aws::CodeBuild
558
558
  # resp.builds[0].logs.group_name #=> String
559
559
  # resp.builds[0].logs.stream_name #=> String
560
560
  # resp.builds[0].logs.deep_link #=> String
561
+ # resp.builds[0].logs.s3_deep_link #=> String
562
+ # resp.builds[0].logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
563
+ # resp.builds[0].logs.cloud_watch_logs.group_name #=> String
564
+ # resp.builds[0].logs.cloud_watch_logs.stream_name #=> String
565
+ # resp.builds[0].logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
566
+ # resp.builds[0].logs.s3_logs.location #=> String
561
567
  # resp.builds[0].timeout_in_minutes #=> Integer
562
568
  # resp.builds[0].build_complete #=> Boolean
563
569
  # resp.builds[0].initiator #=> String
@@ -672,6 +678,11 @@ module Aws::CodeBuild
672
678
  # resp.projects[0].vpc_config.security_group_ids[0] #=> String
673
679
  # resp.projects[0].badge.badge_enabled #=> Boolean
674
680
  # resp.projects[0].badge.badge_request_url #=> String
681
+ # resp.projects[0].logs_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
682
+ # resp.projects[0].logs_config.cloud_watch_logs.group_name #=> String
683
+ # resp.projects[0].logs_config.cloud_watch_logs.stream_name #=> String
684
+ # resp.projects[0].logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
685
+ # resp.projects[0].logs_config.s3_logs.location #=> String
675
686
  # resp.projects_not_found #=> Array
676
687
  # resp.projects_not_found[0] #=> String
677
688
  #
@@ -741,6 +752,10 @@ module Aws::CodeBuild
741
752
  # Set this to true to generate a publicly-accessible URL for your
742
753
  # project's build badge.
743
754
  #
755
+ # @option params [Types::LogsConfig] :logs_config
756
+ # Information about logs for the build project. Logs can be Amazon
757
+ # CloudWatch Logs, uploaded to a specified S3 bucket, or both.
758
+ #
744
759
  # @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
745
760
  #
746
761
  # * {Types::CreateProjectOutput#project #project} => Types::Project
@@ -835,6 +850,17 @@ module Aws::CodeBuild
835
850
  # security_group_ids: ["NonEmptyString"],
836
851
  # },
837
852
  # badge_enabled: false,
853
+ # logs_config: {
854
+ # cloud_watch_logs: {
855
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
856
+ # group_name: "String",
857
+ # stream_name: "String",
858
+ # },
859
+ # s3_logs: {
860
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
861
+ # location: "String",
862
+ # },
863
+ # },
838
864
  # })
839
865
  #
840
866
  # @example Response structure
@@ -911,6 +937,11 @@ module Aws::CodeBuild
911
937
  # resp.project.vpc_config.security_group_ids[0] #=> String
912
938
  # resp.project.badge.badge_enabled #=> Boolean
913
939
  # resp.project.badge.badge_request_url #=> String
940
+ # resp.project.logs_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
941
+ # resp.project.logs_config.cloud_watch_logs.group_name #=> String
942
+ # resp.project.logs_config.cloud_watch_logs.stream_name #=> String
943
+ # resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
944
+ # resp.project.logs_config.s3_logs.location #=> String
914
945
  #
915
946
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject AWS API Documentation
916
947
  #
@@ -1286,7 +1317,7 @@ module Aws::CodeBuild
1286
1317
  #
1287
1318
  # @option params [String] :source_type_override
1288
1319
  # A source input type for this build that overrides the source input
1289
- # defined in the build project
1320
+ # defined in the build project.
1290
1321
  #
1291
1322
  # @option params [String] :source_location_override
1292
1323
  # A location that overrides for this build the source location for the
@@ -1357,6 +1388,10 @@ module Aws::CodeBuild
1357
1388
  # StartBuild request with the same token, but change a parameter, AWS
1358
1389
  # CodeBuild returns a parameter mismatch error.
1359
1390
  #
1391
+ # @option params [Types::LogsConfig] :logs_config_override
1392
+ # Log settings for this build that override the log settings defined in
1393
+ # the build project.
1394
+ #
1360
1395
  # @return [Types::StartBuildOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1361
1396
  #
1362
1397
  # * {Types::StartBuildOutput#build #build} => Types::Build
@@ -1440,6 +1475,17 @@ module Aws::CodeBuild
1440
1475
  # privileged_mode_override: false,
1441
1476
  # timeout_in_minutes_override: 1,
1442
1477
  # idempotency_token: "String",
1478
+ # logs_config_override: {
1479
+ # cloud_watch_logs: {
1480
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1481
+ # group_name: "String",
1482
+ # stream_name: "String",
1483
+ # },
1484
+ # s3_logs: {
1485
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1486
+ # location: "String",
1487
+ # },
1488
+ # },
1443
1489
  # })
1444
1490
  #
1445
1491
  # @example Response structure
@@ -1511,6 +1557,12 @@ module Aws::CodeBuild
1511
1557
  # resp.build.logs.group_name #=> String
1512
1558
  # resp.build.logs.stream_name #=> String
1513
1559
  # resp.build.logs.deep_link #=> String
1560
+ # resp.build.logs.s3_deep_link #=> String
1561
+ # resp.build.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
1562
+ # resp.build.logs.cloud_watch_logs.group_name #=> String
1563
+ # resp.build.logs.cloud_watch_logs.stream_name #=> String
1564
+ # resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1565
+ # resp.build.logs.s3_logs.location #=> String
1514
1566
  # resp.build.timeout_in_minutes #=> Integer
1515
1567
  # resp.build.build_complete #=> Boolean
1516
1568
  # resp.build.initiator #=> String
@@ -1616,6 +1668,12 @@ module Aws::CodeBuild
1616
1668
  # resp.build.logs.group_name #=> String
1617
1669
  # resp.build.logs.stream_name #=> String
1618
1670
  # resp.build.logs.deep_link #=> String
1671
+ # resp.build.logs.s3_deep_link #=> String
1672
+ # resp.build.logs.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
1673
+ # resp.build.logs.cloud_watch_logs.group_name #=> String
1674
+ # resp.build.logs.cloud_watch_logs.stream_name #=> String
1675
+ # resp.build.logs.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1676
+ # resp.build.logs.s3_logs.location #=> String
1619
1677
  # resp.build.timeout_in_minutes #=> Integer
1620
1678
  # resp.build.build_complete #=> Boolean
1621
1679
  # resp.build.initiator #=> String
@@ -1701,6 +1759,10 @@ module Aws::CodeBuild
1701
1759
  # Set this to true to generate a publicly-accessible URL for your
1702
1760
  # project's build badge.
1703
1761
  #
1762
+ # @option params [Types::LogsConfig] :logs_config
1763
+ # Information about logs for the build project. A project can create
1764
+ # Amazon CloudWatch Logs, logs in an S3 bucket, or both.
1765
+ #
1704
1766
  # @return [Types::UpdateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1705
1767
  #
1706
1768
  # * {Types::UpdateProjectOutput#project #project} => Types::Project
@@ -1795,6 +1857,17 @@ module Aws::CodeBuild
1795
1857
  # security_group_ids: ["NonEmptyString"],
1796
1858
  # },
1797
1859
  # badge_enabled: false,
1860
+ # logs_config: {
1861
+ # cloud_watch_logs: {
1862
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1863
+ # group_name: "String",
1864
+ # stream_name: "String",
1865
+ # },
1866
+ # s3_logs: {
1867
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1868
+ # location: "String",
1869
+ # },
1870
+ # },
1798
1871
  # })
1799
1872
  #
1800
1873
  # @example Response structure
@@ -1871,6 +1944,11 @@ module Aws::CodeBuild
1871
1944
  # resp.project.vpc_config.security_group_ids[0] #=> String
1872
1945
  # resp.project.badge.badge_enabled #=> Boolean
1873
1946
  # resp.project.badge.badge_request_url #=> String
1947
+ # resp.project.logs_config.cloud_watch_logs.status #=> String, one of "ENABLED", "DISABLED"
1948
+ # resp.project.logs_config.cloud_watch_logs.group_name #=> String
1949
+ # resp.project.logs_config.cloud_watch_logs.stream_name #=> String
1950
+ # resp.project.logs_config.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1951
+ # resp.project.logs_config.s3_logs.location #=> String
1874
1952
  #
1875
1953
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject AWS API Documentation
1876
1954
  #
@@ -1938,7 +2016,7 @@ module Aws::CodeBuild
1938
2016
  params: params,
1939
2017
  config: config)
1940
2018
  context[:gem_name] = 'aws-sdk-codebuild'
1941
- context[:gem_version] = '1.17.0'
2019
+ context[:gem_version] = '1.18.0'
1942
2020
  Seahorse::Client::Request.new(handlers, context)
1943
2021
  end
1944
2022
 
@@ -33,6 +33,7 @@ module Aws::CodeBuild
33
33
  Builds = Shapes::ListShape.new(name: 'Builds')
34
34
  BuildsNotDeleted = Shapes::ListShape.new(name: 'BuildsNotDeleted')
35
35
  CacheType = Shapes::StringShape.new(name: 'CacheType')
36
+ CloudWatchLogsConfig = Shapes::StructureShape.new(name: 'CloudWatchLogsConfig')
36
37
  ComputeType = Shapes::StringShape.new(name: 'ComputeType')
37
38
  CreateProjectInput = Shapes::StructureShape.new(name: 'CreateProjectInput')
38
39
  CreateProjectOutput = Shapes::StructureShape.new(name: 'CreateProjectOutput')
@@ -67,6 +68,8 @@ module Aws::CodeBuild
67
68
  ListCuratedEnvironmentImagesOutput = Shapes::StructureShape.new(name: 'ListCuratedEnvironmentImagesOutput')
68
69
  ListProjectsInput = Shapes::StructureShape.new(name: 'ListProjectsInput')
69
70
  ListProjectsOutput = Shapes::StructureShape.new(name: 'ListProjectsOutput')
71
+ LogsConfig = Shapes::StructureShape.new(name: 'LogsConfig')
72
+ LogsConfigStatusType = Shapes::StringShape.new(name: 'LogsConfigStatusType')
70
73
  LogsLocation = Shapes::StructureShape.new(name: 'LogsLocation')
71
74
  NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
72
75
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
@@ -91,6 +94,7 @@ module Aws::CodeBuild
91
94
  Projects = Shapes::ListShape.new(name: 'Projects')
92
95
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
93
96
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
97
+ S3LogsConfig = Shapes::StructureShape.new(name: 'S3LogsConfig')
94
98
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
95
99
  SortOrderType = Shapes::StringShape.new(name: 'SortOrderType')
96
100
  SourceAuth = Shapes::StructureShape.new(name: 'SourceAuth')
@@ -195,6 +199,11 @@ module Aws::CodeBuild
195
199
 
196
200
  BuildsNotDeleted.member = Shapes::ShapeRef.new(shape: BuildNotDeleted)
197
201
 
202
+ CloudWatchLogsConfig.add_member(:status, Shapes::ShapeRef.new(shape: LogsConfigStatusType, required: true, location_name: "status"))
203
+ CloudWatchLogsConfig.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
204
+ CloudWatchLogsConfig.add_member(:stream_name, Shapes::ShapeRef.new(shape: String, location_name: "streamName"))
205
+ CloudWatchLogsConfig.struct_class = Types::CloudWatchLogsConfig
206
+
198
207
  CreateProjectInput.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
199
208
  CreateProjectInput.add_member(:description, Shapes::ShapeRef.new(shape: ProjectDescription, location_name: "description"))
200
209
  CreateProjectInput.add_member(:source, Shapes::ShapeRef.new(shape: ProjectSource, required: true, location_name: "source"))
@@ -209,6 +218,7 @@ module Aws::CodeBuild
209
218
  CreateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
210
219
  CreateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
211
220
  CreateProjectInput.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "badgeEnabled"))
221
+ CreateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
212
222
  CreateProjectInput.struct_class = Types::CreateProjectInput
213
223
 
214
224
  CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -295,9 +305,16 @@ module Aws::CodeBuild
295
305
  ListProjectsOutput.add_member(:projects, Shapes::ShapeRef.new(shape: ProjectNames, location_name: "projects"))
296
306
  ListProjectsOutput.struct_class = Types::ListProjectsOutput
297
307
 
308
+ LogsConfig.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsConfig, location_name: "cloudWatchLogs"))
309
+ LogsConfig.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3LogsConfig, location_name: "s3Logs"))
310
+ LogsConfig.struct_class = Types::LogsConfig
311
+
298
312
  LogsLocation.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
299
313
  LogsLocation.add_member(:stream_name, Shapes::ShapeRef.new(shape: String, location_name: "streamName"))
300
314
  LogsLocation.add_member(:deep_link, Shapes::ShapeRef.new(shape: String, location_name: "deepLink"))
315
+ LogsLocation.add_member(:s3_deep_link, Shapes::ShapeRef.new(shape: String, location_name: "s3DeepLink"))
316
+ LogsLocation.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsConfig, location_name: "cloudWatchLogs"))
317
+ LogsLocation.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3LogsConfig, location_name: "s3Logs"))
301
318
  LogsLocation.struct_class = Types::LogsLocation
302
319
 
303
320
  NetworkInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "subnetId"))
@@ -328,6 +345,7 @@ module Aws::CodeBuild
328
345
  Project.add_member(:webhook, Shapes::ShapeRef.new(shape: Webhook, location_name: "webhook"))
329
346
  Project.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
330
347
  Project.add_member(:badge, Shapes::ShapeRef.new(shape: ProjectBadge, location_name: "badge"))
348
+ Project.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
331
349
  Project.struct_class = Types::Project
332
350
 
333
351
  ProjectArtifacts.add_member(:type, Shapes::ShapeRef.new(shape: ArtifactsType, required: true, location_name: "type"))
@@ -381,6 +399,10 @@ module Aws::CodeBuild
381
399
 
382
400
  Projects.member = Shapes::ShapeRef.new(shape: Project)
383
401
 
402
+ S3LogsConfig.add_member(:status, Shapes::ShapeRef.new(shape: LogsConfigStatusType, required: true, location_name: "status"))
403
+ S3LogsConfig.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
404
+ S3LogsConfig.struct_class = Types::S3LogsConfig
405
+
384
406
  SecurityGroupIds.member = Shapes::ShapeRef.new(shape: NonEmptyString)
385
407
 
386
408
  SourceAuth.add_member(:type, Shapes::ShapeRef.new(shape: SourceAuthType, required: true, location_name: "type"))
@@ -410,6 +432,7 @@ module Aws::CodeBuild
410
432
  StartBuildInput.add_member(:privileged_mode_override, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "privilegedModeOverride"))
411
433
  StartBuildInput.add_member(:timeout_in_minutes_override, Shapes::ShapeRef.new(shape: TimeOut, location_name: "timeoutInMinutesOverride"))
412
434
  StartBuildInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "idempotencyToken"))
435
+ StartBuildInput.add_member(:logs_config_override, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfigOverride"))
413
436
  StartBuildInput.struct_class = Types::StartBuildInput
414
437
 
415
438
  StartBuildOutput.add_member(:build, Shapes::ShapeRef.new(shape: Build, location_name: "build"))
@@ -443,6 +466,7 @@ module Aws::CodeBuild
443
466
  UpdateProjectInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
444
467
  UpdateProjectInput.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
445
468
  UpdateProjectInput.add_member(:badge_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "badgeEnabled"))
469
+ UpdateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
446
470
  UpdateProjectInput.struct_class = Types::UpdateProjectInput
447
471
 
448
472
  UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -448,6 +448,55 @@ module Aws::CodeBuild
448
448
  include Aws::Structure
449
449
  end
450
450
 
451
+ # Information about Amazon CloudWatch Logs for a build project.
452
+ #
453
+ # @note When making an API call, you may pass CloudWatchLogsConfig
454
+ # data as a hash:
455
+ #
456
+ # {
457
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
458
+ # group_name: "String",
459
+ # stream_name: "String",
460
+ # }
461
+ #
462
+ # @!attribute [rw] status
463
+ # The current status of the Amazon CloudWatch Logs for a build
464
+ # project. Valid values are:
465
+ #
466
+ # * `ENABLED`\: Amazon CloudWatch Logs are enabled for this build
467
+ # project.
468
+ #
469
+ # * `DISABLED`\: Amazon CloudWatch Logs are not enabled for this build
470
+ # project.
471
+ # @return [String]
472
+ #
473
+ # @!attribute [rw] group_name
474
+ # The group name of the Amazon CloudWatch Logs. For more information,
475
+ # see [Working with Log Groups and Log Streams][1]
476
+ #
477
+ #
478
+ #
479
+ # [1]: http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html
480
+ # @return [String]
481
+ #
482
+ # @!attribute [rw] stream_name
483
+ # The prefix of the stream name of the Amazon CloudWatch Logs. For
484
+ # more information, see [Working with Log Groups and Log Streams][1]
485
+ #
486
+ #
487
+ #
488
+ # [1]: http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html
489
+ # @return [String]
490
+ #
491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CloudWatchLogsConfig AWS API Documentation
492
+ #
493
+ class CloudWatchLogsConfig < Struct.new(
494
+ :status,
495
+ :group_name,
496
+ :stream_name)
497
+ include Aws::Structure
498
+ end
499
+
451
500
  # @note When making an API call, you may pass CreateProjectInput
452
501
  # data as a hash:
453
502
  #
@@ -539,6 +588,17 @@ module Aws::CodeBuild
539
588
  # security_group_ids: ["NonEmptyString"],
540
589
  # },
541
590
  # badge_enabled: false,
591
+ # logs_config: {
592
+ # cloud_watch_logs: {
593
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
594
+ # group_name: "String",
595
+ # stream_name: "String",
596
+ # },
597
+ # s3_logs: {
598
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
599
+ # location: "String",
600
+ # },
601
+ # },
542
602
  # }
543
603
  #
544
604
  # @!attribute [rw] name
@@ -611,6 +671,11 @@ module Aws::CodeBuild
611
671
  # project's build badge.
612
672
  # @return [Boolean]
613
673
  #
674
+ # @!attribute [rw] logs_config
675
+ # Information about logs for the build project. Logs can be Amazon
676
+ # CloudWatch Logs, uploaded to a specified S3 bucket, or both.
677
+ # @return [Types::LogsConfig]
678
+ #
614
679
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput AWS API Documentation
615
680
  #
616
681
  class CreateProjectInput < Struct.new(
@@ -627,7 +692,8 @@ module Aws::CodeBuild
627
692
  :encryption_key,
628
693
  :tags,
629
694
  :vpc_config,
630
- :badge_enabled)
695
+ :badge_enabled,
696
+ :logs_config)
631
697
  include Aws::Structure
632
698
  end
633
699
 
@@ -1063,6 +1129,42 @@ module Aws::CodeBuild
1063
1129
  include Aws::Structure
1064
1130
  end
1065
1131
 
1132
+ # Information about logs for a build project. Logs can be Amazon
1133
+ # CloudWatch Logs, built in a specified S3 bucket, or both.
1134
+ #
1135
+ # @note When making an API call, you may pass LogsConfig
1136
+ # data as a hash:
1137
+ #
1138
+ # {
1139
+ # cloud_watch_logs: {
1140
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1141
+ # group_name: "String",
1142
+ # stream_name: "String",
1143
+ # },
1144
+ # s3_logs: {
1145
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1146
+ # location: "String",
1147
+ # },
1148
+ # }
1149
+ #
1150
+ # @!attribute [rw] cloud_watch_logs
1151
+ # Information about Amazon CloudWatch Logs for a build project. Amazon
1152
+ # CloudWatch Logs are enabled by default.
1153
+ # @return [Types::CloudWatchLogsConfig]
1154
+ #
1155
+ # @!attribute [rw] s3_logs
1156
+ # Information about logs built to an S3 bucket for a build project. S3
1157
+ # logs are not enabled by default.
1158
+ # @return [Types::S3LogsConfig]
1159
+ #
1160
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/LogsConfig AWS API Documentation
1161
+ #
1162
+ class LogsConfig < Struct.new(
1163
+ :cloud_watch_logs,
1164
+ :s3_logs)
1165
+ include Aws::Structure
1166
+ end
1167
+
1066
1168
  # Information about build logs in Amazon CloudWatch Logs.
1067
1169
  #
1068
1170
  # @!attribute [rw] group_name
@@ -1077,12 +1179,27 @@ module Aws::CodeBuild
1077
1179
  # The URL to an individual build log in Amazon CloudWatch Logs.
1078
1180
  # @return [String]
1079
1181
  #
1182
+ # @!attribute [rw] s3_deep_link
1183
+ # The URL to an individual build log in an S3 bucket.
1184
+ # @return [String]
1185
+ #
1186
+ # @!attribute [rw] cloud_watch_logs
1187
+ # Information about Amazon CloudWatch Logs for a build project.
1188
+ # @return [Types::CloudWatchLogsConfig]
1189
+ #
1190
+ # @!attribute [rw] s3_logs
1191
+ # Information about S3 logs for a build project.
1192
+ # @return [Types::S3LogsConfig]
1193
+ #
1080
1194
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/LogsLocation AWS API Documentation
1081
1195
  #
1082
1196
  class LogsLocation < Struct.new(
1083
1197
  :group_name,
1084
1198
  :stream_name,
1085
- :deep_link)
1199
+ :deep_link,
1200
+ :s3_deep_link,
1201
+ :cloud_watch_logs,
1202
+ :s3_logs)
1086
1203
  include Aws::Structure
1087
1204
  end
1088
1205
 
@@ -1214,6 +1331,11 @@ module Aws::CodeBuild
1214
1331
  # Information about the build badge for the build project.
1215
1332
  # @return [Types::ProjectBadge]
1216
1333
  #
1334
+ # @!attribute [rw] logs_config
1335
+ # Information about logs for the build project. A project can create
1336
+ # Amazon CloudWatch Logs, logs in an S3 bucket, or both.
1337
+ # @return [Types::LogsConfig]
1338
+ #
1217
1339
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
1218
1340
  #
1219
1341
  class Project < Struct.new(
@@ -1234,7 +1356,8 @@ module Aws::CodeBuild
1234
1356
  :last_modified,
1235
1357
  :webhook,
1236
1358
  :vpc_config,
1237
- :badge)
1359
+ :badge,
1360
+ :logs_config)
1238
1361
  include Aws::Structure
1239
1362
  end
1240
1363
 
@@ -1589,6 +1712,8 @@ module Aws::CodeBuild
1589
1712
  #
1590
1713
  # * `GITHUB`\: The source code is in a GitHub repository.
1591
1714
  #
1715
+ # * `NO_SOURCE`\: The project does not have input source code.
1716
+ #
1592
1717
  # * `S3`\: The source code is in an Amazon Simple Storage Service
1593
1718
  # (Amazon S3) input bucket.
1594
1719
  # @return [String]
@@ -1737,6 +1862,39 @@ module Aws::CodeBuild
1737
1862
  include Aws::Structure
1738
1863
  end
1739
1864
 
1865
+ # Information about S3 logs for a build project.
1866
+ #
1867
+ # @note When making an API call, you may pass S3LogsConfig
1868
+ # data as a hash:
1869
+ #
1870
+ # {
1871
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
1872
+ # location: "String",
1873
+ # }
1874
+ #
1875
+ # @!attribute [rw] status
1876
+ # The current status of the S3 build logs. Valid values are:
1877
+ #
1878
+ # * `ENABLED`\: S3 build logs are enabled for this build project.
1879
+ #
1880
+ # * `DISABLED`\: S3 build logs are not enabled for this build project.
1881
+ # @return [String]
1882
+ #
1883
+ # @!attribute [rw] location
1884
+ # The ARN of an S3 bucket and the path prefix for S3 logs. If your
1885
+ # Amazon S3 bucket name is `my-bucket`, and your path prefix is
1886
+ # `build-log`, then acceptable formats are `my-bucket/build-log` or
1887
+ # `aws:s3:::my-bucket/build-log`.
1888
+ # @return [String]
1889
+ #
1890
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/S3LogsConfig AWS API Documentation
1891
+ #
1892
+ class S3LogsConfig < Struct.new(
1893
+ :status,
1894
+ :location)
1895
+ include Aws::Structure
1896
+ end
1897
+
1740
1898
  # Information about the authorization settings for AWS CodeBuild to
1741
1899
  # access the source code to be built.
1742
1900
  #
@@ -1849,6 +2007,17 @@ module Aws::CodeBuild
1849
2007
  # privileged_mode_override: false,
1850
2008
  # timeout_in_minutes_override: 1,
1851
2009
  # idempotency_token: "String",
2010
+ # logs_config_override: {
2011
+ # cloud_watch_logs: {
2012
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
2013
+ # group_name: "String",
2014
+ # stream_name: "String",
2015
+ # },
2016
+ # s3_logs: {
2017
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
2018
+ # location: "String",
2019
+ # },
2020
+ # },
1852
2021
  # }
1853
2022
  #
1854
2023
  # @!attribute [rw] project_name
@@ -1906,7 +2075,7 @@ module Aws::CodeBuild
1906
2075
  #
1907
2076
  # @!attribute [rw] source_type_override
1908
2077
  # A source input type for this build that overrides the source input
1909
- # defined in the build project
2078
+ # defined in the build project.
1910
2079
  # @return [String]
1911
2080
  #
1912
2081
  # @!attribute [rw] source_location_override
@@ -1993,6 +2162,11 @@ module Aws::CodeBuild
1993
2162
  # CodeBuild returns a parameter mismatch error.
1994
2163
  # @return [String]
1995
2164
  #
2165
+ # @!attribute [rw] logs_config_override
2166
+ # Log settings for this build that override the log settings defined
2167
+ # in the build project.
2168
+ # @return [Types::LogsConfig]
2169
+ #
1996
2170
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildInput AWS API Documentation
1997
2171
  #
1998
2172
  class StartBuildInput < Struct.new(
@@ -2018,7 +2192,8 @@ module Aws::CodeBuild
2018
2192
  :service_role_override,
2019
2193
  :privileged_mode_override,
2020
2194
  :timeout_in_minutes_override,
2021
- :idempotency_token)
2195
+ :idempotency_token,
2196
+ :logs_config_override)
2022
2197
  include Aws::Structure
2023
2198
  end
2024
2199
 
@@ -2182,6 +2357,17 @@ module Aws::CodeBuild
2182
2357
  # security_group_ids: ["NonEmptyString"],
2183
2358
  # },
2184
2359
  # badge_enabled: false,
2360
+ # logs_config: {
2361
+ # cloud_watch_logs: {
2362
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
2363
+ # group_name: "String",
2364
+ # stream_name: "String",
2365
+ # },
2366
+ # s3_logs: {
2367
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
2368
+ # location: "String",
2369
+ # },
2370
+ # },
2185
2371
  # }
2186
2372
  #
2187
2373
  # @!attribute [rw] name
@@ -2261,6 +2447,11 @@ module Aws::CodeBuild
2261
2447
  # project's build badge.
2262
2448
  # @return [Boolean]
2263
2449
  #
2450
+ # @!attribute [rw] logs_config
2451
+ # Information about logs for the build project. A project can create
2452
+ # Amazon CloudWatch Logs, logs in an S3 bucket, or both.
2453
+ # @return [Types::LogsConfig]
2454
+ #
2264
2455
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput AWS API Documentation
2265
2456
  #
2266
2457
  class UpdateProjectInput < Struct.new(
@@ -2277,7 +2468,8 @@ module Aws::CodeBuild
2277
2468
  :encryption_key,
2278
2469
  :tags,
2279
2470
  :vpc_config,
2280
- :badge_enabled)
2471
+ :badge_enabled,
2472
+ :logs_config)
2281
2473
  include Aws::Structure
2282
2474
  end
2283
2475
 
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-codebuild/customizations'
42
42
  # @service
43
43
  module Aws::CodeBuild
44
44
 
45
- GEM_VERSION = '1.17.0'
45
+ GEM_VERSION = '1.18.0'
46
46
 
47
47
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codebuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core