@aws-sdk/client-workmail 3.33.0 → 3.34.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 +11 -0
- package/dist/cjs/package.json +38 -38
- package/dist/es/WorkMail.js +1 -39
- package/dist/es/WorkMail.js.map +1 -1
- package/dist/es/WorkMailClient.js +1 -44
- package/dist/es/WorkMailClient.js.map +1 -1
- package/dist/es/commands/AssociateDelegateToResourceCommand.js +2 -27
- package/dist/es/commands/AssociateDelegateToResourceCommand.js.map +1 -1
- package/dist/es/commands/AssociateMemberToGroupCommand.js +2 -27
- package/dist/es/commands/AssociateMemberToGroupCommand.js.map +1 -1
- package/dist/es/commands/CancelMailboxExportJobCommand.js +2 -31
- package/dist/es/commands/CancelMailboxExportJobCommand.js.map +1 -1
- package/dist/es/commands/CreateAliasCommand.js +2 -27
- package/dist/es/commands/CreateAliasCommand.js.map +1 -1
- package/dist/es/commands/CreateGroupCommand.js +2 -27
- package/dist/es/commands/CreateGroupCommand.js.map +1 -1
- package/dist/es/commands/CreateMobileDeviceAccessRuleCommand.js +2 -27
- package/dist/es/commands/CreateMobileDeviceAccessRuleCommand.js.map +1 -1
- package/dist/es/commands/CreateOrganizationCommand.js +2 -31
- package/dist/es/commands/CreateOrganizationCommand.js.map +1 -1
- package/dist/es/commands/CreateResourceCommand.js +2 -27
- package/dist/es/commands/CreateResourceCommand.js.map +1 -1
- package/dist/es/commands/CreateUserCommand.js +2 -27
- package/dist/es/commands/CreateUserCommand.js.map +1 -1
- package/dist/es/commands/DeleteAccessControlRuleCommand.js +2 -27
- package/dist/es/commands/DeleteAccessControlRuleCommand.js.map +1 -1
- package/dist/es/commands/DeleteAliasCommand.js +2 -28
- package/dist/es/commands/DeleteAliasCommand.js.map +1 -1
- package/dist/es/commands/DeleteGroupCommand.js +2 -27
- package/dist/es/commands/DeleteGroupCommand.js.map +1 -1
- package/dist/es/commands/DeleteMailboxPermissionsCommand.js +2 -27
- package/dist/es/commands/DeleteMailboxPermissionsCommand.js.map +1 -1
- package/dist/es/commands/DeleteMobileDeviceAccessRuleCommand.js +2 -27
- package/dist/es/commands/DeleteMobileDeviceAccessRuleCommand.js.map +1 -1
- package/dist/es/commands/DeleteOrganizationCommand.js +2 -27
- package/dist/es/commands/DeleteOrganizationCommand.js.map +1 -1
- package/dist/es/commands/DeleteResourceCommand.js +2 -27
- package/dist/es/commands/DeleteResourceCommand.js.map +1 -1
- package/dist/es/commands/DeleteRetentionPolicyCommand.js +2 -27
- package/dist/es/commands/DeleteRetentionPolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteUserCommand.js +2 -31
- package/dist/es/commands/DeleteUserCommand.js.map +1 -1
- package/dist/es/commands/DeregisterFromWorkMailCommand.js +2 -30
- package/dist/es/commands/DeregisterFromWorkMailCommand.js.map +1 -1
- package/dist/es/commands/DescribeGroupCommand.js +2 -27
- package/dist/es/commands/DescribeGroupCommand.js.map +1 -1
- package/dist/es/commands/DescribeMailboxExportJobCommand.js +2 -27
- package/dist/es/commands/DescribeMailboxExportJobCommand.js.map +1 -1
- package/dist/es/commands/DescribeOrganizationCommand.js +2 -28
- package/dist/es/commands/DescribeOrganizationCommand.js.map +1 -1
- package/dist/es/commands/DescribeResourceCommand.js +2 -27
- package/dist/es/commands/DescribeResourceCommand.js.map +1 -1
- package/dist/es/commands/DescribeUserCommand.js +2 -27
- package/dist/es/commands/DescribeUserCommand.js.map +1 -1
- package/dist/es/commands/DisassociateDelegateFromResourceCommand.js +2 -27
- package/dist/es/commands/DisassociateDelegateFromResourceCommand.js.map +1 -1
- package/dist/es/commands/DisassociateMemberFromGroupCommand.js +2 -27
- package/dist/es/commands/DisassociateMemberFromGroupCommand.js.map +1 -1
- package/dist/es/commands/GetAccessControlEffectCommand.js +2 -28
- package/dist/es/commands/GetAccessControlEffectCommand.js.map +1 -1
- package/dist/es/commands/GetDefaultRetentionPolicyCommand.js +2 -27
- package/dist/es/commands/GetDefaultRetentionPolicyCommand.js.map +1 -1
- package/dist/es/commands/GetMailboxDetailsCommand.js +2 -27
- package/dist/es/commands/GetMailboxDetailsCommand.js.map +1 -1
- package/dist/es/commands/GetMobileDeviceAccessEffectCommand.js +2 -28
- package/dist/es/commands/GetMobileDeviceAccessEffectCommand.js.map +1 -1
- package/dist/es/commands/ListAccessControlRulesCommand.js +2 -27
- package/dist/es/commands/ListAccessControlRulesCommand.js.map +1 -1
- package/dist/es/commands/ListAliasesCommand.js +2 -28
- package/dist/es/commands/ListAliasesCommand.js.map +1 -1
- package/dist/es/commands/ListGroupMembersCommand.js +2 -28
- package/dist/es/commands/ListGroupMembersCommand.js.map +1 -1
- package/dist/es/commands/ListGroupsCommand.js +2 -27
- package/dist/es/commands/ListGroupsCommand.js.map +1 -1
- package/dist/es/commands/ListMailboxExportJobsCommand.js +2 -28
- package/dist/es/commands/ListMailboxExportJobsCommand.js.map +1 -1
- package/dist/es/commands/ListMailboxPermissionsCommand.js +2 -28
- package/dist/es/commands/ListMailboxPermissionsCommand.js.map +1 -1
- package/dist/es/commands/ListMobileDeviceAccessRulesCommand.js +2 -27
- package/dist/es/commands/ListMobileDeviceAccessRulesCommand.js.map +1 -1
- package/dist/es/commands/ListOrganizationsCommand.js +2 -27
- package/dist/es/commands/ListOrganizationsCommand.js.map +1 -1
- package/dist/es/commands/ListResourceDelegatesCommand.js +2 -28
- package/dist/es/commands/ListResourceDelegatesCommand.js.map +1 -1
- package/dist/es/commands/ListResourcesCommand.js +2 -27
- package/dist/es/commands/ListResourcesCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/ListUsersCommand.js +2 -27
- package/dist/es/commands/ListUsersCommand.js.map +1 -1
- package/dist/es/commands/PutAccessControlRuleCommand.js +2 -30
- package/dist/es/commands/PutAccessControlRuleCommand.js.map +1 -1
- package/dist/es/commands/PutMailboxPermissionsCommand.js +2 -28
- package/dist/es/commands/PutMailboxPermissionsCommand.js.map +1 -1
- package/dist/es/commands/PutRetentionPolicyCommand.js +2 -27
- package/dist/es/commands/PutRetentionPolicyCommand.js.map +1 -1
- package/dist/es/commands/RegisterToWorkMailCommand.js +2 -33
- package/dist/es/commands/RegisterToWorkMailCommand.js.map +1 -1
- package/dist/es/commands/ResetPasswordCommand.js +2 -27
- package/dist/es/commands/ResetPasswordCommand.js.map +1 -1
- package/dist/es/commands/StartMailboxExportJobCommand.js +2 -30
- package/dist/es/commands/StartMailboxExportJobCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -28
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -28
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateMailboxQuotaCommand.js +2 -28
- package/dist/es/commands/UpdateMailboxQuotaCommand.js.map +1 -1
- package/dist/es/commands/UpdateMobileDeviceAccessRuleCommand.js +2 -27
- package/dist/es/commands/UpdateMobileDeviceAccessRuleCommand.js.map +1 -1
- package/dist/es/commands/UpdatePrimaryEmailAddressCommand.js +2 -29
- package/dist/es/commands/UpdatePrimaryEmailAddressCommand.js.map +1 -1
- package/dist/es/commands/UpdateResourceCommand.js +2 -29
- package/dist/es/commands/UpdateResourceCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -429
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +38 -38
- package/dist/es/pagination/ListAliasesPaginator.js +16 -28
- package/dist/es/pagination/ListAliasesPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroupMembersPaginator.js +16 -28
- package/dist/es/pagination/ListGroupMembersPaginator.js.map +1 -1
- package/dist/es/pagination/ListGroupsPaginator.js +16 -28
- package/dist/es/pagination/ListGroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMailboxExportJobsPaginator.js +16 -28
- package/dist/es/pagination/ListMailboxExportJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMailboxPermissionsPaginator.js +16 -28
- package/dist/es/pagination/ListMailboxPermissionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListOrganizationsPaginator.js +16 -28
- package/dist/es/pagination/ListOrganizationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListResourceDelegatesPaginator.js +16 -28
- package/dist/es/pagination/ListResourceDelegatesPaginator.js.map +1 -1
- package/dist/es/pagination/ListResourcesPaginator.js +16 -28
- package/dist/es/pagination/ListResourcesPaginator.js.map +1 -1
- package/dist/es/pagination/ListUsersPaginator.js +16 -28
- package/dist/es/pagination/ListUsersPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +1440 -1445
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/package.json +38 -38
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,39 +3,13 @@ import { UpdateMailboxQuotaRequest, UpdateMailboxQuotaResponse } from "../models
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateMailboxQuotaCommand, serializeAws_json1_1UpdateMailboxQuotaCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates a user's current mailbox quota for a specified organization and
|
|
8
|
-
* user.</p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { WorkMailClient, UpdateMailboxQuotaCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
13
|
-
* // const { WorkMailClient, UpdateMailboxQuotaCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
14
|
-
* const client = new WorkMailClient(config);
|
|
15
|
-
* const command = new UpdateMailboxQuotaCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link UpdateMailboxQuotaCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link UpdateMailboxQuotaCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var UpdateMailboxQuotaCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateMailboxQuotaCommand = (function (_super) {
|
|
25
7
|
__extends(UpdateMailboxQuotaCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function UpdateMailboxQuotaCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
UpdateMailboxQuotaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMailboxQuotaCommand.js","sourceRoot":"","sources":["../../../commands/UpdateMailboxQuotaCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yB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wB,EAAE,0BAA0B,CAAC,kBAAkB;SACxE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateMobileDeviceAccessRuleRequest, UpdateMobileDeviceAccessRuleRespon
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateMobileDeviceAccessRuleCommand, serializeAws_json1_1UpdateMobileDeviceAccessRuleCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates a mobile device access rule for the specified Amazon WorkMail organization.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { WorkMailClient, UpdateMobileDeviceAccessRuleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
12
|
-
* // const { WorkMailClient, UpdateMobileDeviceAccessRuleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
13
|
-
* const client = new WorkMailClient(config);
|
|
14
|
-
* const command = new UpdateMobileDeviceAccessRuleCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateMobileDeviceAccessRuleCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateMobileDeviceAccessRuleCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateMobileDeviceAccessRuleCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateMobileDeviceAccessRuleCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateMobileDeviceAccessRuleCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateMobileDeviceAccessRuleCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateMobileDeviceAccessRuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMobileDeviceAccessRuleCommand.js","sourceRoot":"","sources":["../../../commands/UpdateMobileDeviceAccessRuleCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,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AC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uDAAS,GAAjB,UAAkB,KAA+C,EAAE,OAAuB;QACxF,OAAO,uDAAuD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAEO,yDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
|
|
@@ -3,40 +3,13 @@ import { UpdatePrimaryEmailAddressRequest, UpdatePrimaryEmailAddressResponse } f
|
|
|
3
3
|
import { deserializeAws_json1_1UpdatePrimaryEmailAddressCommand, serializeAws_json1_1UpdatePrimaryEmailAddressCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates the primary email for a user, group, or resource. The current email is moved
|
|
8
|
-
* into the list of aliases (or swapped between an existing alias and the current primary
|
|
9
|
-
* email), and the email provided in the input is promoted as the primary.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { WorkMailClient, UpdatePrimaryEmailAddressCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
14
|
-
* // const { WorkMailClient, UpdatePrimaryEmailAddressCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
15
|
-
* const client = new WorkMailClient(config);
|
|
16
|
-
* const command = new UpdatePrimaryEmailAddressCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdatePrimaryEmailAddressCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdatePrimaryEmailAddressCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var UpdatePrimaryEmailAddressCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdatePrimaryEmailAddressCommand = (function (_super) {
|
|
26
7
|
__extends(UpdatePrimaryEmailAddressCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function UpdatePrimaryEmailAddressCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
UpdatePrimaryEmailAddressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdatePrimaryEmailAddressCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePrimaryEmailAddressCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdatePrimaryEmailAddressCommand.js","sourceRoot":"","sources":["../../../commands/UpdatePrimary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EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,40 +3,13 @@ import { UpdateResourceRequest, UpdateResourceResponse } from "../models/models_
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateResourceCommand, serializeAws_json1_1UpdateResourceCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates data for the resource. To have the latest information, it must be preceded by
|
|
8
|
-
* a <a>DescribeResource</a> call. The dataset in the request should be the one
|
|
9
|
-
* expected when performing another <code>DescribeResource</code> call.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { WorkMailClient, UpdateResourceCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
14
|
-
* // const { WorkMailClient, UpdateResourceCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
15
|
-
* const client = new WorkMailClient(config);
|
|
16
|
-
* const command = new UpdateResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var UpdateResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateResourceCommand = (function (_super) {
|
|
26
7
|
__extends(UpdateResourceCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function UpdateResourceCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
UpdateResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateResourceCommand.js","sourceRoot":"","sources":["../../../commands/UpdateResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateResourceCommand.js","sourceRoot":"","sources":["../../../commands/UpdateResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAA2C,yC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,7 @@ var partitionHash = {
|
|
|
47
47
|
};
|
|
48
48
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
49
|
return __generator(this, function (_a) {
|
|
50
|
-
return [2
|
|
50
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "workmail", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
51
51
|
});
|
|
52
52
|
}); };
|
|
53
53
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe,EAAE,CAAC;AAElC,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,iCAAiC;KAC5C;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACzC,QAAQ,EAAE,oCAAoC;KAC/C;IACD,SAAS,EAAE;QACT,OAAO,EAAE,CAAC,eAAe,CAAC;QAC1B,QAAQ,EAAE,8BAA8B;KACzC;IACD,WAAW,EAAE;QACX,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,QAAQ,EAAE,iCAAiC;KAC5C;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,QAAQ,EAAE,iCAA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