huaweicloudsdkrocketmq 3.1.70__py2.py3-none-any.whl → 3.1.72__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. huaweicloudsdkrocketmq/v2/__init__.py +14 -0
  2. huaweicloudsdkrocketmq/v2/model/__init__.py +14 -0
  3. huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_req.py +260 -0
  4. huaweicloudsdkrocketmq/v2/model/create_rocket_mq_migration_task_request.py +5 -9
  5. huaweicloudsdkrocketmq/v2/model/migration_rabbit_binding_metadata.py +231 -0
  6. huaweicloudsdkrocketmq/v2/model/migration_rabbit_exchange_metadata.py +202 -0
  7. huaweicloudsdkrocketmq/v2/model/migration_rabbit_queue_metadata.py +173 -0
  8. huaweicloudsdkrocketmq/v2/model/migration_rabbit_vhost_metadata.py +115 -0
  9. huaweicloudsdkrocketmq/v2/model/migration_rocket_mq_subscription_group.py +318 -0
  10. huaweicloudsdkrocketmq/v2/model/migration_rocket_mq_topic_config.py +289 -0
  11. huaweicloudsdkrocketmq/v2/model/modify_config_req.py +115 -0
  12. huaweicloudsdkrocketmq/v2/model/rocket_mq_config_req.py +144 -0
  13. huaweicloudsdkrocketmq/v2/model/rocket_mq_config_resp.py +260 -0
  14. huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_request.py +114 -0
  15. huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_response.py +116 -0
  16. huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_request.py +139 -0
  17. huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_response.py +85 -0
  18. huaweicloudsdkrocketmq/v2/region/rocketmq_region.py +3 -0
  19. huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +132 -0
  20. huaweicloudsdkrocketmq/v2/rocketmq_client.py +132 -0
  21. {huaweicloudsdkrocketmq-3.1.70.dist-info → huaweicloudsdkrocketmq-3.1.72.dist-info}/METADATA +2 -2
  22. {huaweicloudsdkrocketmq-3.1.70.dist-info → huaweicloudsdkrocketmq-3.1.72.dist-info}/RECORD +25 -11
  23. {huaweicloudsdkrocketmq-3.1.70.dist-info → huaweicloudsdkrocketmq-3.1.72.dist-info}/LICENSE +0 -0
  24. {huaweicloudsdkrocketmq-3.1.70.dist-info → huaweicloudsdkrocketmq-3.1.72.dist-info}/WHEEL +0 -0
  25. {huaweicloudsdkrocketmq-3.1.70.dist-info → huaweicloudsdkrocketmq-3.1.72.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,116 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ShowRocketMqConfigsResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'rocketmq_configs': 'list[RocketMQConfigResp]'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'rocketmq_configs': 'rocketmq_configs'
26
+ }
27
+
28
+ def __init__(self, rocketmq_configs=None):
29
+ """ShowRocketMqConfigsResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param rocketmq_configs: RocketMQ配置。
34
+ :type rocketmq_configs: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigResp`]
35
+ """
36
+
37
+ super(ShowRocketMqConfigsResponse, self).__init__()
38
+
39
+ self._rocketmq_configs = None
40
+ self.discriminator = None
41
+
42
+ if rocketmq_configs is not None:
43
+ self.rocketmq_configs = rocketmq_configs
44
+
45
+ @property
46
+ def rocketmq_configs(self):
47
+ """Gets the rocketmq_configs of this ShowRocketMqConfigsResponse.
48
+
49
+ RocketMQ配置。
50
+
51
+ :return: The rocketmq_configs of this ShowRocketMqConfigsResponse.
52
+ :rtype: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigResp`]
53
+ """
54
+ return self._rocketmq_configs
55
+
56
+ @rocketmq_configs.setter
57
+ def rocketmq_configs(self, rocketmq_configs):
58
+ """Sets the rocketmq_configs of this ShowRocketMqConfigsResponse.
59
+
60
+ RocketMQ配置。
61
+
62
+ :param rocketmq_configs: The rocketmq_configs of this ShowRocketMqConfigsResponse.
63
+ :type rocketmq_configs: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigResp`]
64
+ """
65
+ self._rocketmq_configs = rocketmq_configs
66
+
67
+ def to_dict(self):
68
+ """Returns the model properties as a dict"""
69
+ result = {}
70
+
71
+ for attr, _ in six.iteritems(self.openapi_types):
72
+ value = getattr(self, attr)
73
+ if isinstance(value, list):
74
+ result[attr] = list(map(
75
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
76
+ value
77
+ ))
78
+ elif hasattr(value, "to_dict"):
79
+ result[attr] = value.to_dict()
80
+ elif isinstance(value, dict):
81
+ result[attr] = dict(map(
82
+ lambda item: (item[0], item[1].to_dict())
83
+ if hasattr(item[1], "to_dict") else item,
84
+ value.items()
85
+ ))
86
+ else:
87
+ if attr in self.sensitive_list:
88
+ result[attr] = "****"
89
+ else:
90
+ result[attr] = value
91
+
92
+ return result
93
+
94
+ def to_str(self):
95
+ """Returns the string representation of the model"""
96
+ import simplejson as json
97
+ if six.PY2:
98
+ import sys
99
+ reload(sys)
100
+ sys.setdefaultencoding("utf-8")
101
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
102
+
103
+ def __repr__(self):
104
+ """For `print`"""
105
+ return self.to_str()
106
+
107
+ def __eq__(self, other):
108
+ """Returns true if both objects are equal"""
109
+ if not isinstance(other, ShowRocketMqConfigsResponse):
110
+ return False
111
+
112
+ return self.__dict__ == other.__dict__
113
+
114
+ def __ne__(self, other):
115
+ """Returns true if both objects are not equal"""
116
+ return not self == other
@@ -0,0 +1,139 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class UpdateRocketMqConfigsRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'instance_id': 'str',
21
+ 'body': 'ModifyConfigReq'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'instance_id': 'instance_id',
26
+ 'body': 'body'
27
+ }
28
+
29
+ def __init__(self, instance_id=None, body=None):
30
+ """UpdateRocketMqConfigsRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param instance_id: 实例ID。
35
+ :type instance_id: str
36
+ :param body: Body of the UpdateRocketMqConfigsRequest
37
+ :type body: :class:`huaweicloudsdkrocketmq.v2.ModifyConfigReq`
38
+ """
39
+
40
+
41
+
42
+ self._instance_id = None
43
+ self._body = None
44
+ self.discriminator = None
45
+
46
+ self.instance_id = instance_id
47
+ if body is not None:
48
+ self.body = body
49
+
50
+ @property
51
+ def instance_id(self):
52
+ """Gets the instance_id of this UpdateRocketMqConfigsRequest.
53
+
54
+ 实例ID。
55
+
56
+ :return: The instance_id of this UpdateRocketMqConfigsRequest.
57
+ :rtype: str
58
+ """
59
+ return self._instance_id
60
+
61
+ @instance_id.setter
62
+ def instance_id(self, instance_id):
63
+ """Sets the instance_id of this UpdateRocketMqConfigsRequest.
64
+
65
+ 实例ID。
66
+
67
+ :param instance_id: The instance_id of this UpdateRocketMqConfigsRequest.
68
+ :type instance_id: str
69
+ """
70
+ self._instance_id = instance_id
71
+
72
+ @property
73
+ def body(self):
74
+ """Gets the body of this UpdateRocketMqConfigsRequest.
75
+
76
+ :return: The body of this UpdateRocketMqConfigsRequest.
77
+ :rtype: :class:`huaweicloudsdkrocketmq.v2.ModifyConfigReq`
78
+ """
79
+ return self._body
80
+
81
+ @body.setter
82
+ def body(self, body):
83
+ """Sets the body of this UpdateRocketMqConfigsRequest.
84
+
85
+ :param body: The body of this UpdateRocketMqConfigsRequest.
86
+ :type body: :class:`huaweicloudsdkrocketmq.v2.ModifyConfigReq`
87
+ """
88
+ self._body = body
89
+
90
+ def to_dict(self):
91
+ """Returns the model properties as a dict"""
92
+ result = {}
93
+
94
+ for attr, _ in six.iteritems(self.openapi_types):
95
+ value = getattr(self, attr)
96
+ if isinstance(value, list):
97
+ result[attr] = list(map(
98
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
99
+ value
100
+ ))
101
+ elif hasattr(value, "to_dict"):
102
+ result[attr] = value.to_dict()
103
+ elif isinstance(value, dict):
104
+ result[attr] = dict(map(
105
+ lambda item: (item[0], item[1].to_dict())
106
+ if hasattr(item[1], "to_dict") else item,
107
+ value.items()
108
+ ))
109
+ else:
110
+ if attr in self.sensitive_list:
111
+ result[attr] = "****"
112
+ else:
113
+ result[attr] = value
114
+
115
+ return result
116
+
117
+ def to_str(self):
118
+ """Returns the string representation of the model"""
119
+ import simplejson as json
120
+ if six.PY2:
121
+ import sys
122
+ reload(sys)
123
+ sys.setdefaultencoding("utf-8")
124
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
125
+
126
+ def __repr__(self):
127
+ """For `print`"""
128
+ return self.to_str()
129
+
130
+ def __eq__(self, other):
131
+ """Returns true if both objects are equal"""
132
+ if not isinstance(other, UpdateRocketMqConfigsRequest):
133
+ return False
134
+
135
+ return self.__dict__ == other.__dict__
136
+
137
+ def __ne__(self, other):
138
+ """Returns true if both objects are not equal"""
139
+ return not self == other
@@ -0,0 +1,85 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class UpdateRocketMqConfigsResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ }
22
+
23
+ attribute_map = {
24
+ }
25
+
26
+ def __init__(self):
27
+ """UpdateRocketMqConfigsResponse
28
+
29
+ The model defined in huaweicloud sdk
30
+
31
+ """
32
+
33
+ super(UpdateRocketMqConfigsResponse, self).__init__()
34
+ self.discriminator = None
35
+
36
+ def to_dict(self):
37
+ """Returns the model properties as a dict"""
38
+ result = {}
39
+
40
+ for attr, _ in six.iteritems(self.openapi_types):
41
+ value = getattr(self, attr)
42
+ if isinstance(value, list):
43
+ result[attr] = list(map(
44
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
45
+ value
46
+ ))
47
+ elif hasattr(value, "to_dict"):
48
+ result[attr] = value.to_dict()
49
+ elif isinstance(value, dict):
50
+ result[attr] = dict(map(
51
+ lambda item: (item[0], item[1].to_dict())
52
+ if hasattr(item[1], "to_dict") else item,
53
+ value.items()
54
+ ))
55
+ else:
56
+ if attr in self.sensitive_list:
57
+ result[attr] = "****"
58
+ else:
59
+ result[attr] = value
60
+
61
+ return result
62
+
63
+ def to_str(self):
64
+ """Returns the string representation of the model"""
65
+ import simplejson as json
66
+ if six.PY2:
67
+ import sys
68
+ reload(sys)
69
+ sys.setdefaultencoding("utf-8")
70
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
71
+
72
+ def __repr__(self):
73
+ """For `print`"""
74
+ return self.to_str()
75
+
76
+ def __eq__(self, other):
77
+ """Returns true if both objects are equal"""
78
+ if not isinstance(other, UpdateRocketMqConfigsResponse):
79
+ return False
80
+
81
+ return self.__dict__ == other.__dict__
82
+
83
+ def __ne__(self, other):
84
+ """Returns true if both objects are not equal"""
85
+ return not self == other
@@ -49,6 +49,8 @@ class RocketMQRegion:
49
49
  "https://dms.tr-west-1.myhuaweicloud.com")
