@alicloud/apig20240327 7.2.1 → 7.2.2

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 (94) hide show
  1. package/dist/client.d.ts +24 -30
  2. package/dist/client.js +61 -31
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDomainRequest.d.ts +14 -22
  5. package/dist/models/CreateDomainRequest.js +2 -0
  6. package/dist/models/CreateDomainRequest.js.map +1 -1
  7. package/dist/models/CreateDomainResponseBody.d.ts +4 -4
  8. package/dist/models/DomainInfo.d.ts +8 -17
  9. package/dist/models/DomainInfo.js +2 -0
  10. package/dist/models/DomainInfo.js.map +1 -1
  11. package/dist/models/GatewayInfo.d.ts +9 -4
  12. package/dist/models/GatewayInfo.js +2 -0
  13. package/dist/models/GatewayInfo.js.map +1 -1
  14. package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +8 -6
  15. package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
  16. package/dist/models/GetDomainResponseBody.d.ts +28 -39
  17. package/dist/models/GetDomainResponseBody.js +2 -0
  18. package/dist/models/GetDomainResponseBody.js.map +1 -1
  19. package/dist/models/GetEnvironmentRequest.d.ts +2 -2
  20. package/dist/models/GetEnvironmentResponseBody.d.ts +16 -16
  21. package/dist/models/GetHttpApiRouteResponseBody.d.ts +2 -2
  22. package/dist/models/GetPluginAttachmentResponseBody.d.ts +12 -12
  23. package/dist/models/GetSourceResponseBody.d.ts +27 -17
  24. package/dist/models/GetSourceResponseBody.js +4 -0
  25. package/dist/models/GetSourceResponseBody.js.map +1 -1
  26. package/dist/models/HttpApiApiInfo.d.ts +5 -0
  27. package/dist/models/HttpApiApiInfo.js +2 -0
  28. package/dist/models/HttpApiApiInfo.js.map +1 -1
  29. package/dist/models/HttpRoute.d.ts +5 -0
  30. package/dist/models/HttpRoute.js +2 -0
  31. package/dist/models/HttpRoute.js.map +1 -1
  32. package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +2 -2
  33. package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +17 -17
  34. package/dist/models/ListDomainsRequest.d.ts +10 -5
  35. package/dist/models/ListDomainsRequest.js +2 -0
  36. package/dist/models/ListDomainsRequest.js.map +1 -1
  37. package/dist/models/ListDomainsResponseBody.d.ts +7 -7
  38. package/dist/models/ListEnvironmentsRequest.d.ts +8 -8
  39. package/dist/models/ListEnvironmentsResponseBody.d.ts +8 -8
  40. package/dist/models/ListHttpApiRoutesRequest.d.ts +11 -11
  41. package/dist/models/ListHttpApiRoutesResponseBody.d.ts +4 -4
  42. package/dist/models/ListSslCertsRequest.d.ts +2 -2
  43. package/dist/models/ListSslCertsResponseBody.d.ts +7 -7
  44. package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +4 -4
  45. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +25 -25
  46. package/dist/models/TransportCertificateInfo.d.ts +24 -0
  47. package/dist/models/TransportCertificateInfo.js +84 -0
  48. package/dist/models/TransportCertificateInfo.js.map +1 -0
  49. package/dist/models/TransportEncryptionInfo.d.ts +19 -0
  50. package/dist/models/TransportEncryptionInfo.js +70 -0
  51. package/dist/models/TransportEncryptionInfo.js.map +1 -0
  52. package/dist/models/UpdateDomainRequest.d.ts +15 -18
  53. package/dist/models/UpdateDomainRequest.js +2 -0
  54. package/dist/models/UpdateDomainRequest.js.map +1 -1
  55. package/dist/models/UpdateDomainResponseBody.d.ts +5 -5
  56. package/dist/models/UpdateHttpApiOperationRequest.d.ts +1 -1
  57. package/dist/models/UpdateHttpApiOperationResponseBody.d.ts +2 -2
  58. package/dist/models/model.d.ts +2 -0
  59. package/dist/models/model.js +11 -7
  60. package/dist/models/model.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/client.ts +64 -31
  63. package/src/models/CreateDomainRequest.ts +16 -22
  64. package/src/models/CreateDomainResponseBody.ts +4 -4
  65. package/src/models/DomainInfo.ts +10 -17
  66. package/src/models/GatewayInfo.ts +11 -4
  67. package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +8 -6
  68. package/src/models/GetDomainResponseBody.ts +30 -39
  69. package/src/models/GetEnvironmentRequest.ts +2 -2
  70. package/src/models/GetEnvironmentResponseBody.ts +16 -16
  71. package/src/models/GetHttpApiRouteResponseBody.ts +2 -2
  72. package/src/models/GetPluginAttachmentResponseBody.ts +12 -12
  73. package/src/models/GetSourceResponseBody.ts +31 -17
  74. package/src/models/HttpApiApiInfo.ts +7 -0
  75. package/src/models/HttpRoute.ts +7 -0
  76. package/src/models/ListConsumerAuthorizationRulesRequest.ts +2 -2
  77. package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +17 -17
  78. package/src/models/ListDomainsRequest.ts +12 -5
  79. package/src/models/ListDomainsResponseBody.ts +7 -7
  80. package/src/models/ListEnvironmentsRequest.ts +8 -8
  81. package/src/models/ListEnvironmentsResponseBody.ts +8 -8
  82. package/src/models/ListHttpApiRoutesRequest.ts +11 -11
  83. package/src/models/ListHttpApiRoutesResponseBody.ts +4 -4
  84. package/src/models/ListSslCertsRequest.ts +2 -2
  85. package/src/models/ListSslCertsResponseBody.ts +7 -7
  86. package/src/models/QueryConsumerAuthorizationRulesRequest.ts +4 -4
  87. package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +25 -25
  88. package/src/models/TransportCertificateInfo.ts +63 -0
  89. package/src/models/TransportEncryptionInfo.ts +43 -0
  90. package/src/models/UpdateDomainRequest.ts +17 -18
  91. package/src/models/UpdateDomainResponseBody.ts +5 -5
  92. package/src/models/UpdateHttpApiOperationRequest.ts +1 -1
  93. package/src/models/UpdateHttpApiOperationResponseBody.ts +2 -2
  94. package/src/models/model.ts +2 -0
