Skip to content

Commit c49dc27

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 74e752c commit c49dc27

File tree

6 files changed

+308
-15
lines changed

6 files changed

+308
-15
lines changed

codegen/sdk-codegen/aws-models/batch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8538,13 +8538,13 @@
85388538
"operatingSystemFamily": {
85398539
"target": "com.amazonaws.batch#String",
85408540
"traits": {
8541-
"smithy.api#documentation": "<p>The operating system for the compute environment. Valid values are:\n <code>LINUX</code> (default), <code>WINDOWS_SERVER_2019_CORE</code>,\n <code>WINDOWS_SERVER_2019_FULL</code>, <code>WINDOWS_SERVER_2022_CORE</code>, and\n <code>WINDOWS_SERVER_2022_FULL</code>.</p>\n <note>\n <p>The following parameters can’t be set for Windows containers: <code>linuxParameters</code>,\n <code>privileged</code>, <code>user</code>, <code>ulimits</code>,\n <code>readonlyRootFilesystem</code>, and <code>efsVolumeConfiguration</code>.</p>\n </note>\n <note>\n <p>The Batch Scheduler checks the compute environments that are attached to the job queue before \n registering a task definition with Fargate. In this scenario, the job queue is where the job is \n submitted. If the job requires a Windows container and the first compute environment is <code>LINUX</code>, \n the compute environment is skipped and the next compute environment is checked until a Windows-based \n compute environment is found.</p>\n </note>\n <note>\n <p>Fargate Spot is not supported for <code>ARM64</code> and Windows-based containers on Fargate. \n A job queue will be blocked if a Fargate <code>ARM64</code> or Windows job is submitted to a job \n queue with only Fargate Spot compute environments. However, you can attach both <code>FARGATE</code> and\n <code>FARGATE_SPOT</code> compute environments to the same job queue.</p>\n </note>"
8541+
"smithy.api#documentation": "<p>The operating system for the compute environment. Valid values are:\n <code>LINUX</code> (default), <code>WINDOWS_SERVER_2019_CORE</code>,\n <code>WINDOWS_SERVER_2019_FULL</code>, <code>WINDOWS_SERVER_2022_CORE</code>, and\n <code>WINDOWS_SERVER_2022_FULL</code>.</p>\n <note>\n <p>The following parameters can’t be set for Windows containers: <code>linuxParameters</code>,\n <code>privileged</code>, <code>user</code>, <code>ulimits</code>,\n <code>readonlyRootFilesystem</code>, and <code>efsVolumeConfiguration</code>.</p>\n </note>\n <note>\n <p>The Batch Scheduler checks the compute environments that are attached to the job queue before \n registering a task definition with Fargate. In this scenario, the job queue is where the job is \n submitted. If the job requires a Windows container and the first compute environment is <code>LINUX</code>, \n the compute environment is skipped and the next compute environment is checked until a Windows-based \n compute environment is found.</p>\n </note>\n <note>\n <p>Fargate Spot is not supported on Windows-based containers on Fargate. \n A job queue will be blocked if a Windows job is submitted to a job \n queue with only Fargate Spot compute environments. However, you can attach both <code>FARGATE</code> and\n <code>FARGATE_SPOT</code> compute environments to the same job queue.</p>\n </note>"
85428542
}
85438543
},
85448544
"cpuArchitecture": {
85458545
"target": "com.amazonaws.batch#String",
85468546
"traits": {
8547-
"smithy.api#documentation": "<p> The vCPU architecture. The default value is <code>X86_64</code>. Valid values are\n <code>X86_64</code> and <code>ARM64</code>.</p>\n <note>\n <p>This parameter must be set to <code>X86_64</code> for Windows containers.</p>\n </note>\n <note>\n <p>Fargate Spot is not supported for <code>ARM64</code> and Windows-based containers on\n Fargate. A job queue will be blocked if a Fargate <code>ARM64</code> or Windows job is\n submitted to a job queue with only Fargate Spot compute environments. However, you can attach\n both <code>FARGATE</code> and <code>FARGATE_SPOT</code> compute environments to the same job\n queue.</p>\n </note>"
8547+
"smithy.api#documentation": "<p>The vCPU architecture. The default value is <code>X86_64</code>. Valid values are\n <code>X86_64</code> and <code>ARM64</code>.</p>\n <note>\n <p>This parameter must be set to <code>X86_64</code> for Windows containers.</p>\n </note>\n <note>\n <p>Fargate Spot is not supported on Windows-based containers on\n Fargate. A job queue will be blocked if a Windows job is\n submitted to a job queue with only Fargate Spot compute environments. However, you can attach\n both <code>FARGATE</code> and <code>FARGATE_SPOT</code> compute environments to the same job\n queue.</p>\n </note>"
85488548
}
85498549
}
85508550
},

