@aws-sdk/client-iot 3.42.0 → 3.46.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist-cjs/IoT.js +30 -0
  3. package/dist-cjs/commands/DeleteScheduledAuditCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteSecurityProfileCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeManagedJobTemplateCommand.js +36 -0
  6. package/dist-cjs/commands/ListManagedJobTemplatesCommand.js +36 -0
  7. package/dist-cjs/commands/ListThingRegistrationTaskReportsCommand.js +3 -3
  8. package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +3 -3
  9. package/dist-cjs/commands/ListThingTypesCommand.js +1 -2
  10. package/dist-cjs/commands/ListThingsCommand.js +3 -3
  11. package/dist-cjs/commands/ListThingsInBillingGroupCommand.js +3 -3
  12. package/dist-cjs/commands/ListThingsInThingGroupCommand.js +3 -3
  13. package/dist-cjs/commands/index.js +2 -0
  14. package/dist-cjs/endpoints.js +1 -0
  15. package/dist-cjs/models/models_0.js +21 -21
  16. package/dist-cjs/models/models_1.js +76 -78
  17. package/dist-cjs/models/models_2.js +75 -3
  18. package/dist-cjs/protocols/Aws_restJson1.js +406 -9
  19. package/dist-cjs/runtimeConfig.js +0 -2
  20. package/dist-es/IoT.js +30 -0
  21. package/dist-es/commands/DeleteScheduledAuditCommand.js +1 -1
  22. package/dist-es/commands/DeleteSecurityProfileCommand.js +1 -2
  23. package/dist-es/commands/DescribeManagedJobTemplateCommand.js +39 -0
  24. package/dist-es/commands/ListManagedJobTemplatesCommand.js +39 -0
  25. package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +1 -1
  26. package/dist-es/commands/ListThingRegistrationTasksCommand.js +1 -1
  27. package/dist-es/commands/ListThingTypesCommand.js +1 -2
  28. package/dist-es/commands/ListThingsCommand.js +1 -1
  29. package/dist-es/commands/ListThingsInBillingGroupCommand.js +1 -1
  30. package/dist-es/commands/ListThingsInThingGroupCommand.js +1 -1
  31. package/dist-es/commands/index.js +2 -0
  32. package/dist-es/endpoints.js +1 -0
  33. package/dist-es/models/models_0.js +14 -12
  34. package/dist-es/models/models_1.js +50 -48
  35. package/dist-es/models/models_2.js +48 -0
  36. package/dist-es/protocols/Aws_restJson1.js +431 -15
  37. package/dist-es/runtimeConfig.js +0 -2
  38. package/dist-types/IoT.d.ts +24 -3
  39. package/dist-types/IoTClient.d.ts +4 -2
  40. package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +3 -2
  41. package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  43. package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +35 -0
  44. package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +35 -0
  45. package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
  47. package/dist-types/commands/ListThingTypesCommand.d.ts +1 -2
  48. package/dist-types/commands/ListThingsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
  50. package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +1 -1
  51. package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +4 -1
  52. package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +3 -0
  53. package/dist-types/commands/index.d.ts +2 -0
  54. package/dist-types/models/models_0.d.ts +76 -42
  55. package/dist-types/models/models_1.d.ts +289 -290
  56. package/dist-types/models/models_2.d.ts +305 -4
  57. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  58. package/dist-types/ts3.4/IoT.d.ts +10 -0
  59. package/dist-types/ts3.4/IoTClient.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  62. package/dist-types/ts3.4/commands/DescribeManagedJobTemplateCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ListThingTypesCommand.d.ts +1 -2
  67. package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListThingsInThingGroupCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +37 -24
  72. package/dist-types/ts3.4/models/models_1.d.ts +145 -157
  73. package/dist-types/ts3.4/models/models_2.d.ts +164 -2
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  75. package/package.json +36 -43
@@ -578,8 +578,9 @@ export var serializeAws_restJson1CreateAuthorizerCommand = function (input, cont
578
578
  else {
579
579
  throw new Error("No value provided for input HTTP label: authorizerName.");
580
580
  }
581
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.authorizerFunctionArn !== undefined &&
582
- input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn })), (input.signingDisabled !== undefined &&
581
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.authorizerFunctionArn !== undefined &&
582
+ input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn })), (input.enableCachingForHttp !== undefined &&
583
+ input.enableCachingForHttp !== null && { enableCachingForHttp: input.enableCachingForHttp })), (input.signingDisabled !== undefined &&
583
584
  input.signingDisabled !== null && { signingDisabled: input.signingDisabled })), (input.status !== undefined && input.status !== null && { status: input.status })), (input.tags !== undefined &&
584
585
  input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })), (input.tokenKeyName !== undefined && input.tokenKeyName !== null && { tokenKeyName: input.tokenKeyName })), (input.tokenSigningPublicKeys !== undefined &&
585
586
  input.tokenSigningPublicKeys !== null && {
@@ -878,9 +879,15 @@ export var serializeAws_restJson1CreateJobCommand = function (input, context) {
878
879
  else {
879
880
  throw new Error("No value provided for input HTTP label: jobId.");
880
881
  }
881
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
882
- input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentSource !== undefined &&
883
- input.documentSource !== null && { documentSource: input.documentSource })), (input.jobExecutionsRolloutConfig !== undefined &&
882
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
883
+ input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentParameters !== undefined &&
884
+ input.documentParameters !== null && {
885
+ documentParameters: serializeAws_restJson1ParameterMap(input.documentParameters, context),
886
+ })), (input.documentSource !== undefined &&
887
+ input.documentSource !== null && { documentSource: input.documentSource })), (input.jobExecutionsRetryConfig !== undefined &&
888
+ input.jobExecutionsRetryConfig !== null && {
889
+ jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
890
+ })), (input.jobExecutionsRolloutConfig !== undefined &&
884
891
  input.jobExecutionsRolloutConfig !== null && {
885
892
  jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
886
893
  })), (input.jobTemplateArn !== undefined &&
@@ -927,9 +934,12 @@ export var serializeAws_restJson1CreateJobTemplateCommand = function (input, con
927
934
  else {
928
935
  throw new Error("No value provided for input HTTP label: jobTemplateId.");
929
936
  }
930
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
937
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
931
938
  input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.document !== undefined && input.document !== null && { document: input.document })), (input.documentSource !== undefined &&
932
- input.documentSource !== null && { documentSource: input.documentSource })), (input.jobArn !== undefined && input.jobArn !== null && { jobArn: input.jobArn })), (input.jobExecutionsRolloutConfig !== undefined &&
939
+ input.documentSource !== null && { documentSource: input.documentSource })), (input.jobArn !== undefined && input.jobArn !== null && { jobArn: input.jobArn })), (input.jobExecutionsRetryConfig !== undefined &&
940
+ input.jobExecutionsRetryConfig !== null && {
941
+ jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
942
+ })), (input.jobExecutionsRolloutConfig !== undefined &&
933
943
  input.jobExecutionsRolloutConfig !== null && {
934
944
  jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
935
945
  })), (input.presignedUrlConfig !== undefined &&
@@ -3240,6 +3250,39 @@ export var serializeAws_restJson1DescribeJobTemplateCommand = function (input, c
3240
3250
  }
3241
3251
  });
