tccli-intl-en 3.1.6.1__py2.py3-none-any.whl → 3.1.7.1__py2.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.
@@ -826,7 +826,7 @@
826
826
  },
827
827
  {
828
828
  "disabled": false,
829
- "document": "Defines the purpose of the key. The valid values are as follows: `ENCRYPT_DECRYPT` (default): creates a symmetric encryption/decryption key; `ASYMMETRIC_DECRYPT_RSA_2048`: creates an asymmetric encryption/decryption 2048-bit RSA key; `ASYMMETRIC_DECRYPT_SM2`: creates an asymmetric encryption/decryption SM2 key; `ASYMMETRIC_SIGN_VERIFY_SM2`: creates an asymmetric SM2 key for signature verification; `ASYMMETRIC_SIGN_VERIFY_ECC`: creates an asymmetric 2048-bit RSA key for signature verification; `ASYMMETRIC_SIGN_VERIFY_ECDSA384`: creates an asymmetric ECDSA384 key for signature verification. You can get a full list of supported key purposes and algorithms using the ListAlgorithms API.",
829
+ "document": "Specifies the key purpose, defaults to \"ENCRYPT_DECRYPT\" indicating the creation of a symmetric encryption/decryption key. other supported purposes include \"ASYMMETRIC_DECRYPT_RSA_2048\" for RSA2048 ASYMMETRIC keys used to ENCRYPT and DECRYPT, \"ASYMMETRIC_DECRYPT_SM2\" for SM2 ASYMMETRIC keys used to ENCRYPT and DECRYPT, \"ASYMMETRIC_SIGN_VERIFY_SM2\" for SM2 ASYMMETRIC keys used for signature verification, \"ASYMMETRIC_SIGN_VERIFY_ECC\" for ECC ASYMMETRIC keys used for signature verification, \"ASYMMETRIC_SIGN_VERIFY_RSA_2048\" for RSA_2048 ASYMMETRIC keys used for signature verification, and \"ASYMMETRIC_SIGN_VERIFY_ECDSA384\" for ECDSA384 ASYMMETRIC keys used for signature verification. the complete list of key purposes and algorithm support can be obtained through the ListAlgorithms api.",
830
830
  "example": "ENCRYPT_DECRYPT",
831
831
  "member": "string",
832
832
  "name": "KeyUsage",
@@ -1109,6 +1109,16 @@
1109
1109
  "type": "string",
1110
1110
  "value_allowed_null": false
1111
1111
  },
1112
+ {
1113
+ "disabled": false,
1114
+ "document": "CMK name.",
1115
+ "example": "测试根密钥",
1116
+ "member": "string",
1117
+ "name": "KeyName",
1118
+ "output_required": false,
1119
+ "type": "string",
1120
+ "value_allowed_null": false
1121
+ },
1112
1122
  {
1113
1123
  "disabled": false,
1114
1124
  "document": "Key name as a more recognizable and understandable data key.",
@@ -1514,7 +1524,7 @@
1514
1524
  "members": [
1515
1525
  {
1516
1526
  "disabled": false,
1517
- "document": "Specifies the attribute information of the key.",
1527
+ "document": "Specifies the key attribute information.",
1518
1528
  "example": "无",
1519
1529
  "member": "KeyMetadata",
1520
1530
  "name": "KeyMetadata",
@@ -2471,6 +2481,15 @@
2471
2481
  "name": "HsmClusterId",
2472
2482
  "required": false,
2473
2483
  "type": "string"
2484
+ },
2485
+ {
2486
+ "disabled": false,
2487
+ "document": "Tag list. valid at that time when parameter IsHostedByKms=1 and the data key is hosted by kms.",
2488
+ "example": "无",
2489
+ "member": "Tag",
2490
+ "name": "Tags",
2491
+ "required": false,
2492
+ "type": "list"
2474
2493
  }
2475
2494
  ],
2476
2495
  "type": "object"
@@ -2518,6 +2537,26 @@
2518
2537
  "type": "string",
2519
2538
  "value_allowed_null": false
2520
2539
  },