50
50
  AE_AD_1 = Region("ae-ad-1",
51
51
  "https://dms.ae-ad-1.myhuaweicloud.com")
52
+ EU_WEST_0 = Region("eu-west-0",
53
+ "https://dms.eu-west-0.myhuaweicloud.com")
52
54
 
53
55
  static_fields = {
54
56
  "eu-west-101": EU_WEST_101,
@@ -71,6 +73,7 @@ class RocketMQRegion:
71
73
  "ap-southeast-4": AP_SOUTHEAST_4,
72
74
  "tr-west-1": TR_WEST_1,
73
75
  "ae-ad-1": AE_AD_1,
76
+ "eu-west-0": EU_WEST_0,
74
77
  }
75
78
 
76
79
  @classmethod
@@ -2182,6 +2182,71 @@ class RocketMQAsyncClient(Client):
2182
2182
 
2183
2183
  return http_info
2184
2184
 
2185
+ def show_rocket_mq_configs_async(self, request):
2186
+ """查询RocketMQ配置
2187
+
2188
+ 该接口用于查询RocketMQ配置,若成功则返回配置的相关信息。
2189
+
2190
+ Please refer to HUAWEI cloud API Explorer for details.
2191
+
2192
+
2193
+ :param request: Request instance for ShowRocketMqConfigs
2194
+ :type request: :class:`huaweicloudsdkrocketmq.v2.ShowRocketMqConfigsRequest`
2195
+ :rtype: :class:`huaweicloudsdkrocketmq.v2.ShowRocketMqConfigsResponse`
2196
+ """
2197
+ http_info = self._show_rocket_mq_configs_http_info(request)
2198
+ return self._call_api(**http_info)
2199
+
2200
+ def show_rocket_mq_configs_async_invoker(self, request):
2201
+ http_info = self._show_rocket_mq_configs_http_info(request)
2202
+ return AsyncInvoker(self, http_info)
2203
+
2204
+ def _show_rocket_mq_configs_http_info(self, request):
2205
+ http_info = {
2206
+ "method": "GET",
2207
+ "resource_path": "/v2/{project_id}/rocketmq/instances/{instance_id}/configs",
2208
+ "request_type": request.__class__.__name__,
2209
+ "response_type": "ShowRocketMqConfigsResponse"
2210
+ }
2211
+
2212
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2213
+
2214
+ cname = None
2215
+
2216
+ collection_formats = {}
2217
+
2218
+ path_params = {}
2219
+ if 'instance_id' in local_var_params:
2220
+ path_params['instance_id'] = local_var_params['instance_id']
2221
+
2222
+ query_params = []
2223
+
2224
+ header_params = {}
2225
+
2226
+ form_params = {}
2227
+
2228
+ body = None
2229
+ if isinstance(request, SdkStreamRequest):
2230
+ body = request.get_file_stream()
2231
+
2232
+ response_headers = []
2233
+
2234
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2235
+ ['application/json'])
2236
+
2237
+ auth_settings = []
2238
+
2239
+ http_info["cname"] = cname
2240
+ http_info["collection_formats"] = collection_formats
2241
+ http_info["path_params"] = path_params
2242
+ http_info["query_params"] = query_params
2243
+ http_info["header_params"] = header_params
2244
+ http_info["post_params"] = form_params
2245
+ http_info["body"] = body
2246
+ http_info["response_headers"] = response_headers
2247
+
2248
+ return http_info
2249
+
2185
2250
  def show_rocketmq_project_tags_async(self, request):
