@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
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdatePrimaryEmailAddressCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WorkMailClient";
|
|
29
|
-
const commandName = "UpdatePrimaryEmailAddressCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "WorkMailService",
|
|
38
|
-
operation: "UpdatePrimaryEmailAddress",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdatePrimaryEmailAddressCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdatePrimaryEmailAddressCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdatePrimaryEmailAddressCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("WorkMailService", "UpdatePrimaryEmailAddress", {})
|
|
22
|
+
.n("WorkMailClient", "UpdatePrimaryEmailAddressCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdatePrimaryEmailAddressCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdatePrimaryEmailAddressCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdatePrimaryEmailAddressCommand = UpdatePrimaryEmailAddressCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "WorkMailClient";
|
|
29
|
-
const commandName = "UpdateResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "WorkMailService",
|
|
38
|
-
operation: "UpdateResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("WorkMailService", "UpdateResource", {})
|
|
22
|
+
.n("WorkMailClient", "UpdateResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateResourceCommand = UpdateResourceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
11
|
-
class UpdateUserCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "WorkMailClient";
|
|
30
|
-
const commandName = "UpdateUserCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UpdateUserRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "WorkMailService",
|
|
39
|
-
operation: "UpdateUser",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_json1_1_1.se_UpdateUserCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_json1_1_1.de_UpdateUserCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UpdateUserCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("WorkMailService", "UpdateUser", {})
|
|
23
|
+
.n("WorkMailClient", "UpdateUserCommand")
|
|
24
|
+
.f(models_0_1.UpdateUserRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_json1_1_1.se_UpdateUserCommand)
|
|
26
|
+
.de(Aws_json1_1_1.de_UpdateUserCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UpdateUserCommand = UpdateUserCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAliases = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAliasesCommand_1 = require("../commands/ListAliasesCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAliasesCommand_1.ListAliasesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAliases(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAliases = paginateListAliases;
|
|
7
|
+
exports.paginateListAliases = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListAliasesCommand_1.ListAliasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAvailabilityConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAvailabilityConfigurationsCommand_1 = require("../commands/ListAvailabilityConfigurationsCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAvailabilityConfigurationsCommand_1.ListAvailabilityConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAvailabilityConfigurations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListAvailabilityConfigurations = paginateListAvailabilityConfigurations;
|
|
7
|
+
exports.paginateListAvailabilityConfigurations = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListAvailabilityConfigurationsCommand_1.ListAvailabilityConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGroupMembers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListGroupMembersCommand_1 = require("../commands/ListGroupMembersCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListGroupMembersCommand_1.ListGroupMembersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListGroupMembers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListGroupMembers = paginateListGroupMembers;
|
|
7
|
+
exports.paginateListGroupMembers = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListGroupMembersCommand_1.ListGroupMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGroupsForEntity = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListGroupsForEntityCommand_1 = require("../commands/ListGroupsForEntityCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListGroupsForEntityCommand_1.ListGroupsForEntityCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListGroupsForEntity(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListGroupsForEntity = paginateListGroupsForEntity;
|
|
7
|
+
exports.paginateListGroupsForEntity = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListGroupsForEntityCommand_1.ListGroupsForEntityCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListGroupsCommand_1 = require("../commands/ListGroupsCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListGroupsCommand_1.ListGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListGroups = paginateListGroups;
|
|
7
|
+
exports.paginateListGroups = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListGroupsCommand_1.ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImpersonationRoles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImpersonationRolesCommand_1 = require("../commands/ListImpersonationRolesCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImpersonationRolesCommand_1.ListImpersonationRolesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImpersonationRoles(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImpersonationRoles = paginateListImpersonationRoles;
|
|
7
|
+
exports.paginateListImpersonationRoles = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListImpersonationRolesCommand_1.ListImpersonationRolesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMailDomains = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMailDomainsCommand_1 = require("../commands/ListMailDomainsCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMailDomainsCommand_1.ListMailDomainsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMailDomains(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMailDomains = paginateListMailDomains;
|
|
7
|
+
exports.paginateListMailDomains = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListMailDomainsCommand_1.ListMailDomainsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMailboxExportJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMailboxExportJobsCommand_1 = require("../commands/ListMailboxExportJobsCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMailboxExportJobsCommand_1.ListMailboxExportJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMailboxExportJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMailboxExportJobs = paginateListMailboxExportJobs;
|
|
7
|
+
exports.paginateListMailboxExportJobs = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListMailboxExportJobsCommand_1.ListMailboxExportJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMailboxPermissions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMailboxPermissionsCommand_1 = require("../commands/ListMailboxPermissionsCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMailboxPermissionsCommand_1.ListMailboxPermissionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMailboxPermissions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMailboxPermissions = paginateListMailboxPermissions;
|
|
7
|
+
exports.paginateListMailboxPermissions = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListMailboxPermissionsCommand_1.ListMailboxPermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMobileDeviceAccessOverrides = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMobileDeviceAccessOverridesCommand_1 = require("../commands/ListMobileDeviceAccessOverridesCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMobileDeviceAccessOverridesCommand_1.ListMobileDeviceAccessOverridesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMobileDeviceAccessOverrides(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMobileDeviceAccessOverrides = paginateListMobileDeviceAccessOverrides;
|
|
7
|
+
exports.paginateListMobileDeviceAccessOverrides = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListMobileDeviceAccessOverridesCommand_1.ListMobileDeviceAccessOverridesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListOrganizations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListOrganizationsCommand_1 = require("../commands/ListOrganizationsCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListOrganizationsCommand_1.ListOrganizationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListOrganizations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListOrganizations = paginateListOrganizations;
|
|
7
|
+
exports.paginateListOrganizations = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListOrganizationsCommand_1.ListOrganizationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListResourceDelegates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListResourceDelegatesCommand_1 = require("../commands/ListResourceDelegatesCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListResourceDelegatesCommand_1.ListResourceDelegatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListResourceDelegates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListResourceDelegates = paginateListResourceDelegates;
|
|
7
|
+
exports.paginateListResourceDelegates = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListResourceDelegatesCommand_1.ListResourceDelegatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListResources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListResourcesCommand_1 = require("../commands/ListResourcesCommand");
|
|
5
6
|
const WorkMailClient_1 = require("../WorkMailClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListResourcesCommand_1.ListResourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListResources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof WorkMailClient_1.WorkMailClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected WorkMail | WorkMailClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListResources = paginateListResources;
|
|
7
|
+
exports.paginateListResources = (0, core_1.createPaginator)(WorkMailClient_1.WorkMailClient, ListResourcesCommand_1.ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
|