@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
|
@@ -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 { UpdateImpersonationRoleRequest, UpdateImpersonationRoleResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient";
|
|
5
|
+
export interface UpdateImpersonationRoleCommandInput extends UpdateImpersonationRoleRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateImpersonationRoleCommandOutput extends UpdateImpersonationRoleResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates an impersonation role for the given WorkMail 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, UpdateImpersonationRoleCommand } from "@aws-sdk/client-workmail"; // ES Modules import
|
|
15
|
+
* // const { WorkMailClient, UpdateImpersonationRoleCommand } = require("@aws-sdk/client-workmail"); // CommonJS import
|
|
16
|
+
* const client = new WorkMailClient(config);
|
|
17
|
+
* const command = new UpdateImpersonationRoleCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateImpersonationRoleCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateImpersonationRoleCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link WorkMailClientResolvedConfig | config} for WorkMailClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateImpersonationRoleCommand extends $Command<UpdateImpersonationRoleCommandInput, UpdateImpersonationRoleCommandOutput, WorkMailClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateImpersonationRoleCommandInput;
|
|
28
|
+
constructor(input: UpdateImpersonationRoleCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkMailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateImpersonationRoleCommandInput, UpdateImpersonationRoleCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -7,7 +7,7 @@ export interface UpdateMobileDeviceAccessRuleCommandInput extends UpdateMobileDe
|
|
|
7
7
|
export interface UpdateMobileDeviceAccessRuleCommandOutput extends UpdateMobileDeviceAccessRuleResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates a mobile device access rule for the specified
|
|
10
|
+
* <p>Updates a mobile device access rule for the specified WorkMail organization.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from "./AssociateDelegateToResourceCommand";
|
|
2
2
|
export * from "./AssociateMemberToGroupCommand";
|
|
3
|
+
export * from "./AssumeImpersonationRoleCommand";
|
|
3
4
|
export * from "./CancelMailboxExportJobCommand";
|
|
4
5
|
export * from "./CreateAliasCommand";
|
|
5
6
|
export * from "./CreateAvailabilityConfigurationCommand";
|
|
6
7
|
export * from "./CreateGroupCommand";
|
|
8
|
+
export * from "./CreateImpersonationRoleCommand";
|
|
7
9
|
export * from "./CreateMobileDeviceAccessRuleCommand";
|
|
8
10
|
export * from "./CreateOrganizationCommand";
|
|
9
11
|
export * from "./CreateResourceCommand";
|
|
@@ -13,6 +15,7 @@ export * from "./DeleteAliasCommand";
|
|
|
13
15
|
export * from "./DeleteAvailabilityConfigurationCommand";
|
|
14
16
|
export * from "./DeleteEmailMonitoringConfigurationCommand";
|
|
15
17
|
export * from "./DeleteGroupCommand";
|
|
18
|
+
export * from "./DeleteImpersonationRoleCommand";
|
|
16
19
|
export * from "./DeleteMailboxPermissionsCommand";
|
|
17
20
|
export * from "./DeleteMobileDeviceAccessOverrideCommand";
|
|
18
21
|
export * from "./DeleteMobileDeviceAccessRuleCommand";
|
|
@@ -33,6 +36,8 @@ export * from "./DisassociateDelegateFromResourceCommand";
|
|
|
33
36
|
export * from "./DisassociateMemberFromGroupCommand";
|
|
34
37
|
export * from "./GetAccessControlEffectCommand";
|
|
35
38
|
export * from "./GetDefaultRetentionPolicyCommand";
|
|
39
|
+
export * from "./GetImpersonationRoleCommand";
|
|
40
|
+
export * from "./GetImpersonationRoleEffectCommand";
|
|
36
41
|
export * from "./GetMailDomainCommand";
|
|
37
42
|
export * from "./GetMailboxDetailsCommand";
|
|
38
43
|
export * from "./GetMobileDeviceAccessEffectCommand";
|
|
@@ -42,6 +47,7 @@ export * from "./ListAliasesCommand";
|
|
|
42
47
|
export * from "./ListAvailabilityConfigurationsCommand";
|
|
43
48
|
export * from "./ListGroupMembersCommand";
|
|
44
49
|
export * from "./ListGroupsCommand";
|
|
50
|
+
export * from "./ListImpersonationRolesCommand";
|
|
45
51
|
export * from "./ListMailDomainsCommand";
|
|
46
52
|
export * from "./ListMailboxExportJobsCommand";
|
|
47
53
|
export * from "./ListMailboxPermissionsCommand";
|
|
@@ -67,6 +73,7 @@ export * from "./TestAvailabilityConfigurationCommand";
|
|
|
67
73
|
export * from "./UntagResourceCommand";
|
|
68
74
|
export * from "./UpdateAvailabilityConfigurationCommand";
|
|
69
75
|
export * from "./UpdateDefaultMailDomainCommand";
|
|
76
|
+
export * from "./UpdateImpersonationRoleCommand";
|
|
70
77
|
export * from "./UpdateMailboxQuotaCommand";
|
|
71
78
|
export * from "./UpdateMobileDeviceAccessRuleCommand";
|
|
72
79
|
export * from "./UpdatePrimaryEmailAddressCommand";
|