@aws-sdk/client-device-farm 3.774.0 → 3.777.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/DeviceFarmClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/CreateDevicePoolCommand.d.ts +8 -8
  8. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateNetworkProfileCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateProjectCommand.d.ts +1 -20
  11. package/dist-types/commands/CreateRemoteAccessSessionCommand.d.ts +9 -9
  12. package/dist-types/commands/CreateTestGridProjectCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateTestGridUrlCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateUploadCommand.d.ts +1 -25
  15. package/dist-types/commands/CreateVPCEConfigurationCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteDevicePoolCommand.d.ts +7 -4
  17. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteNetworkProfileCommand.d.ts +1 -0
  19. package/dist-types/commands/DeleteProjectCommand.d.ts +7 -4
  20. package/dist-types/commands/DeleteRemoteAccessSessionCommand.d.ts +7 -4
  21. package/dist-types/commands/DeleteRunCommand.d.ts +7 -4
  22. package/dist-types/commands/DeleteTestGridProjectCommand.d.ts +1 -0
  23. package/dist-types/commands/DeleteUploadCommand.d.ts +7 -4
  24. package/dist-types/commands/DeleteVPCEConfigurationCommand.d.ts +1 -0
  25. package/dist-types/commands/GetAccountSettingsCommand.d.ts +9 -9
  26. package/dist-types/commands/GetDeviceCommand.d.ts +22 -22
  27. package/dist-types/commands/GetDeviceInstanceCommand.d.ts +1 -0
  28. package/dist-types/commands/GetDevicePoolCommand.d.ts +5 -5
  29. package/dist-types/commands/GetDevicePoolCompatibilityCommand.d.ts +8 -8
  30. package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -0
  31. package/dist-types/commands/GetJobCommand.d.ts +5 -5
  32. package/dist-types/commands/GetNetworkProfileCommand.d.ts +1 -0
  33. package/dist-types/commands/GetOfferingStatusCommand.d.ts +1 -38
  34. package/dist-types/commands/GetProjectCommand.d.ts +1 -20
  35. package/dist-types/commands/GetRemoteAccessSessionCommand.d.ts +5 -5
  36. package/dist-types/commands/GetRunCommand.d.ts +1 -40
  37. package/dist-types/commands/GetSuiteCommand.d.ts +5 -5
  38. package/dist-types/commands/GetTestCommand.d.ts +5 -5
  39. package/dist-types/commands/GetTestGridProjectCommand.d.ts +1 -0
  40. package/dist-types/commands/GetTestGridSessionCommand.d.ts +1 -0
  41. package/dist-types/commands/GetUploadCommand.d.ts +5 -5
  42. package/dist-types/commands/GetVPCEConfigurationCommand.d.ts +1 -0
  43. package/dist-types/commands/InstallToRemoteAccessSessionCommand.d.ts +6 -6
  44. package/dist-types/commands/ListArtifactsCommand.d.ts +8 -5
  45. package/dist-types/commands/ListDeviceInstancesCommand.d.ts +1 -0
  46. package/dist-types/commands/ListDevicePoolsCommand.d.ts +20 -20
  47. package/dist-types/commands/ListDevicesCommand.d.ts +7 -4
  48. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  49. package/dist-types/commands/ListJobsCommand.d.ts +7 -4
  50. package/dist-types/commands/ListNetworkProfilesCommand.d.ts +1 -0
  51. package/dist-types/commands/ListOfferingPromotionsCommand.d.ts +1 -0
  52. package/dist-types/commands/ListOfferingTransactionsCommand.d.ts +1 -93
  53. package/dist-types/commands/ListOfferingsCommand.d.ts +45 -45
  54. package/dist-types/commands/ListProjectsCommand.d.ts +1 -28
  55. package/dist-types/commands/ListRemoteAccessSessionsCommand.d.ts +6 -6
  56. package/dist-types/commands/ListRunsCommand.d.ts +1 -43
  57. package/dist-types/commands/ListSamplesCommand.d.ts +6 -6
  58. package/dist-types/commands/ListSuitesCommand.d.ts +6 -6
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  60. package/dist-types/commands/ListTestGridProjectsCommand.d.ts +1 -0
  61. package/dist-types/commands/ListTestGridSessionActionsCommand.d.ts +1 -0
  62. package/dist-types/commands/ListTestGridSessionArtifactsCommand.d.ts +1 -0
  63. package/dist-types/commands/ListTestGridSessionsCommand.d.ts +1 -0
  64. package/dist-types/commands/ListTestsCommand.d.ts +6 -6
  65. package/dist-types/commands/ListUniqueProblemsCommand.d.ts +6 -6
  66. package/dist-types/commands/ListUploadsCommand.d.ts +6 -6
  67. package/dist-types/commands/ListVPCEConfigurationsCommand.d.ts +1 -0
  68. package/dist-types/commands/PurchaseOfferingCommand.d.ts +1 -35
  69. package/dist-types/commands/RenewOfferingCommand.d.ts +1 -35
  70. package/dist-types/commands/ScheduleRunCommand.d.ts +10 -10
  71. package/dist-types/commands/StopJobCommand.d.ts +1 -0
  72. package/dist-types/commands/StopRemoteAccessSessionCommand.d.ts +1 -0
  73. package/dist-types/commands/StopRunCommand.d.ts +5 -5
  74. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  75. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  76. package/dist-types/commands/UpdateDeviceInstanceCommand.d.ts +1 -0
  77. package/dist-types/commands/UpdateDevicePoolCommand.d.ts +11 -11
  78. package/dist-types/commands/UpdateInstanceProfileCommand.d.ts +1 -0
  79. package/dist-types/commands/UpdateNetworkProfileCommand.d.ts +1 -0
  80. package/dist-types/commands/UpdateProjectCommand.d.ts +1 -21
  81. package/dist-types/commands/UpdateTestGridProjectCommand.d.ts +1 -0
  82. package/dist-types/commands/UpdateUploadCommand.d.ts +1 -0
  83. package/dist-types/commands/UpdateVPCEConfigurationCommand.d.ts +1 -0
  84. package/package.json +33 -33
