alibabacloud-fc20230330 3.0.3__py3-none-any.whl → 3.1.0__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.
- alibabacloud_fc20230330/__init__.py +1 -1
- alibabacloud_fc20230330/client.py +274 -0
- alibabacloud_fc20230330/models.py +371 -0
- {alibabacloud_fc20230330-3.0.3.dist-info → alibabacloud_fc20230330-3.1.0.dist-info}/METADATA +1 -1
- alibabacloud_fc20230330-3.1.0.dist-info/RECORD +8 -0
- alibabacloud_fc20230330-3.0.3.dist-info/RECORD +0 -8
- {alibabacloud_fc20230330-3.0.3.dist-info → alibabacloud_fc20230330-3.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_fc20230330-3.0.3.dist-info → alibabacloud_fc20230330-3.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_fc20230330-3.0.3.dist-info → alibabacloud_fc20230330-3.1.0.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0
|
1
|
+
__version__ = '3.1.0'
|
@@ -2991,6 +2991,110 @@ class Client(OpenApiClient):
|
|
2991
2991
|
headers = {}
|
2992
2992
|
return await self.list_provision_configs_with_options_async(request, headers, runtime)
|
2993
2993
|
|
2994
|
+
def list_tag_resources_with_options(
|
2995
|
+
self,
|
2996
|
+
tmp_req: fc20230330_models.ListTagResourcesRequest,
|
2997
|
+
headers: Dict[str, str],
|
2998
|
+
runtime: util_models.RuntimeOptions,
|
2999
|
+
) -> fc20230330_models.ListTagResourcesResponse:
|
3000
|
+
UtilClient.validate_model(tmp_req)
|
3001
|
+
request = fc20230330_models.ListTagResourcesShrinkRequest()
|
3002
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
3003
|
+
if not UtilClient.is_unset(tmp_req.resource_id):
|
3004
|
+
request.resource_id_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.resource_id, 'ResourceId', 'json')
|
3005
|
+
if not UtilClient.is_unset(tmp_req.tag):
|
3006
|
+
request.tag_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tag, 'Tag', 'json')
|
3007
|
+
query = {}
|
3008
|
+
if not UtilClient.is_unset(request.limit):
|
3009
|
+
query['Limit'] = request.limit
|
3010
|
+
if not UtilClient.is_unset(request.next_token):
|
3011
|
+
query['NextToken'] = request.next_token
|
3012
|
+
if not UtilClient.is_unset(request.resource_id_shrink):
|
3013
|
+
query['ResourceId'] = request.resource_id_shrink
|
3014
|
+
if not UtilClient.is_unset(request.resource_type):
|
3015
|
+
query['ResourceType'] = request.resource_type
|
3016
|
+
if not UtilClient.is_unset(request.tag_shrink):
|
3017
|
+
query['Tag'] = request.tag_shrink
|
3018
|
+
req = open_api_models.OpenApiRequest(
|
3019
|
+
headers=headers,
|
3020
|
+
query=OpenApiUtilClient.query(query)
|
3021
|
+
)
|
3022
|
+
params = open_api_models.Params(
|
3023
|
+
action='ListTagResources',
|
3024
|
+
version='2023-03-30',
|
3025
|
+
protocol='HTTPS',
|
3026
|
+
pathname=f'/2023-03-30/tags-v2',
|
3027
|
+
method='GET',
|
3028
|
+
auth_type='AK',
|
3029
|
+
style='ROA',
|
3030
|
+
req_body_type='json',
|
3031
|
+
body_type='json'
|
3032
|
+
)
|
3033
|
+
return TeaCore.from_map(
|
3034
|
+
fc20230330_models.ListTagResourcesResponse(),
|
3035
|
+
self.call_api(params, req, runtime)
|
3036
|
+
)
|
3037
|
+
|
3038
|
+
async def list_tag_resources_with_options_async(
|
3039
|
+
self,
|
3040
|
+
tmp_req: fc20230330_models.ListTagResourcesRequest,
|
3041
|
+
headers: Dict[str, str],
|
3042
|
+
runtime: util_models.RuntimeOptions,
|
3043
|
+
) -> fc20230330_models.ListTagResourcesResponse:
|
3044
|
+
UtilClient.validate_model(tmp_req)
|
3045
|
+
request = fc20230330_models.ListTagResourcesShrinkRequest()
|
3046
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
3047
|
+
if not UtilClient.is_unset(tmp_req.resource_id):
|
3048
|
+
request.resource_id_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.resource_id, 'ResourceId', 'json')
|
3049
|
+
if not UtilClient.is_unset(tmp_req.tag):
|
3050
|
+
request.tag_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tag, 'Tag', 'json')
|
3051
|
+
query = {}
|
3052
|
+
if not UtilClient.is_unset(request.limit):
|
3053
|
+
query['Limit'] = request.limit
|
3054
|
+
if not UtilClient.is_unset(request.next_token):
|
3055
|
+
query['NextToken'] = request.next_token
|
3056
|
+
if not UtilClient.is_unset(request.resource_id_shrink):
|
3057
|
+
query['ResourceId'] = request.resource_id_shrink
|
3058
|
+
if not UtilClient.is_unset(request.resource_type):
|
3059
|
+
query['ResourceType'] = request.resource_type
|
3060
|
+
if not UtilClient.is_unset(request.tag_shrink):
|
3061
|
+
query['Tag'] = request.tag_shrink
|
3062
|
+
req = open_api_models.OpenApiRequest(
|
3063
|
+
headers=headers,
|
3064
|
+
query=OpenApiUtilClient.query(query)
|
3065
|
+
)
|
3066
|
+
params = open_api_models.Params(
|
3067
|
+
action='ListTagResources',
|
3068
|
+
version='2023-03-30',
|
3069
|
+
protocol='HTTPS',
|
3070
|
+
pathname=f'/2023-03-30/tags-v2',
|
3071
|
+
method='GET',
|
3072
|
+
auth_type='AK',
|
3073
|
+
style='ROA',
|
3074
|
+
req_body_type='json',
|
3075
|
+
body_type='json'
|
3076
|
+
)
|
3077
|
+
return TeaCore.from_map(
|
3078
|
+
fc20230330_models.ListTagResourcesResponse(),
|
3079
|
+
await self.call_api_async(params, req, runtime)
|
3080
|
+
)
|
3081
|
+
|
3082
|
+
def list_tag_resources(
|
3083
|
+
self,
|
3084
|
+
request: fc20230330_models.ListTagResourcesRequest,
|
3085
|
+
) -> fc20230330_models.ListTagResourcesResponse:
|
3086
|
+
runtime = util_models.RuntimeOptions()
|
3087
|
+
headers = {}
|
3088
|
+
return self.list_tag_resources_with_options(request, headers, runtime)
|
3089
|
+
|
3090
|
+
async def list_tag_resources_async(
|
3091
|
+
self,
|
3092
|
+
request: fc20230330_models.ListTagResourcesRequest,
|
3093
|
+
) -> fc20230330_models.ListTagResourcesResponse:
|
3094
|
+
runtime = util_models.RuntimeOptions()
|
3095
|
+
headers = {}
|
3096
|
+
return await self.list_tag_resources_with_options_async(request, headers, runtime)
|
3097
|
+
|
2994
3098
|
def list_tagged_resources_with_options(
|
2995
3099
|
self,
|
2996
3100
|
request: fc20230330_models.ListTaggedResourcesRequest,
|
@@ -3755,6 +3859,76 @@ class Client(OpenApiClient):
|
|
3755
3859
|
headers = {}
|
3756
3860
|
return await self.tag_resource_with_options_async(request, headers, runtime)
|
3757
3861
|
|
3862
|
+
def tag_resources_with_options(
|
3863
|
+
self,
|
3864
|
+
request: fc20230330_models.TagResourcesRequest,
|
3865
|
+
headers: Dict[str, str],
|
3866
|
+
runtime: util_models.RuntimeOptions,
|
3867
|
+
) -> fc20230330_models.TagResourcesResponse:
|
3868
|
+
UtilClient.validate_model(request)
|
3869
|
+
req = open_api_models.OpenApiRequest(
|
3870
|
+
headers=headers,
|
3871
|
+
body=OpenApiUtilClient.parse_to_map(request.body)
|
3872
|
+
)
|
3873
|
+
params = open_api_models.Params(
|
3874
|
+
action='TagResources',
|
3875
|
+
version='2023-03-30',
|
3876
|
+
protocol='HTTPS',
|
3877
|
+
pathname=f'/2023-03-30/tags-v2',
|
3878
|
+
method='POST',
|
3879
|
+
auth_type='AK',
|
3880
|
+
style='ROA',
|
3881
|
+
req_body_type='json',
|
3882
|
+
body_type='none'
|
3883
|
+
)
|
3884
|
+
return TeaCore.from_map(
|
3885
|
+
fc20230330_models.TagResourcesResponse(),
|
3886
|
+
self.call_api(params, req, runtime)
|
3887
|
+
)
|
3888
|
+
|
3889
|
+
async def tag_resources_with_options_async(
|
3890
|
+
self,
|
3891
|
+
request: fc20230330_models.TagResourcesRequest,
|
3892
|
+
headers: Dict[str, str],
|
3893
|
+
runtime: util_models.RuntimeOptions,
|
3894
|
+
) -> fc20230330_models.TagResourcesResponse:
|
3895
|
+
UtilClient.validate_model(request)
|
3896
|
+
req = open_api_models.OpenApiRequest(
|
3897
|
+
headers=headers,
|
3898
|
+
body=OpenApiUtilClient.parse_to_map(request.body)
|
3899
|
+
)
|
3900
|
+
params = open_api_models.Params(
|
3901
|
+
action='TagResources',
|
3902
|
+
version='2023-03-30',
|
3903
|
+
protocol='HTTPS',
|
3904
|
+
pathname=f'/2023-03-30/tags-v2',
|
3905
|
+
method='POST',
|
3906
|
+
auth_type='AK',
|
3907
|
+
style='ROA',
|
3908
|
+
req_body_type='json',
|
3909
|
+
body_type='none'
|
3910
|
+
)
|
3911
|
+
return TeaCore.from_map(
|
3912
|
+
fc20230330_models.TagResourcesResponse(),
|
3913
|
+
await self.call_api_async(params, req, runtime)
|
3914
|
+
)
|
3915
|
+
|
3916
|
+
def tag_resources(
|
3917
|
+
self,
|
3918
|
+
request: fc20230330_models.TagResourcesRequest,
|
3919
|
+
) -> fc20230330_models.TagResourcesResponse:
|
3920
|
+
runtime = util_models.RuntimeOptions()
|
3921
|
+
headers = {}
|
3922
|
+
return self.tag_resources_with_options(request, headers, runtime)
|
3923
|
+
|
3924
|
+
async def tag_resources_async(
|
3925
|
+
self,
|
3926
|
+
request: fc20230330_models.TagResourcesRequest,
|
3927
|
+
) -> fc20230330_models.TagResourcesResponse:
|
3928
|
+
runtime = util_models.RuntimeOptions()
|
3929
|
+
headers = {}
|
3930
|
+
return await self.tag_resources_with_options_async(request, headers, runtime)
|
3931
|
+
|
3758
3932
|
def untag_resource_with_options(
|
3759
3933
|
self,
|
3760
3934
|
request: fc20230330_models.UntagResourceRequest,
|
@@ -3871,6 +4045,106 @@ class Client(OpenApiClient):
|
|
3871
4045
|
headers = {}
|
3872
4046
|
return await self.untag_resource_with_options_async(request, headers, runtime)
|
3873
4047
|
|
4048
|
+
def untag_resources_with_options(
|
4049
|
+
self,
|
4050
|
+
tmp_req: fc20230330_models.UntagResourcesRequest,
|
4051
|
+
headers: Dict[str, str],
|
4052
|
+
runtime: util_models.RuntimeOptions,
|
4053
|
+
) -> fc20230330_models.UntagResourcesResponse:
|
4054
|
+
UtilClient.validate_model(tmp_req)
|
4055
|
+
request = fc20230330_models.UntagResourcesShrinkRequest()
|
4056
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
4057
|
+
if not UtilClient.is_unset(tmp_req.resource_id):
|
4058
|
+
request.resource_id_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.resource_id, 'ResourceId', 'json')
|
4059
|
+
if not UtilClient.is_unset(tmp_req.tag_key):
|
4060
|
+
request.tag_key_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tag_key, 'TagKey', 'json')
|
4061
|
+
query = {}
|
4062
|
+
if not UtilClient.is_unset(request.all):
|
4063
|
+
query['All'] = request.all
|
4064
|
+
if not UtilClient.is_unset(request.resource_id_shrink):
|
4065
|
+
query['ResourceId'] = request.resource_id_shrink
|
4066
|
+
if not UtilClient.is_unset(request.resource_type):
|
4067
|
+
query['ResourceType'] = request.resource_type
|
4068
|
+
if not UtilClient.is_unset(request.tag_key_shrink):
|
4069
|
+
query['TagKey'] = request.tag_key_shrink
|
4070
|
+
req = open_api_models.OpenApiRequest(
|
4071
|
+
headers=headers,
|
4072
|
+
query=OpenApiUtilClient.query(query)
|
4073
|
+
)
|
4074
|
+
params = open_api_models.Params(
|
4075
|
+
action='UntagResources',
|
4076
|
+
version='2023-03-30',
|
4077
|
+
protocol='HTTPS',
|
4078
|
+
pathname=f'/2023-03-30/tags-v2',
|
4079
|
+
method='DELETE',
|
4080
|
+
auth_type='AK',
|
4081
|
+
style='ROA',
|
4082
|
+
req_body_type='json',
|
4083
|
+
body_type='none'
|
4084
|
+
)
|
4085
|
+
return TeaCore.from_map(
|
4086
|
+
fc20230330_models.UntagResourcesResponse(),
|
4087
|
+
self.call_api(params, req, runtime)
|
4088
|
+
)
|
4089
|
+
|
4090
|
+
async def untag_resources_with_options_async(
|
4091
|
+
self,
|
4092
|
+
tmp_req: fc20230330_models.UntagResourcesRequest,
|
4093
|
+
headers: Dict[str, str],
|
4094
|
+
runtime: util_models.RuntimeOptions,
|
4095
|
+
) -> fc20230330_models.UntagResourcesResponse:
|
4096
|
+
UtilClient.validate_model(tmp_req)
|
4097
|
+
request = fc20230330_models.UntagResourcesShrinkRequest()
|
4098
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
4099
|
+
if not UtilClient.is_unset(tmp_req.resource_id):
|
4100
|
+
request.resource_id_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.resource_id, 'ResourceId', 'json')
|
4101
|
+
if not UtilClient.is_unset(tmp_req.tag_key):
|
4102
|
+
request.tag_key_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tag_key, 'TagKey', 'json')
|
4103
|
+
query = {}
|
4104
|
+
if not UtilClient.is_unset(request.all):
|
4105
|
+
query['All'] = request.all
|
4106
|
+
if not UtilClient.is_unset(request.resource_id_shrink):
|
4107
|
+
query['ResourceId'] = request.resource_id_shrink
|
4108
|
+
if not UtilClient.is_unset(request.resource_type):
|
4109
|
+
query['ResourceType'] = request.resource_type
|
4110
|
+
if not UtilClient.is_unset(request.tag_key_shrink):
|
4111
|
+
query['TagKey'] = request.tag_key_shrink
|
4112
|
+
req = open_api_models.OpenApiRequest(
|
4113
|
+
headers=headers,
|
4114
|
+
query=OpenApiUtilClient.query(query)
|
4115
|
+
)
|
4116
|
+
params = open_api_models.Params(
|
4117
|
+
action='UntagResources',
|
4118
|
+
version='2023-03-30',
|
4119
|
+
protocol='HTTPS',
|
4120
|
+
pathname=f'/2023-03-30/tags-v2',
|
4121
|
+
method='DELETE',
|
4122
|
+
auth_type='AK',
|
4123
|
+
style='ROA',
|
4124
|
+
req_body_type='json',
|
4125
|
+
body_type='none'
|
4126
|
+
)
|
4127
|
+
return TeaCore.from_map(
|
4128
|
+
fc20230330_models.UntagResourcesResponse(),
|
4129
|
+
await self.call_api_async(params, req, runtime)
|
4130
|
+
)
|
4131
|
+
|
4132
|
+
def untag_resources(
|
4133
|
+
self,
|
4134
|
+
request: fc20230330_models.UntagResourcesRequest,
|
4135
|
+
) -> fc20230330_models.UntagResourcesResponse:
|
4136
|
+
runtime = util_models.RuntimeOptions()
|
4137
|
+
headers = {}
|
4138
|
+
return self.untag_resources_with_options(request, headers, runtime)
|
4139
|
+
|
4140
|
+
async def untag_resources_async(
|
4141
|
+
self,
|
4142
|
+
request: fc20230330_models.UntagResourcesRequest,
|
4143
|
+
) -> fc20230330_models.UntagResourcesResponse:
|
4144
|
+
runtime = util_models.RuntimeOptions()
|
4145
|
+
headers = {}
|
4146
|
+
return await self.untag_resources_with_options_async(request, headers, runtime)
|
4147
|
+
|
3874
4148
|
def update_alias_with_options(
|
3875
4149
|
self,
|
3876
4150
|
function_name: str,
|
@@ -6413,6 +6413,192 @@ class ListProvisionConfigsResponse(TeaModel):
|
|
6413
6413
|
return self
|
6414
6414
|
|
6415
6415
|
|
6416
|
+
class ListTagResourcesRequestTag(TeaModel):
|
6417
|
+
def __init__(
|
6418
|
+
self,
|
6419
|
+
key: str = None,
|
6420
|
+
value: str = None,
|
6421
|
+
):
|
6422
|
+
# 标签名
|
6423
|
+
self.key = key
|
6424
|
+
# 标签值
|
6425
|
+
self.value = value
|
6426
|
+
|
6427
|
+
def validate(self):
|
6428
|
+
pass
|
6429
|
+
|
6430
|
+
def to_map(self):
|
6431
|
+
_map = super().to_map()
|
6432
|
+
if _map is not None:
|
6433
|
+
return _map
|
6434
|
+
|
6435
|
+
result = dict()
|
6436
|
+
if self.key is not None:
|
6437
|
+
result['Key'] = self.key
|
6438
|
+
if self.value is not None:
|
6439
|
+
result['Value'] = self.value
|
6440
|
+
return result
|
6441
|
+
|
6442
|
+
def from_map(self, m: dict = None):
|
6443
|
+
m = m or dict()
|
6444
|
+
if m.get('Key') is not None:
|
6445
|
+
self.key = m.get('Key')
|
6446
|
+
if m.get('Value') is not None:
|
6447
|
+
self.value = m.get('Value')
|
6448
|
+
return self
|
6449
|
+
|
6450
|
+
|
6451
|
+
class ListTagResourcesRequest(TeaModel):
|
6452
|
+
def __init__(
|
6453
|
+
self,
|
6454
|
+
limit: int = None,
|
6455
|
+
next_token: str = None,
|
6456
|
+
resource_id: List[str] = None,
|
6457
|
+
resource_type: str = None,
|
6458
|
+
tag: List[ListTagResourcesRequestTag] = None,
|
6459
|
+
):
|
6460
|
+
self.limit = limit
|
6461
|
+
self.next_token = next_token
|
6462
|
+
self.resource_id = resource_id
|
6463
|
+
self.resource_type = resource_type
|
6464
|
+
self.tag = tag
|
6465
|
+
|
6466
|
+
def validate(self):
|
6467
|
+
if self.tag:
|
6468
|
+
for k in self.tag:
|
6469
|
+
if k:
|
6470
|
+
k.validate()
|
6471
|
+
|
6472
|
+
def to_map(self):
|
6473
|
+
_map = super().to_map()
|
6474
|
+
if _map is not None:
|
6475
|
+
return _map
|
6476
|
+
|
6477
|
+
result = dict()
|
6478
|
+
if self.limit is not None:
|
6479
|
+
result['Limit'] = self.limit
|
6480
|
+
if self.next_token is not None:
|
6481
|
+
result['NextToken'] = self.next_token
|
6482
|
+
if self.resource_id is not None:
|
6483
|
+
result['ResourceId'] = self.resource_id
|
6484
|
+
if self.resource_type is not None:
|
6485
|
+
result['ResourceType'] = self.resource_type
|
6486
|
+
result['Tag'] = []
|
6487
|
+
if self.tag is not None:
|
6488
|
+
for k in self.tag:
|
6489
|
+
result['Tag'].append(k.to_map() if k else None)
|
6490
|
+
return result
|
6491
|
+
|
6492
|
+
def from_map(self, m: dict = None):
|
6493
|
+
m = m or dict()
|
6494
|
+
if m.get('Limit') is not None:
|
6495
|
+
self.limit = m.get('Limit')
|
6496
|
+
if m.get('NextToken') is not None:
|
6497
|
+
self.next_token = m.get('NextToken')
|
6498
|
+
if m.get('ResourceId') is not None:
|
6499
|
+
self.resource_id = m.get('ResourceId')
|
6500
|
+
if m.get('ResourceType') is not None:
|
6501
|
+
self.resource_type = m.get('ResourceType')
|
6502
|
+
self.tag = []
|
6503
|
+
if m.get('Tag') is not None:
|
6504
|
+
for k in m.get('Tag'):
|
6505
|
+
temp_model = ListTagResourcesRequestTag()
|
6506
|
+
self.tag.append(temp_model.from_map(k))
|
6507
|
+
return self
|
6508
|
+
|
6509
|
+
|
6510
|
+
class ListTagResourcesShrinkRequest(TeaModel):
|
6511
|
+
def __init__(
|
6512
|
+
self,
|
6513
|
+
limit: int = None,
|
6514
|
+
next_token: str = None,
|
6515
|
+
resource_id_shrink: str = None,
|
6516
|
+
resource_type: str = None,
|
6517
|
+
tag_shrink: str = None,
|
6518
|
+
):
|
6519
|
+
self.limit = limit
|
6520
|
+
self.next_token = next_token
|
6521
|
+
self.resource_id_shrink = resource_id_shrink
|
6522
|
+
self.resource_type = resource_type
|
6523
|
+
self.tag_shrink = tag_shrink
|
6524
|
+
|
6525
|
+
def validate(self):
|
6526
|
+
pass
|
6527
|
+
|
6528
|
+
def to_map(self):
|
6529
|
+
_map = super().to_map()
|
6530
|
+
if _map is not None:
|
6531
|
+
return _map
|
6532
|
+
|
6533
|
+
result = dict()
|
6534
|
+
if self.limit is not None:
|
6535
|
+
result['Limit'] = self.limit
|
6536
|
+
if self.next_token is not None:
|
6537
|
+
result['NextToken'] = self.next_token
|
6538
|
+
if self.resource_id_shrink is not None:
|
6539
|
+
result['ResourceId'] = self.resource_id_shrink
|
6540
|
+
if self.resource_type is not None:
|
6541
|
+
result['ResourceType'] = self.resource_type
|
6542
|
+
if self.tag_shrink is not None:
|
6543
|
+
result['Tag'] = self.tag_shrink
|
6544
|
+
return result
|
6545
|
+
|
6546
|
+
def from_map(self, m: dict = None):
|
6547
|
+
m = m or dict()
|
6548
|
+
if m.get('Limit') is not None:
|
6549
|
+
self.limit = m.get('Limit')
|
6550
|
+
if m.get('NextToken') is not None:
|
6551
|
+
self.next_token = m.get('NextToken')
|
6552
|
+
if m.get('ResourceId') is not None:
|
6553
|
+
self.resource_id_shrink = m.get('ResourceId')
|
6554
|
+
if m.get('ResourceType') is not None:
|
6555
|
+
self.resource_type = m.get('ResourceType')
|
6556
|
+
if m.get('Tag') is not None:
|
6557
|
+
self.tag_shrink = m.get('Tag')
|
6558
|
+
return self
|
6559
|
+
|
6560
|
+
|
6561
|
+
class ListTagResourcesResponse(TeaModel):
|
6562
|
+
def __init__(
|
6563
|
+
self,
|
6564
|
+
headers: Dict[str, str] = None,
|
6565
|
+
status_code: int = None,
|
6566
|
+
body: ListTagResourcesOutput = None,
|
6567
|
+
):
|
6568
|
+
self.headers = headers
|
6569
|
+
self.status_code = status_code
|
6570
|
+
self.body = body
|
6571
|
+
|
6572
|
+
def validate(self):
|
6573
|
+
if self.body:
|
6574
|
+
self.body.validate()
|
6575
|
+
|
6576
|
+
def to_map(self):
|
6577
|
+
_map = super().to_map()
|
6578
|
+
if _map is not None:
|
6579
|
+
return _map
|
6580
|
+
|
6581
|
+
result = dict()
|
6582
|
+
if self.headers is not None:
|
6583
|
+
result['headers'] = self.headers
|
6584
|
+
if self.status_code is not None:
|
6585
|
+
result['statusCode'] = self.status_code
|
6586
|
+
if self.body is not None:
|
6587
|
+
result['body'] = self.body.to_map()
|
6588
|
+
return result
|
6589
|
+
|
6590
|
+
def from_map(self, m: dict = None):
|
6591
|
+
m = m or dict()
|
6592
|
+
if m.get('headers') is not None:
|
6593
|
+
self.headers = m.get('headers')
|
6594
|
+
if m.get('statusCode') is not None:
|
6595
|
+
self.status_code = m.get('statusCode')
|
6596
|
+
if m.get('body') is not None:
|
6597
|
+
temp_model = ListTagResourcesOutput()
|
6598
|
+
self.body = temp_model.from_map(m['body'])
|
6599
|
+
return self
|
6600
|
+
|
6601
|
+
|
6416
6602
|
class ListTaggedResourcesRequest(TeaModel):
|
6417
6603
|
def __init__(
|
6418
6604
|
self,
|
@@ -7034,6 +7220,68 @@ class TagResourceResponse(TeaModel):
|
|
7034
7220
|
return self
|
7035
7221
|
|
7036
7222
|
|
7223
|
+
class TagResourcesRequest(TeaModel):
|
7224
|
+
def __init__(
|
7225
|
+
self,
|
7226
|
+
body: TagResourcesInput = None,
|
7227
|
+
):
|
7228
|
+
self.body = body
|
7229
|
+
|
7230
|
+
def validate(self):
|
7231
|
+
if self.body:
|
7232
|
+
self.body.validate()
|
7233
|
+
|
7234
|
+
def to_map(self):
|
7235
|
+
_map = super().to_map()
|
7236
|
+
if _map is not None:
|
7237
|
+
return _map
|
7238
|
+
|
7239
|
+
result = dict()
|
7240
|
+
if self.body is not None:
|
7241
|
+
result['body'] = self.body.to_map()
|
7242
|
+
return result
|
7243
|
+
|
7244
|
+
def from_map(self, m: dict = None):
|
7245
|
+
m = m or dict()
|
7246
|
+
if m.get('body') is not None:
|
7247
|
+
temp_model = TagResourcesInput()
|
7248
|
+
self.body = temp_model.from_map(m['body'])
|
7249
|
+
return self
|
7250
|
+
|
7251
|
+
|
7252
|
+
class TagResourcesResponse(TeaModel):
|
7253
|
+
def __init__(
|
7254
|
+
self,
|
7255
|
+
headers: Dict[str, str] = None,
|
7256
|
+
status_code: int = None,
|
7257
|
+
):
|
7258
|
+
self.headers = headers
|
7259
|
+
self.status_code = status_code
|
7260
|
+
|
7261
|
+
def validate(self):
|
7262
|
+
pass
|
7263
|
+
|
7264
|
+
def to_map(self):
|
7265
|
+
_map = super().to_map()
|
7266
|
+
if _map is not None:
|
7267
|
+
return _map
|
7268
|
+
|
7269
|
+
result = dict()
|
7270
|
+
if self.headers is not None:
|
7271
|
+
result['headers'] = self.headers
|
7272
|
+
if self.status_code is not None:
|
7273
|
+
result['statusCode'] = self.status_code
|
7274
|
+
return result
|
7275
|
+
|
7276
|
+
def from_map(self, m: dict = None):
|
7277
|
+
m = m or dict()
|
7278
|
+
if m.get('headers') is not None:
|
7279
|
+
self.headers = m.get('headers')
|
7280
|
+
if m.get('statusCode') is not None:
|
7281
|
+
self.status_code = m.get('statusCode')
|
7282
|
+
return self
|
7283
|
+
|
7284
|
+
|
7037
7285
|
class UntagResourceRequest(TeaModel):
|
7038
7286
|
def __init__(
|
7039
7287
|
self,
|
@@ -7109,6 +7357,129 @@ class UntagResourceResponse(TeaModel):
|
|
7109
7357
|
return self
|
7110
7358
|
|
7111
7359
|
|
7360
|
+
class UntagResourcesRequest(TeaModel):
|
7361
|
+
def __init__(
|
7362
|
+
self,
|
7363
|
+
all: bool = None,
|
7364
|
+
resource_id: List[str] = None,
|
7365
|
+
resource_type: str = None,
|
7366
|
+
tag_key: List[str] = None,
|
7367
|
+
):
|
7368
|
+
self.all = all
|
7369
|
+
self.resource_id = resource_id
|
7370
|
+
self.resource_type = resource_type
|
7371
|
+
self.tag_key = tag_key
|
7372
|
+
|
7373
|
+
def validate(self):
|
7374
|
+
pass
|
7375
|
+
|
7376
|
+
def to_map(self):
|
7377
|
+
_map = super().to_map()
|
7378
|
+
if _map is not None:
|
7379
|
+
return _map
|
7380
|
+
|
7381
|
+
result = dict()
|
7382
|
+
if self.all is not None:
|
7383
|
+
result['All'] = self.all
|
7384
|
+
if self.resource_id is not None:
|
7385
|
+
result['ResourceId'] = self.resource_id
|
7386
|
+
if self.resource_type is not None:
|
7387
|
+
result['ResourceType'] = self.resource_type
|
7388
|
+
if self.tag_key is not None:
|
7389
|
+
result['TagKey'] = self.tag_key
|
7390
|
+
return result
|
7391
|
+
|
7392
|
+
def from_map(self, m: dict = None):
|
7393
|
+
m = m or dict()
|
7394
|
+
if m.get('All') is not None:
|
7395
|
+
self.all = m.get('All')
|
7396
|
+
if m.get('ResourceId') is not None:
|
7397
|
+
self.resource_id = m.get('ResourceId')
|
7398
|
+
if m.get('ResourceType') is not None:
|
7399
|
+
self.resource_type = m.get('ResourceType')
|
7400
|
+
if m.get('TagKey') is not None:
|
7401
|
+
self.tag_key = m.get('TagKey')
|
7402
|
+
return self
|
7403
|
+
|
7404
|
+
|
7405
|
+
class UntagResourcesShrinkRequest(TeaModel):
|
7406
|
+
def __init__(
|
7407
|
+
self,
|
7408
|
+
all: bool = None,
|
7409
|
+
resource_id_shrink: str = None,
|
7410
|
+
resource_type: str = None,
|
7411
|
+
tag_key_shrink: str = None,
|
7412
|
+
):
|
7413
|
+
self.all = all
|
7414
|
+
self.resource_id_shrink = resource_id_shrink
|
7415
|
+
self.resource_type = resource_type
|
7416
|
+
self.tag_key_shrink = tag_key_shrink
|
7417
|
+
|
7418
|
+
def validate(self):
|
7419
|
+
pass
|
7420
|
+
|
7421
|
+
def to_map(self):
|
7422
|
+
_map = super().to_map()
|
7423
|
+
if _map is not None:
|
7424
|
+
return _map
|
7425
|
+
|
7426
|
+
result = dict()
|
7427
|
+
if self.all is not None:
|
7428
|
+
result['All'] = self.all
|
7429
|
+
if self.resource_id_shrink is not None:
|
7430
|
+
result['ResourceId'] = self.resource_id_shrink
|
7431
|
+
if self.resource_type is not None:
|
7432
|
+
result['ResourceType'] = self.resource_type
|
7433
|
+
if self.tag_key_shrink is not None:
|
7434
|
+
result['TagKey'] = self.tag_key_shrink
|
7435
|
+
return result
|
7436
|
+
|
7437
|
+
def from_map(self, m: dict = None):
|
7438
|
+
m = m or dict()
|
7439
|
+
if m.get('All') is not None:
|
7440
|
+
self.all = m.get('All')
|
7441
|
+
if m.get('ResourceId') is not None:
|
7442
|
+
self.resource_id_shrink = m.get('ResourceId')
|
7443
|
+
if m.get('ResourceType') is not None:
|
7444
|
+
self.resource_type = m.get('ResourceType')
|
7445
|
+
if m.get('TagKey') is not None:
|
7446
|
+
self.tag_key_shrink = m.get('TagKey')
|
7447
|
+
return self
|
7448
|
+
|
7449
|
+
|
7450
|
+
class UntagResourcesResponse(TeaModel):
|
7451
|
+
def __init__(
|
7452
|
+
self,
|
7453
|
+
headers: Dict[str, str] = None,
|
7454
|
+
status_code: int = None,
|
7455
|
+
):
|
7456
|
+
self.headers = headers
|
7457
|
+
self.status_code = status_code
|
7458
|
+
|
7459
|
+
def validate(self):
|
7460
|
+
pass
|
7461
|
+
|
7462
|
+
def to_map(self):
|
7463
|
+
_map = super().to_map()
|
7464
|
+
if _map is not None:
|
7465
|
+
return _map
|
7466
|
+
|
7467
|
+
result = dict()
|
7468
|
+
if self.headers is not None:
|
7469
|
+
result['headers'] = self.headers
|
7470
|
+
if self.status_code is not None:
|
7471
|
+
result['statusCode'] = self.status_code
|
7472
|
+
return result
|
7473
|
+
|
7474
|
+
def from_map(self, m: dict = None):
|
7475
|
+
m = m or dict()
|
7476
|
+
if m.get('headers') is not None:
|
7477
|
+
self.headers = m.get('headers')
|
7478
|
+
if m.get('statusCode') is not None:
|
7479
|
+
self.status_code = m.get('statusCode')
|
7480
|
+
return self
|
7481
|
+
|
7482
|
+
|
7112
7483
|
class UpdateAliasRequest(TeaModel):
|
7113
7484
|
def __init__(
|
7114
7485
|
self,
|
@@ -0,0 +1,8 @@
|
|
1
|
+
alibabacloud_fc20230330/__init__.py,sha256=eAFl6268qA4nmIlnubQ4w8wznduMfMj0fmAHBVFcebU,21
|
2
|
+
alibabacloud_fc20230330/client.py,sha256=Bb9ILKJE3PdoLW-0j46EkDHku8gacmxYfq402YKPxhg,165425
|
3
|
+
alibabacloud_fc20230330/models.py,sha256=L6lLUcsi6Ij3nshoZqDItrcsTJ8zwnQMDYsENoz_5Pg,236803
|
4
|
+
alibabacloud_fc20230330-3.1.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
5
|
+
alibabacloud_fc20230330-3.1.0.dist-info/METADATA,sha256=cERffGkmbPX5CDCOmVT0LvpYfppl1_gFPZ4saIzKHqY,2290
|
6
|
+
alibabacloud_fc20230330-3.1.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
7
|
+
alibabacloud_fc20230330-3.1.0.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
|
8
|
+
alibabacloud_fc20230330-3.1.0.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
alibabacloud_fc20230330/__init__.py,sha256=8G43cihYMtfTwiC502dz3SWoAecoZDtqyWAbCy3ffjo,21
|
2
|
-
alibabacloud_fc20230330/client.py,sha256=ZnknwxzRlVCFprgYrlsOPjC1hU5IoohodHTuHJ0xRm4,154061
|
3
|
-
alibabacloud_fc20230330/models.py,sha256=VfFLdoQEB-zUS5o3ecWtKOoUBSPlb7eLMRIxsHkeyHI,226146
|
4
|
-
alibabacloud_fc20230330-3.0.3.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
5
|
-
alibabacloud_fc20230330-3.0.3.dist-info/METADATA,sha256=_698DnGOsNr1YJBKDYFaRuW5aJ5oh1q1XJePaG5WvXw,2290
|
6
|
-
alibabacloud_fc20230330-3.0.3.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
7
|
-
alibabacloud_fc20230330-3.0.3.dist-info/top_level.txt,sha256=baV3-L5IvxdXABZELkVnoxSffqdCcj44u4zGA8yQ-Ek,24
|
8
|
-
alibabacloud_fc20230330-3.0.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
{alibabacloud_fc20230330-3.0.3.dist-info → alibabacloud_fc20230330-3.1.0.dist-info}/top_level.txt
RENAMED
File without changes
|