aws-sdk-codebuild 1.67.0 → 1.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -32,6 +32,7 @@ module Aws::CodeBuild
32
32
  BatchGetReportsOutput = Shapes::StructureShape.new(name: 'BatchGetReportsOutput')
33
33
  BatchRestrictions = Shapes::StructureShape.new(name: 'BatchRestrictions')
34
34
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
35
+ BucketOwnerAccess = Shapes::StringShape.new(name: 'BucketOwnerAccess')
35
36
  Build = Shapes::StructureShape.new(name: 'Build')
36
37
  BuildArtifacts = Shapes::StructureShape.new(name: 'BuildArtifacts')
37
38
  BuildArtifactsList = Shapes::ListShape.new(name: 'BuildArtifactsList')
@@ -344,6 +345,7 @@ module Aws::CodeBuild
344
345
  BuildArtifacts.add_member(:override_artifact_name, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "overrideArtifactName"))
345
346
  BuildArtifacts.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
346
347
  BuildArtifacts.add_member(:artifact_identifier, Shapes::ShapeRef.new(shape: String, location_name: "artifactIdentifier"))
348
+ BuildArtifacts.add_member(:bucket_owner_access, Shapes::ShapeRef.new(shape: BucketOwnerAccess, location_name: "bucketOwnerAccess"))
347
349
  BuildArtifacts.struct_class = Types::BuildArtifacts
348
350
 
349
351
  BuildArtifactsList.member = Shapes::ShapeRef.new(shape: BuildArtifacts)
@@ -377,6 +379,7 @@ module Aws::CodeBuild
377
379
  BuildBatch.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
378
380
  BuildBatch.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
379
381
  BuildBatch.add_member(:build_groups, Shapes::ShapeRef.new(shape: BuildGroups, location_name: "buildGroups"))
382
+ BuildBatch.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
380
383
  BuildBatch.struct_class = Types::BuildBatch
381
384
 
382
385
  BuildBatchFilter.add_member(:status, Shapes::ShapeRef.new(shape: StatusType, location_name: "status"))
@@ -489,6 +492,7 @@ module Aws::CodeBuild
489
492
  CreateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
490
493
  CreateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
491
494
  CreateProjectInput.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
495
+ CreateProjectInput.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
492
496
  CreateProjectInput.struct_class = Types::CreateProjectInput
493
497
 
494
498
  CreateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -812,6 +816,7 @@ module Aws::CodeBuild
812
816
  Project.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
813
817
  Project.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
814
818
  Project.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
819
+ Project.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
815
820
  Project.struct_class = Types::Project
816
821
 
817
822
  ProjectArns.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -825,6 +830,7 @@ module Aws::CodeBuild
825
830
  ProjectArtifacts.add_member(:override_artifact_name, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "overrideArtifactName"))
826
831
  ProjectArtifacts.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
827
832
  ProjectArtifacts.add_member(:artifact_identifier, Shapes::ShapeRef.new(shape: String, location_name: "artifactIdentifier"))
833
+ ProjectArtifacts.add_member(:bucket_owner_access, Shapes::ShapeRef.new(shape: BucketOwnerAccess, location_name: "bucketOwnerAccess"))
828
834
  ProjectArtifacts.struct_class = Types::ProjectArtifacts
829
835
 
830
836
  ProjectArtifactsList.member = Shapes::ShapeRef.new(shape: ProjectArtifacts)
@@ -982,9 +988,11 @@ module Aws::CodeBuild
982
988
  S3LogsConfig.add_member(:status, Shapes::ShapeRef.new(shape: LogsConfigStatusType, required: true, location_name: "status"))
983
989
  S3LogsConfig.add_member(:location, Shapes::ShapeRef.new(shape: String, location_name: "location"))
984
990
  S3LogsConfig.add_member(:encryption_disabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "encryptionDisabled"))
991
+ S3LogsConfig.add_member(:bucket_owner_access, Shapes::ShapeRef.new(shape: BucketOwnerAccess, location_name: "bucketOwnerAccess"))
985
992
  S3LogsConfig.struct_class = Types::S3LogsConfig
986
993
 
987
994
  S3ReportExportConfig.add_member(:bucket, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bucket"))
995
+ S3ReportExportConfig.add_member(:bucket_owner, Shapes::ShapeRef.new(shape: String, location_name: "bucketOwner"))
988
996
  S3ReportExportConfig.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
989
997
  S3ReportExportConfig.add_member(:packaging, Shapes::ShapeRef.new(shape: ReportPackagingType, location_name: "packaging"))
990
998
  S3ReportExportConfig.add_member(:encryption_key, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "encryptionKey"))
@@ -1034,6 +1042,7 @@ module Aws::CodeBuild
1034
1042
  StartBuildBatchInput.add_member(:registry_credential_override, Shapes::ShapeRef.new(shape: RegistryCredential, location_name: "registryCredentialOverride"))
1035
1043
  StartBuildBatchInput.add_member(:image_pull_credentials_type_override, Shapes::ShapeRef.new(shape: ImagePullCredentialsType, location_name: "imagePullCredentialsTypeOverride"))
