@aws-sdk/client-workmail 3.43.0 → 3.47.1
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 +47 -0
- package/dist-cjs/WorkMail.js +45 -0
- package/dist-cjs/commands/DeleteEmailMonitoringConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DescribeEmailMonitoringConfigurationCommand.js +36 -0
- package/dist-cjs/commands/PutEmailMonitoringConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +36 -132
- package/dist-cjs/protocols/Aws_json1_1.js +270 -3
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/WorkMail.js +45 -0
- package/dist-es/commands/DeleteEmailMonitoringConfigurationCommand.js +39 -0
- package/dist-es/commands/DescribeEmailMonitoringConfigurationCommand.js +39 -0
- package/dist-es/commands/PutEmailMonitoringConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +24 -88
- package/dist-es/protocols/Aws_json1_1.js +289 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/WorkMail.d.ts +21 -0
- package/dist-types/WorkMailClient.d.ts +10 -3
- package/dist-types/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/PutEmailMonitoringConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +80 -136
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/WorkMail.d.ts +15 -0
- package/dist-types/ts3.4/WorkMailClient.d.ts +8 -3
- package/dist-types/ts3.4/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutEmailMonitoringConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +54 -92
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { PutEmailMonitoringConfigurationRequest, PutEmailMonitoringConfigurationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1PutEmailMonitoringConfigurationCommand, serializeAws_json1_1PutEmailMonitoringConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var PutEmailMonitoringConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(PutEmailMonitoringConfigurationCommand, _super);
|
|
8
|
+
function PutEmailMonitoringConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
PutEmailMonitoringConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "PutEmailMonitoringConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: PutEmailMonitoringConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PutEmailMonitoringConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PutEmailMonitoringConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1PutEmailMonitoringConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
PutEmailMonitoringConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1PutEmailMonitoringConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return PutEmailMonitoringConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutEmailMonitoringConfigurationCommand };
|
|
@@ -9,6 +9,7 @@ export * from "./CreateResourceCommand";
|
|
|
9
9
|
export * from "./CreateUserCommand";
|
|
10
10
|
export * from "./DeleteAccessControlRuleCommand";
|
|
11
11
|
export * from "./DeleteAliasCommand";
|
|
12
|
+
export * from "./DeleteEmailMonitoringConfigurationCommand";
|
|
12
13
|
export * from "./DeleteGroupCommand";
|
|
13
14
|
export * from "./DeleteMailboxPermissionsCommand";
|
|
14
15
|
export * from "./DeleteMobileDeviceAccessOverrideCommand";
|
|
@@ -19,6 +20,7 @@ export * from "./DeleteRetentionPolicyCommand";
|
|
|
19
20
|
export * from "./DeleteUserCommand";
|
|
20
21
|
export * from "./DeregisterFromWorkMailCommand";
|
|
21
22
|
export * from "./DeregisterMailDomainCommand";
|
|
23
|
+
export * from "./DescribeEmailMonitoringConfigurationCommand";
|
|
22
24
|
export * from "./DescribeGroupCommand";
|
|
23
25
|
export * from "./DescribeInboundDmarcSettingsCommand";
|
|
24
26
|
export * from "./DescribeMailboxExportJobCommand";
|
|
@@ -48,6 +50,7 @@ export * from "./ListResourcesCommand";
|
|
|
48
50
|
export * from "./ListTagsForResourceCommand";
|
|
49
51
|
export * from "./ListUsersCommand";
|
|
50
52
|
export * from "./PutAccessControlRuleCommand";
|
|
53
|
+
export * from "./PutEmailMonitoringConfigurationCommand";
|
|
51
54
|
export * from "./PutInboundDmarcSettingsCommand";
|
|
52
55
|
export * from "./PutMailboxPermissionsCommand";
|
|
53
56
|
export * from "./PutMobileDeviceAccessOverrideCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -17,26 +17,6 @@ export var AssociateDelegateToResourceResponse;
|
|
|
17
17
|
(function (AssociateDelegateToResourceResponse) {
|
|
18
18
|
AssociateDelegateToResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
19
|
})(AssociateDelegateToResourceResponse || (AssociateDelegateToResourceResponse = {}));
|
|
20
|
-
export var EntityNotFoundException;
|
|
21
|
-
(function (EntityNotFoundException) {
|
|
22
|
-
EntityNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
-
})(EntityNotFoundException || (EntityNotFoundException = {}));
|
|
24
|
-
export var EntityStateException;
|
|
25
|
-
(function (EntityStateException) {
|
|
26
|
-
EntityStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
|
-
})(EntityStateException || (EntityStateException = {}));
|
|
28
|
-
export var InvalidParameterException;
|
|
29
|
-
(function (InvalidParameterException) {
|
|
30
|
-
InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
|
-
})(InvalidParameterException || (InvalidParameterException = {}));
|
|
32
|
-
export var OrganizationNotFoundException;
|
|
33
|
-
(function (OrganizationNotFoundException) {
|
|
34
|
-
OrganizationNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
-
})(OrganizationNotFoundException || (OrganizationNotFoundException = {}));
|
|
36
|
-
export var OrganizationStateException;
|
|
37
|
-
(function (OrganizationStateException) {
|
|
38
|
-
OrganizationStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
-
})(OrganizationStateException || (OrganizationStateException = {}));
|
|
40
20
|
export var AssociateMemberToGroupRequest;
|
|
41
21
|
(function (AssociateMemberToGroupRequest) {
|
|
42
22
|
AssociateMemberToGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -45,18 +25,6 @@ export var AssociateMemberToGroupResponse;
|
|
|
45
25
|
(function (AssociateMemberToGroupResponse) {
|
|
46
26
|
AssociateMemberToGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
47
27
|
})(AssociateMemberToGroupResponse || (AssociateMemberToGroupResponse = {}));
|
|
48
|
-
export var DirectoryServiceAuthenticationFailedException;
|
|
49
|
-
(function (DirectoryServiceAuthenticationFailedException) {
|
|
50
|
-
DirectoryServiceAuthenticationFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
51
|
-
})(DirectoryServiceAuthenticationFailedException || (DirectoryServiceAuthenticationFailedException = {}));
|
|
52
|
-
export var DirectoryUnavailableException;
|
|
53
|
-
(function (DirectoryUnavailableException) {
|
|
54
|
-
DirectoryUnavailableException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
55
|
-
})(DirectoryUnavailableException || (DirectoryUnavailableException = {}));
|
|
56
|
-
export var UnsupportedOperationException;
|
|
57
|
-
(function (UnsupportedOperationException) {
|
|
58
|
-
UnsupportedOperationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
59
|
-
})(UnsupportedOperationException || (UnsupportedOperationException = {}));
|
|
60
28
|
export var BookingOptions;
|
|
61
29
|
(function (BookingOptions) {
|
|
62
30
|
BookingOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -77,22 +45,6 @@ export var CreateAliasResponse;
|
|
|
77
45
|
(function (CreateAliasResponse) {
|
|
78
46
|
CreateAliasResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
47
|
})(CreateAliasResponse || (CreateAliasResponse = {}));
|
|
80
|
-
export var EmailAddressInUseException;
|
|
81
|
-
(function (EmailAddressInUseException) {
|
|
82
|
-
EmailAddressInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
-
})(EmailAddressInUseException || (EmailAddressInUseException = {}));
|
|
84
|
-
export var LimitExceededException;
|
|
85
|
-
(function (LimitExceededException) {
|
|
86
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
88
|
-
export var MailDomainNotFoundException;
|
|
89
|
-
(function (MailDomainNotFoundException) {
|
|
90
|
-
MailDomainNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
-
})(MailDomainNotFoundException || (MailDomainNotFoundException = {}));
|
|
92
|
-
export var MailDomainStateException;
|
|
93
|
-
(function (MailDomainStateException) {
|
|
94
|
-
MailDomainStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
|
-
})(MailDomainStateException || (MailDomainStateException = {}));
|
|
96
48
|
export var CreateGroupRequest;
|
|
97
49
|
(function (CreateGroupRequest) {
|
|
98
50
|
CreateGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -101,14 +53,6 @@ export var CreateGroupResponse;
|
|
|
101
53
|
(function (CreateGroupResponse) {
|
|
102
54
|
CreateGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
55
|
})(CreateGroupResponse || (CreateGroupResponse = {}));
|
|
104
|
-
export var NameAvailabilityException;
|
|
105
|
-
(function (NameAvailabilityException) {
|
|
106
|
-
NameAvailabilityException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
107
|
-
})(NameAvailabilityException || (NameAvailabilityException = {}));
|
|
108
|
-
export var ReservedNameException;
|
|
109
|
-
(function (ReservedNameException) {
|
|
110
|
-
ReservedNameException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
|
-
})(ReservedNameException || (ReservedNameException = {}));
|
|
112
56
|
export var MobileDeviceAccessRuleEffect;
|
|
113
57
|
(function (MobileDeviceAccessRuleEffect) {
|
|
114
58
|
MobileDeviceAccessRuleEffect["ALLOW"] = "ALLOW";
|
|
@@ -134,10 +78,6 @@ export var CreateOrganizationResponse;
|
|
|
134
78
|
(function (CreateOrganizationResponse) {
|
|
135
79
|
CreateOrganizationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
80
|
})(CreateOrganizationResponse || (CreateOrganizationResponse = {}));
|
|
137
|
-
export var DirectoryInUseException;
|
|
138
|
-
(function (DirectoryInUseException) {
|
|
139
|
-
DirectoryInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
-
})(DirectoryInUseException || (DirectoryInUseException = {}));
|
|
141
81
|
export var ResourceType;
|
|
142
82
|
(function (ResourceType) {
|
|
143
83
|
ResourceType["EQUIPMENT"] = "EQUIPMENT";
|
|
@@ -159,10 +99,6 @@ export var CreateUserResponse;
|
|
|
159
99
|
(function (CreateUserResponse) {
|
|
160
100
|
CreateUserResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
101
|
})(CreateUserResponse || (CreateUserResponse = {}));
|
|
162
|
-
export var InvalidPasswordException;
|
|
163
|
-
(function (InvalidPasswordException) {
|
|
164
|
-
InvalidPasswordException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
-
})(InvalidPasswordException || (InvalidPasswordException = {}));
|
|
166
102
|
export var MemberType;
|
|
167
103
|
(function (MemberType) {
|
|
168
104
|
MemberType["GROUP"] = "GROUP";
|
|
@@ -188,6 +124,14 @@ export var DeleteAliasResponse;
|
|
|
188
124
|
(function (DeleteAliasResponse) {
|
|
189
125
|
DeleteAliasResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
126
|
})(DeleteAliasResponse || (DeleteAliasResponse = {}));
|
|
127
|
+
export var DeleteEmailMonitoringConfigurationRequest;
|
|
128
|
+
(function (DeleteEmailMonitoringConfigurationRequest) {
|
|
129
|
+
DeleteEmailMonitoringConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
|
+
})(DeleteEmailMonitoringConfigurationRequest || (DeleteEmailMonitoringConfigurationRequest = {}));
|
|
131
|
+
export var DeleteEmailMonitoringConfigurationResponse;
|
|
132
|
+
(function (DeleteEmailMonitoringConfigurationResponse) {
|
|
133
|
+
DeleteEmailMonitoringConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
|
+
})(DeleteEmailMonitoringConfigurationResponse || (DeleteEmailMonitoringConfigurationResponse = {}));
|
|
191
135
|
export var DeleteGroupRequest;
|
|
192
136
|
(function (DeleteGroupRequest) {
|
|
193
137
|
DeleteGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -268,14 +212,14 @@ export var DeregisterMailDomainResponse;
|
|
|
268
212
|
(function (DeregisterMailDomainResponse) {
|
|
269
213
|
DeregisterMailDomainResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
270
214
|
})(DeregisterMailDomainResponse || (DeregisterMailDomainResponse = {}));
|
|
271
|
-
export var
|
|
272
|
-
(function (
|
|
273
|
-
|
|
274
|
-
})(
|
|
275
|
-
export var
|
|
276
|
-
(function (
|
|
277
|
-
|
|
278
|
-
})(
|
|
215
|
+
export var DescribeEmailMonitoringConfigurationRequest;
|
|
216
|
+
(function (DescribeEmailMonitoringConfigurationRequest) {
|
|
217
|
+
DescribeEmailMonitoringConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
+
})(DescribeEmailMonitoringConfigurationRequest || (DescribeEmailMonitoringConfigurationRequest = {}));
|
|
219
|
+
export var DescribeEmailMonitoringConfigurationResponse;
|
|
220
|
+
(function (DescribeEmailMonitoringConfigurationResponse) {
|
|
221
|
+
DescribeEmailMonitoringConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
})(DescribeEmailMonitoringConfigurationResponse || (DescribeEmailMonitoringConfigurationResponse = {}));
|
|
279
223
|
export var DescribeGroupRequest;
|
|
280
224
|
(function (DescribeGroupRequest) {
|
|
281
225
|
DescribeGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -369,10 +313,6 @@ export var DnsRecordVerificationStatus;
|
|
|
369
313
|
DnsRecordVerificationStatus["PENDING"] = "PENDING";
|
|
370
314
|
DnsRecordVerificationStatus["VERIFIED"] = "VERIFIED";
|
|
371
315
|
})(DnsRecordVerificationStatus || (DnsRecordVerificationStatus = {}));
|
|
372
|
-
export var EntityAlreadyRegisteredException;
|
|
373
|
-
(function (EntityAlreadyRegisteredException) {
|
|
374
|
-
EntityAlreadyRegisteredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
375
|
-
})(EntityAlreadyRegisteredException || (EntityAlreadyRegisteredException = {}));
|
|
376
316
|
export var RetentionAction;
|
|
377
317
|
(function (RetentionAction) {
|
|
378
318
|
RetentionAction["DELETE"] = "DELETE";
|
|
@@ -443,18 +383,10 @@ export var GetMobileDeviceAccessOverrideResponse;
|
|
|
443
383
|
(function (GetMobileDeviceAccessOverrideResponse) {
|
|
444
384
|
GetMobileDeviceAccessOverrideResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
445
385
|
})(GetMobileDeviceAccessOverrideResponse || (GetMobileDeviceAccessOverrideResponse = {}));
|
|
446
|
-
export var ResourceNotFoundException;
|
|
447
|
-
(function (ResourceNotFoundException) {
|
|
448
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
449
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
450
386
|
export var Group;
|
|
451
387
|
(function (Group) {
|
|
452
388
|
Group.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
453
389
|
})(Group || (Group = {}));
|
|
454
|
-
export var InvalidConfigurationException;
|
|
455
|
-
(function (InvalidConfigurationException) {
|
|
456
|
-
InvalidConfigurationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
457
|
-
})(InvalidConfigurationException || (InvalidConfigurationException = {}));
|
|
458
390
|
export var MailboxExportJob;
|
|
459
391
|
(function (MailboxExportJob) {
|
|
460
392
|
MailboxExportJob.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -621,6 +553,14 @@ export var PutAccessControlRuleResponse;
|
|
|
621
553
|
(function (PutAccessControlRuleResponse) {
|
|
622
554
|
PutAccessControlRuleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
623
555
|
})(PutAccessControlRuleResponse || (PutAccessControlRuleResponse = {}));
|
|
556
|
+
export var PutEmailMonitoringConfigurationRequest;
|
|
557
|
+
(function (PutEmailMonitoringConfigurationRequest) {
|
|
558
|
+
PutEmailMonitoringConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
559
|
+
})(PutEmailMonitoringConfigurationRequest || (PutEmailMonitoringConfigurationRequest = {}));
|
|
560
|
+
export var PutEmailMonitoringConfigurationResponse;
|
|
561
|
+
(function (PutEmailMonitoringConfigurationResponse) {
|
|
562
|
+
PutEmailMonitoringConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
563
|
+
})(PutEmailMonitoringConfigurationResponse || (PutEmailMonitoringConfigurationResponse = {}));
|
|
624
564
|
export var PutInboundDmarcSettingsRequest;
|
|
625
565
|
(function (PutInboundDmarcSettingsRequest) {
|
|
626
566
|
PutInboundDmarcSettingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -693,10 +633,6 @@ export var TagResourceResponse;
|
|
|
693
633
|
(function (TagResourceResponse) {
|
|
694
634
|
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
695
635
|
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
696
|
-
export var TooManyTagsException;
|
|
697
|
-
(function (TooManyTagsException) {
|
|
698
|
-
TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
699
|
-
})(TooManyTagsException || (TooManyTagsException = {}));
|
|
700
636
|
export var UntagResourceRequest;
|
|
701
637
|
(function (UntagResourceRequest) {
|
|
702
638
|
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -123,6 +123,17 @@ export var serializeAws_json1_1DeleteAliasCommand = function (input, context) {
|
|
|
123
123
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
124
124
|
});
|
|
125
125
|
}); };
|
|
126
|
+
export var serializeAws_json1_1DeleteEmailMonitoringConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
127
|
+
var headers, body;
|
|
128
|
+
return __generator(this, function (_a) {
|
|
129
|
+
headers = {
|
|
130
|
+
"content-type": "application/x-amz-json-1.1",
|
|
131
|
+
"x-amz-target": "WorkMailService.DeleteEmailMonitoringConfiguration",
|
|
132
|
+
};
|
|
133
|
+
body = JSON.stringify(serializeAws_json1_1DeleteEmailMonitoringConfigurationRequest(input, context));
|
|
134
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
135
|
+
});
|
|
136
|
+
}); };
|
|
126
137
|
export var serializeAws_json1_1DeleteGroupCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
127
138
|
var headers, body;
|
|
128
139
|
return __generator(this, function (_a) {
|
|
@@ -233,6 +244,17 @@ export var serializeAws_json1_1DeregisterMailDomainCommand = function (input, co
|
|
|
233
244
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
234
245
|
});
|
|
235
246
|
}); };
|
|
247
|
+
export var serializeAws_json1_1DescribeEmailMonitoringConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
248
|
+
var headers, body;
|
|
249
|
+
return __generator(this, function (_a) {
|
|
250
|
+
headers = {
|
|
251
|
+
"content-type": "application/x-amz-json-1.1",
|
|
252
|
+
"x-amz-target": "WorkMailService.DescribeEmailMonitoringConfiguration",
|
|
253
|
+
};
|
|
254
|
+
body = JSON.stringify(serializeAws_json1_1DescribeEmailMonitoringConfigurationRequest(input, context));
|
|
255
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
256
|
+
});
|
|
257
|
+
}); };
|
|
236
258
|
export var serializeAws_json1_1DescribeGroupCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
237
259
|
var headers, body;
|
|
238
260
|
return __generator(this, function (_a) {
|
|
@@ -552,6 +574,17 @@ export var serializeAws_json1_1PutAccessControlRuleCommand = function (input, co
|
|
|
552
574
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
553
575
|
});
|
|
554
576
|
}); };
|
|
577
|
+
export var serializeAws_json1_1PutEmailMonitoringConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
578
|
+
var headers, body;
|
|
579
|
+
return __generator(this, function (_a) {
|
|
580
|
+
headers = {
|
|
581
|
+
"content-type": "application/x-amz-json-1.1",
|
|
582
|
+
"x-amz-target": "WorkMailService.PutEmailMonitoringConfiguration",
|
|
583
|
+
};
|
|
584
|
+
body = JSON.stringify(serializeAws_json1_1PutEmailMonitoringConfigurationRequest(input, context));
|
|
585
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
586
|
+
});
|
|
587
|
+
}); };
|
|
555
588
|
export var serializeAws_json1_1PutInboundDmarcSettingsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
556
589
|
var headers, body;
|
|
557
590
|
return __generator(this, function (_a) {
|
|
@@ -1773,6 +1806,78 @@ var deserializeAws_json1_1DeleteAliasCommandError = function (output, context) {
|
|
|
1773
1806
|
}
|
|
1774
1807
|
});
|
|
1775
1808
|
}); };
|
|
1809
|
+
export var deserializeAws_json1_1DeleteEmailMonitoringConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1810
|
+
var data, contents, response;
|
|
1811
|
+
return __generator(this, function (_a) {
|
|
1812
|
+
switch (_a.label) {
|
|
1813
|
+
case 0:
|
|
1814
|
+
if (output.statusCode >= 300) {
|
|
1815
|
+
return [2, deserializeAws_json1_1DeleteEmailMonitoringConfigurationCommandError(output, context)];
|
|
1816
|
+
}
|
|
1817
|
+
return [4, parseBody(output.body, context)];
|
|
1818
|
+
case 1:
|
|
1819
|
+
data = _a.sent();
|
|
1820
|
+
contents = {};
|
|
1821
|
+
contents = deserializeAws_json1_1DeleteEmailMonitoringConfigurationResponse(data, context);
|
|
1822
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1823
|
+
return [2, Promise.resolve(response)];
|
|
1824
|
+
}
|
|
1825
|
+
});
|
|
1826
|
+
}); };
|
|
1827
|
+
var deserializeAws_json1_1DeleteEmailMonitoringConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1828
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message;
|
|
1829
|
+
var _f;
|
|
1830
|
+
return __generator(this, function (_g) {
|
|
1831
|
+
switch (_g.label) {
|
|
1832
|
+
case 0:
|
|
1833
|
+
_a = [__assign({}, output)];
|
|
1834
|
+
_f = {};
|
|
1835
|
+
return [4, parseBody(output.body, context)];
|
|
1836
|
+
case 1:
|
|
1837
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1838
|
+
errorCode = "UnknownError";
|
|
1839
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1840
|
+
_b = errorCode;
|
|
1841
|
+
switch (_b) {
|
|
1842
|
+
case "InvalidParameterException": return [3, 2];
|
|
1843
|
+
case "com.amazonaws.workmail#InvalidParameterException": return [3, 2];
|
|
1844
|
+
case "OrganizationNotFoundException": return [3, 4];
|
|
1845
|
+
case "com.amazonaws.workmail#OrganizationNotFoundException": return [3, 4];
|
|
1846
|
+
case "OrganizationStateException": return [3, 6];
|
|
1847
|
+
case "com.amazonaws.workmail#OrganizationStateException": return [3, 6];
|
|
1848
|
+
}
|
|
1849
|
+
return [3, 8];
|
|
1850
|
+
case 2:
|
|
1851
|
+
_c = [{}];
|
|
1852
|
+
return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
1853
|
+
case 3:
|
|
1854
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1855
|
+
return [3, 9];
|
|
1856
|
+
case 4:
|
|
1857
|
+
_d = [{}];
|
|
1858
|
+
return [4, deserializeAws_json1_1OrganizationNotFoundExceptionResponse(parsedOutput, context)];
|
|
1859
|
+
case 5:
|
|
1860
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1861
|
+
return [3, 9];
|
|
1862
|
+
case 6:
|
|
1863
|
+
_e = [{}];
|
|
1864
|
+
return [4, deserializeAws_json1_1OrganizationStateExceptionResponse(parsedOutput, context)];
|
|
1865
|
+
case 7:
|
|
1866
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1867
|
+
return [3, 9];
|
|
1868
|
+
case 8:
|
|
1869
|
+
parsedBody = parsedOutput.body;
|
|
1870
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1871
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
1872
|
+
_g.label = 9;
|
|
1873
|
+
case 9:
|
|
1874
|
+
message = response.message || response.Message || errorCode;
|
|
1875
|
+
response.message = message;
|
|
1876
|
+
delete response.Message;
|
|
1877
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1878
|
+
}
|
|
1879
|
+
});
|
|
1880
|
+
}); };
|
|
1776
1881
|
export var deserializeAws_json1_1DeleteGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1777
1882
|
var data, contents, response;
|
|
1778
1883
|
return __generator(this, function (_a) {
|
|
@@ -2621,6 +2726,86 @@ var deserializeAws_json1_1DeregisterMailDomainCommandError = function (output, c
|
|
|
2621
2726
|
}
|
|
2622
2727
|
});
|
|
2623
2728
|
}); };
|
|
2729
|
+
export var deserializeAws_json1_1DescribeEmailMonitoringConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2730
|
+
var data, contents, response;
|
|
2731
|
+
return __generator(this, function (_a) {
|
|
2732
|
+
switch (_a.label) {
|
|
2733
|
+
case 0:
|
|
2734
|
+
if (output.statusCode >= 300) {
|
|
2735
|
+
return [2, deserializeAws_json1_1DescribeEmailMonitoringConfigurationCommandError(output, context)];
|
|
2736
|
+
}
|
|
2737
|
+
return [4, parseBody(output.body, context)];
|
|
2738
|
+
case 1:
|
|
2739
|
+
data = _a.sent();
|
|
2740
|
+
contents = {};
|
|
2741
|
+
contents = deserializeAws_json1_1DescribeEmailMonitoringConfigurationResponse(data, context);
|
|
2742
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2743
|
+
return [2, Promise.resolve(response)];
|
|
2744
|
+
}
|
|
2745
|
+
});
|
|
2746
|
+
}); };
|
|
2747
|
+
var deserializeAws_json1_1DescribeEmailMonitoringConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2748
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
|
|
2749
|
+
var _g;
|
|
2750
|
+
return __generator(this, function (_h) {
|
|
2751
|
+
switch (_h.label) {
|
|
2752
|
+
case 0:
|
|
2753
|
+
_a = [__assign({}, output)];
|
|
2754
|
+
_g = {};
|
|
2755
|
+
return [4, parseBody(output.body, context)];
|
|
2756
|
+
case 1:
|
|
2757
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
2758
|
+
errorCode = "UnknownError";
|
|
2759
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2760
|
+
_b = errorCode;
|
|
2761
|
+
switch (_b) {
|
|
2762
|
+
case "InvalidParameterException": return [3, 2];
|
|
2763
|
+
case "com.amazonaws.workmail#InvalidParameterException": return [3, 2];
|
|
2764
|
+
case "OrganizationNotFoundException": return [3, 4];
|
|
2765
|
+
case "com.amazonaws.workmail#OrganizationNotFoundException": return [3, 4];
|
|
2766
|
+
case "OrganizationStateException": return [3, 6];
|
|
2767
|
+
case "com.amazonaws.workmail#OrganizationStateException": return [3, 6];
|
|
2768
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
2769
|
+
case "com.amazonaws.workmail#ResourceNotFoundException": return [3, 8];
|
|
2770
|
+
}
|
|
2771
|
+
return [3, 10];
|
|
2772
|
+
case 2:
|
|
2773
|
+
_c = [{}];
|
|
2774
|
+
return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
2775
|
+
case 3:
|
|
2776
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2777
|
+
return [3, 11];
|
|
2778
|
+
case 4:
|
|
2779
|
+
_d = [{}];
|
|
2780
|
+
return [4, deserializeAws_json1_1OrganizationNotFoundExceptionResponse(parsedOutput, context)];
|
|
2781
|
+
case 5:
|
|
2782
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2783
|
+
return [3, 11];
|
|
2784
|
+
case 6:
|
|
2785
|
+
_e = [{}];
|
|
2786
|
+
return [4, deserializeAws_json1_1OrganizationStateExceptionResponse(parsedOutput, context)];
|
|
2787
|
+
case 7:
|
|
2788
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2789
|
+
return [3, 11];
|
|
2790
|
+
case 8:
|
|
2791
|
+
_f = [{}];
|
|
2792
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2793
|
+
case 9:
|
|
2794
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2795
|
+
return [3, 11];
|
|
2796
|
+
case 10:
|
|
2797
|
+
parsedBody = parsedOutput.body;
|
|
2798
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2799
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2800
|
+
_h.label = 11;
|
|
2801
|
+
case 11:
|
|
2802
|
+
message = response.message || response.Message || errorCode;
|
|
2803
|
+
response.message = message;
|
|
2804
|
+
delete response.Message;
|
|
2805
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2806
|
+
}
|
|
2807
|
+
});
|
|
2808
|
+
}); };
|
|
2624
2809
|
export var deserializeAws_json1_1DescribeGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2625
2810
|
var data, contents, response;
|
|
2626
2811
|
return __generator(this, function (_a) {
|
|
@@ -4869,6 +5054,86 @@ var deserializeAws_json1_1PutAccessControlRuleCommandError = function (output, c
|
|
|
4869
5054
|
}
|
|
4870
5055
|
});
|
|
4871
5056
|
}); };
|
|
5057
|
+
export var deserializeAws_json1_1PutEmailMonitoringConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5058
|
+
var data, contents, response;
|
|
5059
|
+
return __generator(this, function (_a) {
|
|
5060
|
+
switch (_a.label) {
|
|
5061
|
+
case 0:
|
|
5062
|
+
if (output.statusCode >= 300) {
|
|
5063
|
+
return [2, deserializeAws_json1_1PutEmailMonitoringConfigurationCommandError(output, context)];
|
|
5064
|
+
}
|
|
5065
|
+
return [4, parseBody(output.body, context)];
|
|
5066
|
+
case 1:
|
|
5067
|
+
data = _a.sent();
|
|
5068
|
+
contents = {};
|
|
5069
|
+
contents = deserializeAws_json1_1PutEmailMonitoringConfigurationResponse(data, context);
|
|
5070
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
5071
|
+
return [2, Promise.resolve(response)];
|
|
5072
|
+
}
|
|
5073
|
+
});
|
|
5074
|
+
}); };
|
|
5075
|
+
var deserializeAws_json1_1PutEmailMonitoringConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5076
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
|
|
5077
|
+
var _g;
|
|
5078
|
+
return __generator(this, function (_h) {
|
|
5079
|
+
switch (_h.label) {
|
|
5080
|
+
case 0:
|
|
5081
|
+
_a = [__assign({}, output)];
|
|
5082
|
+
_g = {};
|
|
5083
|
+
return [4, parseBody(output.body, context)];
|
|
5084
|
+
case 1:
|
|
5085
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
|
|
5086
|
+
errorCode = "UnknownError";
|
|
5087
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5088
|
+
_b = errorCode;
|
|
5089
|
+
switch (_b) {
|
|
5090
|
+
case "InvalidParameterException": return [3, 2];
|
|
5091
|
+
case "com.amazonaws.workmail#InvalidParameterException": return [3, 2];
|
|
5092
|
+
case "OrganizationNotFoundException": return [3, 4];
|
|
5093
|
+
case "com.amazonaws.workmail#OrganizationNotFoundException": return [3, 4];
|
|
5094
|
+
case "OrganizationStateException": return [3, 6];
|
|
5095
|
+
case "com.amazonaws.workmail#OrganizationStateException": return [3, 6];
|
|
5096
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
5097
|
+
case "com.amazonaws.workmail#ResourceNotFoundException": return [3, 8];
|
|
5098
|
+
}
|
|
5099
|
+
return [3, 10];
|
|
5100
|
+
case 2:
|
|
5101
|
+
_c = [{}];
|
|
5102
|
+
return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
5103
|
+
case 3:
|
|
5104
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
5105
|
+
return [3, 11];
|
|
5106
|
+
case 4:
|
|
5107
|
+
_d = [{}];
|
|
5108
|
+
return [4, deserializeAws_json1_1OrganizationNotFoundExceptionResponse(parsedOutput, context)];
|
|
5109
|
+
case 5:
|
|
5110
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
5111
|
+
return [3, 11];
|
|
5112
|
+
case 6:
|
|
5113
|
+
_e = [{}];
|
|
5114
|
+
return [4, deserializeAws_json1_1OrganizationStateExceptionResponse(parsedOutput, context)];
|
|
5115
|
+
case 7:
|
|
5116
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
5117
|
+
return [3, 11];
|
|
5118
|
+
case 8:
|
|
5119
|
+
_f = [{}];
|
|
5120
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
5121
|
+
case 9:
|
|
5122
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
5123
|
+
return [3, 11];
|
|
5124
|
+
case 10:
|
|
5125
|
+
parsedBody = parsedOutput.body;
|
|
5126
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
5127
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
5128
|
+
_h.label = 11;
|
|
5129
|
+
case 11:
|
|
5130
|
+
message = response.message || response.Message || errorCode;
|
|
5131
|
+
response.message = message;
|
|
5132
|
+
delete response.Message;
|
|
5133
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
5134
|
+
}
|
|
5135
|
+
});
|
|
5136
|
+
}); };
|
|
4872
5137
|
export var deserializeAws_json1_1PutInboundDmarcSettingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4873
5138
|
var data, contents, response;
|
|
4874
5139
|
return __generator(this, function (_a) {
|
|
@@ -6557,6 +6822,10 @@ var serializeAws_json1_1DeleteAliasRequest = function (input, context) {
|
|
|
6557
6822
|
return __assign(__assign(__assign({}, (input.Alias !== undefined && input.Alias !== null && { Alias: input.Alias })), (input.EntityId !== undefined && input.EntityId !== null && { EntityId: input.EntityId })), (input.OrganizationId !== undefined &&
|
|
6558
6823
|
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6559
6824
|
};
|
|
6825
|
+
var serializeAws_json1_1DeleteEmailMonitoringConfigurationRequest = function (input, context) {
|
|
6826
|
+
return __assign({}, (input.OrganizationId !== undefined &&
|
|
6827
|
+
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6828
|
+
};
|
|
6560
6829
|
var serializeAws_json1_1DeleteGroupRequest = function (input, context) {
|
|
6561
6830
|
return __assign(__assign({}, (input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId })), (input.OrganizationId !== undefined &&
|
|
6562
6831
|
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
@@ -6600,6 +6869,10 @@ var serializeAws_json1_1DeregisterMailDomainRequest = function (input, context)
|
|
|
6600
6869
|
return __assign(__assign({}, (input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName })), (input.OrganizationId !== undefined &&
|
|
6601
6870
|
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6602
6871
|
};
|
|
6872
|
+
var serializeAws_json1_1DescribeEmailMonitoringConfigurationRequest = function (input, context) {
|
|
6873
|
+
return __assign({}, (input.OrganizationId !== undefined &&
|
|
6874
|
+
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
6875
|
+
};
|
|
6603
6876
|
var serializeAws_json1_1DescribeGroupRequest = function (input, context) {
|
|
6604
6877
|
return __assign(__assign({}, (input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId })), (input.OrganizationId !== undefined &&
|
|
6605
6878
|
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
@@ -6808,6 +7081,10 @@ var serializeAws_json1_1PutAccessControlRuleRequest = function (input, context)
|
|
|
6808
7081
|
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.UserIds !== undefined &&
|
|
6809
7082
|
input.UserIds !== null && { UserIds: serializeAws_json1_1UserIdList(input.UserIds, context) }));
|
|
6810
7083
|
};
|
|
7084
|
+
var serializeAws_json1_1PutEmailMonitoringConfigurationRequest = function (input, context) {
|
|
7085
|
+
return __assign(__assign(__assign({}, (input.LogGroupArn !== undefined && input.LogGroupArn !== null && { LogGroupArn: input.LogGroupArn })), (input.OrganizationId !== undefined &&
|
|
7086
|
+
input.OrganizationId !== null && { OrganizationId: input.OrganizationId })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
7087
|
+
};
|
|
6811
7088
|
var serializeAws_json1_1PutInboundDmarcSettingsRequest = function (input, context) {
|
|
6812
7089
|
return __assign(__assign({}, (input.Enforced !== undefined && input.Enforced !== null && { Enforced: input.Enforced })), (input.OrganizationId !== undefined &&
|
|
6813
7090
|
input.OrganizationId !== null && { OrganizationId: input.OrganizationId }));
|
|
@@ -7061,6 +7338,9 @@ var deserializeAws_json1_1DeleteAccessControlRuleResponse = function (output, co
|
|
|
7061
7338
|
var deserializeAws_json1_1DeleteAliasResponse = function (output, context) {
|
|
7062
7339
|
return {};
|
|
7063
7340
|
};
|
|
7341
|
+
var deserializeAws_json1_1DeleteEmailMonitoringConfigurationResponse = function (output, context) {
|
|
7342
|
+
return {};
|
|
7343
|
+
};
|
|
7064
7344
|
var deserializeAws_json1_1DeleteGroupResponse = function (output, context) {
|
|
7065
7345
|
return {};
|
|
7066
7346
|
};
|
|
@@ -7094,6 +7374,12 @@ var deserializeAws_json1_1DeregisterFromWorkMailResponse = function (output, con
|
|
|
7094
7374
|
var deserializeAws_json1_1DeregisterMailDomainResponse = function (output, context) {
|
|
7095
7375
|
return {};
|
|
7096
7376
|
};
|
|
7377
|
+
var deserializeAws_json1_1DescribeEmailMonitoringConfigurationResponse = function (output, context) {
|
|
7378
|
+
return {
|
|
7379
|
+
LogGroupArn: __expectString(output.LogGroupArn),
|
|
7380
|
+
RoleArn: __expectString(output.RoleArn),
|
|
7381
|
+
};
|
|
7382
|
+
};
|
|
7097
7383
|
var deserializeAws_json1_1DescribeGroupResponse = function (output, context) {
|
|
7098
7384
|
return {
|
|
7099
7385
|
DisabledDate: output.DisabledDate !== undefined && output.DisabledDate !== null
|
|
@@ -7756,6 +8042,9 @@ var deserializeAws_json1_1PermissionValues = function (output, context) {
|
|
|
7756
8042
|
var deserializeAws_json1_1PutAccessControlRuleResponse = function (output, context) {
|
|
7757
8043
|
return {};
|
|
7758
8044
|
};
|
|
8045
|
+
var deserializeAws_json1_1PutEmailMonitoringConfigurationResponse = function (output, context) {
|
|
8046
|
+
return {};
|
|
8047
|
+
};
|
|
7759
8048
|
var deserializeAws_json1_1PutInboundDmarcSettingsResponse = function (output, context) {
|
|
7760
8049
|
return {};
|
|
7761
8050
|
};
|