@aws-sdk/client-workmail 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +313 -472
- package/dist-es/protocols/Aws_json1_1.js +171 -330
- package/package.json +26 -26
|
@@ -5775,174 +5775,127 @@ var serializeAws_json1_1ActionsList = function (input, context) {
|
|
|
5775
5775
|
});
|
|
5776
5776
|
};
|
|
5777
5777
|
var serializeAws_json1_1AssociateDelegateToResourceRequest = function (input, context) {
|
|
5778
|
-
return __assign(__assign(__assign({}, (input.EntityId
|
|
5779
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5778
|
+
return __assign(__assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5780
5779
|
};
|
|
5781
5780
|
var serializeAws_json1_1AssociateMemberToGroupRequest = function (input, context) {
|
|
5782
|
-
return __assign(__assign(__assign({}, (input.GroupId
|
|
5783
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5781
|
+
return __assign(__assign(__assign({}, (input.GroupId != null && { GroupId: input.GroupId })), (input.MemberId != null && { MemberId: input.MemberId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5784
5782
|
};
|
|
5785
5783
|
var serializeAws_json1_1BookingOptions = function (input, context) {
|
|
5786
|
-
return __assign(__assign(__assign({}, (input.AutoAcceptRequests
|
|
5787
|
-
input.AutoAcceptRequests !== null && { AutoAcceptRequests: input.AutoAcceptRequests })), (input.AutoDeclineConflictingRequests !== undefined &&
|
|
5788
|
-
input.AutoDeclineConflictingRequests !== null && {
|
|
5784
|
+
return __assign(__assign(__assign({}, (input.AutoAcceptRequests != null && { AutoAcceptRequests: input.AutoAcceptRequests })), (input.AutoDeclineConflictingRequests != null && {
|
|
5789
5785
|
AutoDeclineConflictingRequests: input.AutoDeclineConflictingRequests,
|
|
5790
|
-
})), (input.AutoDeclineRecurringRequests
|
|
5791
|
-
input.AutoDeclineRecurringRequests !== null && {
|
|
5786
|
+
})), (input.AutoDeclineRecurringRequests != null && {
|
|
5792
5787
|
AutoDeclineRecurringRequests: input.AutoDeclineRecurringRequests,
|
|
5793
5788
|
}));
|
|
5794
5789
|
};
|
|
5795
5790
|
var serializeAws_json1_1CancelMailboxExportJobRequest = function (input, context) {
|
|
5796
5791
|
var _a;
|
|
5797
|
-
return __assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.JobId
|
|
5798
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5792
|
+
return __assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.JobId != null && { JobId: input.JobId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5799
5793
|
};
|
|
5800
5794
|
var serializeAws_json1_1CreateAliasRequest = function (input, context) {
|
|
5801
|
-
return __assign(__assign(__assign({}, (input.Alias
|
|
5802
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5795
|
+
return __assign(__assign(__assign({}, (input.Alias != null && { Alias: input.Alias })), (input.EntityId != null && { EntityId: input.EntityId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5803
5796
|
};
|
|
5804
5797
|
var serializeAws_json1_1CreateAvailabilityConfigurationRequest = function (input, context) {
|
|
5805
5798
|
var _a;
|
|
5806
|
-
return __assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DomainName
|
|
5807
|
-
input.EwsProvider !== null && {
|
|
5799
|
+
return __assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DomainName != null && { DomainName: input.DomainName })), (input.EwsProvider != null && {
|
|
5808
5800
|
EwsProvider: serializeAws_json1_1EwsAvailabilityProvider(input.EwsProvider, context),
|
|
5809
|
-
})), (input.LambdaProvider
|
|
5810
|
-
input.LambdaProvider !== null && {
|
|
5801
|
+
})), (input.LambdaProvider != null && {
|
|
5811
5802
|
LambdaProvider: serializeAws_json1_1LambdaAvailabilityProvider(input.LambdaProvider, context),
|
|
5812
|
-
})), (input.OrganizationId
|
|
5813
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5803
|
+
})), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5814
5804
|
};
|
|
5815
5805
|
var serializeAws_json1_1CreateGroupRequest = function (input, context) {
|
|
5816
|
-
return __assign(__assign({}, (input.Name
|
|
5817
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5806
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5818
5807
|
};
|
|
5819
5808
|
var serializeAws_json1_1CreateMobileDeviceAccessRuleRequest = function (input, context) {
|
|
5820
5809
|
var _a;
|
|
5821
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
5822
|
-
input.DeviceModels !== null && {
|
|
5810
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.DeviceModels != null && {
|
|
5823
5811
|
DeviceModels: serializeAws_json1_1DeviceModelList(input.DeviceModels, context),
|
|
5824
|
-
})), (input.DeviceOperatingSystems
|
|
5825
|
-
input.DeviceOperatingSystems !== null && {
|
|
5812
|
+
})), (input.DeviceOperatingSystems != null && {
|
|
5826
5813
|
DeviceOperatingSystems: serializeAws_json1_1DeviceOperatingSystemList(input.DeviceOperatingSystems, context),
|
|
5827
|
-
})), (input.DeviceTypes
|
|
5828
|
-
input.DeviceTypes !== null && { DeviceTypes: serializeAws_json1_1DeviceTypeList(input.DeviceTypes, context) })), (input.DeviceUserAgents !== undefined &&
|
|
5829
|
-
input.DeviceUserAgents !== null && {
|
|
5814
|
+
})), (input.DeviceTypes != null && { DeviceTypes: serializeAws_json1_1DeviceTypeList(input.DeviceTypes, context) })), (input.DeviceUserAgents != null && {
|
|
5830
5815
|
DeviceUserAgents: serializeAws_json1_1DeviceUserAgentList(input.DeviceUserAgents, context),
|
|
5831
|
-
})), (input.Effect
|
|
5832
|
-
input.NotDeviceModels !== null && {
|
|
5816
|
+
})), (input.Effect != null && { Effect: input.Effect })), (input.Name != null && { Name: input.Name })), (input.NotDeviceModels != null && {
|
|
5833
5817
|
NotDeviceModels: serializeAws_json1_1DeviceModelList(input.NotDeviceModels, context),
|
|
5834
|
-
})), (input.NotDeviceOperatingSystems
|
|
5835
|
-
input.NotDeviceOperatingSystems !== null && {
|
|
5818
|
+
})), (input.NotDeviceOperatingSystems != null && {
|
|
5836
5819
|
NotDeviceOperatingSystems: serializeAws_json1_1DeviceOperatingSystemList(input.NotDeviceOperatingSystems, context),
|
|
5837
|
-
})), (input.NotDeviceTypes
|
|
5838
|
-
input.NotDeviceTypes !== null && {
|
|
5820
|
+
})), (input.NotDeviceTypes != null && {
|
|
5839
5821
|
NotDeviceTypes: serializeAws_json1_1DeviceTypeList(input.NotDeviceTypes, context),
|
|
5840
|
-
})), (input.NotDeviceUserAgents
|
|
5841
|
-
input.NotDeviceUserAgents !== null && {
|
|
5822
|
+
})), (input.NotDeviceUserAgents != null && {
|
|
5842
5823
|
NotDeviceUserAgents: serializeAws_json1_1DeviceUserAgentList(input.NotDeviceUserAgents, context),
|
|
5843
|
-
})), (input.OrganizationId
|
|
5844
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5824
|
+
})), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5845
5825
|
};
|
|
5846
5826
|
var serializeAws_json1_1CreateOrganizationRequest = function (input, context) {
|
|
5847
5827
|
var _a;
|
|
5848
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alias
|
|
5849
|
-
input.Domains !== null && { Domains: serializeAws_json1_1Domains(input.Domains, context) })), (input.EnableInteroperability !== undefined &&
|
|
5850
|
-
input.EnableInteroperability !== null && { EnableInteroperability: input.EnableInteroperability })), (input.KmsKeyArn !== undefined && input.KmsKeyArn !== null && { KmsKeyArn: input.KmsKeyArn }));
|
|
5828
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Alias != null && { Alias: input.Alias })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.DirectoryId != null && { DirectoryId: input.DirectoryId })), (input.Domains != null && { Domains: serializeAws_json1_1Domains(input.Domains, context) })), (input.EnableInteroperability != null && { EnableInteroperability: input.EnableInteroperability })), (input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn }));
|
|
5851
5829
|
};
|
|
5852
5830
|
var serializeAws_json1_1CreateResourceRequest = function (input, context) {
|
|
5853
|
-
return __assign(__assign(__assign({}, (input.Name
|
|
5854
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
5831
|
+
return __assign(__assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.Type != null && { Type: input.Type }));
|
|
5855
5832
|
};
|
|
5856
5833
|
var serializeAws_json1_1CreateUserRequest = function (input, context) {
|
|
5857
|
-
return __assign(__assign(__assign(__assign({}, (input.DisplayName
|
|
5858
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.Password !== undefined && input.Password !== null && { Password: input.Password }));
|
|
5834
|
+
return __assign(__assign(__assign(__assign({}, (input.DisplayName != null && { DisplayName: input.DisplayName })), (input.Name != null && { Name: input.Name })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.Password != null && { Password: input.Password }));
|
|
5859
5835
|
};
|
|
5860
5836
|
var serializeAws_json1_1DeleteAccessControlRuleRequest = function (input, context) {
|
|
5861
|
-
return __assign(__assign({}, (input.Name
|
|
5862
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5837
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5863
5838
|
};
|
|
5864
5839
|
var serializeAws_json1_1DeleteAliasRequest = function (input, context) {
|
|
5865
|
-
return __assign(__assign(__assign({}, (input.Alias
|
|
5866
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5840
|
+
return __assign(__assign(__assign({}, (input.Alias != null && { Alias: input.Alias })), (input.EntityId != null && { EntityId: input.EntityId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5867
5841
|
};
|
|
5868
5842
|
var serializeAws_json1_1DeleteAvailabilityConfigurationRequest = function (input, context) {
|
|
5869
|
-
return __assign(__assign({}, (input.DomainName
|
|
5870
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5843
|
+
return __assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5871
5844
|
};
|
|
5872
5845
|
var serializeAws_json1_1DeleteEmailMonitoringConfigurationRequest = function (input, context) {
|
|
5873
|
-
return __assign({}, (input.OrganizationId
|
|
5874
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5846
|
+
return __assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5875
5847
|
};
|
|
5876
5848
|
var serializeAws_json1_1DeleteGroupRequest = function (input, context) {
|
|
5877
|
-
return __assign(__assign({}, (input.GroupId
|
|
5878
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5849
|
+
return __assign(__assign({}, (input.GroupId != null && { GroupId: input.GroupId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5879
5850
|
};
|
|
5880
5851
|
var serializeAws_json1_1DeleteMailboxPermissionsRequest = function (input, context) {
|
|
5881
|
-
return __assign(__assign(__assign({}, (input.EntityId
|
|
5882
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5852
|
+
return __assign(__assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.GranteeId != null && { GranteeId: input.GranteeId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5883
5853
|
};
|
|
5884
5854
|
var serializeAws_json1_1DeleteMobileDeviceAccessOverrideRequest = function (input, context) {
|
|
5885
|
-
return __assign(__assign(__assign({}, (input.DeviceId
|
|
5886
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
5855
|
+
return __assign(__assign(__assign({}, (input.DeviceId != null && { DeviceId: input.DeviceId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
5887
5856
|
};
|
|
5888
5857
|
var serializeAws_json1_1DeleteMobileDeviceAccessRuleRequest = function (input, context) {
|
|
5889
|
-
return __assign(__assign({}, (input.MobileDeviceAccessRuleId
|
|
5890
|
-
input.MobileDeviceAccessRuleId !== null && { MobileDeviceAccessRuleId: input.MobileDeviceAccessRuleId })), (input.OrganizationId !== undefined &&
|
|
5891
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5858
|
+
return __assign(__assign({}, (input.MobileDeviceAccessRuleId != null && { MobileDeviceAccessRuleId: input.MobileDeviceAccessRuleId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5892
5859
|
};
|
|
5893
5860
|
var serializeAws_json1_1DeleteOrganizationRequest = function (input, context) {
|
|
5894
5861
|
var _a;
|
|
5895
|
-
return __assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DeleteDirectory
|
|
5896
|
-
input.DeleteDirectory !== null && { DeleteDirectory: input.DeleteDirectory })), (input.OrganizationId !== undefined &&
|
|
5897
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5862
|
+
return __assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DeleteDirectory != null && { DeleteDirectory: input.DeleteDirectory })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5898
5863
|
};
|
|
5899
5864
|
var serializeAws_json1_1DeleteResourceRequest = function (input, context) {
|
|
5900
|
-
return __assign(__assign({}, (input.OrganizationId
|
|
5901
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5865
|
+
return __assign(__assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5902
5866
|
};
|
|
5903
5867
|
var serializeAws_json1_1DeleteRetentionPolicyRequest = function (input, context) {
|
|
5904
|
-
return __assign(__assign({}, (input.Id
|
|
5905
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5868
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5906
5869
|
};
|
|
5907
5870
|
var serializeAws_json1_1DeleteUserRequest = function (input, context) {
|
|
5908
|
-
return __assign(__assign({}, (input.OrganizationId
|
|
5909
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
5871
|
+
return __assign(__assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
5910
5872
|
};
|
|
5911
5873
|
var serializeAws_json1_1DeregisterFromWorkMailRequest = function (input, context) {
|
|
5912
|
-
return __assign(__assign({}, (input.EntityId
|
|
5913
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5874
|
+
return __assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5914
5875
|
};
|
|
5915
5876
|
var serializeAws_json1_1DeregisterMailDomainRequest = function (input, context) {
|
|
5916
|
-
return __assign(__assign({}, (input.DomainName
|
|
5917
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5877
|
+
return __assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5918
5878
|
};
|
|
5919
5879
|
var serializeAws_json1_1DescribeEmailMonitoringConfigurationRequest = function (input, context) {
|
|
5920
|
-
return __assign({}, (input.OrganizationId
|
|
5921
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5880
|
+
return __assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5922
5881
|
};
|
|
5923
5882
|
var serializeAws_json1_1DescribeGroupRequest = function (input, context) {
|
|
5924
|
-
return __assign(__assign({}, (input.GroupId
|
|
5925
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5883
|
+
return __assign(__assign({}, (input.GroupId != null && { GroupId: input.GroupId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5926
5884
|
};
|
|
5927
5885
|
var serializeAws_json1_1DescribeInboundDmarcSettingsRequest = function (input, context) {
|
|
5928
|
-
return __assign({}, (input.OrganizationId
|
|
5929
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5886
|
+
return __assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5930
5887
|
};
|
|
5931
5888
|
var serializeAws_json1_1DescribeMailboxExportJobRequest = function (input, context) {
|
|
5932
|
-
return __assign(__assign({}, (input.JobId
|
|
5933
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5889
|
+
return __assign(__assign({}, (input.JobId != null && { JobId: input.JobId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5934
5890
|
};
|
|
5935
5891
|
var serializeAws_json1_1DescribeOrganizationRequest = function (input, context) {
|
|
5936
|
-
return __assign({}, (input.OrganizationId
|
|
5937
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5892
|
+
return __assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5938
5893
|
};
|
|
5939
5894
|
var serializeAws_json1_1DescribeResourceRequest = function (input, context) {
|
|
5940
|
-
return __assign(__assign({}, (input.OrganizationId
|
|
5941
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5895
|
+
return __assign(__assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5942
5896
|
};
|
|
5943
5897
|
var serializeAws_json1_1DescribeUserRequest = function (input, context) {
|
|
5944
|
-
return __assign(__assign({}, (input.OrganizationId
|
|
5945
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
5898
|
+
return __assign(__assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
5946
5899
|
};
|
|
5947
5900
|
var serializeAws_json1_1DeviceModelList = function (input, context) {
|
|
5948
5901
|
return input
|
|
@@ -5985,15 +5938,13 @@ var serializeAws_json1_1DeviceUserAgentList = function (input, context) {
|
|
|
5985
5938
|
});
|
|
5986
5939
|
};
|
|
5987
5940
|
var serializeAws_json1_1DisassociateDelegateFromResourceRequest = function (input, context) {
|
|
5988
|
-
return __assign(__assign(__assign({}, (input.EntityId
|
|
5989
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5941
|
+
return __assign(__assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
5990
5942
|
};
|
|
5991
5943
|
var serializeAws_json1_1DisassociateMemberFromGroupRequest = function (input, context) {
|
|
5992
|
-
return __assign(__assign(__assign({}, (input.GroupId
|
|
5993
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5944
|
+
return __assign(__assign(__assign({}, (input.GroupId != null && { GroupId: input.GroupId })), (input.MemberId != null && { MemberId: input.MemberId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
5994
5945
|
};
|
|
5995
5946
|
var serializeAws_json1_1Domain = function (input, context) {
|
|
5996
|
-
return __assign(__assign({}, (input.DomainName
|
|
5947
|
+
return __assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.HostedZoneId != null && { HostedZoneId: input.HostedZoneId }));
|
|
5997
5948
|
};
|
|
5998
5949
|
var serializeAws_json1_1Domains = function (input, context) {
|
|
5999
5950
|
return input
|
|
@@ -6006,10 +5957,10 @@ var serializeAws_json1_1Domains = function (input, context) {
|
|
|
6006
5957
|
});
|
|
6007
5958
|
};
|
|
6008
5959
|
var serializeAws_json1_1EwsAvailabilityProvider = function (input, context) {
|
|
6009
|
-
return __assign(__assign(__assign({}, (input.EwsEndpoint
|
|
5960
|
+
return __assign(__assign(__assign({}, (input.EwsEndpoint != null && { EwsEndpoint: input.EwsEndpoint })), (input.EwsPassword != null && { EwsPassword: input.EwsPassword })), (input.EwsUsername != null && { EwsUsername: input.EwsUsername }));
|
|
6010
5961
|
};
|
|
6011
5962
|
var serializeAws_json1_1FolderConfiguration = function (input, context) {
|
|
6012
|
-
return __assign(__assign(__assign({}, (input.Action
|
|
5963
|
+
return __assign(__assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.Name != null && { Name: input.Name })), (input.Period != null && { Period: input.Period }));
|
|
6013
5964
|
};
|
|
6014
5965
|
var serializeAws_json1_1FolderConfigurations = function (input, context) {
|
|
6015
5966
|
return input
|
|
@@ -6022,30 +5973,22 @@ var serializeAws_json1_1FolderConfigurations = function (input, context) {
|
|
|
6022
5973
|
});
|
|
6023
5974
|
};
|
|
6024
5975
|
var serializeAws_json1_1GetAccessControlEffectRequest = function (input, context) {
|
|
6025
|
-
return __assign(__assign(__assign(__assign({}, (input.Action
|
|
6026
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
5976
|
+
return __assign(__assign(__assign(__assign({}, (input.Action != null && { Action: input.Action })), (input.IpAddress != null && { IpAddress: input.IpAddress })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
6027
5977
|
};
|
|
6028
5978
|
var serializeAws_json1_1GetDefaultRetentionPolicyRequest = function (input, context) {
|
|
6029
|
-
return __assign({}, (input.OrganizationId
|
|
6030
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5979
|
+
return __assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6031
5980
|
};
|
|
6032
5981
|
var serializeAws_json1_1GetMailboxDetailsRequest = function (input, context) {
|
|
6033
|
-
return __assign(__assign({}, (input.OrganizationId
|
|
6034
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
5982
|
+
return __assign(__assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
6035
5983
|
};
|
|
6036
5984
|
var serializeAws_json1_1GetMailDomainRequest = function (input, context) {
|
|
6037
|
-
return __assign(__assign({}, (input.DomainName
|
|
6038
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5985
|
+
return __assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6039
5986
|
};
|
|
6040
5987
|
var serializeAws_json1_1GetMobileDeviceAccessEffectRequest = function (input, context) {
|
|
6041
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DeviceModel
|
|
6042
|
-
input.DeviceOperatingSystem !== null && { DeviceOperatingSystem: input.DeviceOperatingSystem })), (input.DeviceType !== undefined && input.DeviceType !== null && { DeviceType: input.DeviceType })), (input.DeviceUserAgent !== undefined &&
|
|
6043
|
-
input.DeviceUserAgent !== null && { DeviceUserAgent: input.DeviceUserAgent })), (input.OrganizationId !== undefined &&
|
|
6044
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
5988
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DeviceModel != null && { DeviceModel: input.DeviceModel })), (input.DeviceOperatingSystem != null && { DeviceOperatingSystem: input.DeviceOperatingSystem })), (input.DeviceType != null && { DeviceType: input.DeviceType })), (input.DeviceUserAgent != null && { DeviceUserAgent: input.DeviceUserAgent })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6045
5989
|
};
|
|
6046
5990
|
var serializeAws_json1_1GetMobileDeviceAccessOverrideRequest = function (input, context) {
|
|
6047
|
-
return __assign(__assign(__assign({}, (input.DeviceId
|
|
6048
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
5991
|
+
return __assign(__assign(__assign({}, (input.DeviceId != null && { DeviceId: input.DeviceId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
6049
5992
|
};
|
|
6050
5993
|
var serializeAws_json1_1IpRangeList = function (input, context) {
|
|
6051
5994
|
return input
|
|
@@ -6058,65 +6001,52 @@ var serializeAws_json1_1IpRangeList = function (input, context) {
|
|
|
6058
6001
|
});
|
|
6059
6002
|
};
|
|
6060
6003
|
var serializeAws_json1_1LambdaAvailabilityProvider = function (input, context) {
|
|
6061
|
-
return __assign({}, (input.LambdaArn
|
|
6004
|
+
return __assign({}, (input.LambdaArn != null && { LambdaArn: input.LambdaArn }));
|
|
6062
6005
|
};
|
|
6063
6006
|
var serializeAws_json1_1ListAccessControlRulesRequest = function (input, context) {
|
|
6064
|
-
return __assign({}, (input.OrganizationId
|
|
6065
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6007
|
+
return __assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6066
6008
|
};
|
|
6067
6009
|
var serializeAws_json1_1ListAliasesRequest = function (input, context) {
|
|
6068
|
-
return __assign(__assign(__assign(__assign({}, (input.EntityId
|
|
6069
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6010
|
+
return __assign(__assign(__assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6070
6011
|
};
|
|
6071
6012
|
var serializeAws_json1_1ListAvailabilityConfigurationsRequest = function (input, context) {
|
|
6072
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
6073
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6013
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6074
6014
|
};
|
|
6075
6015
|
var serializeAws_json1_1ListGroupMembersRequest = function (input, context) {
|
|
6076
|
-
return __assign(__assign(__assign(__assign({}, (input.GroupId
|
|
6077
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6016
|
+
return __assign(__assign(__assign(__assign({}, (input.GroupId != null && { GroupId: input.GroupId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6078
6017
|
};
|
|
6079
6018
|
var serializeAws_json1_1ListGroupsRequest = function (input, context) {
|
|
6080
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
6081
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6019
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6082
6020
|
};
|
|
6083
6021
|
var serializeAws_json1_1ListMailboxExportJobsRequest = function (input, context) {
|
|
6084
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
6085
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6022
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6086
6023
|
};
|
|
6087
6024
|
var serializeAws_json1_1ListMailboxPermissionsRequest = function (input, context) {
|
|
6088
|
-
return __assign(__assign(__assign(__assign({}, (input.EntityId
|
|
6089
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6025
|
+
return __assign(__assign(__assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6090
6026
|
};
|
|
6091
6027
|
var serializeAws_json1_1ListMailDomainsRequest = function (input, context) {
|
|
6092
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
6093
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6028
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6094
6029
|
};
|
|
6095
6030
|
var serializeAws_json1_1ListMobileDeviceAccessOverridesRequest = function (input, context) {
|
|
6096
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DeviceId
|
|
6097
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
6031
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DeviceId != null && { DeviceId: input.DeviceId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
6098
6032
|
};
|
|
6099
6033
|
var serializeAws_json1_1ListMobileDeviceAccessRulesRequest = function (input, context) {
|
|
6100
|
-
return __assign({}, (input.OrganizationId
|
|
6101
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6034
|
+
return __assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6102
6035
|
};
|
|
6103
6036
|
var serializeAws_json1_1ListOrganizationsRequest = function (input, context) {
|
|
6104
|
-
return __assign(__assign({}, (input.MaxResults
|
|
6037
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
6105
6038
|
};
|
|
6106
6039
|
var serializeAws_json1_1ListResourceDelegatesRequest = function (input, context) {
|
|
6107
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
6108
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
6040
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
6109
6041
|
};
|
|
6110
6042
|
var serializeAws_json1_1ListResourcesRequest = function (input, context) {
|
|
6111
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
6112
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6043
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6113
6044
|
};
|
|
6114
6045
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
6115
|
-
return __assign({}, (input.ResourceARN
|
|
6046
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
6116
6047
|
};
|
|
6117
6048
|
var serializeAws_json1_1ListUsersRequest = function (input, context) {
|
|
6118
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
6119
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6049
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6120
6050
|
};
|
|
6121
6051
|
var serializeAws_json1_1PermissionValues = function (input, context) {
|
|
6122
6052
|
return input
|
|
@@ -6129,61 +6059,43 @@ var serializeAws_json1_1PermissionValues = function (input, context) {
|
|
|
6129
6059
|
});
|
|
6130
6060
|
};
|
|
6131
6061
|
var serializeAws_json1_1PutAccessControlRuleRequest = function (input, context) {
|
|
6132
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Actions
|
|
6133
|
-
input.Actions !== null && { Actions: serializeAws_json1_1ActionsList(input.Actions, context) })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Effect !== undefined && input.Effect !== null && { Effect: input.Effect })), (input.IpRanges !== undefined &&
|
|
6134
|
-
input.IpRanges !== null && { IpRanges: serializeAws_json1_1IpRangeList(input.IpRanges, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NotActions !== undefined &&
|
|
6135
|
-
input.NotActions !== null && { NotActions: serializeAws_json1_1ActionsList(input.NotActions, context) })), (input.NotIpRanges !== undefined &&
|
|
6136
|
-
input.NotIpRanges !== null && { NotIpRanges: serializeAws_json1_1IpRangeList(input.NotIpRanges, context) })), (input.NotUserIds !== undefined &&
|
|
6137
|
-
input.NotUserIds !== null && { NotUserIds: serializeAws_json1_1UserIdList(input.NotUserIds, context) })), (input.OrganizationId !== undefined &&
|
|
6138
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserIds !== undefined &&
|
|
6139
|
-
input.UserIds !== null && { UserIds: serializeAws_json1_1UserIdList(input.UserIds, context) }));
|
|
6062
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Actions != null && { Actions: serializeAws_json1_1ActionsList(input.Actions, context) })), (input.Description != null && { Description: input.Description })), (input.Effect != null && { Effect: input.Effect })), (input.IpRanges != null && { IpRanges: serializeAws_json1_1IpRangeList(input.IpRanges, context) })), (input.Name != null && { Name: input.Name })), (input.NotActions != null && { NotActions: serializeAws_json1_1ActionsList(input.NotActions, context) })), (input.NotIpRanges != null && { NotIpRanges: serializeAws_json1_1IpRangeList(input.NotIpRanges, context) })), (input.NotUserIds != null && { NotUserIds: serializeAws_json1_1UserIdList(input.NotUserIds, context) })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserIds != null && { UserIds: serializeAws_json1_1UserIdList(input.UserIds, context) }));
|
|
6140
6063
|
};
|
|
6141
6064
|
var serializeAws_json1_1PutEmailMonitoringConfigurationRequest = function (input, context) {
|
|
6142
|
-
return __assign(__assign(__assign({}, (input.LogGroupArn
|
|
6143
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
6065
|
+
return __assign(__assign(__assign({}, (input.LogGroupArn != null && { LogGroupArn: input.LogGroupArn })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.RoleArn != null && { RoleArn: input.RoleArn }));
|
|
6144
6066
|
};
|
|
6145
6067
|
var serializeAws_json1_1PutInboundDmarcSettingsRequest = function (input, context) {
|
|
6146
|
-
return __assign(__assign({}, (input.Enforced
|
|
6147
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6068
|
+
return __assign(__assign({}, (input.Enforced != null && { Enforced: input.Enforced })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6148
6069
|
};
|
|
6149
6070
|
var serializeAws_json1_1PutMailboxPermissionsRequest = function (input, context) {
|
|
6150
|
-
return __assign(__assign(__assign(__assign({}, (input.EntityId
|
|
6151
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.PermissionValues !== undefined &&
|
|
6152
|
-
input.PermissionValues !== null && {
|
|
6071
|
+
return __assign(__assign(__assign(__assign({}, (input.EntityId != null && { EntityId: input.EntityId })), (input.GranteeId != null && { GranteeId: input.GranteeId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.PermissionValues != null && {
|
|
6153
6072
|
PermissionValues: serializeAws_json1_1PermissionValues(input.PermissionValues, context),
|
|
6154
6073
|
}));
|
|
6155
6074
|
};
|
|
6156
6075
|
var serializeAws_json1_1PutMobileDeviceAccessOverrideRequest = function (input, context) {
|
|
6157
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
6158
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
6076
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.DeviceId != null && { DeviceId: input.DeviceId })), (input.Effect != null && { Effect: input.Effect })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
6159
6077
|
};
|
|
6160
6078
|
var serializeAws_json1_1PutRetentionPolicyRequest = function (input, context) {
|
|
6161
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
6162
|
-
input.FolderConfigurations !== null && {
|
|
6079
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.FolderConfigurations != null && {
|
|
6163
6080
|
FolderConfigurations: serializeAws_json1_1FolderConfigurations(input.FolderConfigurations, context),
|
|
6164
|
-
})), (input.Id
|
|
6165
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6081
|
+
})), (input.Id != null && { Id: input.Id })), (input.Name != null && { Name: input.Name })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6166
6082
|
};
|
|
6167
6083
|
var serializeAws_json1_1RegisterMailDomainRequest = function (input, context) {
|
|
6168
6084
|
var _a;
|
|
6169
|
-
return __assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DomainName
|
|
6170
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6085
|
+
return __assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DomainName != null && { DomainName: input.DomainName })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6171
6086
|
};
|
|
6172
6087
|
var serializeAws_json1_1RegisterToWorkMailRequest = function (input, context) {
|
|
6173
|
-
return __assign(__assign(__assign({}, (input.Email
|
|
6174
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6088
|
+
return __assign(__assign(__assign({}, (input.Email != null && { Email: input.Email })), (input.EntityId != null && { EntityId: input.EntityId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6175
6089
|
};
|
|
6176
6090
|
var serializeAws_json1_1ResetPasswordRequest = function (input, context) {
|
|
6177
|
-
return __assign(__assign(__assign({}, (input.OrganizationId
|
|
6178
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.Password !== undefined && input.Password !== null && { Password: input.Password })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
6091
|
+
return __assign(__assign(__assign({}, (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.Password != null && { Password: input.Password })), (input.UserId != null && { UserId: input.UserId }));
|
|
6179
6092
|
};
|
|
6180
6093
|
var serializeAws_json1_1StartMailboxExportJobRequest = function (input, context) {
|
|
6181
6094
|
var _a;
|
|
6182
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
6183
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.S3BucketName !== undefined && input.S3BucketName !== null && { S3BucketName: input.S3BucketName })), (input.S3Prefix !== undefined && input.S3Prefix !== null && { S3Prefix: input.S3Prefix }));
|
|
6095
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.EntityId != null && { EntityId: input.EntityId })), (input.KmsKeyArn != null && { KmsKeyArn: input.KmsKeyArn })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.S3BucketName != null && { S3BucketName: input.S3BucketName })), (input.S3Prefix != null && { S3Prefix: input.S3Prefix }));
|
|
6184
6096
|
};
|
|
6185
6097
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
6186
|
-
return __assign(__assign({}, (input.Key
|
|
6098
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
6187
6099
|
};
|
|
6188
6100
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
6189
6101
|
return input
|
|
@@ -6206,77 +6118,55 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
6206
6118
|
});
|
|
6207
6119
|
};
|
|
6208
6120
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
6209
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
6121
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
6210
6122
|
};
|
|
6211
6123
|
var serializeAws_json1_1TestAvailabilityConfigurationRequest = function (input, context) {
|
|
6212
|
-
return __assign(__assign(__assign(__assign({}, (input.DomainName
|
|
6213
|
-
input.EwsProvider !== null && {
|
|
6124
|
+
return __assign(__assign(__assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.EwsProvider != null && {
|
|
6214
6125
|
EwsProvider: serializeAws_json1_1EwsAvailabilityProvider(input.EwsProvider, context),
|
|
6215
|
-
})), (input.LambdaProvider
|
|
6216
|
-
input.LambdaProvider !== null && {
|
|
6126
|
+
})), (input.LambdaProvider != null && {
|
|
6217
6127
|
LambdaProvider: serializeAws_json1_1LambdaAvailabilityProvider(input.LambdaProvider, context),
|
|
6218
|
-
})), (input.OrganizationId
|
|
6219
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6128
|
+
})), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6220
6129
|
};
|
|
6221
6130
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
6222
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
6223
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
6131
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
6224
6132
|
};
|
|
6225
6133
|
var serializeAws_json1_1UpdateAvailabilityConfigurationRequest = function (input, context) {
|
|
6226
|
-
return __assign(__assign(__assign(__assign({}, (input.DomainName
|
|
6227
|
-
input.EwsProvider !== null && {
|
|
6134
|
+
return __assign(__assign(__assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.EwsProvider != null && {
|
|
6228
6135
|
EwsProvider: serializeAws_json1_1EwsAvailabilityProvider(input.EwsProvider, context),
|
|
6229
|
-
})), (input.LambdaProvider
|
|
6230
|
-
input.LambdaProvider !== null && {
|
|
6136
|
+
})), (input.LambdaProvider != null && {
|
|
6231
6137
|
LambdaProvider: serializeAws_json1_1LambdaAvailabilityProvider(input.LambdaProvider, context),
|
|
6232
|
-
})), (input.OrganizationId
|
|
6233
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6138
|
+
})), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6234
6139
|
};
|
|
6235
6140
|
var serializeAws_json1_1UpdateDefaultMailDomainRequest = function (input, context) {
|
|
6236
|
-
return __assign(__assign({}, (input.DomainName
|
|
6237
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6141
|
+
return __assign(__assign({}, (input.DomainName != null && { DomainName: input.DomainName })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6238
6142
|
};
|
|
6239
6143
|
var serializeAws_json1_1UpdateMailboxQuotaRequest = function (input, context) {
|
|
6240
|
-
return __assign(__assign(__assign({}, (input.MailboxQuota
|
|
6241
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserId !== undefined && input.UserId !== null && { UserId: input.UserId }));
|
|
6144
|
+
return __assign(__assign(__assign({}, (input.MailboxQuota != null && { MailboxQuota: input.MailboxQuota })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.UserId != null && { UserId: input.UserId }));
|
|
6242
6145
|
};
|
|
6243
6146
|
var serializeAws_json1_1UpdateMobileDeviceAccessRuleRequest = function (input, context) {
|
|
6244
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
6245
|
-
input.DeviceModels !== null && {
|
|
6147
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.DeviceModels != null && {
|
|
6246
6148
|
DeviceModels: serializeAws_json1_1DeviceModelList(input.DeviceModels, context),
|
|
6247
|
-
})), (input.DeviceOperatingSystems
|
|
6248
|
-
input.DeviceOperatingSystems !== null && {
|
|
6149
|
+
})), (input.DeviceOperatingSystems != null && {
|
|
6249
6150
|
DeviceOperatingSystems: serializeAws_json1_1DeviceOperatingSystemList(input.DeviceOperatingSystems, context),
|
|
6250
|
-
})), (input.DeviceTypes
|
|
6251
|
-
input.DeviceTypes !== null && { DeviceTypes: serializeAws_json1_1DeviceTypeList(input.DeviceTypes, context) })), (input.DeviceUserAgents !== undefined &&
|
|
6252
|
-
input.DeviceUserAgents !== null && {
|
|
6151
|
+
})), (input.DeviceTypes != null && { DeviceTypes: serializeAws_json1_1DeviceTypeList(input.DeviceTypes, context) })), (input.DeviceUserAgents != null && {
|
|
6253
6152
|
DeviceUserAgents: serializeAws_json1_1DeviceUserAgentList(input.DeviceUserAgents, context),
|
|
6254
|
-
})), (input.Effect
|
|
6255
|
-
input.MobileDeviceAccessRuleId !== null && { MobileDeviceAccessRuleId: input.MobileDeviceAccessRuleId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.NotDeviceModels !== undefined &&
|
|
6256
|
-
input.NotDeviceModels !== null && {
|
|
6153
|
+
})), (input.Effect != null && { Effect: input.Effect })), (input.MobileDeviceAccessRuleId != null && { MobileDeviceAccessRuleId: input.MobileDeviceAccessRuleId })), (input.Name != null && { Name: input.Name })), (input.NotDeviceModels != null && {
|
|
6257
6154
|
NotDeviceModels: serializeAws_json1_1DeviceModelList(input.NotDeviceModels, context),
|
|
6258
|
-
})), (input.NotDeviceOperatingSystems
|
|
6259
|
-
input.NotDeviceOperatingSystems !== null && {
|
|
6155
|
+
})), (input.NotDeviceOperatingSystems != null && {
|
|
6260
6156
|
NotDeviceOperatingSystems: serializeAws_json1_1DeviceOperatingSystemList(input.NotDeviceOperatingSystems, context),
|
|
6261
|
-
})), (input.NotDeviceTypes
|
|
6262
|
-
input.NotDeviceTypes !== null && {
|
|
6157
|
+
})), (input.NotDeviceTypes != null && {
|
|
6263
6158
|
NotDeviceTypes: serializeAws_json1_1DeviceTypeList(input.NotDeviceTypes, context),
|
|
6264
|
-
})), (input.NotDeviceUserAgents
|
|
6265
|
-
input.NotDeviceUserAgents !== null && {
|
|
6159
|
+
})), (input.NotDeviceUserAgents != null && {
|
|
6266
6160
|
NotDeviceUserAgents: serializeAws_json1_1DeviceUserAgentList(input.NotDeviceUserAgents, context),
|
|
6267
|
-
})), (input.OrganizationId
|
|
6268
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6161
|
+
})), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6269
6162
|
};
|
|
6270
6163
|
var serializeAws_json1_1UpdatePrimaryEmailAddressRequest = function (input, context) {
|
|
6271
|
-
return __assign(__assign(__assign({}, (input.Email
|
|
6272
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6164
|
+
return __assign(__assign(__assign({}, (input.Email != null && { Email: input.Email })), (input.EntityId != null && { EntityId: input.EntityId })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId }));
|
|
6273
6165
|
};
|
|
6274
6166
|
var serializeAws_json1_1UpdateResourceRequest = function (input, context) {
|
|
6275
|
-
return __assign(__assign(__assign(__assign({}, (input.BookingOptions
|
|
6276
|
-
input.BookingOptions !== null && {
|
|
6167
|
+
return __assign(__assign(__assign(__assign({}, (input.BookingOptions != null && {
|
|
6277
6168
|
BookingOptions: serializeAws_json1_1BookingOptions(input.BookingOptions, context),
|
|
6278
|
-
})), (input.Name
|
|
6279
|
-
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
6169
|
+
})), (input.Name != null && { Name: input.Name })), (input.OrganizationId != null && { OrganizationId: input.OrganizationId })), (input.ResourceId != null && { ResourceId: input.ResourceId }));
|
|
6280
6170
|
};
|
|
6281
6171
|
var serializeAws_json1_1UserIdList = function (input, context) {
|
|
6282
6172
|
return input
|
|
@@ -6290,33 +6180,21 @@ var serializeAws_json1_1UserIdList = function (input, context) {
|
|
|
6290
6180
|
};
|
|
6291
6181
|
var deserializeAws_json1_1AccessControlRule = function (output, context) {
|
|
6292
6182
|
return {
|
|
6293
|
-
Actions: output.Actions
|
|
6294
|
-
|
|
6295
|
-
: undefined,
|
|
6296
|
-
DateCreated: output.DateCreated !== undefined && output.DateCreated !== null
|
|
6183
|
+
Actions: output.Actions != null ? deserializeAws_json1_1ActionsList(output.Actions, context) : undefined,
|
|
6184
|
+
DateCreated: output.DateCreated != null
|
|
6297
6185
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
6298
6186
|
: undefined,
|
|
6299
|
-
DateModified: output.DateModified
|
|
6187
|
+
DateModified: output.DateModified != null
|
|
6300
6188
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
6301
6189
|
: undefined,
|
|
6302
6190
|
Description: __expectString(output.Description),
|
|
6303
6191
|
Effect: __expectString(output.Effect),
|
|
6304
|
-
IpRanges: output.IpRanges
|
|
6305
|
-
? deserializeAws_json1_1IpRangeList(output.IpRanges, context)
|
|
6306
|
-
: undefined,
|
|
6192
|
+
IpRanges: output.IpRanges != null ? deserializeAws_json1_1IpRangeList(output.IpRanges, context) : undefined,
|
|
6307
6193
|
Name: __expectString(output.Name),
|
|
6308
|
-
NotActions: output.NotActions
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
? deserializeAws_json1_1IpRangeList(output.NotIpRanges, context)
|
|
6313
|
-
: undefined,
|
|
6314
|
-
NotUserIds: output.NotUserIds !== undefined && output.NotUserIds !== null
|
|
6315
|
-
? deserializeAws_json1_1UserIdList(output.NotUserIds, context)
|
|
6316
|
-
: undefined,
|
|
6317
|
-
UserIds: output.UserIds !== undefined && output.UserIds !== null
|
|
6318
|
-
? deserializeAws_json1_1UserIdList(output.UserIds, context)
|
|
6319
|
-
: undefined,
|
|
6194
|
+
NotActions: output.NotActions != null ? deserializeAws_json1_1ActionsList(output.NotActions, context) : undefined,
|
|
6195
|
+
NotIpRanges: output.NotIpRanges != null ? deserializeAws_json1_1IpRangeList(output.NotIpRanges, context) : undefined,
|
|
6196
|
+
NotUserIds: output.NotUserIds != null ? deserializeAws_json1_1UserIdList(output.NotUserIds, context) : undefined,
|
|
6197
|
+
UserIds: output.UserIds != null ? deserializeAws_json1_1UserIdList(output.UserIds, context) : undefined,
|
|
6320
6198
|
};
|
|
6321
6199
|
};
|
|
6322
6200
|
var deserializeAws_json1_1AccessControlRuleNameList = function (output, context) {
|
|
@@ -6371,17 +6249,17 @@ var deserializeAws_json1_1AssociateMemberToGroupResponse = function (output, con
|
|
|
6371
6249
|
};
|
|
6372
6250
|
var deserializeAws_json1_1AvailabilityConfiguration = function (output, context) {
|
|
6373
6251
|
return {
|
|
6374
|
-
DateCreated: output.DateCreated
|
|
6252
|
+
DateCreated: output.DateCreated != null
|
|
6375
6253
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
6376
6254
|
: undefined,
|
|
6377
|
-
DateModified: output.DateModified
|
|
6255
|
+
DateModified: output.DateModified != null
|
|
6378
6256
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
6379
6257
|
: undefined,
|
|
6380
6258
|
DomainName: __expectString(output.DomainName),
|
|
6381
|
-
EwsProvider: output.EwsProvider
|
|
6259
|
+
EwsProvider: output.EwsProvider != null
|
|
6382
6260
|
? deserializeAws_json1_1RedactedEwsAvailabilityProvider(output.EwsProvider, context)
|
|
6383
6261
|
: undefined,
|
|
6384
|
-
LambdaProvider: output.LambdaProvider
|
|
6262
|
+
LambdaProvider: output.LambdaProvider != null
|
|
6385
6263
|
? deserializeAws_json1_1LambdaAvailabilityProvider(output.LambdaProvider, context)
|
|
6386
6264
|
: undefined,
|
|
6387
6265
|
ProviderType: __expectString(output.ProviderType),
|
|
@@ -6498,11 +6376,11 @@ var deserializeAws_json1_1DescribeEmailMonitoringConfigurationResponse = functio
|
|
|
6498
6376
|
};
|
|
6499
6377
|
var deserializeAws_json1_1DescribeGroupResponse = function (output, context) {
|
|
6500
6378
|
return {
|
|
6501
|
-
DisabledDate: output.DisabledDate
|
|
6379
|
+
DisabledDate: output.DisabledDate != null
|
|
6502
6380
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
6503
6381
|
: undefined,
|
|
6504
6382
|
Email: __expectString(output.Email),
|
|
6505
|
-
EnabledDate: output.EnabledDate
|
|
6383
|
+
EnabledDate: output.EnabledDate != null
|
|
6506
6384
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
6507
6385
|
: undefined,
|
|
6508
6386
|
GroupId: __expectString(output.GroupId),
|
|
@@ -6518,9 +6396,7 @@ var deserializeAws_json1_1DescribeInboundDmarcSettingsResponse = function (outpu
|
|
|
6518
6396
|
var deserializeAws_json1_1DescribeMailboxExportJobResponse = function (output, context) {
|
|
6519
6397
|
return {
|
|
6520
6398
|
Description: __expectString(output.Description),
|
|
6521
|
-
EndTime: output.EndTime
|
|
6522
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
6523
|
-
: undefined,
|
|
6399
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
6524
6400
|
EntityId: __expectString(output.EntityId),
|
|
6525
6401
|
ErrorInfo: __expectString(output.ErrorInfo),
|
|
6526
6402
|
EstimatedProgress: __expectInt32(output.EstimatedProgress),
|
|
@@ -6529,9 +6405,7 @@ var deserializeAws_json1_1DescribeMailboxExportJobResponse = function (output, c
|
|
|
6529
6405
|
S3BucketName: __expectString(output.S3BucketName),
|
|
6530
6406
|
S3Path: __expectString(output.S3Path),
|
|
6531
6407
|
S3Prefix: __expectString(output.S3Prefix),
|
|
6532
|
-
StartTime: output.StartTime
|
|
6533
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
6534
|
-
: undefined,
|
|
6408
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
6535
6409
|
State: __expectString(output.State),
|
|
6536
6410
|
};
|
|
6537
6411
|
};
|
|
@@ -6539,7 +6413,7 @@ var deserializeAws_json1_1DescribeOrganizationResponse = function (output, conte
|
|
|
6539
6413
|
return {
|
|
6540
6414
|
ARN: __expectString(output.ARN),
|
|
6541
6415
|
Alias: __expectString(output.Alias),
|
|
6542
|
-
CompletedDate: output.CompletedDate
|
|
6416
|
+
CompletedDate: output.CompletedDate != null
|
|
6543
6417
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletedDate)))
|
|
6544
6418
|
: undefined,
|
|
6545
6419
|
DefaultMailDomain: __expectString(output.DefaultMailDomain),
|
|
@@ -6552,14 +6426,12 @@ var deserializeAws_json1_1DescribeOrganizationResponse = function (output, conte
|
|
|
6552
6426
|
};
|
|
6553
6427
|
var deserializeAws_json1_1DescribeResourceResponse = function (output, context) {
|
|
6554
6428
|
return {
|
|
6555
|
-
BookingOptions: output.BookingOptions
|
|
6556
|
-
|
|
6557
|
-
: undefined,
|
|
6558
|
-
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
6429
|
+
BookingOptions: output.BookingOptions != null ? deserializeAws_json1_1BookingOptions(output.BookingOptions, context) : undefined,
|
|
6430
|
+
DisabledDate: output.DisabledDate != null
|
|
6559
6431
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
6560
6432
|
: undefined,
|
|
6561
6433
|
Email: __expectString(output.Email),
|
|
6562
|
-
EnabledDate: output.EnabledDate
|
|
6434
|
+
EnabledDate: output.EnabledDate != null
|
|
6563
6435
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
6564
6436
|
: undefined,
|
|
6565
6437
|
Name: __expectString(output.Name),
|
|
@@ -6570,12 +6442,12 @@ var deserializeAws_json1_1DescribeResourceResponse = function (output, context)
|
|
|
6570
6442
|
};
|
|
6571
6443
|
var deserializeAws_json1_1DescribeUserResponse = function (output, context) {
|
|
6572
6444
|
return {
|
|
6573
|
-
DisabledDate: output.DisabledDate
|
|
6445
|
+
DisabledDate: output.DisabledDate != null
|
|
6574
6446
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
6575
6447
|
: undefined,
|
|
6576
6448
|
DisplayName: __expectString(output.DisplayName),
|
|
6577
6449
|
Email: __expectString(output.Email),
|
|
6578
|
-
EnabledDate: output.EnabledDate
|
|
6450
|
+
EnabledDate: output.EnabledDate != null
|
|
6579
6451
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
6580
6452
|
: undefined,
|
|
6581
6453
|
Name: __expectString(output.Name),
|
|
@@ -6708,7 +6580,7 @@ var deserializeAws_json1_1FolderConfigurations = function (output, context) {
|
|
|
6708
6580
|
var deserializeAws_json1_1GetAccessControlEffectResponse = function (output, context) {
|
|
6709
6581
|
return {
|
|
6710
6582
|
Effect: __expectString(output.Effect),
|
|
6711
|
-
MatchedRules: output.MatchedRules
|
|
6583
|
+
MatchedRules: output.MatchedRules != null
|
|
6712
6584
|
? deserializeAws_json1_1AccessControlRuleNameList(output.MatchedRules, context)
|
|
6713
6585
|
: undefined,
|
|
6714
6586
|
};
|
|
@@ -6716,7 +6588,7 @@ var deserializeAws_json1_1GetAccessControlEffectResponse = function (output, con
|
|
|
6716
6588
|
var deserializeAws_json1_1GetDefaultRetentionPolicyResponse = function (output, context) {
|
|
6717
6589
|
return {
|
|
6718
6590
|
Description: __expectString(output.Description),
|
|
6719
|
-
FolderConfigurations: output.FolderConfigurations
|
|
6591
|
+
FolderConfigurations: output.FolderConfigurations != null
|
|
6720
6592
|
? deserializeAws_json1_1FolderConfigurations(output.FolderConfigurations, context)
|
|
6721
6593
|
: undefined,
|
|
6722
6594
|
Id: __expectString(output.Id),
|
|
@@ -6735,25 +6607,23 @@ var deserializeAws_json1_1GetMailDomainResponse = function (output, context) {
|
|
|
6735
6607
|
IsDefault: __expectBoolean(output.IsDefault),
|
|
6736
6608
|
IsTestDomain: __expectBoolean(output.IsTestDomain),
|
|
6737
6609
|
OwnershipVerificationStatus: __expectString(output.OwnershipVerificationStatus),
|
|
6738
|
-
Records: output.Records
|
|
6739
|
-
? deserializeAws_json1_1DnsRecords(output.Records, context)
|
|
6740
|
-
: undefined,
|
|
6610
|
+
Records: output.Records != null ? deserializeAws_json1_1DnsRecords(output.Records, context) : undefined,
|
|
6741
6611
|
};
|
|
6742
6612
|
};
|
|
6743
6613
|
var deserializeAws_json1_1GetMobileDeviceAccessEffectResponse = function (output, context) {
|
|
6744
6614
|
return {
|
|
6745
6615
|
Effect: __expectString(output.Effect),
|
|
6746
|
-
MatchedRules: output.MatchedRules
|
|
6616
|
+
MatchedRules: output.MatchedRules != null
|
|
6747
6617
|
? deserializeAws_json1_1MobileDeviceAccessMatchedRuleList(output.MatchedRules, context)
|
|
6748
6618
|
: undefined,
|
|
6749
6619
|
};
|
|
6750
6620
|
};
|
|
6751
6621
|
var deserializeAws_json1_1GetMobileDeviceAccessOverrideResponse = function (output, context) {
|
|
6752
6622
|
return {
|
|
6753
|
-
DateCreated: output.DateCreated
|
|
6623
|
+
DateCreated: output.DateCreated != null
|
|
6754
6624
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
6755
6625
|
: undefined,
|
|
6756
|
-
DateModified: output.DateModified
|
|
6626
|
+
DateModified: output.DateModified != null
|
|
6757
6627
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
6758
6628
|
: undefined,
|
|
6759
6629
|
Description: __expectString(output.Description),
|
|
@@ -6764,11 +6634,11 @@ var deserializeAws_json1_1GetMobileDeviceAccessOverrideResponse = function (outp
|
|
|
6764
6634
|
};
|
|
6765
6635
|
var deserializeAws_json1_1Group = function (output, context) {
|
|
6766
6636
|
return {
|
|
6767
|
-
DisabledDate: output.DisabledDate
|
|
6637
|
+
DisabledDate: output.DisabledDate != null
|
|
6768
6638
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
6769
6639
|
: undefined,
|
|
6770
6640
|
Email: __expectString(output.Email),
|
|
6771
|
-
EnabledDate: output.EnabledDate
|
|
6641
|
+
EnabledDate: output.EnabledDate != null
|
|
6772
6642
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
6773
6643
|
: undefined,
|
|
6774
6644
|
Id: __expectString(output.Id),
|
|
@@ -6841,22 +6711,18 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
6841
6711
|
};
|
|
6842
6712
|
var deserializeAws_json1_1ListAccessControlRulesResponse = function (output, context) {
|
|
6843
6713
|
return {
|
|
6844
|
-
Rules: output.Rules
|
|
6845
|
-
? deserializeAws_json1_1AccessControlRulesList(output.Rules, context)
|
|
6846
|
-
: undefined,
|
|
6714
|
+
Rules: output.Rules != null ? deserializeAws_json1_1AccessControlRulesList(output.Rules, context) : undefined,
|
|
6847
6715
|
};
|
|
6848
6716
|
};
|
|
6849
6717
|
var deserializeAws_json1_1ListAliasesResponse = function (output, context) {
|
|
6850
6718
|
return {
|
|
6851
|
-
Aliases: output.Aliases
|
|
6852
|
-
? deserializeAws_json1_1Aliases(output.Aliases, context)
|
|
6853
|
-
: undefined,
|
|
6719
|
+
Aliases: output.Aliases != null ? deserializeAws_json1_1Aliases(output.Aliases, context) : undefined,
|
|
6854
6720
|
NextToken: __expectString(output.NextToken),
|
|
6855
6721
|
};
|
|
6856
6722
|
};
|
|
6857
6723
|
var deserializeAws_json1_1ListAvailabilityConfigurationsResponse = function (output, context) {
|
|
6858
6724
|
return {
|
|
6859
|
-
AvailabilityConfigurations: output.AvailabilityConfigurations
|
|
6725
|
+
AvailabilityConfigurations: output.AvailabilityConfigurations != null
|
|
6860
6726
|
? deserializeAws_json1_1AvailabilityConfigurationList(output.AvailabilityConfigurations, context)
|
|
6861
6727
|
: undefined,
|
|
6862
6728
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6864,110 +6730,88 @@ var deserializeAws_json1_1ListAvailabilityConfigurationsResponse = function (out
|
|
|
6864
6730
|
};
|
|
6865
6731
|
var deserializeAws_json1_1ListGroupMembersResponse = function (output, context) {
|
|
6866
6732
|
return {
|
|
6867
|
-
Members: output.Members
|
|
6868
|
-
? deserializeAws_json1_1Members(output.Members, context)
|
|
6869
|
-
: undefined,
|
|
6733
|
+
Members: output.Members != null ? deserializeAws_json1_1Members(output.Members, context) : undefined,
|
|
6870
6734
|
NextToken: __expectString(output.NextToken),
|
|
6871
6735
|
};
|
|
6872
6736
|
};
|
|
6873
6737
|
var deserializeAws_json1_1ListGroupsResponse = function (output, context) {
|
|
6874
6738
|
return {
|
|
6875
|
-
Groups: output.Groups
|
|
6876
|
-
? deserializeAws_json1_1Groups(output.Groups, context)
|
|
6877
|
-
: undefined,
|
|
6739
|
+
Groups: output.Groups != null ? deserializeAws_json1_1Groups(output.Groups, context) : undefined,
|
|
6878
6740
|
NextToken: __expectString(output.NextToken),
|
|
6879
6741
|
};
|
|
6880
6742
|
};
|
|
6881
6743
|
var deserializeAws_json1_1ListMailboxExportJobsResponse = function (output, context) {
|
|
6882
6744
|
return {
|
|
6883
|
-
Jobs: output.Jobs
|
|
6745
|
+
Jobs: output.Jobs != null ? deserializeAws_json1_1Jobs(output.Jobs, context) : undefined,
|
|
6884
6746
|
NextToken: __expectString(output.NextToken),
|
|
6885
6747
|
};
|
|
6886
6748
|
};
|
|
6887
6749
|
var deserializeAws_json1_1ListMailboxPermissionsResponse = function (output, context) {
|
|
6888
6750
|
return {
|
|
6889
6751
|
NextToken: __expectString(output.NextToken),
|
|
6890
|
-
Permissions: output.Permissions
|
|
6891
|
-
? deserializeAws_json1_1Permissions(output.Permissions, context)
|
|
6892
|
-
: undefined,
|
|
6752
|
+
Permissions: output.Permissions != null ? deserializeAws_json1_1Permissions(output.Permissions, context) : undefined,
|
|
6893
6753
|
};
|
|
6894
6754
|
};
|
|
6895
6755
|
var deserializeAws_json1_1ListMailDomainsResponse = function (output, context) {
|
|
6896
6756
|
return {
|
|
6897
|
-
MailDomains: output.MailDomains
|
|
6898
|
-
? deserializeAws_json1_1MailDomains(output.MailDomains, context)
|
|
6899
|
-
: undefined,
|
|
6757
|
+
MailDomains: output.MailDomains != null ? deserializeAws_json1_1MailDomains(output.MailDomains, context) : undefined,
|
|
6900
6758
|
NextToken: __expectString(output.NextToken),
|
|
6901
6759
|
};
|
|
6902
6760
|
};
|
|
6903
6761
|
var deserializeAws_json1_1ListMobileDeviceAccessOverridesResponse = function (output, context) {
|
|
6904
6762
|
return {
|
|
6905
6763
|
NextToken: __expectString(output.NextToken),
|
|
6906
|
-
Overrides: output.Overrides
|
|
6764
|
+
Overrides: output.Overrides != null
|
|
6907
6765
|
? deserializeAws_json1_1MobileDeviceAccessOverridesList(output.Overrides, context)
|
|
6908
6766
|
: undefined,
|
|
6909
6767
|
};
|
|
6910
6768
|
};
|
|
6911
6769
|
var deserializeAws_json1_1ListMobileDeviceAccessRulesResponse = function (output, context) {
|
|
6912
6770
|
return {
|
|
6913
|
-
Rules: output.Rules
|
|
6914
|
-
? deserializeAws_json1_1MobileDeviceAccessRulesList(output.Rules, context)
|
|
6915
|
-
: undefined,
|
|
6771
|
+
Rules: output.Rules != null ? deserializeAws_json1_1MobileDeviceAccessRulesList(output.Rules, context) : undefined,
|
|
6916
6772
|
};
|
|
6917
6773
|
};
|
|
6918
6774
|
var deserializeAws_json1_1ListOrganizationsResponse = function (output, context) {
|
|
6919
6775
|
return {
|
|
6920
6776
|
NextToken: __expectString(output.NextToken),
|
|
6921
|
-
OrganizationSummaries: output.OrganizationSummaries
|
|
6777
|
+
OrganizationSummaries: output.OrganizationSummaries != null
|
|
6922
6778
|
? deserializeAws_json1_1OrganizationSummaries(output.OrganizationSummaries, context)
|
|
6923
6779
|
: undefined,
|
|
6924
6780
|
};
|
|
6925
6781
|
};
|
|
6926
6782
|
var deserializeAws_json1_1ListResourceDelegatesResponse = function (output, context) {
|
|
6927
6783
|
return {
|
|
6928
|
-
Delegates: output.Delegates
|
|
6929
|
-
? deserializeAws_json1_1ResourceDelegates(output.Delegates, context)
|
|
6930
|
-
: undefined,
|
|
6784
|
+
Delegates: output.Delegates != null ? deserializeAws_json1_1ResourceDelegates(output.Delegates, context) : undefined,
|
|
6931
6785
|
NextToken: __expectString(output.NextToken),
|
|
6932
6786
|
};
|
|
6933
6787
|
};
|
|
6934
6788
|
var deserializeAws_json1_1ListResourcesResponse = function (output, context) {
|
|
6935
6789
|
return {
|
|
6936
6790
|
NextToken: __expectString(output.NextToken),
|
|
6937
|
-
Resources: output.Resources
|
|
6938
|
-
? deserializeAws_json1_1Resources(output.Resources, context)
|
|
6939
|
-
: undefined,
|
|
6791
|
+
Resources: output.Resources != null ? deserializeAws_json1_1Resources(output.Resources, context) : undefined,
|
|
6940
6792
|
};
|
|
6941
6793
|
};
|
|
6942
6794
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
6943
6795
|
return {
|
|
6944
|
-
Tags: output.Tags
|
|
6945
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
6946
|
-
: undefined,
|
|
6796
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
6947
6797
|
};
|
|
6948
6798
|
};
|
|
6949
6799
|
var deserializeAws_json1_1ListUsersResponse = function (output, context) {
|
|
6950
6800
|
return {
|
|
6951
6801
|
NextToken: __expectString(output.NextToken),
|
|
6952
|
-
Users: output.Users
|
|
6953
|
-
? deserializeAws_json1_1Users(output.Users, context)
|
|
6954
|
-
: undefined,
|
|
6802
|
+
Users: output.Users != null ? deserializeAws_json1_1Users(output.Users, context) : undefined,
|
|
6955
6803
|
};
|
|
6956
6804
|
};
|
|
6957
6805
|
var deserializeAws_json1_1MailboxExportJob = function (output, context) {
|
|
6958
6806
|
return {
|
|
6959
6807
|
Description: __expectString(output.Description),
|
|
6960
|
-
EndTime: output.EndTime
|
|
6961
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
6962
|
-
: undefined,
|
|
6808
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
6963
6809
|
EntityId: __expectString(output.EntityId),
|
|
6964
6810
|
EstimatedProgress: __expectInt32(output.EstimatedProgress),
|
|
6965
6811
|
JobId: __expectString(output.JobId),
|
|
6966
6812
|
S3BucketName: __expectString(output.S3BucketName),
|
|
6967
6813
|
S3Path: __expectString(output.S3Path),
|
|
6968
|
-
StartTime: output.StartTime
|
|
6969
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
6970
|
-
: undefined,
|
|
6814
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
6971
6815
|
State: __expectString(output.State),
|
|
6972
6816
|
};
|
|
6973
6817
|
};
|
|
@@ -7005,10 +6849,10 @@ var deserializeAws_json1_1MailDomainSummary = function (output, context) {
|
|
|
7005
6849
|
};
|
|
7006
6850
|
var deserializeAws_json1_1Member = function (output, context) {
|
|
7007
6851
|
return {
|
|
7008
|
-
DisabledDate: output.DisabledDate
|
|
6852
|
+
DisabledDate: output.DisabledDate != null
|
|
7009
6853
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
7010
6854
|
: undefined,
|
|
7011
|
-
EnabledDate: output.EnabledDate
|
|
6855
|
+
EnabledDate: output.EnabledDate != null
|
|
7012
6856
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
7013
6857
|
: undefined,
|
|
7014
6858
|
Id: __expectString(output.Id),
|
|
@@ -7047,10 +6891,10 @@ var deserializeAws_json1_1MobileDeviceAccessMatchedRuleList = function (output,
|
|
|
7047
6891
|
};
|
|
7048
6892
|
var deserializeAws_json1_1MobileDeviceAccessOverride = function (output, context) {
|
|
7049
6893
|
return {
|
|
7050
|
-
DateCreated: output.DateCreated
|
|
6894
|
+
DateCreated: output.DateCreated != null
|
|
7051
6895
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
7052
6896
|
: undefined,
|
|
7053
|
-
DateModified: output.DateModified
|
|
6897
|
+
DateModified: output.DateModified != null
|
|
7054
6898
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
7055
6899
|
: undefined,
|
|
7056
6900
|
Description: __expectString(output.Description),
|
|
@@ -7072,38 +6916,32 @@ var deserializeAws_json1_1MobileDeviceAccessOverridesList = function (output, co
|
|
|
7072
6916
|
};
|
|
7073
6917
|
var deserializeAws_json1_1MobileDeviceAccessRule = function (output, context) {
|
|
7074
6918
|
return {
|
|
7075
|
-
DateCreated: output.DateCreated
|
|
6919
|
+
DateCreated: output.DateCreated != null
|
|
7076
6920
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateCreated)))
|
|
7077
6921
|
: undefined,
|
|
7078
|
-
DateModified: output.DateModified
|
|
6922
|
+
DateModified: output.DateModified != null
|
|
7079
6923
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DateModified)))
|
|
7080
6924
|
: undefined,
|
|
7081
6925
|
Description: __expectString(output.Description),
|
|
7082
|
-
DeviceModels: output.DeviceModels
|
|
7083
|
-
|
|
7084
|
-
: undefined,
|
|
7085
|
-
DeviceOperatingSystems: output.DeviceOperatingSystems !== undefined && output.DeviceOperatingSystems !== null
|
|
6926
|
+
DeviceModels: output.DeviceModels != null ? deserializeAws_json1_1DeviceModelList(output.DeviceModels, context) : undefined,
|
|
6927
|
+
DeviceOperatingSystems: output.DeviceOperatingSystems != null
|
|
7086
6928
|
? deserializeAws_json1_1DeviceOperatingSystemList(output.DeviceOperatingSystems, context)
|
|
7087
6929
|
: undefined,
|
|
7088
|
-
DeviceTypes: output.DeviceTypes
|
|
7089
|
-
|
|
7090
|
-
: undefined,
|
|
7091
|
-
DeviceUserAgents: output.DeviceUserAgents !== undefined && output.DeviceUserAgents !== null
|
|
6930
|
+
DeviceTypes: output.DeviceTypes != null ? deserializeAws_json1_1DeviceTypeList(output.DeviceTypes, context) : undefined,
|
|
6931
|
+
DeviceUserAgents: output.DeviceUserAgents != null
|
|
7092
6932
|
? deserializeAws_json1_1DeviceUserAgentList(output.DeviceUserAgents, context)
|
|
7093
6933
|
: undefined,
|
|
7094
6934
|
Effect: __expectString(output.Effect),
|
|
7095
6935
|
MobileDeviceAccessRuleId: __expectString(output.MobileDeviceAccessRuleId),
|
|
7096
6936
|
Name: __expectString(output.Name),
|
|
7097
|
-
NotDeviceModels: output.NotDeviceModels
|
|
6937
|
+
NotDeviceModels: output.NotDeviceModels != null
|
|
7098
6938
|
? deserializeAws_json1_1DeviceModelList(output.NotDeviceModels, context)
|
|
7099
6939
|
: undefined,
|
|
7100
|
-
NotDeviceOperatingSystems: output.NotDeviceOperatingSystems
|
|
6940
|
+
NotDeviceOperatingSystems: output.NotDeviceOperatingSystems != null
|
|
7101
6941
|
? deserializeAws_json1_1DeviceOperatingSystemList(output.NotDeviceOperatingSystems, context)
|
|
7102
6942
|
: undefined,
|
|
7103
|
-
NotDeviceTypes: output.NotDeviceTypes
|
|
7104
|
-
|
|
7105
|
-
: undefined,
|
|
7106
|
-
NotDeviceUserAgents: output.NotDeviceUserAgents !== undefined && output.NotDeviceUserAgents !== null
|
|
6943
|
+
NotDeviceTypes: output.NotDeviceTypes != null ? deserializeAws_json1_1DeviceTypeList(output.NotDeviceTypes, context) : undefined,
|
|
6944
|
+
NotDeviceUserAgents: output.NotDeviceUserAgents != null
|
|
7107
6945
|
? deserializeAws_json1_1DeviceUserAgentList(output.NotDeviceUserAgents, context)
|
|
7108
6946
|
: undefined,
|
|
7109
6947
|
};
|
|
@@ -7158,7 +6996,7 @@ var deserializeAws_json1_1Permission = function (output, context) {
|
|
|
7158
6996
|
return {
|
|
7159
6997
|
GranteeId: __expectString(output.GranteeId),
|
|
7160
6998
|
GranteeType: __expectString(output.GranteeType),
|
|
7161
|
-
PermissionValues: output.PermissionValues
|
|
6999
|
+
PermissionValues: output.PermissionValues != null
|
|
7162
7000
|
? deserializeAws_json1_1PermissionValues(output.PermissionValues, context)
|
|
7163
7001
|
: undefined,
|
|
7164
7002
|
};
|
|
@@ -7225,11 +7063,11 @@ var deserializeAws_json1_1ResetPasswordResponse = function (output, context) {
|
|
|
7225
7063
|
};
|
|
7226
7064
|
var deserializeAws_json1_1Resource = function (output, context) {
|
|
7227
7065
|
return {
|
|
7228
|
-
DisabledDate: output.DisabledDate
|
|
7066
|
+
DisabledDate: output.DisabledDate != null
|
|
7229
7067
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
7230
7068
|
: undefined,
|
|
7231
7069
|
Email: __expectString(output.Email),
|
|
7232
|
-
EnabledDate: output.EnabledDate
|
|
7070
|
+
EnabledDate: output.EnabledDate != null
|
|
7233
7071
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
7234
7072
|
: undefined,
|
|
7235
7073
|
Id: __expectString(output.Id),
|
|
@@ -7329,12 +7167,12 @@ var deserializeAws_json1_1UpdateResourceResponse = function (output, context) {
|
|
|
7329
7167
|
};
|
|
7330
7168
|
var deserializeAws_json1_1User = function (output, context) {
|
|
7331
7169
|
return {
|
|
7332
|
-
DisabledDate: output.DisabledDate
|
|
7170
|
+
DisabledDate: output.DisabledDate != null
|
|
7333
7171
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DisabledDate)))
|
|
7334
7172
|
: undefined,
|
|
7335
7173
|
DisplayName: __expectString(output.DisplayName),
|
|
7336
7174
|
Email: __expectString(output.Email),
|
|
7337
|
-
EnabledDate: output.EnabledDate
|
|
7175
|
+
EnabledDate: output.EnabledDate != null
|
|
7338
7176
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EnabledDate)))
|
|
7339
7177
|
: undefined,
|
|
7340
7178
|
Id: __expectString(output.Id),
|
|
@@ -7421,6 +7259,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
7421
7259
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
7422
7260
|
var sanitizeErrorCode = function (rawValue) {
|
|
7423
7261
|
var cleanValue = rawValue;
|
|
7262
|
+
if (typeof cleanValue === "number") {
|
|
7263
|
+
cleanValue = cleanValue.toString();
|
|
7264
|
+
}
|
|
7424
7265
|
if (cleanValue.indexOf(":") >= 0) {
|
|
7425
7266
|
cleanValue = cleanValue.split(":")[0];
|
|
7426
7267
|
}
|