public override void Invoke(AWSCredentials creds, RegionEndpoint region, int maxItems)
        {
            AmazonSimpleEmailServiceV2Config config = new AmazonSimpleEmailServiceV2Config();

            config.RegionEndpoint = region;
            ConfigureClient(config);
            AmazonSimpleEmailServiceV2Client client = new AmazonSimpleEmailServiceV2Client(creds, config);

            ListEmailIdentitiesResponse resp = new ListEmailIdentitiesResponse();

            do
            {
                ListEmailIdentitiesRequest req = new ListEmailIdentitiesRequest
                {
                    NextToken = resp.NextToken
                    ,
                    PageSize = maxItems
                };

                resp = client.ListEmailIdentities(req);
                CheckError(resp.HttpStatusCode, "200");

                foreach (var obj in resp.EmailIdentities)
                {
                    AddObject(obj);
                }
            }while (!string.IsNullOrEmpty(resp.NextToken));
        }
        /// <summary>
        /// 获取当前发信域名列表,包含已验证通过与未验证的域名
        /// </summary>
        /// <param name="req"><see cref="ListEmailIdentitiesRequest"/></param>
        /// <returns><see cref="ListEmailIdentitiesResponse"/></returns>
        public ListEmailIdentitiesResponse ListEmailIdentitiesSync(ListEmailIdentitiesRequest req)
        {
            JsonResponseModel <ListEmailIdentitiesResponse> rsp = null;

            try
            {
                var strResp = this.InternalRequestSync(req, "ListEmailIdentities");
                rsp = JsonConvert.DeserializeObject <JsonResponseModel <ListEmailIdentitiesResponse> >(strResp);
            }
            catch (JsonSerializationException e)
            {
                throw new TencentCloudSDKException(e.Message);
            }
            return(rsp.Response);
        }