@aws-sdk/client-connect 3.28.0 → 3.32.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.
- package/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +74 -74
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +355 -243
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +80 -76
|
@@ -406,10 +406,14 @@ import {
|
|
|
406
406
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
407
407
|
import {
|
|
408
408
|
expectBoolean as __expectBoolean,
|
|
409
|
-
|
|
409
|
+
expectInt32 as __expectInt32,
|
|
410
|
+
expectNonNull as __expectNonNull,
|
|
411
|
+
expectNumber as __expectNumber,
|
|
412
|
+
expectObject as __expectObject,
|
|
410
413
|
expectString as __expectString,
|
|
411
414
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
412
|
-
|
|
415
|
+
limitedParseDouble as __limitedParseDouble,
|
|
416
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
413
417
|
serializeFloat as __serializeFloat,
|
|
414
418
|
} from "@aws-sdk/smithy-client";
|
|
415
419
|
import {
|
|
@@ -4856,7 +4860,7 @@ export const deserializeAws_restJson1AssociateInstanceStorageConfigCommand = asy
|
|
|
4856
4860
|
$metadata: deserializeMetadata(output),
|
|
4857
4861
|
AssociationId: undefined,
|
|
4858
4862
|
};
|
|
4859
|
-
const data: any = await parseBody(output.body, context);
|
|
4863
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4860
4864
|
if (data.AssociationId !== undefined && data.AssociationId !== null) {
|
|
4861
4865
|
contents.AssociationId = __expectString(data.AssociationId);
|
|
4862
4866
|
}
|
|
@@ -5323,7 +5327,7 @@ export const deserializeAws_restJson1AssociateSecurityKeyCommand = async (
|
|
|
5323
5327
|
$metadata: deserializeMetadata(output),
|
|
5324
5328
|
AssociationId: undefined,
|
|
5325
5329
|
};
|
|
5326
|
-
const data: any = await parseBody(output.body, context);
|
|
5330
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5327
5331
|
if (data.AssociationId !== undefined && data.AssociationId !== null) {
|
|
5328
5332
|
contents.AssociationId = __expectString(data.AssociationId);
|
|
5329
5333
|
}
|
|
@@ -5427,7 +5431,7 @@ export const deserializeAws_restJson1CreateAgentStatusCommand = async (
|
|
|
5427
5431
|
AgentStatusARN: undefined,
|
|
5428
5432
|
AgentStatusId: undefined,
|
|
5429
5433
|
};
|
|
5430
|
-
const data: any = await parseBody(output.body, context);
|
|
5434
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5431
5435
|
if (data.AgentStatusARN !== undefined && data.AgentStatusARN !== null) {
|
|
5432
5436
|
contents.AgentStatusARN = __expectString(data.AgentStatusARN);
|
|
5433
5437
|
}
|
|
@@ -5534,7 +5538,7 @@ export const deserializeAws_restJson1CreateContactFlowCommand = async (
|
|
|
5534
5538
|
ContactFlowArn: undefined,
|
|
5535
5539
|
ContactFlowId: undefined,
|
|
5536
5540
|
};
|
|
5537
|
-
const data: any = await parseBody(output.body, context);
|
|
5541
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5538
5542
|
if (data.ContactFlowArn !== undefined && data.ContactFlowArn !== null) {
|
|
5539
5543
|
contents.ContactFlowArn = __expectString(data.ContactFlowArn);
|
|
5540
5544
|
}
|
|
@@ -5649,7 +5653,7 @@ export const deserializeAws_restJson1CreateHoursOfOperationCommand = async (
|
|
|
5649
5653
|
HoursOfOperationArn: undefined,
|
|
5650
5654
|
HoursOfOperationId: undefined,
|
|
5651
5655
|
};
|
|
5652
|
-
const data: any = await parseBody(output.body, context);
|
|
5656
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5653
5657
|
if (data.HoursOfOperationArn !== undefined && data.HoursOfOperationArn !== null) {
|
|
5654
5658
|
contents.HoursOfOperationArn = __expectString(data.HoursOfOperationArn);
|
|
5655
5659
|
}
|
|
@@ -5756,7 +5760,7 @@ export const deserializeAws_restJson1CreateInstanceCommand = async (
|
|
|
5756
5760
|
Arn: undefined,
|
|
5757
5761
|
Id: undefined,
|
|
5758
5762
|
};
|
|
5759
|
-
const data: any = await parseBody(output.body, context);
|
|
5763
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5760
5764
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
5761
5765
|
contents.Arn = __expectString(data.Arn);
|
|
5762
5766
|
}
|
|
@@ -5847,7 +5851,7 @@ export const deserializeAws_restJson1CreateIntegrationAssociationCommand = async
|
|
|
5847
5851
|
IntegrationAssociationArn: undefined,
|
|
5848
5852
|
IntegrationAssociationId: undefined,
|
|
5849
5853
|
};
|
|
5850
|
-
const data: any = await parseBody(output.body, context);
|
|
5854
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5851
5855
|
if (data.IntegrationAssociationArn !== undefined && data.IntegrationAssociationArn !== null) {
|
|
5852
5856
|
contents.IntegrationAssociationArn = __expectString(data.IntegrationAssociationArn);
|
|
5853
5857
|
}
|
|
@@ -5938,7 +5942,7 @@ export const deserializeAws_restJson1CreateQueueCommand = async (
|
|
|
5938
5942
|
QueueArn: undefined,
|
|
5939
5943
|
QueueId: undefined,
|
|
5940
5944
|
};
|
|
5941
|
-
const data: any = await parseBody(output.body, context);
|
|
5945
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5942
5946
|
if (data.QueueArn !== undefined && data.QueueArn !== null) {
|
|
5943
5947
|
contents.QueueArn = __expectString(data.QueueArn);
|
|
5944
5948
|
}
|
|
@@ -6045,7 +6049,7 @@ export const deserializeAws_restJson1CreateQuickConnectCommand = async (
|
|
|
6045
6049
|
QuickConnectARN: undefined,
|
|
6046
6050
|
QuickConnectId: undefined,
|
|
6047
6051
|
};
|
|
6048
|
-
const data: any = await parseBody(output.body, context);
|
|
6052
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6049
6053
|
if (data.QuickConnectARN !== undefined && data.QuickConnectARN !== null) {
|
|
6050
6054
|
contents.QuickConnectARN = __expectString(data.QuickConnectARN);
|
|
6051
6055
|
}
|
|
@@ -6152,7 +6156,7 @@ export const deserializeAws_restJson1CreateRoutingProfileCommand = async (
|
|
|
6152
6156
|
RoutingProfileArn: undefined,
|
|
6153
6157
|
RoutingProfileId: undefined,
|
|
6154
6158
|
};
|
|
6155
|
-
const data: any = await parseBody(output.body, context);
|
|
6159
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6156
6160
|
if (data.RoutingProfileArn !== undefined && data.RoutingProfileArn !== null) {
|
|
6157
6161
|
contents.RoutingProfileArn = __expectString(data.RoutingProfileArn);
|
|
6158
6162
|
}
|
|
@@ -6259,7 +6263,7 @@ export const deserializeAws_restJson1CreateUseCaseCommand = async (
|
|
|
6259
6263
|
UseCaseArn: undefined,
|
|
6260
6264
|
UseCaseId: undefined,
|
|
6261
6265
|
};
|
|
6262
|
-
const data: any = await parseBody(output.body, context);
|
|
6266
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6263
6267
|
if (data.UseCaseArn !== undefined && data.UseCaseArn !== null) {
|
|
6264
6268
|
contents.UseCaseArn = __expectString(data.UseCaseArn);
|
|
6265
6269
|
}
|
|
@@ -6350,7 +6354,7 @@ export const deserializeAws_restJson1CreateUserCommand = async (
|
|
|
6350
6354
|
UserArn: undefined,
|
|
6351
6355
|
UserId: undefined,
|
|
6352
6356
|
};
|
|
6353
|
-
const data: any = await parseBody(output.body, context);
|
|
6357
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6354
6358
|
if (data.UserArn !== undefined && data.UserArn !== null) {
|
|
6355
6359
|
contents.UserArn = __expectString(data.UserArn);
|
|
6356
6360
|
}
|
|
@@ -6457,7 +6461,7 @@ export const deserializeAws_restJson1CreateUserHierarchyGroupCommand = async (
|
|
|
6457
6461
|
HierarchyGroupArn: undefined,
|
|
6458
6462
|
HierarchyGroupId: undefined,
|
|
6459
6463
|
};
|
|
6460
|
-
const data: any = await parseBody(output.body, context);
|
|
6464
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
6461
6465
|
if (data.HierarchyGroupArn !== undefined && data.HierarchyGroupArn !== null) {
|
|
6462
6466
|
contents.HierarchyGroupArn = __expectString(data.HierarchyGroupArn);
|
|
6463
6467
|
}
|
|
@@ -7120,7 +7124,7 @@ export const deserializeAws_restJson1DescribeAgentStatusCommand = async (
|
|
|
7120
7124
|
$metadata: deserializeMetadata(output),
|
|
7121
7125
|
AgentStatus: undefined,
|
|
7122
7126
|
};
|
|
7123
|
-
const data: any = await parseBody(output.body, context);
|
|
7127
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7124
7128
|
if (data.AgentStatus !== undefined && data.AgentStatus !== null) {
|
|
7125
7129
|
contents.AgentStatus = deserializeAws_restJson1AgentStatus(data.AgentStatus, context);
|
|
7126
7130
|
}
|
|
@@ -7207,7 +7211,7 @@ export const deserializeAws_restJson1DescribeContactFlowCommand = async (
|
|
|
7207
7211
|
$metadata: deserializeMetadata(output),
|
|
7208
7212
|
ContactFlow: undefined,
|
|
7209
7213
|
};
|
|
7210
|
-
const data: any = await parseBody(output.body, context);
|
|
7214
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7211
7215
|
if (data.ContactFlow !== undefined && data.ContactFlow !== null) {
|
|
7212
7216
|
contents.ContactFlow = deserializeAws_restJson1ContactFlow(data.ContactFlow, context);
|
|
7213
7217
|
}
|
|
@@ -7302,7 +7306,7 @@ export const deserializeAws_restJson1DescribeHoursOfOperationCommand = async (
|
|
|
7302
7306
|
$metadata: deserializeMetadata(output),
|
|
7303
7307
|
HoursOfOperation: undefined,
|
|
7304
7308
|
};
|
|
7305
|
-
const data: any = await parseBody(output.body, context);
|
|
7309
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7306
7310
|
if (data.HoursOfOperation !== undefined && data.HoursOfOperation !== null) {
|
|
7307
7311
|
contents.HoursOfOperation = deserializeAws_restJson1HoursOfOperation(data.HoursOfOperation, context);
|
|
7308
7312
|
}
|
|
@@ -7389,7 +7393,7 @@ export const deserializeAws_restJson1DescribeInstanceCommand = async (
|
|
|
7389
7393
|
$metadata: deserializeMetadata(output),
|
|
7390
7394
|
Instance: undefined,
|
|
7391
7395
|
};
|
|
7392
|
-
const data: any = await parseBody(output.body, context);
|
|
7396
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7393
7397
|
if (data.Instance !== undefined && data.Instance !== null) {
|
|
7394
7398
|
contents.Instance = deserializeAws_restJson1Instance(data.Instance, context);
|
|
7395
7399
|
}
|
|
@@ -7460,7 +7464,7 @@ export const deserializeAws_restJson1DescribeInstanceAttributeCommand = async (
|
|
|
7460
7464
|
$metadata: deserializeMetadata(output),
|
|
7461
7465
|
Attribute: undefined,
|
|
7462
7466
|
};
|
|
7463
|
-
const data: any = await parseBody(output.body, context);
|
|
7467
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7464
7468
|
if (data.Attribute !== undefined && data.Attribute !== null) {
|
|
7465
7469
|
contents.Attribute = deserializeAws_restJson1Attribute(data.Attribute, context);
|
|
7466
7470
|
}
|
|
@@ -7547,7 +7551,7 @@ export const deserializeAws_restJson1DescribeInstanceStorageConfigCommand = asyn
|
|
|
7547
7551
|
$metadata: deserializeMetadata(output),
|
|
7548
7552
|
StorageConfig: undefined,
|
|
7549
7553
|
};
|
|
7550
|
-
const data: any = await parseBody(output.body, context);
|
|
7554
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7551
7555
|
if (data.StorageConfig !== undefined && data.StorageConfig !== null) {
|
|
7552
7556
|
contents.StorageConfig = deserializeAws_restJson1InstanceStorageConfig(data.StorageConfig, context);
|
|
7553
7557
|
}
|
|
@@ -7634,7 +7638,7 @@ export const deserializeAws_restJson1DescribeQueueCommand = async (
|
|
|
7634
7638
|
$metadata: deserializeMetadata(output),
|
|
7635
7639
|
Queue: undefined,
|
|
7636
7640
|
};
|
|
7637
|
-
const data: any = await parseBody(output.body, context);
|
|
7641
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7638
7642
|
if (data.Queue !== undefined && data.Queue !== null) {
|
|
7639
7643
|
contents.Queue = deserializeAws_restJson1Queue(data.Queue, context);
|
|
7640
7644
|
}
|
|
@@ -7721,7 +7725,7 @@ export const deserializeAws_restJson1DescribeQuickConnectCommand = async (
|
|
|
7721
7725
|
$metadata: deserializeMetadata(output),
|
|
7722
7726
|
QuickConnect: undefined,
|
|
7723
7727
|
};
|
|
7724
|
-
const data: any = await parseBody(output.body, context);
|
|
7728
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7725
7729
|
if (data.QuickConnect !== undefined && data.QuickConnect !== null) {
|
|
7726
7730
|
contents.QuickConnect = deserializeAws_restJson1QuickConnect(data.QuickConnect, context);
|
|
7727
7731
|
}
|
|
@@ -7808,7 +7812,7 @@ export const deserializeAws_restJson1DescribeRoutingProfileCommand = async (
|
|
|
7808
7812
|
$metadata: deserializeMetadata(output),
|
|
7809
7813
|
RoutingProfile: undefined,
|
|
7810
7814
|
};
|
|
7811
|
-
const data: any = await parseBody(output.body, context);
|
|
7815
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7812
7816
|
if (data.RoutingProfile !== undefined && data.RoutingProfile !== null) {
|
|
7813
7817
|
contents.RoutingProfile = deserializeAws_restJson1RoutingProfile(data.RoutingProfile, context);
|
|
7814
7818
|
}
|
|
@@ -7895,7 +7899,7 @@ export const deserializeAws_restJson1DescribeUserCommand = async (
|
|
|
7895
7899
|
$metadata: deserializeMetadata(output),
|
|
7896
7900
|
User: undefined,
|
|
7897
7901
|
};
|
|
7898
|
-
const data: any = await parseBody(output.body, context);
|
|
7902
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7899
7903
|
if (data.User !== undefined && data.User !== null) {
|
|
7900
7904
|
contents.User = deserializeAws_restJson1User(data.User, context);
|
|
7901
7905
|
}
|
|
@@ -7982,7 +7986,7 @@ export const deserializeAws_restJson1DescribeUserHierarchyGroupCommand = async (
|
|
|
7982
7986
|
$metadata: deserializeMetadata(output),
|
|
7983
7987
|
HierarchyGroup: undefined,
|
|
7984
7988
|
};
|
|
7985
|
-
const data: any = await parseBody(output.body, context);
|
|
7989
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
7986
7990
|
if (data.HierarchyGroup !== undefined && data.HierarchyGroup !== null) {
|
|
7987
7991
|
contents.HierarchyGroup = deserializeAws_restJson1HierarchyGroup(data.HierarchyGroup, context);
|
|
7988
7992
|
}
|
|
@@ -8069,7 +8073,7 @@ export const deserializeAws_restJson1DescribeUserHierarchyStructureCommand = asy
|
|
|
8069
8073
|
$metadata: deserializeMetadata(output),
|
|
8070
8074
|
HierarchyStructure: undefined,
|
|
8071
8075
|
};
|
|
8072
|
-
const data: any = await parseBody(output.body, context);
|
|
8076
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8073
8077
|
if (data.HierarchyStructure !== undefined && data.HierarchyStructure !== null) {
|
|
8074
8078
|
contents.HierarchyStructure = deserializeAws_restJson1HierarchyStructure(data.HierarchyStructure, context);
|
|
8075
8079
|
}
|
|
@@ -8812,7 +8816,7 @@ export const deserializeAws_restJson1GetContactAttributesCommand = async (
|
|
|
8812
8816
|
$metadata: deserializeMetadata(output),
|
|
8813
8817
|
Attributes: undefined,
|
|
8814
8818
|
};
|
|
8815
|
-
const data: any = await parseBody(output.body, context);
|
|
8819
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8816
8820
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
8817
8821
|
contents.Attributes = deserializeAws_restJson1Attributes(data.Attributes, context);
|
|
8818
8822
|
}
|
|
@@ -8885,9 +8889,9 @@ export const deserializeAws_restJson1GetCurrentMetricDataCommand = async (
|
|
|
8885
8889
|
MetricResults: undefined,
|
|
8886
8890
|
NextToken: undefined,
|
|
8887
8891
|
};
|
|
8888
|
-
const data: any = await parseBody(output.body, context);
|
|
8892
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8889
8893
|
if (data.DataSnapshotTime !== undefined && data.DataSnapshotTime !== null) {
|
|
8890
|
-
contents.DataSnapshotTime =
|
|
8894
|
+
contents.DataSnapshotTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.DataSnapshotTime)));
|
|
8891
8895
|
}
|
|
8892
8896
|
if (data.MetricResults !== undefined && data.MetricResults !== null) {
|
|
8893
8897
|
contents.MetricResults = deserializeAws_restJson1CurrentMetricResults(data.MetricResults, context);
|
|
@@ -8978,7 +8982,7 @@ export const deserializeAws_restJson1GetFederationTokenCommand = async (
|
|
|
8978
8982
|
$metadata: deserializeMetadata(output),
|
|
8979
8983
|
Credentials: undefined,
|
|
8980
8984
|
};
|
|
8981
|
-
const data: any = await parseBody(output.body, context);
|
|
8985
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
8982
8986
|
if (data.Credentials !== undefined && data.Credentials !== null) {
|
|
8983
8987
|
contents.Credentials = deserializeAws_restJson1Credentials(data.Credentials, context);
|
|
8984
8988
|
}
|
|
@@ -9074,7 +9078,7 @@ export const deserializeAws_restJson1GetMetricDataCommand = async (
|
|
|
9074
9078
|
MetricResults: undefined,
|
|
9075
9079
|
NextToken: undefined,
|
|
9076
9080
|
};
|
|
9077
|
-
const data: any = await parseBody(output.body, context);
|
|
9081
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9078
9082
|
if (data.MetricResults !== undefined && data.MetricResults !== null) {
|
|
9079
9083
|
contents.MetricResults = deserializeAws_restJson1HistoricalMetricResults(data.MetricResults, context);
|
|
9080
9084
|
}
|
|
@@ -9165,7 +9169,7 @@ export const deserializeAws_restJson1ListAgentStatusesCommand = async (
|
|
|
9165
9169
|
AgentStatusSummaryList: undefined,
|
|
9166
9170
|
NextToken: undefined,
|
|
9167
9171
|
};
|
|
9168
|
-
const data: any = await parseBody(output.body, context);
|
|
9172
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9169
9173
|
if (data.AgentStatusSummaryList !== undefined && data.AgentStatusSummaryList !== null) {
|
|
9170
9174
|
contents.AgentStatusSummaryList = deserializeAws_restJson1AgentStatusSummaryList(
|
|
9171
9175
|
data.AgentStatusSummaryList,
|
|
@@ -9259,7 +9263,7 @@ export const deserializeAws_restJson1ListApprovedOriginsCommand = async (
|
|
|
9259
9263
|
NextToken: undefined,
|
|
9260
9264
|
Origins: undefined,
|
|
9261
9265
|
};
|
|
9262
|
-
const data: any = await parseBody(output.body, context);
|
|
9266
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9263
9267
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9264
9268
|
contents.NextToken = __expectString(data.NextToken);
|
|
9265
9269
|
}
|
|
@@ -9350,7 +9354,7 @@ export const deserializeAws_restJson1ListBotsCommand = async (
|
|
|
9350
9354
|
LexBots: undefined,
|
|
9351
9355
|
NextToken: undefined,
|
|
9352
9356
|
};
|
|
9353
|
-
const data: any = await parseBody(output.body, context);
|
|
9357
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9354
9358
|
if (data.LexBots !== undefined && data.LexBots !== null) {
|
|
9355
9359
|
contents.LexBots = deserializeAws_restJson1LexBotConfigList(data.LexBots, context);
|
|
9356
9360
|
}
|
|
@@ -9433,7 +9437,7 @@ export const deserializeAws_restJson1ListContactFlowsCommand = async (
|
|
|
9433
9437
|
ContactFlowSummaryList: undefined,
|
|
9434
9438
|
NextToken: undefined,
|
|
9435
9439
|
};
|
|
9436
|
-
const data: any = await parseBody(output.body, context);
|
|
9440
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9437
9441
|
if (data.ContactFlowSummaryList !== undefined && data.ContactFlowSummaryList !== null) {
|
|
9438
9442
|
contents.ContactFlowSummaryList = deserializeAws_restJson1ContactFlowSummaryList(
|
|
9439
9443
|
data.ContactFlowSummaryList,
|
|
@@ -9527,7 +9531,7 @@ export const deserializeAws_restJson1ListHoursOfOperationsCommand = async (
|
|
|
9527
9531
|
HoursOfOperationSummaryList: undefined,
|
|
9528
9532
|
NextToken: undefined,
|
|
9529
9533
|
};
|
|
9530
|
-
const data: any = await parseBody(output.body, context);
|
|
9534
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9531
9535
|
if (data.HoursOfOperationSummaryList !== undefined && data.HoursOfOperationSummaryList !== null) {
|
|
9532
9536
|
contents.HoursOfOperationSummaryList = deserializeAws_restJson1HoursOfOperationSummaryList(
|
|
9533
9537
|
data.HoursOfOperationSummaryList,
|
|
@@ -9621,7 +9625,7 @@ export const deserializeAws_restJson1ListInstanceAttributesCommand = async (
|
|
|
9621
9625
|
Attributes: undefined,
|
|
9622
9626
|
NextToken: undefined,
|
|
9623
9627
|
};
|
|
9624
|
-
const data: any = await parseBody(output.body, context);
|
|
9628
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9625
9629
|
if (data.Attributes !== undefined && data.Attributes !== null) {
|
|
9626
9630
|
contents.Attributes = deserializeAws_restJson1AttributesList(data.Attributes, context);
|
|
9627
9631
|
}
|
|
@@ -9712,7 +9716,7 @@ export const deserializeAws_restJson1ListInstancesCommand = async (
|
|
|
9712
9716
|
InstanceSummaryList: undefined,
|
|
9713
9717
|
NextToken: undefined,
|
|
9714
9718
|
};
|
|
9715
|
-
const data: any = await parseBody(output.body, context);
|
|
9719
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9716
9720
|
if (data.InstanceSummaryList !== undefined && data.InstanceSummaryList !== null) {
|
|
9717
9721
|
contents.InstanceSummaryList = deserializeAws_restJson1InstanceSummaryList(data.InstanceSummaryList, context);
|
|
9718
9722
|
}
|
|
@@ -9779,7 +9783,7 @@ export const deserializeAws_restJson1ListInstanceStorageConfigsCommand = async (
|
|
|
9779
9783
|
NextToken: undefined,
|
|
9780
9784
|
StorageConfigs: undefined,
|
|
9781
9785
|
};
|
|
9782
|
-
const data: any = await parseBody(output.body, context);
|
|
9786
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9783
9787
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
9784
9788
|
contents.NextToken = __expectString(data.NextToken);
|
|
9785
9789
|
}
|
|
@@ -9870,7 +9874,7 @@ export const deserializeAws_restJson1ListIntegrationAssociationsCommand = async
|
|
|
9870
9874
|
IntegrationAssociationSummaryList: undefined,
|
|
9871
9875
|
NextToken: undefined,
|
|
9872
9876
|
};
|
|
9873
|
-
const data: any = await parseBody(output.body, context);
|
|
9877
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9874
9878
|
if (data.IntegrationAssociationSummaryList !== undefined && data.IntegrationAssociationSummaryList !== null) {
|
|
9875
9879
|
contents.IntegrationAssociationSummaryList = deserializeAws_restJson1IntegrationAssociationSummaryList(
|
|
9876
9880
|
data.IntegrationAssociationSummaryList,
|
|
@@ -9956,7 +9960,7 @@ export const deserializeAws_restJson1ListLambdaFunctionsCommand = async (
|
|
|
9956
9960
|
LambdaFunctions: undefined,
|
|
9957
9961
|
NextToken: undefined,
|
|
9958
9962
|
};
|
|
9959
|
-
const data: any = await parseBody(output.body, context);
|
|
9963
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
9960
9964
|
if (data.LambdaFunctions !== undefined && data.LambdaFunctions !== null) {
|
|
9961
9965
|
contents.LambdaFunctions = deserializeAws_restJson1FunctionArnsList(data.LambdaFunctions, context);
|
|
9962
9966
|
}
|
|
@@ -10047,7 +10051,7 @@ export const deserializeAws_restJson1ListLexBotsCommand = async (
|
|
|
10047
10051
|
LexBots: undefined,
|
|
10048
10052
|
NextToken: undefined,
|
|
10049
10053
|
};
|
|
10050
|
-
const data: any = await parseBody(output.body, context);
|
|
10054
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10051
10055
|
if (data.LexBots !== undefined && data.LexBots !== null) {
|
|
10052
10056
|
contents.LexBots = deserializeAws_restJson1LexBotsList(data.LexBots, context);
|
|
10053
10057
|
}
|
|
@@ -10138,7 +10142,7 @@ export const deserializeAws_restJson1ListPhoneNumbersCommand = async (
|
|
|
10138
10142
|
NextToken: undefined,
|
|
10139
10143
|
PhoneNumberSummaryList: undefined,
|
|
10140
10144
|
};
|
|
10141
|
-
const data: any = await parseBody(output.body, context);
|
|
10145
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10142
10146
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10143
10147
|
contents.NextToken = __expectString(data.NextToken);
|
|
10144
10148
|
}
|
|
@@ -10232,7 +10236,7 @@ export const deserializeAws_restJson1ListPromptsCommand = async (
|
|
|
10232
10236
|
NextToken: undefined,
|
|
10233
10237
|
PromptSummaryList: undefined,
|
|
10234
10238
|
};
|
|
10235
|
-
const data: any = await parseBody(output.body, context);
|
|
10239
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10236
10240
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10237
10241
|
contents.NextToken = __expectString(data.NextToken);
|
|
10238
10242
|
}
|
|
@@ -10323,7 +10327,7 @@ export const deserializeAws_restJson1ListQueueQuickConnectsCommand = async (
|
|
|
10323
10327
|
NextToken: undefined,
|
|
10324
10328
|
QuickConnectSummaryList: undefined,
|
|
10325
10329
|
};
|
|
10326
|
-
const data: any = await parseBody(output.body, context);
|
|
10330
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10327
10331
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10328
10332
|
contents.NextToken = __expectString(data.NextToken);
|
|
10329
10333
|
}
|
|
@@ -10417,7 +10421,7 @@ export const deserializeAws_restJson1ListQueuesCommand = async (
|
|
|
10417
10421
|
NextToken: undefined,
|
|
10418
10422
|
QueueSummaryList: undefined,
|
|
10419
10423
|
};
|
|
10420
|
-
const data: any = await parseBody(output.body, context);
|
|
10424
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10421
10425
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10422
10426
|
contents.NextToken = __expectString(data.NextToken);
|
|
10423
10427
|
}
|
|
@@ -10508,7 +10512,7 @@ export const deserializeAws_restJson1ListQuickConnectsCommand = async (
|
|
|
10508
10512
|
NextToken: undefined,
|
|
10509
10513
|
QuickConnectSummaryList: undefined,
|
|
10510
10514
|
};
|
|
10511
|
-
const data: any = await parseBody(output.body, context);
|
|
10515
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10512
10516
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10513
10517
|
contents.NextToken = __expectString(data.NextToken);
|
|
10514
10518
|
}
|
|
@@ -10602,7 +10606,7 @@ export const deserializeAws_restJson1ListRoutingProfileQueuesCommand = async (
|
|
|
10602
10606
|
NextToken: undefined,
|
|
10603
10607
|
RoutingProfileQueueConfigSummaryList: undefined,
|
|
10604
10608
|
};
|
|
10605
|
-
const data: any = await parseBody(output.body, context);
|
|
10609
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10606
10610
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10607
10611
|
contents.NextToken = __expectString(data.NextToken);
|
|
10608
10612
|
}
|
|
@@ -10696,7 +10700,7 @@ export const deserializeAws_restJson1ListRoutingProfilesCommand = async (
|
|
|
10696
10700
|
NextToken: undefined,
|
|
10697
10701
|
RoutingProfileSummaryList: undefined,
|
|
10698
10702
|
};
|
|
10699
|
-
const data: any = await parseBody(output.body, context);
|
|
10703
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10700
10704
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10701
10705
|
contents.NextToken = __expectString(data.NextToken);
|
|
10702
10706
|
}
|
|
@@ -10790,7 +10794,7 @@ export const deserializeAws_restJson1ListSecurityKeysCommand = async (
|
|
|
10790
10794
|
NextToken: undefined,
|
|
10791
10795
|
SecurityKeys: undefined,
|
|
10792
10796
|
};
|
|
10793
|
-
const data: any = await parseBody(output.body, context);
|
|
10797
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10794
10798
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10795
10799
|
contents.NextToken = __expectString(data.NextToken);
|
|
10796
10800
|
}
|
|
@@ -10881,7 +10885,7 @@ export const deserializeAws_restJson1ListSecurityProfilesCommand = async (
|
|
|
10881
10885
|
NextToken: undefined,
|
|
10882
10886
|
SecurityProfileSummaryList: undefined,
|
|
10883
10887
|
};
|
|
10884
|
-
const data: any = await parseBody(output.body, context);
|
|
10888
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10885
10889
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
10886
10890
|
contents.NextToken = __expectString(data.NextToken);
|
|
10887
10891
|
}
|
|
@@ -10974,7 +10978,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
|
|
|
10974
10978
|
$metadata: deserializeMetadata(output),
|
|
10975
10979
|
tags: undefined,
|
|
10976
10980
|
};
|
|
10977
|
-
const data: any = await parseBody(output.body, context);
|
|
10981
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
10978
10982
|
if (data.tags !== undefined && data.tags !== null) {
|
|
10979
10983
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
10980
10984
|
}
|
|
@@ -11062,7 +11066,7 @@ export const deserializeAws_restJson1ListUseCasesCommand = async (
|
|
|
11062
11066
|
NextToken: undefined,
|
|
11063
11067
|
UseCaseSummaryList: undefined,
|
|
11064
11068
|
};
|
|
11065
|
-
const data: any = await parseBody(output.body, context);
|
|
11069
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11066
11070
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
11067
11071
|
contents.NextToken = __expectString(data.NextToken);
|
|
11068
11072
|
}
|
|
@@ -11145,7 +11149,7 @@ export const deserializeAws_restJson1ListUserHierarchyGroupsCommand = async (
|
|
|
11145
11149
|
NextToken: undefined,
|
|
11146
11150
|
UserHierarchyGroupSummaryList: undefined,
|
|
11147
11151
|
};
|
|
11148
|
-
const data: any = await parseBody(output.body, context);
|
|
11152
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11149
11153
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
11150
11154
|
contents.NextToken = __expectString(data.NextToken);
|
|
11151
11155
|
}
|
|
@@ -11239,7 +11243,7 @@ export const deserializeAws_restJson1ListUsersCommand = async (
|
|
|
11239
11243
|
NextToken: undefined,
|
|
11240
11244
|
UserSummaryList: undefined,
|
|
11241
11245
|
};
|
|
11242
|
-
const data: any = await parseBody(output.body, context);
|
|
11246
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11243
11247
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
11244
11248
|
contents.NextToken = __expectString(data.NextToken);
|
|
11245
11249
|
}
|
|
@@ -11398,7 +11402,7 @@ export const deserializeAws_restJson1StartChatContactCommand = async (
|
|
|
11398
11402
|
ParticipantId: undefined,
|
|
11399
11403
|
ParticipantToken: undefined,
|
|
11400
11404
|
};
|
|
11401
|
-
const data: any = await parseBody(output.body, context);
|
|
11405
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11402
11406
|
if (data.ContactId !== undefined && data.ContactId !== null) {
|
|
11403
11407
|
contents.ContactId = __expectString(data.ContactId);
|
|
11404
11408
|
}
|
|
@@ -11566,7 +11570,7 @@ export const deserializeAws_restJson1StartOutboundVoiceContactCommand = async (
|
|
|
11566
11570
|
$metadata: deserializeMetadata(output),
|
|
11567
11571
|
ContactId: undefined,
|
|
11568
11572
|
};
|
|
11569
|
-
const data: any = await parseBody(output.body, context);
|
|
11573
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11570
11574
|
if (data.ContactId !== undefined && data.ContactId !== null) {
|
|
11571
11575
|
contents.ContactId = __expectString(data.ContactId);
|
|
11572
11576
|
}
|
|
@@ -11669,7 +11673,7 @@ export const deserializeAws_restJson1StartTaskContactCommand = async (
|
|
|
11669
11673
|
$metadata: deserializeMetadata(output),
|
|
11670
11674
|
ContactId: undefined,
|
|
11671
11675
|
};
|
|
11672
|
-
const data: any = await parseBody(output.body, context);
|
|
11676
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
11673
11677
|
if (data.ContactId !== undefined && data.ContactId !== null) {
|
|
11674
11678
|
contents.ContactId = __expectString(data.ContactId);
|
|
11675
11679
|
}
|
|
@@ -15027,7 +15031,7 @@ const deserializeAws_restJson1AgentStatus = (output: any, context: __SerdeContex
|
|
|
15027
15031
|
AgentStatusARN: __expectString(output.AgentStatusARN),
|
|
15028
15032
|
AgentStatusId: __expectString(output.AgentStatusId),
|
|
15029
15033
|
Description: __expectString(output.Description),
|
|
15030
|
-
DisplayOrder:
|
|
15034
|
+
DisplayOrder: __expectInt32(output.DisplayOrder),
|
|
15031
15035
|
Name: __expectString(output.Name),
|
|
15032
15036
|
State: __expectString(output.State),
|
|
15033
15037
|
Tags:
|
|
@@ -15128,12 +15132,12 @@ const deserializeAws_restJson1Credentials = (output: any, context: __SerdeContex
|
|
|
15128
15132
|
AccessToken: __expectString(output.AccessToken),
|
|
15129
15133
|
AccessTokenExpiration:
|
|
15130
15134
|
output.AccessTokenExpiration !== undefined && output.AccessTokenExpiration !== null
|
|
15131
|
-
?
|
|
15135
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AccessTokenExpiration)))
|
|
15132
15136
|
: undefined,
|
|
15133
15137
|
RefreshToken: __expectString(output.RefreshToken),
|
|
15134
15138
|
RefreshTokenExpiration:
|
|
15135
15139
|
output.RefreshTokenExpiration !== undefined && output.RefreshTokenExpiration !== null
|
|
15136
|
-
?
|
|
15140
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RefreshTokenExpiration)))
|
|
15137
15141
|
: undefined,
|
|
15138
15142
|
} as any;
|
|
15139
15143
|
};
|
|
@@ -15151,7 +15155,7 @@ const deserializeAws_restJson1CurrentMetricData = (output: any, context: __Serde
|
|
|
15151
15155
|
output.Metric !== undefined && output.Metric !== null
|
|
15152
15156
|
? deserializeAws_restJson1CurrentMetric(output.Metric, context)
|
|
15153
15157
|
: undefined,
|
|
15154
|
-
Value:
|
|
15158
|
+
Value: __limitedParseDouble(output.Value),
|
|
15155
15159
|
} as any;
|
|
15156
15160
|
};
|
|
15157
15161
|
|
|
@@ -15332,7 +15336,7 @@ const deserializeAws_restJson1HistoricalMetricData = (output: any, context: __Se
|
|
|
15332
15336
|
output.Metric !== undefined && output.Metric !== null
|
|
15333
15337
|
? deserializeAws_restJson1HistoricalMetric(output.Metric, context)
|
|
15334
15338
|
: undefined,
|
|
15335
|
-
Value:
|
|
15339
|
+
Value: __limitedParseDouble(output.Value),
|
|
15336
15340
|
} as any;
|
|
15337
15341
|
};
|
|
15338
15342
|
|
|
@@ -15459,8 +15463,8 @@ const deserializeAws_restJson1HoursOfOperationTimeSlice = (
|
|
|
15459
15463
|
context: __SerdeContext
|
|
15460
15464
|
): HoursOfOperationTimeSlice => {
|
|
15461
15465
|
return {
|
|
15462
|
-
Hours:
|
|
15463
|
-
Minutes:
|
|
15466
|
+
Hours: __expectInt32(output.Hours),
|
|
15467
|
+
Minutes: __expectInt32(output.Minutes),
|
|
15464
15468
|
} as any;
|
|
15465
15469
|
};
|
|
15466
15470
|
|
|
@@ -15469,7 +15473,7 @@ const deserializeAws_restJson1Instance = (output: any, context: __SerdeContext):
|
|
|
15469
15473
|
Arn: __expectString(output.Arn),
|
|
15470
15474
|
CreatedTime:
|
|
15471
15475
|
output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
15472
|
-
?
|
|
15476
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
15473
15477
|
: undefined,
|
|
15474
15478
|
Id: __expectString(output.Id),
|
|
15475
15479
|
IdentityManagementType: __expectString(output.IdentityManagementType),
|
|
@@ -15533,7 +15537,7 @@ const deserializeAws_restJson1InstanceSummary = (output: any, context: __SerdeCo
|
|
|
15533
15537
|
Arn: __expectString(output.Arn),
|
|
15534
15538
|
CreatedTime:
|
|
15535
15539
|
output.CreatedTime !== undefined && output.CreatedTime !== null
|
|
15536
|
-
?
|
|
15540
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
|
|
15537
15541
|
: undefined,
|
|
15538
15542
|
Id: __expectString(output.Id),
|
|
15539
15543
|
IdentityManagementType: __expectString(output.IdentityManagementType),
|
|
@@ -15608,7 +15612,7 @@ const deserializeAws_restJson1KinesisVideoStreamConfig = (
|
|
|
15608
15612
|
? deserializeAws_restJson1EncryptionConfig(output.EncryptionConfig, context)
|
|
15609
15613
|
: undefined,
|
|
15610
15614
|
Prefix: __expectString(output.Prefix),
|
|
15611
|
-
RetentionPeriodHours:
|
|
15615
|
+
RetentionPeriodHours: __expectInt32(output.RetentionPeriodHours),
|
|
15612
15616
|
} as any;
|
|
15613
15617
|
};
|
|
15614
15618
|
|
|
@@ -15674,7 +15678,7 @@ const deserializeAws_restJson1MediaConcurrencies = (output: any, context: __Serd
|
|
|
15674
15678
|
const deserializeAws_restJson1MediaConcurrency = (output: any, context: __SerdeContext): MediaConcurrency => {
|
|
15675
15679
|
return {
|
|
15676
15680
|
Channel: __expectString(output.Channel),
|
|
15677
|
-
Concurrency:
|
|
15681
|
+
Concurrency: __expectInt32(output.Concurrency),
|
|
15678
15682
|
} as any;
|
|
15679
15683
|
};
|
|
15680
15684
|
|
|
@@ -15767,7 +15771,7 @@ const deserializeAws_restJson1Queue = (output: any, context: __SerdeContext): Qu
|
|
|
15767
15771
|
return {
|
|
15768
15772
|
Description: __expectString(output.Description),
|
|
15769
15773
|
HoursOfOperationId: __expectString(output.HoursOfOperationId),
|
|
15770
|
-
MaxContacts:
|
|
15774
|
+
MaxContacts: __expectInt32(output.MaxContacts),
|
|
15771
15775
|
Name: __expectString(output.Name),
|
|
15772
15776
|
OutboundCallerConfig:
|
|
15773
15777
|
output.OutboundCallerConfig !== undefined && output.OutboundCallerConfig !== null
|
|
@@ -15903,8 +15907,8 @@ const deserializeAws_restJson1RoutingProfileQueueConfigSummary = (
|
|
|
15903
15907
|
): RoutingProfileQueueConfigSummary => {
|
|
15904
15908
|
return {
|
|
15905
15909
|
Channel: __expectString(output.Channel),
|
|
15906
|
-
Delay:
|
|
15907
|
-
Priority:
|
|
15910
|
+
Delay: __expectInt32(output.Delay),
|
|
15911
|
+
Priority: __expectInt32(output.Priority),
|
|
15908
15912
|
QueueArn: __expectString(output.QueueArn),
|
|
15909
15913
|
QueueId: __expectString(output.QueueId),
|
|
15910
15914
|
QueueName: __expectString(output.QueueName),
|
|
@@ -15963,7 +15967,7 @@ const deserializeAws_restJson1SecurityKey = (output: any, context: __SerdeContex
|
|
|
15963
15967
|
AssociationId: __expectString(output.AssociationId),
|
|
15964
15968
|
CreationTime:
|
|
15965
15969
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
15966
|
-
?
|
|
15970
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
15967
15971
|
: undefined,
|
|
15968
15972
|
Key: __expectString(output.Key),
|
|
15969
15973
|
} as any;
|
|
@@ -16031,7 +16035,7 @@ const deserializeAws_restJson1TagMap = (output: any, context: __SerdeContext): {
|
|
|
16031
16035
|
const deserializeAws_restJson1Threshold = (output: any, context: __SerdeContext): Threshold => {
|
|
16032
16036
|
return {
|
|
16033
16037
|
Comparison: __expectString(output.Comparison),
|
|
16034
|
-
ThresholdValue:
|
|
16038
|
+
ThresholdValue: __limitedParseDouble(output.ThresholdValue),
|
|
16035
16039
|
} as any;
|
|
16036
16040
|
};
|
|
16037
16041
|
|
|
@@ -16091,7 +16095,7 @@ const deserializeAws_restJson1UserIdentityInfo = (output: any, context: __SerdeC
|
|
|
16091
16095
|
|
|
16092
16096
|
const deserializeAws_restJson1UserPhoneConfig = (output: any, context: __SerdeContext): UserPhoneConfig => {
|
|
16093
16097
|
return {
|
|
16094
|
-
AfterContactWorkTimeLimit:
|
|
16098
|
+
AfterContactWorkTimeLimit: __expectInt32(output.AfterContactWorkTimeLimit),
|
|
16095
16099
|
AutoAccept: __expectBoolean(output.AutoAccept),
|
|
16096
16100
|
DeskPhoneNumber: __expectString(output.DeskPhoneNumber),
|
|
16097
16101
|
PhoneType: __expectString(output.PhoneType),
|