3242
3252
  }); };
3253
+ export var serializeAws_restJson1DescribeManagedJobTemplateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
3254
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
3255
+ return __generator(this, function (_c) {
3256
+ switch (_c.label) {
3257
+ case 0: return [4, context.endpoint()];
3258
+ case 1:
3259
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
3260
+ headers = {};
3261
+ resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/managed-job-templates/{templateName}";
3262
+ if (input.templateName !== undefined) {
3263
+ labelValue = input.templateName;
3264
+ if (labelValue.length <= 0) {
3265
+ throw new Error("Empty value provided for input HTTP label: templateName.");
3266
+ }
3267
+ resolvedPath = resolvedPath.replace("{templateName}", __extendedEncodeURIComponent(labelValue));
3268
+ }
3269
+ else {
3270
+ throw new Error("No value provided for input HTTP label: templateName.");
3271
+ }
3272
+ query = __assign({}, (input.templateVersion !== undefined && { templateVersion: input.templateVersion }));
3273
+ return [2, new __HttpRequest({
3274
+ protocol: protocol,
3275
+ hostname: hostname,
3276
+ port: port,
3277
+ method: "GET",
3278
+ headers: headers,
3279
+ path: resolvedPath,
3280
+ query: query,
3281
+ body: body,
3282
+ })];
3283
+ }
3284
+ });
3285
+ }); };
3243
3286
  export var serializeAws_restJson1DescribeMitigationActionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
