@aws-sdk/client-workmail 3.31.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 +8 -0
- package/dist/cjs/WorkMailClient.js +13 -13
- package/dist/cjs/WorkMailClient.js.map +1 -1
- package/dist/cjs/commands/AssociateDelegateToResourceCommand.js +3 -3
- package/dist/cjs/commands/AssociateDelegateToResourceCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateMemberToGroupCommand.js +3 -3
- package/dist/cjs/commands/AssociateMemberToGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CancelMailboxExportJobCommand.js +3 -3
- package/dist/cjs/commands/CancelMailboxExportJobCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAliasCommand.js +3 -3
- package/dist/cjs/commands/CreateAliasCommand.js.map +1 -1
- package/dist/cjs/commands/CreateGroupCommand.js +3 -3
- package/dist/cjs/commands/CreateGroupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateMobileDeviceAccessRuleCommand.js +3 -3
- package/dist/cjs/commands/CreateMobileDeviceAccessRuleCommand.js.map +1 -1
- package/dist/cjs/commands/CreateOrganizationCommand.js +3 -3
- package/dist/cjs/commands/CreateOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateResourceCommand.js +3 -3
- package/dist/cjs/commands/CreateResourceCommand.js.map +1 -1
- package/dist/cjs/commands/CreateUserCommand.js +3 -3
- package/dist/cjs/commands/CreateUserCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAccessControlRuleCommand.js +3 -3
- package/dist/cjs/commands/DeleteAccessControlRuleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAliasCommand.js +3 -3
- package/dist/cjs/commands/DeleteAliasCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteGroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMailboxPermissionsCommand.js +3 -3
- package/dist/cjs/commands/DeleteMailboxPermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMobileDeviceAccessRuleCommand.js +3 -3
- package/dist/cjs/commands/DeleteMobileDeviceAccessRuleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteOrganizationCommand.js +3 -3
- package/dist/cjs/commands/DeleteOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteResourceCommand.js +3 -3
- package/dist/cjs/commands/DeleteResourceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js +3 -3
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteUserCommand.js +3 -3
- package/dist/cjs/commands/DeleteUserCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterFromWorkMailCommand.js +3 -3
- package/dist/cjs/commands/DeregisterFromWorkMailCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeGroupCommand.js +3 -3
- package/dist/cjs/commands/DescribeGroupCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeMailboxExportJobCommand.js +3 -3
- package/dist/cjs/commands/DescribeMailboxExportJobCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeOrganizationCommand.js +3 -3
- package/dist/cjs/commands/DescribeOrganizationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeResourceCommand.js +3 -3
- package/dist/cjs/commands/DescribeResourceCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUserCommand.js +3 -3
- package/dist/cjs/commands/DescribeUserCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateDelegateFromResourceCommand.js +3 -3
- package/dist/cjs/commands/DisassociateDelegateFromResourceCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateMemberFromGroupCommand.js +3 -3
- package/dist/cjs/commands/DisassociateMemberFromGroupCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccessControlEffectCommand.js +3 -3
- package/dist/cjs/commands/GetAccessControlEffectCommand.js.map +1 -1
- package/dist/cjs/commands/GetDefaultRetentionPolicyCommand.js +3 -3
- package/dist/cjs/commands/GetDefaultRetentionPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/GetMailboxDetailsCommand.js +3 -3
- package/dist/cjs/commands/GetMailboxDetailsCommand.js.map +1 -1
- package/dist/cjs/commands/GetMobileDeviceAccessEffectCommand.js +3 -3
- package/dist/cjs/commands/GetMobileDeviceAccessEffectCommand.js.map +1 -1
- package/dist/cjs/commands/ListAccessControlRulesCommand.js +3 -3
- package/dist/cjs/commands/ListAccessControlRulesCommand.js.map +1 -1
- package/dist/cjs/commands/ListAliasesCommand.js +3 -3
- package/dist/cjs/commands/ListAliasesCommand.js.map +1 -1
- package/dist/cjs/commands/ListGroupMembersCommand.js +3 -3
- package/dist/cjs/commands/ListGroupMembersCommand.js.map +1 -1
- package/dist/cjs/commands/ListGroupsCommand.js +3 -3
- package/dist/cjs/commands/ListGroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMailboxExportJobsCommand.js +3 -3
- package/dist/cjs/commands/ListMailboxExportJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMailboxPermissionsCommand.js +3 -3
- package/dist/cjs/commands/ListMailboxPermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMobileDeviceAccessRulesCommand.js +3 -3
- package/dist/cjs/commands/ListMobileDeviceAccessRulesCommand.js.map +1 -1
- package/dist/cjs/commands/ListOrganizationsCommand.js +3 -3
- package/dist/cjs/commands/ListOrganizationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListResourceDelegatesCommand.js +3 -3
- package/dist/cjs/commands/ListResourceDelegatesCommand.js.map +1 -1
- package/dist/cjs/commands/ListResourcesCommand.js +3 -3
- package/dist/cjs/commands/ListResourcesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListUsersCommand.js +3 -3
- package/dist/cjs/commands/ListUsersCommand.js.map +1 -1
- package/dist/cjs/commands/PutAccessControlRuleCommand.js +3 -3
- package/dist/cjs/commands/PutAccessControlRuleCommand.js.map +1 -1
- package/dist/cjs/commands/PutMailboxPermissionsCommand.js +3 -3
- package/dist/cjs/commands/PutMailboxPermissionsCommand.js.map +1 -1
- package/dist/cjs/commands/PutRetentionPolicyCommand.js +3 -3
- package/dist/cjs/commands/PutRetentionPolicyCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterToWorkMailCommand.js +3 -3
- package/dist/cjs/commands/RegisterToWorkMailCommand.js.map +1 -1
- package/dist/cjs/commands/ResetPasswordCommand.js +3 -3
- package/dist/cjs/commands/ResetPasswordCommand.js.map +1 -1
- package/dist/cjs/commands/StartMailboxExportJobCommand.js +3 -3
- package/dist/cjs/commands/StartMailboxExportJobCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMailboxQuotaCommand.js +3 -3
- package/dist/cjs/commands/UpdateMailboxQuotaCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMobileDeviceAccessRuleCommand.js +3 -3
- package/dist/cjs/commands/UpdateMobileDeviceAccessRuleCommand.js.map +1 -1
- package/dist/cjs/commands/UpdatePrimaryEmailAddressCommand.js +3 -3
- package/dist/cjs/commands/UpdatePrimaryEmailAddressCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateResourceCommand.js +3 -3
- package/dist/cjs/commands/UpdateResourceCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +67 -67
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +167 -167
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/ListAliasesPaginator.js +4 -4
- package/dist/es/pagination/ListAliasesPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroupMembersPaginator.js +4 -4
- package/dist/es/pagination/ListGroupMembersPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroupsPaginator.js +4 -4
- package/dist/es/pagination/ListGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMailboxExportJobsPaginator.js +4 -4
- package/dist/es/pagination/ListMailboxExportJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMailboxPermissionsPaginator.js +4 -4
- package/dist/es/pagination/ListMailboxPermissionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListOrganizationsPaginator.js +4 -4
- package/dist/es/pagination/ListOrganizationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListResourceDelegatesPaginator.js +4 -4
- package/dist/es/pagination/ListResourceDelegatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListResourcesPaginator.js +4 -4
- package/dist/es/pagination/ListResourcesPaginator.js.map +1 -1
- package/dist/es/pagination/ListUsersPaginator.js +4 -4
- package/dist/es/pagination/ListUsersPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -4995,7 +4995,7 @@ const serializeAws_json1_1BookingOptions = (input, context) => {
|
|
|
4995
4995
|
const serializeAws_json1_1CancelMailboxExportJobRequest = (input, context) => {
|
|
4996
4996
|
var _a;
|
|
4997
4997
|
return {
|
|
4998
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
4998
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
4999
4999
|
...(input.JobId !== undefined && input.JobId !== null && { JobId: input.JobId }),
|
|
5000
5000
|
...(input.OrganizationId !== undefined &&
|
|
5001
5001
|
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }),
|
|
@@ -5019,7 +5019,7 @@ const serializeAws_json1_1CreateGroupRequest = (input, context) => {
|
|
|
5019
5019
|
const serializeAws_json1_1CreateMobileDeviceAccessRuleRequest = (input, context) => {
|
|
5020
5020
|
var _a;
|
|
5021
5021
|
return {
|
|
5022
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
5022
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5023
5023
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
5024
5024
|
...(input.DeviceModels !== undefined &&
|
|
5025
5025
|
input.DeviceModels !== null && {
|
|
@@ -5061,7 +5061,7 @@ const serializeAws_json1_1CreateOrganizationRequest = (input, context) => {
|
|
|
5061
5061
|
var _a;
|
|
5062
5062
|
return {
|
|
5063
5063
|
...(input.Alias !== undefined && input.Alias !== null && { Alias: input.Alias }),
|
|
5064
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
5064
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5065
5065
|
...(input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId }),
|
|
5066
5066
|
...(input.Domains !== undefined &&
|
|
5067
5067
|
input.Domains !== null && { Domains: serializeAws_json1_1Domains(input.Domains, context) }),
|
|
@@ -5128,7 +5128,7 @@ const serializeAws_json1_1DeleteMobileDeviceAccessRuleRequest = (input, context)
|
|
|
5128
5128
|
const serializeAws_json1_1DeleteOrganizationRequest = (input, context) => {
|
|
5129
5129
|
var _a;
|
|
5130
5130
|
return {
|
|
5131
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
5131
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5132
5132
|
...(input.DeleteDirectory !== undefined &&
|
|
5133
5133
|
input.DeleteDirectory !== null && { DeleteDirectory: input.DeleteDirectory }),
|
|
5134
5134
|
...(input.OrganizationId !== undefined &&
|
|
@@ -5496,7 +5496,7 @@ const serializeAws_json1_1ResetPasswordRequest = (input, context) => {
|
|
|
5496
5496
|
const serializeAws_json1_1StartMailboxExportJobRequest = (input, context) => {
|
|
5497
5497
|
var _a;
|
|
5498
5498
|
return {
|
|
5499
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a :
|
|
5499
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
5500
5500
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
5501
5501
|
...(input.EntityId !== undefined && input.EntityId !== null && { EntityId: input.EntityId }),
|
|
5502
5502
|
...(input.KmsKeyArn !== undefined && input.KmsKeyArn !== null && { KmsKeyArn: input.KmsKeyArn }),
|
|
@@ -5631,17 +5631,17 @@ const deserializeAws_json1_1AccessControlRule = (output, context) => {
|
|
|
5631
5631
|
? deserializeAws_json1_1ActionsList(output.Actions, context)
|
|
5632
5632
|
: undefined,
|
|
5633
5633
|
DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
|
|
5634
|
-
?
|
|
5634
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateCreated)))
|
|
5635
5635
|
: undefined,
|
|
5636
5636
|
DateModified: output.DateModified !== undefined && output.DateModified !== null
|
|
5637
|
-
?
|
|
5637
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateModified)))
|
|
5638
5638
|
: undefined,
|
|
5639
|
-
Description:
|
|
5640
|
-
Effect:
|
|
5639
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
5640
|
+
Effect: smithy_client_1.expectString(output.Effect),
|
|
5641
5641
|
IpRanges: output.IpRanges !== undefined && output.IpRanges !== null
|
|
5642
5642
|
? deserializeAws_json1_1IpRangeList(output.IpRanges, context)
|
|
5643
5643
|
: undefined,
|
|
5644
|
-
Name:
|
|
5644
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5645
5645
|
NotActions: output.NotActions !== undefined && output.NotActions !== null
|
|
5646
5646
|
? deserializeAws_json1_1ActionsList(output.NotActions, context)
|
|
5647
5647
|
: undefined,
|
|
@@ -5663,7 +5663,7 @@ const deserializeAws_json1_1AccessControlRuleNameList = (output, context) => {
|
|
|
5663
5663
|
if (entry === null) {
|
|
5664
5664
|
return null;
|
|
5665
5665
|
}
|
|
5666
|
-
return
|
|
5666
|
+
return smithy_client_1.expectString(entry);
|
|
5667
5667
|
});
|
|
5668
5668
|
};
|
|
5669
5669
|
const deserializeAws_json1_1AccessControlRulesList = (output, context) => {
|
|
@@ -5683,7 +5683,7 @@ const deserializeAws_json1_1ActionsList = (output, context) => {
|
|
|
5683
5683
|
if (entry === null) {
|
|
5684
5684
|
return null;
|
|
5685
5685
|
}
|
|
5686
|
-
return
|
|
5686
|
+
return smithy_client_1.expectString(entry);
|
|
5687
5687
|
});
|
|
5688
5688
|
};
|
|
5689
5689
|
const deserializeAws_json1_1Aliases = (output, context) => {
|
|
@@ -5693,7 +5693,7 @@ const deserializeAws_json1_1Aliases = (output, context) => {
|
|
|
5693
5693
|
if (entry === null) {
|
|
5694
5694
|
return null;
|
|
5695
5695
|
}
|
|
5696
|
-
return
|
|
5696
|
+
return smithy_client_1.expectString(entry);
|
|
5697
5697
|
});
|
|
5698
5698
|
};
|
|
5699
5699
|
const deserializeAws_json1_1AssociateDelegateToResourceResponse = (output, context) => {
|
|
@@ -5704,9 +5704,9 @@ const deserializeAws_json1_1AssociateMemberToGroupResponse = (output, context) =
|
|
|
5704
5704
|
};
|
|
5705
5705
|
const deserializeAws_json1_1BookingOptions = (output, context) => {
|
|
5706
5706
|
return {
|
|
5707
|
-
AutoAcceptRequests:
|
|
5708
|
-
AutoDeclineConflictingRequests:
|
|
5709
|
-
AutoDeclineRecurringRequests:
|
|
5707
|
+
AutoAcceptRequests: smithy_client_1.expectBoolean(output.AutoAcceptRequests),
|
|
5708
|
+
AutoDeclineConflictingRequests: smithy_client_1.expectBoolean(output.AutoDeclineConflictingRequests),
|
|
5709
|
+
AutoDeclineRecurringRequests: smithy_client_1.expectBoolean(output.AutoDeclineRecurringRequests),
|
|
5710
5710
|
};
|
|
5711
5711
|
};
|
|
5712
5712
|
const deserializeAws_json1_1CancelMailboxExportJobResponse = (output, context) => {
|
|
@@ -5717,33 +5717,33 @@ const deserializeAws_json1_1CreateAliasResponse = (output, context) => {
|
|
|
5717
5717
|
};
|
|
5718
5718
|
const deserializeAws_json1_1CreateGroupResponse = (output, context) => {
|
|
5719
5719
|
return {
|
|
5720
|
-
GroupId:
|
|
5720
|
+
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
5721
5721
|
};
|
|
5722
5722
|
};
|
|
5723
5723
|
const deserializeAws_json1_1CreateMobileDeviceAccessRuleResponse = (output, context) => {
|
|
5724
5724
|
return {
|
|
5725
|
-
MobileDeviceAccessRuleId:
|
|
5725
|
+
MobileDeviceAccessRuleId: smithy_client_1.expectString(output.MobileDeviceAccessRuleId),
|
|
5726
5726
|
};
|
|
5727
5727
|
};
|
|
5728
5728
|
const deserializeAws_json1_1CreateOrganizationResponse = (output, context) => {
|
|
5729
5729
|
return {
|
|
5730
|
-
OrganizationId:
|
|
5730
|
+
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
5731
5731
|
};
|
|
5732
5732
|
};
|
|
5733
5733
|
const deserializeAws_json1_1CreateResourceResponse = (output, context) => {
|
|
5734
5734
|
return {
|
|
5735
|
-
ResourceId:
|
|
5735
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
5736
5736
|
};
|
|
5737
5737
|
};
|
|
5738
5738
|
const deserializeAws_json1_1CreateUserResponse = (output, context) => {
|
|
5739
5739
|
return {
|
|
5740
|
-
UserId:
|
|
5740
|
+
UserId: smithy_client_1.expectString(output.UserId),
|
|
5741
5741
|
};
|
|
5742
5742
|
};
|
|
5743
5743
|
const deserializeAws_json1_1Delegate = (output, context) => {
|
|
5744
5744
|
return {
|
|
5745
|
-
Id:
|
|
5746
|
-
Type:
|
|
5745
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5746
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5747
5747
|
};
|
|
5748
5748
|
};
|
|
5749
5749
|
const deserializeAws_json1_1DeleteAccessControlRuleResponse = (output, context) => {
|
|
@@ -5763,8 +5763,8 @@ const deserializeAws_json1_1DeleteMobileDeviceAccessRuleResponse = (output, cont
|
|
|
5763
5763
|
};
|
|
5764
5764
|
const deserializeAws_json1_1DeleteOrganizationResponse = (output, context) => {
|
|
5765
5765
|
return {
|
|
5766
|
-
OrganizationId:
|
|
5767
|
-
State:
|
|
5766
|
+
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
5767
|
+
State: smithy_client_1.expectString(output.State),
|
|
5768
5768
|
};
|
|
5769
5769
|
};
|
|
5770
5770
|
const deserializeAws_json1_1DeleteResourceResponse = (output, context) => {
|
|
@@ -5782,50 +5782,50 @@ const deserializeAws_json1_1DeregisterFromWorkMailResponse = (output, context) =
|
|
|
5782
5782
|
const deserializeAws_json1_1DescribeGroupResponse = (output, context) => {
|
|
5783
5783
|
return {
|
|
5784
5784
|
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
5785
|
-
?
|
|
5785
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
|
|
5786
5786
|
: undefined,
|
|
5787
|
-
Email:
|
|
5787
|
+
Email: smithy_client_1.expectString(output.Email),
|
|
5788
5788
|
EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
|
|
5789
|
-
?
|
|
5789
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
|
|
5790
5790
|
: undefined,
|
|
5791
|
-
GroupId:
|
|
5792
|
-
Name:
|
|
5793
|
-
State:
|
|
5791
|
+
GroupId: smithy_client_1.expectString(output.GroupId),
|
|
5792
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5793
|
+
State: smithy_client_1.expectString(output.State),
|
|
5794
5794
|
};
|
|
5795
5795
|
};
|
|
5796
5796
|
const deserializeAws_json1_1DescribeMailboxExportJobResponse = (output, context) => {
|
|
5797
5797
|
return {
|
|
5798
|
-
Description:
|
|
5798
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
5799
5799
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
5800
|
-
?
|
|
5800
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
5801
5801
|
: undefined,
|
|
5802
|
-
EntityId:
|
|
5803
|
-
ErrorInfo:
|
|
5804
|
-
EstimatedProgress:
|
|
5805
|
-
KmsKeyArn:
|
|
5806
|
-
RoleArn:
|
|
5807
|
-
S3BucketName:
|
|
5808
|
-
S3Path:
|
|
5809
|
-
S3Prefix:
|
|
5802
|
+
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
5803
|
+
ErrorInfo: smithy_client_1.expectString(output.ErrorInfo),
|
|
5804
|
+
EstimatedProgress: smithy_client_1.expectInt32(output.EstimatedProgress),
|
|
5805
|
+
KmsKeyArn: smithy_client_1.expectString(output.KmsKeyArn),
|
|
5806
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
5807
|
+
S3BucketName: smithy_client_1.expectString(output.S3BucketName),
|
|
5808
|
+
S3Path: smithy_client_1.expectString(output.S3Path),
|
|
5809
|
+
S3Prefix: smithy_client_1.expectString(output.S3Prefix),
|
|
5810
5810
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
5811
|
-
?
|
|
5811
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
5812
5812
|
: undefined,
|
|
5813
|
-
State:
|
|
5813
|
+
State: smithy_client_1.expectString(output.State),
|
|
5814
5814
|
};
|
|
5815
5815
|
};
|
|
5816
5816
|
const deserializeAws_json1_1DescribeOrganizationResponse = (output, context) => {
|
|
5817
5817
|
return {
|
|
5818
|
-
ARN:
|
|
5819
|
-
Alias:
|
|
5818
|
+
ARN: smithy_client_1.expectString(output.ARN),
|
|
5819
|
+
Alias: smithy_client_1.expectString(output.Alias),
|
|
5820
5820
|
CompletedDate: output.CompletedDate !== undefined && output.CompletedDate !== null
|
|
5821
|
-
?
|
|
5821
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletedDate)))
|
|
5822
5822
|
: undefined,
|
|
5823
|
-
DefaultMailDomain:
|
|
5824
|
-
DirectoryId:
|
|
5825
|
-
DirectoryType:
|
|
5826
|
-
ErrorMessage:
|
|
5827
|
-
OrganizationId:
|
|
5828
|
-
State:
|
|
5823
|
+
DefaultMailDomain: smithy_client_1.expectString(output.DefaultMailDomain),
|
|
5824
|
+
DirectoryId: smithy_client_1.expectString(output.DirectoryId),
|
|
5825
|
+
DirectoryType: smithy_client_1.expectString(output.DirectoryType),
|
|
5826
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
5827
|
+
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
5828
|
+
State: smithy_client_1.expectString(output.State),
|
|
5829
5829
|
};
|
|
5830
5830
|
};
|
|
5831
5831
|
const deserializeAws_json1_1DescribeResourceResponse = (output, context) => {
|
|
@@ -5834,32 +5834,32 @@ const deserializeAws_json1_1DescribeResourceResponse = (output, context) => {
|
|
|
5834
5834
|
? deserializeAws_json1_1BookingOptions(output.BookingOptions, context)
|
|
5835
5835
|
: undefined,
|
|
5836
5836
|
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
5837
|
-
?
|
|
5837
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
|
|
5838
5838
|
: undefined,
|
|
5839
|
-
Email:
|
|
5839
|
+
Email: smithy_client_1.expectString(output.Email),
|
|
5840
5840
|
EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
|
|
5841
|
-
?
|
|
5841
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
|
|
5842
5842
|
: undefined,
|
|
5843
|
-
Name:
|
|
5844
|
-
ResourceId:
|
|
5845
|
-
State:
|
|
5846
|
-
Type:
|
|
5843
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5844
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
5845
|
+
State: smithy_client_1.expectString(output.State),
|
|
5846
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
5847
5847
|
};
|
|
5848
5848
|
};
|
|
5849
5849
|
const deserializeAws_json1_1DescribeUserResponse = (output, context) => {
|
|
5850
5850
|
return {
|
|
5851
5851
|
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
5852
|
-
?
|
|
5852
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
|
|
5853
5853
|
: undefined,
|
|
5854
|
-
DisplayName:
|
|
5855
|
-
Email:
|
|
5854
|
+
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
5855
|
+
Email: smithy_client_1.expectString(output.Email),
|
|
5856
5856
|
EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
|
|
5857
|
-
?
|
|
5857
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
|
|
5858
5858
|
: undefined,
|
|
5859
|
-
Name:
|
|
5860
|
-
State:
|
|
5861
|
-
UserId:
|
|
5862
|
-
UserRole:
|
|
5859
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5860
|
+
State: smithy_client_1.expectString(output.State),
|
|
5861
|
+
UserId: smithy_client_1.expectString(output.UserId),
|
|
5862
|
+
UserRole: smithy_client_1.expectString(output.UserRole),
|
|
5863
5863
|
};
|
|
5864
5864
|
};
|
|
5865
5865
|
const deserializeAws_json1_1DeviceModelList = (output, context) => {
|
|
@@ -5869,7 +5869,7 @@ const deserializeAws_json1_1DeviceModelList = (output, context) => {
|
|
|
5869
5869
|
if (entry === null) {
|
|
5870
5870
|
return null;
|
|
5871
5871
|
}
|
|
5872
|
-
return
|
|
5872
|
+
return smithy_client_1.expectString(entry);
|
|
5873
5873
|
});
|
|
5874
5874
|
};
|
|
5875
5875
|
const deserializeAws_json1_1DeviceOperatingSystemList = (output, context) => {
|
|
@@ -5879,7 +5879,7 @@ const deserializeAws_json1_1DeviceOperatingSystemList = (output, context) => {
|
|
|
5879
5879
|
if (entry === null) {
|
|
5880
5880
|
return null;
|
|
5881
5881
|
}
|
|
5882
|
-
return
|
|
5882
|
+
return smithy_client_1.expectString(entry);
|
|
5883
5883
|
});
|
|
5884
5884
|
};
|
|
5885
5885
|
const deserializeAws_json1_1DeviceTypeList = (output, context) => {
|
|
@@ -5889,7 +5889,7 @@ const deserializeAws_json1_1DeviceTypeList = (output, context) => {
|
|
|
5889
5889
|
if (entry === null) {
|
|
5890
5890
|
return null;
|
|
5891
5891
|
}
|
|
5892
|
-
return
|
|
5892
|
+
return smithy_client_1.expectString(entry);
|
|
5893
5893
|
});
|
|
5894
5894
|
};
|
|
5895
5895
|
const deserializeAws_json1_1DeviceUserAgentList = (output, context) => {
|
|
@@ -5899,22 +5899,22 @@ const deserializeAws_json1_1DeviceUserAgentList = (output, context) => {
|
|
|
5899
5899
|
if (entry === null) {
|
|
5900
5900
|
return null;
|
|
5901
5901
|
}
|
|
5902
|
-
return
|
|
5902
|
+
return smithy_client_1.expectString(entry);
|
|
5903
5903
|
});
|
|
5904
5904
|
};
|
|
5905
5905
|
const deserializeAws_json1_1DirectoryInUseException = (output, context) => {
|
|
5906
5906
|
return {
|
|
5907
|
-
Message:
|
|
5907
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5908
5908
|
};
|
|
5909
5909
|
};
|
|
5910
5910
|
const deserializeAws_json1_1DirectoryServiceAuthenticationFailedException = (output, context) => {
|
|
5911
5911
|
return {
|
|
5912
|
-
Message:
|
|
5912
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5913
5913
|
};
|
|
5914
5914
|
};
|
|
5915
5915
|
const deserializeAws_json1_1DirectoryUnavailableException = (output, context) => {
|
|
5916
5916
|
return {
|
|
5917
|
-
Message:
|
|
5917
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5918
5918
|
};
|
|
5919
5919
|
};
|
|
5920
5920
|
const deserializeAws_json1_1DisassociateDelegateFromResourceResponse = (output, context) => {
|
|
@@ -5925,29 +5925,29 @@ const deserializeAws_json1_1DisassociateMemberFromGroupResponse = (output, conte
|
|
|
5925
5925
|
};
|
|
5926
5926
|
const deserializeAws_json1_1EmailAddressInUseException = (output, context) => {
|
|
5927
5927
|
return {
|
|
5928
|
-
Message:
|
|
5928
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5929
5929
|
};
|
|
5930
5930
|
};
|
|
5931
5931
|
const deserializeAws_json1_1EntityAlreadyRegisteredException = (output, context) => {
|
|
5932
5932
|
return {
|
|
5933
|
-
Message:
|
|
5933
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5934
5934
|
};
|
|
5935
5935
|
};
|
|
5936
5936
|
const deserializeAws_json1_1EntityNotFoundException = (output, context) => {
|
|
5937
5937
|
return {
|
|
5938
|
-
Message:
|
|
5938
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5939
5939
|
};
|
|
5940
5940
|
};
|
|
5941
5941
|
const deserializeAws_json1_1EntityStateException = (output, context) => {
|
|
5942
5942
|
return {
|
|
5943
|
-
Message:
|
|
5943
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
5944
5944
|
};
|
|
5945
5945
|
};
|
|
5946
5946
|
const deserializeAws_json1_1FolderConfiguration = (output, context) => {
|
|
5947
5947
|
return {
|
|
5948
|
-
Action:
|
|
5949
|
-
Name:
|
|
5950
|
-
Period:
|
|
5948
|
+
Action: smithy_client_1.expectString(output.Action),
|
|
5949
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5950
|
+
Period: smithy_client_1.expectInt32(output.Period),
|
|
5951
5951
|
};
|
|
5952
5952
|
};
|
|
5953
5953
|
const deserializeAws_json1_1FolderConfigurations = (output, context) => {
|
|
@@ -5962,7 +5962,7 @@ const deserializeAws_json1_1FolderConfigurations = (output, context) => {
|
|
|
5962
5962
|
};
|
|
5963
5963
|
const deserializeAws_json1_1GetAccessControlEffectResponse = (output, context) => {
|
|
5964
5964
|
return {
|
|
5965
|
-
Effect:
|
|
5965
|
+
Effect: smithy_client_1.expectString(output.Effect),
|
|
5966
5966
|
MatchedRules: output.MatchedRules !== undefined && output.MatchedRules !== null
|
|
5967
5967
|
? deserializeAws_json1_1AccessControlRuleNameList(output.MatchedRules, context)
|
|
5968
5968
|
: undefined,
|
|
@@ -5970,23 +5970,23 @@ const deserializeAws_json1_1GetAccessControlEffectResponse = (output, context) =
|
|
|
5970
5970
|
};
|
|
5971
5971
|
const deserializeAws_json1_1GetDefaultRetentionPolicyResponse = (output, context) => {
|
|
5972
5972
|
return {
|
|
5973
|
-
Description:
|
|
5973
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
5974
5974
|
FolderConfigurations: output.FolderConfigurations !== undefined && output.FolderConfigurations !== null
|
|
5975
5975
|
? deserializeAws_json1_1FolderConfigurations(output.FolderConfigurations, context)
|
|
5976
5976
|
: undefined,
|
|
5977
|
-
Id:
|
|
5978
|
-
Name:
|
|
5977
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
5978
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
5979
5979
|
};
|
|
5980
5980
|
};
|
|
5981
5981
|
const deserializeAws_json1_1GetMailboxDetailsResponse = (output, context) => {
|
|
5982
5982
|
return {
|
|
5983
|
-
MailboxQuota:
|
|
5984
|
-
MailboxSize:
|
|
5983
|
+
MailboxQuota: smithy_client_1.expectInt32(output.MailboxQuota),
|
|
5984
|
+
MailboxSize: smithy_client_1.limitedParseDouble(output.MailboxSize),
|
|
5985
5985
|
};
|
|
5986
5986
|
};
|
|
5987
5987
|
const deserializeAws_json1_1GetMobileDeviceAccessEffectResponse = (output, context) => {
|
|
5988
5988
|
return {
|
|
5989
|
-
Effect:
|
|
5989
|
+
Effect: smithy_client_1.expectString(output.Effect),
|
|
5990
5990
|
MatchedRules: output.MatchedRules !== undefined && output.MatchedRules !== null
|
|
5991
5991
|
? deserializeAws_json1_1MobileDeviceAccessMatchedRuleList(output.MatchedRules, context)
|
|
5992
5992
|
: undefined,
|
|
@@ -5995,15 +5995,15 @@ const deserializeAws_json1_1GetMobileDeviceAccessEffectResponse = (output, conte
|
|
|
5995
5995
|
const deserializeAws_json1_1Group = (output, context) => {
|
|
5996
5996
|
return {
|
|
5997
5997
|
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
5998
|
-
?
|
|
5998
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
|
|
5999
5999
|
: undefined,
|
|
6000
|
-
Email:
|
|
6000
|
+
Email: smithy_client_1.expectString(output.Email),
|
|
6001
6001
|
EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
|
|
6002
|
-
?
|
|
6002
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
|
|
6003
6003
|
: undefined,
|
|
6004
|
-
Id:
|
|
6005
|
-
Name:
|
|
6006
|
-
State:
|
|
6004
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6005
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6006
|
+
State: smithy_client_1.expectString(output.State),
|
|
6007
6007
|
};
|
|
6008
6008
|
};
|
|
6009
6009
|
const deserializeAws_json1_1Groups = (output, context) => {
|
|
@@ -6018,17 +6018,17 @@ const deserializeAws_json1_1Groups = (output, context) => {
|
|
|
6018
6018
|
};
|
|
6019
6019
|
const deserializeAws_json1_1InvalidConfigurationException = (output, context) => {
|
|
6020
6020
|
return {
|
|
6021
|
-
Message:
|
|
6021
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6022
6022
|
};
|
|
6023
6023
|
};
|
|
6024
6024
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
6025
6025
|
return {
|
|
6026
|
-
Message:
|
|
6026
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6027
6027
|
};
|
|
6028
6028
|
};
|
|
6029
6029
|
const deserializeAws_json1_1InvalidPasswordException = (output, context) => {
|
|
6030
6030
|
return {
|
|
6031
|
-
Message:
|
|
6031
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6032
6032
|
};
|
|
6033
6033
|
};
|
|
6034
6034
|
const deserializeAws_json1_1IpRangeList = (output, context) => {
|
|
@@ -6038,7 +6038,7 @@ const deserializeAws_json1_1IpRangeList = (output, context) => {
|
|
|
6038
6038
|
if (entry === null) {
|
|
6039
6039
|
return null;
|
|
6040
6040
|
}
|
|
6041
|
-
return
|
|
6041
|
+
return smithy_client_1.expectString(entry);
|
|
6042
6042
|
});
|
|
6043
6043
|
};
|
|
6044
6044
|
const deserializeAws_json1_1Jobs = (output, context) => {
|
|
@@ -6053,7 +6053,7 @@ const deserializeAws_json1_1Jobs = (output, context) => {
|
|
|
6053
6053
|
};
|
|
6054
6054
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
6055
6055
|
return {
|
|
6056
|
-
Message:
|
|
6056
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6057
6057
|
};
|
|
6058
6058
|
};
|
|
6059
6059
|
const deserializeAws_json1_1ListAccessControlRulesResponse = (output, context) => {
|
|
@@ -6068,7 +6068,7 @@ const deserializeAws_json1_1ListAliasesResponse = (output, context) => {
|
|
|
6068
6068
|
Aliases: output.Aliases !== undefined && output.Aliases !== null
|
|
6069
6069
|
? deserializeAws_json1_1Aliases(output.Aliases, context)
|
|
6070
6070
|
: undefined,
|
|
6071
|
-
NextToken:
|
|
6071
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6072
6072
|
};
|
|
6073
6073
|
};
|
|
6074
6074
|
const deserializeAws_json1_1ListGroupMembersResponse = (output, context) => {
|
|
@@ -6076,7 +6076,7 @@ const deserializeAws_json1_1ListGroupMembersResponse = (output, context) => {
|
|
|
6076
6076
|
Members: output.Members !== undefined && output.Members !== null
|
|
6077
6077
|
? deserializeAws_json1_1Members(output.Members, context)
|
|
6078
6078
|
: undefined,
|
|
6079
|
-
NextToken:
|
|
6079
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6080
6080
|
};
|
|
6081
6081
|
};
|
|
6082
6082
|
const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
|
|
@@ -6084,18 +6084,18 @@ const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
|
|
|
6084
6084
|
Groups: output.Groups !== undefined && output.Groups !== null
|
|
6085
6085
|
? deserializeAws_json1_1Groups(output.Groups, context)
|
|
6086
6086
|
: undefined,
|
|
6087
|
-
NextToken:
|
|
6087
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6088
6088
|
};
|
|
6089
6089
|
};
|
|
6090
6090
|
const deserializeAws_json1_1ListMailboxExportJobsResponse = (output, context) => {
|
|
6091
6091
|
return {
|
|
6092
6092
|
Jobs: output.Jobs !== undefined && output.Jobs !== null ? deserializeAws_json1_1Jobs(output.Jobs, context) : undefined,
|
|
6093
|
-
NextToken:
|
|
6093
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6094
6094
|
};
|
|
6095
6095
|
};
|
|
6096
6096
|
const deserializeAws_json1_1ListMailboxPermissionsResponse = (output, context) => {
|
|
6097
6097
|
return {
|
|
6098
|
-
NextToken:
|
|
6098
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6099
6099
|
Permissions: output.Permissions !== undefined && output.Permissions !== null
|
|
6100
6100
|
? deserializeAws_json1_1Permissions(output.Permissions, context)
|
|
6101
6101
|
: undefined,
|
|
@@ -6110,7 +6110,7 @@ const deserializeAws_json1_1ListMobileDeviceAccessRulesResponse = (output, conte
|
|
|
6110
6110
|
};
|
|
6111
6111
|
const deserializeAws_json1_1ListOrganizationsResponse = (output, context) => {
|
|
6112
6112
|
return {
|
|
6113
|
-
NextToken:
|
|
6113
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6114
6114
|
OrganizationSummaries: output.OrganizationSummaries !== undefined && output.OrganizationSummaries !== null
|
|
6115
6115
|
? deserializeAws_json1_1OrganizationSummaries(output.OrganizationSummaries, context)
|
|
6116
6116
|
: undefined,
|
|
@@ -6121,12 +6121,12 @@ const deserializeAws_json1_1ListResourceDelegatesResponse = (output, context) =>
|
|
|
6121
6121
|
Delegates: output.Delegates !== undefined && output.Delegates !== null
|
|
6122
6122
|
? deserializeAws_json1_1ResourceDelegates(output.Delegates, context)
|
|
6123
6123
|
: undefined,
|
|
6124
|
-
NextToken:
|
|
6124
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6125
6125
|
};
|
|
6126
6126
|
};
|
|
6127
6127
|
const deserializeAws_json1_1ListResourcesResponse = (output, context) => {
|
|
6128
6128
|
return {
|
|
6129
|
-
NextToken:
|
|
6129
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6130
6130
|
Resources: output.Resources !== undefined && output.Resources !== null
|
|
6131
6131
|
? deserializeAws_json1_1Resources(output.Resources, context)
|
|
6132
6132
|
: undefined,
|
|
@@ -6141,7 +6141,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
6141
6141
|
};
|
|
6142
6142
|
const deserializeAws_json1_1ListUsersResponse = (output, context) => {
|
|
6143
6143
|
return {
|
|
6144
|
-
NextToken:
|
|
6144
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
6145
6145
|
Users: output.Users !== undefined && output.Users !== null
|
|
6146
6146
|
? deserializeAws_json1_1Users(output.Users, context)
|
|
6147
6147
|
: undefined,
|
|
@@ -6149,43 +6149,43 @@ const deserializeAws_json1_1ListUsersResponse = (output, context) => {
|
|
|
6149
6149
|
};
|
|
6150
6150
|
const deserializeAws_json1_1MailboxExportJob = (output, context) => {
|
|
6151
6151
|
return {
|
|
6152
|
-
Description:
|
|
6152
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6153
6153
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
6154
|
-
?
|
|
6154
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
6155
6155
|
: undefined,
|
|
6156
|
-
EntityId:
|
|
6157
|
-
EstimatedProgress:
|
|
6158
|
-
JobId:
|
|
6159
|
-
S3BucketName:
|
|
6160
|
-
S3Path:
|
|
6156
|
+
EntityId: smithy_client_1.expectString(output.EntityId),
|
|
6157
|
+
EstimatedProgress: smithy_client_1.expectInt32(output.EstimatedProgress),
|
|
6158
|
+
JobId: smithy_client_1.expectString(output.JobId),
|
|
6159
|
+
S3BucketName: smithy_client_1.expectString(output.S3BucketName),
|
|
6160
|
+
S3Path: smithy_client_1.expectString(output.S3Path),
|
|
6161
6161
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
6162
|
-
?
|
|
6162
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
6163
6163
|
: undefined,
|
|
6164
|
-
State:
|
|
6164
|
+
State: smithy_client_1.expectString(output.State),
|
|
6165
6165
|
};
|
|
6166
6166
|
};
|
|
6167
6167
|
const deserializeAws_json1_1MailDomainNotFoundException = (output, context) => {
|
|
6168
6168
|
return {
|
|
6169
|
-
Message:
|
|
6169
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6170
6170
|
};
|
|
6171
6171
|
};
|
|
6172
6172
|
const deserializeAws_json1_1MailDomainStateException = (output, context) => {
|
|
6173
6173
|
return {
|
|
6174
|
-
Message:
|
|
6174
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6175
6175
|
};
|
|
6176
6176
|
};
|
|
6177
6177
|
const deserializeAws_json1_1Member = (output, context) => {
|
|
6178
6178
|
return {
|
|
6179
6179
|
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
6180
|
-
?
|
|
6180
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
|
|
6181
6181
|
: undefined,
|
|
6182
6182
|
EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
|
|
6183
|
-
?
|
|
6183
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
|
|
6184
6184
|
: undefined,
|
|
6185
|
-
Id:
|
|
6186
|
-
Name:
|
|
6187
|
-
State:
|
|
6188
|
-
Type:
|
|
6185
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6186
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6187
|
+
State: smithy_client_1.expectString(output.State),
|
|
6188
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
6189
6189
|
};
|
|
6190
6190
|
};
|
|
6191
6191
|
const deserializeAws_json1_1Members = (output, context) => {
|
|
@@ -6200,8 +6200,8 @@ const deserializeAws_json1_1Members = (output, context) => {
|
|
|
6200
6200
|
};
|
|
6201
6201
|
const deserializeAws_json1_1MobileDeviceAccessMatchedRule = (output, context) => {
|
|
6202
6202
|
return {
|
|
6203
|
-
MobileDeviceAccessRuleId:
|
|
6204
|
-
Name:
|
|
6203
|
+
MobileDeviceAccessRuleId: smithy_client_1.expectString(output.MobileDeviceAccessRuleId),
|
|
6204
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6205
6205
|
};
|
|
6206
6206
|
};
|
|
6207
6207
|
const deserializeAws_json1_1MobileDeviceAccessMatchedRuleList = (output, context) => {
|
|
@@ -6217,12 +6217,12 @@ const deserializeAws_json1_1MobileDeviceAccessMatchedRuleList = (output, context
|
|
|
6217
6217
|
const deserializeAws_json1_1MobileDeviceAccessRule = (output, context) => {
|
|
6218
6218
|
return {
|
|
6219
6219
|
DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
|
|
6220
|
-
?
|
|
6220
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateCreated)))
|
|
6221
6221
|
: undefined,
|
|
6222
6222
|
DateModified: output.DateModified !== undefined && output.DateModified !== null
|
|
6223
|
-
?
|
|
6223
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DateModified)))
|
|
6224
6224
|
: undefined,
|
|
6225
|
-
Description:
|
|
6225
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
6226
6226
|
DeviceModels: output.DeviceModels !== undefined && output.DeviceModels !== null
|
|
6227
6227
|
? deserializeAws_json1_1DeviceModelList(output.DeviceModels, context)
|
|
6228
6228
|
: undefined,
|
|
@@ -6235,9 +6235,9 @@ const deserializeAws_json1_1MobileDeviceAccessRule = (output, context) => {
|
|
|
6235
6235
|
DeviceUserAgents: output.DeviceUserAgents !== undefined && output.DeviceUserAgents !== null
|
|
6236
6236
|
? deserializeAws_json1_1DeviceUserAgentList(output.DeviceUserAgents, context)
|
|
6237
6237
|
: undefined,
|
|
6238
|
-
Effect:
|
|
6239
|
-
MobileDeviceAccessRuleId:
|
|
6240
|
-
Name:
|
|
6238
|
+
Effect: smithy_client_1.expectString(output.Effect),
|
|
6239
|
+
MobileDeviceAccessRuleId: smithy_client_1.expectString(output.MobileDeviceAccessRuleId),
|
|
6240
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6241
6241
|
NotDeviceModels: output.NotDeviceModels !== undefined && output.NotDeviceModels !== null
|
|
6242
6242
|
? deserializeAws_json1_1DeviceModelList(output.NotDeviceModels, context)
|
|
6243
6243
|
: undefined,
|
|
@@ -6264,17 +6264,17 @@ const deserializeAws_json1_1MobileDeviceAccessRulesList = (output, context) => {
|
|
|
6264
6264
|
};
|
|
6265
6265
|
const deserializeAws_json1_1NameAvailabilityException = (output, context) => {
|
|
6266
6266
|
return {
|
|
6267
|
-
Message:
|
|
6267
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6268
6268
|
};
|
|
6269
6269
|
};
|
|
6270
6270
|
const deserializeAws_json1_1OrganizationNotFoundException = (output, context) => {
|
|
6271
6271
|
return {
|
|
6272
|
-
Message:
|
|
6272
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6273
6273
|
};
|
|
6274
6274
|
};
|
|
6275
6275
|
const deserializeAws_json1_1OrganizationStateException = (output, context) => {
|
|
6276
6276
|
return {
|
|
6277
|
-
Message:
|
|
6277
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6278
6278
|
};
|
|
6279
6279
|
};
|
|
6280
6280
|
const deserializeAws_json1_1OrganizationSummaries = (output, context) => {
|
|
@@ -6289,17 +6289,17 @@ const deserializeAws_json1_1OrganizationSummaries = (output, context) => {
|
|
|
6289
6289
|
};
|
|
6290
6290
|
const deserializeAws_json1_1OrganizationSummary = (output, context) => {
|
|
6291
6291
|
return {
|
|
6292
|
-
Alias:
|
|
6293
|
-
DefaultMailDomain:
|
|
6294
|
-
ErrorMessage:
|
|
6295
|
-
OrganizationId:
|
|
6296
|
-
State:
|
|
6292
|
+
Alias: smithy_client_1.expectString(output.Alias),
|
|
6293
|
+
DefaultMailDomain: smithy_client_1.expectString(output.DefaultMailDomain),
|
|
6294
|
+
ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
|
|
6295
|
+
OrganizationId: smithy_client_1.expectString(output.OrganizationId),
|
|
6296
|
+
State: smithy_client_1.expectString(output.State),
|
|
6297
6297
|
};
|
|
6298
6298
|
};
|
|
6299
6299
|
const deserializeAws_json1_1Permission = (output, context) => {
|
|
6300
6300
|
return {
|
|
6301
|
-
GranteeId:
|
|
6302
|
-
GranteeType:
|
|
6301
|
+
GranteeId: smithy_client_1.expectString(output.GranteeId),
|
|
6302
|
+
GranteeType: smithy_client_1.expectString(output.GranteeType),
|
|
6303
6303
|
PermissionValues: output.PermissionValues !== undefined && output.PermissionValues !== null
|
|
6304
6304
|
? deserializeAws_json1_1PermissionValues(output.PermissionValues, context)
|
|
6305
6305
|
: undefined,
|
|
@@ -6322,7 +6322,7 @@ const deserializeAws_json1_1PermissionValues = (output, context) => {
|
|
|
6322
6322
|
if (entry === null) {
|
|
6323
6323
|
return null;
|
|
6324
6324
|
}
|
|
6325
|
-
return
|
|
6325
|
+
return smithy_client_1.expectString(entry);
|
|
6326
6326
|
});
|
|
6327
6327
|
};
|
|
6328
6328
|
const deserializeAws_json1_1PutAccessControlRuleResponse = (output, context) => {
|
|
@@ -6339,7 +6339,7 @@ const deserializeAws_json1_1RegisterToWorkMailResponse = (output, context) => {
|
|
|
6339
6339
|
};
|
|
6340
6340
|
const deserializeAws_json1_1ReservedNameException = (output, context) => {
|
|
6341
6341
|
return {
|
|
6342
|
-
Message:
|
|
6342
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6343
6343
|
};
|
|
6344
6344
|
};
|
|
6345
6345
|
const deserializeAws_json1_1ResetPasswordResponse = (output, context) => {
|
|
@@ -6348,16 +6348,16 @@ const deserializeAws_json1_1ResetPasswordResponse = (output, context) => {
|
|
|
6348
6348
|
const deserializeAws_json1_1Resource = (output, context) => {
|
|
6349
6349
|
return {
|
|
6350
6350
|
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
6351
|
-
?
|
|
6351
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
|
|
6352
6352
|
: undefined,
|
|
6353
|
-
Email:
|
|
6353
|
+
Email: smithy_client_1.expectString(output.Email),
|
|
6354
6354
|
EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
|
|
6355
|
-
?
|
|
6355
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
|
|
6356
6356
|
: undefined,
|
|
6357
|
-
Id:
|
|
6358
|
-
Name:
|
|
6359
|
-
State:
|
|
6360
|
-
Type:
|
|
6357
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6358
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6359
|
+
State: smithy_client_1.expectString(output.State),
|
|
6360
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
6361
6361
|
};
|
|
6362
6362
|
};
|
|
6363
6363
|
const deserializeAws_json1_1ResourceDelegates = (output, context) => {
|
|
@@ -6372,7 +6372,7 @@ const deserializeAws_json1_1ResourceDelegates = (output, context) => {
|
|
|
6372
6372
|
};
|
|
6373
6373
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
6374
6374
|
return {
|
|
6375
|
-
Message:
|
|
6375
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6376
6376
|
};
|
|
6377
6377
|
};
|
|
6378
6378
|
const deserializeAws_json1_1Resources = (output, context) => {
|
|
@@ -6387,13 +6387,13 @@ const deserializeAws_json1_1Resources = (output, context) => {
|
|
|
6387
6387
|
};
|
|
6388
6388
|
const deserializeAws_json1_1StartMailboxExportJobResponse = (output, context) => {
|
|
6389
6389
|
return {
|
|
6390
|
-
JobId:
|
|
6390
|
+
JobId: smithy_client_1.expectString(output.JobId),
|
|
6391
6391
|
};
|
|
6392
6392
|
};
|
|
6393
6393
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
6394
6394
|
return {
|
|
6395
|
-
Key:
|
|
6396
|
-
Value:
|
|
6395
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
6396
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
6397
6397
|
};
|
|
6398
6398
|
};
|
|
6399
6399
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -6411,12 +6411,12 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
6411
6411
|
};
|
|
6412
6412
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
6413
6413
|
return {
|
|
6414
|
-
Message:
|
|
6414
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6415
6415
|
};
|
|
6416
6416
|
};
|
|
6417
6417
|
const deserializeAws_json1_1UnsupportedOperationException = (output, context) => {
|
|
6418
6418
|
return {
|
|
6419
|
-
Message:
|
|
6419
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
6420
6420
|
};
|
|
6421
6421
|
};
|
|
6422
6422
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -6437,17 +6437,17 @@ const deserializeAws_json1_1UpdateResourceResponse = (output, context) => {
|
|
|
6437
6437
|
const deserializeAws_json1_1User = (output, context) => {
|
|
6438
6438
|
return {
|
|
6439
6439
|
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
6440
|
-
?
|
|
6440
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DisabledDate)))
|
|
6441
6441
|
: undefined,
|
|
6442
|
-
DisplayName:
|
|
6443
|
-
Email:
|
|
6442
|
+
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
6443
|
+
Email: smithy_client_1.expectString(output.Email),
|
|
6444
6444
|
EnabledDate: output.EnabledDate !== undefined && output.EnabledDate !== null
|
|
6445
|
-
?
|
|
6445
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EnabledDate)))
|
|
6446
6446
|
: undefined,
|
|
6447
|
-
Id:
|
|
6448
|
-
Name:
|
|
6449
|
-
State:
|
|
6450
|
-
UserRole:
|
|
6447
|
+
Id: smithy_client_1.expectString(output.Id),
|
|
6448
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
6449
|
+
State: smithy_client_1.expectString(output.State),
|
|
6450
|
+
UserRole: smithy_client_1.expectString(output.UserRole),
|
|
6451
6451
|
};
|
|
6452
6452
|
};
|
|
6453
6453
|
const deserializeAws_json1_1UserIdList = (output, context) => {
|
|
@@ -6457,7 +6457,7 @@ const deserializeAws_json1_1UserIdList = (output, context) => {
|
|
|
6457
6457
|
if (entry === null) {
|
|
6458
6458
|
return null;
|
|
6459
6459
|
}
|
|
6460
|
-
return
|
|
6460
|
+
return smithy_client_1.expectString(entry);
|
|
6461
6461
|
});
|
|
6462
6462
|
};
|
|
6463
6463
|
const deserializeAws_json1_1Users = (output, context) => {
|