|
498 | 498 | {"shape":"ConflictException"},
|
499 | 499 | {"shape":"ValidationException"}
|
500 | 500 | ],
|
501 |
| - "documentation":"<p>Creates a worker. A worker tells your instance how much processing power (vCPU), and memory (GiB) you’ll need to assemble the digital assets held within a particular instance. You can specify certain instance types to use, or let the worker know which instances types to exclude.</p>", |
| 501 | + "documentation":"<p>Creates a worker. A worker tells your instance how much processing power (vCPU), and memory (GiB) you’ll need to assemble the digital assets held within a particular instance. You can specify certain instance types to use, or let the worker know which instances types to exclude.</p> <p>Deadline Cloud limits the number of workers to less than or equal to the fleet's maximum worker count. The service maintains eventual consistency for the worker count. If you make multiple rapid calls to <code>CreateWorker</code> before the field updates, you might exceed your fleet's maximum worker count. For example, if your <code>maxWorkerCount</code> is 10 and you currently have 9 workers, making two quick <code>CreateWorker</code> calls might successfully create 2 workers instead of 1, resulting in 11 total workers.</p>", |
502 | 502 | "endpoint":{"hostPrefix":"scheduling."},
|
503 | 503 | "idempotent":true
|
504 | 504 | },
|
|
3465 | 3465 | },
|
3466 | 3466 | "maxWorkerCount":{
|
3467 | 3467 | "shape":"MinZeroMaxInteger",
|
3468 |
| - "documentation":"<p>The maximum number of workers for the fleet.</p>" |
| 3468 | + "documentation":"<p>The maximum number of workers for the fleet.</p> <p>Deadline Cloud limits the number of workers to less than or equal to the fleet's maximum worker count. The service maintains eventual consistency for the worker count. If you make multiple rapid calls to <code>CreateWorker</code> before the field updates, you might exceed your fleet's maximum worker count. For example, if your <code>maxWorkerCount</code> is 10 and you currently have 9 workers, making two quick <code>CreateWorker</code> calls might successfully create 2 workers instead of 1, resulting in 11 total workers.</p>" |
3469 | 3469 | },
|
3470 | 3470 | "configuration":{
|
3471 | 3471 | "shape":"FleetConfiguration",
|
|
3474 | 3474 | "tags":{
|
3475 | 3475 | "shape":"Tags",
|
3476 | 3476 | "documentation":"<p>Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.</p>"
|
| 3477 | + }, |
| 3478 | + "hostConfiguration":{ |
| 3479 | + "shape":"HostConfiguration", |
| 3480 | + "documentation":"<p>Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.</p>" |
3477 | 3481 | }
|
3478 | 3482 | }
|
3479 | 3483 | },
|
|
5480 | 5484 | "shape":"FleetConfiguration",
|
5481 | 5485 | "documentation":"<p>The configuration setting for the fleet.</p>"
|
5482 | 5486 | },
|
| 5487 | + "hostConfiguration":{ |
| 5488 | + "shape":"HostConfiguration", |
| 5489 | + "documentation":"<p>The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.</p>" |
| 5490 | + }, |
5483 | 5491 | "capabilities":{
|
5484 | 5492 | "shape":"FleetCapabilities",
|
5485 | 5493 | "documentation":"<p>Outlines what the fleet is capable of for minimums, maximums, and naming, in addition to attribute names and values.</p>"
|
|
6845 | 6853 | }
|
6846 | 6854 | }
|
6847 | 6855 | },
|
| 6856 | + "HostConfiguration":{ |
| 6857 | + "type":"structure", |
| 6858 | + "required":["scriptBody"], |
| 6859 | + "members":{ |
| 6860 | + "scriptBody":{ |
| 6861 | + "shape":"HostConfigurationScript", |
| 6862 | + "documentation":"<p>The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. The script runs after a worker enters the <code>STARTING</code> state and before the worker processes tasks.</p> <p>For more information about using the script, see <a href=\"https://docs.aws.amazon.com/deadline-cloud/latest/developerguide/smf-admin.html\">Run scripts as an administrator to configure workers</a> in the <i>Deadline Cloud Developer Guide</i>. </p> <important> <p>The script runs as an administrative user (<code>sudo root</code> on Linux, as an Administrator on Windows). </p> </important>" |
| 6863 | + }, |
| 6864 | + "scriptTimeoutSeconds":{ |
| 6865 | + "shape":"HostConfigurationScriptTimeoutSeconds", |
| 6866 | + "documentation":"<p>The maximum time that the host configuration can run. If the timeout expires, the worker enters the <code>NOT RESPONDING</code> state and shuts down. You are charged for the time that the worker is running the host configuration script.</p> <note> <p>You should configure your fleet for a maximum of one worker while testing your host configuration script to avoid starting additional workers.</p> </note> <p>The default is 300 seconds (5 minutes).</p>" |
| 6867 | + } |
| 6868 | + }, |
| 6869 | + "documentation":"<p>Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. </p> <p>To remove a script from a fleet, use the <a href=\"https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_UpdateFleet.html\">UpdateFleet</a> operation with the <code>hostConfiguration</code> <code>scriptBody</code> parameter set to an empty string (\"\").</p>" |
| 6870 | + }, |
| 6871 | + "HostConfigurationScript":{ |
| 6872 | + "type":"string", |
| 6873 | + "max":15000, |
| 6874 | + "min":0, |
| 6875 | + "sensitive":true |
| 6876 | + }, |
| 6877 | + "HostConfigurationScriptTimeoutSeconds":{ |
| 6878 | + "type":"integer", |
| 6879 | + "box":true, |
| 6880 | + "max":3600, |
| 6881 | + "min":300 |
| 6882 | + }, |
6848 | 6883 | "HostName":{
|
6849 | 6884 | "type":"string",
|
6850 | 6885 | "pattern":"[a-zA-Z0-9_\\.\\-]{0,255}"
|
|
9940 | 9975 | "documentation":"<p>The operators to include in the search.</p>"
|
9941 | 9976 | }
|
9942 | 9977 | },
|
9943 |
| - "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. <p>You can use two groupings per search each within parenthesis <code>()</code>.</p></p>" |
| 9978 | + "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis <code>()</code>.</p>" |
9944 | 9979 | },
|
9945 | 9980 | "SearchJobsRequest":{
|
9946 | 9981 | "type":"structure",
|
|
9962 | 9997 | },
|
9963 | 9998 | "filterExpressions":{
|
9964 | 9999 | "shape":"SearchGroupedFilterExpressions",
|
9965 |
| - "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. <p>You can use two groupings per search each within parenthesis <code>()</code>.</p></p>" |
| 10000 | + "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis <code>()</code>.</p>" |
9966 | 10001 | },
|
9967 | 10002 | "sortExpressions":{
|
9968 | 10003 | "shape":"SearchSortExpressions",
|
|
10066 | 10101 | },
|
10067 | 10102 | "filterExpressions":{
|
10068 | 10103 | "shape":"SearchGroupedFilterExpressions",
|
10069 |
| - "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. <p>You can use two groupings per search each within parenthesis <code>()</code>.</p></p>" |
| 10104 | + "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis <code>()</code>.</p>" |
10070 | 10105 | },
|
10071 | 10106 | "sortExpressions":{
|
10072 | 10107 | "shape":"SearchSortExpressions",
|
|
10145 | 10180 | },
|
10146 | 10181 | "filterExpressions":{
|
10147 | 10182 | "shape":"SearchGroupedFilterExpressions",
|
10148 |
| - "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. <p>You can use two groupings per search each within parenthesis <code>()</code>.</p></p>" |
| 10183 | + "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis <code>()</code>.</p>" |
10149 | 10184 | },
|
10150 | 10185 | "sortExpressions":{
|
10151 | 10186 | "shape":"SearchSortExpressions",
|
|
10247 | 10282 | },
|
10248 | 10283 | "filterExpressions":{
|
10249 | 10284 | "shape":"SearchGroupedFilterExpressions",
|
10250 |
| - "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. <p>You can use two groupings per search each within parenthesis <code>()</code>.</p></p>" |
| 10285 | + "documentation":"<p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis <code>()</code>.</p>" |
10251 | 10286 | },
|
10252 | 10287 | "sortExpressions":{
|
10253 | 10288 | "shape":"SearchSortExpressions",
|
|
10445 | 10480 | "type":"string",
|
10446 | 10481 | "enum":[
|
10447 | 10482 | "SERVICE_QUOTA_EXCEEDED_EXCEPTION",
|
10448 |
| - "KMS_KEY_LIMIT_EXCEEDED" |
| 10483 | + "KMS_KEY_LIMIT_EXCEEDED", |
| 10484 | + "DEPENDENCY_LIMIT_EXCEEDED" |
10449 | 10485 | ]
|
10450 | 10486 | },
|
10451 | 10487 | "SessionActionDefinition":{
|
@@ -11828,11 +11864,15 @@
|
11828 | 11864 | },
|
11829 | 11865 | "maxWorkerCount":{
|
11830 | 11866 | "shape":"MinZeroMaxInteger",
|
11831 |
| - "documentation":"<p>The maximum number of workers in the fleet.</p>" |
| 11867 | + "documentation":"<p>The maximum number of workers in the fleet.</p> <p>Deadline Cloud limits the number of workers to less than or equal to the fleet's maximum worker count. The service maintains eventual consistency for the worker count. If you make multiple rapid calls to <code>CreateWorker</code> before the field updates, you might exceed your fleet's maximum worker count. For example, if your <code>maxWorkerCount</code> is 10 and you currently have 9 workers, making two quick <code>CreateWorker</code> calls might successfully create 2 workers instead of 1, resulting in 11 total workers.</p>" |
11832 | 11868 | },
|
11833 | 11869 | "configuration":{
|
11834 | 11870 | "shape":"FleetConfiguration",
|
11835 | 11871 | "documentation":"<p>The fleet configuration to update.</p>"
|
| 11872 | + }, |
| 11873 | + "hostConfiguration":{ |
| 11874 | + "shape":"HostConfiguration", |
| 11875 | + "documentation":"<p>Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.</p>" |
11836 | 11876 | }
|
11837 | 11877 | }
|
11838 | 11878 | },
|
|
12451 | 12491 | "log":{
|
12452 | 12492 | "shape":"LogConfiguration",
|
12453 | 12493 | "documentation":"<p>The worker log to update.</p>"
|
| 12494 | + }, |
| 12495 | + "hostConfiguration":{ |
| 12496 | + "shape":"HostConfiguration", |
| 12497 | + "documentation":"<p>The script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.</p>" |
12454 | 12498 | }
|
12455 | 12499 | }
|
12456 | 12500 | },
|
|
0 commit comments