3244
3287
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
3245
3288
  return __generator(this, function (_c) {
@@ -4756,7 +4799,7 @@ export var serializeAws_restJson1ListJobExecutionsForThingCommand = function (in
4756
4799
  else {
4757
4800
  throw new Error("No value provided for input HTTP label: thingName.");
4758
4801
  }
4759
- query = __assign(__assign(__assign(__assign({}, (input.status !== undefined && { status: input.status })), (input.namespaceId !== undefined && { namespaceId: input.namespaceId })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
4802
+ query = __assign(__assign(__assign(__assign(__assign({}, (input.status !== undefined && { status: input.status })), (input.namespaceId !== undefined && { namespaceId: input.namespaceId })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.jobId !== undefined && { jobId: input.jobId }));
4760
4803
  return [2, new __HttpRequest({
4761
4804
  protocol: protocol,
4762
4805
  hostname: hostname,
@@ -4816,6 +4859,29 @@ export var serializeAws_restJson1ListJobTemplatesCommand = function (input, cont
4816
4859
  }
4817
4860
  });
4818
4861
  }); };
4862
+ export var serializeAws_restJson1ListManagedJobTemplatesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
4863
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
4864
+ return __generator(this, function (_c) {
4865
+ switch (_c.label) {
4866
+ case 0: return [4, context.endpoint()];
4867
+ case 1:
4868
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
4869
+ headers = {};
4870
+ resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/managed-job-templates";
4871
+ query = __assign(__assign(__assign({}, (input.templateName !== undefined && { templateName: input.templateName })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken }));
4872
+ return [2, new __HttpRequest({
4873
+ protocol: protocol,
4874
+ hostname: hostname,
4875
+ port: port,
4876
+ method: "GET",
4877
+ headers: headers,
4878
+ path: resolvedPath,
4879
+ query: query,
4880
+ body: body,
4881
+ })];
4882
+ }
4883
+ });
4884
+ }); };
4819
4885
  export var serializeAws_restJson1ListMitigationActionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
4820
4886
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
4821
4887
  return __generator(this, function (_c) {
@@ -6478,8 +6544,9 @@ export var serializeAws_restJson1UpdateAuthorizerCommand = function (input, cont
6478
6544
  else {
6479
6545
  throw new Error("No value provided for input HTTP label: authorizerName.");
6480
6546
  }
6481
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.authorizerFunctionArn !== undefined &&
6482
- input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn })), (input.status !== undefined && input.status !== null && { status: input.status })), (input.tokenKeyName !== undefined && input.tokenKeyName !== null && { tokenKeyName: input.tokenKeyName })), (input.tokenSigningPublicKeys !== undefined &&
6547
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.authorizerFunctionArn !== undefined &&
6548
+ input.authorizerFunctionArn !== null && { authorizerFunctionArn: input.authorizerFunctionArn })), (input.enableCachingForHttp !== undefined &&
6549
+ input.enableCachingForHttp !== null && { enableCachingForHttp: input.enableCachingForHttp })), (input.status !== undefined && input.status !== null && { status: input.status })), (input.tokenKeyName !== undefined && input.tokenKeyName !== null && { tokenKeyName: input.tokenKeyName })), (input.tokenSigningPublicKeys !== undefined &&
6483
6550
  input.tokenSigningPublicKeys !== null && {
6484
6551
  tokenSigningPublicKeys: serializeAws_restJson1PublicKeyMap(input.tokenSigningPublicKeys, context),
6485
6552
  })));
@@ -6875,8 +6942,11 @@ export var serializeAws_restJson1UpdateJobCommand = function (input, context) {
6875
6942
  throw new Error("No value provided for input HTTP label: jobId.");
6876
6943
  }
6877
6944
  query = __assign({}, (input.namespaceId !== undefined && { namespaceId: input.namespaceId }));
6878
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
6879
- input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.jobExecutionsRolloutConfig !== undefined &&
6945
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.abortConfig !== undefined &&
6946
+ input.abortConfig !== null && { abortConfig: serializeAws_restJson1AbortConfig(input.abortConfig, context) })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.jobExecutionsRetryConfig !== undefined &&
6947
+ input.jobExecutionsRetryConfig !== null && {
6948
+ jobExecutionsRetryConfig: serializeAws_restJson1JobExecutionsRetryConfig(input.jobExecutionsRetryConfig, context),
6949
+ })), (input.jobExecutionsRolloutConfig !== undefined &&
6880
6950
  input.jobExecutionsRolloutConfig !== null && {
6881
6951
  jobExecutionsRolloutConfig: serializeAws_restJson1JobExecutionsRolloutConfig(input.jobExecutionsRolloutConfig, context),
6882
6952
  })), (input.presignedUrlConfig !== undefined &&
@@ -16810,6 +16880,7 @@ export var deserializeAws_restJson1DescribeJobTemplateCommand = function (output
16810
16880
  description: undefined,
16811
16881
  document: undefined,
16812
16882
  documentSource: undefined,
16883
+ jobExecutionsRetryConfig: undefined,
16813
16884
  jobExecutionsRolloutConfig: undefined,
16814
16885
  jobTemplateArn: undefined,
16815
16886
  jobTemplateId: undefined,
@@ -16836,6 +16907,9 @@ export var deserializeAws_restJson1DescribeJobTemplateCommand = function (output
16836
16907
  if (data.documentSource !== undefined && data.documentSource !== null) {
16837
16908
  contents.documentSource = __expectString(data.documentSource);
16838
16909
  }
16910
+ if (data.jobExecutionsRetryConfig !== undefined && data.jobExecutionsRetryConfig !== null) {
16911
+ contents.jobExecutionsRetryConfig = deserializeAws_restJson1JobExecutionsRetryConfig(data.jobExecutionsRetryConfig, context);
16912
+ }
16839
16913
  if (data.jobExecutionsRolloutConfig !== undefined && data.jobExecutionsRolloutConfig !== null) {
16840
16914
  contents.jobExecutionsRolloutConfig = deserializeAws_restJson1JobExecutionsRolloutConfig(data.jobExecutionsRolloutConfig, context);
16841
16915
  }
@@ -16917,6 +16991,116 @@ var deserializeAws_restJson1DescribeJobTemplateCommandError = function (output,
16917
16991
  }
16918
16992
  });
16919
16993
  }); };
