Skip to content

Commit 6506e14

Browse files
author
awstools
committed
feat(client-iot): AWS IoT Jobs now allows you to create up to 100,000 active continuous and snapshot jobs by using concurrency control.
1 parent dfc58ea commit 6506e14

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

clients/client-iot/src/models/models_1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,6 +2185,8 @@ export interface Job {
21852185
* to specify the inputs during runtime when creating a job.</p>
21862186
*/
21872187
documentParameters?: { [key: string]: string };
2188+
2189+
isConcurrent?: boolean;
21882190
}
21892191

21902192
export namespace Job {
@@ -6701,6 +6703,8 @@ export interface JobSummary {
67016703
* <p>The time, in seconds since the epoch, when the job completed.</p>
67026704
*/
67036705
completedAt?: Date;
6706+
6707+
isConcurrent?: boolean;
67046708
}
67056709

67066710
export namespace JobSummary {

clients/client-iot/src/protocols/Aws_restJson1.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9291,6 +9291,9 @@ const deserializeAws_restJson1CancelJobCommandError = async (
92919291
case "InvalidRequestException":
92929292
case "com.amazonaws.iot#InvalidRequestException":
92939293
throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
9294+
case "LimitExceededException":
9295+
case "com.amazonaws.iot#LimitExceededException":
9296+
throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
92949297
case "ResourceNotFoundException":
92959298
case "com.amazonaws.iot#ResourceNotFoundException":
92969299
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
@@ -27082,6 +27085,7 @@ const deserializeAws_restJson1Job = (output: any, context: __SerdeContext): Job
2708227085
? deserializeAws_restJson1ParameterMap(output.documentParameters, context)
2708327086
: undefined,
2708427087
forceCanceled: __expectBoolean(output.forceCanceled),
27088+
isConcurrent: __expectBoolean(output.isConcurrent),
2708527089
jobArn: __expectString(output.jobArn),
2708627090
jobExecutionsRetryConfig:
2708727091
output.jobExecutionsRetryConfig !== undefined && output.jobExecutionsRetryConfig !== null
@@ -27288,6 +27292,7 @@ const deserializeAws_restJson1JobSummary = (output: any, context: __SerdeContext
2728827292
output.createdAt !== undefined && output.createdAt !== null
2728927293
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
2729027294
: undefined,
27295+
isConcurrent: __expectBoolean(output.isConcurrent),
2729127296
jobArn: __expectString(output.jobArn),
2729227297
jobId: __expectString(output.jobId),
2729327298
lastUpdatedAt:

codegen/sdk-codegen/aws-models/iot.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3447,6 +3447,12 @@
34473447
"smithy.api#box": {}
34483448
}
34493449
},
3450+
"com.amazonaws.iot#BooleanWrapperObject": {
3451+
"type": "boolean",
3452+
"traits": {
3453+
"smithy.api#box": {}
3454+
}
3455+
},
34503456
"com.amazonaws.iot#Bucket": {
34513457
"type": "structure",
34523458
"members": {
@@ -3840,6 +3846,9 @@
38403846
{
38413847
"target": "com.amazonaws.iot#InvalidRequestException"
38423848
},
3849+
{
3850+
"target": "com.amazonaws.iot#LimitExceededException"
3851+
},
38433852
{
38443853
"target": "com.amazonaws.iot#ResourceNotFoundException"
38453854
},
@@ -15914,6 +15923,9 @@
1591415923
"traits": {
1591515924
"smithy.api#documentation": "<p>A key-value map that pairs the patterns that need to be replaced in a managed \n template job document schema. You can use the description of each key as a guidance \n to specify the inputs during runtime when creating a job.</p>"
1591615925
}
15926+
},
15927+
"isConcurrent": {
15928+
"target": "com.amazonaws.iot#BooleanWrapperObject"
1591715929
}
1591815930
},
1591915931
"traits": {
@@ -16377,6 +16389,9 @@
1637716389
"traits": {
1637816390
"smithy.api#documentation": "<p>The time, in seconds since the epoch, when the job completed.</p>"
1637916391
}
16392+
},
16393+
"isConcurrent": {
16394+
"target": "com.amazonaws.iot#BooleanWrapperObject"
1638016395
}
1638116396
},
1638216397
"traits": {

0 commit comments

Comments
 (0)