2540
+ {
2541
+ "disabled": false,
2542
+ "document": "Response code of the Tag operation. 0: success; 1: internal error; 2: business processing error.",
2543
+ "example": "0",
2544
+ "member": "uint64",
2545
+ "name": "TagCode",
2546
+ "output_required": false,
2547
+ "type": "int",
2548
+ "value_allowed_null": false
2549
+ },
2550
+ {
2551
+ "disabled": false,
2552
+ "document": "Response of the Tag operation.",
2553
+ "example": "ok",
2554
+ "member": "string",
2555
+ "name": "TagMsg",
2556
+ "output_required": false,
2557
+ "type": "string",
2558
+ "value_allowed_null": false
2559
+ },
2521
2560
  {
2522
2561
  "document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
2523
2562
  "member": "string",
@@ -3115,6 +3154,15 @@
3115
3154
  "name": "HsmClusterId",
3116
3155
  "required": false,
3117
3156
  "type": "string"
3157
+ },
3158
+ {
3159
+ "disabled": false,
3160
+ "document": "Tag list",
3161
+ "example": "无",
3162
+ "member": "Tag",
3163
+ "name": "Tags",
3164
+ "required": false,
3165
+ "type": "list"
3118
3166
  }
3119
3167
  ],
3120
3168
  "type": "object"
@@ -3142,6 +3190,26 @@
3142
3190
  "type": "string",
3143
3191
  "value_allowed_null": false
3144
3192
  },
3193
+ {
3194
+ "disabled": false,
3195
+ "document": "Response code of the Tag operation. 0: success; 1: internal error; 2: business processing error.",
3196
+ "example": "0",
3197
+ "member": "uint64",
3198
+ "name": "TagCode",
3199
+ "output_required": false,
3200
+ "type": "int",
3201
+ "value_allowed_null": false
3202
+ },
3203
+ {
3204
+ "disabled": false,
3205
+ "document": "Response of the Tag operation.",
3206
+ "example": "ok",
3207
+ "member": "string",
3208
+ "name": "TagMsg",
3209
+ "output_required": false,
3210
+ "type": "string",
3211
+ "value_allowed_null": false
3212
+ },
3145
3213
  {
3146
3214
  "document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
3147
3215
  "member": "string",
@@ -3616,6 +3684,15 @@
3616
3684
  "name": "DataKeyLen",
3617
3685
  "required": false,
3618
3686
  "type": "int"
3687
+ },
3688
+ {
3689
+ "disabled": false,
3690
+ "document": "Tag filtering conditions.",
3691
+ "example": "无",
3692
+ "member": "TagFilter",
3693
+ "name": "TagFilters",
3694
+ "required": false,
3695
+ "type": "list"
3619
3696
  }
3620
3697
  ],
3621
3698
  "type": "object"
@@ -114,10 +114,10 @@
114
114
  ],
115
115
  "DescribeKey": [
116
116
  {
117
- "document": "This example shows you how to obtain the attribute details of a designated CMK.",
117
+ "document": "This example shows you how to obtain the detailed information of attributes for the designated CMK.",
118
118
  "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKey\n<Common request parameters>\n\n{\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\"\n}",
119
- "output": "{\n \"Response\": {\n \"KeyMetadata\": {\n \"Alias\": \"test11-lzc\",\n \"CreateTime\": 1730357927,\n \"CreatorUin\": 700001224419,\n \"DeletionDate\": 0,\n\"Description\": \"Import an external key\"\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"KeyRotationEnabled\": false,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"NextRotateTime\": 1761893927,\n \"Origin\": \"EXTERNAL\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/700001224419/93866e69-9755-11ef-8e65-52540089bc41\",\n \"Type\": 4,\n \"ValidTo\": 0\n },\n \"RequestId\": \"5575a949-8eda-497f-bee3-9d8a07763747\"\n }\n}",
120
- "title": "Get CMK Attribute Example"
119
+ "output": "{\n \"Response\": {\n \"KeyMetadata\": {\n \"Alias\": \"test11-lzc\",\n \"CreateTime\": 1730357927,\n \"CreatorUin\": 700001224419,\n \"DeletionDate\": 0,\n\"Description\": \"Import external key\"\n \"HsmClusterId\": \"cls-hsm-3dflmo9g\",\n \"KeyId\": \"93866e69-9755-11ef-8e65-52540089bc41\",\n \"KeyRotationEnabled\": false,\n \"KeyState\": \"Enabled\",\n \"KeyUsage\": \"ENCRYPT_DECRYPT\",\n \"NextRotateTime\": 1761893927,\n \"Origin\": \"EXTERNAL\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/700001224419/93866e69-9755-11ef-8e65-52540089bc41\",\n \"Type\": 4,\n \"ValidTo\": 0\n },\n \"RequestId\": \"5575a949-8eda-497f-bee3-9d8a07763747\"\n }\n}",
120
+ "title": "Retrieving CMK Attributes Example"
121
121
  }
122
122
  ],