1036
1044
  StartBuildBatchInput.add_member(:build_batch_config_override, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfigOverride"))
1045
+ StartBuildBatchInput.add_member(:debug_session_enabled, Shapes::ShapeRef.new(shape: WrapperBoolean, location_name: "debugSessionEnabled"))
1037
1046
  StartBuildBatchInput.struct_class = Types::StartBuildBatchInput
1038
1047
 
1039
1048
  StartBuildBatchOutput.add_member(:build_batch, Shapes::ShapeRef.new(shape: BuildBatch, location_name: "buildBatch"))
@@ -1136,6 +1145,7 @@ module Aws::CodeBuild
1136
1145
  UpdateProjectInput.add_member(:logs_config, Shapes::ShapeRef.new(shape: LogsConfig, location_name: "logsConfig"))
1137
1146
  UpdateProjectInput.add_member(:file_system_locations, Shapes::ShapeRef.new(shape: ProjectFileSystemLocations, location_name: "fileSystemLocations"))
1138
1147
  UpdateProjectInput.add_member(:build_batch_config, Shapes::ShapeRef.new(shape: ProjectBuildBatchConfig, location_name: "buildBatchConfig"))
1148
+ UpdateProjectInput.add_member(:concurrent_build_limit, Shapes::ShapeRef.new(shape: WrapperInt, location_name: "concurrentBuildLimit"))
1139
1149
  UpdateProjectInput.struct_class = Types::UpdateProjectInput
1140
1150
 
1141
1151
  UpdateProjectOutput.add_member(:project, Shapes::ShapeRef.new(shape: Project, location_name: "project"))
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -340,8 +340,7 @@ module Aws::CodeBuild
340
340
  # * For AWS CodePipeline, the source revision provided by AWS
341
341
  # CodePipeline.
342
342
  #
343
- # * For Amazon Simple Storage Service (Amazon S3), this does not
344
- # apply.
343
+ # * For Amazon S3, this does not apply.
345
344
  # @return [String]
346
345
  #
347
346
  # @!attribute [rw] project_name
@@ -380,8 +379,8 @@ module Aws::CodeBuild
380
379
  # used. If not specified, the default branch's HEAD commit ID is
381
380
  # used.
382
381
  #
383
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
384
- # the object that represents the build input ZIP file to use.
382
+ # * For Amazon S3: the version ID of the object that represents the
383
+ # build input ZIP file to use.
385
384
  # @return [Array<Types::ProjectSourceVersion>]
386
385
  #
387
386
  # @!attribute [rw] artifacts
@@ -463,6 +462,16 @@ module Aws::CodeBuild
463
462
  #
464
463
  # @!attribute [rw] exported_environment_variables
465
464
  # A list of exported environment variables for this build.
465
+ #
466
+ # Exported environment variables are used in conjunction with AWS
467
+ # CodePipeline to export environment variables from the current build
468
+ # stage to subsequent stages in the pipeline. For more information,
469
+ # see [Working with variables][1] in the *AWS CodePipeline User
470
+ # Guide*.
471
+ #
472
+ #
473
+ #
474
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html
466
475
  # @return [Array<Types::ExportedEnvironmentVariable>]
467
476
  #
468
477
  # @!attribute [rw] report_arns
@@ -571,6 +580,46 @@ module Aws::CodeBuild
571
580
  # An identifier for this artifact definition.
572
581
  # @return [String]
573
582
  #
583
+ # @!attribute [rw] bucket_owner_access
584
+ # Specifies the access for objects that are uploaded to an Amazon S3
585
+ # bucket that is owned by another account.
586
+ #
587
+ # By default, only the account that uploads the objects to the bucket
588
+ # has access to these objects. This property allows you to give the
589
+ # bucket owner access to these objects.
590
+ #
591
+ # NONE
592
+ #
593
+ # : The bucket owner does not have access to the objects. This is the
594
+ # default.
595
+ #
596
+ # READ\_ONLY
597
+ #
598
+ # : The bucket owner has read only access to the objects. The
599
+ # uploading account retains ownership of the objects.
600
+ #
601
+ # FULL
602
+ #
603
+ # : The bucket owner has full access to the objects. Object ownership
604
+ # is determined by the following criteria:
605
+ #
606
+ # * If the bucket is configured with the **Bucket owner preferred**
607
+ # setting, the bucket owner owns the objects. The uploading
608
+ # account will have object access as specified by the bucket's
609
+ # policy.
610
+ #
611
+ # * Otherwise, the uploading account retains ownership of the
612
+ # objects.
613
+ #
614
+ # For more information about Amazon S3 object ownership, see
615
+ # [Controlling ownership of uploaded objects using S3 Object
616
+ # Ownership][1] in the *Amazon Simple Storage Service User Guide*.
617
+ #
618
+ #
619
+ #
620
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
621
+ # @return [String]
622
+ #
574
623
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildArtifacts AWS API Documentation
575
624
  #
576
625
  class BuildArtifacts < Struct.new(
@@ -579,7 +628,8 @@ module Aws::CodeBuild
579
628
  :md5sum,
580
629
  :override_artifact_name,
581
630
  :encryption_disabled,
582
- :artifact_identifier)
631
+ :artifact_identifier,
632
+ :bucket_owner_access)
583
633
  SENSITIVE = []
