@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,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
GetImpersonationRoleRequest,
|
|
10
|
+
GetImpersonationRoleResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
WorkMailClientResolvedConfig,
|
|
16
|
+
} from "../WorkMailClient";
|
|
17
|
+
export interface GetImpersonationRoleCommandInput
|
|
18
|
+
extends GetImpersonationRoleRequest {}
|
|
19
|
+
export interface GetImpersonationRoleCommandOutput
|
|
20
|
+
extends GetImpersonationRoleResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class GetImpersonationRoleCommand extends $Command<
|
|
23
|
+
GetImpersonationRoleCommandInput,
|
|
24
|
+
GetImpersonationRoleCommandOutput,
|
|
25
|
+
WorkMailClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: GetImpersonationRoleCommandInput;
|
|
28
|
+
constructor(input: GetImpersonationRoleCommandInput);
|
|
29
|
+
resolveMiddleware(
|
|
30
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
31
|
+
configuration: WorkMailClientResolvedConfig,
|
|
32
|
+
options?: __HttpHandlerOptions
|
|
33
|
+
): Handler<
|
|
34
|
+
GetImpersonationRoleCommandInput,
|
|
35
|
+
GetImpersonationRoleCommandOutput
|
|
36
|
+
>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
GetImpersonationRoleEffectRequest,
|
|
10
|
+
GetImpersonationRoleEffectResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
WorkMailClientResolvedConfig,
|
|
16
|
+
} from "../WorkMailClient";
|
|
17
|
+
export interface GetImpersonationRoleEffectCommandInput
|
|
18
|
+
extends GetImpersonationRoleEffectRequest {}
|
|
19
|
+
export interface GetImpersonationRoleEffectCommandOutput
|
|
20
|
+
extends GetImpersonationRoleEffectResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class GetImpersonationRoleEffectCommand extends $Command<
|
|
23
|
+
GetImpersonationRoleEffectCommandInput,
|
|
24
|
+
GetImpersonationRoleEffectCommandOutput,
|
|
25
|
+
WorkMailClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: GetImpersonationRoleEffectCommandInput;
|
|
28
|
+
constructor(input: GetImpersonationRoleEffectCommandInput);
|
|
29
|
+
resolveMiddleware(
|
|
30
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
31
|
+
configuration: WorkMailClientResolvedConfig,
|
|
32
|
+
options?: __HttpHandlerOptions
|
|
33
|
+
): Handler<
|
|
34
|
+
GetImpersonationRoleEffectCommandInput,
|
|
35
|
+
GetImpersonationRoleEffectCommandOutput
|
|
36
|
+
>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
ListImpersonationRolesRequest,
|
|
10
|
+
ListImpersonationRolesResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
WorkMailClientResolvedConfig,
|
|
16
|
+
} from "../WorkMailClient";
|
|
17
|
+
export interface ListImpersonationRolesCommandInput
|
|
18
|
+
extends ListImpersonationRolesRequest {}
|
|
19
|
+
export interface ListImpersonationRolesCommandOutput
|
|
20
|
+
extends ListImpersonationRolesResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class ListImpersonationRolesCommand extends $Command<
|
|
23
|
+
ListImpersonationRolesCommandInput,
|
|
24
|
+
ListImpersonationRolesCommandOutput,
|
|
25
|
+
WorkMailClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: ListImpersonationRolesCommandInput;
|
|
28
|
+
constructor(input: ListImpersonationRolesCommandInput);
|
|
29
|
+
resolveMiddleware(
|
|
30
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
31
|
+
configuration: WorkMailClientResolvedConfig,
|
|
32
|
+
options?: __HttpHandlerOptions
|
|
33
|
+
): Handler<
|
|
34
|
+
ListImpersonationRolesCommandInput,
|
|
35
|
+
ListImpersonationRolesCommandOutput
|
|
36
|
+
>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
UpdateImpersonationRoleRequest,
|
|
10
|
+
UpdateImpersonationRoleResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
WorkMailClientResolvedConfig,
|
|
16
|
+
} from "../WorkMailClient";
|
|
17
|
+
export interface UpdateImpersonationRoleCommandInput
|
|
18
|
+
extends UpdateImpersonationRoleRequest {}
|
|
19
|
+
export interface UpdateImpersonationRoleCommandOutput
|
|
20
|
+
extends UpdateImpersonationRoleResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class UpdateImpersonationRoleCommand extends $Command<
|
|
23
|
+
UpdateImpersonationRoleCommandInput,
|
|
24
|
+
UpdateImpersonationRoleCommandOutput,
|
|
25
|
+
WorkMailClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: UpdateImpersonationRoleCommandInput;
|
|
28
|
+
constructor(input: UpdateImpersonationRoleCommandInput);
|
|
29
|
+
resolveMiddleware(
|
|
30
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
31
|
+
configuration: WorkMailClientResolvedConfig,
|
|
32
|
+
options?: __HttpHandlerOptions
|
|
33
|
+
): Handler<
|
|
34
|
+
UpdateImpersonationRoleCommandInput,
|
|
35
|
+
UpdateImpersonationRoleCommandOutput
|
|
36
|
+
>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -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";
|
|
@@ -16,6 +16,12 @@ export interface AccessControlRule {
|
|
|
16
16
|
NotUserIds?: string[];
|
|
17
17
|
DateCreated?: Date;
|
|
18
18
|
DateModified?: Date;
|
|
19
|
+
ImpersonationRoleIds?: string[];
|
|
20
|
+
NotImpersonationRoleIds?: string[];
|
|
21
|
+
}
|
|
22
|
+
export declare enum AccessEffect {
|
|
23
|
+
ALLOW = "ALLOW",
|
|
24
|
+
DENY = "DENY",
|
|
19
25
|
}
|
|
20
26
|
export interface AssociateDelegateToResourceRequest {
|
|
21
27
|
OrganizationId: string | undefined;
|
|
@@ -96,6 +102,22 @@ export declare class UnsupportedOperationException extends __BaseException {
|
|
|
96
102
|
opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
|
|
97
103
|
);
|
|
98
104
|
}
|
|
105
|
+
export interface AssumeImpersonationRoleRequest {
|
|
106
|
+
OrganizationId: string | undefined;
|
|
107
|
+
ImpersonationRoleId: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
export interface AssumeImpersonationRoleResponse {
|
|
110
|
+
Token?: string;
|
|
111
|
+
ExpiresIn?: number;
|
|
112
|
+
}
|
|
113
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
114
|
+
readonly name: "ResourceNotFoundException";
|
|
115
|
+
readonly $fault: "client";
|
|
116
|
+
Message?: string;
|
|
117
|
+
constructor(
|
|
118
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
119
|
+
);
|
|
120
|
+
}
|
|
99
121
|
export interface RedactedEwsAvailabilityProvider {
|
|
100
122
|
EwsEndpoint?: string;
|
|
101
123
|
EwsUsername?: string;
|
|
@@ -200,6 +222,29 @@ export declare class ReservedNameException extends __BaseException {
|
|
|
200
222
|
opts: __ExceptionOptionType<ReservedNameException, __BaseException>
|
|
201
223
|
);
|
|
202
224
|
}
|
|
225
|
+
export interface ImpersonationRule {
|
|
226
|
+
ImpersonationRuleId: string | undefined;
|
|
227
|
+
Name?: string;
|
|
228
|
+
Description?: string;
|
|
229
|
+
Effect: AccessEffect | string | undefined;
|
|
230
|
+
TargetUsers?: string[];
|
|
231
|
+
NotTargetUsers?: string[];
|
|
232
|
+
}
|
|
233
|
+
export declare enum ImpersonationRoleType {
|
|
234
|
+
FULL_ACCESS = "FULL_ACCESS",
|
|
235
|
+
READ_ONLY = "READ_ONLY",
|
|
236
|
+
}
|
|
237
|
+
export interface CreateImpersonationRoleRequest {
|
|
238
|
+
ClientToken?: string;
|
|
239
|
+
OrganizationId: string | undefined;
|
|
240
|
+
Name: string | undefined;
|
|
241
|
+
Type: ImpersonationRoleType | string | undefined;
|
|
242
|
+
Description?: string;
|
|
243
|
+
Rules: ImpersonationRule[] | undefined;
|
|
244
|
+
}
|
|
245
|
+
export interface CreateImpersonationRoleResponse {
|
|
246
|
+
ImpersonationRoleId?: string;
|
|
247
|
+
}
|
|
203
248
|
export declare enum MobileDeviceAccessRuleEffect {
|
|
204
249
|
ALLOW = "ALLOW",
|
|
205
250
|
DENY = "DENY",
|
|
@@ -307,6 +352,11 @@ export interface DeleteGroupRequest {
|
|
|
307
352
|
GroupId: string | undefined;
|
|
308
353
|
}
|
|
309
354
|
export interface DeleteGroupResponse {}
|
|
355
|
+
export interface DeleteImpersonationRoleRequest {
|
|
356
|
+
OrganizationId: string | undefined;
|
|
357
|
+
ImpersonationRoleId: string | undefined;
|
|
358
|
+
}
|
|
359
|
+
export interface DeleteImpersonationRoleResponse {}
|
|
310
360
|
export interface DeleteMailboxPermissionsRequest {
|
|
311
361
|
OrganizationId: string | undefined;
|
|
312
362
|
EntityId: string | undefined;
|
|
@@ -384,14 +434,6 @@ export interface DescribeEmailMonitoringConfigurationResponse {
|
|
|
384
434
|
RoleArn?: string;
|
|
385
435
|
LogGroupArn?: string;
|
|
386
436
|
}
|
|
387
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
388
|
-
readonly name: "ResourceNotFoundException";
|
|
389
|
-
readonly $fault: "client";
|
|
390
|
-
Message?: string;
|
|
391
|
-
constructor(
|
|
392
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
393
|
-
);
|
|
394
|
-
}
|
|
395
437
|
export interface DescribeGroupRequest {
|
|
396
438
|
OrganizationId: string | undefined;
|
|
397
439
|
GroupId: string | undefined;
|
|
@@ -540,7 +582,8 @@ export interface GetAccessControlEffectRequest {
|
|
|
540
582
|
OrganizationId: string | undefined;
|
|
541
583
|
IpAddress: string | undefined;
|
|
542
584
|
Action: string | undefined;
|
|
543
|
-
UserId
|
|
585
|
+
UserId?: string;
|
|
586
|
+
ImpersonationRoleId?: string;
|
|
544
587
|
}
|
|
545
588
|
export interface GetAccessControlEffectResponse {
|
|
546
589
|
Effect?: AccessControlRuleEffect | string;
|
|
@@ -555,6 +598,33 @@ export interface GetDefaultRetentionPolicyResponse {
|
|
|
555
598
|
Description?: string;
|
|
556
599
|
FolderConfigurations?: FolderConfiguration[];
|
|
557
600
|
}
|
|
601
|
+
export interface GetImpersonationRoleRequest {
|
|
602
|
+
OrganizationId: string | undefined;
|
|
603
|
+
ImpersonationRoleId: string | undefined;
|
|
604
|
+
}
|
|
605
|
+
export interface GetImpersonationRoleResponse {
|
|
606
|
+
ImpersonationRoleId?: string;
|
|
607
|
+
Name?: string;
|
|
608
|
+
Type?: ImpersonationRoleType | string;
|
|
609
|
+
Description?: string;
|
|
610
|
+
Rules?: ImpersonationRule[];
|
|
611
|
+
DateCreated?: Date;
|
|
612
|
+
DateModified?: Date;
|
|
613
|
+
}
|
|
614
|
+
export interface GetImpersonationRoleEffectRequest {
|
|
615
|
+
OrganizationId: string | undefined;
|
|
616
|
+
ImpersonationRoleId: string | undefined;
|
|
617
|
+
TargetUser: string | undefined;
|
|
618
|
+
}
|
|
619
|
+
export interface ImpersonationMatchedRule {
|
|
620
|
+
ImpersonationRuleId?: string;
|
|
621
|
+
Name?: string;
|
|
622
|
+
}
|
|
623
|
+
export interface GetImpersonationRoleEffectResponse {
|
|
624
|
+
Type?: ImpersonationRoleType | string;
|
|
625
|
+
Effect?: AccessEffect | string;
|
|
626
|
+
MatchedRules?: ImpersonationMatchedRule[];
|
|
627
|
+
}
|
|
558
628
|
export interface GetMailboxDetailsRequest {
|
|
559
629
|
OrganizationId: string | undefined;
|
|
560
630
|
UserId: string | undefined;
|
|
@@ -610,6 +680,13 @@ export interface Group {
|
|
|
610
680
|
EnabledDate?: Date;
|
|
611
681
|
DisabledDate?: Date;
|
|
612
682
|
}
|
|
683
|
+
export interface ImpersonationRole {
|
|
684
|
+
ImpersonationRoleId?: string;
|
|
685
|
+
Name?: string;
|
|
686
|
+
Type?: ImpersonationRoleType | string;
|
|
687
|
+
DateCreated?: Date;
|
|
688
|
+
DateModified?: Date;
|
|
689
|
+
}
|
|
613
690
|
export declare class InvalidConfigurationException extends __BaseException {
|
|
614
691
|
readonly name: "InvalidConfigurationException";
|
|
615
692
|
readonly $fault: "client";
|
|
@@ -681,6 +758,15 @@ export interface ListGroupsResponse {
|
|
|
681
758
|
Groups?: Group[];
|
|
682
759
|
NextToken?: string;
|
|
683
760
|
}
|
|
761
|
+
export interface ListImpersonationRolesRequest {
|
|
762
|
+
OrganizationId: string | undefined;
|
|
763
|
+
NextToken?: string;
|
|
764
|
+
MaxResults?: number;
|
|
765
|
+
}
|
|
766
|
+
export interface ListImpersonationRolesResponse {
|
|
767
|
+
Roles?: ImpersonationRole[];
|
|
768
|
+
NextToken?: string;
|
|
769
|
+
}
|
|
684
770
|
export interface ListMailboxExportJobsRequest {
|
|
685
771
|
OrganizationId: string | undefined;
|
|
686
772
|
NextToken?: string;
|
|
@@ -847,6 +933,8 @@ export interface PutAccessControlRuleRequest {
|
|
|
847
933
|
UserIds?: string[];
|
|
848
934
|
NotUserIds?: string[];
|
|
849
935
|
OrganizationId: string | undefined;
|
|
936
|
+
ImpersonationRoleIds?: string[];
|
|
937
|
+
NotImpersonationRoleIds?: string[];
|
|
850
938
|
}
|
|
851
939
|
export interface PutAccessControlRuleResponse {}
|
|
852
940
|
export interface PutEmailMonitoringConfigurationRequest {
|
|
@@ -954,6 +1042,15 @@ export interface UpdateDefaultMailDomainRequest {
|
|
|
954
1042
|
DomainName: string | undefined;
|
|
955
1043
|
}
|
|
956
1044
|
export interface UpdateDefaultMailDomainResponse {}
|
|
1045
|
+
export interface UpdateImpersonationRoleRequest {
|
|
1046
|
+
OrganizationId: string | undefined;
|
|
1047
|
+
ImpersonationRoleId: string | undefined;
|
|
1048
|
+
Name: string | undefined;
|
|
1049
|
+
Type: ImpersonationRoleType | string | undefined;
|
|
1050
|
+
Description?: string;
|
|
1051
|
+
Rules: ImpersonationRule[] | undefined;
|
|
1052
|
+
}
|
|
1053
|
+
export interface UpdateImpersonationRoleResponse {}
|
|
957
1054
|
export interface UpdateMailboxQuotaRequest {
|
|
958
1055
|
OrganizationId: string | undefined;
|
|
959
1056
|
UserId: string | undefined;
|
|
@@ -1004,6 +1101,12 @@ export declare const AssociateMemberToGroupRequestFilterSensitiveLog: (
|
|
|
1004
1101
|
export declare const AssociateMemberToGroupResponseFilterSensitiveLog: (
|
|
1005
1102
|
obj: AssociateMemberToGroupResponse
|
|
1006
1103
|
) => any;
|
|
1104
|
+
export declare const AssumeImpersonationRoleRequestFilterSensitiveLog: (
|
|
1105
|
+
obj: AssumeImpersonationRoleRequest
|
|
1106
|
+
) => any;
|
|
1107
|
+
export declare const AssumeImpersonationRoleResponseFilterSensitiveLog: (
|
|
1108
|
+
obj: AssumeImpersonationRoleResponse
|
|
1109
|
+
) => any;
|
|
1007
1110
|
export declare const RedactedEwsAvailabilityProviderFilterSensitiveLog: (
|
|
1008
1111
|
obj: RedactedEwsAvailabilityProvider
|
|
1009
1112
|
) => any;
|
|
@@ -1043,6 +1146,15 @@ export declare const CreateGroupRequestFilterSensitiveLog: (
|
|
|
1043
1146
|
export declare const CreateGroupResponseFilterSensitiveLog: (
|
|
1044
1147
|
obj: CreateGroupResponse
|
|
1045
1148
|
) => any;
|
|
1149
|
+
export declare const ImpersonationRuleFilterSensitiveLog: (
|
|
1150
|
+
obj: ImpersonationRule
|
|
1151
|
+
) => any;
|
|
1152
|
+
export declare const CreateImpersonationRoleRequestFilterSensitiveLog: (
|
|
1153
|
+
obj: CreateImpersonationRoleRequest
|
|
1154
|
+
) => any;
|
|
1155
|
+
export declare const CreateImpersonationRoleResponseFilterSensitiveLog: (
|
|
1156
|
+
obj: CreateImpersonationRoleResponse
|
|
1157
|
+
) => any;
|
|
1046
1158
|
export declare const CreateMobileDeviceAccessRuleRequestFilterSensitiveLog: (
|
|
1047
1159
|
obj: CreateMobileDeviceAccessRuleRequest
|
|
1048
1160
|
) => any;
|
|
@@ -1099,6 +1211,12 @@ export declare const DeleteGroupRequestFilterSensitiveLog: (
|
|
|
1099
1211
|
export declare const DeleteGroupResponseFilterSensitiveLog: (
|
|
1100
1212
|
obj: DeleteGroupResponse
|
|
1101
1213
|
) => any;
|
|
1214
|
+
export declare const DeleteImpersonationRoleRequestFilterSensitiveLog: (
|
|
1215
|
+
obj: DeleteImpersonationRoleRequest
|
|
1216
|
+
) => any;
|
|
1217
|
+
export declare const DeleteImpersonationRoleResponseFilterSensitiveLog: (
|
|
1218
|
+
obj: DeleteImpersonationRoleResponse
|
|
1219
|
+
) => any;
|
|
1102
1220
|
export declare const DeleteMailboxPermissionsRequestFilterSensitiveLog: (
|
|
1103
1221
|
obj: DeleteMailboxPermissionsRequest
|
|
1104
1222
|
) => any;
|
|
@@ -1223,6 +1341,21 @@ export declare const GetDefaultRetentionPolicyRequestFilterSensitiveLog: (
|
|
|
1223
1341
|
export declare const GetDefaultRetentionPolicyResponseFilterSensitiveLog: (
|
|
1224
1342
|
obj: GetDefaultRetentionPolicyResponse
|
|
1225
1343
|
) => any;
|
|
1344
|
+
export declare const GetImpersonationRoleRequestFilterSensitiveLog: (
|
|
1345
|
+
obj: GetImpersonationRoleRequest
|
|
1346
|
+
) => any;
|
|
1347
|
+
export declare const GetImpersonationRoleResponseFilterSensitiveLog: (
|
|
1348
|
+
obj: GetImpersonationRoleResponse
|
|
1349
|
+
) => any;
|
|
1350
|
+
export declare const GetImpersonationRoleEffectRequestFilterSensitiveLog: (
|
|
1351
|
+
obj: GetImpersonationRoleEffectRequest
|
|
1352
|
+
) => any;
|
|
1353
|
+
export declare const ImpersonationMatchedRuleFilterSensitiveLog: (
|
|
1354
|
+
obj: ImpersonationMatchedRule
|
|
1355
|
+
) => any;
|
|
1356
|
+
export declare const GetImpersonationRoleEffectResponseFilterSensitiveLog: (
|
|
1357
|
+
obj: GetImpersonationRoleEffectResponse
|
|
1358
|
+
) => any;
|
|
1226
1359
|
export declare const GetMailboxDetailsRequestFilterSensitiveLog: (
|
|
1227
1360
|
obj: GetMailboxDetailsRequest
|
|
1228
1361
|
) => any;
|
|
@@ -1251,6 +1384,9 @@ export declare const GetMobileDeviceAccessOverrideResponseFilterSensitiveLog: (
|
|
|
1251
1384
|
obj: GetMobileDeviceAccessOverrideResponse
|
|
1252
1385
|
) => any;
|
|
1253
1386
|
export declare const GroupFilterSensitiveLog: (obj: Group) => any;
|
|
1387
|
+
export declare const ImpersonationRoleFilterSensitiveLog: (
|
|
1388
|
+
obj: ImpersonationRole
|
|
1389
|
+
) => any;
|
|
1254
1390
|
export declare const MailboxExportJobFilterSensitiveLog: (
|
|
1255
1391
|
obj: MailboxExportJob
|
|
1256
1392
|
) => any;
|
|
@@ -1285,6 +1421,12 @@ export declare const ListGroupsRequestFilterSensitiveLog: (
|
|
|
1285
1421
|
export declare const ListGroupsResponseFilterSensitiveLog: (
|
|
1286
1422
|
obj: ListGroupsResponse
|
|
1287
1423
|
) => any;
|
|
1424
|
+
export declare const ListImpersonationRolesRequestFilterSensitiveLog: (
|
|
1425
|
+
obj: ListImpersonationRolesRequest
|
|
1426
|
+
) => any;
|
|
1427
|
+
export declare const ListImpersonationRolesResponseFilterSensitiveLog: (
|
|
1428
|
+
obj: ListImpersonationRolesResponse
|
|
1429
|
+
) => any;
|
|
1288
1430
|
export declare const ListMailboxExportJobsRequestFilterSensitiveLog: (
|
|
1289
1431
|
obj: ListMailboxExportJobsRequest
|
|
1290
1432
|
) => any;
|
|
@@ -1451,6 +1593,12 @@ export declare const UpdateDefaultMailDomainRequestFilterSensitiveLog: (
|
|
|
1451
1593
|
export declare const UpdateDefaultMailDomainResponseFilterSensitiveLog: (
|
|
1452
1594
|
obj: UpdateDefaultMailDomainResponse
|
|
1453
1595
|
) => any;
|
|
1596
|
+
export declare const UpdateImpersonationRoleRequestFilterSensitiveLog: (
|
|
1597
|
+
obj: UpdateImpersonationRoleRequest
|
|
1598
|
+
) => any;
|
|
1599
|
+
export declare const UpdateImpersonationRoleResponseFilterSensitiveLog: (
|
|
1600
|
+
obj: UpdateImpersonationRoleResponse
|
|
1601
|
+
) => any;
|
|
1454
1602
|
export declare const UpdateMailboxQuotaRequestFilterSensitiveLog: (
|
|
1455
1603
|
obj: UpdateMailboxQuotaRequest
|
|
1456
1604
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListImpersonationRolesCommandInput,
|
|
4
|
+
ListImpersonationRolesCommandOutput,
|
|
5
|
+
} from "../commands/ListImpersonationRolesCommand";
|
|
6
|
+
import { WorkMailPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListImpersonationRoles(
|
|
8
|
+
config: WorkMailPaginationConfiguration,
|
|
9
|
+
input: ListImpersonationRolesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListImpersonationRolesCommandOutput>;
|
|
@@ -3,6 +3,7 @@ export * from "./ListAliasesPaginator";
|
|
|
3
3
|
export * from "./ListAvailabilityConfigurationsPaginator";
|
|
4
4
|
export * from "./ListGroupMembersPaginator";
|
|
5
5
|
export * from "./ListGroupsPaginator";
|
|
6
|
+
export * from "./ListImpersonationRolesPaginator";
|
|
6
7
|
export * from "./ListMailDomainsPaginator";
|
|
7
8
|
export * from "./ListMailboxExportJobsPaginator";
|
|
8
9
|
export * from "./ListMailboxPermissionsPaginator";
|