@aws-sdk/client-iot-jobs-data-plane 3.33.0 → 3.36.1

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 (115) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/IoTJobsDataPlane.js +1 -15
  3. package/dist-cjs/IoTJobsDataPlaneClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/DescribeJobExecutionCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/GetPendingJobExecutionsCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/StartNextPendingJobExecutionCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/UpdateJobExecutionCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  9. package/{dist/cjs → dist-cjs}/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  11. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -55
  12. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +0 -6
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  17. package/{dist/es → dist-es}/IoTJobsDataPlane.js +2 -16
  18. package/{dist/es → dist-es}/IoTJobsDataPlaneClient.js +2 -21
  19. package/{dist/es → dist-es}/commands/DescribeJobExecutionCommand.js +4 -30
  20. package/{dist/es → dist-es}/commands/GetPendingJobExecutionsCommand.js +4 -30
  21. package/{dist/es → dist-es}/commands/StartNextPendingJobExecutionCommand.js +4 -30
  22. package/{dist/es → dist-es}/commands/UpdateJobExecutionCommand.js +4 -30
  23. package/{dist/es → dist-es}/endpoints.js +1 -2
  24. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  25. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  26. package/{dist/es → dist-es}/models/models_0.js +0 -55
  27. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +127 -133
  28. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  29. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  30. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  31. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  32. package/{dist/types → dist-types}/IoTJobsDataPlane.d.ts +2 -2
  33. package/{dist/types → dist-types}/IoTJobsDataPlaneClient.d.ts +5 -5
  34. package/{dist/types → dist-types}/commands/DescribeJobExecutionCommand.d.ts +2 -2
  35. package/{dist/types → dist-types}/commands/GetPendingJobExecutionsCommand.d.ts +2 -2
  36. package/{dist/types → dist-types}/commands/StartNextPendingJobExecutionCommand.d.ts +2 -2
  37. package/{dist/types → dist-types}/commands/UpdateJobExecutionCommand.d.ts +2 -2
  38. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  39. package/{index.ts → dist-types/index.d.ts} +0 -0
  40. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  41. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  42. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  43. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  44. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
  45. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  46. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  47. package/{dist/types → dist-types}/ts3.4/IoTJobsDataPlane.d.ts +7 -27
  48. package/dist-types/ts3.4/IoTJobsDataPlaneClient.d.ts +71 -0
  49. package/{dist/types → dist-types}/ts3.4/commands/DescribeJobExecutionCommand.d.ts +4 -22
  50. package/{dist/types → dist-types}/ts3.4/commands/GetPendingJobExecutionsCommand.d.ts +4 -22
  51. package/{dist/types → dist-types}/ts3.4/commands/StartNextPendingJobExecutionCommand.d.ts +4 -22
  52. package/{dist/types → dist-types}/ts3.4/commands/UpdateJobExecutionCommand.d.ts +4 -22
  53. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  54. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  55. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +251 -0
  57. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  58. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  59. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
  60. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  61. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  62. package/package.json +52 -49
  63. package/IoTJobsDataPlane.ts +0 -165
  64. package/IoTJobsDataPlaneClient.ts +0 -266
  65. package/commands/DescribeJobExecutionCommand.ts +0 -94
  66. package/commands/GetPendingJobExecutionsCommand.ts +0 -94
  67. package/commands/StartNextPendingJobExecutionCommand.ts +0 -99
  68. package/commands/UpdateJobExecutionCommand.ts +0 -94
  69. package/dist/cjs/IoTJobsDataPlane.js.map +0 -1
  70. package/dist/cjs/IoTJobsDataPlaneClient.js +0 -54
  71. package/dist/cjs/IoTJobsDataPlaneClient.js.map +0 -1
  72. package/dist/cjs/commands/DescribeJobExecutionCommand.js.map +0 -1
  73. package/dist/cjs/commands/GetPendingJobExecutionsCommand.js.map +0 -1
  74. package/dist/cjs/commands/StartNextPendingJobExecutionCommand.js.map +0 -1
  75. package/dist/cjs/commands/UpdateJobExecutionCommand.js.map +0 -1
  76. package/dist/cjs/endpoints.js.map +0 -1
  77. package/dist/cjs/index.js.map +0 -1
  78. package/dist/cjs/models/index.js.map +0 -1
  79. package/dist/cjs/models/models_0.js.map +0 -1
  80. package/dist/cjs/package.json +0 -91
  81. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  82. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  83. package/dist/cjs/runtimeConfig.js.map +0 -1
  84. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  85. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  86. package/dist/es/IoTJobsDataPlane.js.map +0 -1
  87. package/dist/es/IoTJobsDataPlaneClient.js.map +0 -1
  88. package/dist/es/commands/DescribeJobExecutionCommand.js.map +0 -1
  89. package/dist/es/commands/GetPendingJobExecutionsCommand.js.map +0 -1
  90. package/dist/es/commands/StartNextPendingJobExecutionCommand.js.map +0 -1
  91. package/dist/es/commands/UpdateJobExecutionCommand.js.map +0 -1
  92. package/dist/es/endpoints.js.map +0 -1
  93. package/dist/es/index.js +0 -8
  94. package/dist/es/index.js.map +0 -1
  95. package/dist/es/models/index.js +0 -2
  96. package/dist/es/models/index.js.map +0 -1
  97. package/dist/es/models/models_0.js.map +0 -1
  98. package/dist/es/package.json +0 -91
  99. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  100. package/dist/es/runtimeConfig.browser.js.map +0 -1
  101. package/dist/es/runtimeConfig.js.map +0 -1
  102. package/dist/es/runtimeConfig.native.js.map +0 -1
  103. package/dist/es/runtimeConfig.shared.js.map +0 -1
  104. package/dist/types/ts3.4/IoTJobsDataPlaneClient.d.ts +0 -146
  105. package/dist/types/ts3.4/models/models_0.d.ts +0 -435
  106. package/endpoints.ts +0 -91
  107. package/jest.config.js +0 -4
  108. package/models/models_0.ts +0 -533
  109. package/protocols/Aws_restJson1.ts +0 -848
  110. package/runtimeConfig.browser.ts +0 -40
  111. package/runtimeConfig.native.ts +0 -16
  112. package/runtimeConfig.shared.ts +0 -16
  113. package/runtimeConfig.ts +0 -45
  114. package/tsconfig.es.json +0 -12
  115. package/tsconfig.json +0 -32
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -9,12 +9,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
- /**
13
- * @internal
14
- */
15
12
  export var getRuntimeConfig = function (config) {
16
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
14
  var clientSharedValues = getSharedRuntimeConfig(config);
18
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
19
16
  };