584
634
  include Aws::Structure
585
635
  end
@@ -624,8 +674,7 @@ module Aws::CodeBuild
624
674
  # * For AWS CodePipeline, the source revision provided by AWS
625
675
  # CodePipeline.
626
676
  #
627
- # * For Amazon Simple Storage Service (Amazon S3), this does not
628
- # apply.
677
+ # * For Amazon S3, this does not apply.
629
678
  # @return [String]
630
679
  #
631
680
  # @!attribute [rw] project_name
@@ -665,8 +714,8 @@ module Aws::CodeBuild
665
714
  # used. If not specified, the default branch's HEAD commit ID is
666
715
  # used.
667
716
  #
668
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
669
- # the object that represents the build input ZIP file to use.
717
+ # * For Amazon S3: the version ID of the object that represents the
718
+ # build input ZIP file to use.
670
719
  # @return [Array<Types::ProjectSourceVersion>]
671
720
  #
672
721
  # @!attribute [rw] artifacts
@@ -765,6 +814,17 @@ module Aws::CodeBuild
765
814
  # the batch build.
766
815
  # @return [Array<Types::BuildGroup>]
767
816
  #
817
+ # @!attribute [rw] debug_session_enabled
818
+ # Specifies if session debugging is enabled for this batch build. For
819
+ # more information, see [Viewing a running build in Session
820
+ # Manager][1]. Batch session debugging is not supported for matrix
821
+ # batch builds.
822
+ #
823
+ #
824
+ #
825
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
826
+ # @return [Boolean]
827
+ #
768
828
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildBatch AWS API Documentation
769
829
  #
770
830
  class BuildBatch < Struct.new(
@@ -796,7 +856,8 @@ module Aws::CodeBuild
796
856
  :build_batch_number,
797
857
  :file_system_locations,
798
858
  :build_batch_config,
799
- :build_groups)
859
+ :build_groups,
860
+ :debug_session_enabled)
800
861
  SENSITIVE = []
801
862
  include Aws::Structure
802
863
  end
@@ -906,7 +967,7 @@ module Aws::CodeBuild
906
967
  #
907
968
  # @!attribute [rw] contexts
908
969
  # Additional information about the batch build phase. Especially to
909
- # help troubleshoot a failed btach build.
970
+ # help troubleshoot a failed batch build.
910
971
  # @return [Array<Types::PhaseContext>]
911
972
  #
912
973
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BuildBatchPhase AWS API Documentation
@@ -1436,6 +1497,7 @@ module Aws::CodeBuild
1436
1497
  # override_artifact_name: false,
1437
1498
  # encryption_disabled: false,
1438
1499
  # artifact_identifier: "String",
1500
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
1439
1501
  # },
1440
1502
  # secondary_artifacts: [
1441
1503
  # {
@@ -1448,6 +1510,7 @@ module Aws::CodeBuild
1448
1510
  # override_artifact_name: false,
1449
1511
  # encryption_disabled: false,
1450
1512
  # artifact_identifier: "String",
1513
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
1451
1514
  # },
1452
1515
  # ],
1453
1516
  # cache: {
@@ -1500,6 +1563,7 @@ module Aws::CodeBuild
1500
1563
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
1501
1564
  # location: "String",
1502
1565
  # encryption_disabled: false,
1566
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
1503
1567
  # },
1504
1568
  # },
1505
1569
  # file_system_locations: [
@@ -1520,6 +1584,7 @@ module Aws::CodeBuild
1520
1584
  # },
1521
1585
  # timeout_in_mins: 1,
1522
1586
  # },
1587
+ # concurrent_build_limit: 1,
1523
1588
  # }
1524
1589
  #
1525
1590
  # @!attribute [rw] name
@@ -1558,8 +1623,8 @@ module Aws::CodeBuild
1558
1623
  # used. If not specified, the default branch's HEAD commit ID is
1559
1624
  # used.
1560
1625
  #
1561
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
1562
- # the object that represents the build input ZIP file to use.
1626
+ # * For Amazon S3: the version ID of the object that represents the
1627
+ # build input ZIP file to use.
1563
1628
  #
1564
1629
  # If `sourceVersion` is specified at the build level, then that
1565
1630
  # version takes precedence over this `sourceVersion` (at the project
@@ -1664,6 +1729,15 @@ module Aws::CodeBuild
1664
1729
  # options for the project.
1665
1730
  # @return [Types::ProjectBuildBatchConfig]
1666
1731
  #
1732
+ # @!attribute [rw] concurrent_build_limit
1733
+ # The maximum number of concurrent builds that are allowed for this
1734
+ # project.
1735
+ #
1736
+ # New builds are only started if the current number of builds is less
1737
+ # than or equal to this limit. If the current build count meets this
1738
+ # limit, new builds are throttled and are not run.
1739
+ # @return [Integer]
1740
+ #
1667
1741
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProjectInput AWS API Documentation
1668
1742
  #
