@aws-sdk/client-workmail 3.183.0 → 3.185.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 +22 -0
- package/README.md +1 -1
- package/dist-cjs/WorkMail.js +105 -0
- package/dist-cjs/commands/AssumeImpersonationRoleCommand.js +36 -0
- package/dist-cjs/commands/CreateImpersonationRoleCommand.js +36 -0
- package/dist-cjs/commands/DeleteImpersonationRoleCommand.js +36 -0
- package/dist-cjs/commands/GetImpersonationRoleCommand.js +36 -0
- package/dist-cjs/commands/GetImpersonationRoleEffectCommand.js +36 -0
- package/dist-cjs/commands/ListImpersonationRolesCommand.js +36 -0
- package/dist-cjs/commands/UpdateImpersonationRoleCommand.js +36 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +97 -19
- package/dist-cjs/pagination/ListImpersonationRolesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +628 -5
- package/dist-es/WorkMail.js +406 -294
- package/dist-es/WorkMailClient.js +28 -22
- package/dist-es/commands/AssociateDelegateToResourceCommand.js +28 -21
- package/dist-es/commands/AssociateMemberToGroupCommand.js +28 -21
- package/dist-es/commands/AssumeImpersonationRoleCommand.js +39 -0
- package/dist-es/commands/CancelMailboxExportJobCommand.js +28 -21
- package/dist-es/commands/CreateAliasCommand.js +28 -21
- package/dist-es/commands/CreateAvailabilityConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateGroupCommand.js +28 -21
- package/dist-es/commands/CreateImpersonationRoleCommand.js +39 -0
- package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js +28 -21
- package/dist-es/commands/CreateOrganizationCommand.js +28 -21
- package/dist-es/commands/CreateResourceCommand.js +28 -21
- package/dist-es/commands/CreateUserCommand.js +28 -21
- package/dist-es/commands/DeleteAccessControlRuleCommand.js +28 -21
- package/dist-es/commands/DeleteAliasCommand.js +28 -21
- package/dist-es/commands/DeleteAvailabilityConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteEmailMonitoringConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteGroupCommand.js +28 -21
- package/dist-es/commands/DeleteImpersonationRoleCommand.js +39 -0
- package/dist-es/commands/DeleteMailboxPermissionsCommand.js +28 -21
- package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js +28 -21
- package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js +28 -21
- package/dist-es/commands/DeleteOrganizationCommand.js +28 -21
- package/dist-es/commands/DeleteResourceCommand.js +28 -21
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +28 -21
- package/dist-es/commands/DeleteUserCommand.js +28 -21
- package/dist-es/commands/DeregisterFromWorkMailCommand.js +28 -21
- package/dist-es/commands/DeregisterMailDomainCommand.js +28 -21
- package/dist-es/commands/DescribeEmailMonitoringConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeGroupCommand.js +28 -21
- package/dist-es/commands/DescribeInboundDmarcSettingsCommand.js +28 -21
- package/dist-es/commands/DescribeMailboxExportJobCommand.js +28 -21
- package/dist-es/commands/DescribeOrganizationCommand.js +28 -21
- package/dist-es/commands/DescribeResourceCommand.js +28 -21
- package/dist-es/commands/DescribeUserCommand.js +28 -21
- package/dist-es/commands/DisassociateDelegateFromResourceCommand.js +28 -21
- package/dist-es/commands/DisassociateMemberFromGroupCommand.js +28 -21
- package/dist-es/commands/GetAccessControlEffectCommand.js +28 -21
- package/dist-es/commands/GetDefaultRetentionPolicyCommand.js +28 -21
- package/dist-es/commands/GetImpersonationRoleCommand.js +39 -0
- package/dist-es/commands/GetImpersonationRoleEffectCommand.js +39 -0
- package/dist-es/commands/GetMailDomainCommand.js +28 -21
- package/dist-es/commands/GetMailboxDetailsCommand.js +28 -21
- package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js +28 -21
- package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js +28 -21
- package/dist-es/commands/ListAccessControlRulesCommand.js +28 -21
- package/dist-es/commands/ListAliasesCommand.js +28 -21
- package/dist-es/commands/ListAvailabilityConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListGroupMembersCommand.js +28 -21
- package/dist-es/commands/ListGroupsCommand.js +28 -21
- package/dist-es/commands/ListImpersonationRolesCommand.js +39 -0
- package/dist-es/commands/ListMailDomainsCommand.js +28 -21
- package/dist-es/commands/ListMailboxExportJobsCommand.js +28 -21
- package/dist-es/commands/ListMailboxPermissionsCommand.js +28 -21
- package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js +28 -21
- package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js +28 -21
- package/dist-es/commands/ListOrganizationsCommand.js +28 -21
- package/dist-es/commands/ListResourceDelegatesCommand.js +28 -21
- package/dist-es/commands/ListResourcesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListUsersCommand.js +28 -21
- package/dist-es/commands/PutAccessControlRuleCommand.js +28 -21
- package/dist-es/commands/PutEmailMonitoringConfigurationCommand.js +28 -21
- package/dist-es/commands/PutInboundDmarcSettingsCommand.js +28 -21
- package/dist-es/commands/PutMailboxPermissionsCommand.js +28 -21
- package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js +28 -21
- package/dist-es/commands/PutRetentionPolicyCommand.js +28 -21
- package/dist-es/commands/RegisterMailDomainCommand.js +28 -21
- package/dist-es/commands/RegisterToWorkMailCommand.js +28 -21
- package/dist-es/commands/ResetPasswordCommand.js +28 -21
- package/dist-es/commands/StartMailboxExportJobCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/TestAvailabilityConfigurationCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAvailabilityConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateDefaultMailDomainCommand.js +28 -21
- package/dist-es/commands/UpdateImpersonationRoleCommand.js +39 -0
- package/dist-es/commands/UpdateMailboxQuotaCommand.js +28 -21
- package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js +28 -21
- package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js +28 -21
- package/dist-es/commands/UpdateResourceCommand.js +28 -21
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WorkMailServiceException.js +10 -5
- package/dist-es/models/models_0.js +461 -776
- package/dist-es/pagination/ListAliasesPaginator.js +68 -25
- package/dist-es/pagination/ListAvailabilityConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/ListGroupMembersPaginator.js +68 -25
- package/dist-es/pagination/ListGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListImpersonationRolesPaginator.js +75 -0
- package/dist-es/pagination/ListMailDomainsPaginator.js +68 -25
- package/dist-es/pagination/ListMailboxExportJobsPaginator.js +68 -25
- package/dist-es/pagination/ListMailboxPermissionsPaginator.js +68 -25
- package/dist-es/pagination/ListMobileDeviceAccessOverridesPaginator.js +68 -25
- package/dist-es/pagination/ListOrganizationsPaginator.js +68 -25
- package/dist-es/pagination/ListResourceDelegatesPaginator.js +68 -25
- package/dist-es/pagination/ListResourcesPaginator.js +68 -25
- package/dist-es/pagination/ListUsersPaginator.js +68 -25
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +7042 -4887
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-types/WorkMail.d.ts +91 -32
- package/dist-types/WorkMailClient.d.ts +10 -3
- package/dist-types/commands/AssumeImpersonationRoleCommand.d.ts +36 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateImpersonationRoleCommand.d.ts +40 -0
- package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateOrganizationCommand.d.ts +9 -5
- package/dist-types/commands/CreateResourceCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImpersonationRoleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterMailDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetAccessControlEffectCommand.d.ts +1 -1
- package/dist-types/commands/GetImpersonationRoleCommand.d.ts +35 -0
- package/dist-types/commands/GetImpersonationRoleEffectCommand.d.ts +35 -0
- package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +1 -1
- package/dist-types/commands/ListImpersonationRolesCommand.d.ts +35 -0
- package/dist-types/commands/ListMailDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutAccessControlRuleCommand.d.ts +1 -1
- package/dist-types/commands/RegisterMailDomainCommand.d.ts +1 -1
- package/dist-types/commands/RegisterToWorkMailCommand.d.ts +2 -2
- package/dist-types/commands/StartMailboxExportJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestAvailabilityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImpersonationRoleCommand.d.ts +35 -0
- package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +442 -73
- package/dist-types/pagination/ListImpersonationRolesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +21 -0
- package/dist-types/ts3.4/WorkMail.d.ts +119 -0
- package/dist-types/ts3.4/WorkMailClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssumeImpersonationRoleCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateImpersonationRoleCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteImpersonationRoleCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetImpersonationRoleCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetImpersonationRoleEffectCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListImpersonationRolesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateImpersonationRoleCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +157 -9
- package/dist-types/ts3.4/pagination/ListImpersonationRolesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var WorkMailClient = (function (_super) {
|
|
13
|
+
__extends(WorkMailClient, _super);
|
|
14
|
+
function WorkMailClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
WorkMailClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return WorkMailClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { WorkMailClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateDelegateToResourceRequestFilterSensitiveLog, AssociateDelegateToResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AssociateDelegateToResourceCommand, serializeAws_json1_1AssociateDelegateToResourceCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateDelegateToResourceCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateDelegateToResourceCommand, _super);
|
|
8
|
+
function AssociateDelegateToResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateDelegateToResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "AssociateDelegateToResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateDelegateToResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateDelegateToResourceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateDelegateToResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AssociateDelegateToResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateDelegateToResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AssociateDelegateToResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateDelegateToResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateDelegateToResourceCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateMemberToGroupRequestFilterSensitiveLog, AssociateMemberToGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1AssociateMemberToGroupCommand, serializeAws_json1_1AssociateMemberToGroupCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateMemberToGroupCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateMemberToGroupCommand, _super);
|
|
8
|
+
function AssociateMemberToGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateMemberToGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "AssociateMemberToGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateMemberToGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateMemberToGroupResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateMemberToGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1AssociateMemberToGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateMemberToGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1AssociateMemberToGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateMemberToGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateMemberToGroupCommand };
|
|
@@ -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 { AssumeImpersonationRoleRequestFilterSensitiveLog, AssumeImpersonationRoleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1AssumeImpersonationRoleCommand, serializeAws_json1_1AssumeImpersonationRoleCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var AssumeImpersonationRoleCommand = (function (_super) {
|
|
7
|
+
__extends(AssumeImpersonationRoleCommand, _super);
|
|
8
|
+
function AssumeImpersonationRoleCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
AssumeImpersonationRoleCommand.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 = "AssumeImpersonationRoleCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: AssumeImpersonationRoleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssumeImpersonationRoleResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssumeImpersonationRoleCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1AssumeImpersonationRoleCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
AssumeImpersonationRoleCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1AssumeImpersonationRoleCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return AssumeImpersonationRoleCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssumeImpersonationRoleCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CancelMailboxExportJobRequestFilterSensitiveLog, CancelMailboxExportJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CancelMailboxExportJobCommand, serializeAws_json1_1CancelMailboxExportJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CancelMailboxExportJobCommand = (function (_super) {
|
|
7
|
+
__extends(CancelMailboxExportJobCommand, _super);
|
|
8
|
+
function CancelMailboxExportJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CancelMailboxExportJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "CancelMailboxExportJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CancelMailboxExportJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CancelMailboxExportJobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CancelMailboxExportJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CancelMailboxExportJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CancelMailboxExportJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CancelMailboxExportJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CancelMailboxExportJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CancelMailboxExportJobCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateAliasRequestFilterSensitiveLog, CreateAliasResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateAliasCommand, serializeAws_json1_1CreateAliasCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateAliasCommand = (function (_super) {
|
|
7
|
+
__extends(CreateAliasCommand, _super);
|
|
8
|
+
function CreateAliasCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateAliasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "CreateAliasCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateAliasRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateAliasResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateAliasCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateAliasCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateAliasCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateAliasCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateAliasCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateAliasCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateAvailabilityConfigurationRequestFilterSensitiveLog, CreateAvailabilityConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateAvailabilityConfigurationCommand, serializeAws_json1_1CreateAvailabilityConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateAvailabilityConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(CreateAvailabilityConfigurationCommand, _super);
|
|
8
|
+
function CreateAvailabilityConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateAvailabilityConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "CreateAvailabilityConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateAvailabilityConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateAvailabilityConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateAvailabilityConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateAvailabilityConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateAvailabilityConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateAvailabilityConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateAvailabilityConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateAvailabilityConfigurationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateGroupRequestFilterSensitiveLog, CreateGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateGroupCommand, serializeAws_json1_1CreateGroupCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateGroupCommand = (function (_super) {
|
|
7
|
+
__extends(CreateGroupCommand, _super);
|
|
8
|
+
function CreateGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "CreateGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateGroupResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGroupCommand };
|
|
@@ -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 { CreateImpersonationRoleRequestFilterSensitiveLog, CreateImpersonationRoleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateImpersonationRoleCommand, serializeAws_json1_1CreateImpersonationRoleCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateImpersonationRoleCommand = (function (_super) {
|
|
7
|
+
__extends(CreateImpersonationRoleCommand, _super);
|
|
8
|
+
function CreateImpersonationRoleCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateImpersonationRoleCommand.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 = "CreateImpersonationRoleCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateImpersonationRoleRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateImpersonationRoleResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateImpersonationRoleCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateImpersonationRoleCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateImpersonationRoleCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateImpersonationRoleCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateImpersonationRoleCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateImpersonationRoleCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateMobileDeviceAccessRuleRequestFilterSensitiveLog, CreateMobileDeviceAccessRuleResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateMobileDeviceAccessRuleCommand, serializeAws_json1_1CreateMobileDeviceAccessRuleCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateMobileDeviceAccessRuleCommand = (function (_super) {
|
|
7
|
+
__extends(CreateMobileDeviceAccessRuleCommand, _super);
|
|
8
|
+
function CreateMobileDeviceAccessRuleCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateMobileDeviceAccessRuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "CreateMobileDeviceAccessRuleCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateMobileDeviceAccessRuleRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateMobileDeviceAccessRuleResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateMobileDeviceAccessRuleCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateMobileDeviceAccessRuleCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateMobileDeviceAccessRuleCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateMobileDeviceAccessRuleCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateMobileDeviceAccessRuleCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateMobileDeviceAccessRuleCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CreateOrganizationRequestFilterSensitiveLog, CreateOrganizationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1CreateOrganizationCommand, serializeAws_json1_1CreateOrganizationCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateOrganizationCommand = (function (_super) {
|
|
7
|
+
__extends(CreateOrganizationCommand, _super);
|
|
8
|
+
function CreateOrganizationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateOrganizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WorkMailClient";
|
|
18
|
+
var commandName = "CreateOrganizationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateOrganizationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateOrganizationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateOrganizationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1CreateOrganizationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateOrganizationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1CreateOrganizationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateOrganizationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateOrganizationCommand };
|