@alicloud/polardb20170801 7.12.2 → 7.13.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.
Files changed (33) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +96 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddPolarOssauthorizedAccountRequest.d.ts +39 -0
  5. package/dist/models/AddPolarOssauthorizedAccountRequest.js +64 -0
  6. package/dist/models/AddPolarOssauthorizedAccountRequest.js.map +1 -0
  7. package/dist/models/AddPolarOssauthorizedAccountResponse.d.ts +19 -0
  8. package/dist/models/AddPolarOssauthorizedAccountResponse.js +69 -0
  9. package/dist/models/AddPolarOssauthorizedAccountResponse.js.map +1 -0
  10. package/dist/models/AddPolarOssauthorizedAccountResponseBody.d.ts +33 -0
  11. package/dist/models/AddPolarOssauthorizedAccountResponseBody.js +64 -0
  12. package/dist/models/AddPolarOssauthorizedAccountResponseBody.js.map +1 -0
  13. package/dist/models/DeletePolarOssauthorizedAccountRequest.d.ts +39 -0
  14. package/dist/models/DeletePolarOssauthorizedAccountRequest.js +64 -0
  15. package/dist/models/DeletePolarOssauthorizedAccountRequest.js.map +1 -0
  16. package/dist/models/DeletePolarOssauthorizedAccountResponse.d.ts +19 -0
  17. package/dist/models/DeletePolarOssauthorizedAccountResponse.js +69 -0
  18. package/dist/models/DeletePolarOssauthorizedAccountResponse.js.map +1 -0
  19. package/dist/models/DeletePolarOssauthorizedAccountResponseBody.d.ts +33 -0
  20. package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js +64 -0
  21. package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js.map +1 -0
  22. package/dist/models/model.d.ts +6 -0
  23. package/dist/models/model.js +40 -28
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +108 -0
  27. package/src/models/AddPolarOssauthorizedAccountRequest.ts +58 -0
  28. package/src/models/AddPolarOssauthorizedAccountResponse.ts +40 -0
  29. package/src/models/AddPolarOssauthorizedAccountResponseBody.ts +52 -0
  30. package/src/models/DeletePolarOssauthorizedAccountRequest.ts +58 -0
  31. package/src/models/DeletePolarOssauthorizedAccountResponse.ts +40 -0
  32. package/src/models/DeletePolarOssauthorizedAccountResponseBody.ts +52 -0
  33. package/src/models/model.ts +6 -0
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeletePolarOSSAuthorizedAccountRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 1234567890,acs:ram::123456:role/myrole
12
+ */
13
+ authorizedUserIds?: string;
14
+ /**
15
+ * @example
16
+ * pc-xxxxxxxxxxxxxxxxx
17
+ */
18
+ DBClusterId?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * pfs-xxxxxxxxxxxxxxxxx
25
+ */
26
+ pfsInstanceId?: string;
27
+ /**
28
+ * @example
29
+ * cn-beijing
30
+ */
31
+ regionId?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ authorizedUserIds: 'AuthorizedUserIds',
35
+ DBClusterId: 'DBClusterId',
36
+ pfsInstanceId: 'PfsInstanceId',
37
+ regionId: 'RegionId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ authorizedUserIds: 'string',
44
+ DBClusterId: 'string',
45
+ pfsInstanceId: 'string',
46
+ regionId: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeletePolarOSSAuthorizedAccountResponseBody } from "./DeletePolarOssauthorizedAccountResponseBody";
4
+
5
+
6
+ export class DeletePolarOSSAuthorizedAccountResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeletePolarOSSAuthorizedAccountResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DeletePolarOSSAuthorizedAccountResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeletePolarOSSAuthorizedAccountResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * arn:sts::123456:assumed-role/myrole/*
9
+ */
10
+ authorizedUserArnIds?: string;
11
+ /**
12
+ * @example
13
+ * 1234567890,9876543210
14
+ */
15
+ authorizedUserIds?: string;
16
+ /**
17
+ * @example
18
+ * pfs-xxxxxxxxxxxxxxxxx
19
+ */
20
+ pfsInstanceId?: string;
21
+ /**
22
+ * @example
23
+ * F45FFACC-xxx
24
+ */
25
+ requestId?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ authorizedUserArnIds: 'AuthorizedUserArnIds',
29
+ authorizedUserIds: 'AuthorizedUserIds',
30
+ pfsInstanceId: 'PfsInstanceId',
31
+ requestId: 'RequestId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ authorizedUserArnIds: 'string',
38
+ authorizedUserIds: 'string',
39
+ pfsInstanceId: 'string',
40
+ requestId: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -426,6 +426,9 @@ export { AddPolarFsPathMappingResponse } from './AddPolarFsPathMappingResponse';
426
426
  export { AddPolarFsQuotaRequest } from './AddPolarFsQuotaRequest';
427
427
  export { AddPolarFsQuotaResponseBody } from './AddPolarFsQuotaResponseBody';
428
428
  export { AddPolarFsQuotaResponse } from './AddPolarFsQuotaResponse';
429
+ export { AddPolarOSSAuthorizedAccountRequest } from './AddPolarOssauthorizedAccountRequest';
430
+ export { AddPolarOSSAuthorizedAccountResponseBody } from './AddPolarOssauthorizedAccountResponseBody';
431
+ export { AddPolarOSSAuthorizedAccountResponse } from './AddPolarOssauthorizedAccountResponse';
429
432
  export { AddSQLRateLimitingRulesRequest } from './AddSqlrateLimitingRulesRequest';
430
433
  export { AddSQLRateLimitingRulesResponseBody } from './AddSqlrateLimitingRulesResponseBody';
431
434
  export { AddSQLRateLimitingRulesResponse } from './AddSqlrateLimitingRulesResponse';
@@ -798,6 +801,9 @@ export { DeletePolarFsPathMappingResponse } from './DeletePolarFsPathMappingResp
798
801
  export { DeletePolarFsQuotaRequest } from './DeletePolarFsQuotaRequest';
799
802
  export { DeletePolarFsQuotaResponseBody } from './DeletePolarFsQuotaResponseBody';
800
803
  export { DeletePolarFsQuotaResponse } from './DeletePolarFsQuotaResponse';
804
+ export { DeletePolarOSSAuthorizedAccountRequest } from './DeletePolarOssauthorizedAccountRequest';
805
+ export { DeletePolarOSSAuthorizedAccountResponseBody } from './DeletePolarOssauthorizedAccountResponseBody';
806
+ export { DeletePolarOSSAuthorizedAccountResponse } from './DeletePolarOssauthorizedAccountResponse';
801
807
  export { DeleteRateLimitPolicyRequest } from './DeleteRateLimitPolicyRequest';
802
808
  export { DeleteRateLimitPolicyResponseBody } from './DeleteRateLimitPolicyResponseBody';
803
809
  export { DeleteRateLimitPolicyResponse } from './DeleteRateLimitPolicyResponse';