volcengine-python-sdk 4.0.19__py2.py3-none-any.whl → 4.0.21__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.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- volcengine_python_sdk-4.0.21.dist-info/METADATA +214 -0
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/RECORD +98 -74
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/WHEEL +1 -1
- volcenginesdkalb/__init__.py +0 -2
- volcenginesdkalb/models/__init__.py +0 -2
- volcenginesdkalb/models/convert_forward_group_config_for_create_rules_input.py +3 -3
- volcenginesdkalb/models/convert_forward_group_config_for_modify_rules_input.py +3 -3
- volcenginesdkalb/models/convert_redirect_config_for_describe_rules_output.py +6 -6
- volcenginesdkalb/models/server_group_sticky_session_for_create_rules_input.py +3 -3
- volcenginesdkalb/models/server_group_sticky_session_for_describe_rules_output.py +3 -3
- volcenginesdkalb/models/server_group_sticky_session_for_modify_rules_input.py +3 -3
- volcenginesdkalb/models/traffic_limit_config_for_create_rules_input.py +3 -3
- volcenginesdkalb/models/traffic_limit_config_for_modify_rules_input.py +3 -3
- volcenginesdkarkruntime/resources/images/images.py +1 -1
- volcenginesdkarkruntime/resources/responses/input_items.py +2 -2
- volcenginesdkarkruntime/resources/responses/responses.py +4 -1
- volcenginesdkarkruntime/types/images/images.py +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkrdsmysqlv2/__init__.py +39 -25
- volcenginesdkrdsmysqlv2/api/rds_mysql_v2_api.py +1347 -1153
- volcenginesdkrdsmysqlv2/models/__init__.py +39 -25
- volcenginesdkrdsmysqlv2/models/address_for_describe_db_instance_endpoints_output.py +305 -0
- volcenginesdkrdsmysqlv2/models/allow_list_for_describe_allow_lists_output.py +27 -1
- volcenginesdkrdsmysqlv2/models/basic_info_for_describe_db_instance_detail_output.py +1 -105
- volcenginesdkrdsmysqlv2/models/change_object_for_sync_allow_list_output.py +331 -0
- volcenginesdkrdsmysqlv2/models/charge_detail_for_describe_db_instance_charge_detail_output.py +383 -0
- volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/create_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/create_dr_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/db_instance_attribute_for_describe_db_instance_attribute_output.py +825 -0
- volcenginesdkrdsmysqlv2/models/describe_allow_lists_request.py +29 -3
- volcenginesdkrdsmysqlv2/models/describe_backup_policy_response.py +53 -1
- volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_disaster_recovery_instances_response.py +305 -0
- volcenginesdkrdsmysqlv2/models/{describe_db_auto_scaling_config_request.py → describe_db_instance_attribute_request.py} +9 -9
- volcenginesdkrdsmysqlv2/models/describe_db_instance_attribute_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_charge_detail_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_endpoints_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_instance_ha_config_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_request.py → describe_db_instance_ha_config_response.py} +36 -37
- volcenginesdkrdsmysqlv2/models/describe_db_instance_price_detail_response.py +29 -3
- volcenginesdkrdsmysqlv2/models/{describe_cross_backup_policy_request.py → describe_db_instance_tde_request.py} +9 -9
- volcenginesdkrdsmysqlv2/models/describe_db_instance_tde_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_price_detail_response.py +27 -1
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_db_proxy_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/describe_resource_usage_request.py +124 -0
- volcenginesdkrdsmysqlv2/models/describe_resource_usage_response.py +565 -0
- volcenginesdkrdsmysqlv2/models/disaster_recovery_instance_for_describe_db_disaster_recovery_instances_output.py +279 -0
- volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_detail_output.py +27 -1
- volcenginesdkrdsmysqlv2/models/endpoint_for_describe_db_instance_endpoints_output.py +669 -0
- volcenginesdkrdsmysqlv2/models/maintenance_window_for_describe_db_instance_attribute_output.py +175 -0
- volcenginesdkrdsmysqlv2/models/modify_backup_policy_request.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_backup_policy_response.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_db_endpoint_request.py +53 -1
- volcenginesdkrdsmysqlv2/models/modify_db_instance_tde_request.py +281 -0
- volcenginesdkrdsmysqlv2/models/{modify_db_auto_scaling_config_response.py → modify_db_instance_tde_response.py} +5 -5
- volcenginesdkrdsmysqlv2/models/{upgrade_db_instance_kernel_version_request.py → modify_db_instance_type_request.py} +55 -29
- volcenginesdkrdsmysqlv2/models/{restore_to_cross_region_instance_response.py → modify_db_instance_type_response.py} +13 -13
- volcenginesdkrdsmysqlv2/models/node_for_describe_db_instance_ha_config_output.py +435 -0
- volcenginesdkrdsmysqlv2/models/{node_info_for_restore_to_cross_region_instance_input.py → node_info_for_modify_db_instance_type_input.py} +25 -25
- volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_create_rules_input.py → volcenginesdkrdsmysqlv2/models/proxy_detail_for_describe_db_proxy_output.py +37 -37
- volcenginesdkrdsmysqlv2/models/{describe_available_cross_region_response.py → proxy_node_custom_for_create_db_instance_input.py} +22 -22
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_create_dr_db_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_rebuild_db_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_node_custom_for_restore_to_new_instance_input.py +123 -0
- volcenginesdkrdsmysqlv2/models/proxy_resource_info_for_describe_db_proxy_output.py +175 -0
- volcenginesdkalb/models/convert_forward_group_config_server_group_tuple_for_modify_rules_input.py → volcenginesdkrdsmysqlv2/models/read_only_node_weight_for_describe_db_instance_endpoints_output.py +54 -28
- volcenginesdkrdsmysqlv2/models/rebuild_db_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/restore_to_new_instance_request.py +27 -1
- volcenginesdkrdsmysqlv2/models/sync_allow_list_request.py +150 -0
- volcenginesdkrdsmysqlv2/models/sync_allow_list_response.py +123 -0
- volcenginesdkrdsmysqlv2/models/{instance_tag_for_restore_to_cross_region_instance_input.py → tag_for_describe_db_instance_attribute_output.py} +13 -13
- volcenginesdkresourceshare/__init__.py +12 -0
- volcenginesdkresourceshare/api/resource_share_api.py +291 -0
- volcenginesdkresourceshare/models/__init__.py +12 -0
- volcenginesdkresourceshare/models/create_resource_share_request.py +29 -3
- volcenginesdkresourceshare/models/create_resource_share_response.py +29 -1
- volcenginesdkresourceshare/models/describe_resource_shares_request.py +31 -6
- volcenginesdkresourceshare/models/list_tags_for_resources_request.py +228 -0
- volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_response.py → volcenginesdkresourceshare/models/list_tags_for_resources_response.py +53 -27
- volcenginesdkresourceshare/models/resource_share_for_describe_resource_shares_output.py +27 -1
- volcenginesdkresourceshare/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- volcenginesdkresourceshare/models/tag_filter_for_describe_resource_shares_input.py +149 -0
- volcenginesdkresourceshare/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- volcenginesdkresourceshare/models/tag_for_create_resource_share_input.py +149 -0
- volcenginesdkresourceshare/models/tag_for_describe_resource_shares_output.py +149 -0
- volcenginesdkresourceshare/models/tag_for_tag_resources_input.py +151 -0
- volcenginesdkresourceshare/models/tag_resources_request.py +176 -0
- volcenginesdkrdsmysqlv2/models/upgrade_db_instance_kernel_version_response.py → volcenginesdkresourceshare/models/tag_resources_response.py +6 -6
- volcenginesdkresourceshare/models/untag_resources_request.py +176 -0
- volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_response.py → volcenginesdkresourceshare/models/untag_resources_response.py +6 -6
- volcengine_python_sdk-4.0.19.dist-info/METADATA +0 -20
- volcenginesdkrdsmysqlv2/models/auto_storage_scaling_config_for_restore_to_cross_region_instance_input.py +0 -175
- volcenginesdkrdsmysqlv2/models/charge_info_for_restore_to_cross_region_instance_input.py +0 -227
- volcenginesdkrdsmysqlv2/models/data_for_describe_cross_region_backup_db_instances_output.py +0 -357
- volcenginesdkrdsmysqlv2/models/describe_cross_backup_policy_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/describe_cross_region_backup_db_instances_request.py +0 -279
- volcenginesdkrdsmysqlv2/models/describe_db_auto_scaling_config_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_request.py +0 -228
- volcenginesdkrdsmysqlv2/models/modify_cross_backup_policy_response.py +0 -227
- volcenginesdkrdsmysqlv2/models/modify_db_auto_scaling_config_request.py +0 -150
- volcenginesdkrdsmysqlv2/models/modify_db_instance_auto_upgrade_minor_version_request.py +0 -151
- volcenginesdkrdsmysqlv2/models/restore_to_cross_region_instance_request.py +0 -597
- volcenginesdkrdsmysqlv2/models/storage_config_for_describe_db_auto_scaling_config_output.py +0 -175
- volcenginesdkrdsmysqlv2/models/storage_config_for_modify_db_auto_scaling_config_input.py +0 -175
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info/licenses}/NOTICE.md +0 -0
- {volcengine_python_sdk-4.0.19.dist-info → volcengine_python_sdk-4.0.21.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
rds_mysql_v2
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'dts_task_id': 'str',
|
|
37
|
+
'dts_task_name': 'str',
|
|
38
|
+
'dts_task_status': 'str',
|
|
39
|
+
'instance_id': 'str',
|
|
40
|
+
'instance_name': 'str',
|
|
41
|
+
'region': 'str',
|
|
42
|
+
'seconds_behind_master': 'int'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'dts_task_id': 'DtsTaskId',
|
|
47
|
+
'dts_task_name': 'DtsTaskName',
|
|
48
|
+
'dts_task_status': 'DtsTaskStatus',
|
|
49
|
+
'instance_id': 'InstanceId',
|
|
50
|
+
'instance_name': 'InstanceName',
|
|
51
|
+
'region': 'Region',
|
|
52
|
+
'seconds_behind_master': 'SecondsBehindMaster'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, dts_task_id=None, dts_task_name=None, dts_task_status=None, instance_id=None, instance_name=None, region=None, seconds_behind_master=None, _configuration=None): # noqa: E501
|
|
56
|
+
"""DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput - a model defined in Swagger""" # noqa: E501
|
|
57
|
+
if _configuration is None:
|
|
58
|
+
_configuration = Configuration()
|
|
59
|
+
self._configuration = _configuration
|
|
60
|
+
|
|
61
|
+
self._dts_task_id = None
|
|
62
|
+
self._dts_task_name = None
|
|
63
|
+
self._dts_task_status = None
|
|
64
|
+
self._instance_id = None
|
|
65
|
+
self._instance_name = None
|
|
66
|
+
self._region = None
|
|
67
|
+
self._seconds_behind_master = None
|
|
68
|
+
self.discriminator = None
|
|
69
|
+
|
|
70
|
+
if dts_task_id is not None:
|
|
71
|
+
self.dts_task_id = dts_task_id
|
|
72
|
+
if dts_task_name is not None:
|
|
73
|
+
self.dts_task_name = dts_task_name
|
|
74
|
+
if dts_task_status is not None:
|
|
75
|
+
self.dts_task_status = dts_task_status
|
|
76
|
+
if instance_id is not None:
|
|
77
|
+
self.instance_id = instance_id
|
|
78
|
+
if instance_name is not None:
|
|
79
|
+
self.instance_name = instance_name
|
|
80
|
+
if region is not None:
|
|
81
|
+
self.region = region
|
|
82
|
+
if seconds_behind_master is not None:
|
|
83
|
+
self.seconds_behind_master = seconds_behind_master
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def dts_task_id(self):
|
|
87
|
+
"""Gets the dts_task_id of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The dts_task_id of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._dts_task_id
|
|
94
|
+
|
|
95
|
+
@dts_task_id.setter
|
|
96
|
+
def dts_task_id(self, dts_task_id):
|
|
97
|
+
"""Sets the dts_task_id of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param dts_task_id: The dts_task_id of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
101
|
+
:type: str
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._dts_task_id = dts_task_id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def dts_task_name(self):
|
|
108
|
+
"""Gets the dts_task_name of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:return: The dts_task_name of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._dts_task_name
|
|
115
|
+
|
|
116
|
+
@dts_task_name.setter
|
|
117
|
+
def dts_task_name(self, dts_task_name):
|
|
118
|
+
"""Sets the dts_task_name of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param dts_task_name: The dts_task_name of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
122
|
+
:type: str
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
self._dts_task_name = dts_task_name
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def dts_task_status(self):
|
|
129
|
+
"""Gets the dts_task_status of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:return: The dts_task_status of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._dts_task_status
|
|
136
|
+
|
|
137
|
+
@dts_task_status.setter
|
|
138
|
+
def dts_task_status(self, dts_task_status):
|
|
139
|
+
"""Sets the dts_task_status of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:param dts_task_status: The dts_task_status of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
143
|
+
:type: str
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._dts_task_status = dts_task_status
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def instance_id(self):
|
|
150
|
+
"""Gets the instance_id of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:return: The instance_id of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
154
|
+
:rtype: str
|
|
155
|
+
"""
|
|
156
|
+
return self._instance_id
|
|
157
|
+
|
|
158
|
+
@instance_id.setter
|
|
159
|
+
def instance_id(self, instance_id):
|
|
160
|
+
"""Sets the instance_id of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:param instance_id: The instance_id of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
164
|
+
:type: str
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
self._instance_id = instance_id
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def instance_name(self):
|
|
171
|
+
"""Gets the instance_name of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:return: The instance_name of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
175
|
+
:rtype: str
|
|
176
|
+
"""
|
|
177
|
+
return self._instance_name
|
|
178
|
+
|
|
179
|
+
@instance_name.setter
|
|
180
|
+
def instance_name(self, instance_name):
|
|
181
|
+
"""Sets the instance_name of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param instance_name: The instance_name of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
185
|
+
:type: str
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._instance_name = instance_name
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def region(self):
|
|
192
|
+
"""Gets the region of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:return: The region of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
196
|
+
:rtype: str
|
|
197
|
+
"""
|
|
198
|
+
return self._region
|
|
199
|
+
|
|
200
|
+
@region.setter
|
|
201
|
+
def region(self, region):
|
|
202
|
+
"""Sets the region of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param region: The region of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
206
|
+
:type: str
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
self._region = region
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def seconds_behind_master(self):
|
|
213
|
+
"""Gets the seconds_behind_master of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:return: The seconds_behind_master of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
217
|
+
:rtype: int
|
|
218
|
+
"""
|
|
219
|
+
return self._seconds_behind_master
|
|
220
|
+
|
|
221
|
+
@seconds_behind_master.setter
|
|
222
|
+
def seconds_behind_master(self, seconds_behind_master):
|
|
223
|
+
"""Sets the seconds_behind_master of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:param seconds_behind_master: The seconds_behind_master of this DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput. # noqa: E501
|
|
227
|
+
:type: int
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
self._seconds_behind_master = seconds_behind_master
|
|
231
|
+
|
|
232
|
+
def to_dict(self):
|
|
233
|
+
"""Returns the model properties as a dict"""
|
|
234
|
+
result = {}
|
|
235
|
+
|
|
236
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
237
|
+
value = getattr(self, attr)
|
|
238
|
+
if isinstance(value, list):
|
|
239
|
+
result[attr] = list(map(
|
|
240
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
241
|
+
value
|
|
242
|
+
))
|
|
243
|
+
elif hasattr(value, "to_dict"):
|
|
244
|
+
result[attr] = value.to_dict()
|
|
245
|
+
elif isinstance(value, dict):
|
|
246
|
+
result[attr] = dict(map(
|
|
247
|
+
lambda item: (item[0], item[1].to_dict())
|
|
248
|
+
if hasattr(item[1], "to_dict") else item,
|
|
249
|
+
value.items()
|
|
250
|
+
))
|
|
251
|
+
else:
|
|
252
|
+
result[attr] = value
|
|
253
|
+
if issubclass(DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput, dict):
|
|
254
|
+
for key, value in self.items():
|
|
255
|
+
result[key] = value
|
|
256
|
+
|
|
257
|
+
return result
|
|
258
|
+
|
|
259
|
+
def to_str(self):
|
|
260
|
+
"""Returns the string representation of the model"""
|
|
261
|
+
return pprint.pformat(self.to_dict())
|
|
262
|
+
|
|
263
|
+
def __repr__(self):
|
|
264
|
+
"""For `print` and `pprint`"""
|
|
265
|
+
return self.to_str()
|
|
266
|
+
|
|
267
|
+
def __eq__(self, other):
|
|
268
|
+
"""Returns true if both objects are equal"""
|
|
269
|
+
if not isinstance(other, DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput):
|
|
270
|
+
return False
|
|
271
|
+
|
|
272
|
+
return self.to_dict() == other.to_dict()
|
|
273
|
+
|
|
274
|
+
def __ne__(self, other):
|
|
275
|
+
"""Returns true if both objects are not equal"""
|
|
276
|
+
if not isinstance(other, DisasterRecoveryInstanceForDescribeDBDisasterRecoveryInstancesOutput):
|
|
277
|
+
return True
|
|
278
|
+
|
|
279
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -39,6 +39,7 @@ class EndpointForDescribeDBInstanceDetailOutput(object):
|
|
|
39
39
|
'connection_mode': 'str',
|
|
40
40
|
'connection_pool_type': 'str',
|
|
41
41
|
'description': 'str',
|
|
42
|
+
'enable_connection_persistent': 'bool',
|
|
42
43
|
'enable_read_only': 'str',
|
|
43
44
|
'enable_read_write_splitting': 'str',
|
|
44
45
|
'endpoint_id': 'str',
|
|
@@ -63,6 +64,7 @@ class EndpointForDescribeDBInstanceDetailOutput(object):
|
|
|
63
64
|
'connection_mode': 'ConnectionMode',
|
|
64
65
|
'connection_pool_type': 'ConnectionPoolType',
|
|
65
66
|
'description': 'Description',
|
|
67
|
+
'enable_connection_persistent': 'EnableConnectionPersistent',
|
|
66
68
|
'enable_read_only': 'EnableReadOnly',
|
|
67
69
|
'enable_read_write_splitting': 'EnableReadWriteSplitting',
|
|
68
70
|
'endpoint_id': 'EndpointId',
|
|
@@ -80,7 +82,7 @@ class EndpointForDescribeDBInstanceDetailOutput(object):
|
|
|
80
82
|
'read_write_mode': 'ReadWriteMode'
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
def __init__(self, addresses=None, auto_add_new_nodes=None, connection_info_tags=None, connection_mode=None, connection_pool_type=None, description=None, enable_read_only=None, enable_read_write_splitting=None, endpoint_id=None, endpoint_name=None, endpoint_type=None, idle_connection_reclaim=None, implicit_trans_split=None, master_node_routing=None, master_protector_timeout=None, multi_statements_mode=None, overload_protection=None, read_only_node_distribution_type=None, read_only_node_max_delay_time=None, read_only_node_weight=None, read_write_mode=None, _configuration=None): # noqa: E501
|
|
85
|
+
def __init__(self, addresses=None, auto_add_new_nodes=None, connection_info_tags=None, connection_mode=None, connection_pool_type=None, description=None, enable_connection_persistent=None, enable_read_only=None, enable_read_write_splitting=None, endpoint_id=None, endpoint_name=None, endpoint_type=None, idle_connection_reclaim=None, implicit_trans_split=None, master_node_routing=None, master_protector_timeout=None, multi_statements_mode=None, overload_protection=None, read_only_node_distribution_type=None, read_only_node_max_delay_time=None, read_only_node_weight=None, read_write_mode=None, _configuration=None): # noqa: E501
|
|
84
86
|
"""EndpointForDescribeDBInstanceDetailOutput - a model defined in Swagger""" # noqa: E501
|
|
85
87
|
if _configuration is None:
|
|
86
88
|
_configuration = Configuration()
|
|
@@ -92,6 +94,7 @@ class EndpointForDescribeDBInstanceDetailOutput(object):
|
|
|
92
94
|
self._connection_mode = None
|
|
93
95
|
self._connection_pool_type = None
|
|
94
96
|
self._description = None
|
|
97
|
+
self._enable_connection_persistent = None
|
|
95
98
|
self._enable_read_only = None
|
|
96
99
|
self._enable_read_write_splitting = None
|
|
97
100
|
self._endpoint_id = None
|
|
@@ -121,6 +124,8 @@ class EndpointForDescribeDBInstanceDetailOutput(object):
|
|
|
121
124
|
self.connection_pool_type = connection_pool_type
|
|
122
125
|
if description is not None:
|
|
123
126
|
self.description = description
|
|
127
|
+
if enable_connection_persistent is not None:
|
|
128
|
+
self.enable_connection_persistent = enable_connection_persistent
|
|
124
129
|
if enable_read_only is not None:
|
|
125
130
|
self.enable_read_only = enable_read_only
|
|
126
131
|
if enable_read_write_splitting is not None:
|
|
@@ -278,6 +283,27 @@ class EndpointForDescribeDBInstanceDetailOutput(object):
|
|
|
278
283
|
|
|
279
284
|
self._description = description
|
|
280
285
|
|
|
286
|
+
@property
|
|
287
|
+
def enable_connection_persistent(self):
|
|
288
|
+
"""Gets the enable_connection_persistent of this EndpointForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
:return: The enable_connection_persistent of this EndpointForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
292
|
+
:rtype: bool
|
|
293
|
+
"""
|
|
294
|
+
return self._enable_connection_persistent
|
|
295
|
+
|
|
296
|
+
@enable_connection_persistent.setter
|
|
297
|
+
def enable_connection_persistent(self, enable_connection_persistent):
|
|
298
|
+
"""Sets the enable_connection_persistent of this EndpointForDescribeDBInstanceDetailOutput.
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
:param enable_connection_persistent: The enable_connection_persistent of this EndpointForDescribeDBInstanceDetailOutput. # noqa: E501
|
|
302
|
+
:type: bool
|
|
303
|
+
"""
|
|
304
|
+
|
|
305
|
+
self._enable_connection_persistent = enable_connection_persistent
|
|
306
|
+
|
|
281
307
|
@property
|
|
282
308
|
def enable_read_only(self):
|
|
283
309
|
"""Gets the enable_read_only of this EndpointForDescribeDBInstanceDetailOutput. # noqa: E501
|