2186
2251
  """查询项目标签
2187
2252
 
@@ -2513,6 +2578,73 @@ class RocketMQAsyncClient(Client):
2513
2578
 
2514
2579
  return http_info
2515
2580
 
2581
+ def update_rocket_mq_configs_async(self, request):
2582
+ """修改RocketMQ配置
2583
+
2584
+ 该接口用于修改RocketMQ配置。
2585
+
2586
+ Please refer to HUAWEI cloud API Explorer for details.
2587
+
2588
+
2589
+ :param request: Request instance for UpdateRocketMqConfigs
2590
+ :type request: :class:`huaweicloudsdkrocketmq.v2.UpdateRocketMqConfigsRequest`
2591
+ :rtype: :class:`huaweicloudsdkrocketmq.v2.UpdateRocketMqConfigsResponse`
2592
+ """
2593
+ http_info = self._update_rocket_mq_configs_http_info(request)
2594
+ return self._call_api(**http_info)
2595
+
2596
+ def update_rocket_mq_configs_async_invoker(self, request):
2597
+ http_info = self._update_rocket_mq_configs_http_info(request)
2598
+ return AsyncInvoker(self, http_info)
2599
+
2600
+ def _update_rocket_mq_configs_http_info(self, request):
2601
+ http_info = {
2602
+ "method": "PUT",
2603
+ "resource_path": "/v2/{project_id}/rocketmq/instances/{instance_id}/configs",
2604
+ "request_type": request.__class__.__name__,
2605
+ "response_type": "UpdateRocketMqConfigsResponse"
2606
+ }
2607
+
2608
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2609
+
2610
+ cname = None
2611
+
2612
+ collection_formats = {}
2613
+
2614
+ path_params = {}
2615
+ if 'instance_id' in local_var_params:
2616
+ path_params['instance_id'] = local_var_params['instance_id']
2617
+
2618
+ query_params = []
2619
+
2620
+ header_params = {}
2621
+
2622
+ form_params = {}
2623
+
2624
+ body = None
2625
+ if 'body' in local_var_params:
2626
+ body = local_var_params['body']
2627
+ if isinstance(request, SdkStreamRequest):
2628
+ body = request.get_file_stream()
2629
+
2630
+ response_headers = []
2631
+
2632
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2633
+ ['application/json'])
2634
+
2635
+ auth_settings = []
2636
+
2637
+ http_info["cname"] = cname
2638
+ http_info["collection_formats"] = collection_formats
2639
+ http_info["path_params"] = path_params
2640
+ http_info["query_params"] = query_params
2641
+ http_info["header_params"] = header_params
2642
+ http_info["post_params"] = form_params
2643
+ http_info["body"] = body
2644
+ http_info["response_headers"] = response_headers
2645
+
2646
+ return http_info
2647
+
2516
2648
  def update_user_async(self, request):
2517
2649
  """修改用户参数
