Skip to content

Commit 41bad93

Browse files
authored
chore: fix order of commands missed due to #778 (#780)
1 parent 7e4ac48 commit 41bad93

File tree

8 files changed

+1594
-1594
lines changed

8 files changed

+1594
-1594
lines changed

clients/client-iot-1click-projects/IoT1ClickProjects.ts

Lines changed: 193 additions & 193 deletions
Large diffs are not rendered by default.

clients/client-iot-events-data/IoTEventsData.ts

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,34 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
3131
export class IoTEventsData extends IoTEventsDataClient {
3232
/**
3333
*
34-
* <p>Updates the state, variable values, and timer settings of one or more detectors (instances)
35-
* of a specified detector model.</p>
34+
* <p>Sends a set of messages to the AWS IoT Events system. Each message payload is transformed
35+
* into the input you specify (<code>"inputName"</code>) and ingested into any detectors that monitor
36+
* that input. If multiple messages are sent, the order in which the messages are processed isn't
37+
* guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful
38+
* response.</p>
3639
*
3740
*/
38-
public batchUpdateDetector(
39-
args: BatchUpdateDetectorCommandInput,
41+
public batchPutMessage(
42+
args: BatchPutMessageCommandInput,
4043
options?: __HttpHandlerOptions
41-
): Promise<BatchUpdateDetectorCommandOutput>;
42-
public batchUpdateDetector(
43-
args: BatchUpdateDetectorCommandInput,
44-
cb: (err: any, data?: BatchUpdateDetectorCommandOutput) => void
44+
): Promise<BatchPutMessageCommandOutput>;
45+
public batchPutMessage(
46+
args: BatchPutMessageCommandInput,
47+
cb: (err: any, data?: BatchPutMessageCommandOutput) => void
4548
): void;
46-
public batchUpdateDetector(
47-
args: BatchUpdateDetectorCommandInput,
49+
public batchPutMessage(
50+
args: BatchPutMessageCommandInput,
4851
options: __HttpHandlerOptions,
49-
cb: (err: any, data?: BatchUpdateDetectorCommandOutput) => void
52+
cb: (err: any, data?: BatchPutMessageCommandOutput) => void
5053
): void;
51-
public batchUpdateDetector(
52-
args: BatchUpdateDetectorCommandInput,
54+
public batchPutMessage(
55+
args: BatchPutMessageCommandInput,
5356
optionsOrCb?:
5457
| __HttpHandlerOptions
55-
| ((err: any, data?: BatchUpdateDetectorCommandOutput) => void),
56-
cb?: (err: any, data?: BatchUpdateDetectorCommandOutput) => void
57-
): Promise<BatchUpdateDetectorCommandOutput> | void {
58-
const command = new BatchUpdateDetectorCommand(args);
58+
| ((err: any, data?: BatchPutMessageCommandOutput) => void),
59+
cb?: (err: any, data?: BatchPutMessageCommandOutput) => void
60+
): Promise<BatchPutMessageCommandOutput> | void {
61+
const command = new BatchPutMessageCommand(args);
5962
if (typeof optionsOrCb === "function") {
6063
this.send(command, optionsOrCb);
6164
} else if (typeof cb === "function") {
@@ -69,34 +72,31 @@ export class IoTEventsData extends IoTEventsDataClient {
6972

7073
/**
7174
*
72-
* <p>Sends a set of messages to the AWS IoT Events system. Each message payload is transformed
73-
* into the input you specify (<code>"inputName"</code>) and ingested into any detectors that monitor
74-
* that input. If multiple messages are sent, the order in which the messages are processed isn't
75-
* guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful
76-
* response.</p>
75+
* <p>Updates the state, variable values, and timer settings of one or more detectors (instances)
76+
* of a specified detector model.</p>
7777
*
7878
*/
79-
public batchPutMessage(
80-
args: BatchPutMessageCommandInput,
79+
public batchUpdateDetector(
80+
args: BatchUpdateDetectorCommandInput,
8181
options?: __HttpHandlerOptions
82-
): Promise<BatchPutMessageCommandOutput>;
83-
public batchPutMessage(
84-
args: BatchPutMessageCommandInput,
85-
cb: (err: any, data?: BatchPutMessageCommandOutput) => void
82+
): Promise<BatchUpdateDetectorCommandOutput>;
83+
public batchUpdateDetector(
84+
args: BatchUpdateDetectorCommandInput,
85+
cb: (err: any, data?: BatchUpdateDetectorCommandOutput) => void
8686
): void;
87-
public batchPutMessage(
88-
args: BatchPutMessageCommandInput,
87+
public batchUpdateDetector(
88+
args: BatchUpdateDetectorCommandInput,
8989
options: __HttpHandlerOptions,
90-
cb: (err: any, data?: BatchPutMessageCommandOutput) => void
90+
cb: (err: any, data?: BatchUpdateDetectorCommandOutput) => void
9191
): void;
92-
public batchPutMessage(
93-
args: BatchPutMessageCommandInput,
92+
public batchUpdateDetector(
93+
args: BatchUpdateDetectorCommandInput,
9494
optionsOrCb?:
9595
| __HttpHandlerOptions
96-
| ((err: any, data?: BatchPutMessageCommandOutput) => void),
97-
cb?: (err: any, data?: BatchPutMessageCommandOutput) => void
98-
): Promise<BatchPutMessageCommandOutput> | void {
99-
const command = new BatchPutMessageCommand(args);
96+
| ((err: any, data?: BatchUpdateDetectorCommandOutput) => void),
97+
cb?: (err: any, data?: BatchUpdateDetectorCommandOutput) => void
98+
): Promise<BatchUpdateDetectorCommandOutput> | void {
99+
const command = new BatchUpdateDetectorCommand(args);
100100
if (typeof optionsOrCb === "function") {
101101
this.send(command, optionsOrCb);
102102
} else if (typeof cb === "function") {

clients/client-iot-jobs-data-plane/IoTJobsDataPlane.ts

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -76,30 +76,30 @@ export class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
7676

7777
/**
7878
*
79-
* <p>Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.</p>
79+
* <p>Gets the list of all jobs for a thing that are not in a terminal status.</p>
8080
*
8181
*/
82-
public startNextPendingJobExecution(
83-
args: StartNextPendingJobExecutionCommandInput,
82+
public getPendingJobExecutions(
83+
args: GetPendingJobExecutionsCommandInput,
8484
options?: __HttpHandlerOptions
85-
): Promise<StartNextPendingJobExecutionCommandOutput>;
86-
public startNextPendingJobExecution(
87-
args: StartNextPendingJobExecutionCommandInput,
88-
cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void
85+
): Promise<GetPendingJobExecutionsCommandOutput>;
86+
public getPendingJobExecutions(
87+
args: GetPendingJobExecutionsCommandInput,
88+
cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void
8989
): void;
90-
public startNextPendingJobExecution(
91-
args: StartNextPendingJobExecutionCommandInput,
90+
public getPendingJobExecutions(
91+
args: GetPendingJobExecutionsCommandInput,
9292
options: __HttpHandlerOptions,
93-
cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void
93+
cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void
9494
): void;
95-
public startNextPendingJobExecution(
96-
args: StartNextPendingJobExecutionCommandInput,
95+
public getPendingJobExecutions(
96+
args: GetPendingJobExecutionsCommandInput,
9797
optionsOrCb?:
9898
| __HttpHandlerOptions
99-
| ((err: any, data?: StartNextPendingJobExecutionCommandOutput) => void),
100-
cb?: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void
101-
): Promise<StartNextPendingJobExecutionCommandOutput> | void {
102-
const command = new StartNextPendingJobExecutionCommand(args);
99+
| ((err: any, data?: GetPendingJobExecutionsCommandOutput) => void),
100+
cb?: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void
101+
): Promise<GetPendingJobExecutionsCommandOutput> | void {
102+
const command = new GetPendingJobExecutionsCommand(args);
103103
if (typeof optionsOrCb === "function") {
104104
this.send(command, optionsOrCb);
105105
} else if (typeof cb === "function") {
@@ -113,30 +113,30 @@ export class IoTJobsDataPlane extends IoTJobsDataPlaneClient {
113113

114114
/**
115115
*
116-
* <p>Gets the list of all jobs for a thing that are not in a terminal status.</p>
116+
* <p>Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.</p>
117117
*
118118
*/
119-
public getPendingJobExecutions(
120-
args: GetPendingJobExecutionsCommandInput,
119+
public startNextPendingJobExecution(
120+
args: StartNextPendingJobExecutionCommandInput,
121121
options?: __HttpHandlerOptions
122-
): Promise<GetPendingJobExecutionsCommandOutput>;
123-
public getPendingJobExecutions(
124-
args: GetPendingJobExecutionsCommandInput,
125-
cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void
122+
): Promise<StartNextPendingJobExecutionCommandOutput>;
123+
public startNextPendingJobExecution(
124+
args: StartNextPendingJobExecutionCommandInput,
125+
cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void
126126
): void;
127-
public getPendingJobExecutions(
128-
args: GetPendingJobExecutionsCommandInput,
127+
public startNextPendingJobExecution(
128+
args: StartNextPendingJobExecutionCommandInput,
129129
options: __HttpHandlerOptions,
130-
cb: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void
130+
cb: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void
131131
): void;
132-
public getPendingJobExecutions(
133-
args: GetPendingJobExecutionsCommandInput,
132+
public startNextPendingJobExecution(
133+
args: StartNextPendingJobExecutionCommandInput,
134134
optionsOrCb?:
135135
| __HttpHandlerOptions
136-
| ((err: any, data?: GetPendingJobExecutionsCommandOutput) => void),
137-
cb?: (err: any, data?: GetPendingJobExecutionsCommandOutput) => void
138-
): Promise<GetPendingJobExecutionsCommandOutput> | void {
139-
const command = new GetPendingJobExecutionsCommand(args);
136+
| ((err: any, data?: StartNextPendingJobExecutionCommandOutput) => void),
137+
cb?: (err: any, data?: StartNextPendingJobExecutionCommandOutput) => void
138+
): Promise<StartNextPendingJobExecutionCommandOutput> | void {
139+
const command = new StartNextPendingJobExecutionCommand(args);
140140
if (typeof optionsOrCb === "function") {
141141
this.send(command, optionsOrCb);
142142
} else if (typeof cb === "function") {

0 commit comments

Comments
 (0)