@@ -40,8 +40,6 @@ const defaultDeviceFarmHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultDeviceFarmHttpAuthSchemeProvider = defaultDeviceFarmHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -187,12 +187,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
187
187
 
188
188
  // src/endpoint/EndpointParameters.ts
189
189
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
190
- return {
191
- ...options,
190
+ return Object.assign(options, {
192
191
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
193
192
  useFipsEndpoint: options.useFipsEndpoint ?? false,
194
193
  defaultSigningName: "devicefarm"
195
- };
194
+ });
196
195
  }, "resolveClientEndpointParameters");
197
196
  var commonParams = {
198
197
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -249,22 +248,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
249
248
  }, "resolveHttpAuthRuntimeConfig");
250
249
 
251
250
  // src/runtimeExtensions.ts
252
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
253
251
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
254
- const extensionConfiguration = {
255
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
256
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
257
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
258
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
259
- };
252
+ const extensionConfiguration = Object.assign(
253
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
254
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
255
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
256
+ getHttpAuthExtensionConfiguration(runtimeConfig)
257
+ );
260
258
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
261
- return {
262
- ...runtimeConfig,
263
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
264
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
265
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
266
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
267
- };
259
+ return Object.assign(
260
+ runtimeConfig,
261
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
262
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
263
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
264
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
265
+ );
268
266
  }, "resolveRuntimeExtensions");
269
267
 
270
268
  // src/DeviceFarmClient.ts