1669
1743
  class CreateProjectInput < Struct.new(
@@ -1686,7 +1760,8 @@ module Aws::CodeBuild
1686
1760
  :badge_enabled,
1687
1761
  :logs_config,
1688
1762
  :file_system_locations,
1689
- :build_batch_config)
1763
+ :build_batch_config,
1764
+ :concurrent_build_limit)
1690
1765
  SENSITIVE = []
1691
1766
  include Aws::Structure
1692
1767
  end
@@ -1713,6 +1788,7 @@ module Aws::CodeBuild
1713
1788
  # export_config_type: "S3", # accepts S3, NO_EXPORT
1714
1789
  # s3_destination: {
1715
1790
  # bucket: "NonEmptyString",
1791
+ # bucket_owner: "String",
1716
1792
  # path: "String",
1717
1793
  # packaging: "ZIP", # accepts ZIP, NONE
1718
1794
  # encryption_key: "NonEmptyString",
@@ -2357,22 +2433,30 @@ module Aws::CodeBuild
2357
2433
  include Aws::Structure
2358
2434
  end
2359
2435
 
2360
- # Information about an exported environment variable.
2436
+ # Contains information about an exported environment variable.
2437
+ #
2438
+ # Exported environment variables are used in conjunction with AWS
2439
+ # CodePipeline to export environment variables from the current build
2440
+ # stage to subsequent stages in the pipeline. For more information, see
2441
+ # [Working with variables][1] in the *AWS CodePipeline User Guide*.
2442
+ #
2443
+ # <note markdown="1"> During a build, the value of a variable is available starting with the
2444
+ # `install` phase. It can be updated between the start of the `install`
2445
+ # phase and the end of the `post_build` phase. After the `post_build`
2446
+ # phase ends, the value of exported variables cannot change.
2447
+ #
2448
+ # </note>
2449
+ #
2450
+ #
2451
+ #
2452
+ # [1]: https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html
2361
2453
  #
2362
2454
  # @!attribute [rw] name
2363
- # The name of this exported environment variable.
2455
+ # The name of the exported environment variable.
2364
2456
  # @return [String]
2365
2457
  #
2366
2458
  # @!attribute [rw] value
2367
- # The value assigned to this exported environment variable.
2368
- #
2369
- # <note markdown="1"> During a build, the value of a variable is available starting with
2370
- # the `install` phase. It can be updated between the start of the
2371
- # `install` phase and the end of the `post_build` phase. After the
2372
- # `post_build` phase ends, the value of exported variables cannot
2373
- # change.
2374
- #
2375
- # </note>
2459
+ # The value assigned to the exported environment variable.
2376
2460
  # @return [String]
2377
2461
  #
2378
2462
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ExportedEnvironmentVariable AWS API Documentation
@@ -3422,6 +3506,7 @@ module Aws::CodeBuild
3422
3506
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
3423
3507
  # location: "String",
3424
3508
  # encryption_disabled: false,
3509
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
3425
3510
  # },
3426
3511
  # }
3427
3512
  #
@@ -3595,8 +3680,8 @@ module Aws::CodeBuild
3595
3680
  # used. If not specified, the default branch's HEAD commit ID is
3596
3681
  # used.
3597
3682
  #
3598
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
3599
- # the object that represents the build input ZIP file to use.
3683
+ # * For Amazon S3: the version ID of the object that represents the
3684
+ # build input ZIP file to use.
3600
3685
  #
3601
3686
  # If `sourceVersion` is specified at the build level, then that
3602
3687
  # version takes precedence over this `sourceVersion` (at the project
@@ -3710,6 +3795,15 @@ module Aws::CodeBuild
3710
3795
  # options for the project.
3711
3796
  # @return [Types::ProjectBuildBatchConfig]
3712
3797
  #
3798
+ # @!attribute [rw] concurrent_build_limit
3799
+ # The maximum number of concurrent builds that are allowed for this
3800
+ # project.
3801
+ #
3802
+ # New builds are only started if the current number of builds is less
3803
+ # than or equal to this limit. If the current build count meets this
3804
+ # limit, new builds are throttled and are not run.
3805
+ # @return [Integer]
3806
+ #
3713
3807
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/Project AWS API Documentation
3714
3808
  #
3715
3809
  class Project < Struct.new(
@@ -3736,7 +3830,8 @@ module Aws::CodeBuild
3736
3830
  :badge,
3737
3831
  :logs_config,
3738
3832
  :file_system_locations,
3739
- :build_batch_config)
3833
+ :build_batch_config,
3834
+ :concurrent_build_limit)
3740
3835
  SENSITIVE = []
3741
3836
  include Aws::Structure
3742
3837
  end
@@ -3756,6 +3851,7 @@ module Aws::CodeBuild
3756
3851
  # override_artifact_name: false,
3757
3852
  # encryption_disabled: false,
3758
3853
  # artifact_identifier: "String",
