@aws-sdk/client-workmail 3.477.0 → 3.481.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/dist-cjs/commands/AssociateDelegateToResourceCommand.js +18 -41
- package/dist-cjs/commands/AssociateMemberToGroupCommand.js +18 -41
- package/dist-cjs/commands/AssumeImpersonationRoleCommand.js +18 -41
- package/dist-cjs/commands/CancelMailboxExportJobCommand.js +18 -41
- package/dist-cjs/commands/CreateAliasCommand.js +18 -41
- package/dist-cjs/commands/CreateAvailabilityConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateGroupCommand.js +18 -41
- package/dist-cjs/commands/CreateImpersonationRoleCommand.js +18 -41
- package/dist-cjs/commands/CreateMobileDeviceAccessRuleCommand.js +18 -41
- package/dist-cjs/commands/CreateOrganizationCommand.js +18 -41
- package/dist-cjs/commands/CreateResourceCommand.js +18 -41
- package/dist-cjs/commands/CreateUserCommand.js +18 -41
- package/dist-cjs/commands/DeleteAccessControlRuleCommand.js +18 -41
- package/dist-cjs/commands/DeleteAliasCommand.js +18 -41
- package/dist-cjs/commands/DeleteAvailabilityConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteEmailMonitoringConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteGroupCommand.js +18 -41
- package/dist-cjs/commands/DeleteImpersonationRoleCommand.js +18 -41
- package/dist-cjs/commands/DeleteMailboxPermissionsCommand.js +18 -41
- package/dist-cjs/commands/DeleteMobileDeviceAccessOverrideCommand.js +18 -41
- package/dist-cjs/commands/DeleteMobileDeviceAccessRuleCommand.js +18 -41
- package/dist-cjs/commands/DeleteOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourceCommand.js +18 -41
- package/dist-cjs/commands/DeleteRetentionPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserCommand.js +18 -41
- package/dist-cjs/commands/DeregisterFromWorkMailCommand.js +18 -41
- package/dist-cjs/commands/DeregisterMailDomainCommand.js +18 -41
- package/dist-cjs/commands/DescribeEmailMonitoringConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DescribeEntityCommand.js +18 -41
- package/dist-cjs/commands/DescribeGroupCommand.js +18 -41
- package/dist-cjs/commands/DescribeInboundDmarcSettingsCommand.js +18 -41
- package/dist-cjs/commands/DescribeMailboxExportJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrganizationCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourceCommand.js +18 -41
- package/dist-cjs/commands/DescribeUserCommand.js +18 -41
- package/dist-cjs/commands/DisassociateDelegateFromResourceCommand.js +18 -41
- package/dist-cjs/commands/DisassociateMemberFromGroupCommand.js +18 -41
- package/dist-cjs/commands/GetAccessControlEffectCommand.js +18 -41
- package/dist-cjs/commands/GetDefaultRetentionPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetImpersonationRoleCommand.js +18 -41
- package/dist-cjs/commands/GetImpersonationRoleEffectCommand.js +18 -41
- package/dist-cjs/commands/GetMailDomainCommand.js +18 -41
- package/dist-cjs/commands/GetMailboxDetailsCommand.js +18 -41
- package/dist-cjs/commands/GetMobileDeviceAccessEffectCommand.js +18 -41
- package/dist-cjs/commands/GetMobileDeviceAccessOverrideCommand.js +18 -41
- package/dist-cjs/commands/ListAccessControlRulesCommand.js +18 -41
- package/dist-cjs/commands/ListAliasesCommand.js +18 -41
- package/dist-cjs/commands/ListAvailabilityConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListGroupMembersCommand.js +18 -41
- package/dist-cjs/commands/ListGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListGroupsForEntityCommand.js +18 -41
- package/dist-cjs/commands/ListImpersonationRolesCommand.js +18 -41
- package/dist-cjs/commands/ListMailDomainsCommand.js +18 -41
- package/dist-cjs/commands/ListMailboxExportJobsCommand.js +18 -41
- package/dist-cjs/commands/ListMailboxPermissionsCommand.js +18 -41
- package/dist-cjs/commands/ListMobileDeviceAccessOverridesCommand.js +18 -41
- package/dist-cjs/commands/ListMobileDeviceAccessRulesCommand.js +18 -41
- package/dist-cjs/commands/ListOrganizationsCommand.js +18 -41
- package/dist-cjs/commands/ListResourceDelegatesCommand.js +18 -41
- package/dist-cjs/commands/ListResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListUsersCommand.js +18 -41
- package/dist-cjs/commands/PutAccessControlRuleCommand.js +18 -41
- package/dist-cjs/commands/PutEmailMonitoringConfigurationCommand.js +18 -41
- package/dist-cjs/commands/PutInboundDmarcSettingsCommand.js +18 -41
- package/dist-cjs/commands/PutMailboxPermissionsCommand.js +18 -41
- package/dist-cjs/commands/PutMobileDeviceAccessOverrideCommand.js +18 -41
- package/dist-cjs/commands/PutRetentionPolicyCommand.js +18 -41
- package/dist-cjs/commands/RegisterMailDomainCommand.js +18 -41
- package/dist-cjs/commands/RegisterToWorkMailCommand.js +18 -41
- package/dist-cjs/commands/ResetPasswordCommand.js +18 -41
- package/dist-cjs/commands/StartMailboxExportJobCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TestAvailabilityConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAvailabilityConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateDefaultMailDomainCommand.js +18 -41
- package/dist-cjs/commands/UpdateGroupCommand.js +18 -41
- package/dist-cjs/commands/UpdateImpersonationRoleCommand.js +18 -41
- package/dist-cjs/commands/UpdateMailboxQuotaCommand.js +18 -41
- package/dist-cjs/commands/UpdateMobileDeviceAccessRuleCommand.js +18 -41
- package/dist-cjs/commands/UpdatePrimaryEmailAddressCommand.js +18 -41
- package/dist-cjs/commands/UpdateResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListAliasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAvailabilityConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroupMembersPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroupsForEntityPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImpersonationRolesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMailDomainsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMailboxExportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMailboxPermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMobileDeviceAccessOverridesPaginator.js +2 -24
- package/dist-cjs/pagination/ListOrganizationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourceDelegatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
- package/dist-es/commands/AssociateDelegateToResourceCommand.js +18 -41
- package/dist-es/commands/AssociateMemberToGroupCommand.js +18 -41
- package/dist-es/commands/AssumeImpersonationRoleCommand.js +18 -41
- package/dist-es/commands/CancelMailboxExportJobCommand.js +18 -41
- package/dist-es/commands/CreateAliasCommand.js +18 -41
- package/dist-es/commands/CreateAvailabilityConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateGroupCommand.js +18 -41
- package/dist-es/commands/CreateImpersonationRoleCommand.js +18 -41
- package/dist-es/commands/CreateMobileDeviceAccessRuleCommand.js +18 -41
- package/dist-es/commands/CreateOrganizationCommand.js +18 -41
- package/dist-es/commands/CreateResourceCommand.js +18 -41
- package/dist-es/commands/CreateUserCommand.js +18 -41
- package/dist-es/commands/DeleteAccessControlRuleCommand.js +18 -41
- package/dist-es/commands/DeleteAliasCommand.js +18 -41
- package/dist-es/commands/DeleteAvailabilityConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteEmailMonitoringConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteGroupCommand.js +18 -41
- package/dist-es/commands/DeleteImpersonationRoleCommand.js +18 -41
- package/dist-es/commands/DeleteMailboxPermissionsCommand.js +18 -41
- package/dist-es/commands/DeleteMobileDeviceAccessOverrideCommand.js +18 -41
- package/dist-es/commands/DeleteMobileDeviceAccessRuleCommand.js +18 -41
- package/dist-es/commands/DeleteOrganizationCommand.js +18 -41
- package/dist-es/commands/DeleteResourceCommand.js +18 -41
- package/dist-es/commands/DeleteRetentionPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteUserCommand.js +18 -41
- package/dist-es/commands/DeregisterFromWorkMailCommand.js +18 -41
- package/dist-es/commands/DeregisterMailDomainCommand.js +18 -41
- package/dist-es/commands/DescribeEmailMonitoringConfigurationCommand.js +18 -41
- package/dist-es/commands/DescribeEntityCommand.js +18 -41
- package/dist-es/commands/DescribeGroupCommand.js +18 -41
- package/dist-es/commands/DescribeInboundDmarcSettingsCommand.js +18 -41
- package/dist-es/commands/DescribeMailboxExportJobCommand.js +18 -41
- package/dist-es/commands/DescribeOrganizationCommand.js +18 -41
- package/dist-es/commands/DescribeResourceCommand.js +18 -41
- package/dist-es/commands/DescribeUserCommand.js +18 -41
- package/dist-es/commands/DisassociateDelegateFromResourceCommand.js +18 -41
- package/dist-es/commands/DisassociateMemberFromGroupCommand.js +18 -41
- package/dist-es/commands/GetAccessControlEffectCommand.js +18 -41
- package/dist-es/commands/GetDefaultRetentionPolicyCommand.js +18 -41
- package/dist-es/commands/GetImpersonationRoleCommand.js +18 -41
- package/dist-es/commands/GetImpersonationRoleEffectCommand.js +18 -41
- package/dist-es/commands/GetMailDomainCommand.js +18 -41
- package/dist-es/commands/GetMailboxDetailsCommand.js +18 -41
- package/dist-es/commands/GetMobileDeviceAccessEffectCommand.js +18 -41
- package/dist-es/commands/GetMobileDeviceAccessOverrideCommand.js +18 -41
- package/dist-es/commands/ListAccessControlRulesCommand.js +18 -41
- package/dist-es/commands/ListAliasesCommand.js +18 -41
- package/dist-es/commands/ListAvailabilityConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListGroupMembersCommand.js +18 -41
- package/dist-es/commands/ListGroupsCommand.js +18 -41
- package/dist-es/commands/ListGroupsForEntityCommand.js +18 -41
- package/dist-es/commands/ListImpersonationRolesCommand.js +18 -41
- package/dist-es/commands/ListMailDomainsCommand.js +18 -41
- package/dist-es/commands/ListMailboxExportJobsCommand.js +18 -41
- package/dist-es/commands/ListMailboxPermissionsCommand.js +18 -41
- package/dist-es/commands/ListMobileDeviceAccessOverridesCommand.js +18 -41
- package/dist-es/commands/ListMobileDeviceAccessRulesCommand.js +18 -41
- package/dist-es/commands/ListOrganizationsCommand.js +18 -41
- package/dist-es/commands/ListResourceDelegatesCommand.js +18 -41
- package/dist-es/commands/ListResourcesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListUsersCommand.js +18 -41
- package/dist-es/commands/PutAccessControlRuleCommand.js +18 -41
- package/dist-es/commands/PutEmailMonitoringConfigurationCommand.js +18 -41
- package/dist-es/commands/PutInboundDmarcSettingsCommand.js +18 -41
- package/dist-es/commands/PutMailboxPermissionsCommand.js +18 -41
- package/dist-es/commands/PutMobileDeviceAccessOverrideCommand.js +18 -41
- package/dist-es/commands/PutRetentionPolicyCommand.js +18 -41
- package/dist-es/commands/RegisterMailDomainCommand.js +18 -41
- package/dist-es/commands/RegisterToWorkMailCommand.js +18 -41
- package/dist-es/commands/ResetPasswordCommand.js +18 -41
- package/dist-es/commands/StartMailboxExportJobCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TestAvailabilityConfigurationCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAvailabilityConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateDefaultMailDomainCommand.js +18 -41
- package/dist-es/commands/UpdateGroupCommand.js +18 -41
- package/dist-es/commands/UpdateImpersonationRoleCommand.js +18 -41
- package/dist-es/commands/UpdateMailboxQuotaCommand.js +18 -41
- package/dist-es/commands/UpdateMobileDeviceAccessRuleCommand.js +18 -41
- package/dist-es/commands/UpdatePrimaryEmailAddressCommand.js +18 -41
- package/dist-es/commands/UpdateResourceCommand.js +18 -41
- package/dist-es/commands/UpdateUserCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListAliasesPaginator.js +2 -23
- package/dist-es/pagination/ListAvailabilityConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListGroupMembersPaginator.js +2 -23
- package/dist-es/pagination/ListGroupsForEntityPaginator.js +2 -23
- package/dist-es/pagination/ListGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListImpersonationRolesPaginator.js +2 -23
- package/dist-es/pagination/ListMailDomainsPaginator.js +2 -23
- package/dist-es/pagination/ListMailboxExportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListMailboxPermissionsPaginator.js +2 -23
- package/dist-es/pagination/ListMobileDeviceAccessOverridesPaginator.js +2 -23
- package/dist-es/pagination/ListOrganizationsPaginator.js +2 -23
- package/dist-es/pagination/ListResourceDelegatesPaginator.js +2 -23
- package/dist-es/pagination/ListResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListUsersPaginator.js +2 -23
- package/dist-types/commands/AssociateDelegateToResourceCommand.d.ts +6 -21
- package/dist-types/commands/AssociateMemberToGroupCommand.d.ts +6 -21
- package/dist-types/commands/AssumeImpersonationRoleCommand.d.ts +6 -21
- package/dist-types/commands/CancelMailboxExportJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateAliasCommand.d.ts +6 -21
- package/dist-types/commands/CreateAvailabilityConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateGroupCommand.d.ts +6 -21
- package/dist-types/commands/CreateImpersonationRoleCommand.d.ts +6 -21
- package/dist-types/commands/CreateMobileDeviceAccessRuleCommand.d.ts +6 -21
- package/dist-types/commands/CreateOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/CreateResourceCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAccessControlRuleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAliasCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAvailabilityConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGroupCommand.d.ts +6 -21
- package/dist-types/commands/DeleteImpersonationRoleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMailboxPermissionsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +6 -21
- package/dist-types/commands/DeleteOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourceCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRetentionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterFromWorkMailCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterMailDomainCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEntityCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGroupCommand.d.ts +6 -21
- package/dist-types/commands/DescribeInboundDmarcSettingsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMailboxExportJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrganizationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourceCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUserCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateDelegateFromResourceCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateMemberFromGroupCommand.d.ts +6 -21
- package/dist-types/commands/GetAccessControlEffectCommand.d.ts +6 -21
- package/dist-types/commands/GetDefaultRetentionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetImpersonationRoleCommand.d.ts +6 -21
- package/dist-types/commands/GetImpersonationRoleEffectCommand.d.ts +6 -21
- package/dist-types/commands/GetMailDomainCommand.d.ts +6 -21
- package/dist-types/commands/GetMailboxDetailsCommand.d.ts +6 -21
- package/dist-types/commands/GetMobileDeviceAccessEffectCommand.d.ts +6 -21
- package/dist-types/commands/GetMobileDeviceAccessOverrideCommand.d.ts +6 -21
- package/dist-types/commands/ListAccessControlRulesCommand.d.ts +6 -21
- package/dist-types/commands/ListAliasesCommand.d.ts +6 -21
- package/dist-types/commands/ListAvailabilityConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListGroupMembersCommand.d.ts +6 -21
- package/dist-types/commands/ListGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListGroupsForEntityCommand.d.ts +6 -21
- package/dist-types/commands/ListImpersonationRolesCommand.d.ts +6 -21
- package/dist-types/commands/ListMailDomainsCommand.d.ts +6 -21
- package/dist-types/commands/ListMailboxExportJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListMailboxPermissionsCommand.d.ts +6 -21
- package/dist-types/commands/ListMobileDeviceAccessOverridesCommand.d.ts +6 -21
- package/dist-types/commands/ListMobileDeviceAccessRulesCommand.d.ts +6 -21
- package/dist-types/commands/ListOrganizationsCommand.d.ts +6 -21
- package/dist-types/commands/ListResourceDelegatesCommand.d.ts +6 -21
- package/dist-types/commands/ListResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListUsersCommand.d.ts +6 -21
- package/dist-types/commands/PutAccessControlRuleCommand.d.ts +6 -21
- package/dist-types/commands/PutEmailMonitoringConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/PutInboundDmarcSettingsCommand.d.ts +6 -21
- package/dist-types/commands/PutMailboxPermissionsCommand.d.ts +6 -21
- package/dist-types/commands/PutMobileDeviceAccessOverrideCommand.d.ts +6 -21
- package/dist-types/commands/PutRetentionPolicyCommand.d.ts +6 -21
- package/dist-types/commands/RegisterMailDomainCommand.d.ts +6 -21
- package/dist-types/commands/RegisterToWorkMailCommand.d.ts +6 -21
- package/dist-types/commands/ResetPasswordCommand.d.ts +6 -21
- package/dist-types/commands/StartMailboxExportJobCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TestAvailabilityConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAvailabilityConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDefaultMailDomainCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGroupCommand.d.ts +6 -21
- package/dist-types/commands/UpdateImpersonationRoleCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMailboxQuotaCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePrimaryEmailAddressCommand.d.ts +6 -21
- package/dist-types/commands/UpdateResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAvailabilityConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupMembersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupsForEntityPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImpersonationRolesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMailDomainsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMailboxExportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMailboxPermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMobileDeviceAccessOverridesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourceDelegatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AssociateDelegateToResourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssociateMemberToGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AssumeImpersonationRoleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CancelMailboxExportJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAvailabilityConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateImpersonationRoleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateMobileDeviceAccessRuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAccessControlRuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAvailabilityConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteEmailMonitoringConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteImpersonationRoleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteMailboxPermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteMobileDeviceAccessOverrideCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteMobileDeviceAccessRuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRetentionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeregisterFromWorkMailCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeregisterMailDomainCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEmailMonitoringConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeEntityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeInboundDmarcSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeMailboxExportJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateDelegateFromResourceCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DisassociateMemberFromGroupCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetAccessControlEffectCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDefaultRetentionPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetImpersonationRoleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetImpersonationRoleEffectCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMailDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMailboxDetailsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMobileDeviceAccessEffectCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMobileDeviceAccessOverrideCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAccessControlRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAvailabilityConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListGroupMembersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListGroupsForEntityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImpersonationRolesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMailDomainsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMailboxExportJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMailboxPermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMobileDeviceAccessOverridesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMobileDeviceAccessRulesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListOrganizationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListResourceDelegatesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutAccessControlRuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutEmailMonitoringConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutInboundDmarcSettingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutMailboxPermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutMobileDeviceAccessOverrideCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutRetentionPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterMailDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterToWorkMailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ResetPasswordCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartMailboxExportJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TestAvailabilityConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAvailabilityConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateDefaultMailDomainCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateImpersonationRoleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateMailboxQuotaCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMobileDeviceAccessRuleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePrimaryEmailAddressCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAvailabilityConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroupMembersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroupsForEntityPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImpersonationRolesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMailDomainsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMailboxExportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMailboxPermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMobileDeviceAccessOverridesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOrganizationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourceDelegatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdatePrimaryEmailAddressCommand, se_UpdatePrimaryEmailAddressCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdatePrimaryEmailAddressCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "WorkMailClient";
|
|
26
|
-
const commandName = "UpdatePrimaryEmailAddressCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "WorkMailService",
|
|
35
|
-
operation: "UpdatePrimaryEmailAddress",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdatePrimaryEmailAddressCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdatePrimaryEmailAddressCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdatePrimaryEmailAddressCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WorkMailService", "UpdatePrimaryEmailAddress", {})
|
|
19
|
+
.n("WorkMailClient", "UpdatePrimaryEmailAddressCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdatePrimaryEmailAddressCommand)
|
|
22
|
+
.de(de_UpdatePrimaryEmailAddressCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateResourceCommand, se_UpdateResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "WorkMailClient";
|
|
26
|
-
const commandName = "UpdateResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "WorkMailService",
|
|
35
|
-
operation: "UpdateResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("WorkMailService", "UpdateResource", {})
|
|
19
|
+
.n("WorkMailClient", "UpdateResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateResourceCommand)
|
|
22
|
+
.de(de_UpdateResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateUserRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { de_UpdateUserCommand, se_UpdateUserCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateUserCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkMailClient";
|
|
27
|
-
const commandName = "UpdateUserCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateUserRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "WorkMailService",
|
|
36
|
-
operation: "UpdateUser",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateUserCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateUserCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateUserCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("WorkMailService", "UpdateUser", {})
|
|
20
|
+
.n("WorkMailClient", "UpdateUserCommand")
|
|
21
|
+
.f(UpdateUserRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateUserCommand)
|
|
23
|
+
.de(de_UpdateUserCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "workmail",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAliasesCommand } from "../commands/ListAliasesCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAliasesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAliases(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAliases = createPaginator(WorkMailClient, ListAliasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAvailabilityConfigurationsCommand, } from "../commands/ListAvailabilityConfigurationsCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAvailabilityConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAvailabilityConfigurations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAvailabilityConfigurations = createPaginator(WorkMailClient, ListAvailabilityConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroupMembersCommand, } from "../commands/ListGroupMembersCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupMembersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroupMembers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListGroupMembers = createPaginator(WorkMailClient, ListGroupMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroupsForEntityCommand, } from "../commands/ListGroupsForEntityCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupsForEntityCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroupsForEntity(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListGroupsForEntity = createPaginator(WorkMailClient, ListGroupsForEntityCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroupsCommand } from "../commands/ListGroupsCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListGroups = createPaginator(WorkMailClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListImpersonationRolesCommand, } from "../commands/ListImpersonationRolesCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListImpersonationRolesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListImpersonationRoles(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListImpersonationRoles = createPaginator(WorkMailClient, ListImpersonationRolesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMailDomainsCommand, } from "../commands/ListMailDomainsCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMailDomainsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMailDomains(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMailDomains = createPaginator(WorkMailClient, ListMailDomainsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMailboxExportJobsCommand, } from "../commands/ListMailboxExportJobsCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMailboxExportJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMailboxExportJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMailboxExportJobs = createPaginator(WorkMailClient, ListMailboxExportJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMailboxPermissionsCommand, } from "../commands/ListMailboxPermissionsCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMailboxPermissionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMailboxPermissions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMailboxPermissions = createPaginator(WorkMailClient, ListMailboxPermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMobileDeviceAccessOverridesCommand, } from "../commands/ListMobileDeviceAccessOverridesCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMobileDeviceAccessOverridesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMobileDeviceAccessOverrides(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMobileDeviceAccessOverrides = createPaginator(WorkMailClient, ListMobileDeviceAccessOverridesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListOrganizationsCommand, } from "../commands/ListOrganizationsCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListOrganizationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListOrganizations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListOrganizations = createPaginator(WorkMailClient, ListOrganizationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResourceDelegatesCommand, } from "../commands/ListResourceDelegatesCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResourceDelegatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResourceDelegates(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResourceDelegates = createPaginator(WorkMailClient, ListResourceDelegatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResourcesCommand, } from "../commands/ListResourcesCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListResources = createPaginator(WorkMailClient, ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListUsersCommand } from "../commands/ListUsersCommand";
|
|
2
3
|
import { WorkMailClient } from "../WorkMailClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListUsersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListUsers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof WorkMailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListUsers = createPaginator(WorkMailClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
|