codegen/sdk-codegen/aws-models/cloudfront.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16642,6 +16642,12 @@
1664216642
"traits": {
1664316643
"smithy.api#enumValue": "TLSv1.2_2021"
1664416644
}
16645+
},
16646+
"TLSv1_3_2025": {
16647+
"target": "smithy.api#Unit",
16648+
"traits": {
16649+
"smithy.api#enumValue": "TLSv1.3_2025"
16650+
}
1664516651
}
1664616652
}
1664716653
},

codegen/sdk-codegen/aws-models/codebuild.json

Lines changed: 152 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3632,6 +3632,12 @@
36323632
"traits": {
36333633
"smithy.api#documentation": "<p>The scope configuration for global or organization webhooks.</p>\n <note>\n <p>Global or organization webhooks are only available for GitHub and Github Enterprise webhooks.</p>\n </note>"
36343634
}
3635+
},
3636+
"pullRequestBuildPolicy": {
3637+
"target": "com.amazonaws.codebuild#PullRequestBuildPolicy",
3638+
"traits": {
3639+
"smithy.api#documentation": "<p>A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>"
3640+
}
36353641
}
36363642
},
36373643
"traits": {
@@ -7421,6 +7427,145 @@
74217427
"smithy.api#documentation": "<p>Information about the proxy configurations that apply network access control to your reserved capacity instances.</p>"
74227428
}
74237429
},
7430+
"com.amazonaws.codebuild#PullRequestBuildApproverRole": {
7431+
"type": "enum",
7432+
"members": {
7433+
"GITHUB_READ": {
7434+
"target": "smithy.api#Unit",
7435+
"traits": {
7436+
"smithy.api#enumValue": "GITHUB_READ"
7437+
}
7438+
},
7439+
"GITHUB_TRIAGE": {
7440+
"target": "smithy.api#Unit",
7441+
"traits": {
7442+
"smithy.api#enumValue": "GITHUB_TRIAGE"
7443+
}
7444+
},
7445+
"GITHUB_WRITE": {
7446+
"target": "smithy.api#Unit",
7447+
"traits": {
7448+
"smithy.api#enumValue": "GITHUB_WRITE"
7449+
}
7450+
},
7451+
"GITHUB_MAINTAIN": {
7452+
"target": "smithy.api#Unit",
7453+
"traits": {
7454+
"smithy.api#enumValue": "GITHUB_MAINTAIN"
7455+
}
7456+
},
7457+
"GITHUB_ADMIN": {
7458+
"target": "smithy.api#Unit",
7459+
"traits": {
7460+
"smithy.api#enumValue": "GITHUB_ADMIN"
7461+
}
7462+
},
7463+
"GITLAB_GUEST": {
7464+
"target": "smithy.api#Unit",
7465+
"traits": {
7466+
"smithy.api#enumValue": "GITLAB_GUEST"
7467+
}
7468+
},
7469+
"GITLAB_PLANNER": {
7470+
"target": "smithy.api#Unit",
7471+
"traits": {
7472+
"smithy.api#enumValue": "GITLAB_PLANNER"
7473+
}
7474+
},
7475+
"GITLAB_REPORTER": {
7476+
"target": "smithy.api#Unit",
7477+
"traits": {
7478+
"smithy.api#enumValue": "GITLAB_REPORTER"
7479+
}
7480+
},
7481+
"GITLAB_DEVELOPER": {
7482+
"target": "smithy.api#Unit",
7483+
"traits": {
7484+
"smithy.api#enumValue": "GITLAB_DEVELOPER"
7485+
}
7486+
},
7487+
"GITLAB_MAINTAINER": {
7488+
"target": "smithy.api#Unit",
7489+
"traits": {
7490+
"smithy.api#enumValue": "GITLAB_MAINTAINER"
7491+
}
7492+
},
7493+
"GITLAB_OWNER": {
7494+
"target": "smithy.api#Unit",
7495+
"traits": {
7496+
"smithy.api#enumValue": "GITLAB_OWNER"
7497+
}
7498+
},
7499+
"BITBUCKET_READ": {
7500+
"target": "smithy.api#Unit",
7501+
"traits": {
7502+
"smithy.api#enumValue": "BITBUCKET_READ"
7503+
}
7504+
},
7505+
"BITBUCKET_WRITE": {
7506+
"target": "smithy.api#Unit",
7507+
"traits": {
7508+
"smithy.api#enumValue": "BITBUCKET_WRITE"
7509+
}
7510+
},
7511+
"BITBUCKET_ADMIN": {
7512+
"target": "smithy.api#Unit",
7513+
"traits": {
7514+
"smithy.api#enumValue": "BITBUCKET_ADMIN"
7515+
}
7516+
}
7517+
}
7518+
},
7519+
"com.amazonaws.codebuild#PullRequestBuildApproverRoles": {
7520+
"type": "list",
7521+
"member": {
7522+
"target": "com.amazonaws.codebuild#PullRequestBuildApproverRole"
7523+
}
7524+
},
7525+
"com.amazonaws.codebuild#PullRequestBuildCommentApproval": {
7526+
"type": "enum",
7527+
"members": {
7528+
"DISABLED": {
7529+
"target": "smithy.api#Unit",
7530+
"traits": {
7531+
"smithy.api#enumValue": "DISABLED"
7532+
}
7533+
},
7534+
"ALL_PULL_REQUESTS": {
7535+
"target": "smithy.api#Unit",
7536+
"traits": {
7537+
"smithy.api#enumValue": "ALL_PULL_REQUESTS"
7538+
}
7539+
},
7540+
"FORK_PULL_REQUESTS": {
7541+
"target": "smithy.api#Unit",
7542+
"traits": {
7543+
"smithy.api#enumValue": "FORK_PULL_REQUESTS"
7544+
}
7545+
}
7546+
}
7547+
},
7548+
"com.amazonaws.codebuild#PullRequestBuildPolicy": {
7549+
"type": "structure",
7550+
"members": {
7551+
"requiresCommentApproval": {
7552+
"target": "com.amazonaws.codebuild#PullRequestBuildCommentApproval",
7553+
"traits": {
7554+
"smithy.api#documentation": "<p>Specifies when comment-based approval is required before triggering a build on pull requests. This setting determines whether builds run automatically or require explicit approval through comments.</p>\n <ul>\n <li>\n <p>\n <i>DISABLED</i>: Builds trigger automatically without requiring comment approval</p>\n </li>\n <li>\n <p>\n <i>ALL_PULL_REQUESTS</i>: All pull requests require comment approval before builds execute (unless contributor is one of the approver roles)</p>\n </li>\n <li>\n <p>\n <i>FORK_PULL_REQUESTS</i>: Only pull requests from forked repositories require comment approval (unless contributor is one of the approver roles)</p>\n </li>\n </ul>",
7555+
"smithy.api#required": {}
7556+
}
7557+
},
7558+
"approverRoles": {
7559+
"target": "com.amazonaws.codebuild#PullRequestBuildApproverRoles",
7560+
"traits": {
7561+
"smithy.api#documentation": "<p>List of repository roles that have approval privileges for pull request builds when comment approval is required. Only users with these roles can provide valid comment approvals. If a pull request contributor is one of these roles, their pull request builds will trigger automatically. This field is only applicable when <code>requiresCommentApproval</code> is not <i>DISABLED</i>.</p>"
7562+
}
7563+
}
7564+
},
7565+
"traits": {
7566+
"smithy.api#documentation": "<p>Configuration policy that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>"
7567+
}
7568+
},
74247569
"com.amazonaws.codebuild#PutResourcePolicy": {
74257570
"type": "operation",
74267571
"input": {
@@ -9161,7 +9306,7 @@
91619306
"buildspecOverride": {
91629307
"target": "com.amazonaws.codebuild#String",
91639308
"traits": {
9164-
"smithy.api#documentation": "<p>A buildspec file declaration that overrides the latest one defined \n in the build project, for this build only. The buildspec defined on the project is not changed.</p>\n <p>If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n <code>CODEBUILD_SRC_DIR</code> environment variable, or the path to an S3 bucket.\n The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec\n file using its ARN (for example,\n <code>arn:aws:s3:::my-codebuild-sample2/buildspec.yml</code>). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n 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>\n <note>\n <p>Since this property allows you to change the build commands that will run in the container, \n you should note that an IAM principal with the ability to call this API and set this parameter \n can override the default settings. Moreover, we encourage that you use a trustworthy buildspec location \n like a file in your source repository or a Amazon S3 bucket.</p>\n </note>"
9309+
"smithy.api#documentation": "<p>A buildspec file declaration that overrides the latest one defined \n in the build project, for this build only. The buildspec defined on the project is not changed.</p>\n <p>If this value is set, it can be either an inline buildspec definition, the path to an\n alternate buildspec file relative to the value of the built-in\n <code>CODEBUILD_SRC_DIR</code> environment variable, or the path to an S3 bucket.\n The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec\n file using its ARN (for example,\n <code>arn:aws:s3:::my-codebuild-sample2/buildspec.yml</code>). If this value is not\n provided or is set to an empty string, the source code must contain a buildspec file in\n 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>\n <note>\n <p>Since this property allows you to change the build commands that will run in the container, \n you should note that an IAM principal with the ability to call this API and set this parameter \n can override the default settings. Moreover, we encourage that you use a trustworthy buildspec location \n like a file in your source repository or a Amazon S3 bucket. Alternatively, you can restrict overrides \n to the buildspec by using a condition key: <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/action-context-keys.html#action-context-keys-example-overridebuildspec.html\">Prevent unauthorized modifications to project buildspec</a>.</p>\n </note>"
91659310
}
91669311
},
91679312
"insecureSslOverride": {
@@ -10333,6 +10478,12 @@
1033310478
"traits": {
1033410479
"smithy.api#documentation": "<p>Specifies the type of build this webhook will trigger.</p>\n <note>\n <p>\n <code>RUNNER_BUILDKITE_BUILD</code> is only available for <code>NO_SOURCE</code> source type projects \n configured for Buildkite runner builds. For more information about CodeBuild-hosted Buildkite runner builds, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/sample-runner-buildkite.html\">Tutorial: Configure a CodeBuild-hosted Buildkite runner</a> in the <i>CodeBuild\n user guide</i>.</p>\n </note>"
1033510480
}
10481+
},
10482+
"pullRequestBuildPolicy": {
10483+
"target": "com.amazonaws.codebuild#PullRequestBuildPolicy",
10484+
"traits": {
10485+
"smithy.api#documentation": "<p>A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>"
10486+
}
1033610487
}
1033710488
},
1033810489
"traits": {

0 commit comments

Comments
 (0)