20
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -13,13 +13,9 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
- /**
17
- * @internal
18
- */
19
16
  export var getRuntimeConfig = function (config) {
20
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
18
  emitWarningIfUnsupportedVersion(process.version);
22
19
  var clientSharedValues = getSharedRuntimeConfig(config);
23
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
24
21
  };
25
- //# sourceMappingURL=runtimeConfig.js.map
@@ -1,12 +1,8 @@
1
1
  import { __assign } from "tslib";
2
2
  import { Sha256 } from "@aws-crypto/sha256-js";
3
3
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
- /**
5
- * @internal
6
- */
7
4
  export var getRuntimeConfig = function (config) {
8
5
  var _a;
9
6
  var browserDefaults = getBrowserRuntimeConfig(config);
10
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
11
8
  };
12
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
3
- /**
4
- * @internal
5
- */
2
+ import { defaultRegionInfoProvider } from "./endpoints";
6
3
  export var getRuntimeConfig = function (config) {
7
4
  var _a, _b, _c, _d, _e;
8
5
  return ({
@@ -14,4 +11,3 @@ export var getRuntimeConfig = function (config) {
14
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
15
12
  });
16
13
  };
17
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,9 +1,9 @@
1
- import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
3
3
  import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
4
4
  import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
5
5
  import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
6
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
6
+ import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
7
7
  /**
8
8
  * <p>AWS IoT Jobs is a service that allows you to define a set of jobs — remote operations that are sent to
9
9
  * and executed on one or more devices connected to AWS IoT. For example, you can define a job that instructs a
@@ -1,7 +1,3 @@
1
- import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
2
- import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
3
- import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
4
- import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
5
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
6
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
7
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
@@ -9,7 +5,11 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
9
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
10
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
11
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
12
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
10
+ import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
11
+ import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
12
+ import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
13
13
  export declare type ServiceInputTypes = DescribeJobExecutionCommandInput | GetPendingJobExecutionsCommandInput | StartNextPendingJobExecutionCommandInput | UpdateJobExecutionCommandInput;
14
14
  export declare type ServiceOutputTypes = DescribeJobExecutionCommandOutput | GetPendingJobExecutionsCommandOutput | StartNextPendingJobExecutionCommandOutput | UpdateJobExecutionCommandOutput;
15
15
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
2
4
  import { DescribeJobExecutionRequest, DescribeJobExecutionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeJobExecutionCommandInput extends DescribeJobExecutionRequest {
6
6
  }
7
7
  export interface DescribeJobExecutionCommandOutput extends DescribeJobExecutionResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
2
4
  import { GetPendingJobExecutionsRequest, GetPendingJobExecutionsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetPendingJobExecutionsCommandInput extends GetPendingJobExecutionsRequest {
6
6
  }
7
7
  export interface GetPendingJobExecutionsCommandOutput extends GetPendingJobExecutionsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
2
4
  import { StartNextPendingJobExecutionRequest, StartNextPendingJobExecutionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface StartNextPendingJobExecutionCommandInput extends StartNextPendingJobExecutionRequest {
6
6
  }
7
7
  export interface StartNextPendingJobExecutionCommandOutput extends StartNextPendingJobExecutionResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
2
4
  import { UpdateJobExecutionRequest, UpdateJobExecutionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface UpdateJobExecutionCommandInput extends UpdateJobExecutionRequest {
6
6
  }
7
7
  export interface UpdateJobExecutionCommandOutput extends UpdateJobExecutionResponse, __MetadataBearer {
File without changes
File without changes
File without changes
@@ -1,9 +1,9 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "../commands/DescribeJobExecutionCommand";
2
4
  import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "../commands/GetPendingJobExecutionsCommand";
3
5
  import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "../commands/StartNextPendingJobExecutionCommand";
4
6
  import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "../commands/UpdateJobExecutionCommand";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
7
7
  export declare const serializeAws_restJson1DescribeJobExecutionCommand: (input: DescribeJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
8
  export declare const serializeAws_restJson1GetPendingJobExecutionsCommand: (input: GetPendingJobExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
9
  export declare const serializeAws_restJson1StartNextPendingJobExecutionCommand: (input: StartNextPendingJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -32,8 +32,6 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
- signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined; /**
36
- * @internal
37
- */
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
38
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
39
37
  };
