tencentcloud-sdk-nodejs-cam 4.0.474 → 4.0.476

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.
@@ -194,6 +194,15 @@ export interface DeleteUserResponse {
194
194
  */
195
195
  RequestId?: string;
196
196
  }
197
+ /**
198
+ * TagRole返回参数结构体
199
+ */
200
+ export interface TagRoleResponse {
201
+ /**
202
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
203
+ */
204
+ RequestId?: string;
205
+ }
197
206
  /**
198
207
  * GetRole请求参数结构体
199
208
  */
@@ -505,9 +514,9 @@ export interface DescribeRoleListRequest {
505
514
  */
506
515
  export declare type DescribeUserSAMLConfigRequest = null;
507
516
  /**
508
- * TagRole返回参数结构体
517
+ * DeleteAccessKey返回参数结构体
509
518
  */
510
- export interface TagRoleResponse {
519
+ export interface DeleteAccessKeyResponse {
511
520
  /**
512
521
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
513
522
  */
@@ -679,21 +688,18 @@ export interface DeleteUserPermissionsBoundaryRequest {
679
688
  */
680
689
  export declare type ListSAMLProvidersRequest = null;
681
690
  /**
682
- * ListGroups请求参数结构体
691
+ * CreateAccessKey返回参数结构体
683
692
  */
684
- export interface ListGroupsRequest {
685
- /**
686
- * 页码。默认为1。
687
- */
688
- Page?: number;
693
+ export interface CreateAccessKeyResponse {
689
694
  /**
690
- * 每页数量。默认为20。
691
- */
692
- Rp?: number;
695
+ * 访问密钥
696
+ 注意:此字段可能返回 null,表示取不到有效值。
697
+ */
698
+ AccessKey: AccessKeyDetail;
693
699
  /**
694
- * 按用户组名称匹配。
700
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
695
701
  */
696
- Keyword?: string;
702
+ RequestId?: string;
697
703
  }
698
704
  /**
699
705
  * DeletePolicyVersion返回参数结构体
@@ -704,6 +710,15 @@ export interface DeletePolicyVersionResponse {
704
710
  */
705
711
  RequestId?: string;
706
712
  }
713
+ /**
714
+ * CreateAccessKey请求参数结构体
715
+ */
716
+ export interface CreateAccessKeyRequest {
717
+ /**
718
+ * 指定用户Uin,不填默认为当前用户创建访问密钥
719
+ */
720
+ TargetUin?: number;
721
+ }
707
722
  /**
708
723
  * GetRolePermissionBoundary返回参数结构体
709
724
  */
@@ -839,6 +854,40 @@ export interface ListPoliciesResponse {
839
854
  */
840
855
  RequestId?: string;
841
856
  }
857
+ /**
858
+ * DeleteAccessKey请求参数结构体
859
+ */
860
+ export interface DeleteAccessKeyRequest {
861
+ /**
862
+ * 指定需要删除的AccessKeyId
863
+ */
864
+ AccessKeyId: string;
865
+ /**
866
+ * 指定用户Uin,不填默认为当前用户删除访问密钥
867
+ */
868
+ TargetUin?: number;
869
+ }
870
+ /**
871
+ * 访问密钥
872
+ */
873
+ export interface AccessKeyDetail {
874
+ /**
875
+ * 访问密钥标识
876
+ */
877
+ AccessKeyId: string;
878
+ /**
879
+ * 访问密钥(密钥仅创建时可见,请妥善保存)
880
+ */
881
+ SecretAccessKey: string;
882
+ /**
883
+ * 密钥状态,激活(Active)或未激活(Inactive)
884
+ */
885
+ Status: string;
886
+ /**
887
+ * 创建时间
888
+ */
889
+ CreateTime: string;
890
+ }
842
891
  /**
843
892
  * 企业微信子用户
844
893
  */
@@ -1076,6 +1125,15 @@ export interface SecretIdLastUsed {
1076
1125
  */
1077
1126
  LastUsedDate: string;
1078
1127
  }
1128
+ /**
1129
+ * UpdateAccessKey返回参数结构体
1130
+ */
1131
+ export interface UpdateAccessKeyResponse {
1132
+ /**
1133
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1134
+ */
1135
+ RequestId?: string;
1136
+ }
1079
1137
  /**
1080
1138
  * CreateUserOIDCConfig返回参数结构体
1081
1139
  */
@@ -1693,6 +1751,23 @@ export interface UpdateSAMLProviderResponse {
1693
1751
  */
1694
1752
  RequestId?: string;
1695
1753
  }
1754
+ /**
1755
+ * UpdateAccessKey请求参数结构体
1756
+ */
1757
+ export interface UpdateAccessKeyRequest {
1758
+ /**
1759
+ * 指定需要更新的AccessKeyId
1760
+ */
1761
+ AccessKeyId: string;
1762
+ /**
1763
+ * 密钥状态,激活(Active)或未激活(Inactive)
1764
+ */
1765
+ Status: string;
1766
+ /**
1767
+ * 指定用户Uin,不填默认为当前用户更新访问密钥
1768
+ */
1769
+ TargetUin?: number;
1770
+ }
1696
1771
  /**
1697
1772
  * UpdateUser请求参数结构体
1698
1773
  */
@@ -2065,13 +2140,17 @@ export interface UpdateOIDCConfigResponse {
2065
2140
  RequestId?: string;
2066
2141
  }
2067
2142
  /**
2068
- * DeleteSAMLProvider请求参数结构体
2143
+ * AttachGroupPolicy请求参数结构体
2069
2144
  */
2070
- export interface DeleteSAMLProviderRequest {
2145
+ export interface AttachGroupPolicyRequest {
2071
2146
  /**
2072
- * SAML身份提供商名称
2147
+ * 策略 id
2073
2148
  */
2074
- Name: string;
2149
+ PolicyId: number;
2150
+ /**
2151
+ * 用户组 id
2152
+ */
2153
+ AttachGroupId: number;
2075
2154
  }
2076
2155
  /**
2077
2156
  * DeleteSAMLProvider返回参数结构体
@@ -2447,17 +2526,13 @@ export interface ListGrantServiceAccessNode {
2447
2526
  Policy: Array<ListGrantServiceAccessPolicy>;
2448
2527
  }
2449
2528
  /**
2450
- * AttachGroupPolicy请求参数结构体
2529
+ * DeleteSAMLProvider请求参数结构体
2451
2530
  */
2452
- export interface AttachGroupPolicyRequest {
2453
- /**
2454
- * 策略 id
2455
- */
2456
- PolicyId: number;
2531
+ export interface DeleteSAMLProviderRequest {
2457
2532
  /**
2458
- * 用户组 id
2533
+ * SAML身份提供商名称
2459
2534
  */
2460
- AttachGroupId: number;
2535
+ Name: string;
2461
2536
  }
2462
2537
  /**
2463
2538
  * UpdateOIDCConfig请求参数结构体
@@ -2548,6 +2623,23 @@ export interface DescribeSafeAuthFlagIntlResponse {
2548
2623
  */
2549
2624
  RequestId?: string;
2550
2625
  }
2626
+ /**
2627
+ * ListGroups请求参数结构体
2628
+ */
2629
+ export interface ListGroupsRequest {
2630
+ /**
2631
+ * 页码。默认为1。
2632
+ */
2633
+ Page?: number;
2634
+ /**
2635
+ * 每页数量。默认为20。
2636
+ */
2637
+ Rp?: number;
2638
+ /**
2639
+ * 按用户组名称匹配。
2640
+ */
2641
+ Keyword?: string;
2642
+ }
2551
2643
  /**
2552
2644
  * ListPolicyVersions返回参数结构体
2553
2645
  */