@aws-sdk/client-iot-jobs-data-plane 3.170.0 → 3.171.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
@@ -16,7 +16,6 @@ import {
16
16
  UpdateJobExecutionCommandOutput,
17
17
  } from "./commands/UpdateJobExecutionCommand";
18
18
  import { IoTJobsDataPlaneClient } from "./IoTJobsDataPlaneClient";
19
-
20
19
  export declare class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
21
20
  describeJobExecution(
22
21
  args: DescribeJobExecutionCommandInput,
@@ -31,7 +30,6 @@ export declare class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
31
30
  options: __HttpHandlerOptions,
32
31
  cb: (err: any, data?: DescribeJobExecutionCommandOutput) => void
33
32
  ): void;
34
-
35
33
  getPendingJobExecutions(
36
34
  args: GetPendingJobExecutionsCommandInput,
37
35
  options?: __HttpHandlerOptions
@@ -45,7 +43,6 @@ export declare class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
45
43
  options: __HttpHandlerOptions,
46
44
  cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void
47
45
  ): void;
48
-
49
46
  startNextPendingJobExecution(
50
47
  args: StartNextPendingJobExecutionCommandInput,
51
48
  options?: __HttpHandlerOptions
@@ -59,7 +56,6 @@ export declare class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
59
56
  options: __HttpHandlerOptions,
60
57
  cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void
61
58
  ): void;
62
-
63
59
  updateJobExecution(
64
60
  args: UpdateJobExecutionCommandInput,
65
61
  options?: __HttpHandlerOptions
@@ -71,47 +71,26 @@ export declare type ServiceOutputTypes =
71
71
  export interface ClientDefaults
72
72
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
73
73
  requestHandler?: __HttpHandler;
74
-
75
74
  sha256?: __HashConstructor;
76
-
77
75
  urlParser?: __UrlParser;
78
-
79
76
  bodyLengthChecker?: __BodyLengthCalculator;
80
-
81
77
  streamCollector?: __StreamCollector;
82
-
83
78
  base64Decoder?: __Decoder;
84
-
85
79
  base64Encoder?: __Encoder;
86
-
87
80
  utf8Decoder?: __Decoder;
88
-
89
81
  utf8Encoder?: __Encoder;
90
-
91
82
  runtime?: string;
92
-
93
83
  disableHostPrefix?: boolean;
94
-
95
84
  maxAttempts?: number | __Provider<number>;
96
-
97
85
  retryMode?: string | __Provider<string>;
98
-
99
86
  logger?: __Logger;
100
-
101
87
  useDualstackEndpoint?: boolean | __Provider<boolean>;
102
-
103
88
  useFipsEndpoint?: boolean | __Provider<boolean>;
104
-
105
89
  serviceId?: string;
106
-
107
90
  region?: string | __Provider<string>;
108
-
109
91
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
110
-
111
92
  regionInfoProvider?: RegionInfoProvider;
112
-
113
93
  defaultUserAgentProvider?: Provider<__UserAgent>;
114
-
115
94
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
116
95
  }
117
96
  declare type IoTJobsDataPlaneClientConfigType = Partial<
@@ -124,7 +103,6 @@ declare type IoTJobsDataPlaneClientConfigType = Partial<
124
103
  HostHeaderInputConfig &
125
104
  AwsAuthInputConfig &
126
105
  UserAgentInputConfig;
127
-
128
106
  export interface IoTJobsDataPlaneClientConfig
129
107
  extends IoTJobsDataPlaneClientConfigType {}
130
108
  declare type IoTJobsDataPlaneClientResolvedConfigType =
@@ -136,10 +114,8 @@ declare type IoTJobsDataPlaneClientResolvedConfigType =
136
114
  HostHeaderResolvedConfig &
137
115
  AwsAuthResolvedConfig &
138
116
  UserAgentResolvedConfig;
139
-
140
117
  export interface IoTJobsDataPlaneClientResolvedConfig
141
118
  extends IoTJobsDataPlaneClientResolvedConfigType {}
142
-
143
119
  export declare class IoTJobsDataPlaneClient extends __Client<
144
120
  __HttpHandlerOptions,
145
121
  ServiceInputTypes,
@@ -148,7 +124,6 @@ export declare class IoTJobsDataPlaneClient extends __Client<
148
124
  > {
149
125
  readonly config: IoTJobsDataPlaneClientResolvedConfig;
150
126
  constructor(configuration: IoTJobsDataPlaneClientConfig);
151
-
152
127
  destroy(): void;
153
128
  }