123
123
  "DescribeKeys": [
@@ -6520,7 +6520,7 @@
6520
6520
  },
6521
6521
  {
6522
6522
  "disabled": false,
6523
- "document": "Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language). Required when CaptionSource selects `ANALYSIS `.",
6523
+ "document": "Optional values: 1 Source, 2 Source+Target, 3 Target (original language only, original language + translation language, translation language). Required when CaptionSource selects `ANALYSIS `. When outputting as WebVTT, a single template can only output one language.",
6524
6524
  "example": "2",
6525
6525
  "member": "uint64",
6526
6526
  "name": "ContentType",
@@ -6531,7 +6531,7 @@
6531
6531
  },
6532
6532
  {
6533
6533
  "disabled": false,
6534
- "document": "Output mode: 1 Burn in, 2 Embedded. Support `2` when CaptionSource selects `INPUT`. Support `1` when CaptionSource selects `ANALYSIS `.",
6534
+ "document": "Output mode: 1 Burn in, 2 Embedded, 3 WebVTT. Support `2` when CaptionSource selects `INPUT`. Support `1` and `3` when CaptionSource selects `ANALYSIS `.",
6535
6535
  "example": "1",
6536
6536
  "member": "uint64",
6537
6537
  "name": "TargetType",
@@ -6575,7 +6575,7 @@
6575
6575
  },
6576
6576
  {
6577
6577
  "disabled": false,
6578
- "document": "There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY. Required when CaptionSource selects `ANALYSIS `.",
6578
+ "document": "There are two modes: STEADY and DYNAMIC, corresponding to steady state and unstable state respectively; the default is STEADY. Required when CaptionSource selects `ANALYSIS `. When the output is WebVTT, only STEADY can be selected.",
6579
6579
  "example": "STEADY",
6580
6580
  "member": "string",
6581
6581
  "name": "StateEffectMode",
@@ -6594,6 +6594,50 @@
6594
6594
  "required": false,
6595
6595
  "type": "int",
6596
6596
  "value_allowed_null": false
6597
+ },
6598
+ {
6599
+ "disabled": false,
6600
+ "document": "Audio selector name, required for generating WebVTT subtitles using speech recognition, can be empty.",
6601
+ "example": "audio",
6602
+ "member": "string",
6603
+ "name": "AudioSelectorName",
6604
+ "output_required": false,
6605
+ "required": false,
6606
+ "type": "string",
6607
+ "value_allowed_null": false
6608
+ },
6609
+ {
6610
+ "disabled": false,
6611
+ "document": "Format configuration for speech recognition output on WebVTT.",
6612
+ "example": "无",
6613
+ "member": "WebVTTFontStyle",
6614
+ "name": "WebVTTFontStyle",
6615
+ "output_required": false,
6616
+ "required": false,
6617
+ "type": "object",
6618
+ "value_allowed_null": false
6619
+ },
6620
+ {
6621
+ "disabled": false,
6622
+ "document": "Language code, length 2-20. ISO 639-2 three-digit code is recommend.",
6623
+ "example": "eng",
6624
+ "member": "string",
6625
+ "name": "LanguageCode",
6626
+ "output_required": false,
6627
+ "required": false,
6628
+ "type": "string",
6629
+ "value_allowed_null": false
6630
+ },
6631
+ {
6632
+ "disabled": false,
6633
+ "document": "Language description, less than 100 characters in length.",
6634
+ "example": "English",
6635
+ "member": "string",
6636
+ "name": "LanguageDescription",
6637
+ "output_required": false,
6638
+ "required": false,
6639
+ "type": "string",
6640
+ "value_allowed_null": false
6597
6641
  }
6598
6642
  ],
6599
6643
  "usage": "both"
@@ -7355,6 +7399,122 @@
7355
7399
  }
7356
7400
  ],
7357
7401
  "usage": "both"
