Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Aug 14, 2024
1 parent 57f6f2d commit 6beafa8
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions codegen/sdk-codegen/aws-models/codebuild.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@
"traits": {
"smithy.api#enumValue": "CODECONNECTIONS"
}
},
"SECRETS_MANAGER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SECRETS_MANAGER"
}
}
}
},
Expand Down Expand Up @@ -4551,7 +4557,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p> Imports the source repository credentials for an CodeBuild project that has its\n source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>"
"smithy.api#documentation": "<p> Imports the source repository credentials for an CodeBuild project that has its\n source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. </p>"
}
},
"com.amazonaws.codebuild#ImportSourceCredentialsInput": {
Expand All @@ -4566,7 +4572,7 @@
"token": {
"target": "com.amazonaws.codebuild#SensitiveNonEmptyString",
"traits": {
"smithy.api#documentation": "<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,\n this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, \n this is the <code>connectionArn</code>.</p>",
"smithy.api#documentation": "<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket,\n this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, \n this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -4580,7 +4586,7 @@
"authType": {
"target": "com.amazonaws.codebuild#AuthType",
"traits": {
"smithy.api#documentation": "<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or\n Bitbucket repository. An OAUTH connection is not supported by the API and must be\n created using the CodeBuild console. Note that CODECONNECTIONS is only valid for \n GitLab and GitLab Self Managed.</p>",
"smithy.api#documentation": "<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or\n Bitbucket repository. An OAUTH connection is not supported by the API and must be\n created using the CodeBuild console.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -6437,7 +6443,7 @@
"auth": {
"target": "com.amazonaws.codebuild#SourceAuth",
"traits": {
"smithy.api#documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be\n built.</p>\n <p>This information is for the CodeBuild console's use only. Your code should not get or set\n this information directly.</p>"
"smithy.api#documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be\n built.</p>"
}
},
"reportBuildStatus": {
Expand Down Expand Up @@ -7543,7 +7549,7 @@
"type": {
"target": "com.amazonaws.codebuild#SourceAuthType",
"traits": {
"smithy.api#documentation": "<p>The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.</p>",
"smithy.api#documentation": "<p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -7555,7 +7561,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be\n built.</p>\n <p>This information is for the CodeBuild console's use only. Your code should not get or set\n this information directly.</p>"
"smithy.api#documentation": "<p>Information about the authorization settings for CodeBuild to access the source code to be\n built.</p>"
}
},
"com.amazonaws.codebuild#SourceAuthType": {
Expand All @@ -7572,6 +7578,12 @@
"traits": {
"smithy.api#enumValue": "CODECONNECTIONS"
}
},
"SECRETS_MANAGER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SECRETS_MANAGER"
}
}
}
},
Expand All @@ -7593,13 +7605,13 @@
"authType": {
"target": "com.amazonaws.codebuild#AuthType",
"traits": {
"smithy.api#documentation": "<p> The type of authentication used by the credentials. Valid options are OAUTH,\n BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS. </p>"
"smithy.api#documentation": "<p> The type of authentication used by the credentials. Valid options are OAUTH,\n BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER. </p>"
}
},
"resource": {
"target": "com.amazonaws.codebuild#String",
"traits": {
"smithy.api#documentation": "<p>The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.</p>"
"smithy.api#documentation": "<p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.</p>"
}
}
},
Expand Down

0 comments on commit 6beafa8

Please sign in to comment.