@alicloud/cloudapi20160714 4.0.2 → 4.2.0
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.
- package/dist/client.d.ts +310 -0
- package/dist/client.js +547 -19
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +647 -27
package/dist/client.d.ts
CHANGED
|
@@ -609,6 +609,89 @@ export declare class CreateAppResponse extends $tea.Model {
|
|
|
609
609
|
[key: string]: any;
|
|
610
610
|
});
|
|
611
611
|
}
|
|
612
|
+
export declare class CreateAppCodeRequest extends $tea.Model {
|
|
613
|
+
appCode?: string;
|
|
614
|
+
appId?: string;
|
|
615
|
+
static names(): {
|
|
616
|
+
[key: string]: string;
|
|
617
|
+
};
|
|
618
|
+
static types(): {
|
|
619
|
+
[key: string]: any;
|
|
620
|
+
};
|
|
621
|
+
constructor(map?: {
|
|
622
|
+
[key: string]: any;
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
export declare class CreateAppCodeResponseBody extends $tea.Model {
|
|
626
|
+
requestId?: string;
|
|
627
|
+
static names(): {
|
|
628
|
+
[key: string]: string;
|
|
629
|
+
};
|
|
630
|
+
static types(): {
|
|
631
|
+
[key: string]: any;
|
|
632
|
+
};
|
|
633
|
+
constructor(map?: {
|
|
634
|
+
[key: string]: any;
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
export declare class CreateAppCodeResponse extends $tea.Model {
|
|
638
|
+
headers?: {
|
|
639
|
+
[key: string]: string;
|
|
640
|
+
};
|
|
641
|
+
statusCode?: number;
|
|
642
|
+
body?: CreateAppCodeResponseBody;
|
|
643
|
+
static names(): {
|
|
644
|
+
[key: string]: string;
|
|
645
|
+
};
|
|
646
|
+
static types(): {
|
|
647
|
+
[key: string]: any;
|
|
648
|
+
};
|
|
649
|
+
constructor(map?: {
|
|
650
|
+
[key: string]: any;
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
export declare class CreateAppKeyRequest extends $tea.Model {
|
|
654
|
+
appId?: string;
|
|
655
|
+
appKey?: string;
|
|
656
|
+
appSecret?: string;
|
|
657
|
+
static names(): {
|
|
658
|
+
[key: string]: string;
|
|
659
|
+
};
|
|
660
|
+
static types(): {
|
|
661
|
+
[key: string]: any;
|
|
662
|
+
};
|
|
663
|
+
constructor(map?: {
|
|
664
|
+
[key: string]: any;
|
|
665
|
+
});
|
|
666
|
+
}
|
|
667
|
+
export declare class CreateAppKeyResponseBody extends $tea.Model {
|
|
668
|
+
requestId?: string;
|
|
669
|
+
static names(): {
|
|
670
|
+
[key: string]: string;
|
|
671
|
+
};
|
|
672
|
+
static types(): {
|
|
673
|
+
[key: string]: any;
|
|
674
|
+
};
|
|
675
|
+
constructor(map?: {
|
|
676
|
+
[key: string]: any;
|
|
677
|
+
});
|
|
678
|
+
}
|
|
679
|
+
export declare class CreateAppKeyResponse extends $tea.Model {
|
|
680
|
+
headers?: {
|
|
681
|
+
[key: string]: string;
|
|
682
|
+
};
|
|
683
|
+
statusCode?: number;
|
|
684
|
+
body?: CreateAppKeyResponseBody;
|
|
685
|
+
static names(): {
|
|
686
|
+
[key: string]: string;
|
|
687
|
+
};
|
|
688
|
+
static types(): {
|
|
689
|
+
[key: string]: any;
|
|
690
|
+
};
|
|
691
|
+
constructor(map?: {
|
|
692
|
+
[key: string]: any;
|
|
693
|
+
});
|
|
694
|
+
}
|
|
612
695
|
export declare class CreateBackendRequest extends $tea.Model {
|
|
613
696
|
backendName?: string;
|
|
614
697
|
backendType?: string;
|
|
@@ -1504,6 +1587,88 @@ export declare class DeleteAppResponse extends $tea.Model {
|
|
|
1504
1587
|
[key: string]: any;
|
|
1505
1588
|
});
|
|
1506
1589
|
}
|
|
1590
|
+
export declare class DeleteAppCodeRequest extends $tea.Model {
|
|
1591
|
+
appCode?: string;
|
|
1592
|
+
appId?: string;
|
|
1593
|
+
static names(): {
|
|
1594
|
+
[key: string]: string;
|
|
1595
|
+
};
|
|
1596
|
+
static types(): {
|
|
1597
|
+
[key: string]: any;
|
|
1598
|
+
};
|
|
1599
|
+
constructor(map?: {
|
|
1600
|
+
[key: string]: any;
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
export declare class DeleteAppCodeResponseBody extends $tea.Model {
|
|
1604
|
+
requestId?: string;
|
|
1605
|
+
static names(): {
|
|
1606
|
+
[key: string]: string;
|
|
1607
|
+
};
|
|
1608
|
+
static types(): {
|
|
1609
|
+
[key: string]: any;
|
|
1610
|
+
};
|
|
1611
|
+
constructor(map?: {
|
|
1612
|
+
[key: string]: any;
|
|
1613
|
+
});
|
|
1614
|
+
}
|
|
1615
|
+
export declare class DeleteAppCodeResponse extends $tea.Model {
|
|
1616
|
+
headers?: {
|
|
1617
|
+
[key: string]: string;
|
|
1618
|
+
};
|
|
1619
|
+
statusCode?: number;
|
|
1620
|
+
body?: DeleteAppCodeResponseBody;
|
|
1621
|
+
static names(): {
|
|
1622
|
+
[key: string]: string;
|
|
1623
|
+
};
|
|
1624
|
+
static types(): {
|
|
1625
|
+
[key: string]: any;
|
|
1626
|
+
};
|
|
1627
|
+
constructor(map?: {
|
|
1628
|
+
[key: string]: any;
|
|
1629
|
+
});
|
|
1630
|
+
}
|
|
1631
|
+
export declare class DeleteAppKeyRequest extends $tea.Model {
|
|
1632
|
+
appId?: string;
|
|
1633
|
+
appKey?: string;
|
|
1634
|
+
static names(): {
|
|
1635
|
+
[key: string]: string;
|
|
1636
|
+
};
|
|
1637
|
+
static types(): {
|
|
1638
|
+
[key: string]: any;
|
|
1639
|
+
};
|
|
1640
|
+
constructor(map?: {
|
|
1641
|
+
[key: string]: any;
|
|
1642
|
+
});
|
|
1643
|
+
}
|
|
1644
|
+
export declare class DeleteAppKeyResponseBody extends $tea.Model {
|
|
1645
|
+
requestId?: string;
|
|
1646
|
+
static names(): {
|
|
1647
|
+
[key: string]: string;
|
|
1648
|
+
};
|
|
1649
|
+
static types(): {
|
|
1650
|
+
[key: string]: any;
|
|
1651
|
+
};
|
|
1652
|
+
constructor(map?: {
|
|
1653
|
+
[key: string]: any;
|
|
1654
|
+
});
|
|
1655
|
+
}
|
|
1656
|
+
export declare class DeleteAppKeyResponse extends $tea.Model {
|
|
1657
|
+
headers?: {
|
|
1658
|
+
[key: string]: string;
|
|
1659
|
+
};
|
|
1660
|
+
statusCode?: number;
|
|
1661
|
+
body?: DeleteAppKeyResponseBody;
|
|
1662
|
+
static names(): {
|
|
1663
|
+
[key: string]: string;
|
|
1664
|
+
};
|
|
1665
|
+
static types(): {
|
|
1666
|
+
[key: string]: any;
|
|
1667
|
+
};
|
|
1668
|
+
constructor(map?: {
|
|
1669
|
+
[key: string]: any;
|
|
1670
|
+
});
|
|
1671
|
+
}
|
|
1507
1672
|
export declare class DeleteBackendRequest extends $tea.Model {
|
|
1508
1673
|
backendId?: string;
|
|
1509
1674
|
securityToken?: string;
|
|
@@ -3667,6 +3832,48 @@ export declare class DescribeAppAttributesResponse extends $tea.Model {
|
|
|
3667
3832
|
[key: string]: any;
|
|
3668
3833
|
});
|
|
3669
3834
|
}
|
|
3835
|
+
export declare class DescribeAppSecuritiesRequest extends $tea.Model {
|
|
3836
|
+
appId?: number;
|
|
3837
|
+
securityToken?: string;
|
|
3838
|
+
static names(): {
|
|
3839
|
+
[key: string]: string;
|
|
3840
|
+
};
|
|
3841
|
+
static types(): {
|
|
3842
|
+
[key: string]: any;
|
|
3843
|
+
};
|
|
3844
|
+
constructor(map?: {
|
|
3845
|
+
[key: string]: any;
|
|
3846
|
+
});
|
|
3847
|
+
}
|
|
3848
|
+
export declare class DescribeAppSecuritiesResponseBody extends $tea.Model {
|
|
3849
|
+
appSecuritys?: DescribeAppSecuritiesResponseBodyAppSecuritys;
|
|
3850
|
+
requestId?: string;
|
|
3851
|
+
static names(): {
|
|
3852
|
+
[key: string]: string;
|
|
3853
|
+
};
|
|
3854
|
+
static types(): {
|
|
3855
|
+
[key: string]: any;
|
|
3856
|
+
};
|
|
3857
|
+
constructor(map?: {
|
|
3858
|
+
[key: string]: any;
|
|
3859
|
+
});
|
|
3860
|
+
}
|
|
3861
|
+
export declare class DescribeAppSecuritiesResponse extends $tea.Model {
|
|
3862
|
+
headers?: {
|
|
3863
|
+
[key: string]: string;
|
|
3864
|
+
};
|
|
3865
|
+
statusCode?: number;
|
|
3866
|
+
body?: DescribeAppSecuritiesResponseBody;
|
|
3867
|
+
static names(): {
|
|
3868
|
+
[key: string]: string;
|
|
3869
|
+
};
|
|
3870
|
+
static types(): {
|
|
3871
|
+
[key: string]: any;
|
|
3872
|
+
};
|
|
3873
|
+
constructor(map?: {
|
|
3874
|
+
[key: string]: any;
|
|
3875
|
+
});
|
|
3876
|
+
}
|
|
3670
3877
|
export declare class DescribeAppSecurityRequest extends $tea.Model {
|
|
3671
3878
|
appId?: number;
|
|
3672
3879
|
securityToken?: string;
|
|
@@ -11350,6 +11557,34 @@ export declare class DescribeAppAttributesResponseBodyApps extends $tea.Model {
|
|
|
11350
11557
|
[key: string]: any;
|
|
11351
11558
|
});
|
|
11352
11559
|
}
|
|
11560
|
+
export declare class DescribeAppSecuritiesResponseBodyAppSecuritysAppSecurity extends $tea.Model {
|
|
11561
|
+
appCode?: string;
|
|
11562
|
+
appKey?: string;
|
|
11563
|
+
appSecret?: string;
|
|
11564
|
+
createdTime?: string;
|
|
11565
|
+
modifiedTime?: string;
|
|
11566
|
+
static names(): {
|
|
11567
|
+
[key: string]: string;
|
|
11568
|
+
};
|
|
11569
|
+
static types(): {
|
|
11570
|
+
[key: string]: any;
|
|
11571
|
+
};
|
|
11572
|
+
constructor(map?: {
|
|
11573
|
+
[key: string]: any;
|
|
11574
|
+
});
|
|
11575
|
+
}
|
|
11576
|
+
export declare class DescribeAppSecuritiesResponseBodyAppSecuritys extends $tea.Model {
|
|
11577
|
+
appSecurity?: DescribeAppSecuritiesResponseBodyAppSecuritysAppSecurity[];
|
|
11578
|
+
static names(): {
|
|
11579
|
+
[key: string]: string;
|
|
11580
|
+
};
|
|
11581
|
+
static types(): {
|
|
11582
|
+
[key: string]: any;
|
|
11583
|
+
};
|
|
11584
|
+
constructor(map?: {
|
|
11585
|
+
[key: string]: any;
|
|
11586
|
+
});
|
|
11587
|
+
}
|
|
11353
11588
|
export declare class DescribeAppSecurityRequestTag extends $tea.Model {
|
|
11354
11589
|
key?: string;
|
|
11355
11590
|
value?: string;
|
|
@@ -14490,6 +14725,36 @@ export default class Client extends OpenApi {
|
|
|
14490
14725
|
* @return CreateAppResponse
|
|
14491
14726
|
*/
|
|
14492
14727
|
createApp(request: CreateAppRequest): Promise<CreateAppResponse>;
|
|
14728
|
+
/**
|
|
14729
|
+
* @summary 创建新的AppCode
|
|
14730
|
+
*
|
|
14731
|
+
* @param request CreateAppCodeRequest
|
|
14732
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14733
|
+
* @return CreateAppCodeResponse
|
|
14734
|
+
*/
|
|
14735
|
+
createAppCodeWithOptions(request: CreateAppCodeRequest, runtime: $Util.RuntimeOptions): Promise<CreateAppCodeResponse>;
|
|
14736
|
+
/**
|
|
14737
|
+
* @summary 创建新的AppCode
|
|
14738
|
+
*
|
|
14739
|
+
* @param request CreateAppCodeRequest
|
|
14740
|
+
* @return CreateAppCodeResponse
|
|
14741
|
+
*/
|
|
14742
|
+
createAppCode(request: CreateAppCodeRequest): Promise<CreateAppCodeResponse>;
|
|
14743
|
+
/**
|
|
14744
|
+
* @summary 创建新的AK、SK
|
|
14745
|
+
*
|
|
14746
|
+
* @param request CreateAppKeyRequest
|
|
14747
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14748
|
+
* @return CreateAppKeyResponse
|
|
14749
|
+
*/
|
|
14750
|
+
createAppKeyWithOptions(request: CreateAppKeyRequest, runtime: $Util.RuntimeOptions): Promise<CreateAppKeyResponse>;
|
|
14751
|
+
/**
|
|
14752
|
+
* @summary 创建新的AK、SK
|
|
14753
|
+
*
|
|
14754
|
+
* @param request CreateAppKeyRequest
|
|
14755
|
+
* @return CreateAppKeyResponse
|
|
14756
|
+
*/
|
|
14757
|
+
createAppKey(request: CreateAppKeyRequest): Promise<CreateAppKeyResponse>;
|
|
14493
14758
|
/**
|
|
14494
14759
|
* @summary 创建后端服务
|
|
14495
14760
|
*
|
|
@@ -14862,6 +15127,36 @@ export default class Client extends OpenApi {
|
|
|
14862
15127
|
* @return DeleteAppResponse
|
|
14863
15128
|
*/
|
|
14864
15129
|
deleteApp(request: DeleteAppRequest): Promise<DeleteAppResponse>;
|
|
15130
|
+
/**
|
|
15131
|
+
* @summary 删除新的AppCode
|
|
15132
|
+
*
|
|
15133
|
+
* @param request DeleteAppCodeRequest
|
|
15134
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15135
|
+
* @return DeleteAppCodeResponse
|
|
15136
|
+
*/
|
|
15137
|
+
deleteAppCodeWithOptions(request: DeleteAppCodeRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAppCodeResponse>;
|
|
15138
|
+
/**
|
|
15139
|
+
* @summary 删除新的AppCode
|
|
15140
|
+
*
|
|
15141
|
+
* @param request DeleteAppCodeRequest
|
|
15142
|
+
* @return DeleteAppCodeResponse
|
|
15143
|
+
*/
|
|
15144
|
+
deleteAppCode(request: DeleteAppCodeRequest): Promise<DeleteAppCodeResponse>;
|
|
15145
|
+
/**
|
|
15146
|
+
* @summary 删除新的AppKey
|
|
15147
|
+
*
|
|
15148
|
+
* @param request DeleteAppKeyRequest
|
|
15149
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15150
|
+
* @return DeleteAppKeyResponse
|
|
15151
|
+
*/
|
|
15152
|
+
deleteAppKeyWithOptions(request: DeleteAppKeyRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAppKeyResponse>;
|
|
15153
|
+
/**
|
|
15154
|
+
* @summary 删除新的AppKey
|
|
15155
|
+
*
|
|
15156
|
+
* @param request DeleteAppKeyRequest
|
|
15157
|
+
* @return DeleteAppKeyResponse
|
|
15158
|
+
*/
|
|
15159
|
+
deleteAppKey(request: DeleteAppKeyRequest): Promise<DeleteAppKeyResponse>;
|
|
14865
15160
|
/**
|
|
14866
15161
|
* @summary Deletes a backend service.
|
|
14867
15162
|
*
|
|
@@ -15687,6 +15982,21 @@ export default class Client extends OpenApi {
|
|
|
15687
15982
|
* @return DescribeAppAttributesResponse
|
|
15688
15983
|
*/
|
|
15689
15984
|
describeAppAttributes(request: DescribeAppAttributesRequest): Promise<DescribeAppAttributesResponse>;
|
|
15985
|
+
/**
|
|
15986
|
+
* @summary 查询APP的密钥信息
|
|
15987
|
+
*
|
|
15988
|
+
* @param request DescribeAppSecuritiesRequest
|
|
15989
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15990
|
+
* @return DescribeAppSecuritiesResponse
|
|
15991
|
+
*/
|
|
15992
|
+
describeAppSecuritiesWithOptions(request: DescribeAppSecuritiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppSecuritiesResponse>;
|
|
15993
|
+
/**
|
|
15994
|
+
* @summary 查询APP的密钥信息
|
|
15995
|
+
*
|
|
15996
|
+
* @param request DescribeAppSecuritiesRequest
|
|
15997
|
+
* @return DescribeAppSecuritiesResponse
|
|
15998
|
+
*/
|
|
15999
|
+
describeAppSecurities(request: DescribeAppSecuritiesRequest): Promise<DescribeAppSecuritiesResponse>;
|
|
15690
16000
|
/**
|
|
15691
16001
|
* @summary This key is used for authentication when an API call is made.
|
|
15692
16002
|
*
|