3854
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
3759
3855
  # }
3760
3856
  #
3761
3857
  # @!attribute [rw] type
@@ -3771,8 +3867,7 @@ module Aws::CodeBuild
3771
3867
  # * `NO_ARTIFACTS`\: The build project does not produce any build
3772
3868
  # output.
3773
3869
  #
3774
- # * `S3`\: The build project stores build output in Amazon Simple
3775
- # Storage Service (Amazon S3).
3870
+ # * `S3`\: The build project stores build output in Amazon S3.
3776
3871
  # @return [String]
3777
3872
  #
3778
3873
  # @!attribute [rw] location
@@ -3892,15 +3987,54 @@ module Aws::CodeBuild
3892
3987
  #
3893
3988
  # @!attribute [rw] encryption_disabled
3894
3989
  # Set to true if you do not want your output artifacts encrypted. This
3895
- # option is valid only if your artifacts type is Amazon Simple Storage
3896
- # Service (Amazon S3). If this is set with another artifacts type, an
3897
- # invalidInputException is thrown.
3990
+ # option is valid only if your artifacts type is Amazon S3. If this is
3991
+ # set with another artifacts type, an invalidInputException is thrown.
3898
3992
  # @return [Boolean]
3899
3993
  #
3900
3994
  # @!attribute [rw] artifact_identifier
3901
3995
  # An identifier for this artifact definition.
3902
3996
  # @return [String]
3903
3997
  #
3998
+ # @!attribute [rw] bucket_owner_access
3999
+ # Specifies the access for objects that are uploaded to an Amazon S3
4000
+ # bucket that is owned by another account.
4001
+ #
4002
+ # By default, only the account that uploads the objects to the bucket
4003
+ # has access to these objects. This property allows you to give the
4004
+ # bucket owner access to these objects.
4005
+ #
4006
+ # NONE
4007
+ #
4008
+ # : The bucket owner does not have access to the objects. This is the
4009
+ # default.
4010
+ #
4011
+ # READ\_ONLY
4012
+ #
4013
+ # : The bucket owner has read only access to the objects. The
4014
+ # uploading account retains ownership of the objects.
4015
+ #
4016
+ # FULL
4017
+ #
4018
+ # : The bucket owner has full access to the objects. Object ownership
4019
+ # is determined by the following criteria:
4020
+ #
4021
+ # * If the bucket is configured with the **Bucket owner preferred**
4022
+ # setting, the bucket owner owns the objects. The uploading
4023
+ # account will have object access as specified by the bucket's
4024
+ # policy.
4025
+ #
4026
+ # * Otherwise, the uploading account retains ownership of the
4027
+ # objects.
4028
+ #
4029
+ # For more information about Amazon S3 object ownership, see
4030
+ # [Controlling ownership of uploaded objects using S3 Object
4031
+ # Ownership][1] in the *Amazon Simple Storage Service User Guide*.
4032
+ #
4033
+ #
4034
+ #
4035
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
4036
+ # @return [String]
4037
+ #
3904
4038
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectArtifacts AWS API Documentation
3905
4039
  #
3906
4040
  class ProjectArtifacts < Struct.new(
@@ -3912,7 +4046,8 @@ module Aws::CodeBuild
3912
4046
  :packaging,
3913
4047
  :override_artifact_name,
3914
4048
  :encryption_disabled,
3915
- :artifact_identifier)
4049
+ :artifact_identifier,
4050
+ :bucket_owner_access)
3916
4051
  SENSITIVE = []
3917
4052
  include Aws::Structure
3918
4053
  end
@@ -3927,9 +4062,6 @@ module Aws::CodeBuild
3927
4062
  # @!attribute [rw] badge_request_url
3928
4063
  # The publicly-accessible URL through which you can access the build
3929
4064
  # badge for your project.
3930
- #
3931
- # The publicly accessible URL through which you can access the build
3932
- # badge for your project.
3933
4065
  # @return [String]
3934
4066
  #
3935
4067
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectBadge AWS API Documentation
@@ -4208,10 +4340,9 @@ module Aws::CodeBuild
4208
4340
  # @return [Boolean]
4209
4341
  #
4210
4342
  # @!attribute [rw] certificate
4211
- # The ARN of the Amazon Simple Storage Service (Amazon S3) bucket,
4212
- # path prefix, and object key that contains the PEM-encoded
4213
- # certificate for the build project. For more information, see
4214
- # [certificate][1] in the *AWS CodeBuild User Guide*.
4343
+ # The ARN of the Amazon S3 bucket, path prefix, and object key that
4344
+ # contains the PEM-encoded certificate for the build project. For more
4345
+ # information, see [certificate][1] in the *AWS CodeBuild User Guide*.
4215
4346
  #
4216
4347
  #
4217
4348
  #
@@ -4373,8 +4504,7 @@ module Aws::CodeBuild
4373
4504
  #
4374
4505
  # * `NO_SOURCE`\: The project does not have input source code.
4375
4506
  #