16994
+ export var deserializeAws_restJson1DescribeManagedJobTemplateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
16995
+ var contents, data, _a, _b;
16996
+ return __generator(this, function (_c) {
16997
+ switch (_c.label) {
16998
+ case 0:
16999
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
17000
+ return [2, deserializeAws_restJson1DescribeManagedJobTemplateCommandError(output, context)];
17001
+ }
17002
+ contents = {
17003
+ $metadata: deserializeMetadata(output),
17004
+ description: undefined,
17005
+ document: undefined,
17006
+ documentParameters: undefined,
17007
+ environments: undefined,
17008
+ templateArn: undefined,
17009
+ templateName: undefined,
17010
+ templateVersion: undefined,
17011
+ };
17012
+ _a = __expectNonNull;
17013
+ _b = __expectObject;
17014
+ return [4, parseBody(output.body, context)];
17015
+ case 1:
17016
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
17017
+ if (data.description !== undefined && data.description !== null) {
17018
+ contents.description = __expectString(data.description);
17019
+ }
17020
+ if (data.document !== undefined && data.document !== null) {
17021
+ contents.document = __expectString(data.document);
17022
+ }
17023
+ if (data.documentParameters !== undefined && data.documentParameters !== null) {
17024
+ contents.documentParameters = deserializeAws_restJson1DocumentParameters(data.documentParameters, context);
17025
+ }
17026
+ if (data.environments !== undefined && data.environments !== null) {
17027
+ contents.environments = deserializeAws_restJson1Environments(data.environments, context);
17028
+ }
17029
+ if (data.templateArn !== undefined && data.templateArn !== null) {
17030
+ contents.templateArn = __expectString(data.templateArn);
17031
+ }
17032
+ if (data.templateName !== undefined && data.templateName !== null) {
17033
+ contents.templateName = __expectString(data.templateName);
17034
+ }
17035
+ if (data.templateVersion !== undefined && data.templateVersion !== null) {
17036
+ contents.templateVersion = __expectString(data.templateVersion);
17037
+ }
17038
+ return [2, Promise.resolve(contents)];
17039
+ }
17040
+ });
17041
+ }); };
17042
+ var deserializeAws_restJson1DescribeManagedJobTemplateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
17043
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
17044
+ var _g;
17045
+ return __generator(this, function (_h) {
17046
+ switch (_h.label) {
17047
+ case 0:
17048
+ _a = [__assign({}, output)];
17049
+ _g = {};
17050
+ return [4, parseBody(output.body, context)];
17051
+ case 1:
17052
+ parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
17053
+ errorCode = "UnknownError";
17054
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
17055
+ _b = errorCode;
17056
+ switch (_b) {
17057
+ case "InternalServerException": return [3, 2];
17058
+ case "com.amazonaws.iot#InternalServerException": return [3, 2];
17059
+ case "InvalidRequestException": return [3, 4];
17060
+ case "com.amazonaws.iot#InvalidRequestException": return [3, 4];
17061
+ case "ResourceNotFoundException": return [3, 6];
17062
+ case "com.amazonaws.iot#ResourceNotFoundException": return [3, 6];
17063
+ case "ThrottlingException": return [3, 8];
17064
+ case "com.amazonaws.iot#ThrottlingException": return [3, 8];
17065
+ }
17066
+ return [3, 10];
17067
+ case 2:
17068
+ _c = [{}];
17069
+ return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
17070
+ case 3:
17071
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
17072
+ return [3, 11];
17073
+ case 4:
17074
+ _d = [{}];
17075
+ return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
17076
+ case 5:
17077
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
17078
+ return [3, 11];
17079
+ case 6:
17080
+ _e = [{}];
17081
+ return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
17082
+ case 7:
17083
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
17084
+ return [3, 11];
17085
+ case 8:
17086
+ _f = [{}];
17087
+ return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
17088
+ case 9:
17089
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
17090
+ return [3, 11];
17091
+ case 10:
17092
+ parsedBody = parsedOutput.body;
17093
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
17094
+ response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
17095
+ _h.label = 11;
17096
+ case 11:
17097
+ message = response.message || response.Message || errorCode;
17098
+ response.message = message;
17099
+ delete response.Message;
17100
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
17101
+ }
17102
+ });
17103
+ }); };
16920
17104
  export var deserializeAws_restJson1DescribeMitigationActionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
