/// <summary> /// 本接口(DeleteNotificationConfiguration)用于删除特定的通知。 /// </summary> /// <param name="req">参考<see cref="DeleteNotificationConfigurationRequest"/></param> /// <returns>参考<see cref="DeleteNotificationConfigurationResponse"/>实例</returns> public async Task <DeleteNotificationConfigurationResponse> DeleteNotificationConfiguration(DeleteNotificationConfigurationRequest req) { JsonResponseModel <DeleteNotificationConfigurationResponse> rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteNotificationConfiguration"); rsp = JsonConvert.DeserializeObject <JsonResponseModel <DeleteNotificationConfigurationResponse> >(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return(rsp.Response); }
/// <summary> /// <para>Deletes notifications created by PutNotificationConfiguration.</para> /// </summary> /// /// <param name="deleteNotificationConfigurationRequest">Container for the necessary parameters to execute the DeleteNotificationConfiguration /// service method on AmazonAutoScaling.</param> /// public DeleteNotificationConfigurationResponse DeleteNotificationConfiguration(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest) { IRequest <DeleteNotificationConfigurationRequest> request = new DeleteNotificationConfigurationRequestMarshaller().Marshall(deleteNotificationConfigurationRequest); DeleteNotificationConfigurationResponse response = Invoke <DeleteNotificationConfigurationRequest, DeleteNotificationConfigurationResponse> (request, this.signer, DeleteNotificationConfigurationResponseUnmarshaller.GetInstance()); return(response); }