2518
2650
 
@@ -2182,6 +2182,71 @@ class RocketMQClient(Client):
2182
2182
 
2183
2183
  return http_info
2184
2184
 
2185
+ def show_rocket_mq_configs(self, request):
2186
+ """查询RocketMQ配置
2187
+
2188
+ 该接口用于查询RocketMQ配置,若成功则返回配置的相关信息。
2189
+
2190
+ Please refer to HUAWEI cloud API Explorer for details.
2191
+
2192
+ :param request: Request instance for ShowRocketMqConfigs
2193
+ :type request: :class:`huaweicloudsdkrocketmq.v2.ShowRocketMqConfigsRequest`
2194
+ :rtype: :class:`huaweicloudsdkrocketmq.v2.ShowRocketMqConfigsResponse`
2195
+ """
2196
+ http_info = self._show_rocket_mq_configs_http_info(request)
2197
+ return self._call_api(**http_info)
2198
+
2199
+ def show_rocket_mq_configs_invoker(self, request):
2200
+ http_info = self._show_rocket_mq_configs_http_info(request)
2201
+ return SyncInvoker(self, http_info)
2202
+
2203
+ @classmethod
2204
+ def _show_rocket_mq_configs_http_info(cls, request):
2205
+ http_info = {
2206
+ "method": "GET",
2207
+ "resource_path": "/v2/{project_id}/rocketmq/instances/{instance_id}/configs",
2208
+ "request_type": request.__class__.__name__,
2209
+ "response_type": "ShowRocketMqConfigsResponse"
2210
+ }
2211
+
2212
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2213
+
2214
+ cname = None
2215
+
2216
+ collection_formats = {}
2217
+
2218
+ path_params = {}
2219
+ if 'instance_id' in local_var_params:
2220
+ path_params['instance_id'] = local_var_params['instance_id']
2221
+
2222
+ query_params = []
2223
+
2224
+ header_params = {}
2225
+
2226
+ form_params = {}
2227
+
2228
+ body = None
2229
+ if isinstance(request, SdkStreamRequest):
2230
+ body = request.get_file_stream()
2231
+
2232
+ response_headers = []
2233
+
2234
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2235
+ ['application/json'])
2236
+
2237
+ auth_settings = []
2238
+
2239
+ http_info["cname"] = cname
2240
+ http_info["collection_formats"] = collection_formats
2241
+ http_info["path_params"] = path_params
2242
+ http_info["query_params"] = query_params
2243
+ http_info["header_params"] = header_params
2244
+ http_info["post_params"] = form_params
2245
+ http_info["body"] = body
2246
+ http_info["response_headers"] = response_headers
2247
+
2248
+ return http_info
2249
+
2185
2250
  def show_rocketmq_project_tags(self, request):
