|
1296 | 1296 | "type":"list", |
1297 | 1297 | "member":{"shape":"AmazonResourceName"} |
1298 | 1298 | }, |
| 1299 | + "AmazonRoleResourceName":{ |
| 1300 | + "type":"string", |
| 1301 | + "max":2048, |
| 1302 | + "min":20, |
| 1303 | + "pattern":"^arn:aws:iam::[0-9]{12}:role/.+" |
| 1304 | + }, |
1299 | 1305 | "AndroidPaths":{ |
1300 | 1306 | "type":"list", |
1301 | 1307 | "member":{"shape":"String"} |
|
1619 | 1625 | "vpcConfig":{ |
1620 | 1626 | "shape":"VpcConfig", |
1621 | 1627 | "documentation":"<p>The VPC security groups and subnets that are attached to a project.</p>" |
| 1628 | + }, |
| 1629 | + "environmentVariables":{ |
| 1630 | + "shape":"EnvironmentVariables", |
| 1631 | + "documentation":"<p> A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file. </p> <p> For more information about using test spec files, please see <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html\">Custom test environments </a> in <i>AWS Device Farm.</i> </p>" |
| 1632 | + }, |
| 1633 | + "executionRoleArn":{ |
| 1634 | + "shape":"AmazonRoleResourceName", |
| 1635 | + "documentation":"<p>An IAM role to be assumed by the test host for all runs in the project.</p>" |
1622 | 1636 | } |
1623 | 1637 | }, |
1624 | 1638 | "documentation":"<p>Represents a request to the create project operation.</p>" |
|
2376 | 2390 | "member":{"shape":"Device"} |
2377 | 2391 | }, |
2378 | 2392 | "Double":{"type":"double"}, |
| 2393 | + "EnvironmentVariable":{ |
| 2394 | + "type":"structure", |
| 2395 | + "required":[ |
| 2396 | + "name", |
| 2397 | + "value" |
| 2398 | + ], |
| 2399 | + "members":{ |
| 2400 | + "name":{ |
| 2401 | + "shape":"EnvironmentVariableName", |
| 2402 | + "documentation":"<p>The name of the environment variable.</p>" |
| 2403 | + }, |
| 2404 | + "value":{ |
| 2405 | + "shape":"EnvironmentVariableValue", |
| 2406 | + "documentation":"<p>The value of the environment variable.</p>" |
| 2407 | + } |
| 2408 | + }, |
| 2409 | + "documentation":"<p>Information about an environment variable for a project or a run.</p>" |
| 2410 | + }, |
| 2411 | + "EnvironmentVariableName":{ |
| 2412 | + "type":"string", |
| 2413 | + "max":256, |
| 2414 | + "min":1, |
| 2415 | + "pattern":"[a-zA-Z_][a-zA-Z_0-9]*" |
| 2416 | + }, |
| 2417 | + "EnvironmentVariableValue":{ |
| 2418 | + "type":"string", |
| 2419 | + "max":256, |
| 2420 | + "min":1 |
| 2421 | + }, |
| 2422 | + "EnvironmentVariables":{ |
| 2423 | + "type":"list", |
| 2424 | + "member":{"shape":"EnvironmentVariable"}, |
| 2425 | + "max":32, |
| 2426 | + "min":1 |
| 2427 | + }, |
2379 | 2428 | "ExceptionMessage":{"type":"string"}, |
2380 | 2429 | "ExecutionConfiguration":{ |
2381 | 2430 | "type":"structure", |
|
3490 | 3539 | "members":{ |
3491 | 3540 | "ResourceARN":{ |
3492 | 3541 | "shape":"DeviceFarmArn", |
3493 | | - "documentation":"<p>The Amazon Resource Name (ARN) of the resource or resources for which to list tags. You can associate tags with the following Device Farm resources: <code>PROJECT</code>, <code>RUN</code>, <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>, <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and <code>VPCE_CONFIGURATION</code>.</p>" |
| 3542 | + "documentation":"<p>The Amazon Resource Name (ARN) of the resource or resources for which to list tags. You can associate tags with the following Device Farm resources: <code>PROJECT</code>, <code>TESTGRID_PROJECT</code>, <code>RUN</code>, <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>, <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and <code>VPCE_CONFIGURATION</code>.</p>" |
3494 | 3543 | } |
3495 | 3544 | } |
3496 | 3545 | }, |
|
4127 | 4176 | "vpcConfig":{ |
4128 | 4177 | "shape":"VpcConfig", |
4129 | 4178 | "documentation":"<p>The VPC security groups and subnets that are attached to a project.</p>" |
| 4179 | + }, |
| 4180 | + "environmentVariables":{ |
| 4181 | + "shape":"EnvironmentVariables", |
| 4182 | + "documentation":"<p>Environment variables associated with the project.</p>" |
| 4183 | + }, |
| 4184 | + "executionRoleArn":{ |
| 4185 | + "shape":"AmazonRoleResourceName", |
| 4186 | + "documentation":"<p>The IAM execution role associated with the project.</p>" |
4130 | 4187 | } |
4131 | 4188 | }, |
4132 | 4189 | "documentation":"<p>Represents an operating-system neutral workspace for running and managing tests.</p>" |
|
4552 | 4609 | "vpcConfig":{ |
4553 | 4610 | "shape":"VpcConfig", |
4554 | 4611 | "documentation":"<p>The VPC security groups and subnets that are attached to a project.</p>" |
| 4612 | + }, |
| 4613 | + "executionRoleArn":{ |
| 4614 | + "shape":"AmazonRoleResourceName", |
| 4615 | + "documentation":"<p>The IAM role associated with the run.</p>" |
| 4616 | + }, |
| 4617 | + "environmentVariables":{ |
| 4618 | + "shape":"EnvironmentVariables", |
| 4619 | + "documentation":"<p>Environment variables associated with the run.</p>" |
4555 | 4620 | } |
4556 | 4621 | }, |
4557 | 4622 | "documentation":"<p>Represents a test run on a set of devices with a given app package, test parameters, and so on.</p>" |
|
4646 | 4711 | "billingMethod":{ |
4647 | 4712 | "shape":"BillingMethod", |
4648 | 4713 | "documentation":"<p>Specifies the billing method for a test run: <code>metered</code> or <code>unmetered</code>. If the parameter is not specified, the default value is <code>metered</code>.</p> <note> <p>If you have purchased unmetered device slots, you must set this parameter to <code>unmetered</code> to make use of them. Otherwise, your run counts against your metered time.</p> </note>" |
| 4714 | + }, |
| 4715 | + "environmentVariables":{ |
| 4716 | + "shape":"EnvironmentVariables", |
| 4717 | + "documentation":"<p>Environment variables associated with the run.</p>" |
| 4718 | + }, |
| 4719 | + "executionRoleArn":{ |
| 4720 | + "shape":"AmazonRoleResourceName", |
| 4721 | + "documentation":"<p>An IAM role to be assumed by the test host for the run.</p>" |
4649 | 4722 | } |
4650 | 4723 | }, |
4651 | 4724 | "documentation":"<p>Represents the settings for a run. Includes things like location, radio states, auxiliary apps, and network profiles.</p>" |
|
4956 | 5029 | "members":{ |
4957 | 5030 | "ResourceARN":{ |
4958 | 5031 | "shape":"DeviceFarmArn", |
4959 | | - "documentation":"<p>The Amazon Resource Name (ARN) of the resource or resources to which to add tags. You can associate tags with the following Device Farm resources: <code>PROJECT</code>, <code>RUN</code>, <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>, <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and <code>VPCE_CONFIGURATION</code>.</p>" |
| 5032 | + "documentation":"<p>The Amazon Resource Name (ARN) of the resource or resources to which to add tags. You can associate tags with the following Device Farm resources: <code>PROJECT</code>, <code>TESTGRID_PROJECT</code>, <code>RUN</code>, <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>, <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and <code>VPCE_CONFIGURATION</code>.</p>" |
4960 | 5033 | }, |
4961 | 5034 | "Tags":{ |
4962 | 5035 | "shape":"TagList", |
|
5282 | 5355 | "members":{ |
5283 | 5356 | "ResourceARN":{ |
5284 | 5357 | "shape":"DeviceFarmArn", |
5285 | | - "documentation":"<p>The Amazon Resource Name (ARN) of the resource or resources from which to delete tags. You can associate tags with the following Device Farm resources: <code>PROJECT</code>, <code>RUN</code>, <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>, <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and <code>VPCE_CONFIGURATION</code>.</p>" |
| 5358 | + "documentation":"<p>The Amazon Resource Name (ARN) of the resource or resources from which to delete tags. You can associate tags with the following Device Farm resources: <code>PROJECT</code>, <code>TESTGRID_PROJECT</code>, <code>RUN</code>, <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>, <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and <code>VPCE_CONFIGURATION</code>.</p>" |
5286 | 5359 | }, |
5287 | 5360 | "TagKeys":{ |
5288 | 5361 | "shape":"TagKeyList", |
|
5483 | 5556 | "vpcConfig":{ |
5484 | 5557 | "shape":"VpcConfig", |
5485 | 5558 | "documentation":"<p>The VPC security groups and subnets that are attached to a project.</p>" |
| 5559 | + }, |
| 5560 | + "environmentVariables":{ |
| 5561 | + "shape":"EnvironmentVariables", |
| 5562 | + "documentation":"<p> A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file. </p> <p> For more information about using test spec files, please see <a href=\"https://docs.aws.amazon.com/devicefarm/latest/developerguide/custom-test-environments.html\">Custom test environments </a> in <i>AWS Device Farm.</i> </p>" |
| 5563 | + }, |
| 5564 | + "executionRoleArn":{ |
| 5565 | + "shape":"AmazonRoleResourceName", |
| 5566 | + "documentation":"<p>An IAM role to be assumed by the test host for all runs in the project.</p>" |
5486 | 5567 | } |
5487 | 5568 | }, |
5488 | 5569 | "documentation":"<p>Represents a request to the update project operation.</p>" |
|
0 commit comments