@@ -1,44 +1,24 @@
1
- import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
3
3
  import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
4
4
  import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
5
5
  import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
6
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
7
- /**
8
- * <p>AWS IoT Jobs is a service that allows you to define a set of jobs — remote operations that are sent to
9
- * and executed on one or more devices connected to AWS IoT. For example, you can define a job that instructs a
10
- * set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform
11
- * remote troubleshooting operations.</p>
12
- * <p> To create a job, you make a job document which is a description of the remote operations to be
13
- * performed, and you specify a list of targets that should perform the operations. The targets can be individual
14
- * things, thing groups or both.</p>
15
- * <p> AWS IoT Jobs sends a message to inform the targets that a job is available. The target starts the
16
- * execution of the job by downloading the job document, performing the operations it specifies, and reporting its
17
- * progress to AWS IoT. The Jobs service provides commands to track the progress of a job on a specific target and
18
- * for all the targets of the job</p>
19
- */
6
+ import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
7
+
20
8
  export declare class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
21
- /**
22
- * <p>Gets details of a job execution.</p>
23
- */
9
+
24
10
  describeJobExecution(args: DescribeJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeJobExecutionCommandOutput>;
25
11
  describeJobExecution(args: DescribeJobExecutionCommandInput, cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void): void;
26
12
  describeJobExecution(args: DescribeJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void): void;
27
- /**
28
- * <p>Gets the list of all jobs for a thing that are not in a terminal status.</p>
29
- */
13
+
30
14
  getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<GetPendingJobExecutionsCommandOutput>;
31
15
  getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void): void;
