@alicloud/eventbridge20200401 6.7.2 → 6.7.3
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 +10 -10
- package/dist/client.js +10 -10
- package/dist/models/CheckServiceLinkedRoleForProductRequest.d.ts +1 -1
- package/dist/models/CheckServiceLinkedRoleForProductResponseBody.d.ts +1 -1
- package/dist/models/Content.d.ts +3 -3
- package/dist/models/CreateApiDestinationRequest.d.ts +2 -3
- package/dist/models/CreateApiDestinationRequest.js.map +1 -1
- package/dist/models/CreateApiDestinationResponseBody.d.ts +2 -2
- package/dist/models/CreateApiDestinationShrinkRequest.d.ts +2 -3
- package/dist/models/CreateApiDestinationShrinkRequest.js.map +1 -1
- package/dist/models/CreateConnectionRequest.d.ts +27 -32
- package/dist/models/CreateConnectionRequest.js.map +1 -1
- package/dist/models/CreateConnectionResponseBody.d.ts +5 -5
- package/dist/models/CreateConnectionShrinkRequest.d.ts +4 -4
- package/dist/models/CreateEventBusRequest.d.ts +3 -3
- package/dist/models/CreateEventBusResponseBody.d.ts +1 -2
- package/dist/models/CreateEventBusResponseBody.js.map +1 -1
- package/dist/models/CreateEventSourceRequest.d.ts +21 -19
- package/dist/models/CreateEventSourceRequest.js.map +1 -1
- package/dist/models/CreateEventSourceResponseBody.d.ts +4 -4
- package/dist/models/CreateEventSourceShrinkRequest.d.ts +4 -1
- package/dist/models/CreateEventSourceShrinkRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingRequest.d.ts +232 -224
- package/dist/models/CreateEventStreamingRequest.js +6 -0
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -2
- package/dist/models/CreateEventStreamingShrinkRequest.d.ts +7 -7
- package/dist/models/CreateRuleRequest.d.ts +14 -14
- package/dist/models/CreateRuleShrinkRequest.d.ts +6 -6
- package/dist/models/CreateServiceLinkedRoleForProductRequest.d.ts +10 -9
- package/dist/models/CreateServiceLinkedRoleForProductRequest.js.map +1 -1
- package/dist/models/CreateServiceLinkedRoleForProductResponseBody.d.ts +2 -2
- package/dist/models/DeleteApiDestinationResponseBody.d.ts +1 -1
- package/dist/models/DeleteConnectionResponseBody.d.ts +2 -2
- package/dist/models/DeleteEventBusResponseBody.d.ts +4 -4
- package/dist/models/DeleteEventSourceRequest.d.ts +1 -1
- package/dist/models/DeleteEventSourceResponseBody.d.ts +5 -3
- package/dist/models/DeleteEventSourceResponseBody.js.map +1 -1
- package/dist/models/DeleteEventStreamingRequest.d.ts +1 -1
- package/dist/models/DeleteEventStreamingResponseBody.d.ts +4 -4
- package/dist/models/DeleteRuleRequest.d.ts +1 -1
- package/dist/models/DeleteRuleResponseBody.d.ts +6 -4
- package/dist/models/DeleteRuleResponseBody.js.map +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +355 -354
- package/dist/models/GetEventStreamingResponseBody.js +11 -0
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/ListEventStreamingsRequest.d.ts +2 -2
- package/dist/models/ListEventStreamingsResponseBody.d.ts +298 -291
- package/dist/models/ListEventStreamingsResponseBody.js +11 -0
- package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
- package/dist/models/SinkAgentCoreKnowledgeBaseParameters.d.ts +43 -0
- package/dist/models/SinkAgentCoreKnowledgeBaseParameters.js +62 -0
- package/dist/models/SinkAgentCoreKnowledgeBaseParameters.js.map +1 -0
- package/dist/models/SinkBaiLianParameters.d.ts +0 -77
- package/dist/models/SinkBaiLianParameters.js.map +1 -1
- package/dist/models/SourceMySqlparameters.d.ts +0 -39
- package/dist/models/SourceMySqlparameters.js.map +1 -1
- package/dist/models/UpdateEventSourceRequest.d.ts +43 -22
- package/dist/models/UpdateEventSourceRequest.js.map +1 -1
- package/dist/models/UpdateEventSourceResponseBody.d.ts +3 -3
- package/dist/models/UpdateEventSourceShrinkRequest.d.ts +10 -10
- package/dist/models/UpdateEventStreamingRequest.d.ts +446 -462
- package/dist/models/UpdateEventStreamingRequest.js +6 -0
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -2
- package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +4 -4
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +10 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -10
- package/src/models/CheckServiceLinkedRoleForProductRequest.ts +1 -1
- package/src/models/CheckServiceLinkedRoleForProductResponseBody.ts +1 -1
- package/src/models/Content.ts +3 -3
- package/src/models/CreateApiDestinationRequest.ts +2 -3
- package/src/models/CreateApiDestinationResponseBody.ts +2 -2
- package/src/models/CreateApiDestinationShrinkRequest.ts +2 -3
- package/src/models/CreateConnectionRequest.ts +27 -32
- package/src/models/CreateConnectionResponseBody.ts +5 -5
- package/src/models/CreateConnectionShrinkRequest.ts +4 -4
- package/src/models/CreateEventBusRequest.ts +3 -3
- package/src/models/CreateEventBusResponseBody.ts +1 -2
- package/src/models/CreateEventSourceRequest.ts +21 -19
- package/src/models/CreateEventSourceResponseBody.ts +4 -4
- package/src/models/CreateEventSourceShrinkRequest.ts +4 -1
- package/src/models/CreateEventStreamingRequest.ts +237 -224
- package/src/models/CreateEventStreamingResponseBody.ts +2 -2
- package/src/models/CreateEventStreamingShrinkRequest.ts +7 -7
- package/src/models/CreateRuleRequest.ts +14 -14
- package/src/models/CreateRuleShrinkRequest.ts +6 -6
- package/src/models/CreateServiceLinkedRoleForProductRequest.ts +10 -9
- package/src/models/CreateServiceLinkedRoleForProductResponseBody.ts +2 -2
- package/src/models/DeleteApiDestinationResponseBody.ts +1 -1
- package/src/models/DeleteConnectionResponseBody.ts +2 -2
- package/src/models/DeleteEventBusResponseBody.ts +4 -4
- package/src/models/DeleteEventSourceRequest.ts +1 -1
- package/src/models/DeleteEventSourceResponseBody.ts +5 -3
- package/src/models/DeleteEventStreamingRequest.ts +1 -1
- package/src/models/DeleteEventStreamingResponseBody.ts +4 -4
- package/src/models/DeleteRuleRequest.ts +1 -1
- package/src/models/DeleteRuleResponseBody.ts +6 -4
- package/src/models/GetEventStreamingResponseBody.ts +369 -358
- package/src/models/ListEventStreamingsRequest.ts +2 -2
- package/src/models/ListEventStreamingsResponseBody.ts +308 -291
- package/src/models/SinkAgentCoreKnowledgeBaseParameters.ts +60 -0
- package/src/models/SinkBaiLianParameters.ts +0 -77
- package/src/models/SourceMySqlparameters.ts +0 -39
- package/src/models/UpdateEventSourceRequest.ts +43 -22
- package/src/models/UpdateEventSourceResponseBody.ts +3 -3
- package/src/models/UpdateEventSourceShrinkRequest.ts +10 -10
- package/src/models/UpdateEventStreamingRequest.ts +451 -462
- package/src/models/UpdateEventStreamingResponseBody.ts +2 -2
- package/src/models/UpdateEventStreamingShrinkRequest.ts +4 -4
- package/src/models/model.ts +1 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateConnectionRequestAuthParametersApiKeyAuthParameters extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of the API key.
|
|
8
|
+
* The key name of the API key.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Token
|
|
@@ -85,7 +85,7 @@ export class CreateConnectionRequestAuthParametersBasicAuthParameters extends $d
|
|
|
85
85
|
export class CreateConnectionRequestAuthParametersOAuthParametersClientParameters extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The client
|
|
88
|
+
* The ID of the client.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* ClientID
|
|
@@ -125,7 +125,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersClientParameter
|
|
|
125
125
|
export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersBodyParameters extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
* Specifies whether the value is
|
|
128
|
+
* Specifies whether the value is a secret.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* false
|
|
@@ -175,7 +175,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
175
175
|
export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters extends $dara.Model {
|
|
176
176
|
/**
|
|
177
177
|
* @remarks
|
|
178
|
-
* Specifies whether the value is
|
|
178
|
+
* Specifies whether the value is a secret.
|
|
179
179
|
*
|
|
180
180
|
* @example
|
|
181
181
|
* false
|
|
@@ -225,7 +225,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
225
225
|
export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters extends $dara.Model {
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
* Specifies whether the value is
|
|
228
|
+
* Specifies whether the value is a secret.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* false
|
|
@@ -275,7 +275,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
275
275
|
export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParameters extends $dara.Model {
|
|
276
276
|
/**
|
|
277
277
|
* @remarks
|
|
278
|
-
* The list of body request
|
|
278
|
+
* The list of structures for body request parameters.
|
|
279
279
|
*/
|
|
280
280
|
bodyParameters?: CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersBodyParameters[];
|
|
281
281
|
/**
|
|
@@ -285,7 +285,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
285
285
|
headerParameters?: CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters[];
|
|
286
286
|
/**
|
|
287
287
|
* @remarks
|
|
288
|
-
* The
|
|
288
|
+
* The structure of URI of the request path parameters.
|
|
289
289
|
*/
|
|
290
290
|
queryStringParameters?: CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters[];
|
|
291
291
|
static names(): { [key: string]: string } {
|
|
@@ -325,7 +325,7 @@ export class CreateConnectionRequestAuthParametersOAuthParametersOAuthHttpParame
|
|
|
325
325
|
export class CreateConnectionRequestAuthParametersOAuthParameters extends $dara.Model {
|
|
326
326
|
/**
|
|
327
327
|
* @remarks
|
|
328
|
-
* The
|
|
328
|
+
* The endpoint URL for authorization. Maximum length: 127 characters.
|
|
329
329
|
*
|
|
330
330
|
* @example
|
|
331
331
|
* http://localhost:8080/oauth/token
|
|
@@ -333,13 +333,12 @@ export class CreateConnectionRequestAuthParametersOAuthParameters extends $dara.
|
|
|
333
333
|
authorizationEndpoint?: string;
|
|
334
334
|
/**
|
|
335
335
|
* @remarks
|
|
336
|
-
* The client parameters
|
|
336
|
+
* The data structure of the client parameters.
|
|
337
337
|
*/
|
|
338
338
|
clientParameters?: CreateConnectionRequestAuthParametersOAuthParametersClientParameters;
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
|
-
* The HTTP method for
|
|
342
|
-
*
|
|
341
|
+
* The HTTP method for probing. Valid values:
|
|
343
342
|
* - GET
|
|
344
343
|
* - POST
|
|
345
344
|
* - HEAD
|
|
@@ -392,18 +391,15 @@ export class CreateConnectionRequestAuthParametersOAuthParameters extends $dara.
|
|
|
392
391
|
export class CreateConnectionRequestAuthParameters extends $dara.Model {
|
|
393
392
|
/**
|
|
394
393
|
* @remarks
|
|
395
|
-
* The data structure of the API key.
|
|
394
|
+
* The data structure of the API key authentication parameters.
|
|
396
395
|
*/
|
|
397
396
|
apiKeyAuthParameters?: CreateConnectionRequestAuthParametersApiKeyAuthParameters;
|
|
398
397
|
/**
|
|
399
398
|
* @remarks
|
|
400
|
-
* The authentication type:
|
|
401
|
-
*
|
|
402
|
-
* -
|
|
403
|
-
*
|
|
404
|
-
* - API KEY: API_KEY_AUTH. Add Token: Token value in the fixed format to the request header. ApiKeyName and ApiKeyValue are required.
|
|
405
|
-
*
|
|
406
|
-
* - OAUTH: OAUTH_AUTH. OAuth 2.0 is an authorization mechanism. Normally, without an authorization mechanism such as OAuth 2.0, clients can directly access resources on the resource server. To ensure secure data access, an Access Token mechanism is added. Clients must carry an Access Token to access protected resources. OAuth 2.0 ensures that resources are not accessed by malicious clients, which improves system security. AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod are required.
|
|
399
|
+
* The authentication type. Valid values:
|
|
400
|
+
* - BASIC: Basic authentication. This is a standard authentication method defined by the HTTP protocol. Add the Authorization header in the format of Basic followed by a space and the Base64-encoded username:password. Username and Password are required.
|
|
401
|
+
* - API KEY: API key authentication. Add the Token header with the token value. ApiKeyName and ApiKeyValue are required.
|
|
402
|
+
* - OAUTH: OAuth 2.0 authentication. OAuth 2.0 is an authorization framework that uses access tokens to protect resources. Clients must include an access token in their requests to access protected resources. AuthorizationEndpoint, OAuthHttpParameters, and HttpMethod are required.
|
|
407
403
|
*
|
|
408
404
|
* @example
|
|
409
405
|
* BASIC_AUTH
|
|
@@ -411,12 +407,12 @@ export class CreateConnectionRequestAuthParameters extends $dara.Model {
|
|
|
411
407
|
authorizationType?: string;
|
|
412
408
|
/**
|
|
413
409
|
* @remarks
|
|
414
|
-
* The data structure of basic authentication.
|
|
410
|
+
* The data structure of the basic authentication parameters.
|
|
415
411
|
*/
|
|
416
412
|
basicAuthParameters?: CreateConnectionRequestAuthParametersBasicAuthParameters;
|
|
417
413
|
/**
|
|
418
414
|
* @remarks
|
|
419
|
-
* The data structure of OAuth authentication parameters.
|
|
415
|
+
* The data structure of the OAuth authentication parameters.
|
|
420
416
|
*/
|
|
421
417
|
OAuthParameters?: CreateConnectionRequestAuthParametersOAuthParameters;
|
|
422
418
|
static names(): { [key: string]: string } {
|
|
@@ -458,11 +454,10 @@ export class CreateConnectionRequestAuthParameters extends $dara.Model {
|
|
|
458
454
|
export class CreateConnectionRequestNetworkParameters extends $dara.Model {
|
|
459
455
|
/**
|
|
460
456
|
* @remarks
|
|
461
|
-
*
|
|
462
|
-
*
|
|
463
|
-
* -
|
|
464
|
-
*
|
|
465
|
-
* >Notice: If you select PrivateNetwork, VpcId, VswitcheId, and SecurityGroupId are required.
|
|
457
|
+
* The network type. Valid values:
|
|
458
|
+
* - PublicNetwork: public network
|
|
459
|
+
* - PrivateNetwork: VPC
|
|
460
|
+
* <notice>If you select PrivateNetwork, VpcId, VswitcheId, and SecurityGroupId are required.</notice>
|
|
466
461
|
*
|
|
467
462
|
* This parameter is required.
|
|
468
463
|
*
|
|
@@ -472,7 +467,7 @@ export class CreateConnectionRequestNetworkParameters extends $dara.Model {
|
|
|
472
467
|
networkType?: string;
|
|
473
468
|
/**
|
|
474
469
|
* @remarks
|
|
475
|
-
* The security group
|
|
470
|
+
* The ID of the security group.
|
|
476
471
|
*
|
|
477
472
|
* @example
|
|
478
473
|
* eb-167adad548759-security_grop/sg-bp1addad26peuh9qh9****
|
|
@@ -488,7 +483,7 @@ export class CreateConnectionRequestNetworkParameters extends $dara.Model {
|
|
|
488
483
|
vpcId?: string;
|
|
489
484
|
/**
|
|
490
485
|
* @remarks
|
|
491
|
-
* The vSwitch
|
|
486
|
+
* The ID of the vSwitch.
|
|
492
487
|
*
|
|
493
488
|
* @example
|
|
494
489
|
* vsw-bp1iu4x7aeradadown1og8,vsw-bp193sqmadadlaszpeq****
|
|
@@ -529,7 +524,7 @@ export class CreateConnectionRequest extends $dara.Model {
|
|
|
529
524
|
authParameters?: CreateConnectionRequestAuthParameters;
|
|
530
525
|
/**
|
|
531
526
|
* @remarks
|
|
532
|
-
* The connection configuration
|
|
527
|
+
* The name of the connection configuration. The length must be 2 to 127 characters.
|
|
533
528
|
*
|
|
534
529
|
* This parameter is required.
|
|
535
530
|
*
|
|
@@ -547,14 +542,14 @@ export class CreateConnectionRequest extends $dara.Model {
|
|
|
547
542
|
description?: string;
|
|
548
543
|
/**
|
|
549
544
|
* @remarks
|
|
550
|
-
* The network configuration
|
|
545
|
+
* The data structure of the network configuration.
|
|
551
546
|
*
|
|
552
547
|
* This parameter is required.
|
|
553
548
|
*/
|
|
554
549
|
networkParameters?: CreateConnectionRequestNetworkParameters;
|
|
555
550
|
/**
|
|
556
551
|
* @remarks
|
|
557
|
-
* The data source connection parameters
|
|
552
|
+
* The data source connection parameters in JSON format. This parameter is required when Type is set to a data source type, and is not required when Type is set to Http. For specific field definitions, call the GetConnectionType operation and refer to ParamsSchema in the response.
|
|
558
553
|
*
|
|
559
554
|
* @example
|
|
560
555
|
* {"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}
|
|
@@ -562,7 +557,7 @@ export class CreateConnectionRequest extends $dara.Model {
|
|
|
562
557
|
parameters?: any;
|
|
563
558
|
/**
|
|
564
559
|
* @remarks
|
|
565
|
-
* The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, lakehouse, and Http. This parameter is required for data source
|
|
560
|
+
* The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, lakehouse, and Http. This parameter is required for data source connections. If you do not specify this parameter, the default value Http is used. The Http type is used for HTTP protocol targets such as API Destination. Hive and Iceberg are used for their respective data lakehouse data sources. The lakehouse type is used only for compatibility with existing connections. Other data source types are used for data connections in the integration marketplace.
|
|
566
561
|
*
|
|
567
562
|
* @example
|
|
568
563
|
* Http
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateConnectionResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The connection configuration
|
|
8
|
+
* The name of the connection configuration.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* connection-demo
|
|
@@ -35,7 +35,7 @@ export class CreateConnectionResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class CreateConnectionResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
38
|
+
* The status code or POP error code. A value of Success indicates that the request is successful.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* Success
|
|
@@ -43,12 +43,12 @@ export class CreateConnectionResponseBody extends $dara.Model {
|
|
|
43
43
|
code?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The returned
|
|
46
|
+
* The returned data.
|
|
47
47
|
*/
|
|
48
48
|
data?: CreateConnectionResponseBodyData;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The additional information. If the request is successful, success is returned. If the request fails,
|
|
51
|
+
* The additional information. If the request is successful, success is returned. If the request fails, a specific error code is returned.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* success
|
|
@@ -56,7 +56,7 @@ export class CreateConnectionResponseBody extends $dara.Model {
|
|
|
56
56
|
message?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The
|
|
59
|
+
* The ID of the request.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* 7DA60DED-CD36-5837-B848-C01A23D2****
|
|
@@ -10,7 +10,7 @@ export class CreateConnectionShrinkRequest extends $dara.Model {
|
|
|
10
10
|
authParametersShrink?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The connection configuration
|
|
13
|
+
* The name of the connection configuration. The length must be 2 to 127 characters.
|
|
14
14
|
*
|
|
15
15
|
* This parameter is required.
|
|
16
16
|
*
|
|
@@ -28,14 +28,14 @@ export class CreateConnectionShrinkRequest extends $dara.Model {
|
|
|
28
28
|
description?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The network configuration
|
|
31
|
+
* The data structure of the network configuration.
|
|
32
32
|
*
|
|
33
33
|
* This parameter is required.
|
|
34
34
|
*/
|
|
35
35
|
networkParametersShrink?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The data source connection parameters
|
|
38
|
+
* The data source connection parameters in JSON format. This parameter is required when Type is set to a data source type, and is not required when Type is set to Http. For specific field definitions, call the GetConnectionType operation and refer to ParamsSchema in the response.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* {"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}
|
|
@@ -43,7 +43,7 @@ export class CreateConnectionShrinkRequest extends $dara.Model {
|
|
|
43
43
|
parametersShrink?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, lakehouse, and Http. This parameter is required for data source
|
|
46
|
+
* The connection type. Valid values: MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, lakehouse, and Http. This parameter is required for data source connections. If you do not specify this parameter, the default value Http is used. The Http type is used for HTTP protocol targets such as API Destination. Hive and Iceberg are used for their respective data lakehouse data sources. The lakehouse type is used only for compatibility with existing connections. Other data source types are used for data connections in the integration marketplace.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* Http
|
|
@@ -13,7 +13,7 @@ export class CreateEventBusRequestTags extends $dara.Model {
|
|
|
13
13
|
key?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The tag
|
|
16
|
+
* The value of the first tag in the tag list.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* R&D
|
|
@@ -63,7 +63,7 @@ export class CreateEventBusRequest extends $dara.Model {
|
|
|
63
63
|
eventBusName?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The ID of the resource group. If you do not specify this parameter, the
|
|
66
|
+
* The ID of the resource group. If you do not specify this parameter, the event bus belongs to the default resource group of the account.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* rg-acfmxazb4ph6aiy****
|
|
@@ -71,7 +71,7 @@ export class CreateEventBusRequest extends $dara.Model {
|
|
|
71
71
|
resourceGroupId?: string;
|
|
72
72
|
/**
|
|
73
73
|
* @remarks
|
|
74
|
-
* The list
|
|
74
|
+
* The tag list.
|
|
75
75
|
*/
|
|
76
76
|
tags?: CreateEventBusRequestTags[];
|
|
77
77
|
static names(): { [key: string]: string } {
|
|
@@ -64,8 +64,7 @@ export class CreateEventBusResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the call is successful. Valid values:
|
|
68
|
-
* - true: The call is successful.
|
|
67
|
+
* Indicates whether the call is successful. Valid values: true: The call is successful.
|
|
69
68
|
*
|
|
70
69
|
* @example
|
|
71
70
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateEventSourceRequestSourceHttpEventParameters extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The CIDR block
|
|
8
|
+
* The CIDR block security configuration. This parameter is required only when the SecurityConfig parameter is set to ip. You can enter a CIDR block or an IP address.
|
|
9
9
|
*/
|
|
10
10
|
ip?: string[];
|
|
11
11
|
/**
|
|
@@ -24,7 +24,7 @@ export class CreateEventSourceRequestSourceHttpEventParameters extends $dara.Mod
|
|
|
24
24
|
method?: string[];
|
|
25
25
|
/**
|
|
26
26
|
* @remarks
|
|
27
|
-
* The secure domain name
|
|
27
|
+
* The secure domain name configuration. This parameter is required only when the SecurityConfig parameter is set to referer. You can enter a domain name.
|
|
28
28
|
*/
|
|
29
29
|
referer?: string[];
|
|
30
30
|
/**
|
|
@@ -106,7 +106,7 @@ export class CreateEventSourceRequestSourceKafkaParameters extends $dara.Model {
|
|
|
106
106
|
instanceId?: string;
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
* The concurrency quota
|
|
109
|
+
* The concurrency quota (number of consumers).
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
112
|
* 1
|
|
@@ -114,7 +114,7 @@ export class CreateEventSourceRequestSourceKafkaParameters extends $dara.Model {
|
|
|
114
114
|
maximumTasks?: number;
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
* The network configuration. Valid values: Default and PublicNetwork.
|
|
117
|
+
* The network configuration. Valid values: Default (default network) and PublicNetwork (self-managed network).
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* Default
|
|
@@ -226,8 +226,7 @@ export class CreateEventSourceRequestSourceMNSParameters extends $dara.Model {
|
|
|
226
226
|
queueName?: string;
|
|
227
227
|
/**
|
|
228
228
|
* @remarks
|
|
229
|
-
* The region where the Simple Message Queue (formerly MNS) queue resides.
|
|
230
|
-
* Valid values: cn-qingdao, cn-beijing, cn-zhangjiakou, cn-huhehaote, cn-wulanchabu, cn-hangzhou, cn-shanghai, cn-shenzhen, cn-guangzhou, cn-chengdu, cn-hongkong, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1, us-west-1, us-east-1, ap-south-1, me-east-1, and cn-north-2-gov-1.
|
|
229
|
+
* The region where the Simple Message Queue (formerly MNS) queue resides. Valid values: cn-qingdao, cn-beijing, cn-zhangjiakou, cn-huhehaote, cn-wulanchabu, cn-hangzhou, cn-shanghai, cn-shenzhen, cn-guangzhou, cn-chengdu, cn-hongkong, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1, us-west-1, us-east-1, ap-south-1, me-east-1, and cn-north-2-gov-1.
|
|
231
230
|
*
|
|
232
231
|
* @example
|
|
233
232
|
* cn-hangzhou
|
|
@@ -376,7 +375,7 @@ export class CreateEventSourceRequestSourceRabbitMQParameters extends $dara.Mode
|
|
|
376
375
|
instanceId?: string;
|
|
377
376
|
/**
|
|
378
377
|
* @remarks
|
|
379
|
-
* The queue name of the ApsaraMQ for RabbitMQ instance
|
|
378
|
+
* eb-connect: The queue name of the ApsaraMQ for RabbitMQ instance. For more information, see [Limits](https://help.aliyun.com/document_detail/163289.html).
|
|
380
379
|
*
|
|
381
380
|
* @example
|
|
382
381
|
* demo
|
|
@@ -428,7 +427,7 @@ export class CreateEventSourceRequestSourceRabbitMQParameters extends $dara.Mode
|
|
|
428
427
|
export class CreateEventSourceRequestSourceRocketMQParameters extends $dara.Model {
|
|
429
428
|
/**
|
|
430
429
|
* @remarks
|
|
431
|
-
* The authentication type. Valid values: ACL
|
|
430
|
+
* The authentication type. Valid values: ACL or leave empty.
|
|
432
431
|
*
|
|
433
432
|
* @example
|
|
434
433
|
* ACL
|
|
@@ -436,7 +435,7 @@ export class CreateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
436
435
|
authType?: string;
|
|
437
436
|
/**
|
|
438
437
|
* @remarks
|
|
439
|
-
* The group ID of
|
|
438
|
+
* The group ID of ApsaraMQ for RocketMQ.
|
|
440
439
|
*
|
|
441
440
|
* @example
|
|
442
441
|
* GID-test
|
|
@@ -452,7 +451,7 @@ export class CreateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
452
451
|
instanceEndpoint?: string;
|
|
453
452
|
/**
|
|
454
453
|
* @remarks
|
|
455
|
-
* The instance ID of
|
|
454
|
+
* The instance ID of ApsaraMQ for RocketMQ. For more information, see [Limits](https://help.aliyun.com/document_detail/163289.html).
|
|
456
455
|
*
|
|
457
456
|
* @example
|
|
458
457
|
* MQ_INST_164901546557****_BAAN****
|
|
@@ -485,8 +484,8 @@ export class CreateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
485
484
|
/**
|
|
486
485
|
* @remarks
|
|
487
486
|
* The instance type. Valid values:
|
|
488
|
-
* - Cloud_4:
|
|
489
|
-
* - Cloud_5:
|
|
487
|
+
* - Cloud_4: 4.0 instance.
|
|
488
|
+
* - Cloud_5: 5.0 instance.
|
|
490
489
|
*
|
|
491
490
|
* @example
|
|
492
491
|
* Cloud_4
|
|
@@ -510,7 +509,7 @@ export class CreateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
510
509
|
instanceVSwitchIds?: string;
|
|
511
510
|
/**
|
|
512
511
|
* @remarks
|
|
513
|
-
* The ID of the
|
|
512
|
+
* The ID of the VPC. Required for VPCs.
|
|
514
513
|
*
|
|
515
514
|
* @example
|
|
516
515
|
* vpc-bp1a4gmlk31hyg6pt****
|
|
@@ -519,9 +518,9 @@ export class CreateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
519
518
|
/**
|
|
520
519
|
* @remarks
|
|
521
520
|
* The consumption offset of the message. Valid values:
|
|
522
|
-
* - CONSUME_FROM_LAST_OFFSET: Consumes
|
|
523
|
-
* - CONSUME_FROM_FIRST_OFFSET: Consumes
|
|
524
|
-
* - CONSUME_FROM_TIMESTAMP: Consumes
|
|
521
|
+
* - CONSUME_FROM_LAST_OFFSET: Consumes from the latest offset.
|
|
522
|
+
* - CONSUME_FROM_FIRST_OFFSET: Consumes from the earliest offset.
|
|
523
|
+
* - CONSUME_FROM_TIMESTAMP: Consumes from the offset at a specified point in time.
|
|
525
524
|
* Default value: CONSUME_FROM_LAST_OFFSET.
|
|
526
525
|
*
|
|
527
526
|
* @example
|
|
@@ -614,7 +613,7 @@ export class CreateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
614
613
|
export class CreateEventSourceRequestSourceSLSParameters extends $dara.Model {
|
|
615
614
|
/**
|
|
616
615
|
* @remarks
|
|
617
|
-
* The start consumption offset. You can
|
|
616
|
+
* The start consumption offset. You can select the earliest or latest offset, which corresponds to begin or end. You can also specify a point in time to start consumption, in seconds.
|
|
618
617
|
*
|
|
619
618
|
* @example
|
|
620
619
|
* end
|
|
@@ -638,7 +637,7 @@ export class CreateEventSourceRequestSourceSLSParameters extends $dara.Model {
|
|
|
638
637
|
project?: string;
|
|
639
638
|
/**
|
|
640
639
|
* @remarks
|
|
641
|
-
* When
|
|
640
|
+
* When authorizing EventBridge to use this role to read Simple Log Service logs, the following conditions must be met: When creating the role in the Resource Access Management (RAM) console, you must select Alibaba Cloud Service as the trusted entity and EventBridge as the trusted service. For the permission policy of this role, refer to the custom event source Simple Log Service.
|
|
642
641
|
*
|
|
643
642
|
* @example
|
|
644
643
|
* testRole
|
|
@@ -753,6 +752,9 @@ export class CreateEventSourceRequest extends $dara.Model {
|
|
|
753
752
|
/**
|
|
754
753
|
* @remarks
|
|
755
754
|
* The external data source configuration.
|
|
755
|
+
*
|
|
756
|
+
* @example
|
|
757
|
+
* {"IsBase64Decode":true,"QueueName":"queue-1"}
|
|
756
758
|
*/
|
|
757
759
|
externalSourceConfig?: { [key: string]: any };
|
|
758
760
|
/**
|
|
@@ -783,7 +785,7 @@ export class CreateEventSourceRequest extends $dara.Model {
|
|
|
783
785
|
sourceKafkaParameters?: CreateEventSourceRequestSourceKafkaParameters;
|
|
784
786
|
/**
|
|
785
787
|
* @remarks
|
|
786
|
-
* The
|
|
788
|
+
* The Simple Message Queue (formerly MNS) event source parameters. When you select Simple Message Queue (formerly MNS) as the event source, the RegionId, IsBase64Decode, and QueueName parameters are required.
|
|
787
789
|
*/
|
|
788
790
|
sourceMNSParameters?: CreateEventSourceRequestSourceMNSParameters;
|
|
789
791
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateEventSourceResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The resource
|
|
8
|
+
* The ARN of the resource.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* acs:eventbridge:cn-hangzhou:164901546557****:eventbus/my-event-bus/eventsource/mymns.source
|
|
@@ -35,9 +35,9 @@ export class CreateEventSourceResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class CreateEventSourceResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The API
|
|
38
|
+
* The API return code. Valid values:
|
|
39
39
|
* - Success: The operation is successful.
|
|
40
|
-
* - Other values:
|
|
40
|
+
* - Other values: Error codes.
|
|
41
41
|
* For more information, see Error codes.
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
@@ -67,7 +67,7 @@ export class CreateEventSourceResponseBody extends $dara.Model {
|
|
|
67
67
|
requestId?: string;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* Indicates whether the operation
|
|
70
|
+
* Indicates whether the operation was successful.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* true
|
|
@@ -34,6 +34,9 @@ export class CreateEventSourceShrinkRequest extends $dara.Model {
|
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
36
|
* The external data source configuration.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* {"IsBase64Decode":true,"QueueName":"queue-1"}
|
|
37
40
|
*/
|
|
38
41
|
externalSourceConfigShrink?: string;
|
|
39
42
|
/**
|
|
@@ -64,7 +67,7 @@ export class CreateEventSourceShrinkRequest extends $dara.Model {
|
|
|
64
67
|
sourceKafkaParametersShrink?: string;
|
|
65
68
|
/**
|
|
66
69
|
* @remarks
|
|
67
|
-
* The
|
|
70
|
+
* The Simple Message Queue (formerly MNS) event source parameters. When you select Simple Message Queue (formerly MNS) as the event source, the RegionId, IsBase64Decode, and QueueName parameters are required.
|
|
68
71
|
*/
|
|
69
72
|
sourceMNSParametersShrink?: string;
|
|
70
73
|
/**
|