@@ -6,7 +6,7 @@ import { TlsCipherSuitesConfig } from "./TlsCipherSuitesConfig";
6
6
  export class UpdateDomainRequest extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The CA certificate ID.
9
+ * The CA certificate identifier.
10
10
  *
11
11
  * @example
12
12
  * 1ef1da5f-38ed-69b3-****-037781890265
@@ -14,7 +14,7 @@ export class UpdateDomainRequest extends $dara.Model {
14
14
  caCertIdentifier?: string;
15
15
  /**
16
16
  * @remarks
17
- * The certificate ID.
17
+ * The certificate identifier.
18
18
  *
19
19
  * @example
20
20
  * 1ef1da5f-38ed-69b3-****-037781890265
@@ -32,9 +32,14 @@ export class UpdateDomainRequest extends $dara.Model {
32
32
  * -----END CERTIFICATE-----
33
33
  */
34
34
  clientCACert?: string;
35
+ /**
36
+ * @example
37
+ * Serverless
38
+ */
39
+ domainScope?: string;
35
40
  /**
36
41
  * @remarks
37
- * Specifies whether to enable forcible HTTPS redirection. If protocol is set to HTTPS, forceHttps is required.
42
+ * Specifies whether to enable forced HTTPS redirect when the protocol type is set to HTTPS. This parameter is required when the protocol is HTTPS.
38
43
  *
39
44
  * @example
40
45
  * false
@@ -42,13 +47,7 @@ export class UpdateDomainRequest extends $dara.Model {
42
47
  forceHttps?: boolean;
43
48
  /**
44
49
  * @remarks
45
- * The HTTP/2 configuration.
46
- *
47
- * Enumerated values:
48
- *
49
- * * GlobalConfig
50
- * * Close
51
- * * Open
50
+ * The HTTP/2 settings.
52
51
  *
53
52
  * @example
54
53
  * Open
@@ -56,17 +55,15 @@ export class UpdateDomainRequest extends $dara.Model {
56
55
  http2Option?: string;
57
56
  /**
58
57
  * @remarks
59
- * Specifies whether to enable mutual TLS (mTLS) authentication.
58
+ * Specifies whether to enable mTLS mutual authentication.
60
59
  */
61
60
  mTLSEnabled?: boolean;
62
61
  /**
63
62
  * @remarks
64
- * The protocol type to be supported by the domain name. Valid values:
65
- *
66
- * * HTTP
67
- * * HTTPS
63
+ * The protocol type supported by the domain name.
68
64
  *
69
- * This parameter is required.
65
+ * - HTTP: Only HTTP is supported.
66
+ * - HTTPS: Only HTTPS is supported.
70
67
  *
71
68
  * @example
72
69
  * HTTP
@@ -79,7 +76,7 @@ export class UpdateDomainRequest extends $dara.Model {
79
76
  tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
80
77
  /**
81
78
  * @remarks
82
- * The maximum TLS version. Up to TLS 1.3 is supported.
79
+ * The maximum TLS protocol version. TLS 1.3 is the maximum supported version.
83
80
  *
84
81
  * @example
85
82
  * TLS 1.3
@@ -87,7 +84,7 @@ export class UpdateDomainRequest extends $dara.Model {
87
84
  tlsMax?: string;
88
85
  /**
89
86
  * @remarks
90
- * The minimum TLS version. Down to TLS 1.0 is supported.
87
+ * The minimum TLS protocol version. TLS 1.0 is the minimum supported version.
91
88
  *
92
89
  * @example
93
90
  * TLS 1.0
@@ -98,6 +95,7 @@ export class UpdateDomainRequest extends $dara.Model {
98
95
  caCertIdentifier: 'caCertIdentifier',
99
96
  certIdentifier: 'certIdentifier',
100
97
  clientCACert: 'clientCACert',
98
+ domainScope: 'domainScope',
101
99
  forceHttps: 'forceHttps',
102
100
  http2Option: 'http2Option',
103
101
  mTLSEnabled: 'mTLSEnabled',
@@ -113,6 +111,7 @@ export class UpdateDomainRequest extends $dara.Model {
113
111
  caCertIdentifier: 'string',
114
112
  certIdentifier: 'string',
115
113
  clientCACert: 'string',
114
+ domainScope: 'string',
116
115
  forceHttps: 'boolean',
117
116
  http2Option: 'string',
118
117
  mTLSEnabled: 'boolean',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateDomainResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The released version ID.
8
+ * The publish version ID.
9
9
  *
10
10
  * @example
11
11
  * apr-xxxxx
@@ -35,7 +35,7 @@ export class UpdateDomainResponseBodyData extends $dara.Model {
35
35
  export class UpdateDomainResponseBody extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The status code.
38
+ * The response code.
39
39
  *
40
40
  * @example
41
41
  * Ok
@@ -43,12 +43,12 @@ export class UpdateDomainResponseBody extends $dara.Model {
43
43
  code?: string;
44
44
  /**
45
45
  * @remarks
46
- * The response parameters.
46
+ * The returned data.
47
47
  */
48
48
  data?: UpdateDomainResponseBodyData;
49
49
  /**
50
50
  * @remarks
51
- * The returned message.
51
+ * The response message.
52
52
  *
53
53
  * @example
54
54
  * success
@@ -56,7 +56,7 @@ export class UpdateDomainResponseBody extends $dara.Model {
56
56
  message?: string;
57
57
  /**
58
58
  * @remarks
59
- * The request ID. You can use this value to trace the API call.
59
+ * The request ID, which is used to trace the API call chain.
60
60
  *
61
61
  * @example
62
62
  * 4BACB05C-3FE2-588F-9148-700C5C026B74
@@ -6,7 +6,7 @@ import { HttpApiOperation } from "./HttpApiOperation";
6
6
  export class UpdateHttpApiOperationRequest extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The operation definition.
9
+ * The API operation definition.
10
10
  */
11
11
  operation?: HttpApiOperation;
12
12
  static names(): { [key: string]: string } {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateHttpApiOperationResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The status code.
8
+ * The response status code.
9
9
  *
10
10
  * @example
11
11
  * Ok
@@ -13,7 +13,7 @@ export class UpdateHttpApiOperationResponseBody extends $dara.Model {
13
13
  code?: string;
14
14
  /**
15
15
  * @remarks
16
- * The response message returned.
16
+ * The response message.
17
17
  *
18
18
  * @example
19
19
  * success
@@ -378,6 +378,8 @@ export { ServiceLinkedRole } from './ServiceLinkedRole';
378
378
  export { SslCertMetaInfo } from './SslCertMetaInfo';
379
379
  export { SubDomainInfo } from './SubDomainInfo';
380
380
  export { TlsCipherSuitesConfig } from './TlsCipherSuitesConfig';
381
+ export { TransportCertificateInfo } from './TransportCertificateInfo';
382
+ export { TransportEncryptionInfo } from './TransportEncryptionInfo';
381
383
  export { ValidationOptions } from './ValidationOptions';
382
384
  export { HttpApiApiInfoDeployCntMapValue } from './HttpApiApiInfoDeployCntMapValue';
383
385
  export { AddGatewayQuotaRuleRequest } from './AddGatewayQuotaRuleRequest';