16921
17105
  var contents, data, _a, _b;
16922
17106
  return __generator(this, function (_c) {
@@ -22509,6 +22693,96 @@ var deserializeAws_restJson1ListJobTemplatesCommandError = function (output, con
22509
22693
  }
22510
22694
  });
22511
22695
  }); };
22696
+ export var deserializeAws_restJson1ListManagedJobTemplatesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
22697
+ var contents, data, _a, _b;
22698
+ return __generator(this, function (_c) {
22699
+ switch (_c.label) {
22700
+ case 0:
22701
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
22702
+ return [2, deserializeAws_restJson1ListManagedJobTemplatesCommandError(output, context)];
22703
+ }
22704
+ contents = {
22705
+ $metadata: deserializeMetadata(output),
22706
+ managedJobTemplates: undefined,
22707
+ nextToken: undefined,
22708
+ };
22709
+ _a = __expectNonNull;
22710
+ _b = __expectObject;
22711
+ return [4, parseBody(output.body, context)];
22712
+ case 1:
22713
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
22714
+ if (data.managedJobTemplates !== undefined && data.managedJobTemplates !== null) {
22715
+ contents.managedJobTemplates = deserializeAws_restJson1ManagedJobTemplatesSummaryList(data.managedJobTemplates, context);
22716
+ }
22717
+ if (data.nextToken !== undefined && data.nextToken !== null) {
22718
+ contents.nextToken = __expectString(data.nextToken);
22719
+ }
22720
+ return [2, Promise.resolve(contents)];
22721
+ }
22722
+ });
22723
+ }); };
22724
+ var deserializeAws_restJson1ListManagedJobTemplatesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
22725
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
22726
+ var _g;
22727
+ return __generator(this, function (_h) {
22728
+ switch (_h.label) {
22729
+ case 0:
22730
+ _a = [__assign({}, output)];
22731
+ _g = {};
22732
+ return [4, parseBody(output.body, context)];
22733
+ case 1:
22734
+ parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
22735
+ errorCode = "UnknownError";
22736
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
22737
+ _b = errorCode;
22738
+ switch (_b) {
22739
+ case "InternalServerException": return [3, 2];
22740
+ case "com.amazonaws.iot#InternalServerException": return [3, 2];
22741
+ case "InvalidRequestException": return [3, 4];
22742
+ case "com.amazonaws.iot#InvalidRequestException": return [3, 4];
22743
+ case "ResourceNotFoundException": return [3, 6];
22744
+ case "com.amazonaws.iot#ResourceNotFoundException": return [3, 6];
22745
+ case "ThrottlingException": return [3, 8];
22746
+ case "com.amazonaws.iot#ThrottlingException": return [3, 8];
22747
+ }
22748
+ return [3, 10];
22749
+ case 2:
22750
+ _c = [{}];
22751
+ return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
22752
+ case 3:
22753
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
22754
+ return [3, 11];
22755
+ case 4:
22756
+ _d = [{}];
22757
+ return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
22758
+ case 5:
22759
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
22760
+ return [3, 11];
22761
+ case 6:
22762
+ _e = [{}];
22763
+ return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
22764
+ case 7:
22765
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
22766
+ return [3, 11];
22767
+ case 8:
22768
+ _f = [{}];
22769
+ return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
22770
+ case 9:
22771
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
22772
+ return [3, 11];
22773
+ case 10:
22774
+ parsedBody = parsedOutput.body;
22775
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
22776
+ response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
22777
+ _h.label = 11;
22778
+ case 11:
22779
+ message = response.message || response.Message || errorCode;
22780
+ response.message = message;
22781
+ delete response.Message;
22782
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
22783
+ }
22784
+ });
22785
+ }); };
22512
22786
  export var deserializeAws_restJson1ListMitigationActionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
22513
22787
  var contents, data, _a, _b;
22514
22788
  return __generator(this, function (_c) {
@@ -30463,6 +30737,22 @@ var deserializeAws_restJson1InternalFailureExceptionResponse = function (parsedO
30463
30737
  return [2, contents];
30464
30738
  });
30465
30739
  }); };
30740
+ var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
30741
+ var contents, data;
30742
+ return __generator(this, function (_a) {
30743
+ contents = {
30744
+ name: "InternalServerException",
30745
+ $fault: "server",
30746
+ $metadata: deserializeMetadata(parsedOutput),
30747
+ message: undefined,
30748
+ };
30749
+ data = parsedOutput.body;
30750
+ if (data.message !== undefined && data.message !== null) {
30751
+ contents.message = __expectString(data.message);
30752
+ }
30753
+ return [2, contents];
30754
+ });
30755
+ }); };
30466
30756
  var deserializeAws_restJson1InvalidAggregationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