154
129
  export {};
@@ -19,7 +19,6 @@ export interface DescribeJobExecutionCommandInput
19
19
  export interface DescribeJobExecutionCommandOutput
20
20
  extends DescribeJobExecutionResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class DescribeJobExecutionCommand extends $Command<
24
23
  DescribeJobExecutionCommandInput,
25
24
  DescribeJobExecutionCommandOutput,
@@ -27,7 +26,6 @@ export declare class DescribeJobExecutionCommand extends $Command<
27
26
  > {
28
27
  readonly input: DescribeJobExecutionCommandInput;
29
28
  constructor(input: DescribeJobExecutionCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: IoTJobsDataPlaneClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface GetPendingJobExecutionsCommandInput
19
19
  export interface GetPendingJobExecutionsCommandOutput
20
20
  extends GetPendingJobExecutionsResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class GetPendingJobExecutionsCommand extends $Command<
24
23
  GetPendingJobExecutionsCommandInput,
25
24
  GetPendingJobExecutionsCommandOutput,
@@ -27,7 +26,6 @@ export declare class GetPendingJobExecutionsCommand extends $Command<
27
26
  > {
28
27
  readonly input: GetPendingJobExecutionsCommandInput;
29
28
  constructor(input: GetPendingJobExecutionsCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: IoTJobsDataPlaneClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface StartNextPendingJobExecutionCommandInput
19
19
  export interface StartNextPendingJobExecutionCommandOutput
20
20
  extends StartNextPendingJobExecutionResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class StartNextPendingJobExecutionCommand extends $Command<
24
23
  StartNextPendingJobExecutionCommandInput,
25
24
  StartNextPendingJobExecutionCommandOutput,
@@ -27,7 +26,6 @@ export declare class StartNextPendingJobExecutionCommand extends $Command<
27
26
  > {
28
27
  readonly input: StartNextPendingJobExecutionCommandInput;
29
28
  constructor(input: StartNextPendingJobExecutionCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: IoTJobsDataPlaneClientResolvedConfig,
@@ -19,7 +19,6 @@ export interface UpdateJobExecutionCommandInput
19
19
  export interface UpdateJobExecutionCommandOutput
20
20
  extends UpdateJobExecutionResponse,
21
21
  __MetadataBearer {}
22
-
23
22
  export declare class UpdateJobExecutionCommand extends $Command<
24
23
  UpdateJobExecutionCommandInput,
25
24
  UpdateJobExecutionCommandOutput,
@@ -27,7 +26,6 @@ export declare class UpdateJobExecutionCommand extends $Command<
27
26
  > {
28
27
  readonly input: UpdateJobExecutionCommandInput;
29
28
  constructor(input: UpdateJobExecutionCommandInput);
30
-
31
29
  resolveMiddleware(
32
30
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
31
  configuration: IoTJobsDataPlaneClientResolvedConfig,
@@ -2,7 +2,6 @@ import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
4
  } from "@aws-sdk/smithy-client";
5
-
6
5
  export declare class IoTJobsDataPlaneServiceException extends __ServiceException {
7
6
  constructor(options: __ServiceExceptionOptions);
8
7
  }
@@ -1,21 +1,16 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { IoTJobsDataPlaneServiceException as __BaseException } from "./IoTJobsDataPlaneServiceException";
3
-
4
3
  export declare class CertificateValidationException extends __BaseException {
5
4
  readonly name: "CertificateValidationException";
6
5
  readonly $fault: "client";
7
-
8
6
  constructor(
9
7
  opts: __ExceptionOptionType<CertificateValidationException, __BaseException>
10
8
  );
11
9
  }
12
10
  export interface DescribeJobExecutionRequest {
13
11
  jobId: string | undefined;
14
-
15
12
  thingName: string | undefined;
16
-
17
13
  includeJobDocument?: boolean;
18
-
19
14
  executionNumber?: number;
20
15
  }
21
16
  export declare enum JobExecutionStatus {
@@ -28,76 +23,54 @@ export declare enum JobExecutionStatus {
28
23
  SUCCEEDED = "SUCCEEDED",
29
24
  TIMED_OUT = "TIMED_OUT",
30
25
  }
31
-
32
26
  export interface JobExecution {
33
27
  jobId?: string;
34
-
35
28
  thingName?: string;
36
-
37
29
  status?: JobExecutionStatus | string;
38
-
39
30
  statusDetails?: Record<string, string>;
40
-
41
31
  queuedAt?: number;
42
-
43
32
  startedAt?: number;
44
-
45
33
  lastUpdatedAt?: number;
46
-
47
34
  approximateSecondsBeforeTimedOut?: number;
48
-
49
35
  versionNumber?: number;
50
-
51
36
  executionNumber?: number;
52
-
53
37
  jobDocument?: string;
54
38
  }
55
39
  export interface DescribeJobExecutionResponse {
56
40
  execution?: JobExecution;
57
41
  }
58
-
59
42
  export declare class InvalidRequestException extends __BaseException {
60
43
  readonly name: "InvalidRequestException";
61
44
  readonly $fault: "client";
62
-
63
45
  constructor(
64
46
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
65
47
  );
66
48
  }
67
-
68
49
  export declare class ResourceNotFoundException extends __BaseException {
69
50
  readonly name: "ResourceNotFoundException";
70
51
  readonly $fault: "client";
71
-
72
52
  constructor(
73
53
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
74
54
  );
75
55
  }
76
-
77
56
  export declare class ServiceUnavailableException extends __BaseException {
78
57
  readonly name: "ServiceUnavailableException";
79
58
  readonly $fault: "server";
80
-
81
59
  constructor(
82
60
  opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
83
61
  );
84
62
  }
85
-
86
63
  export declare class TerminalStateException extends __BaseException {
87
64
  readonly name: "TerminalStateException";
88
65
  readonly $fault: "client";
89
-
90
66
  constructor(
91
67
  opts: __ExceptionOptionType<TerminalStateException, __BaseException>
92
68
  );
93
69
  }
94
-
95
70
  export declare class ThrottlingException extends __BaseException {
96
71
  readonly name: "ThrottlingException";
97
72
  readonly $fault: "client";
98
-
99
73
  payload?: Uint8Array;
100
-
101
74
  constructor(
102
75
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
103
76
  );
@@ -105,30 +78,21 @@ export declare class ThrottlingException extends __BaseException {
105
78
  export interface GetPendingJobExecutionsRequest {
106
79
  thingName: string | undefined;
107
80
  }
108
-
109
81
  export interface JobExecutionSummary {
110
82
  jobId?: string;
111
-
112
83
  queuedAt?: number;
113
-
114
84
  startedAt?: number;
115
-
116
85
  lastUpdatedAt?: number;
117
-
118
86
  versionNumber?: number;
119
-
120
87
  executionNumber?: number;
121
88
  }
122
89
  export interface GetPendingJobExecutionsResponse {
123
90
  inProgressJobs?: JobExecutionSummary[];
124
-
125
91
  queuedJobs?: JobExecutionSummary[];
126
92
  }
127
-
128
93
  export declare class InvalidStateTransitionException extends __BaseException {
129
94
  readonly name: "InvalidStateTransitionException";
130
95
  readonly $fault: "client";
131
-
132
96
  constructor(
133
97
  opts: __ExceptionOptionType<
134
98
  InvalidStateTransitionException,
@@ -138,9 +102,7 @@ export declare class InvalidStateTransitionException extends __BaseException {
138
102
  }
139
103
  export interface StartNextPendingJobExecutionRequest {
140
104
  thingName: string | undefined;
141
-
142
105
  statusDetails?: Record<string, string>;
143
-
144
106
  stepTimeoutInMinutes?: number;
145
107
  }
146
108
  export interface StartNextPendingJobExecutionResponse {
@@ -148,75 +110,52 @@ export interface StartNextPendingJobExecutionResponse {
148
110
  }
149
111
  export interface UpdateJobExecutionRequest {
150
112
  jobId: string | undefined;
151
-
152
113
  thingName: string | undefined;
153
-
154
114
  status: JobExecutionStatus | string | undefined;
155
-
156
115
  statusDetails?: Record<string, string>;
157
-
158
116
  stepTimeoutInMinutes?: number;
159
-
160
117
  expectedVersion?: number;
161
-
162
118
  includeJobExecutionState?: boolean;
163
-
164
119
  includeJobDocument?: boolean;
165
-
166
120
  executionNumber?: number;
167
121
  }
168
-
169
122
  export interface JobExecutionState {
170
123
  status?: JobExecutionStatus | string;
171
-
172
124
  statusDetails?: Record<string, string>;
173
-
174
125
  versionNumber?: number;
175
126
  }
176
127
  export interface UpdateJobExecutionResponse {
177
128
  executionState?: JobExecutionState;
178
-
179
129
  jobDocument?: string;
180
130
  }
181
-
182
131
  export declare const DescribeJobExecutionRequestFilterSensitiveLog: (
183
132
  obj: DescribeJobExecutionRequest
184
133
  ) => any;
185
-
186
134
  export declare const JobExecutionFilterSensitiveLog: (obj: JobExecution) => any;
187
-
188
135
  export declare const DescribeJobExecutionResponseFilterSensitiveLog: (
189
136
  obj: DescribeJobExecutionResponse
190
137
  ) => any;
191
-
192
138
  export declare const GetPendingJobExecutionsRequestFilterSensitiveLog: (
193
139
  obj: GetPendingJobExecutionsRequest
194
140
  ) => any;
195
-
196
141
  export declare const JobExecutionSummaryFilterSensitiveLog: (
197
142
  obj: JobExecutionSummary
198
143
  ) => any;
199
-
200
144
  export declare const GetPendingJobExecutionsResponseFilterSensitiveLog: (
201
145
  obj: GetPendingJobExecutionsResponse
202
146
  ) => any;
203
-
204
147
  export declare const StartNextPendingJobExecutionRequestFilterSensitiveLog: (
205
148
  obj: StartNextPendingJobExecutionRequest
206
149
  ) => any;
207
-
208
150
  export declare const StartNextPendingJobExecutionResponseFilterSensitiveLog: (
209
151
  obj: StartNextPendingJobExecutionResponse
210
152
  ) => any;
211
-
212
153
  export declare const UpdateJobExecutionRequestFilterSensitiveLog: (
213
154
  obj: UpdateJobExecutionRequest
214
155
  ) => any;
215
-
216
156
  export declare const JobExecutionStateFilterSensitiveLog: (
217
157
  obj: JobExecutionState
218
158
  ) => any;
219
-
220
159
  export declare const UpdateJobExecutionResponseFilterSensitiveLog: (
221
160
  obj: UpdateJobExecutionResponse
222
161
  ) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: IoTJobsDataPlaneClientConfig
6
5
  ) => {
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: IoTJobsDataPlaneClientConfig
6
5
  ) => {
@@ -1,5 +1,4 @@
1
1
  import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient";
2
-
3
2
  export declare const getRuntimeConfig: (
4
3
  config: IoTJobsDataPlaneClientConfig
5
4
  ) => {
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient";
3
-
4
3
  export declare const getRuntimeConfig: (
5
4
  config: IoTJobsDataPlaneClientConfig
6
5
  ) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iot-jobs-data-plane",
3
3
  "description": "AWS SDK for JavaScript Iot Jobs Data Plane Client for Node.js, Browser and React Native",
4
- "version": "3.170.0",
4
+ "version": "3.171.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.171.0",
23
+ "@aws-sdk/config-resolver": "3.171.0",
24
+ "@aws-sdk/credential-provider-node": "3.171.0",
25
+ "@aws-sdk/fetch-http-handler": "3.171.0",
26
+ "@aws-sdk/hash-node": "3.171.0",
27
+ "@aws-sdk/invalid-dependency": "3.171.0",
28
+ "@aws-sdk/middleware-content-length": "3.171.0",
29
+ "@aws-sdk/middleware-host-header": "3.171.0",
30
+ "@aws-sdk/middleware-logger": "3.171.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.171.0",
32
+ "@aws-sdk/middleware-retry": "3.171.0",
33
+ "@aws-sdk/middleware-serde": "3.171.0",
34
+ "@aws-sdk/middleware-signing": "3.171.0",
35
+ "@aws-sdk/middleware-stack": "3.171.0",
36
+ "@aws-sdk/middleware-user-agent": "3.171.0",
37
+ "@aws-sdk/node-config-provider": "3.171.0",
38
+ "@aws-sdk/node-http-handler": "3.171.0",
39
+ "@aws-sdk/protocol-http": "3.171.0",
40
+ "@aws-sdk/smithy-client": "3.171.0",
41
+ "@aws-sdk/types": "3.171.0",
42
+ "@aws-sdk/url-parser": "3.171.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.171.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.171.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.171.0",
50
+ "@aws-sdk/util-user-agent-node": "3.171.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1"