alibabacloud-fc20230330 3.1.0__tar.gz → 4.0.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-3.1.0 → alibabacloud_fc20230330-4.0.0}/ChangeLog.md +43 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/PKG-INFO +1 -1
- alibabacloud_fc20230330-4.0.0/alibabacloud_fc20230330/__init__.py +1 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/alibabacloud_fc20230330/client.py +4 -442
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/alibabacloud_fc20230330/models.py +1498 -318
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/alibabacloud_fc20230330.egg-info/PKG-INFO +1 -1
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/setup.py +1 -1
- alibabacloud_fc20230330-3.1.0/alibabacloud_fc20230330/__init__.py +0 -1
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/LICENSE +0 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/MANIFEST.in +0 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/README-CN.md +0 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/README.md +0 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/alibabacloud_fc20230330.egg-info/SOURCES.txt +0 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/alibabacloud_fc20230330.egg-info/dependency_links.txt +0 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/alibabacloud_fc20230330.egg-info/requires.txt +0 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/alibabacloud_fc20230330.egg-info/top_level.txt +0 -0
- {alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/setup.cfg +0 -0
@@ -1,3 +1,46 @@
|
|
1
|
+
2024-03-22 Version: 3.1.0
|
2
|
+
- Support API ListTagResources.
|
3
|
+
- Support API TagResources.
|
4
|
+
- Support API UntagResources.
|
5
|
+
- Update API CreateAlias: update response param.
|
6
|
+
- Update API CreateCustomDomain: update response param.
|
7
|
+
- Update API CreateFunction: update response param.
|
8
|
+
- Update API CreateLayerVersion: update response param.
|
9
|
+
- Update API CreateTrigger: update response param.
|
10
|
+
- Update API CreateVpcBinding: update response param.
|
11
|
+
- Update API GetAlias: update response param.
|
12
|
+
- Update API GetAsyncInvokeConfig: update response param.
|
13
|
+
- Update API GetConcurrencyConfig: update response param.
|
14
|
+
- Update API GetCustomDomain: update response param.
|
15
|
+
- Update API GetFunction: update response param.
|
16
|
+
- Update API GetFunctionCode: update response param.
|
17
|
+
- Update API GetLayerVersion: update response param.
|
18
|
+
- Update API GetLayerVersionByArn: update response param.
|
19
|
+
- Update API GetProvisionConfig: update response param.
|
20
|
+
- Update API GetTrigger: update response param.
|
21
|
+
- Update API InvokeFunction: update response param.
|
22
|
+
- Update API ListAliases: update response param.
|
23
|
+
- Update API ListAsyncInvokeConfigs: update response param.
|
24
|
+
- Update API ListConcurrencyConfigs: update response param.
|
25
|
+
- Update API ListCustomDomains: update response param.
|
26
|
+
- Update API ListFunctionVersions: update response param.
|
27
|
+
- Update API ListFunctions: update response param.
|
28
|
+
- Update API ListInstances: update response param.
|
29
|
+
- Update API ListLayerVersions: update response param.
|
30
|
+
- Update API ListLayers: update response param.
|
31
|
+
- Update API ListProvisionConfigs: update response param.
|
32
|
+
- Update API ListTriggers: update response param.
|
33
|
+
- Update API ListVpcBindings: update response param.
|
34
|
+
- Update API PublishFunctionVersion: update response param.
|
35
|
+
- Update API PutAsyncInvokeConfig: update response param.
|
36
|
+
- Update API PutConcurrencyConfig: update response param.
|
37
|
+
- Update API PutProvisionConfig: update response param.
|
38
|
+
- Update API UpdateAlias: update response param.
|
39
|
+
- Update API UpdateCustomDomain: update response param.
|
40
|
+
- Update API UpdateFunction: update response param.
|
41
|
+
- Update API UpdateTrigger: update response param.
|
42
|
+
|
43
|
+
|
1
44
|
2024-02-26 Version: 3.0.3
|
2
45
|
- Update API CreateAlias: update response param.
|
3
46
|
- Update API CreateCustomDomain: update response param.
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = '4.0.0'
|
{alibabacloud_fc20230330-3.1.0 → alibabacloud_fc20230330-4.0.0}/alibabacloud_fc20230330/client.py
RENAMED
@@ -1843,114 +1843,6 @@ class Client(OpenApiClient):
|
|
1843
1843
|
headers = {}
|
1844
1844
|
return await self.get_provision_config_with_options_async(function_name, request, headers, runtime)
|
1845
1845
|
|
1846
|
-
def get_resource_tags_with_options(
|
1847
|
-
self,
|
1848
|
-
request: fc20230330_models.GetResourceTagsRequest,
|
1849
|
-
headers: Dict[str, str],
|
1850
|
-
runtime: util_models.RuntimeOptions,
|
1851
|
-
) -> fc20230330_models.GetResourceTagsResponse:
|
1852
|
-
"""
|
1853
|
-
@deprecated
|
1854
|
-
|
1855
|
-
@param request: GetResourceTagsRequest
|
1856
|
-
@param headers: map
|
1857
|
-
@param runtime: runtime options for this request RuntimeOptions
|
1858
|
-
@return: GetResourceTagsResponse
|
1859
|
-
Deprecated
|
1860
|
-
"""
|
1861
|
-
UtilClient.validate_model(request)
|
1862
|
-
query = {}
|
1863
|
-
if not UtilClient.is_unset(request.arn):
|
1864
|
-
query['arn'] = request.arn
|
1865
|
-
req = open_api_models.OpenApiRequest(
|
1866
|
-
headers=headers,
|
1867
|
-
query=OpenApiUtilClient.query(query)
|
1868
|
-
)
|
1869
|
-
params = open_api_models.Params(
|
1870
|
-
action='GetResourceTags',
|
1871
|
-
version='2023-03-30',
|
1872
|
-
protocol='HTTPS',
|
1873
|
-
pathname=f'/2023-03-30/tag',
|
1874
|
-
method='GET',
|
1875
|
-
auth_type='AK',
|
1876
|
-
style='ROA',
|
1877
|
-
req_body_type='json',
|
1878
|
-
body_type='json'
|
1879
|
-
)
|
1880
|
-
return TeaCore.from_map(
|
1881
|
-
fc20230330_models.GetResourceTagsResponse(),
|
1882
|
-
self.call_api(params, req, runtime)
|
1883
|
-
)
|
1884
|
-
|
1885
|
-
async def get_resource_tags_with_options_async(
|
1886
|
-
self,
|
1887
|
-
request: fc20230330_models.GetResourceTagsRequest,
|
1888
|
-
headers: Dict[str, str],
|
1889
|
-
runtime: util_models.RuntimeOptions,
|
1890
|
-
) -> fc20230330_models.GetResourceTagsResponse:
|
1891
|
-
"""
|
1892
|
-
@deprecated
|
1893
|
-
|
1894
|
-
@param request: GetResourceTagsRequest
|
1895
|
-
@param headers: map
|
1896
|
-
@param runtime: runtime options for this request RuntimeOptions
|
1897
|
-
@return: GetResourceTagsResponse
|
1898
|
-
Deprecated
|
1899
|
-
"""
|
1900
|
-
UtilClient.validate_model(request)
|
1901
|
-
query = {}
|
1902
|
-
if not UtilClient.is_unset(request.arn):
|
1903
|
-
query['arn'] = request.arn
|
1904
|
-
req = open_api_models.OpenApiRequest(
|
1905
|
-
headers=headers,
|
1906
|
-
query=OpenApiUtilClient.query(query)
|
1907
|
-
)
|
1908
|
-
params = open_api_models.Params(
|
1909
|
-
action='GetResourceTags',
|
1910
|
-
version='2023-03-30',
|
1911
|
-
protocol='HTTPS',
|
1912
|
-
pathname=f'/2023-03-30/tag',
|
1913
|
-
method='GET',
|
1914
|
-
auth_type='AK',
|
1915
|
-
style='ROA',
|
1916
|
-
req_body_type='json',
|
1917
|
-
body_type='json'
|
1918
|
-
)
|
1919
|
-
return TeaCore.from_map(
|
1920
|
-
fc20230330_models.GetResourceTagsResponse(),
|
1921
|
-
await self.call_api_async(params, req, runtime)
|
1922
|
-
)
|
1923
|
-
|
1924
|
-
def get_resource_tags(
|
1925
|
-
self,
|
1926
|
-
request: fc20230330_models.GetResourceTagsRequest,
|
1927
|
-
) -> fc20230330_models.GetResourceTagsResponse:
|
1928
|
-
"""
|
1929
|
-
@deprecated
|
1930
|
-
|
1931
|
-
@param request: GetResourceTagsRequest
|
1932
|
-
@return: GetResourceTagsResponse
|
1933
|
-
Deprecated
|
1934
|
-
"""
|
1935
|
-
runtime = util_models.RuntimeOptions()
|
1936
|
-
headers = {}
|
1937
|
-
return self.get_resource_tags_with_options(request, headers, runtime)
|
1938
|
-
|
1939
|
-
async def get_resource_tags_async(
|
1940
|
-
self,
|
1941
|
-
request: fc20230330_models.GetResourceTagsRequest,
|
1942
|
-
) -> fc20230330_models.GetResourceTagsResponse:
|
1943
|
-
"""
|
1944
|
-
@deprecated
|
1945
|
-
|
1946
|
-
@param request: GetResourceTagsRequest
|
1947
|
-
@return: GetResourceTagsResponse
|
1948
|
-
Deprecated
|
1949
|
-
"""
|
1950
|
-
runtime = util_models.RuntimeOptions()
|
1951
|
-
headers = {}
|
1952
|
-
return await self.get_resource_tags_with_options_async(request, headers, runtime)
|
1953
|
-
|
1954
1846
|
def get_trigger_with_options(
|
1955
1847
|
self,
|
1956
1848
|
function_name: str,
|
@@ -2035,6 +1927,8 @@ class Client(OpenApiClient):
|
|
2035
1927
|
real_headers = {}
|
2036
1928
|
if not UtilClient.is_unset(headers.common_headers):
|
2037
1929
|
real_headers = headers.common_headers
|
1930
|
+
if not UtilClient.is_unset(headers.x_fc_async_task_id):
|
1931
|
+
real_headers['x-fc-async-task-id'] = UtilClient.to_jsonstring(headers.x_fc_async_task_id)
|
2038
1932
|
if not UtilClient.is_unset(headers.x_fc_invocation_type):
|
2039
1933
|
real_headers['x-fc-invocation-type'] = UtilClient.to_jsonstring(headers.x_fc_invocation_type)
|
2040
1934
|
if not UtilClient.is_unset(headers.x_fc_log_type):
|
@@ -2083,6 +1977,8 @@ class Client(OpenApiClient):
|
|
2083
1977
|
real_headers = {}
|
2084
1978
|
if not UtilClient.is_unset(headers.common_headers):
|
2085
1979
|
real_headers = headers.common_headers
|
1980
|
+
if not UtilClient.is_unset(headers.x_fc_async_task_id):
|
1981
|
+
real_headers['x-fc-async-task-id'] = UtilClient.to_jsonstring(headers.x_fc_async_task_id)
|
2086
1982
|
if not UtilClient.is_unset(headers.x_fc_invocation_type):
|
2087
1983
|
real_headers['x-fc-invocation-type'] = UtilClient.to_jsonstring(headers.x_fc_invocation_type)
|
2088
1984
|
if not UtilClient.is_unset(headers.x_fc_log_type):
|
@@ -3095,122 +2991,6 @@ class Client(OpenApiClient):
|
|
3095
2991
|
headers = {}
|
3096
2992
|
return await self.list_tag_resources_with_options_async(request, headers, runtime)
|
3097
2993
|
|
3098
|
-
def list_tagged_resources_with_options(
|
3099
|
-
self,
|
3100
|
-
request: fc20230330_models.ListTaggedResourcesRequest,
|
3101
|
-
headers: Dict[str, str],
|
3102
|
-
runtime: util_models.RuntimeOptions,
|
3103
|
-
) -> fc20230330_models.ListTaggedResourcesResponse:
|
3104
|
-
"""
|
3105
|
-
@deprecated
|
3106
|
-
|
3107
|
-
@param request: ListTaggedResourcesRequest
|
3108
|
-
@param headers: map
|
3109
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3110
|
-
@return: ListTaggedResourcesResponse
|
3111
|
-
Deprecated
|
3112
|
-
"""
|
3113
|
-
UtilClient.validate_model(request)
|
3114
|
-
query = {}
|
3115
|
-
if not UtilClient.is_unset(request.limit):
|
3116
|
-
query['limit'] = request.limit
|
3117
|
-
if not UtilClient.is_unset(request.next_token):
|
3118
|
-
query['nextToken'] = request.next_token
|
3119
|
-
if not UtilClient.is_unset(request.resource_type):
|
3120
|
-
query['resourceType'] = request.resource_type
|
3121
|
-
req = open_api_models.OpenApiRequest(
|
3122
|
-
headers=headers,
|
3123
|
-
query=OpenApiUtilClient.query(query)
|
3124
|
-
)
|
3125
|
-
params = open_api_models.Params(
|
3126
|
-
action='ListTaggedResources',
|
3127
|
-
version='2023-03-30',
|
3128
|
-
protocol='HTTPS',
|
3129
|
-
pathname=f'/2023-03-30/tags',
|
3130
|
-
method='GET',
|
3131
|
-
auth_type='AK',
|
3132
|
-
style='ROA',
|
3133
|
-
req_body_type='json',
|
3134
|
-
body_type='json'
|
3135
|
-
)
|
3136
|
-
return TeaCore.from_map(
|
3137
|
-
fc20230330_models.ListTaggedResourcesResponse(),
|
3138
|
-
self.call_api(params, req, runtime)
|
3139
|
-
)
|
3140
|
-
|
3141
|
-
async def list_tagged_resources_with_options_async(
|
3142
|
-
self,
|
3143
|
-
request: fc20230330_models.ListTaggedResourcesRequest,
|
3144
|
-
headers: Dict[str, str],
|
3145
|
-
runtime: util_models.RuntimeOptions,
|
3146
|
-
) -> fc20230330_models.ListTaggedResourcesResponse:
|
3147
|
-
"""
|
3148
|
-
@deprecated
|
3149
|
-
|
3150
|
-
@param request: ListTaggedResourcesRequest
|
3151
|
-
@param headers: map
|
3152
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3153
|
-
@return: ListTaggedResourcesResponse
|
3154
|
-
Deprecated
|
3155
|
-
"""
|
3156
|
-
UtilClient.validate_model(request)
|
3157
|
-
query = {}
|
3158
|
-
if not UtilClient.is_unset(request.limit):
|
3159
|
-
query['limit'] = request.limit
|
3160
|
-
if not UtilClient.is_unset(request.next_token):
|
3161
|
-
query['nextToken'] = request.next_token
|
3162
|
-
if not UtilClient.is_unset(request.resource_type):
|
3163
|
-
query['resourceType'] = request.resource_type
|
3164
|
-
req = open_api_models.OpenApiRequest(
|
3165
|
-
headers=headers,
|
3166
|
-
query=OpenApiUtilClient.query(query)
|
3167
|
-
)
|
3168
|
-
params = open_api_models.Params(
|
3169
|
-
action='ListTaggedResources',
|
3170
|
-
version='2023-03-30',
|
3171
|
-
protocol='HTTPS',
|
3172
|
-
pathname=f'/2023-03-30/tags',
|
3173
|
-
method='GET',
|
3174
|
-
auth_type='AK',
|
3175
|
-
style='ROA',
|
3176
|
-
req_body_type='json',
|
3177
|
-
body_type='json'
|
3178
|
-
)
|
3179
|
-
return TeaCore.from_map(
|
3180
|
-
fc20230330_models.ListTaggedResourcesResponse(),
|
3181
|
-
await self.call_api_async(params, req, runtime)
|
3182
|
-
)
|
3183
|
-
|
3184
|
-
def list_tagged_resources(
|
3185
|
-
self,
|
3186
|
-
request: fc20230330_models.ListTaggedResourcesRequest,
|
3187
|
-
) -> fc20230330_models.ListTaggedResourcesResponse:
|
3188
|
-
"""
|
3189
|
-
@deprecated
|
3190
|
-
|
3191
|
-
@param request: ListTaggedResourcesRequest
|
3192
|
-
@return: ListTaggedResourcesResponse
|
3193
|
-
Deprecated
|
3194
|
-
"""
|
3195
|
-
runtime = util_models.RuntimeOptions()
|
3196
|
-
headers = {}
|
3197
|
-
return self.list_tagged_resources_with_options(request, headers, runtime)
|
3198
|
-
|
3199
|
-
async def list_tagged_resources_async(
|
3200
|
-
self,
|
3201
|
-
request: fc20230330_models.ListTaggedResourcesRequest,
|
3202
|
-
) -> fc20230330_models.ListTaggedResourcesResponse:
|
3203
|
-
"""
|
3204
|
-
@deprecated
|
3205
|
-
|
3206
|
-
@param request: ListTaggedResourcesRequest
|
3207
|
-
@return: ListTaggedResourcesResponse
|
3208
|
-
Deprecated
|
3209
|
-
"""
|
3210
|
-
runtime = util_models.RuntimeOptions()
|
3211
|
-
headers = {}
|
3212
|
-
return await self.list_tagged_resources_with_options_async(request, headers, runtime)
|
3213
|
-
|
3214
2994
|
def list_triggers_with_options(
|
3215
2995
|
self,
|
3216
2996
|
function_name: str,
|
@@ -3757,108 +3537,6 @@ class Client(OpenApiClient):
|
|
3757
3537
|
headers = {}
|
3758
3538
|
return await self.put_provision_config_with_options_async(function_name, request, headers, runtime)
|
3759
3539
|
|
3760
|
-
def tag_resource_with_options(
|
3761
|
-
self,
|
3762
|
-
request: fc20230330_models.TagResourceRequest,
|
3763
|
-
headers: Dict[str, str],
|
3764
|
-
runtime: util_models.RuntimeOptions,
|
3765
|
-
) -> fc20230330_models.TagResourceResponse:
|
3766
|
-
"""
|
3767
|
-
@deprecated
|
3768
|
-
|
3769
|
-
@param request: TagResourceRequest
|
3770
|
-
@param headers: map
|
3771
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3772
|
-
@return: TagResourceResponse
|
3773
|
-
Deprecated
|
3774
|
-
"""
|
3775
|
-
UtilClient.validate_model(request)
|
3776
|
-
req = open_api_models.OpenApiRequest(
|
3777
|
-
headers=headers,
|
3778
|
-
body=OpenApiUtilClient.parse_to_map(request.body)
|
3779
|
-
)
|
3780
|
-
params = open_api_models.Params(
|
3781
|
-
action='TagResource',
|
3782
|
-
version='2023-03-30',
|
3783
|
-
protocol='HTTPS',
|
3784
|
-
pathname=f'/2023-03-30/tag',
|
3785
|
-
method='POST',
|
3786
|
-
auth_type='AK',
|
3787
|
-
style='ROA',
|
3788
|
-
req_body_type='json',
|
3789
|
-
body_type='none'
|
3790
|
-
)
|
3791
|
-
return TeaCore.from_map(
|
3792
|
-
fc20230330_models.TagResourceResponse(),
|
3793
|
-
self.call_api(params, req, runtime)
|
3794
|
-
)
|
3795
|
-
|
3796
|
-
async def tag_resource_with_options_async(
|
3797
|
-
self,
|
3798
|
-
request: fc20230330_models.TagResourceRequest,
|
3799
|
-
headers: Dict[str, str],
|
3800
|
-
runtime: util_models.RuntimeOptions,
|
3801
|
-
) -> fc20230330_models.TagResourceResponse:
|
3802
|
-
"""
|
3803
|
-
@deprecated
|
3804
|
-
|
3805
|
-
@param request: TagResourceRequest
|
3806
|
-
@param headers: map
|
3807
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3808
|
-
@return: TagResourceResponse
|
3809
|
-
Deprecated
|
3810
|
-
"""
|
3811
|
-
UtilClient.validate_model(request)
|
3812
|
-
req = open_api_models.OpenApiRequest(
|
3813
|
-
headers=headers,
|
3814
|
-
body=OpenApiUtilClient.parse_to_map(request.body)
|
3815
|
-
)
|
3816
|
-
params = open_api_models.Params(
|
3817
|
-
action='TagResource',
|
3818
|
-
version='2023-03-30',
|
3819
|
-
protocol='HTTPS',
|
3820
|
-
pathname=f'/2023-03-30/tag',
|
3821
|
-
method='POST',
|
3822
|
-
auth_type='AK',
|
3823
|
-
style='ROA',
|
3824
|
-
req_body_type='json',
|
3825
|
-
body_type='none'
|
3826
|
-
)
|
3827
|
-
return TeaCore.from_map(
|
3828
|
-
fc20230330_models.TagResourceResponse(),
|
3829
|
-
await self.call_api_async(params, req, runtime)
|
3830
|
-
)
|
3831
|
-
|
3832
|
-
def tag_resource(
|
3833
|
-
self,
|
3834
|
-
request: fc20230330_models.TagResourceRequest,
|
3835
|
-
) -> fc20230330_models.TagResourceResponse:
|
3836
|
-
"""
|
3837
|
-
@deprecated
|
3838
|
-
|
3839
|
-
@param request: TagResourceRequest
|
3840
|
-
@return: TagResourceResponse
|
3841
|
-
Deprecated
|
3842
|
-
"""
|
3843
|
-
runtime = util_models.RuntimeOptions()
|
3844
|
-
headers = {}
|
3845
|
-
return self.tag_resource_with_options(request, headers, runtime)
|
3846
|
-
|
3847
|
-
async def tag_resource_async(
|
3848
|
-
self,
|
3849
|
-
request: fc20230330_models.TagResourceRequest,
|
3850
|
-
) -> fc20230330_models.TagResourceResponse:
|
3851
|
-
"""
|
3852
|
-
@deprecated
|
3853
|
-
|
3854
|
-
@param request: TagResourceRequest
|
3855
|
-
@return: TagResourceResponse
|
3856
|
-
Deprecated
|
3857
|
-
"""
|
3858
|
-
runtime = util_models.RuntimeOptions()
|
3859
|
-
headers = {}
|
3860
|
-
return await self.tag_resource_with_options_async(request, headers, runtime)
|
3861
|
-
|
3862
3540
|
def tag_resources_with_options(
|
3863
3541
|
self,
|
3864
3542
|
request: fc20230330_models.TagResourcesRequest,
|
@@ -3929,122 +3607,6 @@ class Client(OpenApiClient):
|
|
3929
3607
|
headers = {}
|
3930
3608
|
return await self.tag_resources_with_options_async(request, headers, runtime)
|
3931
3609
|
|
3932
|
-
def untag_resource_with_options(
|
3933
|
-
self,
|
3934
|
-
request: fc20230330_models.UntagResourceRequest,
|
3935
|
-
headers: Dict[str, str],
|
3936
|
-
runtime: util_models.RuntimeOptions,
|
3937
|
-
) -> fc20230330_models.UntagResourceResponse:
|
3938
|
-
"""
|
3939
|
-
@deprecated
|
3940
|
-
|
3941
|
-
@param request: UntagResourceRequest
|
3942
|
-
@param headers: map
|
3943
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3944
|
-
@return: UntagResourceResponse
|
3945
|
-
Deprecated
|
3946
|
-
"""
|
3947
|
-
UtilClient.validate_model(request)
|
3948
|
-
query = {}
|
3949
|
-
if not UtilClient.is_unset(request.all):
|
3950
|
-
query['all'] = request.all
|
3951
|
-
if not UtilClient.is_unset(request.arn):
|
3952
|
-
query['arn'] = request.arn
|
3953
|
-
if not UtilClient.is_unset(request.tag_keys):
|
3954
|
-
query['tagKeys'] = request.tag_keys
|
3955
|
-
req = open_api_models.OpenApiRequest(
|
3956
|
-
headers=headers,
|
3957
|
-
query=OpenApiUtilClient.query(query)
|
3958
|
-
)
|
3959
|
-
params = open_api_models.Params(
|
3960
|
-
action='UntagResource',
|
3961
|
-
version='2023-03-30',
|
3962
|
-
protocol='HTTPS',
|
3963
|
-
pathname=f'/2023-03-30/tag',
|
3964
|
-
method='DELETE',
|
3965
|
-
auth_type='AK',
|
3966
|
-
style='ROA',
|
3967
|
-
req_body_type='json',
|
3968
|
-
body_type='none'
|
3969
|
-
)
|
3970
|
-
return TeaCore.from_map(
|
3971
|
-
fc20230330_models.UntagResourceResponse(),
|
3972
|
-
self.call_api(params, req, runtime)
|
3973
|
-
)
|
3974
|
-
|
3975
|
-
async def untag_resource_with_options_async(
|
3976
|
-
self,
|
3977
|
-
request: fc20230330_models.UntagResourceRequest,
|
3978
|
-
headers: Dict[str, str],
|
3979
|
-
runtime: util_models.RuntimeOptions,
|
3980
|
-
) -> fc20230330_models.UntagResourceResponse:
|
3981
|
-
"""
|
3982
|
-
@deprecated
|
3983
|
-
|
3984
|
-
@param request: UntagResourceRequest
|
3985
|
-
@param headers: map
|
3986
|
-
@param runtime: runtime options for this request RuntimeOptions
|
3987
|
-
@return: UntagResourceResponse
|
3988
|
-
Deprecated
|
3989
|
-
"""
|
3990
|
-
UtilClient.validate_model(request)
|
3991
|
-
query = {}
|
3992
|
-
if not UtilClient.is_unset(request.all):
|
3993
|
-
query['all'] = request.all
|
3994
|
-
if not UtilClient.is_unset(request.arn):
|
3995
|
-
query['arn'] = request.arn
|
3996
|
-
if not UtilClient.is_unset(request.tag_keys):
|
3997
|
-
query['tagKeys'] = request.tag_keys
|
3998
|
-
req = open_api_models.OpenApiRequest(
|
3999
|
-
headers=headers,
|
4000
|
-
query=OpenApiUtilClient.query(query)
|
4001
|
-
)
|
4002
|
-
params = open_api_models.Params(
|
4003
|
-
action='UntagResource',
|
4004
|
-
version='2023-03-30',
|
4005
|
-
protocol='HTTPS',
|
4006
|
-
pathname=f'/2023-03-30/tag',
|
4007
|
-
method='DELETE',
|
4008
|
-
auth_type='AK',
|
4009
|
-
style='ROA',
|
4010
|
-
req_body_type='json',
|
4011
|
-
body_type='none'
|
4012
|
-
)
|
4013
|
-
return TeaCore.from_map(
|
4014
|
-
fc20230330_models.UntagResourceResponse(),
|
4015
|
-
await self.call_api_async(params, req, runtime)
|
4016
|
-
)
|
4017
|
-
|
4018
|
-
def untag_resource(
|
4019
|
-
self,
|
4020
|
-
request: fc20230330_models.UntagResourceRequest,
|
4021
|
-
) -> fc20230330_models.UntagResourceResponse:
|
4022
|
-
"""
|
4023
|
-
@deprecated
|
4024
|
-
|
4025
|
-
@param request: UntagResourceRequest
|
4026
|
-
@return: UntagResourceResponse
|
4027
|
-
Deprecated
|
4028
|
-
"""
|
4029
|
-
runtime = util_models.RuntimeOptions()
|
4030
|
-
headers = {}
|
4031
|
-
return self.untag_resource_with_options(request, headers, runtime)
|
4032
|
-
|
4033
|
-
async def untag_resource_async(
|
4034
|
-
self,
|
4035
|
-
request: fc20230330_models.UntagResourceRequest,
|
4036
|
-
) -> fc20230330_models.UntagResourceResponse:
|
4037
|
-
"""
|
4038
|
-
@deprecated
|
4039
|
-
|
4040
|
-
@param request: UntagResourceRequest
|
4041
|
-
@return: UntagResourceResponse
|
4042
|
-
Deprecated
|
4043
|
-
"""
|
4044
|
-
runtime = util_models.RuntimeOptions()
|
4045
|
-
headers = {}
|
4046
|
-
return await self.untag_resource_with_options_async(request, headers, runtime)
|
4047
|
-
|
4048
3610
|
def untag_resources_with_options(
|
4049
3611
|
self,
|
4050
3612
|
tmp_req: fc20230330_models.UntagResourcesRequest,
|