30467
30757
  var contents, data;
30468
30758
  return __generator(this, function (_a) {
@@ -31379,6 +31669,12 @@ var serializeAws_restJson1IotSiteWiseAction = function (input, context) {
31379
31669
  putAssetPropertyValueEntries: serializeAws_restJson1PutAssetPropertyValueEntryList(input.putAssetPropertyValueEntries, context),
31380
31670
  })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }));
31381
31671
  };
31672
+ var serializeAws_restJson1JobExecutionsRetryConfig = function (input, context) {
31673
+ return __assign({}, (input.criteriaList !== undefined &&
31674
+ input.criteriaList !== null && {
31675
+ criteriaList: serializeAws_restJson1RetryCriteriaList(input.criteriaList, context),
31676
+ }));
31677
+ };
31382
31678
  var serializeAws_restJson1JobExecutionsRolloutConfig = function (input, context) {
31383
31679
  return __assign(__assign({}, (input.exponentialRate !== undefined &&
31384
31680
  input.exponentialRate !== null && {
@@ -31498,6 +31794,16 @@ var serializeAws_restJson1OTAUpdateFiles = function (input, context) {
31498
31794
  return serializeAws_restJson1OTAUpdateFile(entry, context);
31499
31795
  });
31500
31796
  };
31797
+ var serializeAws_restJson1ParameterMap = function (input, context) {
31798
+ return Object.entries(input).reduce(function (acc, _a) {
31799
+ var _b;
31800
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
31801
+ if (value === null) {
31802
+ return acc;
31803
+ }
31804
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
31805
+ }, {});
31806
+ };
31501
31807
  var serializeAws_restJson1Parameters = function (input, context) {
31502
31808
  return Object.entries(input).reduce(function (acc, _a) {
31503
31809
  var _b;
@@ -31634,6 +31940,20 @@ var serializeAws_restJson1Resources = function (input, context) {
31634
31940
  return entry;
31635
31941
  });
31636
31942
  };
31943
+ var serializeAws_restJson1RetryCriteria = function (input, context) {
31944
+ return __assign(__assign({}, (input.failureType !== undefined && input.failureType !== null && { failureType: input.failureType })), (input.numberOfRetries !== undefined &&
31945
+ input.numberOfRetries !== null && { numberOfRetries: input.numberOfRetries }));
31946
+ };
31947
+ var serializeAws_restJson1RetryCriteriaList = function (input, context) {
31948
+ return input
31949
+ .filter(function (e) { return e != null; })
31950
+ .map(function (entry) {
31951
+ if (entry === null) {
31952
+ return null;
31953
+ }
31954
+ return serializeAws_restJson1RetryCriteria(entry, context);
31955
+ });
31956
+ };
31637
31957
  var serializeAws_restJson1S3Action = function (input, context) {
31638
31958
  return __assign(__assign(__assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.cannedAcl !== undefined && input.cannedAcl !== null && { cannedAcl: input.cannedAcl })), (input.key !== undefined && input.key !== null && { key: input.key })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }));
31639
31959
  };
@@ -31833,9 +32153,11 @@ var serializeAws_restJson1ThingGroupProperties = function (input, context) {
31833
32153
  input.thingGroupDescription !== null && { thingGroupDescription: input.thingGroupDescription }));
31834
32154
  };
31835
32155
  var serializeAws_restJson1ThingIndexingConfiguration = function (input, context) {
31836
- return __assign(__assign(__assign(__assign({}, (input.customFields !== undefined &&
31837
- input.customFields !== null && { customFields: serializeAws_restJson1Fields(input.customFields, context) })), (input.managedFields !== undefined &&
31838
- input.managedFields !== null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) })), (input.thingConnectivityIndexingMode !== undefined &&
32156
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.customFields !== undefined &&
32157
+ input.customFields !== null && { customFields: serializeAws_restJson1Fields(input.customFields, context) })), (input.deviceDefenderIndexingMode !== undefined &&
32158
+ input.deviceDefenderIndexingMode !== null && { deviceDefenderIndexingMode: input.deviceDefenderIndexingMode })), (input.managedFields !== undefined &&
32159
+ input.managedFields !== null && { managedFields: serializeAws_restJson1Fields(input.managedFields, context) })), (input.namedShadowIndexingMode !== undefined &&
32160
+ input.namedShadowIndexingMode !== null && { namedShadowIndexingMode: input.namedShadowIndexingMode })), (input.thingConnectivityIndexingMode !== undefined &&
31839
32161
  input.thingConnectivityIndexingMode !== null && {
31840
32162
  thingConnectivityIndexingMode: input.thingConnectivityIndexingMode,
31841
32163
  })), (input.thingIndexingMode !== undefined &&
@@ -32432,6 +32754,7 @@ var deserializeAws_restJson1AuthorizerDescription = function (output, context) {
32432
32754
  creationDate: output.creationDate !== undefined && output.creationDate !== null
32433
32755
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
32434
32756
  : undefined,
32757
+ enableCachingForHttp: __expectBoolean(output.enableCachingForHttp),
32435
32758
  lastModifiedDate: output.lastModifiedDate !== undefined && output.lastModifiedDate !== null
32436
32759
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastModifiedDate)))
32437
32760
  : undefined,