2186
2251
  """查询项目标签
2187
2252
 
@@ -2513,6 +2578,73 @@ class RocketMQClient(Client):
2513
2578
 
2514
2579
  return http_info
2515
2580
 
2581
+ def update_rocket_mq_configs(self, request):
2582
+ """修改RocketMQ配置
2583
+
2584
+ 该接口用于修改RocketMQ配置。
2585
+
2586
+ Please refer to HUAWEI cloud API Explorer for details.
2587
+
2588
+ :param request: Request instance for UpdateRocketMqConfigs
2589
+ :type request: :class:`huaweicloudsdkrocketmq.v2.UpdateRocketMqConfigsRequest`
2590
+ :rtype: :class:`huaweicloudsdkrocketmq.v2.UpdateRocketMqConfigsResponse`
2591
+ """
2592
+ http_info = self._update_rocket_mq_configs_http_info(request)
2593
+ return self._call_api(**http_info)
2594
+
2595
+ def update_rocket_mq_configs_invoker(self, request):
2596
+ http_info = self._update_rocket_mq_configs_http_info(request)
2597
+ return SyncInvoker(self, http_info)
2598
+
2599
+ @classmethod
2600
+ def _update_rocket_mq_configs_http_info(cls, request):
2601
+ http_info = {
2602
+ "method": "PUT",
2603
+ "resource_path": "/v2/{project_id}/rocketmq/instances/{instance_id}/configs",
2604
+ "request_type": request.__class__.__name__,
2605
+ "response_type": "UpdateRocketMqConfigsResponse"
2606
+ }
2607
+
2608
+ local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2609
+
2610
+ cname = None
2611
+
2612
+ collection_formats = {}
2613
+
2614
+ path_params = {}
2615
+ if 'instance_id' in local_var_params:
2616
+ path_params['instance_id'] = local_var_params['instance_id']
2617
+
2618
+ query_params = []
2619
+
2620
+ header_params = {}
2621
+
2622
+ form_params = {}
2623
+
2624
+ body = None
2625
+ if 'body' in local_var_params:
2626
+ body = local_var_params['body']
2627
+ if isinstance(request, SdkStreamRequest):
2628
+ body = request.get_file_stream()
2629
+
2630
+ response_headers = []
2631
+
2632
+ header_params['Content-Type'] = http_utils.select_header_content_type(
2633
+ ['application/json'])
2634
+
2635
+ auth_settings = []
2636
+
2637
+ http_info["cname"] = cname
2638
+ http_info["collection_formats"] = collection_formats
2639
+ http_info["path_params"] = path_params
2640
+ http_info["query_params"] = query_params
2641
+ http_info["header_params"] = header_params
2642
+ http_info["post_params"] = form_params
2643
+ http_info["body"] = body
2644
+ http_info["response_headers"] = response_headers
2645
+
2646
+ return http_info
2647
+
2516
2648
  def update_user(self, request):
2517
2649
  """修改用户参数
2518
2650
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: huaweicloudsdkrocketmq
3
- Version: 3.1.70
3
+ Version: 3.1.72
4
4
  Summary: RocketMQ
5
5
  Home-page: https://github.com/huaweicloud/huaweicloud-sdk-python-v3
6
6
  Author: HuaweiCloud SDK
@@ -22,6 +22,6 @@ Classifier: Topic :: Software Development
22
22
  Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Requires-Dist: huaweicloudsdkcore >=3.1.70
25
+ Requires-Dist: huaweicloudsdkcore >=3.1.72
26
26
 
27
27
  See detailed information in [huaweicloud-sdk-python-v3](https://github.com/huaweicloud/huaweicloud-sdk-python-v3).