@aws-sdk/client-kafka 3.259.0 → 3.262.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://kafka.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const s = "fn", t = "argv", u = "ref";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://kafka.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://kafka.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
7
7
  exports.ruleSet = _data;
@@ -1064,7 +1064,7 @@ const deserializeAws_restJson1CreateConfigurationCommand = async (output, contex
1064
1064
  contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1065
1065
  }
1066
1066
  if (data.creationTime != null) {
1067
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
1067
+ contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
1068
1068
  }
1069
1069
  if (data.latestRevision != null) {
1070
1070
  contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
@@ -1358,7 +1358,7 @@ const deserializeAws_restJson1DescribeConfigurationCommand = async (output, cont
1358
1358
  contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1359
1359
  }
1360
1360
  if (data.creationTime != null) {
1361
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
1361
+ contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
1362
1362
  }
1363
1363
  if (data.description != null) {
1364
1364
  contents.Description = (0, smithy_client_1.expectString)(data.description);
@@ -1425,7 +1425,7 @@ const deserializeAws_restJson1DescribeConfigurationRevisionCommand = async (outp
1425
1425
  contents.Arn = (0, smithy_client_1.expectString)(data.arn);
1426
1426
  }
1427
1427
  if (data.creationTime != null) {
1428
- contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.creationTime));
1428
+ contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.creationTime));
1429
1429
  }
1430
1430
  if (data.description != null) {
1431
1431
  contents.Description = (0, smithy_client_1.expectString)(data.description);
@@ -3276,7 +3276,7 @@ const deserializeAws_restJson1Cluster = (output, context) => {
3276
3276
  ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
3277
3277
  ClusterName: (0, smithy_client_1.expectString)(output.clusterName),
3278
3278
  ClusterType: (0, smithy_client_1.expectString)(output.clusterType),
3279
- CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
3279
+ CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3280
3280
  CurrentVersion: (0, smithy_client_1.expectString)(output.currentVersion),
3281
3281
  Provisioned: output.provisioned != null ? deserializeAws_restJson1Provisioned(output.provisioned, context) : undefined,
3282
3282
  Serverless: output.serverless != null ? deserializeAws_restJson1Serverless(output.serverless, context) : undefined,
@@ -3296,7 +3296,7 @@ const deserializeAws_restJson1ClusterInfo = (output, context) => {
3296
3296
  : undefined,
3297
3297
  ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
3298
3298
  ClusterName: (0, smithy_client_1.expectString)(output.clusterName),
3299
- CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
3299
+ CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3300
3300
  CurrentBrokerSoftwareInfo: output.currentBrokerSoftwareInfo != null
3301
3301
  ? deserializeAws_restJson1BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
3302
3302
  : undefined,
@@ -3322,8 +3322,8 @@ const deserializeAws_restJson1ClusterOperationInfo = (output, context) => {
3322
3322
  return {
3323
3323
  ClientRequestId: (0, smithy_client_1.expectString)(output.clientRequestId),
3324
3324
  ClusterArn: (0, smithy_client_1.expectString)(output.clusterArn),
3325
- CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
3326
- EndTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.endTime)) : undefined,
3325
+ CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3326
+ EndTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.endTime)) : undefined,
3327
3327
  ErrorInfo: output.errorInfo != null ? deserializeAws_restJson1ErrorInfo(output.errorInfo, context) : undefined,
3328
3328
  OperationArn: (0, smithy_client_1.expectString)(output.operationArn),
3329
3329
  OperationState: (0, smithy_client_1.expectString)(output.operationState),
@@ -3361,7 +3361,7 @@ const deserializeAws_restJson1CompatibleKafkaVersion = (output, context) => {
3361
3361
  const deserializeAws_restJson1Configuration = (output, context) => {
3362
3362
  return {
3363
3363
  Arn: (0, smithy_client_1.expectString)(output.arn),
3364
- CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
3364
+ CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3365
3365
  Description: (0, smithy_client_1.expectString)(output.description),
3366
3366
  KafkaVersions: output.kafkaVersions != null
3367
3367
  ? deserializeAws_restJson1__listOf__string(output.kafkaVersions, context)
@@ -3381,7 +3381,7 @@ const deserializeAws_restJson1ConfigurationInfo = (output, context) => {
3381
3381
  };
3382
3382
  const deserializeAws_restJson1ConfigurationRevision = (output, context) => {
3383
3383
  return {
3384
- CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.creationTime)) : undefined,
3384
+ CreationTime: output.creationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.creationTime)) : undefined,
3385
3385
  Description: (0, smithy_client_1.expectString)(output.description),
3386
3386
  Revision: (0, smithy_client_1.expectLong)(output.revision),
3387
3387
  };
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://kafka.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const s = "fn", t = "argv", u = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [u]: "Endpoint" }, k = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, l = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, m = {}, n = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [{ [u]: d }, "supportsFIPS"] }] }, o = { [u]: d }, p = { [s]: "booleanEquals", [t]: [true, { [s]: h, [t]: [o, "supportsDualStack"] }] }, q = [k], r = [l];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [s]: "aws.partition", [t]: [{ [u]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [s]: "isSet", [t]: [j] }], type: e, rules: [{ conditions: q, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: r, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: q, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [s]: "stringEquals", [t]: ["aws-us-gov", { [s]: h, [t]: [o, "name"] }] }], endpoint: { url: "https://kafka.{Region}.amazonaws.com", properties: m, headers: m }, type: g }, { endpoint: { url: "https://kafka-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://kafka.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://kafka.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }] };
4
4
  export const ruleSet = _data;
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { KafkaServiceException as __BaseException } from "../models/KafkaServiceException";
4
4
  import { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
5
5
  export const serializeAws_restJson1BatchAssociateScramSecretCommand = async (input, context) => {
@@ -1020,7 +1020,7 @@ export const deserializeAws_restJson1CreateConfigurationCommand = async (output,
1020
1020
  contents.Arn = __expectString(data.arn);
1021
1021
  }
1022
1022
  if (data.creationTime != null) {
1023
- contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(data.creationTime));
1023
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
1024
1024
  }
1025
1025
  if (data.latestRevision != null) {
1026
1026
  contents.LatestRevision = deserializeAws_restJson1ConfigurationRevision(data.latestRevision, context);
@@ -1308,7 +1308,7 @@ export const deserializeAws_restJson1DescribeConfigurationCommand = async (outpu
1308
1308
  contents.Arn = __expectString(data.arn);
1309
1309
  }
1310
1310
  if (data.creationTime != null) {
1311
- contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(data.creationTime));
1311
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
1312
1312
  }
1313
1313
  if (data.description != null) {
1314
1314
  contents.Description = __expectString(data.description);
@@ -1374,7 +1374,7 @@ export const deserializeAws_restJson1DescribeConfigurationRevisionCommand = asyn
1374
1374
  contents.Arn = __expectString(data.arn);
1375
1375
  }
1376
1376
  if (data.creationTime != null) {
1377
- contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(data.creationTime));
1377
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.creationTime));
1378
1378
  }
1379
1379
  if (data.description != null) {
1380
1380
  contents.Description = __expectString(data.description);
@@ -3200,7 +3200,7 @@ const deserializeAws_restJson1Cluster = (output, context) => {
3200
3200
  ClusterArn: __expectString(output.clusterArn),
3201
3201
  ClusterName: __expectString(output.clusterName),
3202
3202
  ClusterType: __expectString(output.clusterType),
3203
- CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
3203
+ CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
3204
3204
  CurrentVersion: __expectString(output.currentVersion),
3205
3205
  Provisioned: output.provisioned != null ? deserializeAws_restJson1Provisioned(output.provisioned, context) : undefined,
3206
3206
  Serverless: output.serverless != null ? deserializeAws_restJson1Serverless(output.serverless, context) : undefined,
@@ -3220,7 +3220,7 @@ const deserializeAws_restJson1ClusterInfo = (output, context) => {
3220
3220
  : undefined,
3221
3221
  ClusterArn: __expectString(output.clusterArn),
3222
3222
  ClusterName: __expectString(output.clusterName),
3223
- CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
3223
+ CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
3224
3224
  CurrentBrokerSoftwareInfo: output.currentBrokerSoftwareInfo != null
3225
3225
  ? deserializeAws_restJson1BrokerSoftwareInfo(output.currentBrokerSoftwareInfo, context)
3226
3226
  : undefined,
@@ -3246,8 +3246,8 @@ const deserializeAws_restJson1ClusterOperationInfo = (output, context) => {
3246
3246
  return {
3247
3247
  ClientRequestId: __expectString(output.clientRequestId),
3248
3248
  ClusterArn: __expectString(output.clusterArn),
3249
- CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
3250
- EndTime: output.endTime != null ? __expectNonNull(__parseRfc3339DateTime(output.endTime)) : undefined,
3249
+ CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
3250
+ EndTime: output.endTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.endTime)) : undefined,
3251
3251
  ErrorInfo: output.errorInfo != null ? deserializeAws_restJson1ErrorInfo(output.errorInfo, context) : undefined,
3252
3252
  OperationArn: __expectString(output.operationArn),
3253
3253
  OperationState: __expectString(output.operationState),
@@ -3285,7 +3285,7 @@ const deserializeAws_restJson1CompatibleKafkaVersion = (output, context) => {
3285
3285
  const deserializeAws_restJson1Configuration = (output, context) => {
3286
3286
  return {
3287
3287
  Arn: __expectString(output.arn),
3288
- CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
3288
+ CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
3289
3289
  Description: __expectString(output.description),
3290
3290
  KafkaVersions: output.kafkaVersions != null
3291
3291
  ? deserializeAws_restJson1__listOf__string(output.kafkaVersions, context)
@@ -3305,7 +3305,7 @@ const deserializeAws_restJson1ConfigurationInfo = (output, context) => {
3305
3305
  };
3306
3306
  const deserializeAws_restJson1ConfigurationRevision = (output, context) => {
3307
3307
  return {
3308
- CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTime(output.creationTime)) : undefined,
3308
+ CreationTime: output.creationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.creationTime)) : undefined,
3309
3309
  Description: __expectString(output.description),
3310
3310
  Revision: __expectLong(output.revision),
3311
3311
  };
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kafka",
3
3
  "description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
4
- "version": "3.259.0",
4
+ "version": "3.262.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.259.0",
23
+ "@aws-sdk/client-sts": "3.262.0",
24
24
  "@aws-sdk/config-resolver": "3.259.0",
25
- "@aws-sdk/credential-provider-node": "3.259.0",
25
+ "@aws-sdk/credential-provider-node": "3.261.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.257.0",
27
27
  "@aws-sdk/hash-node": "3.257.0",
28
28
  "@aws-sdk/invalid-dependency": "3.257.0",
@@ -39,14 +39,14 @@
39
39
  "@aws-sdk/node-config-provider": "3.259.0",
40
40
  "@aws-sdk/node-http-handler": "3.257.0",
41
41
  "@aws-sdk/protocol-http": "3.257.0",
42
- "@aws-sdk/smithy-client": "3.257.0",
42
+ "@aws-sdk/smithy-client": "3.261.0",
43
43
  "@aws-sdk/types": "3.257.0",
44
44
  "@aws-sdk/url-parser": "3.257.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.257.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.259.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.261.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.261.0",
50
50
  "@aws-sdk/util-endpoints": "3.257.0",
51
51
  "@aws-sdk/util-retry": "3.257.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.257.0",