@@ -278,6 +276,8 @@ var DeviceFarmClient = class extends import_smithy_client.Client {
278
276
  config;
279
277
  constructor(...[configuration]) {
280
278
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
279
+ super(_config_0);
280
+ this.initConfig = _config_0;
281
281
  const _config_1 = resolveClientEndpointParameters(_config_0);
282
282
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
283
283
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -286,7 +286,6 @@ var DeviceFarmClient = class extends import_smithy_client.Client {
286
286
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
287
287
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
288
288
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
289
- super(_config_8);
290
289
  this.config = _config_8;
291
290
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
292
291
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class DeviceFarmClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class DeviceFarmClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultDeviceFarmHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "devicefarm",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -89,26 +89,26 @@ declare const CreateDevicePoolCommand_base: {
89
89
  * @throws {@link DeviceFarmServiceException}
90
90
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
91
91
  *
92
- * @public
92
+ *
93
93
  * @example To create a new device pool
94
94
  * ```javascript
95
95
  * // The following example creates a new device pool named MyDevicePool inside an existing project.
96
96
  * const input = {
97
- * "name": "MyDevicePool",
98
- * "description": "My Android devices",
99
- * "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
100
- * "rules": []
97
+ * description: "My Android devices",
98
+ * name: "MyDevicePool",
99
+ * projectArn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456",
100
+ * rules: []
101
101
  * };
102
102
  * const command = new CreateDevicePoolCommand(input);
103
103
  * const response = await client.send(command);
104
- * /* response ==
104
+ * /* response is
105
105
  * {
106
- * "devicePool": {}
106
+ * devicePool: { /* empty *\/ }
107
107
  * }
108
108
  * *\/
109
- * // example id: createdevicepool-example-1470862210860
110
109
  * ```
111
110
  *
111
+ * @public
112
112
  */
113
113
  export declare class CreateDevicePoolCommand extends CreateDevicePoolCommand_base {
114
114
  /** @internal type navigation helper, not in runtime. */
@@ -82,6 +82,7 @@ declare const CreateInstanceProfileCommand_base: {
82
82
  * @throws {@link DeviceFarmServiceException}
83
83
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class CreateInstanceProfileCommand extends CreateInstanceProfileCommand_base {
@@ -90,6 +90,7 @@ declare const CreateNetworkProfileCommand_base: {
90
90
  * @throws {@link DeviceFarmServiceException}
91
91
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
92
92
  *
93
+ *
93
94
  * @public
94
95
  */
95
96
  export declare class CreateNetworkProfileCommand extends CreateNetworkProfileCommand_base {
@@ -93,27 +93,8 @@ declare const CreateProjectCommand_base: {
93
93
  * @throws {@link DeviceFarmServiceException}
94
94
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
95
95
  *
96
- * @public
97
- * @example To create a new project
98
- * ```javascript
99
- * // The following example creates a new project named MyProject.
100
- * const input = {
101
- * "name": "MyProject"
102
- * };
103
- * const command = new CreateProjectCommand(input);
104
- * const response = await client.send(command);
105
- * /* response ==
106
- * {
107
- * "project": {
108
- * "name": "MyProject",
109
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE",
110
- * "created": "1472660939.152"
111
- * }
112
- * }
113
- * *\/
114
- * // example id: createproject-example-1470862210860
115
- * ```
116
96
  *
97
+ * @public
117
98
  */
118
99
  export declare class CreateProjectCommand extends CreateProjectCommand_base {
119
100
  /** @internal type navigation helper, not in runtime. */
@@ -174,28 +174,28 @@ declare const CreateRemoteAccessSessionCommand_base: {
174
174
  * @throws {@link DeviceFarmServiceException}
175
175
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
176
176
  *
177
- * @public
177
+ *
178
178
  * @example To create a remote access session
179
179
  * ```javascript
180
180
  * // The following example creates a remote access session named MySession.
181
181
  * const input = {
182
- * "name": "MySession",
183
- * "configuration": {
184
- * "billingMethod": "METERED"
182
+ * configuration: {
183
+ * billingMethod: "METERED"
185
184
  * },
186
- * "deviceArn": "arn:aws:devicefarm:us-west-2::device:123EXAMPLE",
187
- * "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
185
+ * deviceArn: "arn:aws:devicefarm:us-west-2::device:123EXAMPLE",
186
+ * name: "MySession",
187
+ * projectArn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
188
188
  * };
189
189
  * const command = new CreateRemoteAccessSessionCommand(input);
190
190
  * const response = await client.send(command);
191
- * /* response ==
191
+ * /* response is
192
192
  * {
193
- * "remoteAccessSession": {}
193
+ * remoteAccessSession: { /* empty *\/ }
194
194
  * }
195
195
  * *\/
196
- * // example id: to-create-a-remote-access-session-1470970668274
197
196
  * ```
198
197
  *
198
+ * @public
199
199
  */
200
200
  export declare class CreateRemoteAccessSessionCommand extends CreateRemoteAccessSessionCommand_base {
201
201
  /** @internal type navigation helper, not in runtime. */
@@ -89,6 +89,7 @@ declare const CreateTestGridProjectCommand_base: {
89
89
  * @throws {@link DeviceFarmServiceException}
90
90
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
91
91
  *
92
+ *
92
93
  * @public
93
94
  */
94
95
  export declare class CreateTestGridProjectCommand extends CreateTestGridProjectCommand_base {
@@ -67,6 +67,7 @@ declare const CreateTestGridUrlCommand_base: {
67
67
  * @throws {@link DeviceFarmServiceException}
68
68
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
69
69
  *
70
+ *
70
71
  * @public
71
72
  */
72
73
  export declare class CreateTestGridUrlCommand extends CreateTestGridUrlCommand_base {
@@ -80,32 +80,8 @@ declare const CreateUploadCommand_base: {
80
80
  * @throws {@link DeviceFarmServiceException}
81
81
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
82
82
  *
83
- * @public
84
- * @example To create a new test package upload
85
- * ```javascript
86
- * // The following example creates a new Appium Python test package upload inside an existing project.
87
- * const input = {
88
- * "name": "MyAppiumPythonUpload",
89
- * "type": "APPIUM_PYTHON_TEST_PACKAGE",
90
- * "projectArn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
91
- * };
92
- * const command = new CreateUploadCommand(input);
93
- * const response = await client.send(command);
94
- * /* response ==
95
- * {
96
- * "upload": {
97
- * "name": "MyAppiumPythonUpload",
98
- * "type": "APPIUM_PYTHON_TEST_PACKAGE",
99
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:upload:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/b5340a65-3da7-4da6-a26e-12345EXAMPLE",
100
- * "created": "1472661404.186",
101
- * "status": "INITIALIZED",
102
- * "url": "https://prod-us-west-2-uploads.s3-us-west-2.amazonaws.com/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A123456789101%3Aproject%3A5e01a8c7-c861-4c0a-b1d5-12345EXAMPLE/uploads/arn%3Aaws%3Adevicefarm%3Aus-west-2%3A123456789101%3Aupload%3A5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/b5340a65-3da7-4da6-a26e-12345EXAMPLE/MyAppiumPythonUpload?AWSAccessKeyId=1234567891011EXAMPLE&Expires=1472747804&Signature=1234567891011EXAMPLE"
103
- * }
104
- * }
105
- * *\/
106
- * // example id: createupload-example-1470864711775
107
- * ```
108
83
  *
84
+ * @public
109
85
  */
110
86
  export declare class CreateUploadCommand extends CreateUploadCommand_base {
111
87
  /** @internal type navigation helper, not in runtime. */
@@ -73,6 +73,7 @@ declare const CreateVPCEConfigurationCommand_base: {
73
73
  * @throws {@link DeviceFarmServiceException}
74
74
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class CreateVPCEConfigurationCommand extends CreateVPCEConfigurationCommand_base {
@@ -65,18 +65,21 @@ declare const DeleteDevicePoolCommand_base: {
65
65
  * @throws {@link DeviceFarmServiceException}
66
66
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
67
67
  *
68
- * @public
68
+ *
69
69
  * @example To delete a device pool
70
70
  * ```javascript
71
71
  * // The following example deletes a specific device pool.
72
72
  * const input = {
73
- * "arn": "arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID"
73
+ * arn: "arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID"
74
74
  * };
75
75
  * const command = new DeleteDevicePoolCommand(input);
76
- * await client.send(command);
77
- * // example id: deletedevicepool-example-1470866975494
76
+ * const response = await client.send(command);
77
+ * /* response is
78
+ * { /* empty *\/ }
79
+ * *\/
78
80
  * ```
79
81
  *
82
+ * @public
80
83
  */
81
84
  export declare class DeleteDevicePoolCommand extends DeleteDevicePoolCommand_base {
82
85
  /** @internal type navigation helper, not in runtime. */
@@ -64,6 +64,7 @@ declare const DeleteInstanceProfileCommand_base: {
64
64
  * @throws {@link DeviceFarmServiceException}
65
65
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
66
66
  *
67
+ *
67
68
  * @public
68
69
  */
69
70
  export declare class DeleteInstanceProfileCommand extends DeleteInstanceProfileCommand_base {
@@ -64,6 +64,7 @@ declare const DeleteNetworkProfileCommand_base: {
64
64
  * @throws {@link DeviceFarmServiceException}
65
65
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
66
66
  *
67
+ *
67
68
  * @public
68
69
  */
69
70
  export declare class DeleteNetworkProfileCommand extends DeleteNetworkProfileCommand_base {
@@ -65,18 +65,21 @@ declare const DeleteProjectCommand_base: {
65
65
  * @throws {@link DeviceFarmServiceException}
66
66
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
67
67
  *
68
- * @public
68
+ *
69
69
  * @example To delete a project
70
70
  * ```javascript
71
71
  * // The following example deletes a specific project.
72
72
  * const input = {
73
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
73
+ * arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
74
74
  * };
75
75
  * const command = new DeleteProjectCommand(input);
76
- * await client.send(command);
77
- * // example id: deleteproject-example-1470867374212
76
+ * const response = await client.send(command);
77
+ * /* response is
78
+ * { /* empty *\/ }
79
+ * *\/
78
80
  * ```
79
81
  *
82
+ * @public
80
83
  */
81
84
  export declare class DeleteProjectCommand extends DeleteProjectCommand_base {
82
85
  /** @internal type navigation helper, not in runtime. */
@@ -64,18 +64,21 @@ declare const DeleteRemoteAccessSessionCommand_base: {
64
64
  * @throws {@link DeviceFarmServiceException}
65
65
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
66
66
  *
67
- * @public
67
+ *
68
68
  * @example To delete a specific remote access session
69
69
  * ```javascript
70
70
  * // The following example deletes a specific remote access session.
71
71
  * const input = {
72
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456"
72
+ * arn: "arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456"
73
73
  * };
74
74
  * const command = new DeleteRemoteAccessSessionCommand(input);
75
- * await client.send(command);
76
- * // example id: to-delete-a-specific-remote-access-session-1470971431677
75
+ * const response = await client.send(command);
76
+ * /* response is
77
+ * { /* empty *\/ }
78
+ * *\/
77
79
  * ```
78
80
  *
81
+ * @public
79
82
  */
80
83
  export declare class DeleteRemoteAccessSessionCommand extends DeleteRemoteAccessSessionCommand_base {
81
84
  /** @internal type navigation helper, not in runtime. */
@@ -65,18 +65,21 @@ declare const DeleteRunCommand_base: {
65
65
  * @throws {@link DeviceFarmServiceException}
66
66
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
67
67
  *
68
- * @public
68
+ *
69
69
  * @example To delete a run
70
70
  * ```javascript
71
71
  * // The following example deletes a specific test run.
72
72
  * const input = {
73
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456"
73
+ * arn: "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456"
74
74
  * };
75
75
  * const command = new DeleteRunCommand(input);
76
- * await client.send(command);
77
- * // example id: deleterun-example-1470867905129
76
+ * const response = await client.send(command);
77
+ * /* response is
78
+ * { /* empty *\/ }
79
+ * *\/
78
80
  * ```
79
81
  *
82
+ * @public
80
83
  */
81
84
  export declare class DeleteRunCommand extends DeleteRunCommand_base {
82
85
  /** @internal type navigation helper, not in runtime. */
@@ -71,6 +71,7 @@ declare const DeleteTestGridProjectCommand_base: {
71
71
  * @throws {@link DeviceFarmServiceException}
72
72
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class DeleteTestGridProjectCommand extends DeleteTestGridProjectCommand_base {
@@ -64,18 +64,21 @@ declare const DeleteUploadCommand_base: {
64
64
  * @throws {@link DeviceFarmServiceException}
65
65
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
66
66
  *
67
- * @public
67
+ *
68
68
  * @example To delete a specific upload
69
69
  * ```javascript
70
70
  * // The following example deletes a specific upload.
71
71
  * const input = {
72
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456"
72
+ * arn: "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456"
73
73
  * };
74
74
  * const command = new DeleteUploadCommand(input);
75
- * await client.send(command);
76
- * // example id: deleteupload-example-1470868363942
75
+ * const response = await client.send(command);
76
+ * /* response is
77
+ * { /* empty *\/ }
78
+ * *\/
77
79
  * ```
78
80
  *
81
+ * @public
79
82
  */
80
83
  export declare class DeleteUploadCommand extends DeleteUploadCommand_base {
81
84
  /** @internal type navigation helper, not in runtime. */
@@ -65,6 +65,7 @@ declare const DeleteVPCEConfigurationCommand_base: {
65
65
  * @throws {@link DeviceFarmServiceException}
66
66
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class DeleteVPCEConfigurationCommand extends DeleteVPCEConfigurationCommand_base {
@@ -83,27 +83,27 @@ declare const GetAccountSettingsCommand_base: {
83
83
  * @throws {@link DeviceFarmServiceException}
84
84
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
85
85
  *
86
- * @public
86
+ *
87
87
  * @example To get information about account settings
88
88
  * ```javascript
89
89
  * // The following example returns information about your Device Farm account settings.
90
- * const input = {};
90
+ * const input = { /* empty *\/ };
91
91
  * const command = new GetAccountSettingsCommand(input);
92
92
  * const response = await client.send(command);
93
- * /* response ==
93
+ * /* response is
94
94
  * {
95
- * "accountSettings": {
96
- * "awsAccountNumber": "123456789101",
97
- * "unmeteredDevices": {
98
- * "ANDROID": 1,
99
- * "IOS": 2
95
+ * accountSettings: {
96
+ * awsAccountNumber: "123456789101",
97
+ * unmeteredDevices: {
98
+ * ANDROID: 1,
99
+ * IOS: 2
100
100
  * }
101
101
  * }
102
102
  * }
103
103
  * *\/
104
- * // example id: to-get-information-about-account-settings-1472567568189
105
104
  * ```
106
105
  *
106
+ * @public
107
107
  */
108
108
  export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {
109
109
  /** @internal type navigation helper, not in runtime. */
@@ -115,43 +115,43 @@ declare const GetDeviceCommand_base: {
115
115
  * @throws {@link DeviceFarmServiceException}
116
116
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
117
117
  *
118
- * @public
118
+ *
119
119
  * @example To get information about a device
120
120
  * ```javascript
121
121
  * // The following example returns information about a specific device.
122
122
  * const input = {
123
- * "arn": "arn:aws:devicefarm:us-west-2::device:123EXAMPLE"
123
+ * arn: "arn:aws:devicefarm:us-west-2::device:123EXAMPLE"
124
124
  * };
125
125
  * const command = new GetDeviceCommand(input);
126
126
  * const response = await client.send(command);
127
- * /* response ==
127
+ * /* response is
128
128
  * {
129
- * "device": {
130
- * "name": "LG G2 (Sprint)",
131
- * "arn": "arn:aws:devicefarm:us-west-2::device:A0E6E6E1059E45918208DF75B2B7EF6C",
132
- * "cpu": {
133
- * "architecture": "armeabi-v7a",
134
- * "clock": 2265.6,
135
- * "frequency": "MHz"
129
+ * device: {
130
+ * arn: "arn:aws:devicefarm:us-west-2::device:A0E6E6E1059E45918208DF75B2B7EF6C",
131
+ * cpu: {
132
+ * architecture: "armeabi-v7a",
133
+ * clock: 2265.6,
134
+ * frequency: "MHz"
136
135
  * },
137
- * "formFactor": "PHONE",
138
- * "heapSize": 256000000,
139
- * "image": "75B2B7EF6C12345EXAMPLE",
140
- * "manufacturer": "LG",
141
- * "memory": 16000000000,
142
- * "model": "G2 (Sprint)",
143
- * "os": "4.2.2",
144
- * "platform": "ANDROID",
145
- * "resolution": {
146
- * "height": 1920,
147
- * "width": 1080
136
+ * formFactor: "PHONE",
137
+ * heapSize: 256000000,
138
+ * image: "75B2B7EF6C12345EXAMPLE",
139
+ * manufacturer: "LG",
140
+ * memory: 16000000000,
141
+ * model: "G2 (Sprint)",
142
+ * name: "LG G2 (Sprint)",
143
+ * os: "4.2.2",
144
+ * platform: "ANDROID",
145
+ * resolution: {
146
+ * height: 1920,
147
+ * width: 1080
148
148
  * }
149
149
  * }
150
150
  * }
151
151
  * *\/
152
- * // example id: getdevice-example-1470870602173
153
152
  * ```
154
153
  *
154
+ * @public
155
155
  */
156
156
  export declare class GetDeviceCommand extends GetDeviceCommand_base {
157
157
  /** @internal type navigation helper, not in runtime. */
@@ -84,6 +84,7 @@ declare const GetDeviceInstanceCommand_base: {
84
84
  * @throws {@link DeviceFarmServiceException}
85
85
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
86
86
  *
87
+ *
87
88
  * @public
88
89
  */
89
90
  export declare class GetDeviceInstanceCommand extends GetDeviceInstanceCommand_base {
@@ -79,23 +79,23 @@ declare const GetDevicePoolCommand_base: {
79
79
  * @throws {@link DeviceFarmServiceException}
80
80
  * <p>Base exception class for all service exceptions from DeviceFarm service.</p>
81
81
  *
82
- * @public
82
+ *
83
83
  * @example To get information about a device pool
84
84
  * ```javascript
85
85
  * // The following example returns information about a specific device pool, given a project ARN.
86
86
  * const input = {
87
- * "arn": "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
87
+ * arn: "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456"
88
88
  * };
89
89
  * const command = new GetDevicePoolCommand(input);
90
90
  * const response = await client.send(command);
91
- * /* response ==
91
+ * /* response is
92
92
  * {
93
- * "devicePool": {}
93
+ * devicePool: { /* empty *\/ }
94
94
  * }
95
95
  * *\/
96
- * // example id: getdevicepool-example-1470870873136
97
96
  * ```
98
97
  *
98
+ * @public
99
99
  */
100
100
  export declare class GetDevicePoolCommand extends GetDevicePoolCommand_base {
101
101
  /** @internal type navigation helper, not in runtime. */