Skip to content

Commit fc0f206

Browse files
authored
feat(AWSIoT): update models to latest (#4121)
1 parent 40a34a6 commit fc0f206

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

AWSIoT/AWSIoTModel.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8532,6 +8532,11 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) {
85328532
*/
85338533
@property (nonatomic, strong) NSNumber * _Nullable forceCanceled;
85348534

8535+
/**
8536+
8537+
*/
8538+
@property (nonatomic, strong) NSNumber * _Nullable isConcurrent;
8539+
85358540
/**
85368541
<p>An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".</p>
85378542
*/
@@ -8855,6 +8860,11 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) {
88558860
*/
88568861
@property (nonatomic, strong) NSDate * _Nullable createdAt;
88578862

8863+
/**
8864+
8865+
*/
8866+
@property (nonatomic, strong) NSNumber * _Nullable isConcurrent;
8867+
88588868
/**
88598869
<p>The job ARN.</p>
88608870
*/

AWSIoT/AWSIoTModel.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8096,6 +8096,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey {
80968096
@"detail" : @"description",
80978097
@"documentParameters" : @"documentParameters",
80988098
@"forceCanceled" : @"forceCanceled",
8099+
@"isConcurrent" : @"isConcurrent",
80998100
@"jobArn" : @"jobArn",
81008101
@"jobExecutionsRetryConfig" : @"jobExecutionsRetryConfig",
81018102
@"jobExecutionsRolloutConfig" : @"jobExecutionsRolloutConfig",
@@ -8533,6 +8534,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey {
85338534
return @{
85348535
@"completedAt" : @"completedAt",
85358536
@"createdAt" : @"createdAt",
8537+
@"isConcurrent" : @"isConcurrent",
85368538
@"jobArn" : @"jobArn",
85378539
@"jobId" : @"jobId",
85388540
@"lastUpdatedAt" : @"lastUpdatedAt",

AWSIoT/AWSIoTResources.m

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ - (NSString *)definitionString {
287287
{\"shape\":\"InvalidRequestException\"},\
288288
{\"shape\":\"ResourceNotFoundException\"},\
289289
{\"shape\":\"ThrottlingException\"},\
290-
{\"shape\":\"ServiceUnavailableException\"}\
290+
{\"shape\":\"ServiceUnavailableException\"},\
291+
{\"shape\":\"LimitExceededException\"}\
291292
],\
292293
\"documentation\":\"<p>Cancels a job.</p> <p>Requires permission to access the <a href=\\\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\\\">CancelJob</a> action.</p>\"\
293294
},\
@@ -5621,6 +5622,7 @@ - (NSString *)definitionString {
56215622
},\
56225623
\"Boolean\":{\"type\":\"boolean\"},\
56235624
\"BooleanKey\":{\"type\":\"boolean\"},\
5625+
\"BooleanWrapperObject\":{\"type\":\"boolean\"},\
56245626
\"Bucket\":{\
56255627
\"type\":\"structure\",\
56265628
\"members\":{\
@@ -11448,7 +11450,8 @@ - (NSString *)definitionString {
1144811450
\"documentParameters\":{\
1144911451
\"shape\":\"ParameterMap\",\
1145011452
\"documentation\":\"<p>A key-value map that pairs the patterns that need to be replaced in a managed template job document schema. You can use the description of each key as a guidance to specify the inputs during runtime when creating a job.</p>\"\
11451-
}\
11453+
},\
11454+
\"isConcurrent\":{\"shape\":\"BooleanWrapperObject\"}\
1145211455
},\
1145311456
\"documentation\":\"<p>The <code>Job</code> object contains details about a job.</p>\"\
1145411457
},\
@@ -11731,7 +11734,8 @@ - (NSString *)definitionString {
1173111734
\"completedAt\":{\
1173211735
\"shape\":\"DateType\",\
1173311736
\"documentation\":\"<p>The time, in seconds since the epoch, when the job completed.</p>\"\
11734-
}\
11737+
},\
11738+
\"isConcurrent\":{\"shape\":\"BooleanWrapperObject\"}\
1173511739
},\
1173611740
\"documentation\":\"<p>The job summary.</p>\"\
1173711741
},\

AWSIoT/AWSIoTService.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion;
467467

468468
@param request A container for the necessary parameters to execute the CancelJob service method.
469469

470-
@return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSIoTCancelJobResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSIoTErrorDomain` domain and the following error code: `AWSIoTErrorInvalidRequest`, `AWSIoTErrorResourceNotFound`, `AWSIoTErrorThrottling`, `AWSIoTErrorServiceUnavailable`.
470+
@return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSIoTCancelJobResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSIoTErrorDomain` domain and the following error code: `AWSIoTErrorInvalidRequest`, `AWSIoTErrorResourceNotFound`, `AWSIoTErrorThrottling`, `AWSIoTErrorServiceUnavailable`, `AWSIoTErrorLimitExceeded`.
471471

472472
@see AWSIoTCancelJobRequest
473473
@see AWSIoTCancelJobResponse
@@ -480,7 +480,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion;
480480
@param request A container for the necessary parameters to execute the CancelJob service method.
481481
@param completionHandler The completion handler to call when the load request is complete.
482482
`response` - A response object, or `nil` if the request failed.
483-
`error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSIoTErrorDomain` domain and the following error code: `AWSIoTErrorInvalidRequest`, `AWSIoTErrorResourceNotFound`, `AWSIoTErrorThrottling`, `AWSIoTErrorServiceUnavailable`.
483+
`error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSIoTErrorDomain` domain and the following error code: `AWSIoTErrorInvalidRequest`, `AWSIoTErrorResourceNotFound`, `AWSIoTErrorThrottling`, `AWSIoTErrorServiceUnavailable`, `AWSIoTErrorLimitExceeded`.
484484

485485
@see AWSIoTCancelJobRequest
486486
@see AWSIoTCancelJobResponse

0 commit comments

Comments
 (0)