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
|
@@ -33,18 +33,46 @@ class CreateResourceShareResponse(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
+
'resource_share_trn': 'str'
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
attribute_map = {
|
|
40
|
+
'resource_share_trn': 'ResourceShareTrn'
|
|
39
41
|
}
|
|
40
42
|
|
|
41
|
-
def __init__(self, _configuration=None): # noqa: E501
|
|
43
|
+
def __init__(self, resource_share_trn=None, _configuration=None): # noqa: E501
|
|
42
44
|
"""CreateResourceShareResponse - a model defined in Swagger""" # noqa: E501
|
|
43
45
|
if _configuration is None:
|
|
44
46
|
_configuration = Configuration()
|
|
45
47
|
self._configuration = _configuration
|
|
48
|
+
|
|
49
|
+
self._resource_share_trn = None
|
|
46
50
|
self.discriminator = None
|
|
47
51
|
|
|
52
|
+
if resource_share_trn is not None:
|
|
53
|
+
self.resource_share_trn = resource_share_trn
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def resource_share_trn(self):
|
|
57
|
+
"""Gets the resource_share_trn of this CreateResourceShareResponse. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The resource_share_trn of this CreateResourceShareResponse. # noqa: E501
|
|
61
|
+
:rtype: str
|
|
62
|
+
"""
|
|
63
|
+
return self._resource_share_trn
|
|
64
|
+
|
|
65
|
+
@resource_share_trn.setter
|
|
66
|
+
def resource_share_trn(self, resource_share_trn):
|
|
67
|
+
"""Sets the resource_share_trn of this CreateResourceShareResponse.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param resource_share_trn: The resource_share_trn of this CreateResourceShareResponse. # noqa: E501
|
|
71
|
+
:type: str
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._resource_share_trn = resource_share_trn
|
|
75
|
+
|
|
48
76
|
def to_dict(self):
|
|
49
77
|
"""Returns the model properties as a dict"""
|
|
50
78
|
result = {}
|
|
@@ -39,7 +39,8 @@ class DescribeResourceSharesRequest(object):
|
|
|
39
39
|
'permission_trn': 'str',
|
|
40
40
|
'resource_owner': 'str',
|
|
41
41
|
'resource_share_status': 'str',
|
|
42
|
-
'resource_share_trns': 'str'
|
|
42
|
+
'resource_share_trns': 'str',
|
|
43
|
+
'tag_filters': 'list[TagFilterForDescribeResourceSharesInput]'
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
attribute_map = {
|
|
@@ -49,10 +50,11 @@ class DescribeResourceSharesRequest(object):
|
|
|
49
50
|
'permission_trn': 'PermissionTrn',
|
|
50
51
|
'resource_owner': 'ResourceOwner',
|
|
51
52
|
'resource_share_status': 'ResourceShareStatus',
|
|
52
|
-
'resource_share_trns': 'ResourceShareTrns'
|
|
53
|
+
'resource_share_trns': 'ResourceShareTrns',
|
|
54
|
+
'tag_filters': 'TagFilters'
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
def __init__(self, max_results=None, name=None, next_token=None, permission_trn=None, resource_owner=None, resource_share_status=None, resource_share_trns=None, _configuration=None): # noqa: E501
|
|
57
|
+
def __init__(self, max_results=None, name=None, next_token=None, permission_trn=None, resource_owner=None, resource_share_status=None, resource_share_trns=None, tag_filters=None, _configuration=None): # noqa: E501
|
|
56
58
|
"""DescribeResourceSharesRequest - a model defined in Swagger""" # noqa: E501
|
|
57
59
|
if _configuration is None:
|
|
58
60
|
_configuration = Configuration()
|
|
@@ -65,6 +67,7 @@ class DescribeResourceSharesRequest(object):
|
|
|
65
67
|
self._resource_owner = None
|
|
66
68
|
self._resource_share_status = None
|
|
67
69
|
self._resource_share_trns = None
|
|
70
|
+
self._tag_filters = None
|
|
68
71
|
self.discriminator = None
|
|
69
72
|
|
|
70
73
|
if max_results is not None:
|
|
@@ -75,11 +78,14 @@ class DescribeResourceSharesRequest(object):
|
|
|
75
78
|
self.next_token = next_token
|
|
76
79
|
if permission_trn is not None:
|
|
77
80
|
self.permission_trn = permission_trn
|
|
78
|
-
|
|
81
|
+
if resource_owner is not None:
|
|
82
|
+
self.resource_owner = resource_owner
|
|
79
83
|
if resource_share_status is not None:
|
|
80
84
|
self.resource_share_status = resource_share_status
|
|
81
85
|
if resource_share_trns is not None:
|
|
82
86
|
self.resource_share_trns = resource_share_trns
|
|
87
|
+
if tag_filters is not None:
|
|
88
|
+
self.tag_filters = tag_filters
|
|
83
89
|
|
|
84
90
|
@property
|
|
85
91
|
def max_results(self):
|
|
@@ -183,8 +189,6 @@ class DescribeResourceSharesRequest(object):
|
|
|
183
189
|
:param resource_owner: The resource_owner of this DescribeResourceSharesRequest. # noqa: E501
|
|
184
190
|
:type: str
|
|
185
191
|
"""
|
|
186
|
-
if self._configuration.client_side_validation and resource_owner is None:
|
|
187
|
-
raise ValueError("Invalid value for `resource_owner`, must not be `None`") # noqa: E501
|
|
188
192
|
|
|
189
193
|
self._resource_owner = resource_owner
|
|
190
194
|
|
|
@@ -230,6 +234,27 @@ class DescribeResourceSharesRequest(object):
|
|
|
230
234
|
|
|
231
235
|
self._resource_share_trns = resource_share_trns
|
|
232
236
|
|
|
237
|
+
@property
|
|
238
|
+
def tag_filters(self):
|
|
239
|
+
"""Gets the tag_filters of this DescribeResourceSharesRequest. # noqa: E501
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:return: The tag_filters of this DescribeResourceSharesRequest. # noqa: E501
|
|
243
|
+
:rtype: list[TagFilterForDescribeResourceSharesInput]
|
|
244
|
+
"""
|
|
245
|
+
return self._tag_filters
|
|
246
|
+
|
|
247
|
+
@tag_filters.setter
|
|
248
|
+
def tag_filters(self, tag_filters):
|
|
249
|
+
"""Sets the tag_filters of this DescribeResourceSharesRequest.
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:param tag_filters: The tag_filters of this DescribeResourceSharesRequest. # noqa: E501
|
|
253
|
+
:type: list[TagFilterForDescribeResourceSharesInput]
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
self._tag_filters = tag_filters
|
|
257
|
+
|
|
233
258
|
def to_dict(self):
|
|
234
259
|
"""Returns the model properties as a dict"""
|
|
235
260
|
result = {}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
resource_share
|
|
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 ListTagsForResourcesRequest(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
|
+
'max_results': 'str',
|
|
37
|
+
'next_token': 'str',
|
|
38
|
+
'resource_ids': 'list[str]',
|
|
39
|
+
'resource_type': 'str',
|
|
40
|
+
'tag_filters': 'list[TagFilterForListTagsForResourcesInput]'
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
attribute_map = {
|
|
44
|
+
'max_results': 'MaxResults',
|
|
45
|
+
'next_token': 'NextToken',
|
|
46
|
+
'resource_ids': 'ResourceIds',
|
|
47
|
+
'resource_type': 'ResourceType',
|
|
48
|
+
'tag_filters': 'TagFilters'
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
def __init__(self, max_results=None, next_token=None, resource_ids=None, resource_type=None, tag_filters=None, _configuration=None): # noqa: E501
|
|
52
|
+
"""ListTagsForResourcesRequest - a model defined in Swagger""" # noqa: E501
|
|
53
|
+
if _configuration is None:
|
|
54
|
+
_configuration = Configuration()
|
|
55
|
+
self._configuration = _configuration
|
|
56
|
+
|
|
57
|
+
self._max_results = None
|
|
58
|
+
self._next_token = None
|
|
59
|
+
self._resource_ids = None
|
|
60
|
+
self._resource_type = None
|
|
61
|
+
self._tag_filters = None
|
|
62
|
+
self.discriminator = None
|
|
63
|
+
|
|
64
|
+
if max_results is not None:
|
|
65
|
+
self.max_results = max_results
|
|
66
|
+
if next_token is not None:
|
|
67
|
+
self.next_token = next_token
|
|
68
|
+
if resource_ids is not None:
|
|
69
|
+
self.resource_ids = resource_ids
|
|
70
|
+
self.resource_type = resource_type
|
|
71
|
+
if tag_filters is not None:
|
|
72
|
+
self.tag_filters = tag_filters
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def max_results(self):
|
|
76
|
+
"""Gets the max_results of this ListTagsForResourcesRequest. # noqa: E501
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
:return: The max_results of this ListTagsForResourcesRequest. # noqa: E501
|
|
80
|
+
:rtype: str
|
|
81
|
+
"""
|
|
82
|
+
return self._max_results
|
|
83
|
+
|
|
84
|
+
@max_results.setter
|
|
85
|
+
def max_results(self, max_results):
|
|
86
|
+
"""Sets the max_results of this ListTagsForResourcesRequest.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:param max_results: The max_results of this ListTagsForResourcesRequest. # noqa: E501
|
|
90
|
+
:type: str
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
self._max_results = max_results
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def next_token(self):
|
|
97
|
+
"""Gets the next_token of this ListTagsForResourcesRequest. # noqa: E501
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:return: The next_token of this ListTagsForResourcesRequest. # noqa: E501
|
|
101
|
+
:rtype: str
|
|
102
|
+
"""
|
|
103
|
+
return self._next_token
|
|
104
|
+
|
|
105
|
+
@next_token.setter
|
|
106
|
+
def next_token(self, next_token):
|
|
107
|
+
"""Sets the next_token of this ListTagsForResourcesRequest.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:param next_token: The next_token of this ListTagsForResourcesRequest. # noqa: E501
|
|
111
|
+
:type: str
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
self._next_token = next_token
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def resource_ids(self):
|
|
118
|
+
"""Gets the resource_ids of this ListTagsForResourcesRequest. # noqa: E501
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:return: The resource_ids of this ListTagsForResourcesRequest. # noqa: E501
|
|
122
|
+
:rtype: list[str]
|
|
123
|
+
"""
|
|
124
|
+
return self._resource_ids
|
|
125
|
+
|
|
126
|
+
@resource_ids.setter
|
|
127
|
+
def resource_ids(self, resource_ids):
|
|
128
|
+
"""Sets the resource_ids of this ListTagsForResourcesRequest.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param resource_ids: The resource_ids of this ListTagsForResourcesRequest. # noqa: E501
|
|
132
|
+
:type: list[str]
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
self._resource_ids = resource_ids
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def resource_type(self):
|
|
139
|
+
"""Gets the resource_type of this ListTagsForResourcesRequest. # noqa: E501
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:return: The resource_type of this ListTagsForResourcesRequest. # noqa: E501
|
|
143
|
+
:rtype: str
|
|
144
|
+
"""
|
|
145
|
+
return self._resource_type
|
|
146
|
+
|
|
147
|
+
@resource_type.setter
|
|
148
|
+
def resource_type(self, resource_type):
|
|
149
|
+
"""Sets the resource_type of this ListTagsForResourcesRequest.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:param resource_type: The resource_type of this ListTagsForResourcesRequest. # noqa: E501
|
|
153
|
+
:type: str
|
|
154
|
+
"""
|
|
155
|
+
if self._configuration.client_side_validation and resource_type is None:
|
|
156
|
+
raise ValueError("Invalid value for `resource_type`, must not be `None`") # noqa: E501
|
|
157
|
+
|
|
158
|
+
self._resource_type = resource_type
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
def tag_filters(self):
|
|
162
|
+
"""Gets the tag_filters of this ListTagsForResourcesRequest. # noqa: E501
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
:return: The tag_filters of this ListTagsForResourcesRequest. # noqa: E501
|
|
166
|
+
:rtype: list[TagFilterForListTagsForResourcesInput]
|
|
167
|
+
"""
|
|
168
|
+
return self._tag_filters
|
|
169
|
+
|
|
170
|
+
@tag_filters.setter
|
|
171
|
+
def tag_filters(self, tag_filters):
|
|
172
|
+
"""Sets the tag_filters of this ListTagsForResourcesRequest.
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:param tag_filters: The tag_filters of this ListTagsForResourcesRequest. # noqa: E501
|
|
176
|
+
:type: list[TagFilterForListTagsForResourcesInput]
|
|
177
|
+
"""
|
|
178
|
+
|
|
179
|
+
self._tag_filters = tag_filters
|
|
180
|
+
|
|
181
|
+
def to_dict(self):
|
|
182
|
+
"""Returns the model properties as a dict"""
|
|
183
|
+
result = {}
|
|
184
|
+
|
|
185
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
186
|
+
value = getattr(self, attr)
|
|
187
|
+
if isinstance(value, list):
|
|
188
|
+
result[attr] = list(map(
|
|
189
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
190
|
+
value
|
|
191
|
+
))
|
|
192
|
+
elif hasattr(value, "to_dict"):
|
|
193
|
+
result[attr] = value.to_dict()
|
|
194
|
+
elif isinstance(value, dict):
|
|
195
|
+
result[attr] = dict(map(
|
|
196
|
+
lambda item: (item[0], item[1].to_dict())
|
|
197
|
+
if hasattr(item[1], "to_dict") else item,
|
|
198
|
+
value.items()
|
|
199
|
+
))
|
|
200
|
+
else:
|
|
201
|
+
result[attr] = value
|
|
202
|
+
if issubclass(ListTagsForResourcesRequest, dict):
|
|
203
|
+
for key, value in self.items():
|
|
204
|
+
result[key] = value
|
|
205
|
+
|
|
206
|
+
return result
|
|
207
|
+
|
|
208
|
+
def to_str(self):
|
|
209
|
+
"""Returns the string representation of the model"""
|
|
210
|
+
return pprint.pformat(self.to_dict())
|
|
211
|
+
|
|
212
|
+
def __repr__(self):
|
|
213
|
+
"""For `print` and `pprint`"""
|
|
214
|
+
return self.to_str()
|
|
215
|
+
|
|
216
|
+
def __eq__(self, other):
|
|
217
|
+
"""Returns true if both objects are equal"""
|
|
218
|
+
if not isinstance(other, ListTagsForResourcesRequest):
|
|
219
|
+
return False
|
|
220
|
+
|
|
221
|
+
return self.to_dict() == other.to_dict()
|
|
222
|
+
|
|
223
|
+
def __ne__(self, other):
|
|
224
|
+
"""Returns true if both objects are not equal"""
|
|
225
|
+
if not isinstance(other, ListTagsForResourcesRequest):
|
|
226
|
+
return True
|
|
227
|
+
|
|
228
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
resource_share
|
|
5
5
|
|
|
6
6
|
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
7
|
|
|
@@ -19,7 +19,7 @@ import six
|
|
|
19
19
|
from volcenginesdkcore.configuration import Configuration
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class ListTagsForResourcesResponse(object):
|
|
23
23
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
24
|
|
|
25
25
|
Do not edit the class manually.
|
|
@@ -33,67 +33,93 @@ class DescribeCrossRegionBackupDBInstancesResponse(object):
|
|
|
33
33
|
and the value is json key in definition.
|
|
34
34
|
"""
|
|
35
35
|
swagger_types = {
|
|
36
|
-
'
|
|
36
|
+
'next_token': 'str',
|
|
37
|
+
'resource_tags': 'list[ResourceTagForListTagsForResourcesOutput]',
|
|
37
38
|
'total': 'int'
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
attribute_map = {
|
|
41
|
-
'
|
|
42
|
+
'next_token': 'NextToken',
|
|
43
|
+
'resource_tags': 'ResourceTags',
|
|
42
44
|
'total': 'Total'
|
|
43
45
|
}
|
|
44
46
|
|
|
45
|
-
def __init__(self,
|
|
46
|
-
"""
|
|
47
|
+
def __init__(self, next_token=None, resource_tags=None, total=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ListTagsForResourcesResponse - a model defined in Swagger""" # noqa: E501
|
|
47
49
|
if _configuration is None:
|
|
48
50
|
_configuration = Configuration()
|
|
49
51
|
self._configuration = _configuration
|
|
50
52
|
|
|
51
|
-
self.
|
|
53
|
+
self._next_token = None
|
|
54
|
+
self._resource_tags = None
|
|
52
55
|
self._total = None
|
|
53
56
|
self.discriminator = None
|
|
54
57
|
|
|
55
|
-
if
|
|
56
|
-
self.
|
|
58
|
+
if next_token is not None:
|
|
59
|
+
self.next_token = next_token
|
|
60
|
+
if resource_tags is not None:
|
|
61
|
+
self.resource_tags = resource_tags
|
|
57
62
|
if total is not None:
|
|
58
63
|
self.total = total
|
|
59
64
|
|
|
60
65
|
@property
|
|
61
|
-
def
|
|
62
|
-
"""Gets the
|
|
66
|
+
def next_token(self):
|
|
67
|
+
"""Gets the next_token of this ListTagsForResourcesResponse. # noqa: E501
|
|
63
68
|
|
|
64
69
|
|
|
65
|
-
:return: The
|
|
66
|
-
:rtype:
|
|
70
|
+
:return: The next_token of this ListTagsForResourcesResponse. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
67
72
|
"""
|
|
68
|
-
return self.
|
|
73
|
+
return self._next_token
|
|
69
74
|
|
|
70
|
-
@
|
|
71
|
-
def
|
|
72
|
-
"""Sets the
|
|
75
|
+
@next_token.setter
|
|
76
|
+
def next_token(self, next_token):
|
|
77
|
+
"""Sets the next_token of this ListTagsForResourcesResponse.
|
|
73
78
|
|
|
74
79
|
|
|
75
|
-
:param
|
|
76
|
-
:type:
|
|
80
|
+
:param next_token: The next_token of this ListTagsForResourcesResponse. # noqa: E501
|
|
81
|
+
:type: str
|
|
77
82
|
"""
|
|
78
83
|
|
|
79
|
-
self.
|
|
84
|
+
self._next_token = next_token
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
def resource_tags(self):
|
|
88
|
+
"""Gets the resource_tags of this ListTagsForResourcesResponse. # noqa: E501
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:return: The resource_tags of this ListTagsForResourcesResponse. # noqa: E501
|
|
92
|
+
:rtype: list[ResourceTagForListTagsForResourcesOutput]
|
|
93
|
+
"""
|
|
94
|
+
return self._resource_tags
|
|
95
|
+
|
|
96
|
+
@resource_tags.setter
|
|
97
|
+
def resource_tags(self, resource_tags):
|
|
98
|
+
"""Sets the resource_tags of this ListTagsForResourcesResponse.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
:param resource_tags: The resource_tags of this ListTagsForResourcesResponse. # noqa: E501
|
|
102
|
+
:type: list[ResourceTagForListTagsForResourcesOutput]
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
self._resource_tags = resource_tags
|
|
80
106
|
|
|
81
107
|
@property
|
|
82
108
|
def total(self):
|
|
83
|
-
"""Gets the total of this
|
|
109
|
+
"""Gets the total of this ListTagsForResourcesResponse. # noqa: E501
|
|
84
110
|
|
|
85
111
|
|
|
86
|
-
:return: The total of this
|
|
112
|
+
:return: The total of this ListTagsForResourcesResponse. # noqa: E501
|
|
87
113
|
:rtype: int
|
|
88
114
|
"""
|
|
89
115
|
return self._total
|
|
90
116
|
|
|
91
117
|
@total.setter
|
|
92
118
|
def total(self, total):
|
|
93
|
-
"""Sets the total of this
|
|
119
|
+
"""Sets the total of this ListTagsForResourcesResponse.
|
|
94
120
|
|
|
95
121
|
|
|
96
|
-
:param total: The total of this
|
|
122
|
+
:param total: The total of this ListTagsForResourcesResponse. # noqa: E501
|
|
97
123
|
:type: int
|
|
98
124
|
"""
|
|
99
125
|
|
|
@@ -120,7 +146,7 @@ class DescribeCrossRegionBackupDBInstancesResponse(object):
|
|
|
120
146
|
))
|
|
121
147
|
else:
|
|
122
148
|
result[attr] = value
|
|
123
|
-
if issubclass(
|
|
149
|
+
if issubclass(ListTagsForResourcesResponse, dict):
|
|
124
150
|
for key, value in self.items():
|
|
125
151
|
result[key] = value
|
|
126
152
|
|
|
@@ -136,14 +162,14 @@ class DescribeCrossRegionBackupDBInstancesResponse(object):
|
|
|
136
162
|
|
|
137
163
|
def __eq__(self, other):
|
|
138
164
|
"""Returns true if both objects are equal"""
|
|
139
|
-
if not isinstance(other,
|
|
165
|
+
if not isinstance(other, ListTagsForResourcesResponse):
|
|
140
166
|
return False
|
|
141
167
|
|
|
142
168
|
return self.to_dict() == other.to_dict()
|
|
143
169
|
|
|
144
170
|
def __ne__(self, other):
|
|
145
171
|
"""Returns true if both objects are not equal"""
|
|
146
|
-
if not isinstance(other,
|
|
172
|
+
if not isinstance(other, ListTagsForResourcesResponse):
|
|
147
173
|
return True
|
|
148
174
|
|
|
149
175
|
return self.to_dict() != other.to_dict()
|
|
@@ -40,6 +40,7 @@ class ResourceShareForDescribeResourceSharesOutput(object):
|
|
|
40
40
|
'resource_share_name': 'str',
|
|
41
41
|
'resource_share_trn': 'str',
|
|
42
42
|
'status': 'str',
|
|
43
|
+
'tags': 'list[TagForDescribeResourceSharesOutput]',
|
|
43
44
|
'update_time': 'str'
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -51,10 +52,11 @@ class ResourceShareForDescribeResourceSharesOutput(object):
|
|
|
51
52
|
'resource_share_name': 'ResourceShareName',
|
|
52
53
|
'resource_share_trn': 'ResourceShareTrn',
|
|
53
54
|
'status': 'Status',
|
|
55
|
+
'tags': 'Tags',
|
|
54
56
|
'update_time': 'UpdateTime'
|
|
55
57
|
}
|
|
56
58
|
|
|
57
|
-
def __init__(self, allow_share_type=None, create_time=None, owning_account_id=None, resource_share_id=None, resource_share_name=None, resource_share_trn=None, status=None, update_time=None, _configuration=None): # noqa: E501
|
|
59
|
+
def __init__(self, allow_share_type=None, create_time=None, owning_account_id=None, resource_share_id=None, resource_share_name=None, resource_share_trn=None, status=None, tags=None, update_time=None, _configuration=None): # noqa: E501
|
|
58
60
|
"""ResourceShareForDescribeResourceSharesOutput - a model defined in Swagger""" # noqa: E501
|
|
59
61
|
if _configuration is None:
|
|
60
62
|
_configuration = Configuration()
|
|
@@ -67,6 +69,7 @@ class ResourceShareForDescribeResourceSharesOutput(object):
|
|
|
67
69
|
self._resource_share_name = None
|
|
68
70
|
self._resource_share_trn = None
|
|
69
71
|
self._status = None
|
|
72
|
+
self._tags = None
|
|
70
73
|
self._update_time = None
|
|
71
74
|
self.discriminator = None
|
|
72
75
|
|
|
@@ -84,6 +87,8 @@ class ResourceShareForDescribeResourceSharesOutput(object):
|
|
|
84
87
|
self.resource_share_trn = resource_share_trn
|
|
85
88
|
if status is not None:
|
|
86
89
|
self.status = status
|
|
90
|
+
if tags is not None:
|
|
91
|
+
self.tags = tags
|
|
87
92
|
if update_time is not None:
|
|
88
93
|
self.update_time = update_time
|
|
89
94
|
|
|
@@ -234,6 +239,27 @@ class ResourceShareForDescribeResourceSharesOutput(object):
|
|
|
234
239
|
|
|
235
240
|
self._status = status
|
|
236
241
|
|
|
242
|
+
@property
|
|
243
|
+
def tags(self):
|
|
244
|
+
"""Gets the tags of this ResourceShareForDescribeResourceSharesOutput. # noqa: E501
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:return: The tags of this ResourceShareForDescribeResourceSharesOutput. # noqa: E501
|
|
248
|
+
:rtype: list[TagForDescribeResourceSharesOutput]
|
|
249
|
+
"""
|
|
250
|
+
return self._tags
|
|
251
|
+
|
|
252
|
+
@tags.setter
|
|
253
|
+
def tags(self, tags):
|
|
254
|
+
"""Sets the tags of this ResourceShareForDescribeResourceSharesOutput.
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:param tags: The tags of this ResourceShareForDescribeResourceSharesOutput. # noqa: E501
|
|
258
|
+
:type: list[TagForDescribeResourceSharesOutput]
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
self._tags = tags
|
|
262
|
+
|
|
237
263
|
@property
|
|
238
264
|
def update_time(self):
|
|
239
265
|
"""Gets the update_time of this ResourceShareForDescribeResourceSharesOutput. # noqa: E501
|