32
16
  getPendingJobExecutions(args: GetPendingJobExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void): void;
33
- /**
34
- * <p>Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.</p>
35
- */
17
+
36
18
  startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartNextPendingJobExecutionCommandOutput>;
37
19
  startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void): void;
38
20
  startNextPendingJobExecution(args: StartNextPendingJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void): void;
39
- /**
40
- * <p>Updates the status of a job execution.</p>
41
- */
21
+
42
22
  updateJobExecution(args: UpdateJobExecutionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateJobExecutionCommandOutput>;
43
23
  updateJobExecution(args: UpdateJobExecutionCommandInput, cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void): void;
44
24
  updateJobExecution(args: UpdateJobExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobExecutionCommandOutput) => void): void;
@@ -0,0 +1,71 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
10
+ import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
11
+ import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
12
+ import { UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput } from "./commands/UpdateJobExecutionCommand";
13
+ export declare type ServiceInputTypes = DescribeJobExecutionCommandInput | GetPendingJobExecutionsCommandInput | StartNextPendingJobExecutionCommandInput | UpdateJobExecutionCommandInput;
14
+ export declare type ServiceOutputTypes = DescribeJobExecutionCommandOutput | GetPendingJobExecutionsCommandOutput | StartNextPendingJobExecutionCommandOutput | UpdateJobExecutionCommandOutput;
15
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
16
+
17
+ requestHandler?: __HttpHandler;
18
+
19
+ sha256?: __HashConstructor;
20
+
21
+ urlParser?: __UrlParser;
22
+
23
+ bodyLengthChecker?: (body: any) => number | undefined;
24
+
25
+ streamCollector?: __StreamCollector;
26
+
27
+ base64Decoder?: __Decoder;
28
+
29
+ base64Encoder?: __Encoder;
30
+
31
+ utf8Decoder?: __Decoder;
32
+
33
+ utf8Encoder?: __Encoder;
34
+
35
+ runtime?: string;
36
+
37
+ disableHostPrefix?: boolean;
38
+
39
+ maxAttempts?: number | __Provider<number>;
40
+
41
+ retryMode?: string | __Provider<string>;
42
+
43
+ logger?: __Logger;
44
+
45
+ serviceId?: string;
46
+
47
+ region?: string | __Provider<string>;
48
+
49
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
50
+
51
+ regionInfoProvider?: RegionInfoProvider;
52
+
53
+ defaultUserAgentProvider?: Provider<__UserAgent>;
54
+ }
55
+ declare type IoTJobsDataPlaneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
56
+
57
+ export interface IoTJobsDataPlaneClientConfig extends IoTJobsDataPlaneClientConfigType {
58
+ }
59
+ declare type IoTJobsDataPlaneClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
60
+
61
+ export interface IoTJobsDataPlaneClientResolvedConfig extends IoTJobsDataPlaneClientResolvedConfigType {
62
+ }
63
+
64
+ export declare class IoTJobsDataPlaneClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IoTJobsDataPlaneClientResolvedConfig> {
65
+
66
+ readonly config: IoTJobsDataPlaneClientResolvedConfig;
67
+ constructor(configuration: IoTJobsDataPlaneClientConfig);
68
+
69
+ destroy(): void;
70
+ }
71
+ export {};
@@ -1,34 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
2
4
  import { DescribeJobExecutionRequest, DescribeJobExecutionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface DescribeJobExecutionCommandInput extends DescribeJobExecutionRequest {
6
6
  }
7
7
  export interface DescribeJobExecutionCommandOutput extends DescribeJobExecutionResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets details of a job execution.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { IoTJobsDataPlaneClient, DescribeJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
15
- * // const { IoTJobsDataPlaneClient, DescribeJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
16
- * const client = new IoTJobsDataPlaneClient(config);
17
- * const command = new DescribeJobExecutionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeJobExecutionCommandInput} for command's `input` shape.
22
- * @see {@link DescribeJobExecutionCommandOutput} for command's `response` shape.
23
- * @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeJobExecutionCommand extends $Command<DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig> {
27
11
  readonly input: DescribeJobExecutionCommandInput;
28
12
  constructor(input: DescribeJobExecutionCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -1,34 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
2
4
  import { GetPendingJobExecutionsRequest, GetPendingJobExecutionsResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface GetPendingJobExecutionsCommandInput extends GetPendingJobExecutionsRequest {
6
6
  }
7
7
  export interface GetPendingJobExecutionsCommandOutput extends GetPendingJobExecutionsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets the list of all jobs for a thing that are not in a terminal status.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { IoTJobsDataPlaneClient, GetPendingJobExecutionsCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
15
- * // const { IoTJobsDataPlaneClient, GetPendingJobExecutionsCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
16
- * const client = new IoTJobsDataPlaneClient(config);
17
- * const command = new GetPendingJobExecutionsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetPendingJobExecutionsCommandInput} for command's `input` shape.
22
- * @see {@link GetPendingJobExecutionsCommandOutput} for command's `response` shape.
23
- * @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class GetPendingJobExecutionsCommand extends $Command<GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput, IoTJobsDataPlaneClientResolvedConfig> {
27
11
  readonly input: GetPendingJobExecutionsCommandInput;
28
12
  constructor(input: GetPendingJobExecutionsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -1,34 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
2
4
  import { StartNextPendingJobExecutionRequest, StartNextPendingJobExecutionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface StartNextPendingJobExecutionCommandInput extends StartNextPendingJobExecutionRequest {
6
6
  }
7
7
  export interface StartNextPendingJobExecutionCommandOutput extends StartNextPendingJobExecutionResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { IoTJobsDataPlaneClient, StartNextPendingJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
15
- * // const { IoTJobsDataPlaneClient, StartNextPendingJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
16
- * const client = new IoTJobsDataPlaneClient(config);
17
- * const command = new StartNextPendingJobExecutionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link StartNextPendingJobExecutionCommandInput} for command's `input` shape.
22
- * @see {@link StartNextPendingJobExecutionCommandOutput} for command's `response` shape.
23
- * @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class StartNextPendingJobExecutionCommand extends $Command<StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig> {
27
11
  readonly input: StartNextPendingJobExecutionCommandInput;
28
12
  constructor(input: StartNextPendingJobExecutionCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -1,34 +1,16 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
3
  import { IoTJobsDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTJobsDataPlaneClient";
2
4
  import { UpdateJobExecutionRequest, UpdateJobExecutionResponse } from "../models/models_0";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
5
5
  export interface UpdateJobExecutionCommandInput extends UpdateJobExecutionRequest {
6
6
  }
7
7
  export interface UpdateJobExecutionCommandOutput extends UpdateJobExecutionResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Updates the status of a job execution.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { IoTJobsDataPlaneClient, UpdateJobExecutionCommand } from "@aws-sdk/client-iot-jobs-data-plane"; // ES Modules import
15
- * // const { IoTJobsDataPlaneClient, UpdateJobExecutionCommand } = require("@aws-sdk/client-iot-jobs-data-plane"); // CommonJS import
16
- * const client = new IoTJobsDataPlaneClient(config);
17
- * const command = new UpdateJobExecutionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link UpdateJobExecutionCommandInput} for command's `input` shape.
22
- * @see {@link UpdateJobExecutionCommandOutput} for command's `response` shape.
23
- * @see {@link IoTJobsDataPlaneClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class UpdateJobExecutionCommand extends $Command<UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput, IoTJobsDataPlaneClientResolvedConfig> {
27
11
  readonly input: UpdateJobExecutionCommandInput;
28
12
  constructor(input: UpdateJobExecutionCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTJobsDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateJobExecutionCommandInput, UpdateJobExecutionCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
File without changes
File without changes