@@ -32925,6 +33248,25 @@ var deserializeAws_restJson1DimensionStringValues = function (output, context) {
32925
33248
  return __expectString(entry);
32926
33249
  });
32927
33250
  };
33251
+ var deserializeAws_restJson1DocumentParameter = function (output, context) {
33252
+ return {
33253
+ description: __expectString(output.description),
33254
+ example: __expectString(output.example),
33255
+ key: __expectString(output.key),
33256
+ optional: __expectBoolean(output.optional),
33257
+ regex: __expectString(output.regex),
33258
+ };
33259
+ };
33260
+ var deserializeAws_restJson1DocumentParameters = function (output, context) {
33261
+ return (output || [])
33262
+ .filter(function (e) { return e != null; })
33263
+ .map(function (entry) {
33264
+ if (entry === null) {
33265
+ return null;
33266
+ }
33267
+ return deserializeAws_restJson1DocumentParameter(entry, context);
33268
+ });
33269
+ };
32928
33270
  var deserializeAws_restJson1DomainConfigurations = function (output, context) {
32929
33271
  return (output || [])
32930
33272
  .filter(function (e) { return e != null; })
@@ -32996,6 +33338,16 @@ var deserializeAws_restJson1EnableIoTLoggingParams = function (output, context)
32996
33338
  roleArnForLogging: __expectString(output.roleArnForLogging),
32997
33339
  };
32998
33340
  };
33341
+ var deserializeAws_restJson1Environments = function (output, context) {
33342
+ return (output || [])
33343
+ .filter(function (e) { return e != null; })
33344
+ .map(function (entry) {
33345
+ if (entry === null) {
33346
+ return null;
33347
+ }
33348
+ return __expectString(entry);
33349
+ });
33350
+ };
32999
33351
  var deserializeAws_restJson1ErrorInfo = function (output, context) {
33000
33352
  return {
33001
33353
  code: __expectString(output.code),
@@ -33193,8 +33545,14 @@ var deserializeAws_restJson1Job = function (output, context) {
33193
33545
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
33194
33546
  : undefined,
33195
33547
  description: __expectString(output.description),
33548
+ documentParameters: output.documentParameters !== undefined && output.documentParameters !== null
33549
+ ? deserializeAws_restJson1ParameterMap(output.documentParameters, context)
33550
+ : undefined,
33196
33551
  forceCanceled: __expectBoolean(output.forceCanceled),
33197
33552
  jobArn: __expectString(output.jobArn),
33553
+ jobExecutionsRetryConfig: output.jobExecutionsRetryConfig !== undefined && output.jobExecutionsRetryConfig !== null
33554
+ ? deserializeAws_restJson1JobExecutionsRetryConfig(output.jobExecutionsRetryConfig, context)
33555
+ : undefined,
33198
33556
  jobExecutionsRolloutConfig: output.jobExecutionsRolloutConfig !== undefined && output.jobExecutionsRolloutConfig !== null
33199
33557
  ? deserializeAws_restJson1JobExecutionsRolloutConfig(output.jobExecutionsRolloutConfig, context)
33200
33558
  : undefined,
@@ -33244,6 +33602,13 @@ var deserializeAws_restJson1JobExecution = function (output, context) {
33244
33602
  versionNumber: __expectLong(output.versionNumber),
33245
33603
  };
33246
33604
  };
33605
+ var deserializeAws_restJson1JobExecutionsRetryConfig = function (output, context) {
33606
+ return {
33607
+ criteriaList: output.criteriaList !== undefined && output.criteriaList !== null
33608
+ ? deserializeAws_restJson1RetryCriteriaList(output.criteriaList, context)
33609
+ : undefined,
33610
+ };
33611
+ };
33247
33612
  var deserializeAws_restJson1JobExecutionsRolloutConfig = function (output, context) {
33248
33613
  return {
33249
33614
  exponentialRate: output.exponentialRate !== undefined && output.exponentialRate !== null
@@ -33268,6 +33633,7 @@ var deserializeAws_restJson1JobExecutionSummary = function (output, context) {
33268
33633
  queuedAt: output.queuedAt !== undefined && output.queuedAt !== null
33269
33634
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.queuedAt)))
33270
33635
  : undefined,
33636
+ retryAttempt: __expectInt32(output.retryAttempt),
33271
33637
  startedAt: output.startedAt !== undefined && output.startedAt !== null
33272
33638
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startedAt)))
33273
33639
  : undefined,
