alibabacloud-fc20230330 4.2.7__tar.gz → 4.4.0__tar.gz
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.
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/ChangeLog.md +4 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/PKG-INFO +1 -1
- alibabacloud_fc20230330-4.4.0/alibabacloud_fc20230330/__init__.py +1 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/alibabacloud_fc20230330/client.py +98 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/alibabacloud_fc20230330/models.py +1275 -109
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/alibabacloud_fc20230330.egg-info/PKG-INFO +1 -1
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/alibabacloud_fc20230330.egg-info/requires.txt +1 -1
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/setup.py +2 -2
- alibabacloud_fc20230330-4.2.7/alibabacloud_fc20230330/__init__.py +0 -1
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/LICENSE +0 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/MANIFEST.in +0 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/README-CN.md +0 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/README.md +0 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/alibabacloud_fc20230330.egg-info/SOURCES.txt +0 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/alibabacloud_fc20230330.egg-info/dependency_links.txt +0 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/alibabacloud_fc20230330.egg-info/top_level.txt +0 -0
- {alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/setup.cfg +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '4.4.0'
|
{alibabacloud_fc20230330-4.2.7 → alibabacloud_fc20230330-4.4.0}/alibabacloud_fc20230330/client.py
RENAMED
@@ -41,6 +41,104 @@ class Client(OpenApiClient):
|
|
41
41
|
return endpoint_map.get(region_id)
|
42
42
|
return EndpointUtilClient.get_endpoint_rules(product_id, region_id, endpoint_rule, network, suffix)
|
43
43
|
|
44
|
+
def change_resource_group_with_options(
|
45
|
+
self,
|
46
|
+
request: fc20230330_models.ChangeResourceGroupRequest,
|
47
|
+
headers: Dict[str, str],
|
48
|
+
runtime: util_models.RuntimeOptions,
|
49
|
+
) -> fc20230330_models.ChangeResourceGroupResponse:
|
50
|
+
"""
|
51
|
+
@summary 修改实例所在资源组
|
52
|
+
|
53
|
+
@param request: ChangeResourceGroupRequest
|
54
|
+
@param headers: map
|
55
|
+
@param runtime: runtime options for this request RuntimeOptions
|
56
|
+
@return: ChangeResourceGroupResponse
|
57
|
+
"""
|
58
|
+
UtilClient.validate_model(request)
|
59
|
+
req = open_api_models.OpenApiRequest(
|
60
|
+
headers=headers,
|
61
|
+
body=OpenApiUtilClient.parse_to_map(request.body)
|
62
|
+
)
|
63
|
+
params = open_api_models.Params(
|
64
|
+
action='ChangeResourceGroup',
|
65
|
+
version='2023-03-30',
|
66
|
+
protocol='HTTPS',
|
67
|
+
pathname=f'/2023-03-30/resource-groups',
|
68
|
+
method='PUT',
|
69
|
+
auth_type='AK',
|
70
|
+
style='ROA',
|
71
|
+
req_body_type='json',
|
72
|
+
body_type='json'
|
73
|
+
)
|
74
|
+
return TeaCore.from_map(
|
75
|
+
fc20230330_models.ChangeResourceGroupResponse(),
|
76
|
+
self.call_api(params, req, runtime)
|
77
|
+
)
|
78
|
+
|
79
|
+
async def change_resource_group_with_options_async(
|
80
|
+
self,
|
81
|
+
request: fc20230330_models.ChangeResourceGroupRequest,
|
82
|
+
headers: Dict[str, str],
|
83
|
+
runtime: util_models.RuntimeOptions,
|
84
|
+
) -> fc20230330_models.ChangeResourceGroupResponse:
|
85
|
+
"""
|
86
|
+
@summary 修改实例所在资源组
|
87
|
+
|
88
|
+
@param request: ChangeResourceGroupRequest
|
89
|
+
@param headers: map
|
90
|
+
@param runtime: runtime options for this request RuntimeOptions
|
91
|
+
@return: ChangeResourceGroupResponse
|
92
|
+
"""
|
93
|
+
UtilClient.validate_model(request)
|
94
|
+
req = open_api_models.OpenApiRequest(
|
95
|
+
headers=headers,
|
96
|
+
body=OpenApiUtilClient.parse_to_map(request.body)
|
97
|
+
)
|
98
|
+
params = open_api_models.Params(
|
99
|
+
action='ChangeResourceGroup',
|
100
|
+
version='2023-03-30',
|
101
|
+
protocol='HTTPS',
|
102
|
+
pathname=f'/2023-03-30/resource-groups',
|
103
|
+
method='PUT',
|
104
|
+
auth_type='AK',
|
105
|
+
style='ROA',
|
106
|
+
req_body_type='json',
|
107
|
+
body_type='json'
|
108
|
+
)
|
109
|
+
return TeaCore.from_map(
|
110
|
+
fc20230330_models.ChangeResourceGroupResponse(),
|
111
|
+
await self.call_api_async(params, req, runtime)
|
112
|
+
)
|
113
|
+
|
114
|
+
def change_resource_group(
|
115
|
+
self,
|
116
|
+
request: fc20230330_models.ChangeResourceGroupRequest,
|
117
|
+
) -> fc20230330_models.ChangeResourceGroupResponse:
|
118
|
+
"""
|
119
|
+
@summary 修改实例所在资源组
|
120
|
+
|
121
|
+
@param request: ChangeResourceGroupRequest
|
122
|
+
@return: ChangeResourceGroupResponse
|
123
|
+
"""
|
124
|
+
runtime = util_models.RuntimeOptions()
|
125
|
+
headers = {}
|
126
|
+
return self.change_resource_group_with_options(request, headers, runtime)
|
127
|
+
|
128
|
+
async def change_resource_group_async(
|
129
|
+
self,
|
130
|
+
request: fc20230330_models.ChangeResourceGroupRequest,
|
131
|
+
) -> fc20230330_models.ChangeResourceGroupResponse:
|
132
|
+
"""
|
133
|
+
@summary 修改实例所在资源组
|
134
|
+
|
135
|
+
@param request: ChangeResourceGroupRequest
|
136
|
+
@return: ChangeResourceGroupResponse
|
137
|
+
"""
|
138
|
+
runtime = util_models.RuntimeOptions()
|
139
|
+
headers = {}
|
140
|
+
return await self.change_resource_group_with_options_async(request, headers, runtime)
|
141
|
+
|
44
142
|
def create_alias_with_options(
|
45
143
|
self,
|
46
144
|
function_name: str,
|