4376
- # * `S3`\: The source code is in an Amazon Simple Storage Service
4377
- # (Amazon S3) input bucket.
4507
+ # * `S3`\: The source code is in an Amazon S3 bucket.
4378
4508
  # @return [String]
4379
4509
  #
4380
4510
  # @!attribute [rw] location
@@ -4392,8 +4522,8 @@ module Aws::CodeBuild
4392
4522
  # buildspec file (for example,
4393
4523
  # `https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`).
4394
4524
  #
4395
- # * For source code in an Amazon Simple Storage Service (Amazon S3)
4396
- # input bucket, one of the following.
4525
+ # * For source code in an Amazon S3 input bucket, one of the
4526
+ # following.
4397
4527
  #
4398
4528
  # * The path to the ZIP file that contains the source code (for
4399
4529
  # example, `<bucket-name>/<path>/<object-name>.zip`).
@@ -4500,7 +4630,9 @@ module Aws::CodeBuild
4500
4630
  # @return [Boolean]
4501
4631
  #
4502
4632
  # @!attribute [rw] source_identifier
4503
- # An identifier for this project source.
4633
+ # An identifier for this project source. The identifier can only
4634
+ # contain alphanumeric characters and underscores, and must be less
4635
+ # than 128 characters in length.
4504
4636
  # @return [String]
4505
4637
  #
4506
4638
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ProjectSource AWS API Documentation
@@ -4531,7 +4663,9 @@ module Aws::CodeBuild
4531
4663
  # }
4532
4664
  #
4533
4665
  # @!attribute [rw] source_identifier
4534
- # An identifier for a source in the build project.
4666
+ # An identifier for a source in the build project. The identifier can
4667
+ # only contain alphanumeric characters and underscores, and must be
4668
+ # less than 128 characters in length.
4535
4669
  # @return [String]
4536
4670
  #
4537
4671
  # @!attribute [rw] source_version
@@ -4553,8 +4687,8 @@ module Aws::CodeBuild
4553
4687
  # used. If not specified, the default branch's HEAD commit ID is
4554
4688
  # used.
4555
4689
  #
4556
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
4557
- # the object that represents the build input ZIP file to use.
4690
+ # * For Amazon S3: the version ID of the object that represents the
4691
+ # build input ZIP file to use.
4558
4692
  #
4559
4693
  # For more information, see [Source Version Sample with CodeBuild][1]
4560
4694
  # in the *AWS CodeBuild User Guide*.
@@ -4763,6 +4897,7 @@ module Aws::CodeBuild
4763
4897
  # export_config_type: "S3", # accepts S3, NO_EXPORT
4764
4898
  # s3_destination: {
4765
4899
  # bucket: "NonEmptyString",
4900
+ # bucket_owner: "String",
4766
4901
  # path: "String",
4767
4902
  # packaging: "ZIP", # accepts ZIP, NONE
4768
4903
  # encryption_key: "NonEmptyString",
@@ -4938,7 +5073,7 @@ module Aws::CodeBuild
4938
5073
 
4939
5074
  # Represents a resolved build artifact. A resolve artifact is an
4940
5075
  # artifact that is built and deployed to the destination, such as Amazon
4941
- # Simple Storage Service (Amazon S3).
5076
+ # S3.
4942
5077
  #
4943
5078
  # @!attribute [rw] type
4944
5079
  # Specifies the type of artifact.
@@ -5073,6 +5208,7 @@ module Aws::CodeBuild
5073
5208
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
5074
5209
  # location: "String",
5075
5210
  # encryption_disabled: false,
5211
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
5076
5212
  # }
5077
5213
  #
5078
5214
  # @!attribute [rw] status
@@ -5095,12 +5231,53 @@ module Aws::CodeBuild
5095
5231
  # By default S3 build logs are encrypted.
5096
5232
  # @return [Boolean]
5097
5233
  #
5234
+ # @!attribute [rw] bucket_owner_access
5235
+ # Specifies the access for objects that are uploaded to an Amazon S3
5236
+ # bucket that is owned by another account.
5237
+ #
5238
+ # By default, only the account that uploads the objects to the bucket
5239
+ # has access to these objects. This property allows you to give the
5240
+ # bucket owner access to these objects.
5241
+ #
5242
+ # NONE
5243
+ #
5244
+ # : The bucket owner does not have access to the objects. This is the
5245
+ # default.
5246
+ #
5247
+ # READ\_ONLY
5248
+ #
5249
+ # : The bucket owner has read only access to the objects. The
5250
+ # uploading account retains ownership of the objects.
5251
+ #
5252
+ # FULL
5253
+ #
5254
+ # : The bucket owner has full access to the objects. Object ownership
5255
+ # is determined by the following criteria:
5256
+ #
5257
+ # * If the bucket is configured with the **Bucket owner preferred**
5258
+ # setting, the bucket owner owns the objects. The uploading
5259
+ # account will have object access as specified by the bucket's
5260
+ # policy.
5261
+ #
5262
+ # * Otherwise, the uploading account retains ownership of the
5263
+ # objects.
5264
+ #
5265
+ # For more information about Amazon S3 object ownership, see
5266
+ # [Controlling ownership of uploaded objects using S3 Object
5267
+ # Ownership][1] in the *Amazon Simple Storage Service User Guide*.
5268
+ #
5269
+ #
5270
+ #
5271
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
5272
+ # @return [String]
5273
+ #
5098
5274
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/S3LogsConfig AWS API Documentation
5099
5275
  #