7402
+ },
7403
+ "WebVTTFontStyle": {
7404
+ "document": "WebVTT format configuration.",
7405
+ "members": [
7406
+ {
7407
+ "disabled": false,
7408
+ "document": "Text color, RGB hexadecimal representation, 6 hexadecimal characters (no # needed).",
7409
+ "example": "00FF00",
7410
+ "member": "string",
7411
+ "name": "TextColor",
7412
+ "output_required": false,
7413
+ "required": false,
7414
+ "type": "string",
7415
+ "value_allowed_null": false
7416
+ },
7417
+ {
7418
+ "disabled": false,
7419
+ "document": "Background color, RGB hexadecimal representation, 6 hexadecimal characters (no # needed).",
7420
+ "example": "00FF00",
7421
+ "member": "string",
7422
+ "name": "BackgroundColor",
7423
+ "output_required": false,
7424
+ "required": false,
7425
+ "type": "string",
7426
+ "value_allowed_null": false
7427
+ },
7428
+ {
7429
+ "disabled": false,
7430
+ "document": "Background opacity parameter, a number from 0 to 100, with 0 being the default for full transparency.",
7431
+ "example": "0",
7432
+ "member": "int64",
7433
+ "name": "BackgroundAlpha",
7434
+ "output_required": false,
7435
+ "required": false,
7436
+ "type": "int",
7437
+ "value_allowed_null": false
7438
+ },
7439
+ {
7440
+ "disabled": false,
7441
+ "document": "Font size, in units of vh (1% of height), default value 0 means automatic.",
7442
+ "example": "0",
7443
+ "member": "int64",
7444
+ "name": "FontSize",
7445
+ "output_required": false,
7446
+ "required": false,
7447
+ "type": "int",
7448
+ "value_allowed_null": false
7449
+ },
7450
+ {
7451
+ "disabled": false,
7452
+ "document": "The position of the text box, default value AUTO, can be empty; represents the percentage of video height, supports integers from 0 to 100.",
7453
+ "example": "AUTO",
7454
+ "member": "string",
7455
+ "name": "Line",
7456
+ "output_required": false,
7457
+ "required": false,
7458
+ "type": "string",
7459
+ "value_allowed_null": false
7460
+ },
7461
+ {
7462
+ "disabled": false,
7463
+ "document": "The alignment of the text box on the Line. Optional values: START, CENTER, END. Which can be empty.",
7464
+ "example": "START",
7465
+ "member": "string",
7466
+ "name": "LineAlignment",
7467
+ "output_required": false,
7468
+ "required": false,
7469
+ "type": "string",
7470
+ "value_allowed_null": false
7471
+ },
7472
+ {
7473
+ "disabled": false,
7474
+ "document": "The text box is positioned in another direction as a percentage of the video's width. It defaults to AUTO and can be empty.",
7475
+ "example": "AUTO",
7476
+ "member": "string",
7477
+ "name": "Position",
7478
+ "output_required": false,
7479
+ "required": false,
7480
+ "type": "string",
7481
+ "value_allowed_null": false
7482
+ },
7483
+ {
7484
+ "disabled": false,
7485
+ "document": "The alignment of the text box on the Position. Optional values are LINE_LEFT, LINE_RIGHT, CENTER, and AUTO. The default value is AUTO, and it can be empty.",
7486
+ "example": "AUTO",
7487
+ "member": "string",
7488
+ "name": "PositionAlignment",
7489
+ "output_required": false,
7490
+ "required": false,
7491
+ "type": "string",
7492
+ "value_allowed_null": false
7493
+ },
7494
+ {
7495
+ "disabled": false,
7496
+ "document": "Text box size, a percentage of video width/height, with values (0, 100), default AUTO, can be empty.",
7497
+ "example": "AUTO",
7498
+ "member": "string",
7499
+ "name": "CueSize",
7500
+ "output_required": false,
7501
+ "required": false,
7502
+ "type": "string",
7503
+ "value_allowed_null": false
7504
+ },
7505
+ {
7506
+ "disabled": false,
7507
+ "document": "Text alignment, with possible values START, CENTER, END, LEFT, and RIGHT; the default value is CENTER, which can be empty.",
7508
+ "example": "CENTER",
7509
+ "member": "string",
7510
+ "name": "TextAlignment",
7511
+ "output_required": false,
7512
+ "required": false,
7513
+ "type": "string",
7514
+ "value_allowed_null": false
7515
+ }
7516
+ ],
7517
+ "usage": "both"
7358
7518
  }
7359
7519
  },
7360
7520
  "version": "1.0"
@@ -0,0 +1,4 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from tccli.services.smh.smh_client import action_caller
4
+