public Task <ListAttachedUserPoliciesResponse> ListAttachedUserPoliciesAsync(ListAttachedUserPoliciesRequest request,
                                                                              CancellationToken cancellationToken = new CancellationToken())
 {
     throw new System.NotImplementedException();
 }
コード例 #2
0
        /// <summary>
        /// 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
        /// </summary>
        /// <param name="req">参考<see cref="ListAttachedUserPoliciesRequest"/></param>
        /// <returns>参考<see cref="ListAttachedUserPoliciesResponse"/>实例</returns>
        public async Task <ListAttachedUserPoliciesResponse> ListAttachedUserPolicies(ListAttachedUserPoliciesRequest req)
        {
            JsonResponseModel <ListAttachedUserPoliciesResponse> rsp = null;

            try
            {
                var strResp = await this.InternalRequest(req, "ListAttachedUserPolicies");

                rsp = JsonConvert.DeserializeObject <JsonResponseModel <ListAttachedUserPoliciesResponse> >(strResp);
            }
            catch (JsonSerializationException e)
            {
                throw new TencentCloudSDKException(e.Message);
            }
            return(rsp.Response);
        }