5100
5276
  class S3LogsConfig < Struct.new(
5101
5277
  :status,
5102
5278
  :location,
5103
- :encryption_disabled)
5279
+ :encryption_disabled,
5280
+ :bucket_owner_access)
5104
5281
  SENSITIVE = []
5105
5282
  include Aws::Structure
5106
5283
  end
@@ -5113,6 +5290,7 @@ module Aws::CodeBuild
5113
5290
  #
5114
5291
  # {
5115
5292
  # bucket: "NonEmptyString",
5293
+ # bucket_owner: "String",
5116
5294
  # path: "String",
5117
5295
  # packaging: "ZIP", # accepts ZIP, NONE
5118
5296
  # encryption_key: "NonEmptyString",
@@ -5124,6 +5302,12 @@ module Aws::CodeBuild
5124
5302
  # exported.
5125
5303
  # @return [String]
5126
5304
  #
5305
+ # @!attribute [rw] bucket_owner
5306
+ # The AWS account identifier of the owner of the Amazon S3 bucket.
5307
+ # This allows report data to be exported to an Amazon S3 bucket that
5308
+ # is owned by an account other than the account running the build.
5309
+ # @return [String]
5310
+ #
5127
5311
  # @!attribute [rw] path
5128
5312
  # The path to the exported report's raw data results.
5129
5313
  # @return [String]
@@ -5151,6 +5335,7 @@ module Aws::CodeBuild
5151
5335
  #
5152
5336
  class S3ReportExportConfig < Struct.new(
5153
5337
  :bucket,
5338
+ :bucket_owner,
5154
5339
  :path,
5155
5340
  :packaging,
5156
5341
  :encryption_key,
@@ -5266,6 +5451,7 @@ module Aws::CodeBuild
5266
5451
  # override_artifact_name: false,
5267
5452
  # encryption_disabled: false,
5268
5453
  # artifact_identifier: "String",
5454
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
5269
5455
  # },
5270
5456
  # secondary_artifacts_override: [
5271
5457
  # {
@@ -5278,6 +5464,7 @@ module Aws::CodeBuild
5278
5464
  # override_artifact_name: false,
5279
5465
  # encryption_disabled: false,
5280
5466
  # artifact_identifier: "String",
5467
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
5281
5468
  # },
5282
5469
  # ],
5283
5470
  # environment_variables_override: [
@@ -5325,6 +5512,7 @@ module Aws::CodeBuild
5325
5512
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
5326
5513
  # location: "String",
5327
5514
  # encryption_disabled: false,
5515
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
5328
5516
  # },
5329
5517
  # },
5330
5518
  # registry_credential_override: {
@@ -5341,6 +5529,7 @@ module Aws::CodeBuild
5341
5529
  # },
5342
5530
  # timeout_in_mins: 1,
5343
5531
  # },
5532
+ # debug_session_enabled: false,
5344
5533
  # }
5345
5534
  #
5346
5535
  # @!attribute [rw] project_name
@@ -5382,7 +5571,7 @@ module Aws::CodeBuild
5382
5571
  # specified, the branch's HEAD commit ID is used. If not specified,
5383
5572
  # the default branch's HEAD commit ID is used.
5384
5573
  #
5385
- # Amazon Simple Storage Service (Amazon S3)
5574
+ # Amazon S3
5386
5575
  #
5387
5576
  # : The version ID of the object that represents the build input ZIP
5388
5577
  # file to use.
@@ -5581,6 +5770,17 @@ module Aws::CodeBuild
5581
5770
  # configuration overrides.
5582
5771
  # @return [Types::ProjectBuildBatchConfig]
5583
5772
  #
5773
+ # @!attribute [rw] debug_session_enabled
5774
+ # Specifies if session debugging is enabled for this batch build. For
5775
+ # more information, see [Viewing a running build in Session
5776
+ # Manager][1]. Batch session debugging is not supported for matrix
5777
+ # batch builds.
5778
+ #
5779
+ #
5780
+ #
5781
+ # [1]: https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html
5782
+ # @return [Boolean]
5783
+ #
5584
5784
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatchInput AWS API Documentation
5585
5785
  #
5586
5786
  class StartBuildBatchInput < Struct.new(
@@ -5613,7 +5813,8 @@ module Aws::CodeBuild
5613
5813
  :logs_config_override,
5614
5814
  :registry_credential_override,
5615
5815
  :image_pull_credentials_type_override,
5616
- :build_batch_config_override)
5816
+ :build_batch_config_override,
5817
+ :debug_session_enabled)
5617
5818
  SENSITIVE = []
5618
5819
  include Aws::Structure
5619
5820
  end