@@ -33441,6 +33807,27 @@ var deserializeAws_restJson1MachineLearningDetectionConfig = function (output, c
33441
33807
  confidenceLevel: __expectString(output.confidenceLevel),
33442
33808
  };
33443
33809
  };
33810
+ var deserializeAws_restJson1ManagedJobTemplatesSummaryList = function (output, context) {
33811
+ return (output || [])
33812
+ .filter(function (e) { return e != null; })
33813
+ .map(function (entry) {
33814
+ if (entry === null) {
33815
+ return null;
33816
+ }
33817
+ return deserializeAws_restJson1ManagedJobTemplateSummary(entry, context);
33818
+ });
33819
+ };
33820
+ var deserializeAws_restJson1ManagedJobTemplateSummary = function (output, context) {
33821
+ return {
33822
+ description: __expectString(output.description),
33823
+ environments: output.environments !== undefined && output.environments !== null
33824
+ ? deserializeAws_restJson1Environments(output.environments, context)
33825
+ : undefined,
33826
+ templateArn: __expectString(output.templateArn),
33827
+ templateName: __expectString(output.templateName),
33828
+ templateVersion: __expectString(output.templateVersion),
33829
+ };
33830
+ };
33444
33831
  var deserializeAws_restJson1MetricDimension = function (output, context) {
33445
33832
  return {
33446
33833
  dimensionName: __expectString(output.dimensionName),
@@ -33701,6 +34088,16 @@ var deserializeAws_restJson1OutgoingCertificates = function (output, context) {
33701
34088
  return deserializeAws_restJson1OutgoingCertificate(entry, context);
33702
34089
  });
33703
34090
  };
34091
+ var deserializeAws_restJson1ParameterMap = function (output, context) {
34092
+ return Object.entries(output).reduce(function (acc, _a) {
34093
+ var _b;
34094
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
34095
+ if (value === null) {
34096
+ return acc;
34097
+ }
34098
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
34099
+ }, {});
34100
+ };
33704
34101
  var deserializeAws_restJson1Percentiles = function (output, context) {
33705
34102
  return (output || [])
33706
34103
  .filter(function (e) { return e != null; })
@@ -34003,6 +34400,22 @@ var deserializeAws_restJson1Resources = function (output, context) {
34003
34400
  return __expectString(entry);
34004
34401
  });
34005
34402
  };
34403
+ var deserializeAws_restJson1RetryCriteria = function (output, context) {
34404
+ return {
34405
+ failureType: __expectString(output.failureType),
34406
+ numberOfRetries: __expectInt32(output.numberOfRetries),
34407
+ };
34408
+ };
34409
+ var deserializeAws_restJson1RetryCriteriaList = function (output, context) {
34410
+ return (output || [])
34411
+ .filter(function (e) { return e != null; })
34412
+ .map(function (entry) {
34413
+ if (entry === null) {
34414
+ return null;
34415
+ }
34416
+ return deserializeAws_restJson1RetryCriteria(entry, context);
34417
+ });
34418
+ };
34006
34419
  var deserializeAws_restJson1RoleAliasDescription = function (output, context) {
34007
34420
  return {
34008
34421
  creationDate: output.creationDate !== undefined && output.creationDate !== null
@@ -34437,6 +34850,7 @@ var deserializeAws_restJson1ThingDocument = function (output, context) {
34437
34850
  connectivity: output.connectivity !== undefined && output.connectivity !== null
34438
34851
  ? deserializeAws_restJson1ThingConnectivity(output.connectivity, context)
34439
34852
  : undefined,
34853
+ deviceDefender: __expectString(output.deviceDefender),
34440
34854
  shadow: __expectString(output.shadow),
34441
34855
  thingGroupNames: output.thingGroupNames !== undefined && output.thingGroupNames !== null
34442
34856
  ? deserializeAws_restJson1ThingGroupNameList(output.thingGroupNames, context)
@@ -34544,9 +34958,11 @@ var deserializeAws_restJson1ThingIndexingConfiguration = function (output, conte
34544
34958
  customFields: output.customFields !== undefined && output.customFields !== null
34545
34959
  ? deserializeAws_restJson1Fields(output.customFields, context)
34546
34960
  : undefined,
34961
+ deviceDefenderIndexingMode: __expectString(output.deviceDefenderIndexingMode),
34547
34962
  managedFields: output.managedFields !== undefined && output.managedFields !== null
34548
34963
  ? deserializeAws_restJson1Fields(output.managedFields, context)
34549
34964
  : undefined,
34965
+ namedShadowIndexingMode: __expectString(output.namedShadowIndexingMode),
34550
34966
  thingConnectivityIndexingMode: __expectString(output.thingConnectivityIndexingMode),
34551
34967
  thingIndexingMode: __expectString(output.thingIndexingMode),
34552
34968
  };