@aws-sdk/client-workmail 3.42.0 → 3.47.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 +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 +38 -45
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
package/dist-types/WorkMail.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { CreateResourceCommandInput, CreateResourceCommandOutput } from "./comma
|
|
|
10
10
|
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
11
11
|
import { DeleteAccessControlRuleCommandInput, DeleteAccessControlRuleCommandOutput } from "./commands/DeleteAccessControlRuleCommand";
|
|
12
12
|
import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
|
|
13
|
+
import { DeleteEmailMonitoringConfigurationCommandInput, DeleteEmailMonitoringConfigurationCommandOutput } from "./commands/DeleteEmailMonitoringConfigurationCommand";
|
|
13
14
|
import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
|
|
14
15
|
import { DeleteMailboxPermissionsCommandInput, DeleteMailboxPermissionsCommandOutput } from "./commands/DeleteMailboxPermissionsCommand";
|
|
15
16
|
import { DeleteMobileDeviceAccessOverrideCommandInput, DeleteMobileDeviceAccessOverrideCommandOutput } from "./commands/DeleteMobileDeviceAccessOverrideCommand";
|
|
@@ -20,6 +21,7 @@ import { DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput }
|
|
|
20
21
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
21
22
|
import { DeregisterFromWorkMailCommandInput, DeregisterFromWorkMailCommandOutput } from "./commands/DeregisterFromWorkMailCommand";
|
|
22
23
|
import { DeregisterMailDomainCommandInput, DeregisterMailDomainCommandOutput } from "./commands/DeregisterMailDomainCommand";
|
|
24
|
+
import { DescribeEmailMonitoringConfigurationCommandInput, DescribeEmailMonitoringConfigurationCommandOutput } from "./commands/DescribeEmailMonitoringConfigurationCommand";
|
|
23
25
|
import { DescribeGroupCommandInput, DescribeGroupCommandOutput } from "./commands/DescribeGroupCommand";
|
|
24
26
|
import { DescribeInboundDmarcSettingsCommandInput, DescribeInboundDmarcSettingsCommandOutput } from "./commands/DescribeInboundDmarcSettingsCommand";
|
|
25
27
|
import { DescribeMailboxExportJobCommandInput, DescribeMailboxExportJobCommandOutput } from "./commands/DescribeMailboxExportJobCommand";
|
|
@@ -49,6 +51,7 @@ import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./command
|
|
|
49
51
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
50
52
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
51
53
|
import { PutAccessControlRuleCommandInput, PutAccessControlRuleCommandOutput } from "./commands/PutAccessControlRuleCommand";
|
|
54
|
+
import { PutEmailMonitoringConfigurationCommandInput, PutEmailMonitoringConfigurationCommandOutput } from "./commands/PutEmailMonitoringConfigurationCommand";
|
|
52
55
|
import { PutInboundDmarcSettingsCommandInput, PutInboundDmarcSettingsCommandOutput } from "./commands/PutInboundDmarcSettingsCommand";
|
|
53
56
|
import { PutMailboxPermissionsCommandInput, PutMailboxPermissionsCommandOutput } from "./commands/PutMailboxPermissionsCommand";
|
|
54
57
|
import { PutMobileDeviceAccessOverrideCommandInput, PutMobileDeviceAccessOverrideCommandOutput } from "./commands/PutMobileDeviceAccessOverrideCommand";
|
|
@@ -182,6 +185,12 @@ export declare class WorkMail extends WorkMailClient {
|
|
|
182
185
|
deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAliasCommandOutput>;
|
|
183
186
|
deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
|
|
184
187
|
deleteAlias(args: DeleteAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
|
|
188
|
+
/**
|
|
189
|
+
* <p>Deletes the email monitoring configuration for a specified organization.</p>
|
|
190
|
+
*/
|
|
191
|
+
deleteEmailMonitoringConfiguration(args: DeleteEmailMonitoringConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEmailMonitoringConfigurationCommandOutput>;
|
|
192
|
+
deleteEmailMonitoringConfiguration(args: DeleteEmailMonitoringConfigurationCommandInput, cb: (err: any, data?: DeleteEmailMonitoringConfigurationCommandOutput) => void): void;
|
|
193
|
+
deleteEmailMonitoringConfiguration(args: DeleteEmailMonitoringConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEmailMonitoringConfigurationCommandOutput) => void): void;
|
|
185
194
|
/**
|
|
186
195
|
* <p>Deletes a group from Amazon WorkMail.</p>
|
|
187
196
|
*/
|
|
@@ -256,6 +265,12 @@ export declare class WorkMail extends WorkMailClient {
|
|
|
256
265
|
deregisterMailDomain(args: DeregisterMailDomainCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterMailDomainCommandOutput>;
|
|
257
266
|
deregisterMailDomain(args: DeregisterMailDomainCommandInput, cb: (err: any, data?: DeregisterMailDomainCommandOutput) => void): void;
|
|
258
267
|
deregisterMailDomain(args: DeregisterMailDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterMailDomainCommandOutput) => void): void;
|
|
268
|
+
/**
|
|
269
|
+
* <p>Describes the current email monitoring configuration for a specified organization.</p>
|
|
270
|
+
*/
|
|
271
|
+
describeEmailMonitoringConfiguration(args: DescribeEmailMonitoringConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEmailMonitoringConfigurationCommandOutput>;
|
|
272
|
+
describeEmailMonitoringConfiguration(args: DescribeEmailMonitoringConfigurationCommandInput, cb: (err: any, data?: DescribeEmailMonitoringConfigurationCommandOutput) => void): void;
|
|
273
|
+
describeEmailMonitoringConfiguration(args: DescribeEmailMonitoringConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEmailMonitoringConfigurationCommandOutput) => void): void;
|
|
259
274
|
/**
|
|
260
275
|
* <p>Returns the data available for the group.</p>
|
|
261
276
|
*/
|
|
@@ -441,6 +456,12 @@ export declare class WorkMail extends WorkMailClient {
|
|
|
441
456
|
putAccessControlRule(args: PutAccessControlRuleCommandInput, options?: __HttpHandlerOptions): Promise<PutAccessControlRuleCommandOutput>;
|
|
442
457
|
putAccessControlRule(args: PutAccessControlRuleCommandInput, cb: (err: any, data?: PutAccessControlRuleCommandOutput) => void): void;
|
|
443
458
|
putAccessControlRule(args: PutAccessControlRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccessControlRuleCommandOutput) => void): void;
|
|
459
|
+
/**
|
|
460
|
+
* <p>Creates or updates the email monitoring configuration for a specified organization.</p>
|
|
461
|
+
*/
|
|
462
|
+
putEmailMonitoringConfiguration(args: PutEmailMonitoringConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutEmailMonitoringConfigurationCommandOutput>;
|
|
463
|
+
putEmailMonitoringConfiguration(args: PutEmailMonitoringConfigurationCommandInput, cb: (err: any, data?: PutEmailMonitoringConfigurationCommandOutput) => void): void;
|
|
464
|
+
putEmailMonitoringConfiguration(args: PutEmailMonitoringConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEmailMonitoringConfigurationCommandOutput) => void): void;
|
|
444
465
|
/**
|
|
445
466
|
* <p>Enables or disables a DMARC policy for a given organization.</p>
|
|
446
467
|
*/
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateDelegateToResourceCommandInput, AssociateDelegateToResourceCommandOutput } from "./commands/AssociateDelegateToResourceCommand";
|
|
10
10
|
import { AssociateMemberToGroupCommandInput, AssociateMemberToGroupCommandOutput } from "./commands/AssociateMemberToGroupCommand";
|
|
@@ -17,6 +17,7 @@ import { CreateResourceCommandInput, CreateResourceCommandOutput } from "./comma
|
|
|
17
17
|
import { CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
18
18
|
import { DeleteAccessControlRuleCommandInput, DeleteAccessControlRuleCommandOutput } from "./commands/DeleteAccessControlRuleCommand";
|
|
19
19
|
import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
|
|
20
|
+
import { DeleteEmailMonitoringConfigurationCommandInput, DeleteEmailMonitoringConfigurationCommandOutput } from "./commands/DeleteEmailMonitoringConfigurationCommand";
|
|
20
21
|
import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
|
|
21
22
|
import { DeleteMailboxPermissionsCommandInput, DeleteMailboxPermissionsCommandOutput } from "./commands/DeleteMailboxPermissionsCommand";
|
|
22
23
|
import { DeleteMobileDeviceAccessOverrideCommandInput, DeleteMobileDeviceAccessOverrideCommandOutput } from "./commands/DeleteMobileDeviceAccessOverrideCommand";
|
|
@@ -27,6 +28,7 @@ import { DeleteRetentionPolicyCommandInput, DeleteRetentionPolicyCommandOutput }
|
|
|
27
28
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
28
29
|
import { DeregisterFromWorkMailCommandInput, DeregisterFromWorkMailCommandOutput } from "./commands/DeregisterFromWorkMailCommand";
|
|
29
30
|
import { DeregisterMailDomainCommandInput, DeregisterMailDomainCommandOutput } from "./commands/DeregisterMailDomainCommand";
|
|
31
|
+
import { DescribeEmailMonitoringConfigurationCommandInput, DescribeEmailMonitoringConfigurationCommandOutput } from "./commands/DescribeEmailMonitoringConfigurationCommand";
|
|
30
32
|
import { DescribeGroupCommandInput, DescribeGroupCommandOutput } from "./commands/DescribeGroupCommand";
|
|
31
33
|
import { DescribeInboundDmarcSettingsCommandInput, DescribeInboundDmarcSettingsCommandOutput } from "./commands/DescribeInboundDmarcSettingsCommand";
|
|
32
34
|
import { DescribeMailboxExportJobCommandInput, DescribeMailboxExportJobCommandOutput } from "./commands/DescribeMailboxExportJobCommand";
|
|
@@ -56,6 +58,7 @@ import { ListResourcesCommandInput, ListResourcesCommandOutput } from "./command
|
|
|
56
58
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
57
59
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
58
60
|
import { PutAccessControlRuleCommandInput, PutAccessControlRuleCommandOutput } from "./commands/PutAccessControlRuleCommand";
|
|
61
|
+
import { PutEmailMonitoringConfigurationCommandInput, PutEmailMonitoringConfigurationCommandOutput } from "./commands/PutEmailMonitoringConfigurationCommand";
|
|
59
62
|
import { PutInboundDmarcSettingsCommandInput, PutInboundDmarcSettingsCommandOutput } from "./commands/PutInboundDmarcSettingsCommand";
|
|
60
63
|
import { PutMailboxPermissionsCommandInput, PutMailboxPermissionsCommandOutput } from "./commands/PutMailboxPermissionsCommand";
|
|
61
64
|
import { PutMobileDeviceAccessOverrideCommandInput, PutMobileDeviceAccessOverrideCommandOutput } from "./commands/PutMobileDeviceAccessOverrideCommand";
|
|
@@ -71,8 +74,8 @@ import { UpdateMailboxQuotaCommandInput, UpdateMailboxQuotaCommandOutput } from
|
|
|
71
74
|
import { UpdateMobileDeviceAccessRuleCommandInput, UpdateMobileDeviceAccessRuleCommandOutput } from "./commands/UpdateMobileDeviceAccessRuleCommand";
|
|
72
75
|
import { UpdatePrimaryEmailAddressCommandInput, UpdatePrimaryEmailAddressCommandOutput } from "./commands/UpdatePrimaryEmailAddressCommand";
|
|
73
76
|
import { UpdateResourceCommandInput, UpdateResourceCommandOutput } from "./commands/UpdateResourceCommand";
|
|
74
|
-
export declare type ServiceInputTypes = AssociateDelegateToResourceCommandInput | AssociateMemberToGroupCommandInput | CancelMailboxExportJobCommandInput | CreateAliasCommandInput | CreateGroupCommandInput | CreateMobileDeviceAccessRuleCommandInput | CreateOrganizationCommandInput | CreateResourceCommandInput | CreateUserCommandInput | DeleteAccessControlRuleCommandInput | DeleteAliasCommandInput | DeleteGroupCommandInput | DeleteMailboxPermissionsCommandInput | DeleteMobileDeviceAccessOverrideCommandInput | DeleteMobileDeviceAccessRuleCommandInput | DeleteOrganizationCommandInput | DeleteResourceCommandInput | DeleteRetentionPolicyCommandInput | DeleteUserCommandInput | DeregisterFromWorkMailCommandInput | DeregisterMailDomainCommandInput | DescribeGroupCommandInput | DescribeInboundDmarcSettingsCommandInput | DescribeMailboxExportJobCommandInput | DescribeOrganizationCommandInput | DescribeResourceCommandInput | DescribeUserCommandInput | DisassociateDelegateFromResourceCommandInput | DisassociateMemberFromGroupCommandInput | GetAccessControlEffectCommandInput | GetDefaultRetentionPolicyCommandInput | GetMailDomainCommandInput | GetMailboxDetailsCommandInput | GetMobileDeviceAccessEffectCommandInput | GetMobileDeviceAccessOverrideCommandInput | ListAccessControlRulesCommandInput | ListAliasesCommandInput | ListGroupMembersCommandInput | ListGroupsCommandInput | ListMailDomainsCommandInput | ListMailboxExportJobsCommandInput | ListMailboxPermissionsCommandInput | ListMobileDeviceAccessOverridesCommandInput | ListMobileDeviceAccessRulesCommandInput | ListOrganizationsCommandInput | ListResourceDelegatesCommandInput | ListResourcesCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | PutAccessControlRuleCommandInput | PutInboundDmarcSettingsCommandInput | PutMailboxPermissionsCommandInput | PutMobileDeviceAccessOverrideCommandInput | PutRetentionPolicyCommandInput | RegisterMailDomainCommandInput | RegisterToWorkMailCommandInput | ResetPasswordCommandInput | StartMailboxExportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDefaultMailDomainCommandInput | UpdateMailboxQuotaCommandInput | UpdateMobileDeviceAccessRuleCommandInput | UpdatePrimaryEmailAddressCommandInput | UpdateResourceCommandInput;
|
|
75
|
-
export declare type ServiceOutputTypes = AssociateDelegateToResourceCommandOutput | AssociateMemberToGroupCommandOutput | CancelMailboxExportJobCommandOutput | CreateAliasCommandOutput | CreateGroupCommandOutput | CreateMobileDeviceAccessRuleCommandOutput | CreateOrganizationCommandOutput | CreateResourceCommandOutput | CreateUserCommandOutput | DeleteAccessControlRuleCommandOutput | DeleteAliasCommandOutput | DeleteGroupCommandOutput | DeleteMailboxPermissionsCommandOutput | DeleteMobileDeviceAccessOverrideCommandOutput | DeleteMobileDeviceAccessRuleCommandOutput | DeleteOrganizationCommandOutput | DeleteResourceCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteUserCommandOutput | DeregisterFromWorkMailCommandOutput | DeregisterMailDomainCommandOutput | DescribeGroupCommandOutput | DescribeInboundDmarcSettingsCommandOutput | DescribeMailboxExportJobCommandOutput | DescribeOrganizationCommandOutput | DescribeResourceCommandOutput | DescribeUserCommandOutput | DisassociateDelegateFromResourceCommandOutput | DisassociateMemberFromGroupCommandOutput | GetAccessControlEffectCommandOutput | GetDefaultRetentionPolicyCommandOutput | GetMailDomainCommandOutput | GetMailboxDetailsCommandOutput | GetMobileDeviceAccessEffectCommandOutput | GetMobileDeviceAccessOverrideCommandOutput | ListAccessControlRulesCommandOutput | ListAliasesCommandOutput | ListGroupMembersCommandOutput | ListGroupsCommandOutput | ListMailDomainsCommandOutput | ListMailboxExportJobsCommandOutput | ListMailboxPermissionsCommandOutput | ListMobileDeviceAccessOverridesCommandOutput | ListMobileDeviceAccessRulesCommandOutput | ListOrganizationsCommandOutput | ListResourceDelegatesCommandOutput | ListResourcesCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | PutAccessControlRuleCommandOutput | PutInboundDmarcSettingsCommandOutput | PutMailboxPermissionsCommandOutput | PutMobileDeviceAccessOverrideCommandOutput | PutRetentionPolicyCommandOutput | RegisterMailDomainCommandOutput | RegisterToWorkMailCommandOutput | ResetPasswordCommandOutput | StartMailboxExportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDefaultMailDomainCommandOutput | UpdateMailboxQuotaCommandOutput | UpdateMobileDeviceAccessRuleCommandOutput | UpdatePrimaryEmailAddressCommandOutput | UpdateResourceCommandOutput;
|
|
77
|
+
export declare type ServiceInputTypes = AssociateDelegateToResourceCommandInput | AssociateMemberToGroupCommandInput | CancelMailboxExportJobCommandInput | CreateAliasCommandInput | CreateGroupCommandInput | CreateMobileDeviceAccessRuleCommandInput | CreateOrganizationCommandInput | CreateResourceCommandInput | CreateUserCommandInput | DeleteAccessControlRuleCommandInput | DeleteAliasCommandInput | DeleteEmailMonitoringConfigurationCommandInput | DeleteGroupCommandInput | DeleteMailboxPermissionsCommandInput | DeleteMobileDeviceAccessOverrideCommandInput | DeleteMobileDeviceAccessRuleCommandInput | DeleteOrganizationCommandInput | DeleteResourceCommandInput | DeleteRetentionPolicyCommandInput | DeleteUserCommandInput | DeregisterFromWorkMailCommandInput | DeregisterMailDomainCommandInput | DescribeEmailMonitoringConfigurationCommandInput | DescribeGroupCommandInput | DescribeInboundDmarcSettingsCommandInput | DescribeMailboxExportJobCommandInput | DescribeOrganizationCommandInput | DescribeResourceCommandInput | DescribeUserCommandInput | DisassociateDelegateFromResourceCommandInput | DisassociateMemberFromGroupCommandInput | GetAccessControlEffectCommandInput | GetDefaultRetentionPolicyCommandInput | GetMailDomainCommandInput | GetMailboxDetailsCommandInput | GetMobileDeviceAccessEffectCommandInput | GetMobileDeviceAccessOverrideCommandInput | ListAccessControlRulesCommandInput | ListAliasesCommandInput | ListGroupMembersCommandInput | ListGroupsCommandInput | ListMailDomainsCommandInput | ListMailboxExportJobsCommandInput | ListMailboxPermissionsCommandInput | ListMobileDeviceAccessOverridesCommandInput | ListMobileDeviceAccessRulesCommandInput | ListOrganizationsCommandInput | ListResourceDelegatesCommandInput | ListResourcesCommandInput | ListTagsForResourceCommandInput | ListUsersCommandInput | PutAccessControlRuleCommandInput | PutEmailMonitoringConfigurationCommandInput | PutInboundDmarcSettingsCommandInput | PutMailboxPermissionsCommandInput | PutMobileDeviceAccessOverrideCommandInput | PutRetentionPolicyCommandInput | RegisterMailDomainCommandInput | RegisterToWorkMailCommandInput | ResetPasswordCommandInput | StartMailboxExportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDefaultMailDomainCommandInput | UpdateMailboxQuotaCommandInput | UpdateMobileDeviceAccessRuleCommandInput | UpdatePrimaryEmailAddressCommandInput | UpdateResourceCommandInput;
|
|
78
|
+
export declare type ServiceOutputTypes = AssociateDelegateToResourceCommandOutput | AssociateMemberToGroupCommandOutput | CancelMailboxExportJobCommandOutput | CreateAliasCommandOutput | CreateGroupCommandOutput | CreateMobileDeviceAccessRuleCommandOutput | CreateOrganizationCommandOutput | CreateResourceCommandOutput | CreateUserCommandOutput | DeleteAccessControlRuleCommandOutput | DeleteAliasCommandOutput | DeleteEmailMonitoringConfigurationCommandOutput | DeleteGroupCommandOutput | DeleteMailboxPermissionsCommandOutput | DeleteMobileDeviceAccessOverrideCommandOutput | DeleteMobileDeviceAccessRuleCommandOutput | DeleteOrganizationCommandOutput | DeleteResourceCommandOutput | DeleteRetentionPolicyCommandOutput | DeleteUserCommandOutput | DeregisterFromWorkMailCommandOutput | DeregisterMailDomainCommandOutput | DescribeEmailMonitoringConfigurationCommandOutput | DescribeGroupCommandOutput | DescribeInboundDmarcSettingsCommandOutput | DescribeMailboxExportJobCommandOutput | DescribeOrganizationCommandOutput | DescribeResourceCommandOutput | DescribeUserCommandOutput | DisassociateDelegateFromResourceCommandOutput | DisassociateMemberFromGroupCommandOutput | GetAccessControlEffectCommandOutput | GetDefaultRetentionPolicyCommandOutput | GetMailDomainCommandOutput | GetMailboxDetailsCommandOutput | GetMobileDeviceAccessEffectCommandOutput | GetMobileDeviceAccessOverrideCommandOutput | ListAccessControlRulesCommandOutput | ListAliasesCommandOutput | ListGroupMembersCommandOutput | ListGroupsCommandOutput | ListMailDomainsCommandOutput | ListMailboxExportJobsCommandOutput | ListMailboxPermissionsCommandOutput | ListMobileDeviceAccessOverridesCommandOutput | ListMobileDeviceAccessRulesCommandOutput | ListOrganizationsCommandOutput | ListResourceDelegatesCommandOutput | ListResourcesCommandOutput | ListTagsForResourceCommandOutput | ListUsersCommandOutput | PutAccessControlRuleCommandOutput | PutEmailMonitoringConfigurationCommandOutput | PutInboundDmarcSettingsCommandOutput | PutMailboxPermissionsCommandOutput | PutMobileDeviceAccessOverrideCommandOutput | PutRetentionPolicyCommandOutput | RegisterMailDomainCommandOutput | RegisterToWorkMailCommandOutput | ResetPasswordCommandOutput | StartMailboxExportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDefaultMailDomainCommandOutput | UpdateMailboxQuotaCommandOutput | UpdateMobileDeviceAccessRuleCommandOutput | UpdatePrimaryEmailAddressCommandOutput | UpdateResourceCommandOutput;
|
|
76
79
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
77
80
|
/**
|
|
78
81
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -173,6 +176,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
173
176
|
* @internal
|
|
174
177
|
*/
|
|
175
178
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
179
|
+
/**
|
|
180
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
181
|
+
*/
|
|
182
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
176
183
|
}
|
|
177
184
|
declare type WorkMailClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
178
185
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteEmailMonitoringConfigurationRequest, DeleteEmailMonitoringConfigurationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
5
|
+
export interface DeleteEmailMonitoringConfigurationCommandInput extends DeleteEmailMonitoringConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteEmailMonitoringConfigurationCommandOutput extends DeleteEmailMonitoringConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes the email monitoring configuration for a specified organization.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WorkMailClient, DeleteEmailMonitoringConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
15
|
+
* // const { WorkMailClient, DeleteEmailMonitoringConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
16
|
+
* const client = new WorkMailClient(config);
|
|
17
|
+
* const command = new DeleteEmailMonitoringConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteEmailMonitoringConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteEmailMonitoringConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteEmailMonitoringConfigurationCommand extends $Command<DeleteEmailMonitoringConfigurationCommandInput, DeleteEmailMonitoringConfigurationCommandOutput, WorkMailClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteEmailMonitoringConfigurationCommandInput;
|
|
28
|
+
constructor(input: DeleteEmailMonitoringConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEmailMonitoringConfigurationCommandInput, DeleteEmailMonitoringConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeEmailMonitoringConfigurationRequest, DescribeEmailMonitoringConfigurationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
5
|
+
export interface DescribeEmailMonitoringConfigurationCommandInput extends DescribeEmailMonitoringConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeEmailMonitoringConfigurationCommandOutput extends DescribeEmailMonitoringConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Describes the current email monitoring configuration for a specified organization.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WorkMailClient, DescribeEmailMonitoringConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
15
|
+
* // const { WorkMailClient, DescribeEmailMonitoringConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
16
|
+
* const client = new WorkMailClient(config);
|
|
17
|
+
* const command = new DescribeEmailMonitoringConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribeEmailMonitoringConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribeEmailMonitoringConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DescribeEmailMonitoringConfigurationCommand extends $Command<DescribeEmailMonitoringConfigurationCommandInput, DescribeEmailMonitoringConfigurationCommandOutput, WorkMailClientResolvedConfig> {
|
|
27
|
+
readonly input: DescribeEmailMonitoringConfigurationCommandInput;
|
|
28
|
+
constructor(input: DescribeEmailMonitoringConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEmailMonitoringConfigurationCommandInput, DescribeEmailMonitoringConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { PutEmailMonitoringConfigurationRequest, PutEmailMonitoringConfigurationResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
5
|
+
export interface PutEmailMonitoringConfigurationCommandInput extends PutEmailMonitoringConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PutEmailMonitoringConfigurationCommandOutput extends PutEmailMonitoringConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates or updates the email monitoring configuration for a specified organization.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { WorkMailClient, PutEmailMonitoringConfigurationCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
15
|
+
* // const { WorkMailClient, PutEmailMonitoringConfigurationCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
16
|
+
* const client = new WorkMailClient(config);
|
|
17
|
+
* const command = new PutEmailMonitoringConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link PutEmailMonitoringConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link PutEmailMonitoringConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class PutEmailMonitoringConfigurationCommand extends $Command<PutEmailMonitoringConfigurationCommandInput, PutEmailMonitoringConfigurationCommandOutput, WorkMailClientResolvedConfig> {
|
|
27
|
+
readonly input: PutEmailMonitoringConfigurationCommandInput;
|
|
28
|
+
constructor(input: PutEmailMonitoringConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutEmailMonitoringConfigurationCommandInput, PutEmailMonitoringConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -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";
|