@@ -5675,6 +5876,7 @@ module Aws::CodeBuild
5675
5876
  # override_artifact_name: false,
5676
5877
  # encryption_disabled: false,
5677
5878
  # artifact_identifier: "String",
5879
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
5678
5880
  # },
5679
5881
  # secondary_artifacts_override: [
5680
5882
  # {
@@ -5687,6 +5889,7 @@ module Aws::CodeBuild
5687
5889
  # override_artifact_name: false,
5688
5890
  # encryption_disabled: false,
5689
5891
  # artifact_identifier: "String",
5892
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
5690
5893
  # },
5691
5894
  # ],
5692
5895
  # environment_variables_override: [
@@ -5738,6 +5941,7 @@ module Aws::CodeBuild
5738
5941
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
5739
5942
  # location: "String",
5740
5943
  # encryption_disabled: false,
5944
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
5741
5945
  # },
5742
5946
  # },
5743
5947
  # registry_credential_override: {
@@ -5788,7 +5992,7 @@ module Aws::CodeBuild
5788
5992
  # specified, the branch's HEAD commit ID is used. If not specified,
5789
5993
  # the default branch's HEAD commit ID is used.
5790
5994
  #
5791
- # Amazon Simple Storage Service (Amazon S3)
5995
+ # Amazon S3
5792
5996
  #
5793
5997
  # : The version ID of the object that represents the build input ZIP
5794
5998
  # file to use.
@@ -6339,6 +6543,7 @@ module Aws::CodeBuild
6339
6543
  # override_artifact_name: false,
6340
6544
  # encryption_disabled: false,
6341
6545
  # artifact_identifier: "String",
6546
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
6342
6547
  # },
6343
6548
  # secondary_artifacts: [
6344
6549
  # {
@@ -6351,6 +6556,7 @@ module Aws::CodeBuild
6351
6556
  # override_artifact_name: false,
6352
6557
  # encryption_disabled: false,
6353
6558
  # artifact_identifier: "String",
6559
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
6354
6560
  # },
6355
6561
  # ],
6356
6562
  # cache: {
@@ -6403,6 +6609,7 @@ module Aws::CodeBuild
6403
6609
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
6404
6610
  # location: "String",
6405
6611
  # encryption_disabled: false,
6612
+ # bucket_owner_access: "NONE", # accepts NONE, READ_ONLY, FULL
6406
6613
  # },
6407
6614
  # },
6408
6615
  # file_system_locations: [
@@ -6423,6 +6630,7 @@ module Aws::CodeBuild
6423
6630
  # },
6424
6631
  # timeout_in_mins: 1,
6425
6632
  # },
6633
+ # concurrent_build_limit: 1,
6426
6634
  # }
6427
6635
  #
6428
6636
  # @!attribute [rw] name
@@ -6466,8 +6674,8 @@ module Aws::CodeBuild
6466
6674
  # used. If not specified, the default branch's HEAD commit ID is
6467
6675
  # used.
6468
6676
  #
6469
- # * For Amazon Simple Storage Service (Amazon S3): the version ID of
6470
- # the object that represents the build input ZIP file to use.
6677
+ # * For Amazon S3: the version ID of the object that represents the
6678
+ # build input ZIP file to use.
6471
6679
  #
6472
6680
  # If `sourceVersion` is specified at the build level, then that
6473
6681
  # version takes precedence over this `sourceVersion` (at the project
@@ -6571,6 +6779,17 @@ module Aws::CodeBuild
6571
6779
  # Contains configuration information about a batch build project.
6572
6780
  # @return [Types::ProjectBuildBatchConfig]
6573
6781
  #
6782
+ # @!attribute [rw] concurrent_build_limit
6783
+ # The maximum number of concurrent builds that are allowed for this
6784
+ # project.
6785
+ #
6786
+ # New builds are only started if the current number of builds is less
6787
+ # than or equal to this limit. If the current build count meets this
6788
+ # limit, new builds are throttled and are not run.
6789
+ #
6790
+ # To remove this limit, set this value to -1.
6791
+ # @return [Integer]
6792
+ #
6574
6793
  # @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectInput AWS API Documentation
6575
6794
  #
6576
6795
  class UpdateProjectInput < Struct.new(
@@ -6593,7 +6812,8 @@ module Aws::CodeBuild
6593
6812
  :badge_enabled,
6594
6813
  :logs_config,
6595
6814
  :file_system_locations,
6596
- :build_batch_config)
6815
+ :build_batch_config,
6816
+ :concurrent_build_limit)
6597
6817
  SENSITIVE = []
6598
6818
  include Aws::Structure
6599
6819
  end
@@ -6619,6 +6839,7 @@ module Aws::CodeBuild
6619
6839
  # export_config_type: "S3", # accepts S3, NO_EXPORT
6620
6840
  # s3_destination: {
6621
6841
  # bucket: "NonEmptyString",
6842
+ # bucket_owner: "String",
6622
6843
  # path: "String",
6623
6844
  # packaging: "ZIP", # accepts ZIP, NONE
6624
6845
  # encryption_key: "NonEmptyString",