@alicloud/eventbridge20200401 6.6.0 → 6.6.1

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 (127) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +41 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/Agent.d.ts +10 -0
  5. package/dist/models/Agent.js +4 -0
  6. package/dist/models/Agent.js.map +1 -1
  7. package/dist/models/AiChunkTransformParameters.d.ts +59 -0
  8. package/dist/models/AiChunkTransformParameters.js +72 -0
  9. package/dist/models/AiChunkTransformParameters.js.map +1 -0
  10. package/dist/models/AiClassifyTransformParameters.d.ts +51 -0
  11. package/dist/models/AiClassifyTransformParameters.js +73 -0
  12. package/dist/models/AiClassifyTransformParameters.js.map +1 -0
  13. package/dist/models/AiEmbedTransformParameters.d.ts +43 -0
  14. package/dist/models/AiEmbedTransformParameters.js +68 -0
  15. package/dist/models/AiEmbedTransformParameters.js.map +1 -0
  16. package/dist/models/AiExtractTransformParameters.d.ts +35 -0
  17. package/dist/models/AiExtractTransformParameters.js +66 -0
  18. package/dist/models/AiExtractTransformParameters.js.map +1 -0
  19. package/dist/models/AiFilterTransformParameters.d.ts +43 -0
  20. package/dist/models/AiFilterTransformParameters.js +68 -0
  21. package/dist/models/AiFilterTransformParameters.js.map +1 -0
  22. package/dist/models/AiPrepSearchTransformParameters.d.ts +35 -0
  23. package/dist/models/AiPrepSearchTransformParameters.js +66 -0
  24. package/dist/models/AiPrepSearchTransformParameters.js.map +1 -0
  25. package/dist/models/AiRedactTransformParameters.d.ts +51 -0
  26. package/dist/models/AiRedactTransformParameters.js +73 -0
  27. package/dist/models/AiRedactTransformParameters.js.map +1 -0
  28. package/dist/models/AiSentimentAnalysisTransformParameters.d.ts +35 -0
  29. package/dist/models/AiSentimentAnalysisTransformParameters.js +69 -0
  30. package/dist/models/AiSentimentAnalysisTransformParameters.js.map +1 -0
  31. package/dist/models/AiSummarizeTransformParameters.d.ts +35 -0
  32. package/dist/models/AiSummarizeTransformParameters.js +66 -0
  33. package/dist/models/AiSummarizeTransformParameters.js.map +1 -0
  34. package/dist/models/AiTransformField.d.ts +29 -0
  35. package/dist/models/AiTransformField.js +60 -0
  36. package/dist/models/AiTransformField.js.map +1 -0
  37. package/dist/models/AiTranslateTransformParameters.d.ts +30 -0
  38. package/dist/models/AiTranslateTransformParameters.js +68 -0
  39. package/dist/models/AiTranslateTransformParameters.js.map +1 -0
  40. package/dist/models/CreateEventStreamingRequest.d.ts +136 -76
  41. package/dist/models/CreateEventStreamingRequest.js +60 -0
  42. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  43. package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -2
  44. package/dist/models/CreateEventStreamingShrinkRequest.d.ts +3 -3
  45. package/dist/models/GetEventStreamingResponseBody.d.ts +174 -112
  46. package/dist/models/GetEventStreamingResponseBody.js +60 -0
  47. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  48. package/dist/models/ListConnectionsRequest.d.ts +8 -0
  49. package/dist/models/ListConnectionsRequest.js +2 -0
  50. package/dist/models/ListConnectionsRequest.js.map +1 -1
  51. package/dist/models/ListEventStreamingsRequest.d.ts +1 -1
  52. package/dist/models/ListEventStreamingsResponseBody.d.ts +126 -66
  53. package/dist/models/ListEventStreamingsResponseBody.js +60 -0
  54. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  55. package/dist/models/ListLumaCatalogsRequest.d.ts +16 -0
  56. package/dist/models/ListLumaCatalogsRequest.js +4 -0
  57. package/dist/models/ListLumaCatalogsRequest.js.map +1 -1
  58. package/dist/models/ListLumaCatalogsResponseBody.d.ts +24 -0
  59. package/dist/models/ListLumaCatalogsResponseBody.js +6 -0
  60. package/dist/models/ListLumaCatalogsResponseBody.js.map +1 -1
  61. package/dist/models/ListLumaKnowledgeBasesRequest.d.ts +19 -3
  62. package/dist/models/ListLumaKnowledgeBasesRequest.js +4 -0
  63. package/dist/models/ListLumaKnowledgeBasesRequest.js.map +1 -1
  64. package/dist/models/ListLumaKnowledgeBasesResponseBody.d.ts +29 -5
  65. package/dist/models/ListLumaKnowledgeBasesResponseBody.js +6 -0
  66. package/dist/models/ListLumaKnowledgeBasesResponseBody.js.map +1 -1
  67. package/dist/models/ListLumaNamespacesRequest.d.ts +16 -0
  68. package/dist/models/ListLumaNamespacesRequest.js +4 -0
  69. package/dist/models/ListLumaNamespacesRequest.js.map +1 -1
  70. package/dist/models/ListLumaNamespacesResponseBody.d.ts +24 -0
  71. package/dist/models/ListLumaNamespacesResponseBody.js +6 -0
  72. package/dist/models/ListLumaNamespacesResponseBody.js.map +1 -1
  73. package/dist/models/ListLumaTablesRequest.d.ts +19 -3
  74. package/dist/models/ListLumaTablesRequest.js +4 -0
  75. package/dist/models/ListLumaTablesRequest.js.map +1 -1
  76. package/dist/models/ListLumaTablesResponseBody.d.ts +30 -6
  77. package/dist/models/ListLumaTablesResponseBody.js +6 -0
  78. package/dist/models/ListLumaTablesResponseBody.js.map +1 -1
  79. package/dist/models/UpdateAgentRequest.d.ts +10 -0
  80. package/dist/models/UpdateAgentRequest.js +4 -0
  81. package/dist/models/UpdateAgentRequest.js.map +1 -1
  82. package/dist/models/UpdateAgentShrinkRequest.d.ts +10 -0
  83. package/dist/models/UpdateAgentShrinkRequest.js +4 -0
  84. package/dist/models/UpdateAgentShrinkRequest.js.map +1 -1
  85. package/dist/models/UpdateEventStreamingRequest.d.ts +134 -73
  86. package/dist/models/UpdateEventStreamingRequest.js +60 -0
  87. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  88. package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -2
  89. package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +2 -2
  90. package/dist/models/model.d.ts +11 -0
  91. package/dist/models/model.js +30 -8
  92. package/dist/models/model.js.map +1 -1
  93. package/package.json +1 -1
  94. package/src/client.ts +52 -8
  95. package/src/models/Agent.ts +14 -0
  96. package/src/models/AiChunkTransformParameters.ts +85 -0
  97. package/src/models/AiClassifyTransformParameters.ts +78 -0
  98. package/src/models/AiEmbedTransformParameters.ts +65 -0
  99. package/src/models/AiExtractTransformParameters.ts +55 -0
  100. package/src/models/AiFilterTransformParameters.ts +65 -0
  101. package/src/models/AiPrepSearchTransformParameters.ts +55 -0
  102. package/src/models/AiRedactTransformParameters.ts +78 -0
  103. package/src/models/AiSentimentAnalysisTransformParameters.ts +58 -0
  104. package/src/models/AiSummarizeTransformParameters.ts +55 -0
  105. package/src/models/AiTransformField.ts +44 -0
  106. package/src/models/AiTranslateTransformParameters.ts +52 -0
  107. package/src/models/CreateEventStreamingRequest.ts +186 -76
  108. package/src/models/CreateEventStreamingResponseBody.ts +2 -2
  109. package/src/models/CreateEventStreamingShrinkRequest.ts +3 -3
  110. package/src/models/GetEventStreamingResponseBody.ts +224 -112
  111. package/src/models/ListConnectionsRequest.ts +10 -0
  112. package/src/models/ListEventStreamingsRequest.ts +1 -1
  113. package/src/models/ListEventStreamingsResponseBody.ts +176 -66
  114. package/src/models/ListLumaCatalogsRequest.ts +20 -0
  115. package/src/models/ListLumaCatalogsResponseBody.ts +30 -0
  116. package/src/models/ListLumaKnowledgeBasesRequest.ts +23 -3
  117. package/src/models/ListLumaKnowledgeBasesResponseBody.ts +35 -5
  118. package/src/models/ListLumaNamespacesRequest.ts +20 -0
  119. package/src/models/ListLumaNamespacesResponseBody.ts +30 -0
  120. package/src/models/ListLumaTablesRequest.ts +23 -3
  121. package/src/models/ListLumaTablesResponseBody.ts +36 -6
  122. package/src/models/UpdateAgentRequest.ts +14 -0
  123. package/src/models/UpdateAgentShrinkRequest.ts +14 -0
  124. package/src/models/UpdateEventStreamingRequest.ts +184 -73
  125. package/src/models/UpdateEventStreamingResponseBody.ts +2 -2
  126. package/src/models/UpdateEventStreamingShrinkRequest.ts +2 -2
  127. package/src/models/model.ts +11 -0
