Skip to content

Commit 9a32e0c

Browse files
Updated API models and rebuilt service gems.
1 parent ee7c9ae commit 9a32e0c

File tree

9 files changed

+78
-76
lines changed

9 files changed

+78
-76
lines changed

apis/codebuild/2016-10-06/api-2.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,8 @@
684684
"OAUTH",
685685
"BASIC_AUTH",
686686
"PERSONAL_ACCESS_TOKEN",
687-
"CODECONNECTIONS"
687+
"CODECONNECTIONS",
688+
"SECRETS_MANAGER"
688689
]
689690
},
690691
"BatchDeleteBuildsInput":{
@@ -2505,7 +2506,8 @@
25052506
"type":"string",
25062507
"enum":[
25072508
"OAUTH",
2508-
"CODECONNECTIONS"
2509+
"CODECONNECTIONS",
2510+
"SECRETS_MANAGER"
25092511
]
25102512
},
25112513
"SourceCredentialsInfo":{

apis/codebuild/2016-10-06/docs-2.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"DescribeTestCases": "<p> Returns a list of details about test cases for a report. </p>",
2626
"GetReportGroupTrend": "<p>Analyzes and accumulates test report values for the specified test reports.</p>",
2727
"GetResourcePolicy": "<p> Gets a resource policy that is identified by its resource ARN. </p>",
28-
"ImportSourceCredentials": "<p> Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>",
28+
"ImportSourceCredentials": "<p> Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. </p>",
2929
"InvalidateProjectCache": "<p>Resets the cache for a project.</p>",
3030
"ListBuildBatches": "<p>Retrieves the identifiers of your build batches in the current region.</p>",
3131
"ListBuildBatchesForProject": "<p>Retrieves the identifiers of the build batches for a specific project.</p>",
@@ -81,8 +81,8 @@
8181
"AuthType": {
8282
"base": null,
8383
"refs": {
84-
"ImportSourceCredentialsInput$authType": "<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.</p>",
85-
"SourceCredentialsInfo$authType": "<p> The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS. </p>"
84+
"ImportSourceCredentialsInput$authType": "<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.</p>",
85+
"SourceCredentialsInfo$authType": "<p> The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER. </p>"
8686
}
8787
},
8888
"BatchDeleteBuildsInput": {
@@ -1617,7 +1617,7 @@
16171617
"SensitiveNonEmptyString": {
16181618
"base": null,
16191619
"refs": {
1620-
"ImportSourceCredentialsInput$token": "<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p>"
1620+
"ImportSourceCredentialsInput$token": "<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>"
16211621
}
16221622
},
16231623
"SensitiveString": {
@@ -1658,17 +1658,17 @@
16581658
}
16591659
},
16601660
"SourceAuth": {
1661-
"base": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p> <p>This information is for the CodeBuild console's use only. Your code should not get or set this information directly.</p>",
1661+
"base": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p>",
16621662
"refs": {
1663-
"ProjectSource$auth": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p> <p>This information is for the CodeBuild console's use only. Your code should not get or set this information directly.</p>",
1663+
"ProjectSource$auth": "<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p>",
16641664
"StartBuildBatchInput$sourceAuthOverride": "<p>A <code>SourceAuth</code> object that overrides the one defined in the batch build project. This override applies only if the build project's source is BitBucket or GitHub.</p>",
16651665
"StartBuildInput$sourceAuthOverride": "<p>An authorization type for this build that overrides the one defined in the build project. This override applies only if the build project's source is BitBucket, GitHub, GitLab, or GitLab Self Managed.</p>"
16661666
}
16671667
},
16681668
"SourceAuthType": {
16691669
"base": null,
16701670
"refs": {
1671-
"SourceAuth$type": "<p>The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.</p>"
1671+
"SourceAuth$type": "<p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.</p>"
16721672
}
16731673
},
16741674
"SourceCredentialsInfo": {
@@ -1840,7 +1840,7 @@
18401840
"ScopeConfiguration$name": "<p>The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.</p>",
18411841
"ScopeConfiguration$domain": "<p>The domain of the GitHub Enterprise organization. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE</p>",
18421842
"SourceAuth$resource": "<p>The resource value that applies to the specified authorization type.</p>",
1843-
"SourceCredentialsInfo$resource": "<p>The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.</p>",
1843+
"SourceCredentialsInfo$resource": "<p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.</p>",
18441844
"StartBuildBatchInput$sourceVersion": "<p>The version of the batch build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:</p> <dl> <dt>CodeCommit</dt> <dd> <p>The commit ID, branch, or Git tag to use.</p> </dd> <dt>GitHub</dt> <dd> <p>The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format <code>pr/pull-request-ID</code> (for example <code>pr/25</code>). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.</p> </dd> <dt>Bitbucket</dt> <dd> <p>The commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.</p> </dd> <dt>Amazon S3</dt> <dd> <p>The version ID of the object that represents the build input ZIP file to use.</p> </dd> </dl> <p>If <code>sourceVersion</code> is specified at the project level, then this <code>sourceVersion</code> (at the build level) takes precedence. </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html\">Source Version Sample with CodeBuild</a> in the <i>CodeBuild User Guide</i>. </p>",
18451845
"StartBuildBatchInput$sourceLocationOverride": "<p>A location that overrides, for this batch build, the source location defined in the batch build project.</p>",
18461846
"StartBuildBatchInput$buildspecOverride": "<p>A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project.</p> <p>If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in <code>CODEBUILD_SRC_DIR</code> environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, <code>arn:aws:s3:::my-codebuild-sample2/buildspec.yml</code>). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-name-storage\">Buildspec File Name and Storage Location</a>. </p>",

gems/aws-sdk-codebuild/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased Changes
22
------------------
33

4+
1.123.0 (2024-08-14)
5+
------------------
6+
7+
* Feature - AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project.
8+
49
1.122.0 (2024-07-12)
510
------------------
611

gems/aws-sdk-codebuild/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.122.0
1+
1.123.0

gems/aws-sdk-codebuild/lib/aws-sdk-codebuild.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@
5252
# @!group service
5353
module Aws::CodeBuild
5454

55-
GEM_VERSION = '1.122.0'
55+
GEM_VERSION = '1.123.0'
5656

5757
end

0 commit comments

Comments
 (0)