tencentcloud-sdk-python-emr 3.1.177__tar.gz → 3.1.192__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.
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/setup.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud/emr/v20190103/models.py +302 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud_sdk_python_emr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_emr-3.1.192/tencentcloud_sdk_python_emr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_emr-3.1.177/tencentcloud_sdk_python_emr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/README.rst +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/setup.cfg +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud/emr/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud/emr/v20190103/__init__.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud/emr/v20190103/emr_client.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud/emr/v20190103/emr_client_async.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud/emr/v20190103/errorcodes.py +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud_sdk_python_emr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud_sdk_python_emr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_emr-3.1.177 → tencentcloud_sdk_python_emr-3.1.192}/tencentcloud_sdk_python_emr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-emr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.192
|
|
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
|
|
@@ -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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.192
|
|
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-emr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.192,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Emr SDK for Python',
|
|
@@ -470,6 +470,259 @@ class AddUsersForUserManagerResponse(AbstractModel):
|
|
|
470
470
|
self._RequestId = params.get("RequestId")
|
|
471
471
|
|
|
472
472
|
|
|
473
|
+
class AirflowCfsSource(AbstractModel):
|
|
474
|
+
r"""airflow cfs dag目录源配置
|
|
475
|
+
|
|
476
|
+
"""
|
|
477
|
+
|
|
478
|
+
def __init__(self):
|
|
479
|
+
r"""
|
|
480
|
+
:param _FileSystemId: <p>cfs实例id</p>
|
|
481
|
+
:type FileSystemId: str
|
|
482
|
+
:param _Directory: <p>cfs实例挂载目录</p>
|
|
483
|
+
:type Directory: str
|
|
484
|
+
"""
|
|
485
|
+
self._FileSystemId = None
|
|
486
|
+
self._Directory = None
|
|
487
|
+
|
|
488
|
+
@property
|
|
489
|
+
def FileSystemId(self):
|
|
490
|
+
r"""<p>cfs实例id</p>
|
|
491
|
+
:rtype: str
|
|
492
|
+
"""
|
|
493
|
+
return self._FileSystemId
|
|
494
|
+
|
|
495
|
+
@FileSystemId.setter
|
|
496
|
+
def FileSystemId(self, FileSystemId):
|
|
497
|
+
self._FileSystemId = FileSystemId
|
|
498
|
+
|
|
499
|
+
@property
|
|
500
|
+
def Directory(self):
|
|
501
|
+
r"""<p>cfs实例挂载目录</p>
|
|
502
|
+
:rtype: str
|
|
503
|
+
"""
|
|
504
|
+
return self._Directory
|
|
505
|
+
|
|
506
|
+
@Directory.setter
|
|
507
|
+
def Directory(self, Directory):
|
|
508
|
+
self._Directory = Directory
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
def _deserialize(self, params):
|
|
512
|
+
self._FileSystemId = params.get("FileSystemId")
|
|
513
|
+
self._Directory = params.get("Directory")
|
|
514
|
+
memeber_set = set(params.keys())
|
|
515
|
+
for name, value in vars(self).items():
|
|
516
|
+
property_name = name[1:]
|
|
517
|
+
if property_name in memeber_set:
|
|
518
|
+
memeber_set.remove(property_name)
|
|
519
|
+
if len(memeber_set) > 0:
|
|
520
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
class AirflowDagSourceInput(AbstractModel):
|
|
525
|
+
r"""airflow dag源目录来源
|
|
526
|
+
|
|
527
|
+
"""
|
|
528
|
+
|
|
529
|
+
def __init__(self):
|
|
530
|
+
r"""
|
|
531
|
+
:param _Enabled: <p>是否支持dag共享源</p>
|
|
532
|
+
:type Enabled: bool
|
|
533
|
+
:param _Type: <p>dag源类型</p><p>枚举值:</p><ul><li>CFS: CFS</li><li>GIT: Git</li></ul>
|
|
534
|
+
:type Type: str
|
|
535
|
+
:param _Cfs: <p>cfs实例DAG源配置</p>
|
|
536
|
+
:type Cfs: :class:`tencentcloud.emr.v20190103.models.AirflowCfsSource`
|
|
537
|
+
:param _Git: <p>Git型DAG源配置</p>
|
|
538
|
+
:type Git: :class:`tencentcloud.emr.v20190103.models.AirflowGitSource`
|
|
539
|
+
"""
|
|
540
|
+
self._Enabled = None
|
|
541
|
+
self._Type = None
|
|
542
|
+
self._Cfs = None
|
|
543
|
+
self._Git = None
|
|
544
|
+
|
|
545
|
+
@property
|
|
546
|
+
def Enabled(self):
|
|
547
|
+
r"""<p>是否支持dag共享源</p>
|
|
548
|
+
:rtype: bool
|
|
549
|
+
"""
|
|
550
|
+
return self._Enabled
|
|
551
|
+
|
|
552
|
+
@Enabled.setter
|
|
553
|
+
def Enabled(self, Enabled):
|
|
554
|
+
self._Enabled = Enabled
|
|
555
|
+
|
|
556
|
+
@property
|
|
557
|
+
def Type(self):
|
|
558
|
+
r"""<p>dag源类型</p><p>枚举值:</p><ul><li>CFS: CFS</li><li>GIT: Git</li></ul>
|
|
559
|
+
:rtype: str
|
|
560
|
+
"""
|
|
561
|
+
return self._Type
|
|
562
|
+
|
|
563
|
+
@Type.setter
|
|
564
|
+
def Type(self, Type):
|
|
565
|
+
self._Type = Type
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
def Cfs(self):
|
|
569
|
+
r"""<p>cfs实例DAG源配置</p>
|
|
570
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.AirflowCfsSource`
|
|
571
|
+
"""
|
|
572
|
+
return self._Cfs
|
|
573
|
+
|
|
574
|
+
@Cfs.setter
|
|
575
|
+
def Cfs(self, Cfs):
|
|
576
|
+
self._Cfs = Cfs
|
|
577
|
+
|
|
578
|
+
@property
|
|
579
|
+
def Git(self):
|
|
580
|
+
r"""<p>Git型DAG源配置</p>
|
|
581
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.AirflowGitSource`
|
|
582
|
+
"""
|
|
583
|
+
return self._Git
|
|
584
|
+
|
|
585
|
+
@Git.setter
|
|
586
|
+
def Git(self, Git):
|
|
587
|
+
self._Git = Git
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
def _deserialize(self, params):
|
|
591
|
+
self._Enabled = params.get("Enabled")
|
|
592
|
+
self._Type = params.get("Type")
|
|
593
|
+
if params.get("Cfs") is not None:
|
|
594
|
+
self._Cfs = AirflowCfsSource()
|
|
595
|
+
self._Cfs._deserialize(params.get("Cfs"))
|
|
596
|
+
if params.get("Git") is not None:
|
|
597
|
+
self._Git = AirflowGitSource()
|
|
598
|
+
self._Git._deserialize(params.get("Git"))
|
|
599
|
+
memeber_set = set(params.keys())
|
|
600
|
+
for name, value in vars(self).items():
|
|
601
|
+
property_name = name[1:]
|
|
602
|
+
if property_name in memeber_set:
|
|
603
|
+
memeber_set.remove(property_name)
|
|
604
|
+
if len(memeber_set) > 0:
|
|
605
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
class AirflowGitCredentialInput(AbstractModel):
|
|
610
|
+
r"""airflow git鉴权配置
|
|
611
|
+
|
|
612
|
+
"""
|
|
613
|
+
|
|
614
|
+
def __init__(self):
|
|
615
|
+
r"""
|
|
616
|
+
:param _Username: <p>用户名</p>
|
|
617
|
+
:type Username: str
|
|
618
|
+
:param _Token: <p>用户凭证</p>
|
|
619
|
+
:type Token: str
|
|
620
|
+
"""
|
|
621
|
+
self._Username = None
|
|
622
|
+
self._Token = None
|
|
623
|
+
|
|
624
|
+
@property
|
|
625
|
+
def Username(self):
|
|
626
|
+
r"""<p>用户名</p>
|
|
627
|
+
:rtype: str
|
|
628
|
+
"""
|
|
629
|
+
return self._Username
|
|
630
|
+
|
|
631
|
+
@Username.setter
|
|
632
|
+
def Username(self, Username):
|
|
633
|
+
self._Username = Username
|
|
634
|
+
|
|
635
|
+
@property
|
|
636
|
+
def Token(self):
|
|
637
|
+
r"""<p>用户凭证</p>
|
|
638
|
+
:rtype: str
|
|
639
|
+
"""
|
|
640
|
+
return self._Token
|
|
641
|
+
|
|
642
|
+
@Token.setter
|
|
643
|
+
def Token(self, Token):
|
|
644
|
+
self._Token = Token
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
def _deserialize(self, params):
|
|
648
|
+
self._Username = params.get("Username")
|
|
649
|
+
self._Token = params.get("Token")
|
|
650
|
+
memeber_set = set(params.keys())
|
|
651
|
+
for name, value in vars(self).items():
|
|
652
|
+
property_name = name[1:]
|
|
653
|
+
if property_name in memeber_set:
|
|
654
|
+
memeber_set.remove(property_name)
|
|
655
|
+
if len(memeber_set) > 0:
|
|
656
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
class AirflowGitSource(AbstractModel):
|
|
661
|
+
r"""airflow dag目录git源配置
|
|
662
|
+
|
|
663
|
+
"""
|
|
664
|
+
|
|
665
|
+
def __init__(self):
|
|
666
|
+
r"""
|
|
667
|
+
:param _RepositoryUrl: <p>git仓库URL</p>
|
|
668
|
+
:type RepositoryUrl: str
|
|
669
|
+
:param _Ref: <p>DAG跟踪分支/TAG</p>
|
|
670
|
+
:type Ref: str
|
|
671
|
+
:param _Directory: <p>DAG挂载目录</p>
|
|
672
|
+
:type Directory: str
|
|
673
|
+
"""
|
|
674
|
+
self._RepositoryUrl = None
|
|
675
|
+
self._Ref = None
|
|
676
|
+
self._Directory = None
|
|
677
|
+
|
|
678
|
+
@property
|
|
679
|
+
def RepositoryUrl(self):
|
|
680
|
+
r"""<p>git仓库URL</p>
|
|
681
|
+
:rtype: str
|
|
682
|
+
"""
|
|
683
|
+
return self._RepositoryUrl
|
|
684
|
+
|
|
685
|
+
@RepositoryUrl.setter
|
|
686
|
+
def RepositoryUrl(self, RepositoryUrl):
|
|
687
|
+
self._RepositoryUrl = RepositoryUrl
|
|
688
|
+
|
|
689
|
+
@property
|
|
690
|
+
def Ref(self):
|
|
691
|
+
r"""<p>DAG跟踪分支/TAG</p>
|
|
692
|
+
:rtype: str
|
|
693
|
+
"""
|
|
694
|
+
return self._Ref
|
|
695
|
+
|
|
696
|
+
@Ref.setter
|
|
697
|
+
def Ref(self, Ref):
|
|
698
|
+
self._Ref = Ref
|
|
699
|
+
|
|
700
|
+
@property
|
|
701
|
+
def Directory(self):
|
|
702
|
+
r"""<p>DAG挂载目录</p>
|
|
703
|
+
:rtype: str
|
|
704
|
+
"""
|
|
705
|
+
return self._Directory
|
|
706
|
+
|
|
707
|
+
@Directory.setter
|
|
708
|
+
def Directory(self, Directory):
|
|
709
|
+
self._Directory = Directory
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
def _deserialize(self, params):
|
|
713
|
+
self._RepositoryUrl = params.get("RepositoryUrl")
|
|
714
|
+
self._Ref = params.get("Ref")
|
|
715
|
+
self._Directory = params.get("Directory")
|
|
716
|
+
memeber_set = set(params.keys())
|
|
717
|
+
for name, value in vars(self).items():
|
|
718
|
+
property_name = name[1:]
|
|
719
|
+
if property_name in memeber_set:
|
|
720
|
+
memeber_set.remove(property_name)
|
|
721
|
+
if len(memeber_set) > 0:
|
|
722
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
473
726
|
class AllNodeResourceSpec(AbstractModel):
|
|
474
727
|
r"""资源描述
|
|
475
728
|
|
|
@@ -5446,6 +5699,12 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
5446
5699
|
:type EnableEmrProxy: bool
|
|
5447
5700
|
:param _LogStoreID: <p>日志存储服务实例id</p>
|
|
5448
5701
|
:type LogStoreID: str
|
|
5702
|
+
:param _AirflowDagSource: <p>airflow目录源</p>
|
|
5703
|
+
:type AirflowDagSource: :class:`tencentcloud.emr.v20190103.models.AirflowDagSourceInput`
|
|
5704
|
+
:param _AirflowGitCredential: <p>airflow源凭证</p>
|
|
5705
|
+
:type AirflowGitCredential: :class:`tencentcloud.emr.v20190103.models.AirflowGitCredentialInput`
|
|
5706
|
+
:param _SgIds: <p>多安全组绑定</p>
|
|
5707
|
+
:type SgIds: list of str
|
|
5449
5708
|
"""
|
|
5450
5709
|
self._InstanceName = None
|
|
5451
5710
|
self._ClusterClass = None
|
|
@@ -5472,6 +5731,9 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
5472
5731
|
self._TerminateProtection = None
|
|
5473
5732
|
self._EnableEmrProxy = None
|
|
5474
5733
|
self._LogStoreID = None
|
|
5734
|
+
self._AirflowDagSource = None
|
|
5735
|
+
self._AirflowGitCredential = None
|
|
5736
|
+
self._SgIds = None
|
|
5475
5737
|
|
|
5476
5738
|
@property
|
|
5477
5739
|
def InstanceName(self):
|
|
@@ -5748,6 +6010,39 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
5748
6010
|
def LogStoreID(self, LogStoreID):
|
|
5749
6011
|
self._LogStoreID = LogStoreID
|
|
5750
6012
|
|
|
6013
|
+
@property
|
|
6014
|
+
def AirflowDagSource(self):
|
|
6015
|
+
r"""<p>airflow目录源</p>
|
|
6016
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.AirflowDagSourceInput`
|
|
6017
|
+
"""
|
|
6018
|
+
return self._AirflowDagSource
|
|
6019
|
+
|
|
6020
|
+
@AirflowDagSource.setter
|
|
6021
|
+
def AirflowDagSource(self, AirflowDagSource):
|
|
6022
|
+
self._AirflowDagSource = AirflowDagSource
|
|
6023
|
+
|
|
6024
|
+
@property
|
|
6025
|
+
def AirflowGitCredential(self):
|
|
6026
|
+
r"""<p>airflow源凭证</p>
|
|
6027
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.AirflowGitCredentialInput`
|
|
6028
|
+
"""
|
|
6029
|
+
return self._AirflowGitCredential
|
|
6030
|
+
|
|
6031
|
+
@AirflowGitCredential.setter
|
|
6032
|
+
def AirflowGitCredential(self, AirflowGitCredential):
|
|
6033
|
+
self._AirflowGitCredential = AirflowGitCredential
|
|
6034
|
+
|
|
6035
|
+
@property
|
|
6036
|
+
def SgIds(self):
|
|
6037
|
+
r"""<p>多安全组绑定</p>
|
|
6038
|
+
:rtype: list of str
|
|
6039
|
+
"""
|
|
6040
|
+
return self._SgIds
|
|
6041
|
+
|
|
6042
|
+
@SgIds.setter
|
|
6043
|
+
def SgIds(self, SgIds):
|
|
6044
|
+
self._SgIds = SgIds
|
|
6045
|
+
|
|
5751
6046
|
|
|
5752
6047
|
def _deserialize(self, params):
|
|
5753
6048
|
self._InstanceName = params.get("InstanceName")
|
|
@@ -5800,6 +6095,13 @@ class CreateCloudInstanceRequest(AbstractModel):
|
|
|
5800
6095
|
self._TerminateProtection = params.get("TerminateProtection")
|
|
5801
6096
|
self._EnableEmrProxy = params.get("EnableEmrProxy")
|
|
5802
6097
|
self._LogStoreID = params.get("LogStoreID")
|
|
6098
|
+
if params.get("AirflowDagSource") is not None:
|
|
6099
|
+
self._AirflowDagSource = AirflowDagSourceInput()
|
|
6100
|
+
self._AirflowDagSource._deserialize(params.get("AirflowDagSource"))
|
|
6101
|
+
if params.get("AirflowGitCredential") is not None:
|
|
6102
|
+
self._AirflowGitCredential = AirflowGitCredentialInput()
|
|
6103
|
+
self._AirflowGitCredential._deserialize(params.get("AirflowGitCredential"))
|
|
6104
|
+
self._SgIds = params.get("SgIds")
|
|
5803
6105
|
memeber_set = set(params.keys())
|
|
5804
6106
|
for name, value in vars(self).items():
|
|
5805
6107
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-emr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.192
|
|
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
|
|
@@ -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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.192
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.192
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.177
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|