package/dist/client.d.ts CHANGED
@@ -1125,10 +1125,10 @@ export default class Client extends OpenApi {
1125
1125
  */
1126
1126
  listLumaDocuments(request: $_model.ListLumaDocumentsRequest): Promise<$_model.ListLumaDocumentsResponse>;
1127
1127
  /**
1128
- * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
1128
+ * Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
1129
1129
  *
1130
1130
  * @remarks
1131
- * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
1131
+ * Lists the knowledge bases bound to a Luma Agent in a specified namespace. Results are returned in pages. To retrieve the next page, pass the NextToken value from the previous response. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than MaxResults. Do not determine whether the last page is reached based on an insufficient number of entries on the current page.
1132
1132
  *
1133
1133
  * @param request - ListLumaKnowledgeBasesRequest
1134
1134
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1136,10 +1136,10 @@ export default class Client extends OpenApi {
1136
1136
  */
1137
1137
  listLumaKnowledgeBasesWithOptions(request: $_model.ListLumaKnowledgeBasesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaKnowledgeBasesResponse>;
1138
1138
  /**
1139
- * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
1139
+ * Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
1140
1140
  *
1141
1141
  * @remarks
1142
- * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
1142
+ * Lists the knowledge bases bound to a Luma Agent in a specified namespace. Results are returned in pages. To retrieve the next page, pass the NextToken value from the previous response. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than MaxResults. Do not determine whether the last page is reached based on an insufficient number of entries on the current page.
1143
1143
  *
1144
1144
  * @param request - ListLumaKnowledgeBasesRequest
1145
1145
  * @returns ListLumaKnowledgeBasesResponse
@@ -1167,10 +1167,10 @@ export default class Client extends OpenApi {
1167
1167
  */
1168
1168
  listLumaNamespaces(request: $_model.ListLumaNamespacesRequest): Promise<$_model.ListLumaNamespacesResponse>;
1169
1169
  /**
1170
- * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
1170
+ * Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
1171
1171
  *
1172
1172
  * @remarks
1173
- * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
1173
+ * Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
1174
1174
  *
1175
1175
  * @param request - ListLumaTablesRequest
1176
1176
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1178,10 +1178,10 @@ export default class Client extends OpenApi {
1178
1178
  */
1179
1179
  listLumaTablesWithOptions(request: $_model.ListLumaTablesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListLumaTablesResponse>;
1180
1180
  /**
1181
- * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
1181
+ * Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
1182
1182
  *
1183
1183
  * @remarks
1184
- * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
1184
+ * Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
1185
1185
  *
1186
1186
  * @param request - ListLumaTablesRequest
1187
1187
  * @returns ListLumaTablesResponse
package/dist/client.js CHANGED
@@ -2735,6 +2735,9 @@ class Client extends openapi_core_1.default {
2735
2735
  if (!$dara.isNull(request.connectionNamePrefix)) {
2736
2736
  body["ConnectionNamePrefix"] = request.connectionNamePrefix;
2737
2737
  }
2738
+ if (!$dara.isNull(request.excludeType)) {
2739
+ body["ExcludeType"] = request.excludeType;
2740
+ }
2738
2741
  if (!$dara.isNull(request.maxResults)) {
2739
2742
  body["MaxResults"] = request.maxResults;
2740
2743
  }
@@ -2942,6 +2945,12 @@ class Client extends openapi_core_1.default {
2942
2945
  if (!$dara.isNull(request.agentName)) {
2943
2946
  body["AgentName"] = request.agentName;
2944
2947
  }
2948
+ if (!$dara.isNull(request.limit)) {
2949
+ body["Limit"] = request.limit;
2950
+ }
2951
+ if (!$dara.isNull(request.nextToken)) {
2952
+ body["NextToken"] = request.nextToken;
2953
+ }
2945
2954
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2946
2955
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
2947
2956
  });
@@ -3107,10 +3116,10 @@ class Client extends openapi_core_1.default {
3107
3116
  return await this.listLumaDocumentsWithOptions(request, runtime);
3108
3117
  }
3109
3118
  /**
3110
- * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
3119
+ * Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
3111
3120
  *
3112
3121
  * @remarks
3113
- * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
3122
+ * Lists the knowledge bases bound to a Luma Agent in a specified namespace. Results are returned in pages. To retrieve the next page, pass the NextToken value from the previous response. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than MaxResults. Do not determine whether the last page is reached based on an insufficient number of entries on the current page.
3114
3123
  *
3115
3124
  * @param request - ListLumaKnowledgeBasesRequest
3116
3125
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3125,9 +3134,15 @@ class Client extends openapi_core_1.default {
3125
3134
  if (!$dara.isNull(request.catalog)) {
3126
3135
  body["Catalog"] = request.catalog;
3127
3136
  }
3137
+ if (!$dara.isNull(request.maxResults)) {
3138
+ body["MaxResults"] = request.maxResults;
3139
+ }
3128
3140
  if (!$dara.isNull(request.namespace)) {
3129
3141
  body["Namespace"] = request.namespace;
3130
3142
  }
3143
+ if (!$dara.isNull(request.nextToken)) {
3144
+ body["NextToken"] = request.nextToken;
3145
+ }
3131
3146
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3132
3147
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
3133
3148
  });
@@ -3145,10 +3160,10 @@ class Client extends openapi_core_1.default {
3145
3160
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaKnowledgeBasesResponse({}));
3146
3161
  }
3147
3162
  /**
3148
- * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
3163
+ * Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
3149
3164
  *
3150
3165
  * @remarks
3151
- * Lists all knowledge bases bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
3166
+ * Lists the knowledge bases bound to a Luma Agent in a specified namespace. Results are returned in pages. To retrieve the next page, pass the NextToken value from the previous response. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than MaxResults. Do not determine whether the last page is reached based on an insufficient number of entries on the current page.
3152
3167
  *
3153
3168
  * @param request - ListLumaKnowledgeBasesRequest
3154
3169
  * @returns ListLumaKnowledgeBasesResponse
@@ -3176,6 +3191,12 @@ class Client extends openapi_core_1.default {
3176
3191
  if (!$dara.isNull(request.catalog)) {
3177
3192
  body["Catalog"] = request.catalog;
3178
3193
  }
3194
+ if (!$dara.isNull(request.limit)) {
3195
+ body["Limit"] = request.limit;
3196
+ }
3197
+ if (!$dara.isNull(request.nextToken)) {
3198
+ body["NextToken"] = request.nextToken;
3199
+ }
3179
3200
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3180
3201
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
3181
3202
  });
@@ -3206,10 +3227,10 @@ class Client extends openapi_core_1.default {
3206
3227
  return await this.listLumaNamespacesWithOptions(request, runtime);
3207
3228
  }
3208
3229
  /**
3209
- * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
3230
+ * Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
3210
3231
  *
3211
3232
  * @remarks
3212
- * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
3233
+ * Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
3213
3234
  *
3214
3235
  * @param request - ListLumaTablesRequest
3215
3236
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3224,9 +3245,15 @@ class Client extends openapi_core_1.default {
3224
3245
  if (!$dara.isNull(request.catalog)) {
3225
3246
  body["Catalog"] = request.catalog;
3226
3247
  }
3248
+ if (!$dara.isNull(request.limit)) {
3249
+ body["Limit"] = request.limit;
3250
+ }
3227
3251
  if (!$dara.isNull(request.namespace)) {
3228
3252
  body["Namespace"] = request.namespace;
3229
3253
  }
3254
+ if (!$dara.isNull(request.nextToken)) {
3255
+ body["NextToken"] = request.nextToken;
3256
+ }
3230
3257
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3231
3258
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
3232
3259
  });
@@ -3244,10 +3271,10 @@ class Client extends openapi_core_1.default {
3244
3271
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaTablesResponse({}));
3245
3272
  }
3246
3273
  /**
3247
- * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
3274
+ * Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
3248
3275
  *
3249
3276
  * @remarks
3250
- * Lists all event tables bound to a Luma Agent under a specified namespace. Returns the complete set of bindings without pagination.
3277
+ * Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
3251
3278
  *
3252
3279
  * @param request - ListLumaTablesRequest
3253
3280
  * @returns ListLumaTablesResponse
@@ -4413,6 +4440,12 @@ class Client extends openapi_core_1.default {
4413
4440
  if (!$dara.isNull(request.description)) {
4414
4441
  body["Description"] = request.description;
4415
4442
  }
4443
+ if (!$dara.isNull(request.mcpServerId)) {
4444
+ body["McpServerId"] = request.mcpServerId;
4445
+ }
4446
+ if (!$dara.isNull(request.mcpServerName)) {
4447
+ body["McpServerName"] = request.mcpServerName;
4448
+ }
4416
4449
  if (!$dara.isNull(request.metadataShrink)) {
4417
4450
  body["Metadata"] = request.metadataShrink;
4418
4451
  }