@aws-sdk/client-workmail 3.34.0 → 3.35.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 +12 -0
- package/dist-cjs/WorkMail.js +916 -0
- package/dist-cjs/WorkMail.js.map +1 -0
- package/dist-cjs/WorkMailClient.js +79 -0
- package/dist-cjs/WorkMailClient.js.map +1 -0
- package/dist-cjs/commands/AssociateDelegateToResourceCommand.js +61 -0
- package/dist-cjs/commands/AssociateDelegateToResourceCommand.js.map +1 -0
- package/dist-cjs/commands/AssociateMemberToGroupCommand.js +61 -0
- package/dist-cjs/commands/AssociateMemberToGroupCommand.js.map +1 -0
- package/dist-cjs/commands/CancelMailboxExportJobCommand.js +65 -0
- package/dist-cjs/commands/CancelMailboxExportJobCommand.js.map +1 -0
- package/dist-cjs/commands/CreateAliasCommand.js +61 -0
- package/dist-cjs/commands/CreateAliasCommand.js.map +1 -0
- package/dist-cjs/commands/CreateGroupCommand.js +61 -0
- package/dist-cjs/commands/CreateGroupCommand.js.map +1 -0
- package/dist-cjs/commands/CreateMobileDeviceAccessRuleCommand.js +61 -0
- package/dist-cjs/commands/CreateMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-cjs/commands/CreateOrganizationCommand.js +65 -0
- package/dist-cjs/commands/CreateOrganizationCommand.js.map +1 -0
- package/dist-cjs/commands/CreateResourceCommand.js +61 -0
- package/dist-cjs/commands/CreateResourceCommand.js.map +1 -0
- package/dist-cjs/commands/CreateUserCommand.js +61 -0
- package/dist-cjs/commands/CreateUserCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteAccessControlRuleCommand.js +61 -0
- package/dist-cjs/commands/DeleteAccessControlRuleCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteAliasCommand.js +62 -0
- package/dist-cjs/commands/DeleteAliasCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteGroupCommand.js +61 -0
- package/dist-cjs/commands/DeleteGroupCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteMailboxPermissionsCommand.js +61 -0
- package/dist-cjs/commands/DeleteMailboxPermissionsCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessOverrideCommand.js +61 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessRuleCommand.js +61 -0
- package/dist-cjs/commands/DeleteMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteOrganizationCommand.js +61 -0
- package/dist-cjs/commands/DeleteOrganizationCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteResourceCommand.js +61 -0
- package/dist-cjs/commands/DeleteResourceCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +61 -0
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteUserCommand.js +65 -0
- package/dist-cjs/commands/DeleteUserCommand.js.map +1 -0
- package/dist-cjs/commands/DeregisterFromWorkMailCommand.js +64 -0
- package/dist-cjs/commands/DeregisterFromWorkMailCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeGroupCommand.js +61 -0
- package/dist-cjs/commands/DescribeGroupCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeMailboxExportJobCommand.js +61 -0
- package/dist-cjs/commands/DescribeMailboxExportJobCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeOrganizationCommand.js +62 -0
- package/dist-cjs/commands/DescribeOrganizationCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeResourceCommand.js +61 -0
- package/dist-cjs/commands/DescribeResourceCommand.js.map +1 -0
- package/dist-cjs/commands/DescribeUserCommand.js +61 -0
- package/dist-cjs/commands/DescribeUserCommand.js.map +1 -0
- package/dist-cjs/commands/DisassociateDelegateFromResourceCommand.js +61 -0
- package/dist-cjs/commands/DisassociateDelegateFromResourceCommand.js.map +1 -0
- package/dist-cjs/commands/DisassociateMemberFromGroupCommand.js +61 -0
- package/dist-cjs/commands/DisassociateMemberFromGroupCommand.js.map +1 -0
- package/dist-cjs/commands/GetAccessControlEffectCommand.js +62 -0
- package/dist-cjs/commands/GetAccessControlEffectCommand.js.map +1 -0
- package/dist-cjs/commands/GetDefaultRetentionPolicyCommand.js +61 -0
- package/dist-cjs/commands/GetDefaultRetentionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/GetMailboxDetailsCommand.js +61 -0
- package/dist-cjs/commands/GetMailboxDetailsCommand.js.map +1 -0
- package/dist-cjs/commands/GetMobileDeviceAccessEffectCommand.js +62 -0
- package/dist-cjs/commands/GetMobileDeviceAccessEffectCommand.js.map +1 -0
- package/dist-cjs/commands/GetMobileDeviceAccessOverrideCommand.js +61 -0
- package/dist-cjs/commands/GetMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-cjs/commands/ListAccessControlRulesCommand.js +61 -0
- package/dist-cjs/commands/ListAccessControlRulesCommand.js.map +1 -0
- package/dist-cjs/commands/ListAliasesCommand.js +62 -0
- package/dist-cjs/commands/ListAliasesCommand.js.map +1 -0
- package/dist-cjs/commands/ListGroupMembersCommand.js +62 -0
- package/dist-cjs/commands/ListGroupMembersCommand.js.map +1 -0
- package/dist-cjs/commands/ListGroupsCommand.js +61 -0
- package/dist-cjs/commands/ListGroupsCommand.js.map +1 -0
- package/dist-cjs/commands/ListMailboxExportJobsCommand.js +62 -0
- package/dist-cjs/commands/ListMailboxExportJobsCommand.js.map +1 -0
- package/dist-cjs/commands/ListMailboxPermissionsCommand.js +62 -0
- package/dist-cjs/commands/ListMailboxPermissionsCommand.js.map +1 -0
- package/dist-cjs/commands/ListMobileDeviceAccessOverridesCommand.js +61 -0
- package/dist-cjs/commands/ListMobileDeviceAccessOverridesCommand.js.map +1 -0
- package/dist-cjs/commands/ListMobileDeviceAccessRulesCommand.js +61 -0
- package/dist-cjs/commands/ListMobileDeviceAccessRulesCommand.js.map +1 -0
- package/dist-cjs/commands/ListOrganizationsCommand.js +61 -0
- package/dist-cjs/commands/ListOrganizationsCommand.js.map +1 -0
- package/dist-cjs/commands/ListResourceDelegatesCommand.js +62 -0
- package/dist-cjs/commands/ListResourceDelegatesCommand.js.map +1 -0
- package/dist-cjs/commands/ListResourcesCommand.js +61 -0
- package/dist-cjs/commands/ListResourcesCommand.js.map +1 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +61 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-cjs/commands/ListUsersCommand.js +61 -0
- package/dist-cjs/commands/ListUsersCommand.js.map +1 -0
- package/dist-cjs/commands/PutAccessControlRuleCommand.js +64 -0
- package/dist-cjs/commands/PutAccessControlRuleCommand.js.map +1 -0
- package/dist-cjs/commands/PutMailboxPermissionsCommand.js +62 -0
- package/dist-cjs/commands/PutMailboxPermissionsCommand.js.map +1 -0
- package/dist-cjs/commands/PutMobileDeviceAccessOverrideCommand.js +61 -0
- package/dist-cjs/commands/PutMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +61 -0
- package/dist-cjs/commands/PutRetentionPolicyCommand.js.map +1 -0
- package/dist-cjs/commands/RegisterToWorkMailCommand.js +67 -0
- package/dist-cjs/commands/RegisterToWorkMailCommand.js.map +1 -0
- package/dist-cjs/commands/ResetPasswordCommand.js +61 -0
- package/dist-cjs/commands/ResetPasswordCommand.js.map +1 -0
- package/dist-cjs/commands/StartMailboxExportJobCommand.js +64 -0
- package/dist-cjs/commands/StartMailboxExportJobCommand.js.map +1 -0
- package/dist-cjs/commands/TagResourceCommand.js +62 -0
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UntagResourceCommand.js +62 -0
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateMailboxQuotaCommand.js +62 -0
- package/dist-cjs/commands/UpdateMailboxQuotaCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateMobileDeviceAccessRuleCommand.js +61 -0
- package/dist-cjs/commands/UpdateMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-cjs/commands/UpdatePrimaryEmailAddressCommand.js +63 -0
- package/dist-cjs/commands/UpdatePrimaryEmailAddressCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateResourceCommand.js +63 -0
- package/dist-cjs/commands/UpdateResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +76 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/dist-cjs/models/index.js.map +1 -0
- package/dist-cjs/models/models_0.js +1438 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/dist-cjs/pagination/Interfaces.js.map +1 -0
- package/dist-cjs/pagination/ListAliasesPaginator.js +46 -0
- package/dist-cjs/pagination/ListAliasesPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListGroupMembersPaginator.js +46 -0
- package/dist-cjs/pagination/ListGroupMembersPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js +46 -0
- package/dist-cjs/pagination/ListGroupsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListMailboxExportJobsPaginator.js +46 -0
- package/dist-cjs/pagination/ListMailboxExportJobsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListMailboxPermissionsPaginator.js +46 -0
- package/dist-cjs/pagination/ListMailboxPermissionsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListMobileDeviceAccessOverridesPaginator.js +46 -0
- package/dist-cjs/pagination/ListMobileDeviceAccessOverridesPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListOrganizationsPaginator.js +46 -0
- package/dist-cjs/pagination/ListOrganizationsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListResourceDelegatesPaginator.js +46 -0
- package/dist-cjs/pagination/ListResourceDelegatesPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListResourcesPaginator.js +46 -0
- package/dist-cjs/pagination/ListResourcesPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListUsersPaginator.js +46 -0
- package/dist-cjs/pagination/ListUsersPaginator.js.map +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +6970 -0
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/dist-cjs/runtimeConfig.js +47 -0
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/dist-es/WorkMail.js +881 -0
- package/dist-es/WorkMail.js.map +1 -0
- package/dist-es/WorkMailClient.js +38 -0
- package/dist-es/WorkMailClient.js.map +1 -0
- package/dist-es/commands/AssociateDelegateToResourceCommand.js +40 -0
- package/dist-es/commands/AssociateDelegateToResourceCommand.js.map +1 -0
- package/dist-es/commands/AssociateMemberToGroupCommand.js +40 -0
- package/dist-es/commands/AssociateMemberToGroupCommand.js.map +1 -0
- package/dist-es/commands/CancelMailboxExportJobCommand.js +40 -0
- package/dist-es/commands/CancelMailboxExportJobCommand.js.map +1 -0
- package/dist-es/commands/CreateAliasCommand.js +40 -0
- package/dist-es/commands/CreateAliasCommand.js.map +1 -0
- package/dist-es/commands/CreateGroupCommand.js +40 -0
- package/dist-es/commands/CreateGroupCommand.js.map +1 -0
- package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js +40 -0
- package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-es/commands/CreateOrganizationCommand.js +40 -0
- package/dist-es/commands/CreateOrganizationCommand.js.map +1 -0
- package/dist-es/commands/CreateResourceCommand.js +40 -0
- package/dist-es/commands/CreateResourceCommand.js.map +1 -0
- package/dist-es/commands/CreateUserCommand.js +40 -0
- package/dist-es/commands/CreateUserCommand.js.map +1 -0
- package/dist-es/commands/DeleteAccessControlRuleCommand.js +40 -0
- package/dist-es/commands/DeleteAccessControlRuleCommand.js.map +1 -0
- package/dist-es/commands/DeleteAliasCommand.js +40 -0
- package/dist-es/commands/DeleteAliasCommand.js.map +1 -0
- package/dist-es/commands/DeleteGroupCommand.js +40 -0
- package/dist-es/commands/DeleteGroupCommand.js.map +1 -0
- package/dist-es/commands/DeleteMailboxPermissionsCommand.js +40 -0
- package/dist-es/commands/DeleteMailboxPermissionsCommand.js.map +1 -0
- package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js +40 -0
- package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js +40 -0
- package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-es/commands/DeleteOrganizationCommand.js +40 -0
- package/dist-es/commands/DeleteOrganizationCommand.js.map +1 -0
- package/dist-es/commands/DeleteResourceCommand.js +40 -0
- package/dist-es/commands/DeleteResourceCommand.js.map +1 -0
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +40 -0
- package/dist-es/commands/DeleteRetentionPolicyCommand.js.map +1 -0
- package/dist-es/commands/DeleteUserCommand.js +40 -0
- package/dist-es/commands/DeleteUserCommand.js.map +1 -0
- package/dist-es/commands/DeregisterFromWorkMailCommand.js +40 -0
- package/dist-es/commands/DeregisterFromWorkMailCommand.js.map +1 -0
- package/dist-es/commands/DescribeGroupCommand.js +40 -0
- package/dist-es/commands/DescribeGroupCommand.js.map +1 -0
- package/dist-es/commands/DescribeMailboxExportJobCommand.js +40 -0
- package/dist-es/commands/DescribeMailboxExportJobCommand.js.map +1 -0
- package/dist-es/commands/DescribeOrganizationCommand.js +40 -0
- package/dist-es/commands/DescribeOrganizationCommand.js.map +1 -0
- package/dist-es/commands/DescribeResourceCommand.js +40 -0
- package/dist-es/commands/DescribeResourceCommand.js.map +1 -0
- package/dist-es/commands/DescribeUserCommand.js +40 -0
- package/dist-es/commands/DescribeUserCommand.js.map +1 -0
- package/dist-es/commands/DisassociateDelegateFromResourceCommand.js +40 -0
- package/dist-es/commands/DisassociateDelegateFromResourceCommand.js.map +1 -0
- package/dist-es/commands/DisassociateMemberFromGroupCommand.js +40 -0
- package/dist-es/commands/DisassociateMemberFromGroupCommand.js.map +1 -0
- package/dist-es/commands/GetAccessControlEffectCommand.js +40 -0
- package/dist-es/commands/GetAccessControlEffectCommand.js.map +1 -0
- package/dist-es/commands/GetDefaultRetentionPolicyCommand.js +40 -0
- package/dist-es/commands/GetDefaultRetentionPolicyCommand.js.map +1 -0
- package/dist-es/commands/GetMailboxDetailsCommand.js +40 -0
- package/dist-es/commands/GetMailboxDetailsCommand.js.map +1 -0
- package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js +40 -0
- package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js.map +1 -0
- package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js +40 -0
- package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-es/commands/ListAccessControlRulesCommand.js +40 -0
- package/dist-es/commands/ListAccessControlRulesCommand.js.map +1 -0
- package/dist-es/commands/ListAliasesCommand.js +40 -0
- package/dist-es/commands/ListAliasesCommand.js.map +1 -0
- package/dist-es/commands/ListGroupMembersCommand.js +40 -0
- package/dist-es/commands/ListGroupMembersCommand.js.map +1 -0
- package/dist-es/commands/ListGroupsCommand.js +40 -0
- package/dist-es/commands/ListGroupsCommand.js.map +1 -0
- package/dist-es/commands/ListMailboxExportJobsCommand.js +40 -0
- package/dist-es/commands/ListMailboxExportJobsCommand.js.map +1 -0
- package/dist-es/commands/ListMailboxPermissionsCommand.js +40 -0
- package/dist-es/commands/ListMailboxPermissionsCommand.js.map +1 -0
- package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js +40 -0
- package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js.map +1 -0
- package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js +40 -0
- package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js.map +1 -0
- package/dist-es/commands/ListOrganizationsCommand.js +40 -0
- package/dist-es/commands/ListOrganizationsCommand.js.map +1 -0
- package/dist-es/commands/ListResourceDelegatesCommand.js +40 -0
- package/dist-es/commands/ListResourceDelegatesCommand.js.map +1 -0
- package/dist-es/commands/ListResourcesCommand.js +40 -0
- package/dist-es/commands/ListResourcesCommand.js.map +1 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +40 -0
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/dist-es/commands/ListUsersCommand.js +40 -0
- package/dist-es/commands/ListUsersCommand.js.map +1 -0
- package/dist-es/commands/PutAccessControlRuleCommand.js +40 -0
- package/dist-es/commands/PutAccessControlRuleCommand.js.map +1 -0
- package/dist-es/commands/PutMailboxPermissionsCommand.js +40 -0
- package/dist-es/commands/PutMailboxPermissionsCommand.js.map +1 -0
- package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js +40 -0
- package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js.map +1 -0
- package/dist-es/commands/PutRetentionPolicyCommand.js +40 -0
- package/dist-es/commands/PutRetentionPolicyCommand.js.map +1 -0
- package/dist-es/commands/RegisterToWorkMailCommand.js +40 -0
- package/dist-es/commands/RegisterToWorkMailCommand.js.map +1 -0
- package/dist-es/commands/ResetPasswordCommand.js +40 -0
- package/dist-es/commands/ResetPasswordCommand.js.map +1 -0
- package/dist-es/commands/StartMailboxExportJobCommand.js +40 -0
- package/dist-es/commands/StartMailboxExportJobCommand.js.map +1 -0
- package/dist-es/commands/TagResourceCommand.js +40 -0
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/dist-es/commands/UntagResourceCommand.js +40 -0
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/dist-es/commands/UpdateMailboxQuotaCommand.js +40 -0
- package/dist-es/commands/UpdateMailboxQuotaCommand.js.map +1 -0
- package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js +40 -0
- package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js.map +1 -0
- package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js +40 -0
- package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js.map +1 -0
- package/dist-es/commands/UpdateResourceCommand.js +40 -0
- package/dist-es/commands/UpdateResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/dist-es/index.js +73 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/dist-es/models/models_0.js +670 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/dist-es/pagination/Interfaces.js.map +1 -0
- package/dist-es/pagination/ListAliasesPaginator.js +75 -0
- package/dist-es/pagination/ListAliasesPaginator.js.map +1 -0
- package/dist-es/pagination/ListGroupMembersPaginator.js +75 -0
- package/dist-es/pagination/ListGroupMembersPaginator.js.map +1 -0
- package/dist-es/pagination/ListGroupsPaginator.js +75 -0
- package/dist-es/pagination/ListGroupsPaginator.js.map +1 -0
- package/dist-es/pagination/ListMailboxExportJobsPaginator.js +75 -0
- package/dist-es/pagination/ListMailboxExportJobsPaginator.js.map +1 -0
- package/dist-es/pagination/ListMailboxPermissionsPaginator.js +75 -0
- package/dist-es/pagination/ListMailboxPermissionsPaginator.js.map +1 -0
- package/dist-es/pagination/ListMobileDeviceAccessOverridesPaginator.js +75 -0
- package/dist-es/pagination/ListMobileDeviceAccessOverridesPaginator.js.map +1 -0
- package/dist-es/pagination/ListOrganizationsPaginator.js +75 -0
- package/dist-es/pagination/ListOrganizationsPaginator.js.map +1 -0
- package/dist-es/pagination/ListResourceDelegatesPaginator.js +75 -0
- package/dist-es/pagination/ListResourceDelegatesPaginator.js.map +1 -0
- package/dist-es/pagination/ListResourcesPaginator.js +75 -0
- package/dist-es/pagination/ListResourcesPaginator.js.map +1 -0
- package/dist-es/pagination/ListUsersPaginator.js +75 -0
- package/dist-es/pagination/ListUsersPaginator.js.map +1 -0
- package/dist-es/protocols/Aws_json1_1.js +7242 -0
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/dist-es/runtimeConfig.js +22 -0
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/dist-types/WorkMail.d.ts +492 -0
- package/dist-types/WorkMailClient.d.ts +225 -0
- package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +35 -0
- package/dist-types/commands/AssociateMemberToGroupCommand.d.ts +35 -0
- package/dist-types/commands/CancelMailboxExportJobCommand.d.ts +39 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +35 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +35 -0
- package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/commands/CreateOrganizationCommand.d.ts +39 -0
- package/dist-types/commands/CreateResourceCommand.d.ts +35 -0
- package/dist-types/commands/CreateUserCommand.d.ts +35 -0
- package/dist-types/commands/DeleteAccessControlRuleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +36 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMailboxPermissionsCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteResourceCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +39 -0
- package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +38 -0
- package/dist-types/commands/DescribeGroupCommand.d.ts +35 -0
- package/dist-types/commands/DescribeMailboxExportJobCommand.d.ts +35 -0
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +36 -0
- package/dist-types/commands/DescribeResourceCommand.d.ts +35 -0
- package/dist-types/commands/DescribeUserCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateMemberFromGroupCommand.d.ts +35 -0
- package/dist-types/commands/GetAccessControlEffectCommand.d.ts +36 -0
- package/dist-types/commands/GetDefaultRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetMailboxDetailsCommand.d.ts +35 -0
- package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +36 -0
- package/dist-types/commands/GetMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/commands/ListAccessControlRulesCommand.d.ts +35 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +36 -0
- package/dist-types/commands/ListGroupMembersCommand.d.ts +36 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +35 -0
- package/dist-types/commands/ListMailboxExportJobsCommand.d.ts +36 -0
- package/dist-types/commands/ListMailboxPermissionsCommand.d.ts +36 -0
- package/dist-types/commands/ListMobileDeviceAccessOverridesCommand.d.ts +35 -0
- package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +35 -0
- package/dist-types/commands/ListOrganizationsCommand.d.ts +35 -0
- package/dist-types/commands/ListResourceDelegatesCommand.d.ts +36 -0
- package/dist-types/commands/ListResourcesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListUsersCommand.d.ts +35 -0
- package/dist-types/commands/PutAccessControlRuleCommand.d.ts +38 -0
- package/dist-types/commands/PutMailboxPermissionsCommand.d.ts +36 -0
- package/dist-types/commands/PutMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/commands/RegisterToWorkMailCommand.d.ts +41 -0
- package/dist-types/commands/ResetPasswordCommand.d.ts +35 -0
- package/dist-types/commands/StartMailboxExportJobCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +36 -0
- package/dist-types/commands/UpdateMailboxQuotaCommand.d.ts +36 -0
- package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/commands/UpdatePrimaryEmailAddressCommand.d.ts +37 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +37 -0
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/dist-types/index.d.ts +72 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/dist-types/models/models_0.d.ts +3107 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupMembersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMailboxExportJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMailboxPermissionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMobileDeviceAccessOverridesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListOrganizationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourceDelegatesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUsersPaginator.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +176 -0
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/runtimeConfig.d.ts +37 -0
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/WorkMail.d.ts +492 -0
- package/dist-types/ts3.4/WorkMailClient.d.ts +225 -0
- package/dist-types/ts3.4/commands/AssociateDelegateToResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/AssociateMemberToGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CancelMailboxExportJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteAccessControlRuleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteMailboxPermissionsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeregisterFromWorkMailCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeMailboxExportJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DescribeResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DisassociateDelegateFromResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DisassociateMemberFromGroupCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetAccessControlEffectCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetDefaultRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMailboxDetailsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMobileDeviceAccessEffectCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAccessControlRulesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListGroupMembersCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListMailboxExportJobsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListMailboxPermissionsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListMobileDeviceAccessOverridesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListMobileDeviceAccessRulesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListOrganizationsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListResourceDelegatesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/PutAccessControlRuleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutMailboxPermissionsCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/PutMobileDeviceAccessOverrideCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/RegisterToWorkMailCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ResetPasswordCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/StartMailboxExportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateMailboxQuotaCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdatePrimaryEmailAddressCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +37 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/dist-types/ts3.4/index.d.ts +72 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3107 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupMembersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMailboxExportJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMailboxPermissionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMobileDeviceAccessOverridesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOrganizationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourceDelegatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +176 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/src/WorkMail.ts +2130 -0
- package/src/WorkMailClient.ts +538 -0
- package/src/commands/AssociateDelegateToResourceCommand.ts +100 -0
- package/src/commands/AssociateMemberToGroupCommand.ts +95 -0
- package/src/commands/CancelMailboxExportJobCommand.ts +99 -0
- package/src/commands/CreateAliasCommand.ts +95 -0
- package/src/commands/CreateGroupCommand.ts +95 -0
- package/src/commands/CreateMobileDeviceAccessRuleCommand.ts +100 -0
- package/src/commands/CreateOrganizationCommand.ts +99 -0
- package/src/commands/CreateResourceCommand.ts +95 -0
- package/src/commands/CreateUserCommand.ts +95 -0
- package/src/commands/DeleteAccessControlRuleCommand.ts +95 -0
- package/src/commands/DeleteAliasCommand.ts +96 -0
- package/src/commands/DeleteGroupCommand.ts +95 -0
- package/src/commands/DeleteMailboxPermissionsCommand.ts +95 -0
- package/src/commands/DeleteMobileDeviceAccessOverrideCommand.ts +103 -0
- package/src/commands/DeleteMobileDeviceAccessRuleCommand.ts +100 -0
- package/src/commands/DeleteOrganizationCommand.ts +95 -0
- package/src/commands/DeleteResourceCommand.ts +95 -0
- package/src/commands/DeleteRetentionPolicyCommand.ts +95 -0
- package/src/commands/DeleteUserCommand.ts +99 -0
- package/src/commands/DeregisterFromWorkMailCommand.ts +98 -0
- package/src/commands/DescribeGroupCommand.ts +95 -0
- package/src/commands/DescribeMailboxExportJobCommand.ts +95 -0
- package/src/commands/DescribeOrganizationCommand.ts +96 -0
- package/src/commands/DescribeResourceCommand.ts +95 -0
- package/src/commands/DescribeUserCommand.ts +95 -0
- package/src/commands/DisassociateDelegateFromResourceCommand.ts +103 -0
- package/src/commands/DisassociateMemberFromGroupCommand.ts +100 -0
- package/src/commands/GetAccessControlEffectCommand.ts +96 -0
- package/src/commands/GetDefaultRetentionPolicyCommand.ts +98 -0
- package/src/commands/GetMailboxDetailsCommand.ts +95 -0
- package/src/commands/GetMobileDeviceAccessEffectCommand.ts +101 -0
- package/src/commands/GetMobileDeviceAccessOverrideCommand.ts +100 -0
- package/src/commands/ListAccessControlRulesCommand.ts +95 -0
- package/src/commands/ListAliasesCommand.ts +96 -0
- package/src/commands/ListGroupMembersCommand.ts +96 -0
- package/src/commands/ListGroupsCommand.ts +95 -0
- package/src/commands/ListMailboxExportJobsCommand.ts +96 -0
- package/src/commands/ListMailboxPermissionsCommand.ts +96 -0
- package/src/commands/ListMobileDeviceAccessOverridesCommand.ts +103 -0
- package/src/commands/ListMobileDeviceAccessRulesCommand.ts +100 -0
- package/src/commands/ListOrganizationsCommand.ts +95 -0
- package/src/commands/ListResourceDelegatesCommand.ts +96 -0
- package/src/commands/ListResourcesCommand.ts +95 -0
- package/src/commands/ListTagsForResourceCommand.ts +95 -0
- package/src/commands/ListUsersCommand.ts +92 -0
- package/src/commands/PutAccessControlRuleCommand.ts +98 -0
- package/src/commands/PutMailboxPermissionsCommand.ts +96 -0
- package/src/commands/PutMobileDeviceAccessOverrideCommand.ts +100 -0
- package/src/commands/PutRetentionPolicyCommand.ts +95 -0
- package/src/commands/RegisterToWorkMailCommand.ts +101 -0
- package/src/commands/ResetPasswordCommand.ts +95 -0
- package/src/commands/StartMailboxExportJobCommand.ts +98 -0
- package/src/commands/TagResourceCommand.ts +96 -0
- package/src/commands/UntagResourceCommand.ts +96 -0
- package/src/commands/UpdateMailboxQuotaCommand.ts +96 -0
- package/src/commands/UpdateMobileDeviceAccessRuleCommand.ts +100 -0
- package/src/commands/UpdatePrimaryEmailAddressCommand.ts +100 -0
- package/src/commands/UpdateResourceCommand.ts +97 -0
- package/src/endpoints.ts +57 -0
- package/src/index.ts +72 -0
- package/{models → src/models}/index.ts +0 -0
- package/src/models/models_0.ts +3975 -0
- package/src/pagination/Interfaces.ts +8 -0
- package/src/pagination/ListAliasesPaginator.ts +55 -0
- package/src/pagination/ListGroupMembersPaginator.ts +59 -0
- package/src/pagination/ListGroupsPaginator.ts +55 -0
- package/src/pagination/ListMailboxExportJobsPaginator.ts +59 -0
- package/src/pagination/ListMailboxPermissionsPaginator.ts +59 -0
- package/src/pagination/ListMobileDeviceAccessOverridesPaginator.ts +59 -0
- package/src/pagination/ListOrganizationsPaginator.ts +59 -0
- package/src/pagination/ListResourceDelegatesPaginator.ts +59 -0
- package/src/pagination/ListResourcesPaginator.ts +59 -0
- package/src/pagination/ListUsersPaginator.ts +55 -0
- package/src/protocols/Aws_json1_1.ts +8511 -0
- package/src/runtimeConfig.browser.ts +41 -0
- package/src/runtimeConfig.native.ts +17 -0
- package/src/runtimeConfig.shared.ts +17 -0
- package/src/runtimeConfig.ts +46 -0
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- package/WorkMail.ts +0 -1981
- package/WorkMailClient.ts +0 -513
- package/commands/AssociateDelegateToResourceCommand.ts +0 -99
- package/commands/AssociateMemberToGroupCommand.ts +0 -94
- package/commands/CancelMailboxExportJobCommand.ts +0 -98
- package/commands/CreateAliasCommand.ts +0 -94
- package/commands/CreateGroupCommand.ts +0 -94
- package/commands/CreateMobileDeviceAccessRuleCommand.ts +0 -99
- package/commands/CreateOrganizationCommand.ts +0 -98
- package/commands/CreateResourceCommand.ts +0 -94
- package/commands/CreateUserCommand.ts +0 -94
- package/commands/DeleteAccessControlRuleCommand.ts +0 -94
- package/commands/DeleteAliasCommand.ts +0 -95
- package/commands/DeleteGroupCommand.ts +0 -94
- package/commands/DeleteMailboxPermissionsCommand.ts +0 -94
- package/commands/DeleteMobileDeviceAccessRuleCommand.ts +0 -99
- package/commands/DeleteOrganizationCommand.ts +0 -94
- package/commands/DeleteResourceCommand.ts +0 -94
- package/commands/DeleteRetentionPolicyCommand.ts +0 -94
- package/commands/DeleteUserCommand.ts +0 -98
- package/commands/DeregisterFromWorkMailCommand.ts +0 -97
- package/commands/DescribeGroupCommand.ts +0 -94
- package/commands/DescribeMailboxExportJobCommand.ts +0 -94
- package/commands/DescribeOrganizationCommand.ts +0 -95
- package/commands/DescribeResourceCommand.ts +0 -94
- package/commands/DescribeUserCommand.ts +0 -94
- package/commands/DisassociateDelegateFromResourceCommand.ts +0 -102
- package/commands/DisassociateMemberFromGroupCommand.ts +0 -99
- package/commands/GetAccessControlEffectCommand.ts +0 -95
- package/commands/GetDefaultRetentionPolicyCommand.ts +0 -97
- package/commands/GetMailboxDetailsCommand.ts +0 -94
- package/commands/GetMobileDeviceAccessEffectCommand.ts +0 -100
- package/commands/ListAccessControlRulesCommand.ts +0 -94
- package/commands/ListAliasesCommand.ts +0 -95
- package/commands/ListGroupMembersCommand.ts +0 -95
- package/commands/ListGroupsCommand.ts +0 -94
- package/commands/ListMailboxExportJobsCommand.ts +0 -95
- package/commands/ListMailboxPermissionsCommand.ts +0 -95
- package/commands/ListMobileDeviceAccessRulesCommand.ts +0 -99
- package/commands/ListOrganizationsCommand.ts +0 -94
- package/commands/ListResourceDelegatesCommand.ts +0 -95
- package/commands/ListResourcesCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListUsersCommand.ts +0 -91
- package/commands/PutAccessControlRuleCommand.ts +0 -97
- package/commands/PutMailboxPermissionsCommand.ts +0 -95
- package/commands/PutRetentionPolicyCommand.ts +0 -94
- package/commands/RegisterToWorkMailCommand.ts +0 -100
- package/commands/ResetPasswordCommand.ts +0 -94
- package/commands/StartMailboxExportJobCommand.ts +0 -97
- package/commands/TagResourceCommand.ts +0 -95
- package/commands/UntagResourceCommand.ts +0 -95
- package/commands/UpdateMailboxQuotaCommand.ts +0 -95
- package/commands/UpdateMobileDeviceAccessRuleCommand.ts +0 -99
- package/commands/UpdatePrimaryEmailAddressCommand.ts +0 -99
- package/commands/UpdateResourceCommand.ts +0 -96
- package/dist/cjs/WorkMail.js +0 -856
- package/dist/cjs/WorkMail.js.map +0 -1
- package/dist/cjs/WorkMailClient.js +0 -79
- package/dist/cjs/WorkMailClient.js.map +0 -1
- package/dist/cjs/commands/AssociateDelegateToResourceCommand.js +0 -61
- package/dist/cjs/commands/AssociateDelegateToResourceCommand.js.map +0 -1
- package/dist/cjs/commands/AssociateMemberToGroupCommand.js +0 -61
- package/dist/cjs/commands/AssociateMemberToGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CancelMailboxExportJobCommand.js +0 -65
- package/dist/cjs/commands/CancelMailboxExportJobCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAliasCommand.js +0 -61
- package/dist/cjs/commands/CreateAliasCommand.js.map +0 -1
- package/dist/cjs/commands/CreateGroupCommand.js +0 -61
- package/dist/cjs/commands/CreateGroupCommand.js.map +0 -1
- package/dist/cjs/commands/CreateMobileDeviceAccessRuleCommand.js +0 -61
- package/dist/cjs/commands/CreateMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/cjs/commands/CreateOrganizationCommand.js +0 -65
- package/dist/cjs/commands/CreateOrganizationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateResourceCommand.js +0 -61
- package/dist/cjs/commands/CreateResourceCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUserCommand.js +0 -61
- package/dist/cjs/commands/CreateUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAccessControlRuleCommand.js +0 -61
- package/dist/cjs/commands/DeleteAccessControlRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAliasCommand.js +0 -62
- package/dist/cjs/commands/DeleteAliasCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGroupCommand.js +0 -61
- package/dist/cjs/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteMailboxPermissionsCommand.js +0 -61
- package/dist/cjs/commands/DeleteMailboxPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteMobileDeviceAccessRuleCommand.js +0 -61
- package/dist/cjs/commands/DeleteMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteOrganizationCommand.js +0 -61
- package/dist/cjs/commands/DeleteOrganizationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourceCommand.js +0 -61
- package/dist/cjs/commands/DeleteResourceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js +0 -61
- package/dist/cjs/commands/DeleteRetentionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserCommand.js +0 -65
- package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeregisterFromWorkMailCommand.js +0 -64
- package/dist/cjs/commands/DeregisterFromWorkMailCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeGroupCommand.js +0 -61
- package/dist/cjs/commands/DescribeGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeMailboxExportJobCommand.js +0 -61
- package/dist/cjs/commands/DescribeMailboxExportJobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeOrganizationCommand.js +0 -62
- package/dist/cjs/commands/DescribeOrganizationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeResourceCommand.js +0 -61
- package/dist/cjs/commands/DescribeResourceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUserCommand.js +0 -61
- package/dist/cjs/commands/DescribeUserCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateDelegateFromResourceCommand.js +0 -61
- package/dist/cjs/commands/DisassociateDelegateFromResourceCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateMemberFromGroupCommand.js +0 -61
- package/dist/cjs/commands/DisassociateMemberFromGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetAccessControlEffectCommand.js +0 -62
- package/dist/cjs/commands/GetAccessControlEffectCommand.js.map +0 -1
- package/dist/cjs/commands/GetDefaultRetentionPolicyCommand.js +0 -61
- package/dist/cjs/commands/GetDefaultRetentionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetMailboxDetailsCommand.js +0 -61
- package/dist/cjs/commands/GetMailboxDetailsCommand.js.map +0 -1
- package/dist/cjs/commands/GetMobileDeviceAccessEffectCommand.js +0 -62
- package/dist/cjs/commands/GetMobileDeviceAccessEffectCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccessControlRulesCommand.js +0 -61
- package/dist/cjs/commands/ListAccessControlRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListAliasesCommand.js +0 -62
- package/dist/cjs/commands/ListAliasesCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupMembersCommand.js +0 -62
- package/dist/cjs/commands/ListGroupMembersCommand.js.map +0 -1
- package/dist/cjs/commands/ListGroupsCommand.js +0 -61
- package/dist/cjs/commands/ListGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListMailboxExportJobsCommand.js +0 -62
- package/dist/cjs/commands/ListMailboxExportJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListMailboxPermissionsCommand.js +0 -62
- package/dist/cjs/commands/ListMailboxPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListMobileDeviceAccessRulesCommand.js +0 -61
- package/dist/cjs/commands/ListMobileDeviceAccessRulesCommand.js.map +0 -1
- package/dist/cjs/commands/ListOrganizationsCommand.js +0 -61
- package/dist/cjs/commands/ListOrganizationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourceDelegatesCommand.js +0 -62
- package/dist/cjs/commands/ListResourceDelegatesCommand.js.map +0 -1
- package/dist/cjs/commands/ListResourcesCommand.js +0 -61
- package/dist/cjs/commands/ListResourcesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +0 -61
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListUsersCommand.js +0 -61
- package/dist/cjs/commands/ListUsersCommand.js.map +0 -1
- package/dist/cjs/commands/PutAccessControlRuleCommand.js +0 -64
- package/dist/cjs/commands/PutAccessControlRuleCommand.js.map +0 -1
- package/dist/cjs/commands/PutMailboxPermissionsCommand.js +0 -62
- package/dist/cjs/commands/PutMailboxPermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/PutRetentionPolicyCommand.js +0 -61
- package/dist/cjs/commands/PutRetentionPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterToWorkMailCommand.js +0 -67
- package/dist/cjs/commands/RegisterToWorkMailCommand.js.map +0 -1
- package/dist/cjs/commands/ResetPasswordCommand.js +0 -61
- package/dist/cjs/commands/ResetPasswordCommand.js.map +0 -1
- package/dist/cjs/commands/StartMailboxExportJobCommand.js +0 -64
- package/dist/cjs/commands/StartMailboxExportJobCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -62
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -62
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateMailboxQuotaCommand.js +0 -62
- package/dist/cjs/commands/UpdateMailboxQuotaCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateMobileDeviceAccessRuleCommand.js +0 -61
- package/dist/cjs/commands/UpdateMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePrimaryEmailAddressCommand.js +0 -63
- package/dist/cjs/commands/UpdatePrimaryEmailAddressCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateResourceCommand.js +0 -63
- package/dist/cjs/commands/UpdateResourceCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js +0 -71
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js +0 -1357
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAliasesPaginator.js +0 -46
- package/dist/cjs/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListGroupMembersPaginator.js +0 -46
- package/dist/cjs/pagination/ListGroupMembersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListGroupsPaginator.js +0 -46
- package/dist/cjs/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListMailboxExportJobsPaginator.js +0 -46
- package/dist/cjs/pagination/ListMailboxExportJobsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListMailboxPermissionsPaginator.js +0 -46
- package/dist/cjs/pagination/ListMailboxPermissionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListOrganizationsPaginator.js +0 -46
- package/dist/cjs/pagination/ListOrganizationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourceDelegatesPaginator.js +0 -46
- package/dist/cjs/pagination/ListResourceDelegatesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListResourcesPaginator.js +0 -46
- package/dist/cjs/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListUsersPaginator.js +0 -46
- package/dist/cjs/pagination/ListUsersPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js +0 -6542
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js +0 -41
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js +0 -46
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js +0 -21
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/WorkMail.js +0 -821
- package/dist/es/WorkMail.js.map +0 -1
- package/dist/es/WorkMailClient.js +0 -38
- package/dist/es/WorkMailClient.js.map +0 -1
- package/dist/es/commands/AssociateDelegateToResourceCommand.js +0 -40
- package/dist/es/commands/AssociateDelegateToResourceCommand.js.map +0 -1
- package/dist/es/commands/AssociateMemberToGroupCommand.js +0 -40
- package/dist/es/commands/AssociateMemberToGroupCommand.js.map +0 -1
- package/dist/es/commands/CancelMailboxExportJobCommand.js +0 -40
- package/dist/es/commands/CancelMailboxExportJobCommand.js.map +0 -1
- package/dist/es/commands/CreateAliasCommand.js +0 -40
- package/dist/es/commands/CreateAliasCommand.js.map +0 -1
- package/dist/es/commands/CreateGroupCommand.js +0 -40
- package/dist/es/commands/CreateGroupCommand.js.map +0 -1
- package/dist/es/commands/CreateMobileDeviceAccessRuleCommand.js +0 -40
- package/dist/es/commands/CreateMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/es/commands/CreateOrganizationCommand.js +0 -40
- package/dist/es/commands/CreateOrganizationCommand.js.map +0 -1
- package/dist/es/commands/CreateResourceCommand.js +0 -40
- package/dist/es/commands/CreateResourceCommand.js.map +0 -1
- package/dist/es/commands/CreateUserCommand.js +0 -40
- package/dist/es/commands/CreateUserCommand.js.map +0 -1
- package/dist/es/commands/DeleteAccessControlRuleCommand.js +0 -40
- package/dist/es/commands/DeleteAccessControlRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteAliasCommand.js +0 -40
- package/dist/es/commands/DeleteAliasCommand.js.map +0 -1
- package/dist/es/commands/DeleteGroupCommand.js +0 -40
- package/dist/es/commands/DeleteGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteMailboxPermissionsCommand.js +0 -40
- package/dist/es/commands/DeleteMailboxPermissionsCommand.js.map +0 -1
- package/dist/es/commands/DeleteMobileDeviceAccessRuleCommand.js +0 -40
- package/dist/es/commands/DeleteMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/es/commands/DeleteOrganizationCommand.js +0 -40
- package/dist/es/commands/DeleteOrganizationCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourceCommand.js +0 -40
- package/dist/es/commands/DeleteResourceCommand.js.map +0 -1
- package/dist/es/commands/DeleteRetentionPolicyCommand.js +0 -40
- package/dist/es/commands/DeleteRetentionPolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserCommand.js +0 -40
- package/dist/es/commands/DeleteUserCommand.js.map +0 -1
- package/dist/es/commands/DeregisterFromWorkMailCommand.js +0 -40
- package/dist/es/commands/DeregisterFromWorkMailCommand.js.map +0 -1
- package/dist/es/commands/DescribeGroupCommand.js +0 -40
- package/dist/es/commands/DescribeGroupCommand.js.map +0 -1
- package/dist/es/commands/DescribeMailboxExportJobCommand.js +0 -40
- package/dist/es/commands/DescribeMailboxExportJobCommand.js.map +0 -1
- package/dist/es/commands/DescribeOrganizationCommand.js +0 -40
- package/dist/es/commands/DescribeOrganizationCommand.js.map +0 -1
- package/dist/es/commands/DescribeResourceCommand.js +0 -40
- package/dist/es/commands/DescribeResourceCommand.js.map +0 -1
- package/dist/es/commands/DescribeUserCommand.js +0 -40
- package/dist/es/commands/DescribeUserCommand.js.map +0 -1
- package/dist/es/commands/DisassociateDelegateFromResourceCommand.js +0 -40
- package/dist/es/commands/DisassociateDelegateFromResourceCommand.js.map +0 -1
- package/dist/es/commands/DisassociateMemberFromGroupCommand.js +0 -40
- package/dist/es/commands/DisassociateMemberFromGroupCommand.js.map +0 -1
- package/dist/es/commands/GetAccessControlEffectCommand.js +0 -40
- package/dist/es/commands/GetAccessControlEffectCommand.js.map +0 -1
- package/dist/es/commands/GetDefaultRetentionPolicyCommand.js +0 -40
- package/dist/es/commands/GetDefaultRetentionPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetMailboxDetailsCommand.js +0 -40
- package/dist/es/commands/GetMailboxDetailsCommand.js.map +0 -1
- package/dist/es/commands/GetMobileDeviceAccessEffectCommand.js +0 -40
- package/dist/es/commands/GetMobileDeviceAccessEffectCommand.js.map +0 -1
- package/dist/es/commands/ListAccessControlRulesCommand.js +0 -40
- package/dist/es/commands/ListAccessControlRulesCommand.js.map +0 -1
- package/dist/es/commands/ListAliasesCommand.js +0 -40
- package/dist/es/commands/ListAliasesCommand.js.map +0 -1
- package/dist/es/commands/ListGroupMembersCommand.js +0 -40
- package/dist/es/commands/ListGroupMembersCommand.js.map +0 -1
- package/dist/es/commands/ListGroupsCommand.js +0 -40
- package/dist/es/commands/ListGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListMailboxExportJobsCommand.js +0 -40
- package/dist/es/commands/ListMailboxExportJobsCommand.js.map +0 -1
- package/dist/es/commands/ListMailboxPermissionsCommand.js +0 -40
- package/dist/es/commands/ListMailboxPermissionsCommand.js.map +0 -1
- package/dist/es/commands/ListMobileDeviceAccessRulesCommand.js +0 -40
- package/dist/es/commands/ListMobileDeviceAccessRulesCommand.js.map +0 -1
- package/dist/es/commands/ListOrganizationsCommand.js +0 -40
- package/dist/es/commands/ListOrganizationsCommand.js.map +0 -1
- package/dist/es/commands/ListResourceDelegatesCommand.js +0 -40
- package/dist/es/commands/ListResourceDelegatesCommand.js.map +0 -1
- package/dist/es/commands/ListResourcesCommand.js +0 -40
- package/dist/es/commands/ListResourcesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +0 -40
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListUsersCommand.js +0 -40
- package/dist/es/commands/ListUsersCommand.js.map +0 -1
- package/dist/es/commands/PutAccessControlRuleCommand.js +0 -40
- package/dist/es/commands/PutAccessControlRuleCommand.js.map +0 -1
- package/dist/es/commands/PutMailboxPermissionsCommand.js +0 -40
- package/dist/es/commands/PutMailboxPermissionsCommand.js.map +0 -1
- package/dist/es/commands/PutRetentionPolicyCommand.js +0 -40
- package/dist/es/commands/PutRetentionPolicyCommand.js.map +0 -1
- package/dist/es/commands/RegisterToWorkMailCommand.js +0 -40
- package/dist/es/commands/RegisterToWorkMailCommand.js.map +0 -1
- package/dist/es/commands/ResetPasswordCommand.js +0 -40
- package/dist/es/commands/ResetPasswordCommand.js.map +0 -1
- package/dist/es/commands/StartMailboxExportJobCommand.js +0 -40
- package/dist/es/commands/StartMailboxExportJobCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js +0 -40
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js +0 -40
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateMailboxQuotaCommand.js +0 -40
- package/dist/es/commands/UpdateMailboxQuotaCommand.js.map +0 -1
- package/dist/es/commands/UpdateMobileDeviceAccessRuleCommand.js +0 -40
- package/dist/es/commands/UpdateMobileDeviceAccessRuleCommand.js.map +0 -1
- package/dist/es/commands/UpdatePrimaryEmailAddressCommand.js +0 -40
- package/dist/es/commands/UpdatePrimaryEmailAddressCommand.js.map +0 -1
- package/dist/es/commands/UpdateResourceCommand.js +0 -40
- package/dist/es/commands/UpdateResourceCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -68
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js +0 -634
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAliasesPaginator.js +0 -75
- package/dist/es/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist/es/pagination/ListGroupMembersPaginator.js +0 -75
- package/dist/es/pagination/ListGroupMembersPaginator.js.map +0 -1
- package/dist/es/pagination/ListGroupsPaginator.js +0 -75
- package/dist/es/pagination/ListGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/ListMailboxExportJobsPaginator.js +0 -75
- package/dist/es/pagination/ListMailboxExportJobsPaginator.js.map +0 -1
- package/dist/es/pagination/ListMailboxPermissionsPaginator.js +0 -75
- package/dist/es/pagination/ListMailboxPermissionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListOrganizationsPaginator.js +0 -75
- package/dist/es/pagination/ListOrganizationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourceDelegatesPaginator.js +0 -75
- package/dist/es/pagination/ListResourceDelegatesPaginator.js.map +0 -1
- package/dist/es/pagination/ListResourcesPaginator.js +0 -75
- package/dist/es/pagination/ListResourcesPaginator.js.map +0 -1
- package/dist/es/pagination/ListUsersPaginator.js +0 -75
- package/dist/es/pagination/ListUsersPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js +0 -6794
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js +0 -17
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js +0 -22
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js +0 -14
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/WorkMail.d.ts +0 -464
- package/dist/types/WorkMailClient.d.ts +0 -221
- package/dist/types/commands/AssociateDelegateToResourceCommand.d.ts +0 -35
- package/dist/types/commands/AssociateMemberToGroupCommand.d.ts +0 -35
- package/dist/types/commands/CancelMailboxExportJobCommand.d.ts +0 -39
- package/dist/types/commands/CreateAliasCommand.d.ts +0 -35
- package/dist/types/commands/CreateGroupCommand.d.ts +0 -35
- package/dist/types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/commands/CreateOrganizationCommand.d.ts +0 -39
- package/dist/types/commands/CreateResourceCommand.d.ts +0 -35
- package/dist/types/commands/CreateUserCommand.d.ts +0 -35
- package/dist/types/commands/DeleteAccessControlRuleCommand.d.ts +0 -35
- package/dist/types/commands/DeleteAliasCommand.d.ts +0 -36
- package/dist/types/commands/DeleteGroupCommand.d.ts +0 -35
- package/dist/types/commands/DeleteMailboxPermissionsCommand.d.ts +0 -35
- package/dist/types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/commands/DeleteOrganizationCommand.d.ts +0 -35
- package/dist/types/commands/DeleteResourceCommand.d.ts +0 -35
- package/dist/types/commands/DeleteRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/commands/DeleteUserCommand.d.ts +0 -39
- package/dist/types/commands/DeregisterFromWorkMailCommand.d.ts +0 -38
- package/dist/types/commands/DescribeGroupCommand.d.ts +0 -35
- package/dist/types/commands/DescribeMailboxExportJobCommand.d.ts +0 -35
- package/dist/types/commands/DescribeOrganizationCommand.d.ts +0 -36
- package/dist/types/commands/DescribeResourceCommand.d.ts +0 -35
- package/dist/types/commands/DescribeUserCommand.d.ts +0 -35
- package/dist/types/commands/DisassociateDelegateFromResourceCommand.d.ts +0 -35
- package/dist/types/commands/DisassociateMemberFromGroupCommand.d.ts +0 -35
- package/dist/types/commands/GetAccessControlEffectCommand.d.ts +0 -36
- package/dist/types/commands/GetDefaultRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/commands/GetMailboxDetailsCommand.d.ts +0 -35
- package/dist/types/commands/GetMobileDeviceAccessEffectCommand.d.ts +0 -36
- package/dist/types/commands/ListAccessControlRulesCommand.d.ts +0 -35
- package/dist/types/commands/ListAliasesCommand.d.ts +0 -36
- package/dist/types/commands/ListGroupMembersCommand.d.ts +0 -36
- package/dist/types/commands/ListGroupsCommand.d.ts +0 -35
- package/dist/types/commands/ListMailboxExportJobsCommand.d.ts +0 -36
- package/dist/types/commands/ListMailboxPermissionsCommand.d.ts +0 -36
- package/dist/types/commands/ListMobileDeviceAccessRulesCommand.d.ts +0 -35
- package/dist/types/commands/ListOrganizationsCommand.d.ts +0 -35
- package/dist/types/commands/ListResourceDelegatesCommand.d.ts +0 -36
- package/dist/types/commands/ListResourcesCommand.d.ts +0 -35
- package/dist/types/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/commands/ListUsersCommand.d.ts +0 -35
- package/dist/types/commands/PutAccessControlRuleCommand.d.ts +0 -38
- package/dist/types/commands/PutMailboxPermissionsCommand.d.ts +0 -36
- package/dist/types/commands/PutRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/commands/RegisterToWorkMailCommand.d.ts +0 -41
- package/dist/types/commands/ResetPasswordCommand.d.ts +0 -35
- package/dist/types/commands/StartMailboxExportJobCommand.d.ts +0 -38
- package/dist/types/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/commands/UpdateMailboxQuotaCommand.d.ts +0 -36
- package/dist/types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/commands/UpdatePrimaryEmailAddressCommand.d.ts +0 -37
- package/dist/types/commands/UpdateResourceCommand.d.ts +0 -37
- package/dist/types/index.d.ts +0 -67
- package/dist/types/models/models_0.d.ts +0 -2856
- package/dist/types/pagination/Interfaces.d.ts +0 -6
- package/dist/types/pagination/ListAliasesPaginator.d.ts +0 -4
- package/dist/types/pagination/ListGroupMembersPaginator.d.ts +0 -4
- package/dist/types/pagination/ListGroupsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListMailboxExportJobsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListMailboxPermissionsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListOrganizationsPaginator.d.ts +0 -4
- package/dist/types/pagination/ListResourceDelegatesPaginator.d.ts +0 -4
- package/dist/types/pagination/ListResourcesPaginator.d.ts +0 -4
- package/dist/types/pagination/ListUsersPaginator.d.ts +0 -4
- package/dist/types/protocols/Aws_json1_1.d.ts +0 -164
- package/dist/types/runtimeConfig.d.ts +0 -37
- package/dist/types/ts3.4/WorkMail.d.ts +0 -464
- package/dist/types/ts3.4/WorkMailClient.d.ts +0 -221
- package/dist/types/ts3.4/commands/AssociateDelegateToResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/AssociateMemberToGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CancelMailboxExportJobCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/CreateAliasCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateOrganizationCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/CreateResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteAccessControlRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteAliasCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteMailboxPermissionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteOrganizationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteUserCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DeregisterFromWorkMailCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeMailboxExportJobCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeOrganizationCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DescribeResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DisassociateDelegateFromResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DisassociateMemberFromGroupCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetAccessControlEffectCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/GetDefaultRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetMailboxDetailsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetMobileDeviceAccessEffectCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAccessControlRulesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListAliasesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListGroupMembersCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListGroupsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListMailboxExportJobsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListMailboxPermissionsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListMobileDeviceAccessRulesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListOrganizationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListResourceDelegatesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListResourcesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListUsersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutAccessControlRuleCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/PutMailboxPermissionsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/RegisterToWorkMailCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ResetPasswordCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StartMailboxExportJobCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateMailboxQuotaCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdatePrimaryEmailAddressCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdateResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/index.d.ts +0 -67
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2856
- package/dist/types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist/types/ts3.4/pagination/ListAliasesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListGroupMembersPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListGroupsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListMailboxExportJobsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListMailboxPermissionsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListOrganizationsPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListResourceDelegatesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListResourcesPaginator.d.ts +0 -4
- package/dist/types/ts3.4/pagination/ListUsersPaginator.d.ts +0 -4
- package/dist/types/ts3.4/protocols/Aws_json1_1.d.ts +0 -164
- package/dist/types/ts3.4/runtimeConfig.d.ts +0 -37
- package/endpoints.ts +0 -57
- package/index.ts +0 -67
- package/models/models_0.ts +0 -3667
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAliasesPaginator.ts +0 -54
- package/pagination/ListGroupMembersPaginator.ts +0 -58
- package/pagination/ListGroupsPaginator.ts +0 -54
- package/pagination/ListMailboxExportJobsPaginator.ts +0 -58
- package/pagination/ListMailboxPermissionsPaginator.ts +0 -58
- package/pagination/ListOrganizationsPaginator.ts +0 -58
- package/pagination/ListResourceDelegatesPaginator.ts +0 -58
- package/pagination/ListResourcesPaginator.ts +0 -58
- package/pagination/ListUsersPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -7972
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
package/src/WorkMail.ts
ADDED
|
@@ -0,0 +1,2130 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
AssociateDelegateToResourceCommand,
|
|
5
|
+
AssociateDelegateToResourceCommandInput,
|
|
6
|
+
AssociateDelegateToResourceCommandOutput,
|
|
7
|
+
} from "./commands/AssociateDelegateToResourceCommand";
|
|
8
|
+
import {
|
|
9
|
+
AssociateMemberToGroupCommand,
|
|
10
|
+
AssociateMemberToGroupCommandInput,
|
|
11
|
+
AssociateMemberToGroupCommandOutput,
|
|
12
|
+
} from "./commands/AssociateMemberToGroupCommand";
|
|
13
|
+
import {
|
|
14
|
+
CancelMailboxExportJobCommand,
|
|
15
|
+
CancelMailboxExportJobCommandInput,
|
|
16
|
+
CancelMailboxExportJobCommandOutput,
|
|
17
|
+
} from "./commands/CancelMailboxExportJobCommand";
|
|
18
|
+
import { CreateAliasCommand, CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
|
|
19
|
+
import { CreateGroupCommand, CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/CreateGroupCommand";
|
|
20
|
+
import {
|
|
21
|
+
CreateMobileDeviceAccessRuleCommand,
|
|
22
|
+
CreateMobileDeviceAccessRuleCommandInput,
|
|
23
|
+
CreateMobileDeviceAccessRuleCommandOutput,
|
|
24
|
+
} from "./commands/CreateMobileDeviceAccessRuleCommand";
|
|
25
|
+
import {
|
|
26
|
+
CreateOrganizationCommand,
|
|
27
|
+
CreateOrganizationCommandInput,
|
|
28
|
+
CreateOrganizationCommandOutput,
|
|
29
|
+
} from "./commands/CreateOrganizationCommand";
|
|
30
|
+
import {
|
|
31
|
+
CreateResourceCommand,
|
|
32
|
+
CreateResourceCommandInput,
|
|
33
|
+
CreateResourceCommandOutput,
|
|
34
|
+
} from "./commands/CreateResourceCommand";
|
|
35
|
+
import { CreateUserCommand, CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
|
|
36
|
+
import {
|
|
37
|
+
DeleteAccessControlRuleCommand,
|
|
38
|
+
DeleteAccessControlRuleCommandInput,
|
|
39
|
+
DeleteAccessControlRuleCommandOutput,
|
|
40
|
+
} from "./commands/DeleteAccessControlRuleCommand";
|
|
41
|
+
import { DeleteAliasCommand, DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
|
|
42
|
+
import { DeleteGroupCommand, DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/DeleteGroupCommand";
|
|
43
|
+
import {
|
|
44
|
+
DeleteMailboxPermissionsCommand,
|
|
45
|
+
DeleteMailboxPermissionsCommandInput,
|
|
46
|
+
DeleteMailboxPermissionsCommandOutput,
|
|
47
|
+
} from "./commands/DeleteMailboxPermissionsCommand";
|
|
48
|
+
import {
|
|
49
|
+
DeleteMobileDeviceAccessOverrideCommand,
|
|
50
|
+
DeleteMobileDeviceAccessOverrideCommandInput,
|
|
51
|
+
DeleteMobileDeviceAccessOverrideCommandOutput,
|
|
52
|
+
} from "./commands/DeleteMobileDeviceAccessOverrideCommand";
|
|
53
|
+
import {
|
|
54
|
+
DeleteMobileDeviceAccessRuleCommand,
|
|
55
|
+
DeleteMobileDeviceAccessRuleCommandInput,
|
|
56
|
+
DeleteMobileDeviceAccessRuleCommandOutput,
|
|
57
|
+
} from "./commands/DeleteMobileDeviceAccessRuleCommand";
|
|
58
|
+
import {
|
|
59
|
+
DeleteOrganizationCommand,
|
|
60
|
+
DeleteOrganizationCommandInput,
|
|
61
|
+
DeleteOrganizationCommandOutput,
|
|
62
|
+
} from "./commands/DeleteOrganizationCommand";
|
|
63
|
+
import {
|
|
64
|
+
DeleteResourceCommand,
|
|
65
|
+
DeleteResourceCommandInput,
|
|
66
|
+
DeleteResourceCommandOutput,
|
|
67
|
+
} from "./commands/DeleteResourceCommand";
|
|
68
|
+
import {
|
|
69
|
+
DeleteRetentionPolicyCommand,
|
|
70
|
+
DeleteRetentionPolicyCommandInput,
|
|
71
|
+
DeleteRetentionPolicyCommandOutput,
|
|
72
|
+
} from "./commands/DeleteRetentionPolicyCommand";
|
|
73
|
+
import { DeleteUserCommand, DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
74
|
+
import {
|
|
75
|
+
DeregisterFromWorkMailCommand,
|
|
76
|
+
DeregisterFromWorkMailCommandInput,
|
|
77
|
+
DeregisterFromWorkMailCommandOutput,
|
|
78
|
+
} from "./commands/DeregisterFromWorkMailCommand";
|
|
79
|
+
import {
|
|
80
|
+
DescribeGroupCommand,
|
|
81
|
+
DescribeGroupCommandInput,
|
|
82
|
+
DescribeGroupCommandOutput,
|
|
83
|
+
} from "./commands/DescribeGroupCommand";
|
|
84
|
+
import {
|
|
85
|
+
DescribeMailboxExportJobCommand,
|
|
86
|
+
DescribeMailboxExportJobCommandInput,
|
|
87
|
+
DescribeMailboxExportJobCommandOutput,
|
|
88
|
+
} from "./commands/DescribeMailboxExportJobCommand";
|
|
89
|
+
import {
|
|
90
|
+
DescribeOrganizationCommand,
|
|
91
|
+
DescribeOrganizationCommandInput,
|
|
92
|
+
DescribeOrganizationCommandOutput,
|
|
93
|
+
} from "./commands/DescribeOrganizationCommand";
|
|
94
|
+
import {
|
|
95
|
+
DescribeResourceCommand,
|
|
96
|
+
DescribeResourceCommandInput,
|
|
97
|
+
DescribeResourceCommandOutput,
|
|
98
|
+
} from "./commands/DescribeResourceCommand";
|
|
99
|
+
import {
|
|
100
|
+
DescribeUserCommand,
|
|
101
|
+
DescribeUserCommandInput,
|
|
102
|
+
DescribeUserCommandOutput,
|
|
103
|
+
} from "./commands/DescribeUserCommand";
|
|
104
|
+
import {
|
|
105
|
+
DisassociateDelegateFromResourceCommand,
|
|
106
|
+
DisassociateDelegateFromResourceCommandInput,
|
|
107
|
+
DisassociateDelegateFromResourceCommandOutput,
|
|
108
|
+
} from "./commands/DisassociateDelegateFromResourceCommand";
|
|
109
|
+
import {
|
|
110
|
+
DisassociateMemberFromGroupCommand,
|
|
111
|
+
DisassociateMemberFromGroupCommandInput,
|
|
112
|
+
DisassociateMemberFromGroupCommandOutput,
|
|
113
|
+
} from "./commands/DisassociateMemberFromGroupCommand";
|
|
114
|
+
import {
|
|
115
|
+
GetAccessControlEffectCommand,
|
|
116
|
+
GetAccessControlEffectCommandInput,
|
|
117
|
+
GetAccessControlEffectCommandOutput,
|
|
118
|
+
} from "./commands/GetAccessControlEffectCommand";
|
|
119
|
+
import {
|
|
120
|
+
GetDefaultRetentionPolicyCommand,
|
|
121
|
+
GetDefaultRetentionPolicyCommandInput,
|
|
122
|
+
GetDefaultRetentionPolicyCommandOutput,
|
|
123
|
+
} from "./commands/GetDefaultRetentionPolicyCommand";
|
|
124
|
+
import {
|
|
125
|
+
GetMailboxDetailsCommand,
|
|
126
|
+
GetMailboxDetailsCommandInput,
|
|
127
|
+
GetMailboxDetailsCommandOutput,
|
|
128
|
+
} from "./commands/GetMailboxDetailsCommand";
|
|
129
|
+
import {
|
|
130
|
+
GetMobileDeviceAccessEffectCommand,
|
|
131
|
+
GetMobileDeviceAccessEffectCommandInput,
|
|
132
|
+
GetMobileDeviceAccessEffectCommandOutput,
|
|
133
|
+
} from "./commands/GetMobileDeviceAccessEffectCommand";
|
|
134
|
+
import {
|
|
135
|
+
GetMobileDeviceAccessOverrideCommand,
|
|
136
|
+
GetMobileDeviceAccessOverrideCommandInput,
|
|
137
|
+
GetMobileDeviceAccessOverrideCommandOutput,
|
|
138
|
+
} from "./commands/GetMobileDeviceAccessOverrideCommand";
|
|
139
|
+
import {
|
|
140
|
+
ListAccessControlRulesCommand,
|
|
141
|
+
ListAccessControlRulesCommandInput,
|
|
142
|
+
ListAccessControlRulesCommandOutput,
|
|
143
|
+
} from "./commands/ListAccessControlRulesCommand";
|
|
144
|
+
import { ListAliasesCommand, ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
|
|
145
|
+
import {
|
|
146
|
+
ListGroupMembersCommand,
|
|
147
|
+
ListGroupMembersCommandInput,
|
|
148
|
+
ListGroupMembersCommandOutput,
|
|
149
|
+
} from "./commands/ListGroupMembersCommand";
|
|
150
|
+
import { ListGroupsCommand, ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/ListGroupsCommand";
|
|
151
|
+
import {
|
|
152
|
+
ListMailboxExportJobsCommand,
|
|
153
|
+
ListMailboxExportJobsCommandInput,
|
|
154
|
+
ListMailboxExportJobsCommandOutput,
|
|
155
|
+
} from "./commands/ListMailboxExportJobsCommand";
|
|
156
|
+
import {
|
|
157
|
+
ListMailboxPermissionsCommand,
|
|
158
|
+
ListMailboxPermissionsCommandInput,
|
|
159
|
+
ListMailboxPermissionsCommandOutput,
|
|
160
|
+
} from "./commands/ListMailboxPermissionsCommand";
|
|
161
|
+
import {
|
|
162
|
+
ListMobileDeviceAccessOverridesCommand,
|
|
163
|
+
ListMobileDeviceAccessOverridesCommandInput,
|
|
164
|
+
ListMobileDeviceAccessOverridesCommandOutput,
|
|
165
|
+
} from "./commands/ListMobileDeviceAccessOverridesCommand";
|
|
166
|
+
import {
|
|
167
|
+
ListMobileDeviceAccessRulesCommand,
|
|
168
|
+
ListMobileDeviceAccessRulesCommandInput,
|
|
169
|
+
ListMobileDeviceAccessRulesCommandOutput,
|
|
170
|
+
} from "./commands/ListMobileDeviceAccessRulesCommand";
|
|
171
|
+
import {
|
|
172
|
+
ListOrganizationsCommand,
|
|
173
|
+
ListOrganizationsCommandInput,
|
|
174
|
+
ListOrganizationsCommandOutput,
|
|
175
|
+
} from "./commands/ListOrganizationsCommand";
|
|
176
|
+
import {
|
|
177
|
+
ListResourceDelegatesCommand,
|
|
178
|
+
ListResourceDelegatesCommandInput,
|
|
179
|
+
ListResourceDelegatesCommandOutput,
|
|
180
|
+
} from "./commands/ListResourceDelegatesCommand";
|
|
181
|
+
import {
|
|
182
|
+
ListResourcesCommand,
|
|
183
|
+
ListResourcesCommandInput,
|
|
184
|
+
ListResourcesCommandOutput,
|
|
185
|
+
} from "./commands/ListResourcesCommand";
|
|
186
|
+
import {
|
|
187
|
+
ListTagsForResourceCommand,
|
|
188
|
+
ListTagsForResourceCommandInput,
|
|
189
|
+
ListTagsForResourceCommandOutput,
|
|
190
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
191
|
+
import { ListUsersCommand, ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
192
|
+
import {
|
|
193
|
+
PutAccessControlRuleCommand,
|
|
194
|
+
PutAccessControlRuleCommandInput,
|
|
195
|
+
PutAccessControlRuleCommandOutput,
|
|
196
|
+
} from "./commands/PutAccessControlRuleCommand";
|
|
197
|
+
import {
|
|
198
|
+
PutMailboxPermissionsCommand,
|
|
199
|
+
PutMailboxPermissionsCommandInput,
|
|
200
|
+
PutMailboxPermissionsCommandOutput,
|
|
201
|
+
} from "./commands/PutMailboxPermissionsCommand";
|
|
202
|
+
import {
|
|
203
|
+
PutMobileDeviceAccessOverrideCommand,
|
|
204
|
+
PutMobileDeviceAccessOverrideCommandInput,
|
|
205
|
+
PutMobileDeviceAccessOverrideCommandOutput,
|
|
206
|
+
} from "./commands/PutMobileDeviceAccessOverrideCommand";
|
|
207
|
+
import {
|
|
208
|
+
PutRetentionPolicyCommand,
|
|
209
|
+
PutRetentionPolicyCommandInput,
|
|
210
|
+
PutRetentionPolicyCommandOutput,
|
|
211
|
+
} from "./commands/PutRetentionPolicyCommand";
|
|
212
|
+
import {
|
|
213
|
+
RegisterToWorkMailCommand,
|
|
214
|
+
RegisterToWorkMailCommandInput,
|
|
215
|
+
RegisterToWorkMailCommandOutput,
|
|
216
|
+
} from "./commands/RegisterToWorkMailCommand";
|
|
217
|
+
import {
|
|
218
|
+
ResetPasswordCommand,
|
|
219
|
+
ResetPasswordCommandInput,
|
|
220
|
+
ResetPasswordCommandOutput,
|
|
221
|
+
} from "./commands/ResetPasswordCommand";
|
|
222
|
+
import {
|
|
223
|
+
StartMailboxExportJobCommand,
|
|
224
|
+
StartMailboxExportJobCommandInput,
|
|
225
|
+
StartMailboxExportJobCommandOutput,
|
|
226
|
+
} from "./commands/StartMailboxExportJobCommand";
|
|
227
|
+
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
228
|
+
import {
|
|
229
|
+
UntagResourceCommand,
|
|
230
|
+
UntagResourceCommandInput,
|
|
231
|
+
UntagResourceCommandOutput,
|
|
232
|
+
} from "./commands/UntagResourceCommand";
|
|
233
|
+
import {
|
|
234
|
+
UpdateMailboxQuotaCommand,
|
|
235
|
+
UpdateMailboxQuotaCommandInput,
|
|
236
|
+
UpdateMailboxQuotaCommandOutput,
|
|
237
|
+
} from "./commands/UpdateMailboxQuotaCommand";
|
|
238
|
+
import {
|
|
239
|
+
UpdateMobileDeviceAccessRuleCommand,
|
|
240
|
+
UpdateMobileDeviceAccessRuleCommandInput,
|
|
241
|
+
UpdateMobileDeviceAccessRuleCommandOutput,
|
|
242
|
+
} from "./commands/UpdateMobileDeviceAccessRuleCommand";
|
|
243
|
+
import {
|
|
244
|
+
UpdatePrimaryEmailAddressCommand,
|
|
245
|
+
UpdatePrimaryEmailAddressCommandInput,
|
|
246
|
+
UpdatePrimaryEmailAddressCommandOutput,
|
|
247
|
+
} from "./commands/UpdatePrimaryEmailAddressCommand";
|
|
248
|
+
import {
|
|
249
|
+
UpdateResourceCommand,
|
|
250
|
+
UpdateResourceCommandInput,
|
|
251
|
+
UpdateResourceCommandOutput,
|
|
252
|
+
} from "./commands/UpdateResourceCommand";
|
|
253
|
+
import { WorkMailClient } from "./WorkMailClient";
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* <p>Amazon WorkMail is a secure, managed business email and calendaring service with support for
|
|
257
|
+
* existing desktop and mobile email clients. You can access your email, contacts, and
|
|
258
|
+
* calendars using Microsoft Outlook, your browser, or other native iOS and Android email
|
|
259
|
+
* applications. You can integrate WorkMail with your existing corporate directory and control
|
|
260
|
+
* both the keys that encrypt your data and the location in which your data is
|
|
261
|
+
* stored.</p>
|
|
262
|
+
* <p>The WorkMail API is designed for the following scenarios:</p>
|
|
263
|
+
* <ul>
|
|
264
|
+
* <li>
|
|
265
|
+
* <p>Listing and describing organizations</p>
|
|
266
|
+
* </li>
|
|
267
|
+
* </ul>
|
|
268
|
+
* <ul>
|
|
269
|
+
* <li>
|
|
270
|
+
* <p>Managing users</p>
|
|
271
|
+
* </li>
|
|
272
|
+
* </ul>
|
|
273
|
+
* <ul>
|
|
274
|
+
* <li>
|
|
275
|
+
* <p>Managing groups</p>
|
|
276
|
+
* </li>
|
|
277
|
+
* </ul>
|
|
278
|
+
* <ul>
|
|
279
|
+
* <li>
|
|
280
|
+
* <p>Managing resources</p>
|
|
281
|
+
* </li>
|
|
282
|
+
* </ul>
|
|
283
|
+
* <p>All WorkMail API operations are Amazon-authenticated and certificate-signed. They not
|
|
284
|
+
* only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management
|
|
285
|
+
* users and roles to help facilitate access, trust, and permission policies. By creating a
|
|
286
|
+
* role and allowing an IAM user to access the WorkMail site, the IAM user gains full
|
|
287
|
+
* administrative visibility into the entire WorkMail organization (or as set in the IAM
|
|
288
|
+
* policy). This includes, but is not limited to, the ability to create, update, and delete
|
|
289
|
+
* users, groups, and resources. This allows developers to perform the scenarios listed above,
|
|
290
|
+
* as well as give users the ability to grant access on a selective basis using the IAM
|
|
291
|
+
* model.</p>
|
|
292
|
+
*/
|
|
293
|
+
export class WorkMail extends WorkMailClient {
|
|
294
|
+
/**
|
|
295
|
+
* <p>Adds a member (user or group) to the resource's set of delegates.</p>
|
|
296
|
+
*/
|
|
297
|
+
public associateDelegateToResource(
|
|
298
|
+
args: AssociateDelegateToResourceCommandInput,
|
|
299
|
+
options?: __HttpHandlerOptions
|
|
300
|
+
): Promise<AssociateDelegateToResourceCommandOutput>;
|
|
301
|
+
public associateDelegateToResource(
|
|
302
|
+
args: AssociateDelegateToResourceCommandInput,
|
|
303
|
+
cb: (err: any, data?: AssociateDelegateToResourceCommandOutput) => void
|
|
304
|
+
): void;
|
|
305
|
+
public associateDelegateToResource(
|
|
306
|
+
args: AssociateDelegateToResourceCommandInput,
|
|
307
|
+
options: __HttpHandlerOptions,
|
|
308
|
+
cb: (err: any, data?: AssociateDelegateToResourceCommandOutput) => void
|
|
309
|
+
): void;
|
|
310
|
+
public associateDelegateToResource(
|
|
311
|
+
args: AssociateDelegateToResourceCommandInput,
|
|
312
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateDelegateToResourceCommandOutput) => void),
|
|
313
|
+
cb?: (err: any, data?: AssociateDelegateToResourceCommandOutput) => void
|
|
314
|
+
): Promise<AssociateDelegateToResourceCommandOutput> | void {
|
|
315
|
+
const command = new AssociateDelegateToResourceCommand(args);
|
|
316
|
+
if (typeof optionsOrCb === "function") {
|
|
317
|
+
this.send(command, optionsOrCb);
|
|
318
|
+
} else if (typeof cb === "function") {
|
|
319
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
320
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
321
|
+
} else {
|
|
322
|
+
return this.send(command, optionsOrCb);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* <p>Adds a member (user or group) to the group's set.</p>
|
|
328
|
+
*/
|
|
329
|
+
public associateMemberToGroup(
|
|
330
|
+
args: AssociateMemberToGroupCommandInput,
|
|
331
|
+
options?: __HttpHandlerOptions
|
|
332
|
+
): Promise<AssociateMemberToGroupCommandOutput>;
|
|
333
|
+
public associateMemberToGroup(
|
|
334
|
+
args: AssociateMemberToGroupCommandInput,
|
|
335
|
+
cb: (err: any, data?: AssociateMemberToGroupCommandOutput) => void
|
|
336
|
+
): void;
|
|
337
|
+
public associateMemberToGroup(
|
|
338
|
+
args: AssociateMemberToGroupCommandInput,
|
|
339
|
+
options: __HttpHandlerOptions,
|
|
340
|
+
cb: (err: any, data?: AssociateMemberToGroupCommandOutput) => void
|
|
341
|
+
): void;
|
|
342
|
+
public associateMemberToGroup(
|
|
343
|
+
args: AssociateMemberToGroupCommandInput,
|
|
344
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateMemberToGroupCommandOutput) => void),
|
|
345
|
+
cb?: (err: any, data?: AssociateMemberToGroupCommandOutput) => void
|
|
346
|
+
): Promise<AssociateMemberToGroupCommandOutput> | void {
|
|
347
|
+
const command = new AssociateMemberToGroupCommand(args);
|
|
348
|
+
if (typeof optionsOrCb === "function") {
|
|
349
|
+
this.send(command, optionsOrCb);
|
|
350
|
+
} else if (typeof cb === "function") {
|
|
351
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
352
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
353
|
+
} else {
|
|
354
|
+
return this.send(command, optionsOrCb);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* <p>Cancels a mailbox export job.</p>
|
|
360
|
+
* <note>
|
|
361
|
+
* <p>If the mailbox export job is near completion, it might not be possible to cancel
|
|
362
|
+
* it.</p>
|
|
363
|
+
* </note>
|
|
364
|
+
*/
|
|
365
|
+
public cancelMailboxExportJob(
|
|
366
|
+
args: CancelMailboxExportJobCommandInput,
|
|
367
|
+
options?: __HttpHandlerOptions
|
|
368
|
+
): Promise<CancelMailboxExportJobCommandOutput>;
|
|
369
|
+
public cancelMailboxExportJob(
|
|
370
|
+
args: CancelMailboxExportJobCommandInput,
|
|
371
|
+
cb: (err: any, data?: CancelMailboxExportJobCommandOutput) => void
|
|
372
|
+
): void;
|
|
373
|
+
public cancelMailboxExportJob(
|
|
374
|
+
args: CancelMailboxExportJobCommandInput,
|
|
375
|
+
options: __HttpHandlerOptions,
|
|
376
|
+
cb: (err: any, data?: CancelMailboxExportJobCommandOutput) => void
|
|
377
|
+
): void;
|
|
378
|
+
public cancelMailboxExportJob(
|
|
379
|
+
args: CancelMailboxExportJobCommandInput,
|
|
380
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelMailboxExportJobCommandOutput) => void),
|
|
381
|
+
cb?: (err: any, data?: CancelMailboxExportJobCommandOutput) => void
|
|
382
|
+
): Promise<CancelMailboxExportJobCommandOutput> | void {
|
|
383
|
+
const command = new CancelMailboxExportJobCommand(args);
|
|
384
|
+
if (typeof optionsOrCb === "function") {
|
|
385
|
+
this.send(command, optionsOrCb);
|
|
386
|
+
} else if (typeof cb === "function") {
|
|
387
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
388
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
389
|
+
} else {
|
|
390
|
+
return this.send(command, optionsOrCb);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* <p>Adds an alias to the set of a given member (user or group) of Amazon WorkMail.</p>
|
|
396
|
+
*/
|
|
397
|
+
public createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Promise<CreateAliasCommandOutput>;
|
|
398
|
+
public createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
|
|
399
|
+
public createAlias(
|
|
400
|
+
args: CreateAliasCommandInput,
|
|
401
|
+
options: __HttpHandlerOptions,
|
|
402
|
+
cb: (err: any, data?: CreateAliasCommandOutput) => void
|
|
403
|
+
): void;
|
|
404
|
+
public createAlias(
|
|
405
|
+
args: CreateAliasCommandInput,
|
|
406
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAliasCommandOutput) => void),
|
|
407
|
+
cb?: (err: any, data?: CreateAliasCommandOutput) => void
|
|
408
|
+
): Promise<CreateAliasCommandOutput> | void {
|
|
409
|
+
const command = new CreateAliasCommand(args);
|
|
410
|
+
if (typeof optionsOrCb === "function") {
|
|
411
|
+
this.send(command, optionsOrCb);
|
|
412
|
+
} else if (typeof cb === "function") {
|
|
413
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
414
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
415
|
+
} else {
|
|
416
|
+
return this.send(command, optionsOrCb);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* <p>Creates a group that can be used in Amazon WorkMail by calling the <a>RegisterToWorkMail</a> operation.</p>
|
|
422
|
+
*/
|
|
423
|
+
public createGroup(args: CreateGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateGroupCommandOutput>;
|
|
424
|
+
public createGroup(args: CreateGroupCommandInput, cb: (err: any, data?: CreateGroupCommandOutput) => void): void;
|
|
425
|
+
public createGroup(
|
|
426
|
+
args: CreateGroupCommandInput,
|
|
427
|
+
options: __HttpHandlerOptions,
|
|
428
|
+
cb: (err: any, data?: CreateGroupCommandOutput) => void
|
|
429
|
+
): void;
|
|
430
|
+
public createGroup(
|
|
431
|
+
args: CreateGroupCommandInput,
|
|
432
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateGroupCommandOutput) => void),
|
|
433
|
+
cb?: (err: any, data?: CreateGroupCommandOutput) => void
|
|
434
|
+
): Promise<CreateGroupCommandOutput> | void {
|
|
435
|
+
const command = new CreateGroupCommand(args);
|
|
436
|
+
if (typeof optionsOrCb === "function") {
|
|
437
|
+
this.send(command, optionsOrCb);
|
|
438
|
+
} else if (typeof cb === "function") {
|
|
439
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
440
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
441
|
+
} else {
|
|
442
|
+
return this.send(command, optionsOrCb);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* <p>Creates a new mobile device access rule for the specified Amazon WorkMail organization.</p>
|
|
448
|
+
*/
|
|
449
|
+
public createMobileDeviceAccessRule(
|
|
450
|
+
args: CreateMobileDeviceAccessRuleCommandInput,
|
|
451
|
+
options?: __HttpHandlerOptions
|
|
452
|
+
): Promise<CreateMobileDeviceAccessRuleCommandOutput>;
|
|
453
|
+
public createMobileDeviceAccessRule(
|
|
454
|
+
args: CreateMobileDeviceAccessRuleCommandInput,
|
|
455
|
+
cb: (err: any, data?: CreateMobileDeviceAccessRuleCommandOutput) => void
|
|
456
|
+
): void;
|
|
457
|
+
public createMobileDeviceAccessRule(
|
|
458
|
+
args: CreateMobileDeviceAccessRuleCommandInput,
|
|
459
|
+
options: __HttpHandlerOptions,
|
|
460
|
+
cb: (err: any, data?: CreateMobileDeviceAccessRuleCommandOutput) => void
|
|
461
|
+
): void;
|
|
462
|
+
public createMobileDeviceAccessRule(
|
|
463
|
+
args: CreateMobileDeviceAccessRuleCommandInput,
|
|
464
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateMobileDeviceAccessRuleCommandOutput) => void),
|
|
465
|
+
cb?: (err: any, data?: CreateMobileDeviceAccessRuleCommandOutput) => void
|
|
466
|
+
): Promise<CreateMobileDeviceAccessRuleCommandOutput> | void {
|
|
467
|
+
const command = new CreateMobileDeviceAccessRuleCommand(args);
|
|
468
|
+
if (typeof optionsOrCb === "function") {
|
|
469
|
+
this.send(command, optionsOrCb);
|
|
470
|
+
} else if (typeof cb === "function") {
|
|
471
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
472
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
473
|
+
} else {
|
|
474
|
+
return this.send(command, optionsOrCb);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* <p>Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/add_new_organization.html">Adding an organization</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>
|
|
480
|
+
* <p>You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/add_domain.html">Adding a domain</a> and <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/default_domain.html">Choosing the default domain</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>
|
|
481
|
+
* <p>Optionally, you can use a customer managed master key from AWS Key Management Service
|
|
482
|
+
* (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a
|
|
483
|
+
* default AWS managed master key for you.</p>
|
|
484
|
+
*/
|
|
485
|
+
public createOrganization(
|
|
486
|
+
args: CreateOrganizationCommandInput,
|
|
487
|
+
options?: __HttpHandlerOptions
|
|
488
|
+
): Promise<CreateOrganizationCommandOutput>;
|
|
489
|
+
public createOrganization(
|
|
490
|
+
args: CreateOrganizationCommandInput,
|
|
491
|
+
cb: (err: any, data?: CreateOrganizationCommandOutput) => void
|
|
492
|
+
): void;
|
|
493
|
+
public createOrganization(
|
|
494
|
+
args: CreateOrganizationCommandInput,
|
|
495
|
+
options: __HttpHandlerOptions,
|
|
496
|
+
cb: (err: any, data?: CreateOrganizationCommandOutput) => void
|
|
497
|
+
): void;
|
|
498
|
+
public createOrganization(
|
|
499
|
+
args: CreateOrganizationCommandInput,
|
|
500
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateOrganizationCommandOutput) => void),
|
|
501
|
+
cb?: (err: any, data?: CreateOrganizationCommandOutput) => void
|
|
502
|
+
): Promise<CreateOrganizationCommandOutput> | void {
|
|
503
|
+
const command = new CreateOrganizationCommand(args);
|
|
504
|
+
if (typeof optionsOrCb === "function") {
|
|
505
|
+
this.send(command, optionsOrCb);
|
|
506
|
+
} else if (typeof cb === "function") {
|
|
507
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
508
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
509
|
+
} else {
|
|
510
|
+
return this.send(command, optionsOrCb);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* <p>Creates a new Amazon WorkMail resource. </p>
|
|
516
|
+
*/
|
|
517
|
+
public createResource(
|
|
518
|
+
args: CreateResourceCommandInput,
|
|
519
|
+
options?: __HttpHandlerOptions
|
|
520
|
+
): Promise<CreateResourceCommandOutput>;
|
|
521
|
+
public createResource(
|
|
522
|
+
args: CreateResourceCommandInput,
|
|
523
|
+
cb: (err: any, data?: CreateResourceCommandOutput) => void
|
|
524
|
+
): void;
|
|
525
|
+
public createResource(
|
|
526
|
+
args: CreateResourceCommandInput,
|
|
527
|
+
options: __HttpHandlerOptions,
|
|
528
|
+
cb: (err: any, data?: CreateResourceCommandOutput) => void
|
|
529
|
+
): void;
|
|
530
|
+
public createResource(
|
|
531
|
+
args: CreateResourceCommandInput,
|
|
532
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateResourceCommandOutput) => void),
|
|
533
|
+
cb?: (err: any, data?: CreateResourceCommandOutput) => void
|
|
534
|
+
): Promise<CreateResourceCommandOutput> | void {
|
|
535
|
+
const command = new CreateResourceCommand(args);
|
|
536
|
+
if (typeof optionsOrCb === "function") {
|
|
537
|
+
this.send(command, optionsOrCb);
|
|
538
|
+
} else if (typeof cb === "function") {
|
|
539
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
540
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
541
|
+
} else {
|
|
542
|
+
return this.send(command, optionsOrCb);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* <p>Creates a user who can be used in Amazon WorkMail by calling the <a>RegisterToWorkMail</a> operation.</p>
|
|
548
|
+
*/
|
|
549
|
+
public createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
|
|
550
|
+
public createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
|
|
551
|
+
public createUser(
|
|
552
|
+
args: CreateUserCommandInput,
|
|
553
|
+
options: __HttpHandlerOptions,
|
|
554
|
+
cb: (err: any, data?: CreateUserCommandOutput) => void
|
|
555
|
+
): void;
|
|
556
|
+
public createUser(
|
|
557
|
+
args: CreateUserCommandInput,
|
|
558
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserCommandOutput) => void),
|
|
559
|
+
cb?: (err: any, data?: CreateUserCommandOutput) => void
|
|
560
|
+
): Promise<CreateUserCommandOutput> | void {
|
|
561
|
+
const command = new CreateUserCommand(args);
|
|
562
|
+
if (typeof optionsOrCb === "function") {
|
|
563
|
+
this.send(command, optionsOrCb);
|
|
564
|
+
} else if (typeof cb === "function") {
|
|
565
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
566
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
567
|
+
} else {
|
|
568
|
+
return this.send(command, optionsOrCb);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* <p>Deletes an access control rule for the specified WorkMail organization.</p>
|
|
574
|
+
*/
|
|
575
|
+
public deleteAccessControlRule(
|
|
576
|
+
args: DeleteAccessControlRuleCommandInput,
|
|
577
|
+
options?: __HttpHandlerOptions
|
|
578
|
+
): Promise<DeleteAccessControlRuleCommandOutput>;
|
|
579
|
+
public deleteAccessControlRule(
|
|
580
|
+
args: DeleteAccessControlRuleCommandInput,
|
|
581
|
+
cb: (err: any, data?: DeleteAccessControlRuleCommandOutput) => void
|
|
582
|
+
): void;
|
|
583
|
+
public deleteAccessControlRule(
|
|
584
|
+
args: DeleteAccessControlRuleCommandInput,
|
|
585
|
+
options: __HttpHandlerOptions,
|
|
586
|
+
cb: (err: any, data?: DeleteAccessControlRuleCommandOutput) => void
|
|
587
|
+
): void;
|
|
588
|
+
public deleteAccessControlRule(
|
|
589
|
+
args: DeleteAccessControlRuleCommandInput,
|
|
590
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAccessControlRuleCommandOutput) => void),
|
|
591
|
+
cb?: (err: any, data?: DeleteAccessControlRuleCommandOutput) => void
|
|
592
|
+
): Promise<DeleteAccessControlRuleCommandOutput> | void {
|
|
593
|
+
const command = new DeleteAccessControlRuleCommand(args);
|
|
594
|
+
if (typeof optionsOrCb === "function") {
|
|
595
|
+
this.send(command, optionsOrCb);
|
|
596
|
+
} else if (typeof cb === "function") {
|
|
597
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
598
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
599
|
+
} else {
|
|
600
|
+
return this.send(command, optionsOrCb);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* <p>Remove one or more specified aliases from a set of aliases for a given
|
|
606
|
+
* user.</p>
|
|
607
|
+
*/
|
|
608
|
+
public deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAliasCommandOutput>;
|
|
609
|
+
public deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
|
|
610
|
+
public deleteAlias(
|
|
611
|
+
args: DeleteAliasCommandInput,
|
|
612
|
+
options: __HttpHandlerOptions,
|
|
613
|
+
cb: (err: any, data?: DeleteAliasCommandOutput) => void
|
|
614
|
+
): void;
|
|
615
|
+
public deleteAlias(
|
|
616
|
+
args: DeleteAliasCommandInput,
|
|
617
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAliasCommandOutput) => void),
|
|
618
|
+
cb?: (err: any, data?: DeleteAliasCommandOutput) => void
|
|
619
|
+
): Promise<DeleteAliasCommandOutput> | void {
|
|
620
|
+
const command = new DeleteAliasCommand(args);
|
|
621
|
+
if (typeof optionsOrCb === "function") {
|
|
622
|
+
this.send(command, optionsOrCb);
|
|
623
|
+
} else if (typeof cb === "function") {
|
|
624
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
625
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
626
|
+
} else {
|
|
627
|
+
return this.send(command, optionsOrCb);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* <p>Deletes a group from Amazon WorkMail.</p>
|
|
633
|
+
*/
|
|
634
|
+
public deleteGroup(args: DeleteGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGroupCommandOutput>;
|
|
635
|
+
public deleteGroup(args: DeleteGroupCommandInput, cb: (err: any, data?: DeleteGroupCommandOutput) => void): void;
|
|
636
|
+
public deleteGroup(
|
|
637
|
+
args: DeleteGroupCommandInput,
|
|
638
|
+
options: __HttpHandlerOptions,
|
|
639
|
+
cb: (err: any, data?: DeleteGroupCommandOutput) => void
|
|
640
|
+
): void;
|
|
641
|
+
public deleteGroup(
|
|
642
|
+
args: DeleteGroupCommandInput,
|
|
643
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGroupCommandOutput) => void),
|
|
644
|
+
cb?: (err: any, data?: DeleteGroupCommandOutput) => void
|
|
645
|
+
): Promise<DeleteGroupCommandOutput> | void {
|
|
646
|
+
const command = new DeleteGroupCommand(args);
|
|
647
|
+
if (typeof optionsOrCb === "function") {
|
|
648
|
+
this.send(command, optionsOrCb);
|
|
649
|
+
} else if (typeof cb === "function") {
|
|
650
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
651
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
652
|
+
} else {
|
|
653
|
+
return this.send(command, optionsOrCb);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* <p>Deletes permissions granted to a member (user or group).</p>
|
|
659
|
+
*/
|
|
660
|
+
public deleteMailboxPermissions(
|
|
661
|
+
args: DeleteMailboxPermissionsCommandInput,
|
|
662
|
+
options?: __HttpHandlerOptions
|
|
663
|
+
): Promise<DeleteMailboxPermissionsCommandOutput>;
|
|
664
|
+
public deleteMailboxPermissions(
|
|
665
|
+
args: DeleteMailboxPermissionsCommandInput,
|
|
666
|
+
cb: (err: any, data?: DeleteMailboxPermissionsCommandOutput) => void
|
|
667
|
+
): void;
|
|
668
|
+
public deleteMailboxPermissions(
|
|
669
|
+
args: DeleteMailboxPermissionsCommandInput,
|
|
670
|
+
options: __HttpHandlerOptions,
|
|
671
|
+
cb: (err: any, data?: DeleteMailboxPermissionsCommandOutput) => void
|
|
672
|
+
): void;
|
|
673
|
+
public deleteMailboxPermissions(
|
|
674
|
+
args: DeleteMailboxPermissionsCommandInput,
|
|
675
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMailboxPermissionsCommandOutput) => void),
|
|
676
|
+
cb?: (err: any, data?: DeleteMailboxPermissionsCommandOutput) => void
|
|
677
|
+
): Promise<DeleteMailboxPermissionsCommandOutput> | void {
|
|
678
|
+
const command = new DeleteMailboxPermissionsCommand(args);
|
|
679
|
+
if (typeof optionsOrCb === "function") {
|
|
680
|
+
this.send(command, optionsOrCb);
|
|
681
|
+
} else if (typeof cb === "function") {
|
|
682
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
683
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
684
|
+
} else {
|
|
685
|
+
return this.send(command, optionsOrCb);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* <p>Deletes the mobile device access override for the given WorkMail organization, user, and device.</p>
|
|
691
|
+
*/
|
|
692
|
+
public deleteMobileDeviceAccessOverride(
|
|
693
|
+
args: DeleteMobileDeviceAccessOverrideCommandInput,
|
|
694
|
+
options?: __HttpHandlerOptions
|
|
695
|
+
): Promise<DeleteMobileDeviceAccessOverrideCommandOutput>;
|
|
696
|
+
public deleteMobileDeviceAccessOverride(
|
|
697
|
+
args: DeleteMobileDeviceAccessOverrideCommandInput,
|
|
698
|
+
cb: (err: any, data?: DeleteMobileDeviceAccessOverrideCommandOutput) => void
|
|
699
|
+
): void;
|
|
700
|
+
public deleteMobileDeviceAccessOverride(
|
|
701
|
+
args: DeleteMobileDeviceAccessOverrideCommandInput,
|
|
702
|
+
options: __HttpHandlerOptions,
|
|
703
|
+
cb: (err: any, data?: DeleteMobileDeviceAccessOverrideCommandOutput) => void
|
|
704
|
+
): void;
|
|
705
|
+
public deleteMobileDeviceAccessOverride(
|
|
706
|
+
args: DeleteMobileDeviceAccessOverrideCommandInput,
|
|
707
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMobileDeviceAccessOverrideCommandOutput) => void),
|
|
708
|
+
cb?: (err: any, data?: DeleteMobileDeviceAccessOverrideCommandOutput) => void
|
|
709
|
+
): Promise<DeleteMobileDeviceAccessOverrideCommandOutput> | void {
|
|
710
|
+
const command = new DeleteMobileDeviceAccessOverrideCommand(args);
|
|
711
|
+
if (typeof optionsOrCb === "function") {
|
|
712
|
+
this.send(command, optionsOrCb);
|
|
713
|
+
} else if (typeof cb === "function") {
|
|
714
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
715
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
716
|
+
} else {
|
|
717
|
+
return this.send(command, optionsOrCb);
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* <p>Deletes a mobile device access rule for the specified Amazon WorkMail organization.</p>
|
|
723
|
+
*/
|
|
724
|
+
public deleteMobileDeviceAccessRule(
|
|
725
|
+
args: DeleteMobileDeviceAccessRuleCommandInput,
|
|
726
|
+
options?: __HttpHandlerOptions
|
|
727
|
+
): Promise<DeleteMobileDeviceAccessRuleCommandOutput>;
|
|
728
|
+
public deleteMobileDeviceAccessRule(
|
|
729
|
+
args: DeleteMobileDeviceAccessRuleCommandInput,
|
|
730
|
+
cb: (err: any, data?: DeleteMobileDeviceAccessRuleCommandOutput) => void
|
|
731
|
+
): void;
|
|
732
|
+
public deleteMobileDeviceAccessRule(
|
|
733
|
+
args: DeleteMobileDeviceAccessRuleCommandInput,
|
|
734
|
+
options: __HttpHandlerOptions,
|
|
735
|
+
cb: (err: any, data?: DeleteMobileDeviceAccessRuleCommandOutput) => void
|
|
736
|
+
): void;
|
|
737
|
+
public deleteMobileDeviceAccessRule(
|
|
738
|
+
args: DeleteMobileDeviceAccessRuleCommandInput,
|
|
739
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteMobileDeviceAccessRuleCommandOutput) => void),
|
|
740
|
+
cb?: (err: any, data?: DeleteMobileDeviceAccessRuleCommandOutput) => void
|
|
741
|
+
): Promise<DeleteMobileDeviceAccessRuleCommandOutput> | void {
|
|
742
|
+
const command = new DeleteMobileDeviceAccessRuleCommand(args);
|
|
743
|
+
if (typeof optionsOrCb === "function") {
|
|
744
|
+
this.send(command, optionsOrCb);
|
|
745
|
+
} else if (typeof cb === "function") {
|
|
746
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
747
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
748
|
+
} else {
|
|
749
|
+
return this.send(command, optionsOrCb);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* <p>Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/remove_organization.html">Removing an organization</a> in the <i>Amazon WorkMail Administrator Guide</i>.</p>
|
|
755
|
+
*/
|
|
756
|
+
public deleteOrganization(
|
|
757
|
+
args: DeleteOrganizationCommandInput,
|
|
758
|
+
options?: __HttpHandlerOptions
|
|
759
|
+
): Promise<DeleteOrganizationCommandOutput>;
|
|
760
|
+
public deleteOrganization(
|
|
761
|
+
args: DeleteOrganizationCommandInput,
|
|
762
|
+
cb: (err: any, data?: DeleteOrganizationCommandOutput) => void
|
|
763
|
+
): void;
|
|
764
|
+
public deleteOrganization(
|
|
765
|
+
args: DeleteOrganizationCommandInput,
|
|
766
|
+
options: __HttpHandlerOptions,
|
|
767
|
+
cb: (err: any, data?: DeleteOrganizationCommandOutput) => void
|
|
768
|
+
): void;
|
|
769
|
+
public deleteOrganization(
|
|
770
|
+
args: DeleteOrganizationCommandInput,
|
|
771
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteOrganizationCommandOutput) => void),
|
|
772
|
+
cb?: (err: any, data?: DeleteOrganizationCommandOutput) => void
|
|
773
|
+
): Promise<DeleteOrganizationCommandOutput> | void {
|
|
774
|
+
const command = new DeleteOrganizationCommand(args);
|
|
775
|
+
if (typeof optionsOrCb === "function") {
|
|
776
|
+
this.send(command, optionsOrCb);
|
|
777
|
+
} else if (typeof cb === "function") {
|
|
778
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
779
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
780
|
+
} else {
|
|
781
|
+
return this.send(command, optionsOrCb);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* <p>Deletes the specified resource. </p>
|
|
787
|
+
*/
|
|
788
|
+
public deleteResource(
|
|
789
|
+
args: DeleteResourceCommandInput,
|
|
790
|
+
options?: __HttpHandlerOptions
|
|
791
|
+
): Promise<DeleteResourceCommandOutput>;
|
|
792
|
+
public deleteResource(
|
|
793
|
+
args: DeleteResourceCommandInput,
|
|
794
|
+
cb: (err: any, data?: DeleteResourceCommandOutput) => void
|
|
795
|
+
): void;
|
|
796
|
+
public deleteResource(
|
|
797
|
+
args: DeleteResourceCommandInput,
|
|
798
|
+
options: __HttpHandlerOptions,
|
|
799
|
+
cb: (err: any, data?: DeleteResourceCommandOutput) => void
|
|
800
|
+
): void;
|
|
801
|
+
public deleteResource(
|
|
802
|
+
args: DeleteResourceCommandInput,
|
|
803
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourceCommandOutput) => void),
|
|
804
|
+
cb?: (err: any, data?: DeleteResourceCommandOutput) => void
|
|
805
|
+
): Promise<DeleteResourceCommandOutput> | void {
|
|
806
|
+
const command = new DeleteResourceCommand(args);
|
|
807
|
+
if (typeof optionsOrCb === "function") {
|
|
808
|
+
this.send(command, optionsOrCb);
|
|
809
|
+
} else if (typeof cb === "function") {
|
|
810
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
811
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
812
|
+
} else {
|
|
813
|
+
return this.send(command, optionsOrCb);
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* <p>Deletes the specified retention policy from the specified organization.</p>
|
|
819
|
+
*/
|
|
820
|
+
public deleteRetentionPolicy(
|
|
821
|
+
args: DeleteRetentionPolicyCommandInput,
|
|
822
|
+
options?: __HttpHandlerOptions
|
|
823
|
+
): Promise<DeleteRetentionPolicyCommandOutput>;
|
|
824
|
+
public deleteRetentionPolicy(
|
|
825
|
+
args: DeleteRetentionPolicyCommandInput,
|
|
826
|
+
cb: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void
|
|
827
|
+
): void;
|
|
828
|
+
public deleteRetentionPolicy(
|
|
829
|
+
args: DeleteRetentionPolicyCommandInput,
|
|
830
|
+
options: __HttpHandlerOptions,
|
|
831
|
+
cb: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void
|
|
832
|
+
): void;
|
|
833
|
+
public deleteRetentionPolicy(
|
|
834
|
+
args: DeleteRetentionPolicyCommandInput,
|
|
835
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRetentionPolicyCommandOutput) => void),
|
|
836
|
+
cb?: (err: any, data?: DeleteRetentionPolicyCommandOutput) => void
|
|
837
|
+
): Promise<DeleteRetentionPolicyCommandOutput> | void {
|
|
838
|
+
const command = new DeleteRetentionPolicyCommand(args);
|
|
839
|
+
if (typeof optionsOrCb === "function") {
|
|
840
|
+
this.send(command, optionsOrCb);
|
|
841
|
+
} else if (typeof cb === "function") {
|
|
842
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
843
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
844
|
+
} else {
|
|
845
|
+
return this.send(command, optionsOrCb);
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* <p>Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a
|
|
851
|
+
* user, the user state must be <code>DISABLED</code>. Use the <a>DescribeUser</a>
|
|
852
|
+
* action to confirm the user state.</p>
|
|
853
|
+
* <p>Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for
|
|
854
|
+
* 30 days before they are permanently removed.</p>
|
|
855
|
+
*/
|
|
856
|
+
public deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
|
|
857
|
+
public deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
|
|
858
|
+
public deleteUser(
|
|
859
|
+
args: DeleteUserCommandInput,
|
|
860
|
+
options: __HttpHandlerOptions,
|
|
861
|
+
cb: (err: any, data?: DeleteUserCommandOutput) => void
|
|
862
|
+
): void;
|
|
863
|
+
public deleteUser(
|
|
864
|
+
args: DeleteUserCommandInput,
|
|
865
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserCommandOutput) => void),
|
|
866
|
+
cb?: (err: any, data?: DeleteUserCommandOutput) => void
|
|
867
|
+
): Promise<DeleteUserCommandOutput> | void {
|
|
868
|
+
const command = new DeleteUserCommand(args);
|
|
869
|
+
if (typeof optionsOrCb === "function") {
|
|
870
|
+
this.send(command, optionsOrCb);
|
|
871
|
+
} else if (typeof cb === "function") {
|
|
872
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
873
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
874
|
+
} else {
|
|
875
|
+
return this.send(command, optionsOrCb);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* <p>Mark a user, group, or resource as no longer used in Amazon WorkMail. This action
|
|
881
|
+
* disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days
|
|
882
|
+
* before they are permanently removed. The functionality in the console is
|
|
883
|
+
* <i>Disable</i>.</p>
|
|
884
|
+
*/
|
|
885
|
+
public deregisterFromWorkMail(
|
|
886
|
+
args: DeregisterFromWorkMailCommandInput,
|
|
887
|
+
options?: __HttpHandlerOptions
|
|
888
|
+
): Promise<DeregisterFromWorkMailCommandOutput>;
|
|
889
|
+
public deregisterFromWorkMail(
|
|
890
|
+
args: DeregisterFromWorkMailCommandInput,
|
|
891
|
+
cb: (err: any, data?: DeregisterFromWorkMailCommandOutput) => void
|
|
892
|
+
): void;
|
|
893
|
+
public deregisterFromWorkMail(
|
|
894
|
+
args: DeregisterFromWorkMailCommandInput,
|
|
895
|
+
options: __HttpHandlerOptions,
|
|
896
|
+
cb: (err: any, data?: DeregisterFromWorkMailCommandOutput) => void
|
|
897
|
+
): void;
|
|
898
|
+
public deregisterFromWorkMail(
|
|
899
|
+
args: DeregisterFromWorkMailCommandInput,
|
|
900
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterFromWorkMailCommandOutput) => void),
|
|
901
|
+
cb?: (err: any, data?: DeregisterFromWorkMailCommandOutput) => void
|
|
902
|
+
): Promise<DeregisterFromWorkMailCommandOutput> | void {
|
|
903
|
+
const command = new DeregisterFromWorkMailCommand(args);
|
|
904
|
+
if (typeof optionsOrCb === "function") {
|
|
905
|
+
this.send(command, optionsOrCb);
|
|
906
|
+
} else if (typeof cb === "function") {
|
|
907
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
908
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
909
|
+
} else {
|
|
910
|
+
return this.send(command, optionsOrCb);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* <p>Returns the data available for the group.</p>
|
|
916
|
+
*/
|
|
917
|
+
public describeGroup(
|
|
918
|
+
args: DescribeGroupCommandInput,
|
|
919
|
+
options?: __HttpHandlerOptions
|
|
920
|
+
): Promise<DescribeGroupCommandOutput>;
|
|
921
|
+
public describeGroup(
|
|
922
|
+
args: DescribeGroupCommandInput,
|
|
923
|
+
cb: (err: any, data?: DescribeGroupCommandOutput) => void
|
|
924
|
+
): void;
|
|
925
|
+
public describeGroup(
|
|
926
|
+
args: DescribeGroupCommandInput,
|
|
927
|
+
options: __HttpHandlerOptions,
|
|
928
|
+
cb: (err: any, data?: DescribeGroupCommandOutput) => void
|
|
929
|
+
): void;
|
|
930
|
+
public describeGroup(
|
|
931
|
+
args: DescribeGroupCommandInput,
|
|
932
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeGroupCommandOutput) => void),
|
|
933
|
+
cb?: (err: any, data?: DescribeGroupCommandOutput) => void
|
|
934
|
+
): Promise<DescribeGroupCommandOutput> | void {
|
|
935
|
+
const command = new DescribeGroupCommand(args);
|
|
936
|
+
if (typeof optionsOrCb === "function") {
|
|
937
|
+
this.send(command, optionsOrCb);
|
|
938
|
+
} else if (typeof cb === "function") {
|
|
939
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
940
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
941
|
+
} else {
|
|
942
|
+
return this.send(command, optionsOrCb);
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* <p>Describes the current status of a mailbox export job.</p>
|
|
948
|
+
*/
|
|
949
|
+
public describeMailboxExportJob(
|
|
950
|
+
args: DescribeMailboxExportJobCommandInput,
|
|
951
|
+
options?: __HttpHandlerOptions
|
|
952
|
+
): Promise<DescribeMailboxExportJobCommandOutput>;
|
|
953
|
+
public describeMailboxExportJob(
|
|
954
|
+
args: DescribeMailboxExportJobCommandInput,
|
|
955
|
+
cb: (err: any, data?: DescribeMailboxExportJobCommandOutput) => void
|
|
956
|
+
): void;
|
|
957
|
+
public describeMailboxExportJob(
|
|
958
|
+
args: DescribeMailboxExportJobCommandInput,
|
|
959
|
+
options: __HttpHandlerOptions,
|
|
960
|
+
cb: (err: any, data?: DescribeMailboxExportJobCommandOutput) => void
|
|
961
|
+
): void;
|
|
962
|
+
public describeMailboxExportJob(
|
|
963
|
+
args: DescribeMailboxExportJobCommandInput,
|
|
964
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeMailboxExportJobCommandOutput) => void),
|
|
965
|
+
cb?: (err: any, data?: DescribeMailboxExportJobCommandOutput) => void
|
|
966
|
+
): Promise<DescribeMailboxExportJobCommandOutput> | void {
|
|
967
|
+
const command = new DescribeMailboxExportJobCommand(args);
|
|
968
|
+
if (typeof optionsOrCb === "function") {
|
|
969
|
+
this.send(command, optionsOrCb);
|
|
970
|
+
} else if (typeof cb === "function") {
|
|
971
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
972
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
973
|
+
} else {
|
|
974
|
+
return this.send(command, optionsOrCb);
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* <p>Provides more information regarding a given organization based on its
|
|
980
|
+
* identifier.</p>
|
|
981
|
+
*/
|
|
982
|
+
public describeOrganization(
|
|
983
|
+
args: DescribeOrganizationCommandInput,
|
|
984
|
+
options?: __HttpHandlerOptions
|
|
985
|
+
): Promise<DescribeOrganizationCommandOutput>;
|
|
986
|
+
public describeOrganization(
|
|
987
|
+
args: DescribeOrganizationCommandInput,
|
|
988
|
+
cb: (err: any, data?: DescribeOrganizationCommandOutput) => void
|
|
989
|
+
): void;
|
|
990
|
+
public describeOrganization(
|
|
991
|
+
args: DescribeOrganizationCommandInput,
|
|
992
|
+
options: __HttpHandlerOptions,
|
|
993
|
+
cb: (err: any, data?: DescribeOrganizationCommandOutput) => void
|
|
994
|
+
): void;
|
|
995
|
+
public describeOrganization(
|
|
996
|
+
args: DescribeOrganizationCommandInput,
|
|
997
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeOrganizationCommandOutput) => void),
|
|
998
|
+
cb?: (err: any, data?: DescribeOrganizationCommandOutput) => void
|
|
999
|
+
): Promise<DescribeOrganizationCommandOutput> | void {
|
|
1000
|
+
const command = new DescribeOrganizationCommand(args);
|
|
1001
|
+
if (typeof optionsOrCb === "function") {
|
|
1002
|
+
this.send(command, optionsOrCb);
|
|
1003
|
+
} else if (typeof cb === "function") {
|
|
1004
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1005
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1006
|
+
} else {
|
|
1007
|
+
return this.send(command, optionsOrCb);
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* <p>Returns the data available for the resource.</p>
|
|
1013
|
+
*/
|
|
1014
|
+
public describeResource(
|
|
1015
|
+
args: DescribeResourceCommandInput,
|
|
1016
|
+
options?: __HttpHandlerOptions
|
|
1017
|
+
): Promise<DescribeResourceCommandOutput>;
|
|
1018
|
+
public describeResource(
|
|
1019
|
+
args: DescribeResourceCommandInput,
|
|
1020
|
+
cb: (err: any, data?: DescribeResourceCommandOutput) => void
|
|
1021
|
+
): void;
|
|
1022
|
+
public describeResource(
|
|
1023
|
+
args: DescribeResourceCommandInput,
|
|
1024
|
+
options: __HttpHandlerOptions,
|
|
1025
|
+
cb: (err: any, data?: DescribeResourceCommandOutput) => void
|
|
1026
|
+
): void;
|
|
1027
|
+
public describeResource(
|
|
1028
|
+
args: DescribeResourceCommandInput,
|
|
1029
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeResourceCommandOutput) => void),
|
|
1030
|
+
cb?: (err: any, data?: DescribeResourceCommandOutput) => void
|
|
1031
|
+
): Promise<DescribeResourceCommandOutput> | void {
|
|
1032
|
+
const command = new DescribeResourceCommand(args);
|
|
1033
|
+
if (typeof optionsOrCb === "function") {
|
|
1034
|
+
this.send(command, optionsOrCb);
|
|
1035
|
+
} else if (typeof cb === "function") {
|
|
1036
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1037
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1038
|
+
} else {
|
|
1039
|
+
return this.send(command, optionsOrCb);
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* <p>Provides information regarding the user.</p>
|
|
1045
|
+
*/
|
|
1046
|
+
public describeUser(
|
|
1047
|
+
args: DescribeUserCommandInput,
|
|
1048
|
+
options?: __HttpHandlerOptions
|
|
1049
|
+
): Promise<DescribeUserCommandOutput>;
|
|
1050
|
+
public describeUser(args: DescribeUserCommandInput, cb: (err: any, data?: DescribeUserCommandOutput) => void): void;
|
|
1051
|
+
public describeUser(
|
|
1052
|
+
args: DescribeUserCommandInput,
|
|
1053
|
+
options: __HttpHandlerOptions,
|
|
1054
|
+
cb: (err: any, data?: DescribeUserCommandOutput) => void
|
|
1055
|
+
): void;
|
|
1056
|
+
public describeUser(
|
|
1057
|
+
args: DescribeUserCommandInput,
|
|
1058
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUserCommandOutput) => void),
|
|
1059
|
+
cb?: (err: any, data?: DescribeUserCommandOutput) => void
|
|
1060
|
+
): Promise<DescribeUserCommandOutput> | void {
|
|
1061
|
+
const command = new DescribeUserCommand(args);
|
|
1062
|
+
if (typeof optionsOrCb === "function") {
|
|
1063
|
+
this.send(command, optionsOrCb);
|
|
1064
|
+
} else if (typeof cb === "function") {
|
|
1065
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1066
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1067
|
+
} else {
|
|
1068
|
+
return this.send(command, optionsOrCb);
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* <p>Removes a member from the resource's set of delegates.</p>
|
|
1074
|
+
*/
|
|
1075
|
+
public disassociateDelegateFromResource(
|
|
1076
|
+
args: DisassociateDelegateFromResourceCommandInput,
|
|
1077
|
+
options?: __HttpHandlerOptions
|
|
1078
|
+
): Promise<DisassociateDelegateFromResourceCommandOutput>;
|
|
1079
|
+
public disassociateDelegateFromResource(
|
|
1080
|
+
args: DisassociateDelegateFromResourceCommandInput,
|
|
1081
|
+
cb: (err: any, data?: DisassociateDelegateFromResourceCommandOutput) => void
|
|
1082
|
+
): void;
|
|
1083
|
+
public disassociateDelegateFromResource(
|
|
1084
|
+
args: DisassociateDelegateFromResourceCommandInput,
|
|
1085
|
+
options: __HttpHandlerOptions,
|
|
1086
|
+
cb: (err: any, data?: DisassociateDelegateFromResourceCommandOutput) => void
|
|
1087
|
+
): void;
|
|
1088
|
+
public disassociateDelegateFromResource(
|
|
1089
|
+
args: DisassociateDelegateFromResourceCommandInput,
|
|
1090
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateDelegateFromResourceCommandOutput) => void),
|
|
1091
|
+
cb?: (err: any, data?: DisassociateDelegateFromResourceCommandOutput) => void
|
|
1092
|
+
): Promise<DisassociateDelegateFromResourceCommandOutput> | void {
|
|
1093
|
+
const command = new DisassociateDelegateFromResourceCommand(args);
|
|
1094
|
+
if (typeof optionsOrCb === "function") {
|
|
1095
|
+
this.send(command, optionsOrCb);
|
|
1096
|
+
} else if (typeof cb === "function") {
|
|
1097
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1098
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1099
|
+
} else {
|
|
1100
|
+
return this.send(command, optionsOrCb);
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* <p>Removes a member from a group.</p>
|
|
1106
|
+
*/
|
|
1107
|
+
public disassociateMemberFromGroup(
|
|
1108
|
+
args: DisassociateMemberFromGroupCommandInput,
|
|
1109
|
+
options?: __HttpHandlerOptions
|
|
1110
|
+
): Promise<DisassociateMemberFromGroupCommandOutput>;
|
|
1111
|
+
public disassociateMemberFromGroup(
|
|
1112
|
+
args: DisassociateMemberFromGroupCommandInput,
|
|
1113
|
+
cb: (err: any, data?: DisassociateMemberFromGroupCommandOutput) => void
|
|
1114
|
+
): void;
|
|
1115
|
+
public disassociateMemberFromGroup(
|
|
1116
|
+
args: DisassociateMemberFromGroupCommandInput,
|
|
1117
|
+
options: __HttpHandlerOptions,
|
|
1118
|
+
cb: (err: any, data?: DisassociateMemberFromGroupCommandOutput) => void
|
|
1119
|
+
): void;
|
|
1120
|
+
public disassociateMemberFromGroup(
|
|
1121
|
+
args: DisassociateMemberFromGroupCommandInput,
|
|
1122
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateMemberFromGroupCommandOutput) => void),
|
|
1123
|
+
cb?: (err: any, data?: DisassociateMemberFromGroupCommandOutput) => void
|
|
1124
|
+
): Promise<DisassociateMemberFromGroupCommandOutput> | void {
|
|
1125
|
+
const command = new DisassociateMemberFromGroupCommand(args);
|
|
1126
|
+
if (typeof optionsOrCb === "function") {
|
|
1127
|
+
this.send(command, optionsOrCb);
|
|
1128
|
+
} else if (typeof cb === "function") {
|
|
1129
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1130
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1131
|
+
} else {
|
|
1132
|
+
return this.send(command, optionsOrCb);
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* <p>Gets the effects of an organization's access control rules as they apply to a
|
|
1138
|
+
* specified IPv4 address, access protocol action, or user ID. </p>
|
|
1139
|
+
*/
|
|
1140
|
+
public getAccessControlEffect(
|
|
1141
|
+
args: GetAccessControlEffectCommandInput,
|
|
1142
|
+
options?: __HttpHandlerOptions
|
|
1143
|
+
): Promise<GetAccessControlEffectCommandOutput>;
|
|
1144
|
+
public getAccessControlEffect(
|
|
1145
|
+
args: GetAccessControlEffectCommandInput,
|
|
1146
|
+
cb: (err: any, data?: GetAccessControlEffectCommandOutput) => void
|
|
1147
|
+
): void;
|
|
1148
|
+
public getAccessControlEffect(
|
|
1149
|
+
args: GetAccessControlEffectCommandInput,
|
|
1150
|
+
options: __HttpHandlerOptions,
|
|
1151
|
+
cb: (err: any, data?: GetAccessControlEffectCommandOutput) => void
|
|
1152
|
+
): void;
|
|
1153
|
+
public getAccessControlEffect(
|
|
1154
|
+
args: GetAccessControlEffectCommandInput,
|
|
1155
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAccessControlEffectCommandOutput) => void),
|
|
1156
|
+
cb?: (err: any, data?: GetAccessControlEffectCommandOutput) => void
|
|
1157
|
+
): Promise<GetAccessControlEffectCommandOutput> | void {
|
|
1158
|
+
const command = new GetAccessControlEffectCommand(args);
|
|
1159
|
+
if (typeof optionsOrCb === "function") {
|
|
1160
|
+
this.send(command, optionsOrCb);
|
|
1161
|
+
} else if (typeof cb === "function") {
|
|
1162
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1163
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1164
|
+
} else {
|
|
1165
|
+
return this.send(command, optionsOrCb);
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* <p>Gets the default retention policy details for the specified organization.</p>
|
|
1171
|
+
*/
|
|
1172
|
+
public getDefaultRetentionPolicy(
|
|
1173
|
+
args: GetDefaultRetentionPolicyCommandInput,
|
|
1174
|
+
options?: __HttpHandlerOptions
|
|
1175
|
+
): Promise<GetDefaultRetentionPolicyCommandOutput>;
|
|
1176
|
+
public getDefaultRetentionPolicy(
|
|
1177
|
+
args: GetDefaultRetentionPolicyCommandInput,
|
|
1178
|
+
cb: (err: any, data?: GetDefaultRetentionPolicyCommandOutput) => void
|
|
1179
|
+
): void;
|
|
1180
|
+
public getDefaultRetentionPolicy(
|
|
1181
|
+
args: GetDefaultRetentionPolicyCommandInput,
|
|
1182
|
+
options: __HttpHandlerOptions,
|
|
1183
|
+
cb: (err: any, data?: GetDefaultRetentionPolicyCommandOutput) => void
|
|
1184
|
+
): void;
|
|
1185
|
+
public getDefaultRetentionPolicy(
|
|
1186
|
+
args: GetDefaultRetentionPolicyCommandInput,
|
|
1187
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDefaultRetentionPolicyCommandOutput) => void),
|
|
1188
|
+
cb?: (err: any, data?: GetDefaultRetentionPolicyCommandOutput) => void
|
|
1189
|
+
): Promise<GetDefaultRetentionPolicyCommandOutput> | void {
|
|
1190
|
+
const command = new GetDefaultRetentionPolicyCommand(args);
|
|
1191
|
+
if (typeof optionsOrCb === "function") {
|
|
1192
|
+
this.send(command, optionsOrCb);
|
|
1193
|
+
} else if (typeof cb === "function") {
|
|
1194
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1195
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1196
|
+
} else {
|
|
1197
|
+
return this.send(command, optionsOrCb);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* <p>Requests a user's mailbox details for a specified organization and user.</p>
|
|
1203
|
+
*/
|
|
1204
|
+
public getMailboxDetails(
|
|
1205
|
+
args: GetMailboxDetailsCommandInput,
|
|
1206
|
+
options?: __HttpHandlerOptions
|
|
1207
|
+
): Promise<GetMailboxDetailsCommandOutput>;
|
|
1208
|
+
public getMailboxDetails(
|
|
1209
|
+
args: GetMailboxDetailsCommandInput,
|
|
1210
|
+
cb: (err: any, data?: GetMailboxDetailsCommandOutput) => void
|
|
1211
|
+
): void;
|
|
1212
|
+
public getMailboxDetails(
|
|
1213
|
+
args: GetMailboxDetailsCommandInput,
|
|
1214
|
+
options: __HttpHandlerOptions,
|
|
1215
|
+
cb: (err: any, data?: GetMailboxDetailsCommandOutput) => void
|
|
1216
|
+
): void;
|
|
1217
|
+
public getMailboxDetails(
|
|
1218
|
+
args: GetMailboxDetailsCommandInput,
|
|
1219
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMailboxDetailsCommandOutput) => void),
|
|
1220
|
+
cb?: (err: any, data?: GetMailboxDetailsCommandOutput) => void
|
|
1221
|
+
): Promise<GetMailboxDetailsCommandOutput> | void {
|
|
1222
|
+
const command = new GetMailboxDetailsCommand(args);
|
|
1223
|
+
if (typeof optionsOrCb === "function") {
|
|
1224
|
+
this.send(command, optionsOrCb);
|
|
1225
|
+
} else if (typeof cb === "function") {
|
|
1226
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1227
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1228
|
+
} else {
|
|
1229
|
+
return this.send(command, optionsOrCb);
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* <p>Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access
|
|
1235
|
+
* rules for the Amazon WorkMail organization for a particular user's attributes.</p>
|
|
1236
|
+
*/
|
|
1237
|
+
public getMobileDeviceAccessEffect(
|
|
1238
|
+
args: GetMobileDeviceAccessEffectCommandInput,
|
|
1239
|
+
options?: __HttpHandlerOptions
|
|
1240
|
+
): Promise<GetMobileDeviceAccessEffectCommandOutput>;
|
|
1241
|
+
public getMobileDeviceAccessEffect(
|
|
1242
|
+
args: GetMobileDeviceAccessEffectCommandInput,
|
|
1243
|
+
cb: (err: any, data?: GetMobileDeviceAccessEffectCommandOutput) => void
|
|
1244
|
+
): void;
|
|
1245
|
+
public getMobileDeviceAccessEffect(
|
|
1246
|
+
args: GetMobileDeviceAccessEffectCommandInput,
|
|
1247
|
+
options: __HttpHandlerOptions,
|
|
1248
|
+
cb: (err: any, data?: GetMobileDeviceAccessEffectCommandOutput) => void
|
|
1249
|
+
): void;
|
|
1250
|
+
public getMobileDeviceAccessEffect(
|
|
1251
|
+
args: GetMobileDeviceAccessEffectCommandInput,
|
|
1252
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMobileDeviceAccessEffectCommandOutput) => void),
|
|
1253
|
+
cb?: (err: any, data?: GetMobileDeviceAccessEffectCommandOutput) => void
|
|
1254
|
+
): Promise<GetMobileDeviceAccessEffectCommandOutput> | void {
|
|
1255
|
+
const command = new GetMobileDeviceAccessEffectCommand(args);
|
|
1256
|
+
if (typeof optionsOrCb === "function") {
|
|
1257
|
+
this.send(command, optionsOrCb);
|
|
1258
|
+
} else if (typeof cb === "function") {
|
|
1259
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1260
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1261
|
+
} else {
|
|
1262
|
+
return this.send(command, optionsOrCb);
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* <p>Gets the mobile device access override for the given WorkMail organization, user, and device.</p>
|
|
1268
|
+
*/
|
|
1269
|
+
public getMobileDeviceAccessOverride(
|
|
1270
|
+
args: GetMobileDeviceAccessOverrideCommandInput,
|
|
1271
|
+
options?: __HttpHandlerOptions
|
|
1272
|
+
): Promise<GetMobileDeviceAccessOverrideCommandOutput>;
|
|
1273
|
+
public getMobileDeviceAccessOverride(
|
|
1274
|
+
args: GetMobileDeviceAccessOverrideCommandInput,
|
|
1275
|
+
cb: (err: any, data?: GetMobileDeviceAccessOverrideCommandOutput) => void
|
|
1276
|
+
): void;
|
|
1277
|
+
public getMobileDeviceAccessOverride(
|
|
1278
|
+
args: GetMobileDeviceAccessOverrideCommandInput,
|
|
1279
|
+
options: __HttpHandlerOptions,
|
|
1280
|
+
cb: (err: any, data?: GetMobileDeviceAccessOverrideCommandOutput) => void
|
|
1281
|
+
): void;
|
|
1282
|
+
public getMobileDeviceAccessOverride(
|
|
1283
|
+
args: GetMobileDeviceAccessOverrideCommandInput,
|
|
1284
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMobileDeviceAccessOverrideCommandOutput) => void),
|
|
1285
|
+
cb?: (err: any, data?: GetMobileDeviceAccessOverrideCommandOutput) => void
|
|
1286
|
+
): Promise<GetMobileDeviceAccessOverrideCommandOutput> | void {
|
|
1287
|
+
const command = new GetMobileDeviceAccessOverrideCommand(args);
|
|
1288
|
+
if (typeof optionsOrCb === "function") {
|
|
1289
|
+
this.send(command, optionsOrCb);
|
|
1290
|
+
} else if (typeof cb === "function") {
|
|
1291
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1292
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1293
|
+
} else {
|
|
1294
|
+
return this.send(command, optionsOrCb);
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>Lists the access control rules for the specified organization.</p>
|
|
1300
|
+
*/
|
|
1301
|
+
public listAccessControlRules(
|
|
1302
|
+
args: ListAccessControlRulesCommandInput,
|
|
1303
|
+
options?: __HttpHandlerOptions
|
|
1304
|
+
): Promise<ListAccessControlRulesCommandOutput>;
|
|
1305
|
+
public listAccessControlRules(
|
|
1306
|
+
args: ListAccessControlRulesCommandInput,
|
|
1307
|
+
cb: (err: any, data?: ListAccessControlRulesCommandOutput) => void
|
|
1308
|
+
): void;
|
|
1309
|
+
public listAccessControlRules(
|
|
1310
|
+
args: ListAccessControlRulesCommandInput,
|
|
1311
|
+
options: __HttpHandlerOptions,
|
|
1312
|
+
cb: (err: any, data?: ListAccessControlRulesCommandOutput) => void
|
|
1313
|
+
): void;
|
|
1314
|
+
public listAccessControlRules(
|
|
1315
|
+
args: ListAccessControlRulesCommandInput,
|
|
1316
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAccessControlRulesCommandOutput) => void),
|
|
1317
|
+
cb?: (err: any, data?: ListAccessControlRulesCommandOutput) => void
|
|
1318
|
+
): Promise<ListAccessControlRulesCommandOutput> | void {
|
|
1319
|
+
const command = new ListAccessControlRulesCommand(args);
|
|
1320
|
+
if (typeof optionsOrCb === "function") {
|
|
1321
|
+
this.send(command, optionsOrCb);
|
|
1322
|
+
} else if (typeof cb === "function") {
|
|
1323
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1324
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1325
|
+
} else {
|
|
1326
|
+
return this.send(command, optionsOrCb);
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* <p>Creates a paginated call to list the aliases associated with a given
|
|
1332
|
+
* entity.</p>
|
|
1333
|
+
*/
|
|
1334
|
+
public listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListAliasesCommandOutput>;
|
|
1335
|
+
public listAliases(args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
|
|
1336
|
+
public listAliases(
|
|
1337
|
+
args: ListAliasesCommandInput,
|
|
1338
|
+
options: __HttpHandlerOptions,
|
|
1339
|
+
cb: (err: any, data?: ListAliasesCommandOutput) => void
|
|
1340
|
+
): void;
|
|
1341
|
+
public listAliases(
|
|
1342
|
+
args: ListAliasesCommandInput,
|
|
1343
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAliasesCommandOutput) => void),
|
|
1344
|
+
cb?: (err: any, data?: ListAliasesCommandOutput) => void
|
|
1345
|
+
): Promise<ListAliasesCommandOutput> | void {
|
|
1346
|
+
const command = new ListAliasesCommand(args);
|
|
1347
|
+
if (typeof optionsOrCb === "function") {
|
|
1348
|
+
this.send(command, optionsOrCb);
|
|
1349
|
+
} else if (typeof cb === "function") {
|
|
1350
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1351
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1352
|
+
} else {
|
|
1353
|
+
return this.send(command, optionsOrCb);
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* <p>Returns an overview of the members of a group. Users and groups can be members of a
|
|
1359
|
+
* group.</p>
|
|
1360
|
+
*/
|
|
1361
|
+
public listGroupMembers(
|
|
1362
|
+
args: ListGroupMembersCommandInput,
|
|
1363
|
+
options?: __HttpHandlerOptions
|
|
1364
|
+
): Promise<ListGroupMembersCommandOutput>;
|
|
1365
|
+
public listGroupMembers(
|
|
1366
|
+
args: ListGroupMembersCommandInput,
|
|
1367
|
+
cb: (err: any, data?: ListGroupMembersCommandOutput) => void
|
|
1368
|
+
): void;
|
|
1369
|
+
public listGroupMembers(
|
|
1370
|
+
args: ListGroupMembersCommandInput,
|
|
1371
|
+
options: __HttpHandlerOptions,
|
|
1372
|
+
cb: (err: any, data?: ListGroupMembersCommandOutput) => void
|
|
1373
|
+
): void;
|
|
1374
|
+
public listGroupMembers(
|
|
1375
|
+
args: ListGroupMembersCommandInput,
|
|
1376
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGroupMembersCommandOutput) => void),
|
|
1377
|
+
cb?: (err: any, data?: ListGroupMembersCommandOutput) => void
|
|
1378
|
+
): Promise<ListGroupMembersCommandOutput> | void {
|
|
1379
|
+
const command = new ListGroupMembersCommand(args);
|
|
1380
|
+
if (typeof optionsOrCb === "function") {
|
|
1381
|
+
this.send(command, optionsOrCb);
|
|
1382
|
+
} else if (typeof cb === "function") {
|
|
1383
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1384
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1385
|
+
} else {
|
|
1386
|
+
return this.send(command, optionsOrCb);
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* <p>Returns summaries of the organization's groups.</p>
|
|
1392
|
+
*/
|
|
1393
|
+
public listGroups(args: ListGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsCommandOutput>;
|
|
1394
|
+
public listGroups(args: ListGroupsCommandInput, cb: (err: any, data?: ListGroupsCommandOutput) => void): void;
|
|
1395
|
+
public listGroups(
|
|
1396
|
+
args: ListGroupsCommandInput,
|
|
1397
|
+
options: __HttpHandlerOptions,
|
|
1398
|
+
cb: (err: any, data?: ListGroupsCommandOutput) => void
|
|
1399
|
+
): void;
|
|
1400
|
+
public listGroups(
|
|
1401
|
+
args: ListGroupsCommandInput,
|
|
1402
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGroupsCommandOutput) => void),
|
|
1403
|
+
cb?: (err: any, data?: ListGroupsCommandOutput) => void
|
|
1404
|
+
): Promise<ListGroupsCommandOutput> | void {
|
|
1405
|
+
const command = new ListGroupsCommand(args);
|
|
1406
|
+
if (typeof optionsOrCb === "function") {
|
|
1407
|
+
this.send(command, optionsOrCb);
|
|
1408
|
+
} else if (typeof cb === "function") {
|
|
1409
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1410
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1411
|
+
} else {
|
|
1412
|
+
return this.send(command, optionsOrCb);
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* <p>Lists the mailbox export jobs started for the specified organization within the last
|
|
1418
|
+
* seven days.</p>
|
|
1419
|
+
*/
|
|
1420
|
+
public listMailboxExportJobs(
|
|
1421
|
+
args: ListMailboxExportJobsCommandInput,
|
|
1422
|
+
options?: __HttpHandlerOptions
|
|
1423
|
+
): Promise<ListMailboxExportJobsCommandOutput>;
|
|
1424
|
+
public listMailboxExportJobs(
|
|
1425
|
+
args: ListMailboxExportJobsCommandInput,
|
|
1426
|
+
cb: (err: any, data?: ListMailboxExportJobsCommandOutput) => void
|
|
1427
|
+
): void;
|
|
1428
|
+
public listMailboxExportJobs(
|
|
1429
|
+
args: ListMailboxExportJobsCommandInput,
|
|
1430
|
+
options: __HttpHandlerOptions,
|
|
1431
|
+
cb: (err: any, data?: ListMailboxExportJobsCommandOutput) => void
|
|
1432
|
+
): void;
|
|
1433
|
+
public listMailboxExportJobs(
|
|
1434
|
+
args: ListMailboxExportJobsCommandInput,
|
|
1435
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMailboxExportJobsCommandOutput) => void),
|
|
1436
|
+
cb?: (err: any, data?: ListMailboxExportJobsCommandOutput) => void
|
|
1437
|
+
): Promise<ListMailboxExportJobsCommandOutput> | void {
|
|
1438
|
+
const command = new ListMailboxExportJobsCommand(args);
|
|
1439
|
+
if (typeof optionsOrCb === "function") {
|
|
1440
|
+
this.send(command, optionsOrCb);
|
|
1441
|
+
} else if (typeof cb === "function") {
|
|
1442
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1443
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1444
|
+
} else {
|
|
1445
|
+
return this.send(command, optionsOrCb);
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* <p>Lists the mailbox permissions associated with a user, group, or resource
|
|
1451
|
+
* mailbox.</p>
|
|
1452
|
+
*/
|
|
1453
|
+
public listMailboxPermissions(
|
|
1454
|
+
args: ListMailboxPermissionsCommandInput,
|
|
1455
|
+
options?: __HttpHandlerOptions
|
|
1456
|
+
): Promise<ListMailboxPermissionsCommandOutput>;
|
|
1457
|
+
public listMailboxPermissions(
|
|
1458
|
+
args: ListMailboxPermissionsCommandInput,
|
|
1459
|
+
cb: (err: any, data?: ListMailboxPermissionsCommandOutput) => void
|
|
1460
|
+
): void;
|
|
1461
|
+
public listMailboxPermissions(
|
|
1462
|
+
args: ListMailboxPermissionsCommandInput,
|
|
1463
|
+
options: __HttpHandlerOptions,
|
|
1464
|
+
cb: (err: any, data?: ListMailboxPermissionsCommandOutput) => void
|
|
1465
|
+
): void;
|
|
1466
|
+
public listMailboxPermissions(
|
|
1467
|
+
args: ListMailboxPermissionsCommandInput,
|
|
1468
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMailboxPermissionsCommandOutput) => void),
|
|
1469
|
+
cb?: (err: any, data?: ListMailboxPermissionsCommandOutput) => void
|
|
1470
|
+
): Promise<ListMailboxPermissionsCommandOutput> | void {
|
|
1471
|
+
const command = new ListMailboxPermissionsCommand(args);
|
|
1472
|
+
if (typeof optionsOrCb === "function") {
|
|
1473
|
+
this.send(command, optionsOrCb);
|
|
1474
|
+
} else if (typeof cb === "function") {
|
|
1475
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1476
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1477
|
+
} else {
|
|
1478
|
+
return this.send(command, optionsOrCb);
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.</p>
|
|
1484
|
+
*/
|
|
1485
|
+
public listMobileDeviceAccessOverrides(
|
|
1486
|
+
args: ListMobileDeviceAccessOverridesCommandInput,
|
|
1487
|
+
options?: __HttpHandlerOptions
|
|
1488
|
+
): Promise<ListMobileDeviceAccessOverridesCommandOutput>;
|
|
1489
|
+
public listMobileDeviceAccessOverrides(
|
|
1490
|
+
args: ListMobileDeviceAccessOverridesCommandInput,
|
|
1491
|
+
cb: (err: any, data?: ListMobileDeviceAccessOverridesCommandOutput) => void
|
|
1492
|
+
): void;
|
|
1493
|
+
public listMobileDeviceAccessOverrides(
|
|
1494
|
+
args: ListMobileDeviceAccessOverridesCommandInput,
|
|
1495
|
+
options: __HttpHandlerOptions,
|
|
1496
|
+
cb: (err: any, data?: ListMobileDeviceAccessOverridesCommandOutput) => void
|
|
1497
|
+
): void;
|
|
1498
|
+
public listMobileDeviceAccessOverrides(
|
|
1499
|
+
args: ListMobileDeviceAccessOverridesCommandInput,
|
|
1500
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMobileDeviceAccessOverridesCommandOutput) => void),
|
|
1501
|
+
cb?: (err: any, data?: ListMobileDeviceAccessOverridesCommandOutput) => void
|
|
1502
|
+
): Promise<ListMobileDeviceAccessOverridesCommandOutput> | void {
|
|
1503
|
+
const command = new ListMobileDeviceAccessOverridesCommand(args);
|
|
1504
|
+
if (typeof optionsOrCb === "function") {
|
|
1505
|
+
this.send(command, optionsOrCb);
|
|
1506
|
+
} else if (typeof cb === "function") {
|
|
1507
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1508
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1509
|
+
} else {
|
|
1510
|
+
return this.send(command, optionsOrCb);
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* <p>Lists the mobile device access rules for the specified Amazon WorkMail organization.</p>
|
|
1516
|
+
*/
|
|
1517
|
+
public listMobileDeviceAccessRules(
|
|
1518
|
+
args: ListMobileDeviceAccessRulesCommandInput,
|
|
1519
|
+
options?: __HttpHandlerOptions
|
|
1520
|
+
): Promise<ListMobileDeviceAccessRulesCommandOutput>;
|
|
1521
|
+
public listMobileDeviceAccessRules(
|
|
1522
|
+
args: ListMobileDeviceAccessRulesCommandInput,
|
|
1523
|
+
cb: (err: any, data?: ListMobileDeviceAccessRulesCommandOutput) => void
|
|
1524
|
+
): void;
|
|
1525
|
+
public listMobileDeviceAccessRules(
|
|
1526
|
+
args: ListMobileDeviceAccessRulesCommandInput,
|
|
1527
|
+
options: __HttpHandlerOptions,
|
|
1528
|
+
cb: (err: any, data?: ListMobileDeviceAccessRulesCommandOutput) => void
|
|
1529
|
+
): void;
|
|
1530
|
+
public listMobileDeviceAccessRules(
|
|
1531
|
+
args: ListMobileDeviceAccessRulesCommandInput,
|
|
1532
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMobileDeviceAccessRulesCommandOutput) => void),
|
|
1533
|
+
cb?: (err: any, data?: ListMobileDeviceAccessRulesCommandOutput) => void
|
|
1534
|
+
): Promise<ListMobileDeviceAccessRulesCommandOutput> | void {
|
|
1535
|
+
const command = new ListMobileDeviceAccessRulesCommand(args);
|
|
1536
|
+
if (typeof optionsOrCb === "function") {
|
|
1537
|
+
this.send(command, optionsOrCb);
|
|
1538
|
+
} else if (typeof cb === "function") {
|
|
1539
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1540
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1541
|
+
} else {
|
|
1542
|
+
return this.send(command, optionsOrCb);
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* <p>Returns summaries of the customer's organizations.</p>
|
|
1548
|
+
*/
|
|
1549
|
+
public listOrganizations(
|
|
1550
|
+
args: ListOrganizationsCommandInput,
|
|
1551
|
+
options?: __HttpHandlerOptions
|
|
1552
|
+
): Promise<ListOrganizationsCommandOutput>;
|
|
1553
|
+
public listOrganizations(
|
|
1554
|
+
args: ListOrganizationsCommandInput,
|
|
1555
|
+
cb: (err: any, data?: ListOrganizationsCommandOutput) => void
|
|
1556
|
+
): void;
|
|
1557
|
+
public listOrganizations(
|
|
1558
|
+
args: ListOrganizationsCommandInput,
|
|
1559
|
+
options: __HttpHandlerOptions,
|
|
1560
|
+
cb: (err: any, data?: ListOrganizationsCommandOutput) => void
|
|
1561
|
+
): void;
|
|
1562
|
+
public listOrganizations(
|
|
1563
|
+
args: ListOrganizationsCommandInput,
|
|
1564
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListOrganizationsCommandOutput) => void),
|
|
1565
|
+
cb?: (err: any, data?: ListOrganizationsCommandOutput) => void
|
|
1566
|
+
): Promise<ListOrganizationsCommandOutput> | void {
|
|
1567
|
+
const command = new ListOrganizationsCommand(args);
|
|
1568
|
+
if (typeof optionsOrCb === "function") {
|
|
1569
|
+
this.send(command, optionsOrCb);
|
|
1570
|
+
} else if (typeof cb === "function") {
|
|
1571
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1572
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1573
|
+
} else {
|
|
1574
|
+
return this.send(command, optionsOrCb);
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* <p>Lists the delegates associated with a resource. Users and groups can be resource
|
|
1580
|
+
* delegates and answer requests on behalf of the resource.</p>
|
|
1581
|
+
*/
|
|
1582
|
+
public listResourceDelegates(
|
|
1583
|
+
args: ListResourceDelegatesCommandInput,
|
|
1584
|
+
options?: __HttpHandlerOptions
|
|
1585
|
+
): Promise<ListResourceDelegatesCommandOutput>;
|
|
1586
|
+
public listResourceDelegates(
|
|
1587
|
+
args: ListResourceDelegatesCommandInput,
|
|
1588
|
+
cb: (err: any, data?: ListResourceDelegatesCommandOutput) => void
|
|
1589
|
+
): void;
|
|
1590
|
+
public listResourceDelegates(
|
|
1591
|
+
args: ListResourceDelegatesCommandInput,
|
|
1592
|
+
options: __HttpHandlerOptions,
|
|
1593
|
+
cb: (err: any, data?: ListResourceDelegatesCommandOutput) => void
|
|
1594
|
+
): void;
|
|
1595
|
+
public listResourceDelegates(
|
|
1596
|
+
args: ListResourceDelegatesCommandInput,
|
|
1597
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourceDelegatesCommandOutput) => void),
|
|
1598
|
+
cb?: (err: any, data?: ListResourceDelegatesCommandOutput) => void
|
|
1599
|
+
): Promise<ListResourceDelegatesCommandOutput> | void {
|
|
1600
|
+
const command = new ListResourceDelegatesCommand(args);
|
|
1601
|
+
if (typeof optionsOrCb === "function") {
|
|
1602
|
+
this.send(command, optionsOrCb);
|
|
1603
|
+
} else if (typeof cb === "function") {
|
|
1604
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1605
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1606
|
+
} else {
|
|
1607
|
+
return this.send(command, optionsOrCb);
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* <p>Returns summaries of the organization's resources.</p>
|
|
1613
|
+
*/
|
|
1614
|
+
public listResources(
|
|
1615
|
+
args: ListResourcesCommandInput,
|
|
1616
|
+
options?: __HttpHandlerOptions
|
|
1617
|
+
): Promise<ListResourcesCommandOutput>;
|
|
1618
|
+
public listResources(
|
|
1619
|
+
args: ListResourcesCommandInput,
|
|
1620
|
+
cb: (err: any, data?: ListResourcesCommandOutput) => void
|
|
1621
|
+
): void;
|
|
1622
|
+
public listResources(
|
|
1623
|
+
args: ListResourcesCommandInput,
|
|
1624
|
+
options: __HttpHandlerOptions,
|
|
1625
|
+
cb: (err: any, data?: ListResourcesCommandOutput) => void
|
|
1626
|
+
): void;
|
|
1627
|
+
public listResources(
|
|
1628
|
+
args: ListResourcesCommandInput,
|
|
1629
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResourcesCommandOutput) => void),
|
|
1630
|
+
cb?: (err: any, data?: ListResourcesCommandOutput) => void
|
|
1631
|
+
): Promise<ListResourcesCommandOutput> | void {
|
|
1632
|
+
const command = new ListResourcesCommand(args);
|
|
1633
|
+
if (typeof optionsOrCb === "function") {
|
|
1634
|
+
this.send(command, optionsOrCb);
|
|
1635
|
+
} else if (typeof cb === "function") {
|
|
1636
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1637
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1638
|
+
} else {
|
|
1639
|
+
return this.send(command, optionsOrCb);
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* <p>Lists the tags applied to an Amazon WorkMail organization resource.</p>
|
|
1645
|
+
*/
|
|
1646
|
+
public listTagsForResource(
|
|
1647
|
+
args: ListTagsForResourceCommandInput,
|
|
1648
|
+
options?: __HttpHandlerOptions
|
|
1649
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
1650
|
+
public listTagsForResource(
|
|
1651
|
+
args: ListTagsForResourceCommandInput,
|
|
1652
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1653
|
+
): void;
|
|
1654
|
+
public listTagsForResource(
|
|
1655
|
+
args: ListTagsForResourceCommandInput,
|
|
1656
|
+
options: __HttpHandlerOptions,
|
|
1657
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1658
|
+
): void;
|
|
1659
|
+
public listTagsForResource(
|
|
1660
|
+
args: ListTagsForResourceCommandInput,
|
|
1661
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1662
|
+
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1663
|
+
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1664
|
+
const command = new ListTagsForResourceCommand(args);
|
|
1665
|
+
if (typeof optionsOrCb === "function") {
|
|
1666
|
+
this.send(command, optionsOrCb);
|
|
1667
|
+
} else if (typeof cb === "function") {
|
|
1668
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1669
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1670
|
+
} else {
|
|
1671
|
+
return this.send(command, optionsOrCb);
|
|
1672
|
+
}
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* <p>Returns summaries of the organization's users.</p>
|
|
1677
|
+
*/
|
|
1678
|
+
public listUsers(args: ListUsersCommandInput, options?: __HttpHandlerOptions): Promise<ListUsersCommandOutput>;
|
|
1679
|
+
public listUsers(args: ListUsersCommandInput, cb: (err: any, data?: ListUsersCommandOutput) => void): void;
|
|
1680
|
+
public listUsers(
|
|
1681
|
+
args: ListUsersCommandInput,
|
|
1682
|
+
options: __HttpHandlerOptions,
|
|
1683
|
+
cb: (err: any, data?: ListUsersCommandOutput) => void
|
|
1684
|
+
): void;
|
|
1685
|
+
public listUsers(
|
|
1686
|
+
args: ListUsersCommandInput,
|
|
1687
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUsersCommandOutput) => void),
|
|
1688
|
+
cb?: (err: any, data?: ListUsersCommandOutput) => void
|
|
1689
|
+
): Promise<ListUsersCommandOutput> | void {
|
|
1690
|
+
const command = new ListUsersCommand(args);
|
|
1691
|
+
if (typeof optionsOrCb === "function") {
|
|
1692
|
+
this.send(command, optionsOrCb);
|
|
1693
|
+
} else if (typeof cb === "function") {
|
|
1694
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1695
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1696
|
+
} else {
|
|
1697
|
+
return this.send(command, optionsOrCb);
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* <p>Adds a new access control rule for the specified organization. The rule allows or
|
|
1703
|
+
* denies access to the organization for the specified IPv4 addresses, access protocol
|
|
1704
|
+
* actions, and user IDs. Adding a new rule with the same name as an existing rule replaces
|
|
1705
|
+
* the older rule.</p>
|
|
1706
|
+
*/
|
|
1707
|
+
public putAccessControlRule(
|
|
1708
|
+
args: PutAccessControlRuleCommandInput,
|
|
1709
|
+
options?: __HttpHandlerOptions
|
|
1710
|
+
): Promise<PutAccessControlRuleCommandOutput>;
|
|
1711
|
+
public putAccessControlRule(
|
|
1712
|
+
args: PutAccessControlRuleCommandInput,
|
|
1713
|
+
cb: (err: any, data?: PutAccessControlRuleCommandOutput) => void
|
|
1714
|
+
): void;
|
|
1715
|
+
public putAccessControlRule(
|
|
1716
|
+
args: PutAccessControlRuleCommandInput,
|
|
1717
|
+
options: __HttpHandlerOptions,
|
|
1718
|
+
cb: (err: any, data?: PutAccessControlRuleCommandOutput) => void
|
|
1719
|
+
): void;
|
|
1720
|
+
public putAccessControlRule(
|
|
1721
|
+
args: PutAccessControlRuleCommandInput,
|
|
1722
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutAccessControlRuleCommandOutput) => void),
|
|
1723
|
+
cb?: (err: any, data?: PutAccessControlRuleCommandOutput) => void
|
|
1724
|
+
): Promise<PutAccessControlRuleCommandOutput> | void {
|
|
1725
|
+
const command = new PutAccessControlRuleCommand(args);
|
|
1726
|
+
if (typeof optionsOrCb === "function") {
|
|
1727
|
+
this.send(command, optionsOrCb);
|
|
1728
|
+
} else if (typeof cb === "function") {
|
|
1729
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1730
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1731
|
+
} else {
|
|
1732
|
+
return this.send(command, optionsOrCb);
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* <p>Sets permissions for a user, group, or resource. This replaces any pre-existing
|
|
1738
|
+
* permissions.</p>
|
|
1739
|
+
*/
|
|
1740
|
+
public putMailboxPermissions(
|
|
1741
|
+
args: PutMailboxPermissionsCommandInput,
|
|
1742
|
+
options?: __HttpHandlerOptions
|
|
1743
|
+
): Promise<PutMailboxPermissionsCommandOutput>;
|
|
1744
|
+
public putMailboxPermissions(
|
|
1745
|
+
args: PutMailboxPermissionsCommandInput,
|
|
1746
|
+
cb: (err: any, data?: PutMailboxPermissionsCommandOutput) => void
|
|
1747
|
+
): void;
|
|
1748
|
+
public putMailboxPermissions(
|
|
1749
|
+
args: PutMailboxPermissionsCommandInput,
|
|
1750
|
+
options: __HttpHandlerOptions,
|
|
1751
|
+
cb: (err: any, data?: PutMailboxPermissionsCommandOutput) => void
|
|
1752
|
+
): void;
|
|
1753
|
+
public putMailboxPermissions(
|
|
1754
|
+
args: PutMailboxPermissionsCommandInput,
|
|
1755
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutMailboxPermissionsCommandOutput) => void),
|
|
1756
|
+
cb?: (err: any, data?: PutMailboxPermissionsCommandOutput) => void
|
|
1757
|
+
): Promise<PutMailboxPermissionsCommandOutput> | void {
|
|
1758
|
+
const command = new PutMailboxPermissionsCommand(args);
|
|
1759
|
+
if (typeof optionsOrCb === "function") {
|
|
1760
|
+
this.send(command, optionsOrCb);
|
|
1761
|
+
} else if (typeof cb === "function") {
|
|
1762
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1763
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1764
|
+
} else {
|
|
1765
|
+
return this.send(command, optionsOrCb);
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* <p>Creates or updates a mobile device access override for the given WorkMail organization, user, and device.</p>
|
|
1771
|
+
*/
|
|
1772
|
+
public putMobileDeviceAccessOverride(
|
|
1773
|
+
args: PutMobileDeviceAccessOverrideCommandInput,
|
|
1774
|
+
options?: __HttpHandlerOptions
|
|
1775
|
+
): Promise<PutMobileDeviceAccessOverrideCommandOutput>;
|
|
1776
|
+
public putMobileDeviceAccessOverride(
|
|
1777
|
+
args: PutMobileDeviceAccessOverrideCommandInput,
|
|
1778
|
+
cb: (err: any, data?: PutMobileDeviceAccessOverrideCommandOutput) => void
|
|
1779
|
+
): void;
|
|
1780
|
+
public putMobileDeviceAccessOverride(
|
|
1781
|
+
args: PutMobileDeviceAccessOverrideCommandInput,
|
|
1782
|
+
options: __HttpHandlerOptions,
|
|
1783
|
+
cb: (err: any, data?: PutMobileDeviceAccessOverrideCommandOutput) => void
|
|
1784
|
+
): void;
|
|
1785
|
+
public putMobileDeviceAccessOverride(
|
|
1786
|
+
args: PutMobileDeviceAccessOverrideCommandInput,
|
|
1787
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutMobileDeviceAccessOverrideCommandOutput) => void),
|
|
1788
|
+
cb?: (err: any, data?: PutMobileDeviceAccessOverrideCommandOutput) => void
|
|
1789
|
+
): Promise<PutMobileDeviceAccessOverrideCommandOutput> | void {
|
|
1790
|
+
const command = new PutMobileDeviceAccessOverrideCommand(args);
|
|
1791
|
+
if (typeof optionsOrCb === "function") {
|
|
1792
|
+
this.send(command, optionsOrCb);
|
|
1793
|
+
} else if (typeof cb === "function") {
|
|
1794
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1795
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1796
|
+
} else {
|
|
1797
|
+
return this.send(command, optionsOrCb);
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* <p>Puts a retention policy to the specified organization.</p>
|
|
1803
|
+
*/
|
|
1804
|
+
public putRetentionPolicy(
|
|
1805
|
+
args: PutRetentionPolicyCommandInput,
|
|
1806
|
+
options?: __HttpHandlerOptions
|
|
1807
|
+
): Promise<PutRetentionPolicyCommandOutput>;
|
|
1808
|
+
public putRetentionPolicy(
|
|
1809
|
+
args: PutRetentionPolicyCommandInput,
|
|
1810
|
+
cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void
|
|
1811
|
+
): void;
|
|
1812
|
+
public putRetentionPolicy(
|
|
1813
|
+
args: PutRetentionPolicyCommandInput,
|
|
1814
|
+
options: __HttpHandlerOptions,
|
|
1815
|
+
cb: (err: any, data?: PutRetentionPolicyCommandOutput) => void
|
|
1816
|
+
): void;
|
|
1817
|
+
public putRetentionPolicy(
|
|
1818
|
+
args: PutRetentionPolicyCommandInput,
|
|
1819
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutRetentionPolicyCommandOutput) => void),
|
|
1820
|
+
cb?: (err: any, data?: PutRetentionPolicyCommandOutput) => void
|
|
1821
|
+
): Promise<PutRetentionPolicyCommandOutput> | void {
|
|
1822
|
+
const command = new PutRetentionPolicyCommand(args);
|
|
1823
|
+
if (typeof optionsOrCb === "function") {
|
|
1824
|
+
this.send(command, optionsOrCb);
|
|
1825
|
+
} else if (typeof cb === "function") {
|
|
1826
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1827
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1828
|
+
} else {
|
|
1829
|
+
return this.send(command, optionsOrCb);
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* <p>Registers an existing and disabled user, group, or resource for Amazon WorkMail use by
|
|
1835
|
+
* associating a mailbox and calendaring capabilities. It performs no change if the user,
|
|
1836
|
+
* group, or resource is enabled and fails if the user, group, or resource is deleted. This
|
|
1837
|
+
* operation results in the accumulation of costs. For more information, see <a href="https://aws.amazon.com/workmail/pricing">Pricing</a>. The equivalent console
|
|
1838
|
+
* functionality for this operation is <i>Enable</i>. </p>
|
|
1839
|
+
* <p>Users can either be created by calling the <a>CreateUser</a> API operation
|
|
1840
|
+
* or they can be synchronized from your directory. For more information, see <a>DeregisterFromWorkMail</a>.</p>
|
|
1841
|
+
*/
|
|
1842
|
+
public registerToWorkMail(
|
|
1843
|
+
args: RegisterToWorkMailCommandInput,
|
|
1844
|
+
options?: __HttpHandlerOptions
|
|
1845
|
+
): Promise<RegisterToWorkMailCommandOutput>;
|
|
1846
|
+
public registerToWorkMail(
|
|
1847
|
+
args: RegisterToWorkMailCommandInput,
|
|
1848
|
+
cb: (err: any, data?: RegisterToWorkMailCommandOutput) => void
|
|
1849
|
+
): void;
|
|
1850
|
+
public registerToWorkMail(
|
|
1851
|
+
args: RegisterToWorkMailCommandInput,
|
|
1852
|
+
options: __HttpHandlerOptions,
|
|
1853
|
+
cb: (err: any, data?: RegisterToWorkMailCommandOutput) => void
|
|
1854
|
+
): void;
|
|
1855
|
+
public registerToWorkMail(
|
|
1856
|
+
args: RegisterToWorkMailCommandInput,
|
|
1857
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterToWorkMailCommandOutput) => void),
|
|
1858
|
+
cb?: (err: any, data?: RegisterToWorkMailCommandOutput) => void
|
|
1859
|
+
): Promise<RegisterToWorkMailCommandOutput> | void {
|
|
1860
|
+
const command = new RegisterToWorkMailCommand(args);
|
|
1861
|
+
if (typeof optionsOrCb === "function") {
|
|
1862
|
+
this.send(command, optionsOrCb);
|
|
1863
|
+
} else if (typeof cb === "function") {
|
|
1864
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1865
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1866
|
+
} else {
|
|
1867
|
+
return this.send(command, optionsOrCb);
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* <p>Allows the administrator to reset the password for a user.</p>
|
|
1873
|
+
*/
|
|
1874
|
+
public resetPassword(
|
|
1875
|
+
args: ResetPasswordCommandInput,
|
|
1876
|
+
options?: __HttpHandlerOptions
|
|
1877
|
+
): Promise<ResetPasswordCommandOutput>;
|
|
1878
|
+
public resetPassword(
|
|
1879
|
+
args: ResetPasswordCommandInput,
|
|
1880
|
+
cb: (err: any, data?: ResetPasswordCommandOutput) => void
|
|
1881
|
+
): void;
|
|
1882
|
+
public resetPassword(
|
|
1883
|
+
args: ResetPasswordCommandInput,
|
|
1884
|
+
options: __HttpHandlerOptions,
|
|
1885
|
+
cb: (err: any, data?: ResetPasswordCommandOutput) => void
|
|
1886
|
+
): void;
|
|
1887
|
+
public resetPassword(
|
|
1888
|
+
args: ResetPasswordCommandInput,
|
|
1889
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResetPasswordCommandOutput) => void),
|
|
1890
|
+
cb?: (err: any, data?: ResetPasswordCommandOutput) => void
|
|
1891
|
+
): Promise<ResetPasswordCommandOutput> | void {
|
|
1892
|
+
const command = new ResetPasswordCommand(args);
|
|
1893
|
+
if (typeof optionsOrCb === "function") {
|
|
1894
|
+
this.send(command, optionsOrCb);
|
|
1895
|
+
} else if (typeof cb === "function") {
|
|
1896
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1897
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1898
|
+
} else {
|
|
1899
|
+
return this.send(command, optionsOrCb);
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* <p>Starts a mailbox export job to export MIME-format email messages and calendar items
|
|
1905
|
+
* from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3)
|
|
1906
|
+
* bucket. For more information, see <a href="https://docs.aws.amazon.com/workmail/latest/adminguide/mail-export.html">Exporting mailbox content</a> in
|
|
1907
|
+
* the <i>Amazon WorkMail Administrator Guide</i>.</p>
|
|
1908
|
+
*/
|
|
1909
|
+
public startMailboxExportJob(
|
|
1910
|
+
args: StartMailboxExportJobCommandInput,
|
|
1911
|
+
options?: __HttpHandlerOptions
|
|
1912
|
+
): Promise<StartMailboxExportJobCommandOutput>;
|
|
1913
|
+
public startMailboxExportJob(
|
|
1914
|
+
args: StartMailboxExportJobCommandInput,
|
|
1915
|
+
cb: (err: any, data?: StartMailboxExportJobCommandOutput) => void
|
|
1916
|
+
): void;
|
|
1917
|
+
public startMailboxExportJob(
|
|
1918
|
+
args: StartMailboxExportJobCommandInput,
|
|
1919
|
+
options: __HttpHandlerOptions,
|
|
1920
|
+
cb: (err: any, data?: StartMailboxExportJobCommandOutput) => void
|
|
1921
|
+
): void;
|
|
1922
|
+
public startMailboxExportJob(
|
|
1923
|
+
args: StartMailboxExportJobCommandInput,
|
|
1924
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartMailboxExportJobCommandOutput) => void),
|
|
1925
|
+
cb?: (err: any, data?: StartMailboxExportJobCommandOutput) => void
|
|
1926
|
+
): Promise<StartMailboxExportJobCommandOutput> | void {
|
|
1927
|
+
const command = new StartMailboxExportJobCommand(args);
|
|
1928
|
+
if (typeof optionsOrCb === "function") {
|
|
1929
|
+
this.send(command, optionsOrCb);
|
|
1930
|
+
} else if (typeof cb === "function") {
|
|
1931
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1932
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1933
|
+
} else {
|
|
1934
|
+
return this.send(command, optionsOrCb);
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
* <p>Applies the specified tags to the specified Amazon WorkMail organization
|
|
1940
|
+
* resource.</p>
|
|
1941
|
+
*/
|
|
1942
|
+
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1943
|
+
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1944
|
+
public tagResource(
|
|
1945
|
+
args: TagResourceCommandInput,
|
|
1946
|
+
options: __HttpHandlerOptions,
|
|
1947
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1948
|
+
): void;
|
|
1949
|
+
public tagResource(
|
|
1950
|
+
args: TagResourceCommandInput,
|
|
1951
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1952
|
+
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1953
|
+
): Promise<TagResourceCommandOutput> | void {
|
|
1954
|
+
const command = new TagResourceCommand(args);
|
|
1955
|
+
if (typeof optionsOrCb === "function") {
|
|
1956
|
+
this.send(command, optionsOrCb);
|
|
1957
|
+
} else if (typeof cb === "function") {
|
|
1958
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1959
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1960
|
+
} else {
|
|
1961
|
+
return this.send(command, optionsOrCb);
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* <p>Untags the specified tags from the specified Amazon WorkMail organization
|
|
1967
|
+
* resource.</p>
|
|
1968
|
+
*/
|
|
1969
|
+
public untagResource(
|
|
1970
|
+
args: UntagResourceCommandInput,
|
|
1971
|
+
options?: __HttpHandlerOptions
|
|
1972
|
+
): Promise<UntagResourceCommandOutput>;
|
|
1973
|
+
public untagResource(
|
|
1974
|
+
args: UntagResourceCommandInput,
|
|
1975
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1976
|
+
): void;
|
|
1977
|
+
public untagResource(
|
|
1978
|
+
args: UntagResourceCommandInput,
|
|
1979
|
+
options: __HttpHandlerOptions,
|
|
1980
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1981
|
+
): void;
|
|
1982
|
+
public untagResource(
|
|
1983
|
+
args: UntagResourceCommandInput,
|
|
1984
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1985
|
+
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1986
|
+
): Promise<UntagResourceCommandOutput> | void {
|
|
1987
|
+
const command = new UntagResourceCommand(args);
|
|
1988
|
+
if (typeof optionsOrCb === "function") {
|
|
1989
|
+
this.send(command, optionsOrCb);
|
|
1990
|
+
} else if (typeof cb === "function") {
|
|
1991
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1992
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1993
|
+
} else {
|
|
1994
|
+
return this.send(command, optionsOrCb);
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* <p>Updates a user's current mailbox quota for a specified organization and
|
|
2000
|
+
* user.</p>
|
|
2001
|
+
*/
|
|
2002
|
+
public updateMailboxQuota(
|
|
2003
|
+
args: UpdateMailboxQuotaCommandInput,
|
|
2004
|
+
options?: __HttpHandlerOptions
|
|
2005
|
+
): Promise<UpdateMailboxQuotaCommandOutput>;
|
|
2006
|
+
public updateMailboxQuota(
|
|
2007
|
+
args: UpdateMailboxQuotaCommandInput,
|
|
2008
|
+
cb: (err: any, data?: UpdateMailboxQuotaCommandOutput) => void
|
|
2009
|
+
): void;
|
|
2010
|
+
public updateMailboxQuota(
|
|
2011
|
+
args: UpdateMailboxQuotaCommandInput,
|
|
2012
|
+
options: __HttpHandlerOptions,
|
|
2013
|
+
cb: (err: any, data?: UpdateMailboxQuotaCommandOutput) => void
|
|
2014
|
+
): void;
|
|
2015
|
+
public updateMailboxQuota(
|
|
2016
|
+
args: UpdateMailboxQuotaCommandInput,
|
|
2017
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateMailboxQuotaCommandOutput) => void),
|
|
2018
|
+
cb?: (err: any, data?: UpdateMailboxQuotaCommandOutput) => void
|
|
2019
|
+
): Promise<UpdateMailboxQuotaCommandOutput> | void {
|
|
2020
|
+
const command = new UpdateMailboxQuotaCommand(args);
|
|
2021
|
+
if (typeof optionsOrCb === "function") {
|
|
2022
|
+
this.send(command, optionsOrCb);
|
|
2023
|
+
} else if (typeof cb === "function") {
|
|
2024
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2025
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2026
|
+
} else {
|
|
2027
|
+
return this.send(command, optionsOrCb);
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* <p>Updates a mobile device access rule for the specified Amazon WorkMail organization.</p>
|
|
2033
|
+
*/
|
|
2034
|
+
public updateMobileDeviceAccessRule(
|
|
2035
|
+
args: UpdateMobileDeviceAccessRuleCommandInput,
|
|
2036
|
+
options?: __HttpHandlerOptions
|
|
2037
|
+
): Promise<UpdateMobileDeviceAccessRuleCommandOutput>;
|
|
2038
|
+
public updateMobileDeviceAccessRule(
|
|
2039
|
+
args: UpdateMobileDeviceAccessRuleCommandInput,
|
|
2040
|
+
cb: (err: any, data?: UpdateMobileDeviceAccessRuleCommandOutput) => void
|
|
2041
|
+
): void;
|
|
2042
|
+
public updateMobileDeviceAccessRule(
|
|
2043
|
+
args: UpdateMobileDeviceAccessRuleCommandInput,
|
|
2044
|
+
options: __HttpHandlerOptions,
|
|
2045
|
+
cb: (err: any, data?: UpdateMobileDeviceAccessRuleCommandOutput) => void
|
|
2046
|
+
): void;
|
|
2047
|
+
public updateMobileDeviceAccessRule(
|
|
2048
|
+
args: UpdateMobileDeviceAccessRuleCommandInput,
|
|
2049
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateMobileDeviceAccessRuleCommandOutput) => void),
|
|
2050
|
+
cb?: (err: any, data?: UpdateMobileDeviceAccessRuleCommandOutput) => void
|
|
2051
|
+
): Promise<UpdateMobileDeviceAccessRuleCommandOutput> | void {
|
|
2052
|
+
const command = new UpdateMobileDeviceAccessRuleCommand(args);
|
|
2053
|
+
if (typeof optionsOrCb === "function") {
|
|
2054
|
+
this.send(command, optionsOrCb);
|
|
2055
|
+
} else if (typeof cb === "function") {
|
|
2056
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2057
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2058
|
+
} else {
|
|
2059
|
+
return this.send(command, optionsOrCb);
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* <p>Updates the primary email for a user, group, or resource. The current email is moved
|
|
2065
|
+
* into the list of aliases (or swapped between an existing alias and the current primary
|
|
2066
|
+
* email), and the email provided in the input is promoted as the primary.</p>
|
|
2067
|
+
*/
|
|
2068
|
+
public updatePrimaryEmailAddress(
|
|
2069
|
+
args: UpdatePrimaryEmailAddressCommandInput,
|
|
2070
|
+
options?: __HttpHandlerOptions
|
|
2071
|
+
): Promise<UpdatePrimaryEmailAddressCommandOutput>;
|
|
2072
|
+
public updatePrimaryEmailAddress(
|
|
2073
|
+
args: UpdatePrimaryEmailAddressCommandInput,
|
|
2074
|
+
cb: (err: any, data?: UpdatePrimaryEmailAddressCommandOutput) => void
|
|
2075
|
+
): void;
|
|
2076
|
+
public updatePrimaryEmailAddress(
|
|
2077
|
+
args: UpdatePrimaryEmailAddressCommandInput,
|
|
2078
|
+
options: __HttpHandlerOptions,
|
|
2079
|
+
cb: (err: any, data?: UpdatePrimaryEmailAddressCommandOutput) => void
|
|
2080
|
+
): void;
|
|
2081
|
+
public updatePrimaryEmailAddress(
|
|
2082
|
+
args: UpdatePrimaryEmailAddressCommandInput,
|
|
2083
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdatePrimaryEmailAddressCommandOutput) => void),
|
|
2084
|
+
cb?: (err: any, data?: UpdatePrimaryEmailAddressCommandOutput) => void
|
|
2085
|
+
): Promise<UpdatePrimaryEmailAddressCommandOutput> | void {
|
|
2086
|
+
const command = new UpdatePrimaryEmailAddressCommand(args);
|
|
2087
|
+
if (typeof optionsOrCb === "function") {
|
|
2088
|
+
this.send(command, optionsOrCb);
|
|
2089
|
+
} else if (typeof cb === "function") {
|
|
2090
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2091
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2092
|
+
} else {
|
|
2093
|
+
return this.send(command, optionsOrCb);
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* <p>Updates data for the resource. To have the latest information, it must be preceded by
|
|
2099
|
+
* a <a>DescribeResource</a> call. The dataset in the request should be the one
|
|
2100
|
+
* expected when performing another <code>DescribeResource</code> call.</p>
|
|
2101
|
+
*/
|
|
2102
|
+
public updateResource(
|
|
2103
|
+
args: UpdateResourceCommandInput,
|
|
2104
|
+
options?: __HttpHandlerOptions
|
|
2105
|
+
): Promise<UpdateResourceCommandOutput>;
|
|
2106
|
+
public updateResource(
|
|
2107
|
+
args: UpdateResourceCommandInput,
|
|
2108
|
+
cb: (err: any, data?: UpdateResourceCommandOutput) => void
|
|
2109
|
+
): void;
|
|
2110
|
+
public updateResource(
|
|
2111
|
+
args: UpdateResourceCommandInput,
|
|
2112
|
+
options: __HttpHandlerOptions,
|
|
2113
|
+
cb: (err: any, data?: UpdateResourceCommandOutput) => void
|
|
2114
|
+
): void;
|
|
2115
|
+
public updateResource(
|
|
2116
|
+
args: UpdateResourceCommandInput,
|
|
2117
|
+
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateResourceCommandOutput) => void),
|
|
2118
|
+
cb?: (err: any, data?: UpdateResourceCommandOutput) => void
|
|
2119
|
+
): Promise<UpdateResourceCommandOutput> | void {
|
|
2120
|
+
const command = new UpdateResourceCommand(args);
|
|
2121
|
+
if (typeof optionsOrCb === "function") {
|
|
2122
|
+
this.send(command, optionsOrCb);
|
|
2123
|
+
} else if (typeof cb === "function") {
|
|
2124
|
+
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2125
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2126
|
+
} else {
|
|
2127
|
+
return this.send(command, optionsOrCb);
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
}
|