tencentcloud-sdk-python-emr 3.0.1248__tar.gz → 3.0.1251__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 (16) hide show
  1. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/setup.py +1 -1
  3. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud/emr/v20190103/errorcodes.py +1 -1
  5. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud/emr/v20190103/models.py +2 -94
  6. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud_sdk_python_emr.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-emr-3.0.1251/tencentcloud_sdk_python_emr.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-emr-3.0.1248/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/README.rst +0 -0
  10. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud/emr/__init__.py +0 -0
  12. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud/emr/v20190103/__init__.py +0 -0
  13. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud/emr/v20190103/emr_client.py +0 -0
  14. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-emr-3.0.1248 → tencentcloud-sdk-python-emr-3.0.1251}/tencentcloud_sdk_python_emr.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-emr
3
- Version: 3.0.1248
3
+ Version: 3.0.1251
4
4
  Summary: Tencent Cloud Emr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-emr',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1248"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1251"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Emr SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1248'
17
+ __version__ = '3.0.1251'
@@ -374,7 +374,7 @@ INVALIDPARAMETER_INVALIDTIMEUNIT = 'InvalidParameter.InvalidTimeUnit'
374
374
  # 无效的Tke集群ID,或Tke集群不符合条件。
375
375
  INVALIDPARAMETER_INVALIDTKEINSTANCE = 'InvalidParameter.InvalidTkeInstance'
376
376
 
377
- # 父帐号uin参数输入异常。
377
+ # 父账号uin参数输入异常。
378
378
  INVALIDPARAMETER_INVALIDUINNUM = 'InvalidParameter.InvalidUinNum'
379
379
 
380
380
  # 无效的统一元数据库。
@@ -6253,7 +6253,7 @@ class DescribeInsightListRequest(AbstractModel):
6253
6253
  :type PageSize: int
6254
6254
  :param _Page: 分页查询时的页号,从1开始
6255
6255
  :type Page: int
6256
- :param _Type: 查询类型,支持HIVE,SPARK,MAPREDUCE,TRINO等类型,默认查询全部
6256
+ :param _Type: 查询类型,支持HIVE,SPARK,DLC_SPARK,SPARK_SQL,SCHEDULE,MAPREDUCE,TRINO等类型,默认查询全部
6257
6257
  :type Type: str
6258
6258
  """
6259
6259
  self._InstanceId = None
@@ -8152,99 +8152,7 @@ class DescribeYarnQueueResponse(AbstractModel):
8152
8152
 
8153
8153
  def __init__(self):
8154
8154
  r"""
