Class: TencentCloud::Tdmq::V20200217::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Tdmq::V20200217::Client
- Defined in:
- lib/v20200217/client.rb
Instance Method Summary collapse
-
#AcknowledgeMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::AcknowledgeMessageResponse`.
-
#ClearCmqQueue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ClearCmqQueueResponse`.
-
#ClearCmqSubscriptionFilterTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ClearCmqSubscriptionFilterTagsResponse`.
-
#CreateCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateClusterResponse`.
-
#CreateCmqQueue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateCmqQueueResponse`.
-
#CreateCmqSubscribe(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateCmqSubscribeResponse`.
-
#CreateCmqTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateCmqTopicResponse`.
-
#CreateEnvironment(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateEnvironmentResponse`.
-
#CreateEnvironmentRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateEnvironmentRoleResponse`.
-
#CreateProCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateProClusterResponse`.
-
#CreateRabbitMQBinding(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRabbitMQBindingResponse`.
-
#CreateRabbitMQUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRabbitMQUserResponse`.
-
#CreateRabbitMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRabbitMQVipInstanceResponse`.
-
#CreateRabbitMQVirtualHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRabbitMQVirtualHostResponse`.
-
#CreateRocketMQCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQClusterResponse`.
-
#CreateRocketMQEnvironmentRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQEnvironmentRoleResponse`.
-
#CreateRocketMQGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQGroupResponse`.
-
#CreateRocketMQNamespace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQNamespaceResponse`.
-
#CreateRocketMQRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQRoleResponse`.
-
#CreateRocketMQTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQTopicResponse`.
-
#CreateRocketMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQVipInstanceResponse`.
-
#CreateRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRoleResponse`.
-
#CreateSubscription(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateSubscriptionResponse`.
-
#CreateTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateTopicResponse`.
-
#DeleteCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteClusterResponse`.
-
#DeleteCmqQueue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteCmqQueueResponse`.
-
#DeleteCmqSubscribe(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteCmqSubscribeResponse`.
-
#DeleteCmqTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteCmqTopicResponse`.
-
#DeleteEnvironmentRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteEnvironmentRolesResponse`.
-
#DeleteEnvironments(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteEnvironmentsResponse`.
-
#DeleteProCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteProClusterResponse`.
-
#DeleteRabbitMQBinding(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRabbitMQBindingResponse`.
-
#DeleteRabbitMQUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRabbitMQUserResponse`.
-
#DeleteRabbitMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRabbitMQVipInstanceResponse`.
-
#DeleteRabbitMQVirtualHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRabbitMQVirtualHostResponse`.
-
#DeleteRocketMQCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQClusterResponse`.
-
#DeleteRocketMQEnvironmentRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQEnvironmentRolesResponse`.
-
#DeleteRocketMQGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQGroupResponse`.
-
#DeleteRocketMQNamespace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQNamespaceResponse`.
-
#DeleteRocketMQRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQRolesResponse`.
-
#DeleteRocketMQTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQTopicResponse`.
-
#DeleteRocketMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQVipInstanceResponse`.
-
#DeleteRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRolesResponse`.
-
#DeleteSubscriptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteSubscriptionsResponse`.
-
#DeleteTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteTopicsResponse`.
-
#DescribeAllTenants(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeAllTenantsResponse`.
-
#DescribeAMQPClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeAMQPClustersResponse`.
-
#DescribeBindClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeBindClustersResponse`.
-
#DescribeBindVpcs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeBindVpcsResponse`.
-
#DescribeClusterDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeClusterDetailResponse`.
-
#DescribeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeClustersResponse`.
-
#DescribeCmqDeadLetterSourceQueues(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqDeadLetterSourceQueuesResponse`.
-
#DescribeCmqQueueDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqQueueDetailResponse`.
-
#DescribeCmqQueues(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqQueuesResponse`.
-
#DescribeCmqSubscriptionDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqSubscriptionDetailResponse`.
-
#DescribeCmqTopicDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqTopicDetailResponse`.
-
#DescribeCmqTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqTopicsResponse`.
-
#DescribeEnvironmentAttributes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeEnvironmentAttributesResponse`.
-
#DescribeEnvironmentRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeEnvironmentRolesResponse`.
-
#DescribeEnvironments(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeEnvironmentsResponse`.
-
#DescribeMqMsgTrace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeMqMsgTraceResponse`.
-
#DescribeMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeMsgResponse`.
-
#DescribeMsgTrace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeMsgTraceResponse`.
-
#DescribeNamespaceBundlesOpt(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeNamespaceBundlesOptResponse`.
-
#DescribeNodeHealthOpt(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeNodeHealthOptResponse`.
-
#DescribePublishers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribePublishersResponse`.
-
#DescribePublisherSummary(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribePublisherSummaryResponse`.
-
#DescribePulsarProInstanceDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribePulsarProInstanceDetailResponse`.
-
#DescribePulsarProInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribePulsarProInstancesResponse`.
-
#DescribeRabbitMQBindings(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQBindingsResponse`.
-
#DescribeRabbitMQExchanges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQExchangesResponse`.
-
#DescribeRabbitMQNodeList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQNodeListResponse`.
-
#DescribeRabbitMQQueueDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQQueueDetailResponse`.
-
#DescribeRabbitMQQueues(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQQueuesResponse`.
-
#DescribeRabbitMQUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQUserResponse`.
-
#DescribeRabbitMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQVipInstanceResponse`.
-
#DescribeRabbitMQVipInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQVipInstancesResponse`.
-
#DescribeRabbitMQVirtualHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQVirtualHostResponse`.
-
#DescribeRabbitMQVirtualHostList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQVirtualHostListResponse`.
-
#DescribeRocketMQCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQClusterResponse`.
-
#DescribeRocketMQClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQClustersResponse`.
-
#DescribeRocketMQConsumerConnectionDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailResponse`.
-
#DescribeRocketMQConsumerConnections(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionsResponse`.
-
#DescribeRocketMQConsumeStats(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumeStatsResponse`.
-
#DescribeRocketMQEnvironmentRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQEnvironmentRolesResponse`.
-
#DescribeRocketMQGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQGroupsResponse`.
-
#DescribeRocketMQMigratingTopicList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQMigratingTopicListResponse`.
-
#DescribeRocketMQMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQMsgResponse`.
-
#DescribeRocketMQMsgTrace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQMsgTraceResponse`.
-
#DescribeRocketMQNamespaces(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQNamespacesResponse`.
-
#DescribeRocketMQPublicAccessMonitorData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessMonitorDataResponse`.
-
#DescribeRocketMQPublicAccessPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessPointResponse`.
-
#DescribeRocketMQRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQRolesResponse`.
-
#DescribeRocketMQSmoothMigrationTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskResponse`.
-
#DescribeRocketMQSmoothMigrationTaskList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse`.
-
#DescribeRocketMQSourceClusterGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse`.
-
#DescribeRocketMQSourceClusterTopicList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterTopicListResponse`.
-
#DescribeRocketMQSubscriptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsResponse`.
-
#DescribeRocketMQTopicMsgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicMsgsResponse`.
-
#DescribeRocketMQTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicsResponse`.
-
#DescribeRocketMQTopicsByGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicsByGroupResponse`.
-
#DescribeRocketMQTopicStats(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicStatsResponse`.
-
#DescribeRocketMQVipInstanceDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQVipInstanceDetailResponse`.
-
#DescribeRocketMQVipInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQVipInstancesResponse`.
-
#DescribeRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRolesResponse`.
-
#DescribeSubscriptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeSubscriptionsResponse`.
-
#DescribeTopicMsgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeTopicMsgsResponse`.
-
#DescribeTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeTopicsResponse`.
-
#ExportRocketMQMessageDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ExportRocketMQMessageDetailResponse`.
-
#ImportRocketMQConsumerGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ImportRocketMQConsumerGroupsResponse`.
-
#ImportRocketMQTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ImportRocketMQTopicsResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyAMQPCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyAMQPClusterResponse`.
-
#ModifyCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyClusterResponse`.
-
#ModifyCmqQueueAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyCmqQueueAttributeResponse`.
-
#ModifyCmqSubscriptionAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyCmqSubscriptionAttributeResponse`.
-
#ModifyCmqTopicAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyCmqTopicAttributeResponse`.
-
#ModifyEnvironmentAttributes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyEnvironmentAttributesResponse`.
-
#ModifyEnvironmentRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyEnvironmentRoleResponse`.
-
#ModifyPublicNetworkAccessPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyPublicNetworkAccessPointResponse`.
-
#ModifyRabbitMQUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRabbitMQUserResponse`.
-
#ModifyRabbitMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRabbitMQVipInstanceResponse`.
-
#ModifyRabbitMQVirtualHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRabbitMQVirtualHostResponse`.
-
#ModifyRocketMQCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQClusterResponse`.
-
#ModifyRocketMQEnvironmentRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQEnvironmentRoleResponse`.
-
#ModifyRocketMQGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQGroupResponse`.
-
#ModifyRocketMQInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQInstanceResponse`.
-
#ModifyRocketMQInstanceSpec(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQInstanceSpecResponse`.
-
#ModifyRocketMQNamespace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQNamespaceResponse`.
-
#ModifyRocketMQRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQRoleResponse`.
-
#ModifyRocketMQTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQTopicResponse`.
-
#ModifyRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRoleResponse`.
-
#ModifyTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyTopicResponse`.
-
#PublishCmqMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::PublishCmqMsgResponse`.
-
#ReceiveMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ReceiveMessageResponse`.
-
#ResetMsgSubOffsetByTimestamp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ResetMsgSubOffsetByTimestampResponse`.
-
#ResetRocketMQConsumerOffSet(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ResetRocketMQConsumerOffSetResponse`.
-
#RewindCmqQueue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::RewindCmqQueueResponse`.
-
#SendBatchMessages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendBatchMessagesResponse`.
-
#SendCmqMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendCmqMsgResponse`.
-
#SendMessages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendMessagesResponse`.
-
#SendMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendMsgResponse`.
-
#SendRocketMQMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendRocketMQMessageResponse`.
-
#SetRocketMQPublicAccessPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SetRocketMQPublicAccessPointResponse`.
-
#UnbindCmqDeadLetter(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::UnbindCmqDeadLetterResponse`.
-
#VerifyRocketMQConsume(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::VerifyRocketMQConsumeResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20200217/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2020-02-17' api_endpoint = 'tdmq.tencentcloudapi.com' sdk_version = 'TDMQ_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AcknowledgeMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::AcknowledgeMessageResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20200217/client.rb', line 37 def AcknowledgeMessage(request) body = send_request('AcknowledgeMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AcknowledgeMessageResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ClearCmqQueue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ClearCmqQueueResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20200217/client.rb', line 61 def ClearCmqQueue(request) body = send_request('ClearCmqQueue', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ClearCmqQueueResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ClearCmqSubscriptionFilterTags(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ClearCmqSubscriptionFilterTagsResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20200217/client.rb', line 85 def ClearCmqSubscriptionFilterTags(request) body = send_request('ClearCmqSubscriptionFilterTags', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ClearCmqSubscriptionFilterTagsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateClusterResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20200217/client.rb', line 109 def CreateCluster(request) body = send_request('CreateCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCmqQueue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateCmqQueueResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20200217/client.rb', line 133 def CreateCmqQueue(request) body = send_request('CreateCmqQueue', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCmqQueueResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCmqSubscribe(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateCmqSubscribeResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20200217/client.rb', line 157 def CreateCmqSubscribe(request) body = send_request('CreateCmqSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCmqSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCmqTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateCmqTopicResponse`
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/v20200217/client.rb', line 181 def CreateCmqTopic(request) body = send_request('CreateCmqTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCmqTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateEnvironment(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateEnvironmentResponse`
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/v20200217/client.rb', line 205 def CreateEnvironment(request) body = send_request('CreateEnvironment', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEnvironmentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateEnvironmentRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateEnvironmentRoleResponse`
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/v20200217/client.rb', line 229 def CreateEnvironmentRole(request) body = send_request('CreateEnvironmentRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEnvironmentRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateProCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateProClusterResponse`
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/v20200217/client.rb', line 253 def CreateProCluster(request) body = send_request('CreateProCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateProClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRabbitMQBinding(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRabbitMQBindingResponse`
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/v20200217/client.rb', line 277 def CreateRabbitMQBinding(request) body = send_request('CreateRabbitMQBinding', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRabbitMQBindingResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRabbitMQUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRabbitMQUserResponse`
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/v20200217/client.rb', line 301 def CreateRabbitMQUser(request) body = send_request('CreateRabbitMQUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRabbitMQUserResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRabbitMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRabbitMQVipInstanceResponse`
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
# File 'lib/v20200217/client.rb', line 325 def CreateRabbitMQVipInstance(request) body = send_request('CreateRabbitMQVipInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRabbitMQVipInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRabbitMQVirtualHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRabbitMQVirtualHostResponse`
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'lib/v20200217/client.rb', line 349 def CreateRabbitMQVirtualHost(request) body = send_request('CreateRabbitMQVirtualHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRabbitMQVirtualHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRocketMQCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQClusterResponse`
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/v20200217/client.rb', line 373 def CreateRocketMQCluster(request) body = send_request('CreateRocketMQCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRocketMQClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRocketMQEnvironmentRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQEnvironmentRoleResponse`
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/v20200217/client.rb', line 397 def CreateRocketMQEnvironmentRole(request) body = send_request('CreateRocketMQEnvironmentRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRocketMQEnvironmentRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRocketMQGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQGroupResponse`
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/v20200217/client.rb', line 421 def CreateRocketMQGroup(request) body = send_request('CreateRocketMQGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRocketMQGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRocketMQNamespace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQNamespaceResponse`
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 |
# File 'lib/v20200217/client.rb', line 445 def CreateRocketMQNamespace(request) body = send_request('CreateRocketMQNamespace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRocketMQNamespaceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRocketMQRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQRoleResponse`
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'lib/v20200217/client.rb', line 469 def CreateRocketMQRole(request) body = send_request('CreateRocketMQRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRocketMQRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRocketMQTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQTopicResponse`
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 |
# File 'lib/v20200217/client.rb', line 493 def CreateRocketMQTopic(request) body = send_request('CreateRocketMQTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRocketMQTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRocketMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRocketMQVipInstanceResponse`
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 |
# File 'lib/v20200217/client.rb', line 517 def CreateRocketMQVipInstance(request) body = send_request('CreateRocketMQVipInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRocketMQVipInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateRoleResponse`
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'lib/v20200217/client.rb', line 541 def CreateRole(request) body = send_request('CreateRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSubscription(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateSubscriptionResponse`
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 |
# File 'lib/v20200217/client.rb', line 565 def CreateSubscription(request) body = send_request('CreateSubscription', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSubscriptionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::CreateTopicResponse`
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
# File 'lib/v20200217/client.rb', line 589 def CreateTopic(request) body = send_request('CreateTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteClusterResponse`
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 |
# File 'lib/v20200217/client.rb', line 613 def DeleteCluster(request) body = send_request('DeleteCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCmqQueue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteCmqQueueResponse`
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/v20200217/client.rb', line 637 def DeleteCmqQueue(request) body = send_request('DeleteCmqQueue', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCmqQueueResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCmqSubscribe(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteCmqSubscribeResponse`
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/v20200217/client.rb', line 661 def DeleteCmqSubscribe(request) body = send_request('DeleteCmqSubscribe', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCmqSubscribeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCmqTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteCmqTopicResponse`
685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File 'lib/v20200217/client.rb', line 685 def DeleteCmqTopic(request) body = send_request('DeleteCmqTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCmqTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteEnvironmentRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteEnvironmentRolesResponse`
709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 |
# File 'lib/v20200217/client.rb', line 709 def DeleteEnvironmentRoles(request) body = send_request('DeleteEnvironmentRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteEnvironmentRolesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteEnvironments(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteEnvironmentsResponse`
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/v20200217/client.rb', line 733 def DeleteEnvironments(request) body = send_request('DeleteEnvironments', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteEnvironmentsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteProCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteProClusterResponse`
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 |
# File 'lib/v20200217/client.rb', line 757 def DeleteProCluster(request) body = send_request('DeleteProCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteProClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRabbitMQBinding(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRabbitMQBindingResponse`
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 |
# File 'lib/v20200217/client.rb', line 781 def DeleteRabbitMQBinding(request) body = send_request('DeleteRabbitMQBinding', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRabbitMQBindingResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRabbitMQUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRabbitMQUserResponse`
805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 |
# File 'lib/v20200217/client.rb', line 805 def DeleteRabbitMQUser(request) body = send_request('DeleteRabbitMQUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRabbitMQUserResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRabbitMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRabbitMQVipInstanceResponse`
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 |
# File 'lib/v20200217/client.rb', line 829 def DeleteRabbitMQVipInstance(request) body = send_request('DeleteRabbitMQVipInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRabbitMQVipInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRabbitMQVirtualHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRabbitMQVirtualHostResponse`
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'lib/v20200217/client.rb', line 853 def DeleteRabbitMQVirtualHost(request) body = send_request('DeleteRabbitMQVirtualHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRabbitMQVirtualHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRocketMQCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQClusterResponse`
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 |
# File 'lib/v20200217/client.rb', line 877 def DeleteRocketMQCluster(request) body = send_request('DeleteRocketMQCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRocketMQClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRocketMQEnvironmentRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQEnvironmentRolesResponse`
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'lib/v20200217/client.rb', line 901 def DeleteRocketMQEnvironmentRoles(request) body = send_request('DeleteRocketMQEnvironmentRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRocketMQEnvironmentRolesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRocketMQGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQGroupResponse`
925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 |
# File 'lib/v20200217/client.rb', line 925 def DeleteRocketMQGroup(request) body = send_request('DeleteRocketMQGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRocketMQGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRocketMQNamespace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQNamespaceResponse`
949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 |
# File 'lib/v20200217/client.rb', line 949 def DeleteRocketMQNamespace(request) body = send_request('DeleteRocketMQNamespace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRocketMQNamespaceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRocketMQRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQRolesResponse`
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 |
# File 'lib/v20200217/client.rb', line 973 def DeleteRocketMQRoles(request) body = send_request('DeleteRocketMQRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRocketMQRolesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRocketMQTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQTopicResponse`
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 |
# File 'lib/v20200217/client.rb', line 997 def DeleteRocketMQTopic(request) body = send_request('DeleteRocketMQTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRocketMQTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRocketMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRocketMQVipInstanceResponse`
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/v20200217/client.rb', line 1021 def DeleteRocketMQVipInstance(request) body = send_request('DeleteRocketMQVipInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRocketMQVipInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteRolesResponse`
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/v20200217/client.rb', line 1045 def DeleteRoles(request) body = send_request('DeleteRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRolesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSubscriptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteSubscriptionsResponse`
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 |
# File 'lib/v20200217/client.rb', line 1069 def DeleteSubscriptions(request) body = send_request('DeleteSubscriptions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSubscriptionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DeleteTopicsResponse`
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 |
# File 'lib/v20200217/client.rb', line 1093 def DeleteTopics(request) body = send_request('DeleteTopics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteTopicsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAllTenants(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeAllTenantsResponse`
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 |
# File 'lib/v20200217/client.rb', line 1141 def DescribeAllTenants(request) body = send_request('DescribeAllTenants', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAllTenantsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAMQPClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeAMQPClustersResponse`
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'lib/v20200217/client.rb', line 1117 def DescribeAMQPClusters(request) body = send_request('DescribeAMQPClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAMQPClustersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBindClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeBindClustersResponse`
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 |
# File 'lib/v20200217/client.rb', line 1165 def DescribeBindClusters(request) body = send_request('DescribeBindClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBindClustersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBindVpcs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeBindVpcsResponse`
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'lib/v20200217/client.rb', line 1189 def DescribeBindVpcs(request) body = send_request('DescribeBindVpcs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBindVpcsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusterDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeClusterDetailResponse`
1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 |
# File 'lib/v20200217/client.rb', line 1213 def DescribeClusterDetail(request) body = send_request('DescribeClusterDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClusterDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeClustersResponse`
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'lib/v20200217/client.rb', line 1237 def DescribeClusters(request) body = send_request('DescribeClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeClustersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCmqDeadLetterSourceQueues(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqDeadLetterSourceQueuesResponse`
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 |
# File 'lib/v20200217/client.rb', line 1263 def DescribeCmqDeadLetterSourceQueues(request) body = send_request('DescribeCmqDeadLetterSourceQueues', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCmqDeadLetterSourceQueuesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCmqQueueDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqQueueDetailResponse`
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/v20200217/client.rb', line 1287 def DescribeCmqQueueDetail(request) body = send_request('DescribeCmqQueueDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCmqQueueDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCmqQueues(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqQueuesResponse`
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'lib/v20200217/client.rb', line 1311 def DescribeCmqQueues(request) body = send_request('DescribeCmqQueues', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCmqQueuesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCmqSubscriptionDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqSubscriptionDetailResponse`
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 |
# File 'lib/v20200217/client.rb', line 1335 def DescribeCmqSubscriptionDetail(request) body = send_request('DescribeCmqSubscriptionDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCmqSubscriptionDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCmqTopicDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqTopicDetailResponse`
1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'lib/v20200217/client.rb', line 1359 def DescribeCmqTopicDetail(request) body = send_request('DescribeCmqTopicDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCmqTopicDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCmqTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeCmqTopicsResponse`
1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 |
# File 'lib/v20200217/client.rb', line 1383 def DescribeCmqTopics(request) body = send_request('DescribeCmqTopics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCmqTopicsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEnvironmentAttributes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeEnvironmentAttributesResponse`
1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 |
# File 'lib/v20200217/client.rb', line 1407 def DescribeEnvironmentAttributes(request) body = send_request('DescribeEnvironmentAttributes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEnvironmentAttributesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEnvironmentRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeEnvironmentRolesResponse`
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 |
# File 'lib/v20200217/client.rb', line 1431 def DescribeEnvironmentRoles(request) body = send_request('DescribeEnvironmentRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEnvironmentRolesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeEnvironments(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeEnvironmentsResponse`
1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 |
# File 'lib/v20200217/client.rb', line 1455 def DescribeEnvironments(request) body = send_request('DescribeEnvironments', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeEnvironmentsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMqMsgTrace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeMqMsgTraceResponse`
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 |
# File 'lib/v20200217/client.rb', line 1479 def DescribeMqMsgTrace(request) body = send_request('DescribeMqMsgTrace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMqMsgTraceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeMsgResponse`
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 |
# File 'lib/v20200217/client.rb', line 1503 def DescribeMsg(request) body = send_request('DescribeMsg', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMsgResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeMsgTrace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeMsgTraceResponse`
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 |
# File 'lib/v20200217/client.rb', line 1527 def DescribeMsgTrace(request) body = send_request('DescribeMsgTrace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeMsgTraceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeNamespaceBundlesOpt(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeNamespaceBundlesOptResponse`
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 |
# File 'lib/v20200217/client.rb', line 1551 def DescribeNamespaceBundlesOpt(request) body = send_request('DescribeNamespaceBundlesOpt', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeNamespaceBundlesOptResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeNodeHealthOpt(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeNodeHealthOptResponse`
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 |
# File 'lib/v20200217/client.rb', line 1575 def DescribeNodeHealthOpt(request) body = send_request('DescribeNodeHealthOpt', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeNodeHealthOptResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePublishers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribePublishersResponse`
1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 |
# File 'lib/v20200217/client.rb', line 1623 def DescribePublishers(request) body = send_request('DescribePublishers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePublishersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePublisherSummary(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribePublisherSummaryResponse`
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 |
# File 'lib/v20200217/client.rb', line 1599 def DescribePublisherSummary(request) body = send_request('DescribePublisherSummary', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePublisherSummaryResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePulsarProInstanceDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribePulsarProInstanceDetailResponse`
1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 |
# File 'lib/v20200217/client.rb', line 1647 def DescribePulsarProInstanceDetail(request) body = send_request('DescribePulsarProInstanceDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePulsarProInstanceDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePulsarProInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribePulsarProInstancesResponse`
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'lib/v20200217/client.rb', line 1671 def DescribePulsarProInstances(request) body = send_request('DescribePulsarProInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePulsarProInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQBindings(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQBindingsResponse`
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'lib/v20200217/client.rb', line 1695 def DescribeRabbitMQBindings(request) body = send_request('DescribeRabbitMQBindings', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQBindingsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQExchanges(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQExchangesResponse`
1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 |
# File 'lib/v20200217/client.rb', line 1719 def DescribeRabbitMQExchanges(request) body = send_request('DescribeRabbitMQExchanges', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQExchangesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQNodeList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQNodeListResponse`
1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 |
# File 'lib/v20200217/client.rb', line 1743 def DescribeRabbitMQNodeList(request) body = send_request('DescribeRabbitMQNodeList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQNodeListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQQueueDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQQueueDetailResponse`
1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 |
# File 'lib/v20200217/client.rb', line 1767 def DescribeRabbitMQQueueDetail(request) body = send_request('DescribeRabbitMQQueueDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQQueueDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQQueues(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQQueuesResponse`
1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 |
# File 'lib/v20200217/client.rb', line 1791 def DescribeRabbitMQQueues(request) body = send_request('DescribeRabbitMQQueues', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQQueuesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQUserResponse`
1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 |
# File 'lib/v20200217/client.rb', line 1815 def DescribeRabbitMQUser(request) body = send_request('DescribeRabbitMQUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQUserResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQVipInstanceResponse`
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 |
# File 'lib/v20200217/client.rb', line 1839 def DescribeRabbitMQVipInstance(request) body = send_request('DescribeRabbitMQVipInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQVipInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQVipInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQVipInstancesResponse`
1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 |
# File 'lib/v20200217/client.rb', line 1863 def DescribeRabbitMQVipInstances(request) body = send_request('DescribeRabbitMQVipInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQVipInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQVirtualHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQVirtualHostResponse`
1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'lib/v20200217/client.rb', line 1887 def DescribeRabbitMQVirtualHost(request) body = send_request('DescribeRabbitMQVirtualHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQVirtualHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRabbitMQVirtualHostList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRabbitMQVirtualHostListResponse`
1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 |
# File 'lib/v20200217/client.rb', line 1911 def DescribeRabbitMQVirtualHostList(request) body = send_request('DescribeRabbitMQVirtualHostList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRabbitMQVirtualHostListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQClusterResponse`
1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 |
# File 'lib/v20200217/client.rb', line 1935 def DescribeRocketMQCluster(request) body = send_request('DescribeRocketMQCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQClusters(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQClustersResponse`
1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 |
# File 'lib/v20200217/client.rb', line 1959 def DescribeRocketMQClusters(request) body = send_request('DescribeRocketMQClusters', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQClustersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQConsumerConnectionDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionDetailResponse`
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
# File 'lib/v20200217/client.rb', line 2007 def DescribeRocketMQConsumerConnectionDetail(request) body = send_request('DescribeRocketMQConsumerConnectionDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQConsumerConnectionDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQConsumerConnections(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumerConnectionsResponse`
2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 |
# File 'lib/v20200217/client.rb', line 2031 def DescribeRocketMQConsumerConnections(request) body = send_request('DescribeRocketMQConsumerConnections', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQConsumerConnectionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQConsumeStats(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQConsumeStatsResponse`
1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/v20200217/client.rb', line 1983 def DescribeRocketMQConsumeStats(request) body = send_request('DescribeRocketMQConsumeStats', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQConsumeStatsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQEnvironmentRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQEnvironmentRolesResponse`
2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# File 'lib/v20200217/client.rb', line 2055 def DescribeRocketMQEnvironmentRoles(request) body = send_request('DescribeRocketMQEnvironmentRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQEnvironmentRolesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQGroupsResponse`
2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 |
# File 'lib/v20200217/client.rb', line 2079 def DescribeRocketMQGroups(request) body = send_request('DescribeRocketMQGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQMigratingTopicList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQMigratingTopicListResponse`
2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 |
# File 'lib/v20200217/client.rb', line 2103 def DescribeRocketMQMigratingTopicList(request) body = send_request('DescribeRocketMQMigratingTopicList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQMigratingTopicListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQMsgResponse`
2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 |
# File 'lib/v20200217/client.rb', line 2127 def DescribeRocketMQMsg(request) body = send_request('DescribeRocketMQMsg', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQMsgResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQMsgTrace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQMsgTraceResponse`
2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 |
# File 'lib/v20200217/client.rb', line 2151 def DescribeRocketMQMsgTrace(request) body = send_request('DescribeRocketMQMsgTrace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQMsgTraceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQNamespaces(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQNamespacesResponse`
2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 |
# File 'lib/v20200217/client.rb', line 2175 def DescribeRocketMQNamespaces(request) body = send_request('DescribeRocketMQNamespaces', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQNamespacesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQPublicAccessMonitorData(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessMonitorDataResponse`
2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 |
# File 'lib/v20200217/client.rb', line 2199 def DescribeRocketMQPublicAccessMonitorData(request) body = send_request('DescribeRocketMQPublicAccessMonitorData', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQPublicAccessMonitorDataResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQPublicAccessPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQPublicAccessPointResponse`
2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 |
# File 'lib/v20200217/client.rb', line 2223 def DescribeRocketMQPublicAccessPoint(request) body = send_request('DescribeRocketMQPublicAccessPoint', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQPublicAccessPointResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQRolesResponse`
2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 |
# File 'lib/v20200217/client.rb', line 2247 def DescribeRocketMQRoles(request) body = send_request('DescribeRocketMQRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQRolesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQSmoothMigrationTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskResponse`
2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 |
# File 'lib/v20200217/client.rb', line 2271 def DescribeRocketMQSmoothMigrationTask(request) body = send_request('DescribeRocketMQSmoothMigrationTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQSmoothMigrationTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQSmoothMigrationTaskList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSmoothMigrationTaskListResponse`
2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 |
# File 'lib/v20200217/client.rb', line 2295 def DescribeRocketMQSmoothMigrationTaskList(request) body = send_request('DescribeRocketMQSmoothMigrationTaskList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQSmoothMigrationTaskListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQSourceClusterGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterGroupListResponse`
2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 |
# File 'lib/v20200217/client.rb', line 2319 def DescribeRocketMQSourceClusterGroupList(request) body = send_request('DescribeRocketMQSourceClusterGroupList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQSourceClusterGroupListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQSourceClusterTopicList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSourceClusterTopicListResponse`
2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 |
# File 'lib/v20200217/client.rb', line 2343 def DescribeRocketMQSourceClusterTopicList(request) body = send_request('DescribeRocketMQSourceClusterTopicList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQSourceClusterTopicListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQSubscriptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQSubscriptionsResponse`
2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 |
# File 'lib/v20200217/client.rb', line 2367 def DescribeRocketMQSubscriptions(request) body = send_request('DescribeRocketMQSubscriptions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQSubscriptionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQTopicMsgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicMsgsResponse`
2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 |
# File 'lib/v20200217/client.rb', line 2391 def DescribeRocketMQTopicMsgs(request) body = send_request('DescribeRocketMQTopicMsgs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQTopicMsgsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicsResponse`
2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 |
# File 'lib/v20200217/client.rb', line 2439 def DescribeRocketMQTopics(request) body = send_request('DescribeRocketMQTopics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQTopicsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQTopicsByGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicsByGroupResponse`
2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 |
# File 'lib/v20200217/client.rb', line 2463 def DescribeRocketMQTopicsByGroup(request) body = send_request('DescribeRocketMQTopicsByGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQTopicsByGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQTopicStats(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQTopicStatsResponse`
2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 |
# File 'lib/v20200217/client.rb', line 2415 def DescribeRocketMQTopicStats(request) body = send_request('DescribeRocketMQTopicStats', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQTopicStatsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQVipInstanceDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQVipInstanceDetailResponse`
2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 |
# File 'lib/v20200217/client.rb', line 2487 def DescribeRocketMQVipInstanceDetail(request) body = send_request('DescribeRocketMQVipInstanceDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQVipInstanceDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRocketMQVipInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRocketMQVipInstancesResponse`
2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 |
# File 'lib/v20200217/client.rb', line 2511 def DescribeRocketMQVipInstances(request) body = send_request('DescribeRocketMQVipInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRocketMQVipInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRoles(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeRolesResponse`
2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 |
# File 'lib/v20200217/client.rb', line 2535 def DescribeRoles(request) body = send_request('DescribeRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRolesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSubscriptions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeSubscriptionsResponse`
2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 |
# File 'lib/v20200217/client.rb', line 2559 def DescribeSubscriptions(request) body = send_request('DescribeSubscriptions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSubscriptionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTopicMsgs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeTopicMsgsResponse`
2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 |
# File 'lib/v20200217/client.rb', line 2583 def DescribeTopicMsgs(request) body = send_request('DescribeTopicMsgs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopicMsgsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::DescribeTopicsResponse`
2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 |
# File 'lib/v20200217/client.rb', line 2607 def DescribeTopics(request) body = send_request('DescribeTopics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopicsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ExportRocketMQMessageDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ExportRocketMQMessageDetailResponse`
2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 |
# File 'lib/v20200217/client.rb', line 2631 def ExportRocketMQMessageDetail(request) body = send_request('ExportRocketMQMessageDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ExportRocketMQMessageDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ImportRocketMQConsumerGroups(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ImportRocketMQConsumerGroupsResponse`
2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 |
# File 'lib/v20200217/client.rb', line 2655 def ImportRocketMQConsumerGroups(request) body = send_request('ImportRocketMQConsumerGroups', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ImportRocketMQConsumerGroupsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ImportRocketMQTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ImportRocketMQTopicsResponse`
2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 |
# File 'lib/v20200217/client.rb', line 2679 def ImportRocketMQTopics(request) body = send_request('ImportRocketMQTopics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ImportRocketMQTopicsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAMQPCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyAMQPClusterResponse`
2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 |
# File 'lib/v20200217/client.rb', line 2703 def ModifyAMQPCluster(request) body = send_request('ModifyAMQPCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAMQPClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyClusterResponse`
2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 |
# File 'lib/v20200217/client.rb', line 2727 def ModifyCluster(request) body = send_request('ModifyCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCmqQueueAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyCmqQueueAttributeResponse`
2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 |
# File 'lib/v20200217/client.rb', line 2751 def ModifyCmqQueueAttribute(request) body = send_request('ModifyCmqQueueAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCmqQueueAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCmqSubscriptionAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyCmqSubscriptionAttributeResponse`
2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 |
# File 'lib/v20200217/client.rb', line 2775 def ModifyCmqSubscriptionAttribute(request) body = send_request('ModifyCmqSubscriptionAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCmqSubscriptionAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCmqTopicAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyCmqTopicAttributeResponse`
2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 |
# File 'lib/v20200217/client.rb', line 2799 def ModifyCmqTopicAttribute(request) body = send_request('ModifyCmqTopicAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCmqTopicAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyEnvironmentAttributes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyEnvironmentAttributesResponse`
2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 |
# File 'lib/v20200217/client.rb', line 2823 def ModifyEnvironmentAttributes(request) body = send_request('ModifyEnvironmentAttributes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyEnvironmentAttributesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyEnvironmentRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyEnvironmentRoleResponse`
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 |
# File 'lib/v20200217/client.rb', line 2847 def ModifyEnvironmentRole(request) body = send_request('ModifyEnvironmentRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyEnvironmentRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPublicNetworkAccessPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyPublicNetworkAccessPointResponse`
2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'lib/v20200217/client.rb', line 2871 def ModifyPublicNetworkAccessPoint(request) body = send_request('ModifyPublicNetworkAccessPoint', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPublicNetworkAccessPointResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRabbitMQUser(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRabbitMQUserResponse`
2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/v20200217/client.rb', line 2895 def ModifyRabbitMQUser(request) body = send_request('ModifyRabbitMQUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRabbitMQUserResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRabbitMQVipInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRabbitMQVipInstanceResponse`
2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'lib/v20200217/client.rb', line 2919 def ModifyRabbitMQVipInstance(request) body = send_request('ModifyRabbitMQVipInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRabbitMQVipInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRabbitMQVirtualHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRabbitMQVirtualHostResponse`
2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 |
# File 'lib/v20200217/client.rb', line 2943 def ModifyRabbitMQVirtualHost(request) body = send_request('ModifyRabbitMQVirtualHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRabbitMQVirtualHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRocketMQCluster(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQClusterResponse`
2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 |
# File 'lib/v20200217/client.rb', line 2967 def ModifyRocketMQCluster(request) body = send_request('ModifyRocketMQCluster', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRocketMQClusterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRocketMQEnvironmentRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQEnvironmentRoleResponse`
2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 |
# File 'lib/v20200217/client.rb', line 2991 def ModifyRocketMQEnvironmentRole(request) body = send_request('ModifyRocketMQEnvironmentRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRocketMQEnvironmentRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRocketMQGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQGroupResponse`
3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 |
# File 'lib/v20200217/client.rb', line 3015 def ModifyRocketMQGroup(request) body = send_request('ModifyRocketMQGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRocketMQGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRocketMQInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQInstanceResponse`
3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 |
# File 'lib/v20200217/client.rb', line 3039 def ModifyRocketMQInstance(request) body = send_request('ModifyRocketMQInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRocketMQInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRocketMQInstanceSpec(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQInstanceSpecResponse`
3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 |
# File 'lib/v20200217/client.rb', line 3063 def ModifyRocketMQInstanceSpec(request) body = send_request('ModifyRocketMQInstanceSpec', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRocketMQInstanceSpecResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRocketMQNamespace(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQNamespaceResponse`
3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 |
# File 'lib/v20200217/client.rb', line 3087 def ModifyRocketMQNamespace(request) body = send_request('ModifyRocketMQNamespace', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRocketMQNamespaceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRocketMQRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQRoleResponse`
3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 |
# File 'lib/v20200217/client.rb', line 3111 def ModifyRocketMQRole(request) body = send_request('ModifyRocketMQRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRocketMQRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRocketMQTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRocketMQTopicResponse`
3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 |
# File 'lib/v20200217/client.rb', line 3135 def ModifyRocketMQTopic(request) body = send_request('ModifyRocketMQTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRocketMQTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRole(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyRoleResponse`
3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 |
# File 'lib/v20200217/client.rb', line 3159 def ModifyRole(request) body = send_request('ModifyRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRoleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTopic(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ModifyTopicResponse`
3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 |
# File 'lib/v20200217/client.rb', line 3183 def ModifyTopic(request) body = send_request('ModifyTopic', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTopicResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#PublishCmqMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::PublishCmqMsgResponse`
3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 |
# File 'lib/v20200217/client.rb', line 3207 def PublishCmqMsg(request) body = send_request('PublishCmqMsg', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PublishCmqMsgResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ReceiveMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ReceiveMessageResponse`
3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 |
# File 'lib/v20200217/client.rb', line 3250 def ReceiveMessage(request) body = send_request('ReceiveMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ReceiveMessageResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ResetMsgSubOffsetByTimestamp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ResetMsgSubOffsetByTimestampResponse`
3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 |
# File 'lib/v20200217/client.rb', line 3274 def ResetMsgSubOffsetByTimestamp(request) body = send_request('ResetMsgSubOffsetByTimestamp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetMsgSubOffsetByTimestampResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ResetRocketMQConsumerOffSet(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::ResetRocketMQConsumerOffSetResponse`
3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 |
# File 'lib/v20200217/client.rb', line 3298 def ResetRocketMQConsumerOffSet(request) body = send_request('ResetRocketMQConsumerOffSet', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetRocketMQConsumerOffSetResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RewindCmqQueue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::RewindCmqQueueResponse`
3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 |
# File 'lib/v20200217/client.rb', line 3322 def RewindCmqQueue(request) body = send_request('RewindCmqQueue', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RewindCmqQueueResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendBatchMessages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendBatchMessagesResponse`
3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 |
# File 'lib/v20200217/client.rb', line 3348 def SendBatchMessages(request) body = send_request('SendBatchMessages', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendBatchMessagesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendCmqMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendCmqMsgResponse`
3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 |
# File 'lib/v20200217/client.rb', line 3372 def SendCmqMsg(request) body = send_request('SendCmqMsg', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendCmqMsgResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendMessages(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendMessagesResponse`
3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 |
# File 'lib/v20200217/client.rb', line 3397 def SendMessages(request) body = send_request('SendMessages', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendMessagesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendMsg(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendMsgResponse`
3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 |
# File 'lib/v20200217/client.rb', line 3421 def SendMsg(request) body = send_request('SendMsg', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendMsgResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendRocketMQMessage(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SendRocketMQMessageResponse`
3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 |
# File 'lib/v20200217/client.rb', line 3445 def SendRocketMQMessage(request) body = send_request('SendRocketMQMessage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendRocketMQMessageResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetRocketMQPublicAccessPoint(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::SetRocketMQPublicAccessPointResponse`
3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 |
# File 'lib/v20200217/client.rb', line 3469 def SetRocketMQPublicAccessPoint(request) body = send_request('SetRocketMQPublicAccessPoint', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetRocketMQPublicAccessPointResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnbindCmqDeadLetter(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::UnbindCmqDeadLetterResponse`
3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 |
# File 'lib/v20200217/client.rb', line 3493 def UnbindCmqDeadLetter(request) body = send_request('UnbindCmqDeadLetter', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnbindCmqDeadLetterResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#VerifyRocketMQConsume(request) ⇒ Object
@rtype: :class:‘Tencentcloud::tdmq::V20200217::VerifyRocketMQConsumeResponse`
3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 |
# File 'lib/v20200217/client.rb', line 3517 def VerifyRocketMQConsume(request) body = send_request('VerifyRocketMQConsume', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = VerifyRocketMQConsumeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |