tencentcloud-sdk-python-cngw 3.1.181__tar.gz → 3.1.195__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud/cngw/v20230418/cngw_client.py +19 -0
  5. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud/cngw/v20230418/cngw_client_async.py +19 -0
  6. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud/cngw/v20230418/errorcodes.py +3 -0
  7. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud/cngw/v20230418/models.py +1938 -49
  8. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud_sdk_python_cngw.egg-info/PKG-INFO +2 -2
  9. tencentcloud_sdk_python_cngw-3.1.195/tencentcloud_sdk_python_cngw.egg-info/requires.txt +1 -0
  10. tencentcloud_sdk_python_cngw-3.1.181/tencentcloud_sdk_python_cngw.egg-info/requires.txt +0 -1
  11. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/README.rst +0 -0
  12. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/setup.cfg +0 -0
  13. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud/cngw/__init__.py +0 -0
  14. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud/cngw/v20230418/__init__.py +0 -0
  15. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud_sdk_python_cngw.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud_sdk_python_cngw.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cngw-3.1.181 → tencentcloud_sdk_python_cngw-3.1.195}/tencentcloud_sdk_python_cngw.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cngw
3
- Version: 3.1.181
3
+ Version: 3.1.195
4
4
  Summary: Tencent Cloud Cngw SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.195
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cngw',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.181,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.195,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cngw SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.181'
17
+ __version__ = '3.1.195'
@@ -74,6 +74,7 @@ class CngwClient(AbstractClient):
74
74
 
75
75
  def BindCloudNativeAPIGatewaySecretKey(self, request):
76
76
  r"""添加密钥与资源的引用关系接口
77
+ 【消费者批量自动分配 API Key|修改:内部并发/配额逻辑,字段不变】ResourceType=Consumer 时与批量预留共用实例写锁,单消费者绑定配额使用当前锁定读。仍按原 SecretKeyId、ResourceIds 绑定;消费者目标最多一个,单密钥不能同时绑定多个消费者,成功仍返回 Result=true。此入口不新增 OperationDenied.BatchKeyPending;该错误属于下述四个变更入口的保护逻辑。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
77
78
 
78
79
  :param request: Request instance for BindCloudNativeAPIGatewaySecretKey.
79
80
  :type request: :class:`tencentcloud.cngw.v20230418.models.BindCloudNativeAPIGatewaySecretKeyRequest`
@@ -350,6 +351,7 @@ class CngwClient(AbstractClient):
350
351
 
351
352
  def CreateCloudNativeAPIGatewaySecretKey(self, request):
352
353
  r"""创建消费者密钥。
354
+ 【消费者批量自动分配 API Key|修改:内部并发/配额逻辑,字段不变】消费者密钥单条创建在事务中使用与批量预留相同的实例写锁,配额检查使用当前锁定读,避免单条与批量并发绕过配额。仍是单条创建;原 GenerateType、请求字段、既有配额错误语义及 Result.Success/ID 不变,不增加 ConsumerIds/ClientToken。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
353
355
 
354
356
  :param request: Request instance for CreateCloudNativeAPIGatewaySecretKey.
355
357
  :type request: :class:`tencentcloud.cngw.v20230418.models.CreateCloudNativeAPIGatewaySecretKeyRequest`
@@ -420,6 +422,8 @@ class CngwClient(AbstractClient):
420
422
  def DeleteCloudNativeAPIGatewayConsumerGroup(self, request):
421
423
  r"""删除AI网关消费者组
422
424
 
425
+ 同步组仅在 soft_deleted 状态且全部依赖已清理后允许手动硬删除;ConsumerGroupId 使用组织 UUID。存在配额规则时须先删除规则,单纯停用不能解除依赖。硬删除时重新校验,依赖变化可能导致删除失败。
426
+
423
427
  :param request: Request instance for DeleteCloudNativeAPIGatewayConsumerGroup.
424
428
  :type request: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewayConsumerGroupRequest`
425
429
  :rtype: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewayConsumerGroupResponse`
@@ -580,6 +584,7 @@ class CngwClient(AbstractClient):
580
584
 
581
585
  def DeleteCloudNativeAPIGatewaySecretKey(self, request):
582
586
  r"""删除消费者密钥(被绑定时需先解绑)。
587
+ 【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,删除返回 OperationDenied.BatchKeyPending。完成后仍执行原绑定/依赖删除检查;原 GatewayId/SecretKeyId 不变,成功不新增业务 Result。删除已生成密钥不改写批次历史成功,后续批次明文读取返回逐项 ResourceNotFound.SecretKey。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
583
588
 
584
589
  :param request: Request instance for DeleteCloudNativeAPIGatewaySecretKey.
585
590
  :type request: :class:`tencentcloud.cngw.v20230418.models.DeleteCloudNativeAPIGatewaySecretKeyRequest`
@@ -627,6 +632,8 @@ class CngwClient(AbstractClient):
627
632
  def DescribeCloudNativeAPIGatewayAIQuota(self, request):
628
633
  r"""查询AI网关配额
629
634
 
635
+ 支持 ConsumerGroup 配额,返回 ConsumerGroupPath、ConsumerGroupActive 及实际用量;失效组的规则仍可查询。
636
+
630
637
  :param request: Request instance for DescribeCloudNativeAPIGatewayAIQuota.
631
638
  :type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIQuotaRequest`
632
639
  :rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIQuotaResponse`
@@ -650,6 +657,8 @@ class CngwClient(AbstractClient):
650
657
  def DescribeCloudNativeAPIGatewayAIQuotaList(self, request):
651
658
  r"""查询AI配额配置列表
652
659
 
660
+ 支持按 ConsumerGroup 查询组自身配额,默认仍只查询 Consumer;返回组路径、有效状态及实际用量。上下级关联配额请使用 DescribeAIGWConsumerGroupAIQuotaList。
661
+
653
662
  :param request: Request instance for DescribeCloudNativeAPIGatewayAIQuotaList.
654
663
  :type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIQuotaListRequest`
655
664
  :rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayAIQuotaListResponse`
@@ -696,6 +705,8 @@ class CngwClient(AbstractClient):
696
705
  def DescribeCloudNativeAPIGatewayConsumer(self, request):
697
706
  r"""查询云原生消费者详情
698
707
 
708
+ 组织架构扩展:保留原消费者详情与完整字段,ConsumerGroups 补齐对应组织成员关系;同步成员保持目录归属隔离。
709
+
699
710
  :param request: Request instance for DescribeCloudNativeAPIGatewayConsumer.
700
711
  :type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayConsumerRequest`
701
712
  :rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayConsumerResponse`
@@ -719,6 +730,8 @@ class CngwClient(AbstractClient):
719
730
  def DescribeCloudNativeAPIGatewayConsumerGroup(self, request):
720
731
  r"""查询消费者组详情。
721
732
 
733
+ 组织架构扩展:ConsumerGroupId 同时支持原 cg-* 和组织部门 UUID;保留状态、数量、时间和描述逻辑。原普通组状态为 Enable/Disable,目录部门状态为 active/disabled/soft_deleted。
734
+
722
735
  :param request: Request instance for DescribeCloudNativeAPIGatewayConsumerGroup.
723
736
  :type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayConsumerGroupRequest`
724
737
  :rtype: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewayConsumerGroupResponse`
@@ -1155,6 +1168,8 @@ class CngwClient(AbstractClient):
1155
1168
 
1156
1169
  def DescribeCloudNativeAPIGatewaySecretKey(self, request):
1157
1170
  r"""查询密钥详情(SecretValue 字段会被掩码)。
1171
+ 普通版批量新建密钥的生成来源扩展:新页面按需 IncludeCreationInfo=true,省略/false 保持原响应字段。原 GenerateType 不新增 Batch;批量记录仍为 System。协议:https://iwiki.woa.com/p/4042678235。
1172
+ 【消费者批量自动分配 API Key|修改:可选参数及可选出参】增加可选 IncludeCreationInfo(默认 false)。仅 true 且 ResourceType=Consumer 时在原 Result 增加 CredentialGenerateType、CreationSource、BatchId 三个非必返字段;省略/false 保持旧响应。原字段、SecretValue 脱敏和单条详情结构不变。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
1158
1173
 
1159
1174
  :param request: Request instance for DescribeCloudNativeAPIGatewaySecretKey.
1160
1175
  :type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewaySecretKeyRequest`
@@ -1178,6 +1193,8 @@ class CngwClient(AbstractClient):
1178
1193
 
1179
1194
  def DescribeCloudNativeAPIGatewaySecretKeyList(self, request):
1180
1195
  r"""查询密钥列表。
1196
+ 普通版批量新建密钥的生成来源扩展:新页面按需 IncludeCreationInfo=true,省略/false 保持原响应字段。原 GenerateType 不新增 Batch;批量记录仍为 System。协议:https://iwiki.woa.com/p/4042678235。
1197
+ 【消费者批量自动分配 API Key|修改:可选参数、可选出参及筛选】增加可选 IncludeCreationInfo(默认 false)。仅 true 且 ResourceType=Consumer 时在原 Result.SecretKeys[] 增加 CredentialGenerateType、CreationSource、BatchId 三个非必返字段;Result.TotalCount/SecretKeys 结构不变。Filters 新增 CredentialGenerateType、CreationSource,先过滤后计数分页,与是否返回来源字段独立;保留原 GenerateType 枚举和原分页上限。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
1181
1198
 
1182
1199
  :param request: Request instance for DescribeCloudNativeAPIGatewaySecretKeyList.
1183
1200
  :type request: :class:`tencentcloud.cngw.v20230418.models.DescribeCloudNativeAPIGatewaySecretKeyListRequest`
@@ -1546,6 +1563,7 @@ class CngwClient(AbstractClient):
1546
1563
 
1547
1564
  def ModifyCloudNativeAPIGatewaySecretKey(self, request):
1548
1565
  r"""修改AI网关密钥
1566
+ 【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,编辑返回 OperationDenied.BatchKeyPending,提示等待批次完成。其他情况继续原编辑校验和行为;原 GatewayId/SecretKeyId/Name/Description 不变,成功不新增业务 Result。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
1549
1567
 
1550
1568
  :param request: Request instance for ModifyCloudNativeAPIGatewaySecretKey.
1551
1569
  :type request: :class:`tencentcloud.cngw.v20230418.models.ModifyCloudNativeAPIGatewaySecretKeyRequest`
@@ -1638,6 +1656,7 @@ class CngwClient(AbstractClient):
1638
1656
 
1639
1657
  def UnbindCloudNativeAPIGatewaySecretKey(self, request):
1640
1658
  r"""解绑密钥
1659
+ 【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,解绑返回 OperationDenied.BatchKeyPending。完成后继续原解绑;原 GatewayId/SecretKeyId/ResourceType/ResourceIds 不变,成功不新增业务 Result。解绑不改写批次历史成功,后续批次明文读取返回逐项 OperationDenied.BindingChanged。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
1641
1660
 
1642
1661
  :param request: Request instance for UnbindCloudNativeAPIGatewaySecretKey.
1643
1662
  :type request: :class:`tencentcloud.cngw.v20230418.models.UnbindCloudNativeAPIGatewaySecretKeyRequest`
@@ -68,6 +68,7 @@ class CngwClient(AbstractClient):
68
68
  ) -> models.BindCloudNativeAPIGatewaySecretKeyResponse:
69
69
  """
70
70
  添加密钥与资源的引用关系接口
71
+ 【消费者批量自动分配 API Key|修改:内部并发/配额逻辑,字段不变】ResourceType=Consumer 时与批量预留共用实例写锁,单消费者绑定配额使用当前锁定读。仍按原 SecretKeyId、ResourceIds 绑定;消费者目标最多一个,单密钥不能同时绑定多个消费者,成功仍返回 Result=true。此入口不新增 OperationDenied.BatchKeyPending;该错误属于下述四个变更入口的保护逻辑。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
71
72
  """
72
73
 
73
74
  kwargs = {}
@@ -284,6 +285,7 @@ class CngwClient(AbstractClient):
284
285
  ) -> models.CreateCloudNativeAPIGatewaySecretKeyResponse:
285
286
  """
286
287
  创建消费者密钥。
288
+ 【消费者批量自动分配 API Key|修改:内部并发/配额逻辑,字段不变】消费者密钥单条创建在事务中使用与批量预留相同的实例写锁,配额检查使用当前锁定读,避免单条与批量并发绕过配额。仍是单条创建;原 GenerateType、请求字段、既有配额错误语义及 Result.Success/ID 不变,不增加 ConsumerIds/ClientToken。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
287
289
  """
288
290
 
289
291
  kwargs = {}
@@ -338,6 +340,8 @@ class CngwClient(AbstractClient):
338
340
  ) -> models.DeleteCloudNativeAPIGatewayConsumerGroupResponse:
339
341
  """
340
342
  删除AI网关消费者组
343
+
344
+ 同步组仅在 soft_deleted 状态且全部依赖已清理后允许手动硬删除;ConsumerGroupId 使用组织 UUID。存在配额规则时须先删除规则,单纯停用不能解除依赖。硬删除时重新校验,依赖变化可能导致删除失败。
341
345
  """
342
346
 
343
347
  kwargs = {}
@@ -464,6 +468,7 @@ class CngwClient(AbstractClient):
464
468
  ) -> models.DeleteCloudNativeAPIGatewaySecretKeyResponse:
465
469
  """
466
470
  删除消费者密钥(被绑定时需先解绑)。
471
+ 【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,删除返回 OperationDenied.BatchKeyPending。完成后仍执行原绑定/依赖删除检查;原 GatewayId/SecretKeyId 不变,成功不新增业务 Result。删除已生成密钥不改写批次历史成功,后续批次明文读取返回逐项 ResourceNotFound.SecretKey。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
467
472
  """
468
473
 
469
474
  kwargs = {}
@@ -500,6 +505,8 @@ class CngwClient(AbstractClient):
500
505
  ) -> models.DescribeCloudNativeAPIGatewayAIQuotaResponse:
501
506
  """
502
507
  查询AI网关配额
508
+
509
+ 支持 ConsumerGroup 配额,返回 ConsumerGroupPath、ConsumerGroupActive 及实际用量;失效组的规则仍可查询。
503
510
  """
504
511
 
505
512
  kwargs = {}
@@ -518,6 +525,8 @@ class CngwClient(AbstractClient):
518
525
  ) -> models.DescribeCloudNativeAPIGatewayAIQuotaListResponse:
519
526
  """
520
527
  查询AI配额配置列表
528
+
529
+ 支持按 ConsumerGroup 查询组自身配额,默认仍只查询 Consumer;返回组路径、有效状态及实际用量。上下级关联配额请使用 DescribeAIGWConsumerGroupAIQuotaList。
521
530
  """
522
531
 
523
532
  kwargs = {}
@@ -554,6 +563,8 @@ class CngwClient(AbstractClient):
554
563
  ) -> models.DescribeCloudNativeAPIGatewayConsumerResponse:
555
564
  """
556
565
  查询云原生消费者详情
566
+
567
+ 组织架构扩展:保留原消费者详情与完整字段,ConsumerGroups 补齐对应组织成员关系;同步成员保持目录归属隔离。
557
568
  """
558
569
 
559
570
  kwargs = {}
@@ -572,6 +583,8 @@ class CngwClient(AbstractClient):
572
583
  ) -> models.DescribeCloudNativeAPIGatewayConsumerGroupResponse:
573
584
  """
574
585
  查询消费者组详情。
586
+
587
+ 组织架构扩展:ConsumerGroupId 同时支持原 cg-* 和组织部门 UUID;保留状态、数量、时间和描述逻辑。原普通组状态为 Enable/Disable,目录部门状态为 active/disabled/soft_deleted。
575
588
  """
576
589
 
577
590
  kwargs = {}
@@ -914,6 +927,8 @@ class CngwClient(AbstractClient):
914
927
  ) -> models.DescribeCloudNativeAPIGatewaySecretKeyResponse:
915
928
  """
916
929
  查询密钥详情(SecretValue 字段会被掩码)。
930
+ 普通版批量新建密钥的生成来源扩展:新页面按需 IncludeCreationInfo=true,省略/false 保持原响应字段。原 GenerateType 不新增 Batch;批量记录仍为 System。协议:https://iwiki.woa.com/p/4042678235。
931
+ 【消费者批量自动分配 API Key|修改:可选参数及可选出参】增加可选 IncludeCreationInfo(默认 false)。仅 true 且 ResourceType=Consumer 时在原 Result 增加 CredentialGenerateType、CreationSource、BatchId 三个非必返字段;省略/false 保持旧响应。原字段、SecretValue 脱敏和单条详情结构不变。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
917
932
  """
918
933
 
919
934
  kwargs = {}
@@ -932,6 +947,8 @@ class CngwClient(AbstractClient):
932
947
  ) -> models.DescribeCloudNativeAPIGatewaySecretKeyListResponse:
933
948
  """
934
949
  查询密钥列表。
950
+ 普通版批量新建密钥的生成来源扩展:新页面按需 IncludeCreationInfo=true,省略/false 保持原响应字段。原 GenerateType 不新增 Batch;批量记录仍为 System。协议:https://iwiki.woa.com/p/4042678235。
951
+ 【消费者批量自动分配 API Key|修改:可选参数、可选出参及筛选】增加可选 IncludeCreationInfo(默认 false)。仅 true 且 ResourceType=Consumer 时在原 Result.SecretKeys[] 增加 CredentialGenerateType、CreationSource、BatchId 三个非必返字段;Result.TotalCount/SecretKeys 结构不变。Filters 新增 CredentialGenerateType、CreationSource,先过滤后计数分页,与是否返回来源字段独立;保留原 GenerateType 枚举和原分页上限。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
935
952
  """
936
953
 
937
954
  kwargs = {}
@@ -1220,6 +1237,7 @@ class CngwClient(AbstractClient):
1220
1237
  ) -> models.ModifyCloudNativeAPIGatewaySecretKeyResponse:
1221
1238
  """
1222
1239
  修改AI网关密钥
1240
+ 【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,编辑返回 OperationDenied.BatchKeyPending,提示等待批次完成。其他情况继续原编辑校验和行为;原 GatewayId/SecretKeyId/Name/Description 不变,成功不新增业务 Result。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
1223
1241
  """
1224
1242
 
1225
1243
  kwargs = {}
@@ -1292,6 +1310,7 @@ class CngwClient(AbstractClient):
1292
1310
  ) -> models.UnbindCloudNativeAPIGatewaySecretKeyResponse:
1293
1311
  """
1294
1312
  解绑密钥
1313
+ 【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,解绑返回 OperationDenied.BatchKeyPending。完成后继续原解绑;原 GatewayId/SecretKeyId/ResourceType/ResourceIds 不变,成功不新增业务 Result。解绑不改写批次历史成功,后续批次明文读取返回逐项 OperationDenied.BindingChanged。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
1295
1314
  """
1296
1315
 
1297
1316
  kwargs = {}
@@ -221,6 +221,9 @@ MISSINGPARAMETER_UPDATEERROR = 'MissingParameter.UpdateError'
221
221
  # 操作被拒绝。
222
222
  OPERATIONDENIED = 'OperationDenied'
223
223
 
224
+ # OperationDenied.BatchKeyPending
225
+ OPERATIONDENIED_BATCHKEYPENDING = 'OperationDenied.BatchKeyPending'
226
+
224
227
  # OperationDenied.LimitExceeded
225
228
  OPERATIONDENIED_LIMITEXCEEDED = 'OperationDenied.LimitExceeded'
226
229