8155
- :param _Queue: 队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,比如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:
8156
-
8157
- ```
8158
- Name string `json:"name"` //队列名称
8159
- ```
8160
- - `Name`:字段名
8161
- - `string`:字段类型
8162
- - `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代
8163
- - `//`:后面的注释内容对应页面上看到的名称
8164
-
8165
- 字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,比如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。
8166
-
8167
- - 公平调度器
8168
-
8169
- ```
8170
- type QueueWithConfigSetForFairScheduler struct {
8171
- Name string `json:"name"` //队列名称
8172
- MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
8173
- ParentId string `json:"parentId"` // 父队列Id
8174
- Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue
8175
- AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制
8176
- AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制
8177
- MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间
8178
- FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间
8179
- FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1]
8180
- AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式
8181
- SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo
8182
- IsDefault *bool `json:"isDefault"` // 是否是root.default队列
8183
- IsRoot *bool `json:"isRoot"` // 是否是root队列
8184
- ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置
8185
- Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归
8186
- }
8187
-
8188
- type AclForYarnQueue struct {
8189
- User *string `json:"user"` //用户名
8190
- Group *string `json:"group"`//组名
8191
- }
8192
-
8193
- type ConfigSetForFairScheduler struct {
8194
- Name string `json:"name"` // 配置集名称
8195
- MinResources *YarnResource `json:"minResources"` // 最小资源量
8196
- MaxResources *YarnResource `json:"maxResources"` // 最大资源量
8197
- MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量
8198
- MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量
8199
- Weight *float32 `json:"weight"` // 权重
8200
- MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额
8201
- }
8202
-
8203
- type YarnResource struct {
8204
- Vcores *int `json:"vcores"`
8205
- Memory *int `json:"memory"`
8206
- Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值
8207
- }
8208
- ```
8209
-
8210
- - 容量调度器
8211
-
8212
- ```
8213
- type QueueForCapacitySchedulerV3 struct {
8214
- Name string `json:"name"` // 队列名称
8215
- MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用
8216
- ParentId string `json:"parentId"` // 父队列Id
8217
- Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置
8218
- State *string `json:"state"` // 资源池状态
8219
- DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式
8220
- AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制
8221
- AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制
8222
- MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量
8223
- MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量
8224
- IsDefault *bool `json:"isDefault"`// 是否是root.default队列
8225
- IsRoot *bool `json:"isRoot"` // 是否是root队列
8226
- Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归
8227
- }
8228
- type ConfigForCapacityV3 struct {
8229
- Name string `json:"configName"` // 配置集名称
8230
- Labels []CapacityLabel `json:"labels"` // 标签信息
8231
- MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量
8232
- UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子
8233
- MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications
8234
- MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例
8235
- DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级
8236
- }
8237
- type CapacityLabel struct {
8238
- Name string `json:"labelName"`
8239
- Capacity *float32 `json:"capacity"` // 容量
8240
- MaxCapacity *float32 `json:"maximum-capacity"` //最大容量
8241
- }
8242
-
8243
- type AclForYarnQueue struct {
8244
- User *string `json:"user"` //用户名
8245
- Group *string `json:"group"`//组名
8246
- }
8247
- ```
8155
+ :param _Queue: 队列信息。是一个对象转成的json字符串,对应的golang结构体如下所示,例如`QueueWithConfigSetForFairScheduler`的第一个字段`Name`:```Name string `json:"name"` //队列名称```- `Name`:字段名- `string`:字段类型- `json:"name"`:表示在序列化和反序列化`json`时,对应的`json key`,下面以`json key`来指代- `//`:后面的注释内容对应页面上看到的名称字段类型以`*`开头的表示取值可能为json规范下的null,不同的语言需要使用能表达null的类型来接收,例如java的包装类型;字段类型以`[]`开头的表示是数组类型;`json key`在调用`ModifyYarnQueueV2 `接口也会使用。- 公平调度器```type QueueWithConfigSetForFairScheduler struct { Name string `json:"name"` //队列名称 MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用 ParentId string `json:"parentId"` // 父队列Id Type *string `json:"type"` // 队列归属。parent或空,当确定某个队列是父队列,且没有子队列时,才可以设置,通常用来支持放置策略nestedUserQueue AclSubmitApps *AclForYarnQueue `json:"aclSubmitApps"` // 提交访问控制 AclAdministerApps *AclForYarnQueue `json:"aclAdministerApps"` // 管理访问控制 MinSharePreemptionTimeout *int `json:"minSharePreemptionTimeout"` // 最小共享优先权超时时间 FairSharePreemptionTimeout *int `json:"fairSharePreemptionTimeout"` // 公平份额抢占超时时间 FairSharePreemptionThreshold *float32 `json:"fairSharePreemptionThreshold"` // 公平份额抢占阈值。取值 (0,1] AllowPreemptionFrom *bool `json:"allowPreemptionFrom"` // 抢占模式 SchedulingPolicy *string `json:"schedulingPolicy"` // 调度策略,取值有drf、fair、fifo IsDefault *bool `json:"isDefault"` // 是否是root.default队列 IsRoot *bool `json:"isRoot"` // 是否是root队列 ConfigSets []ConfigSetForFairScheduler `json:"configSets"` // 配置集设置 Children []QueueWithConfigSetForFairScheduler `json:"queues"` // 子队列信息。递归}type AclForYarnQueue struct { User *string `json:"user"` //用户名 Group *string `json:"group"`//组名}type ConfigSetForFairScheduler struct { Name string `json:"name"` // 配置集名称 MinResources *YarnResource `json:"minResources"` // 最小资源量 MaxResources *YarnResource `json:"maxResources"` // 最大资源量 MaxChildResources *YarnResource `json:"maxChildResources"` // 能够分配给为未声明子队列的最大资源量 MaxRunningApps *int `json:"maxRunningApps"` // 最高可同时处于运行的App数量 Weight *float32 `json:"weight"` // 权重 MaxAMShare *float32 `json:"maxAMShare"` // App Master最大份额}type YarnResource struct { Vcores *int `json:"vcores"` Memory *int `json:"memory"` Type *string `json:"type"` // 当值为`percent`时,表示使用的百分比,否则就是使用的绝对数值}```- 容量调度器```type QueueForCapacitySchedulerV3 struct { Name string `json:"name"` // 队列名称 MyId string `json:"myId"` // 队列id,用于编辑、删除、克隆时使用 ParentId string `json:"parentId"` // 父队列Id Configs []ConfigForCapacityV3 `json:"configs"` //配置集设置 State *string `json:"state"` // 资源池状态 DefaultNodeLabelExpression *string `json:"default-node-label-expression"` // 默认标签表达式 AclSubmitApps *AclForYarnQueue `json:"acl_submit_applications"` // 提交访问控制 AclAdminQueue *AclForYarnQueue `json:"acl_administer_queue"` //管理访问控制 MaxAllocationMB *int32 `json:"maximum-allocation-mb"` // 分配Container最大内存数量 MaxAllocationVcores *int32 `json:"maximum-allocation-vcores"` // Container最大vCore数量 IsDefault *bool `json:"isDefault"`// 是否是root.default队列 IsRoot *bool `json:"isRoot"` // 是否是root队列 Queues []*QueueForCapacitySchedulerV3 `json:"queues"`//子队列信息。递归}type ConfigForCapacityV3 struct { Name string `json:"configName"` // 配置集名称 Labels []CapacityLabel `json:"labels"` // 标签信息 MinUserLimitPercent *int32 `json:"minimum-user-limit-percent"` // 用户最小容量 UserLimitFactor *float32 `json:"user-limit-factor" valid:"rangeExcludeLeft(0|)"` // 用户资源因子 MaxApps *int32 `json:"maximum-applications" valid:"rangeExcludeLeft(0|)"` // 最大应用数Max-Applications MaxAmPercent *float32 `json:"maximum-am-resource-percent"` // 最大AM比例 DefaultApplicationPriority *int32 `json:"default-application-priority"` // 资源池优先级}type CapacityLabel struct { Name string `json:"labelName"` Capacity *float32 `json:"capacity"` // 容量 MaxCapacity *float32 `json:"maximum-capacity"` //最大容量}type AclForYarnQueue struct { User *string `json:"user"` //用户名 Group *string `json:"group"`//组名}```
8248
8156
  :type Queue: str
8249
8157
  :param _Version: 版本
8250
8158
  :type Version: str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-emr
3
- Version: 3.0.1248
3
+ Version: 3.0.1251
4
4
  Summary: Tencent Cloud Emr SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1251
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1248