@aws-sdk/client-quicksight 3.1084.0 → 3.1085.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/README.md +14 -0
- package/dist-cjs/index.js +131 -29
- package/dist-es/QuickSight.js +4 -0
- package/dist-es/commands/CreateKnowledgeBaseCommand.js +4 -0
- package/dist-es/commands/UpdateKnowledgeBaseCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +30 -19
- package/dist-es/schemas/schemas_0.js +78 -9
- package/dist-types/QuickSight.d.ts +14 -0
- package/dist-types/QuickSightClient.d.ts +4 -2
- package/dist-types/commands/CreateDataSourceCommand.d.ts +40 -0
- package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +166 -0
- package/dist-types/commands/DescribeAssetBundleImportJobCommand.d.ts +20 -0
- package/dist-types/commands/DescribeDashboardSnapshotJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDashboardSnapshotJobResultCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDashboardsQAConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +42 -0
- package/dist-types/commands/DescribeKnowledgeBaseCommand.d.ts +3 -1
- package/dist-types/commands/ListDataSourcesCommand.d.ts +42 -0
- package/dist-types/commands/SearchKnowledgeBasesCommand.d.ts +1 -1
- package/dist-types/commands/SearchTopicsCommand.d.ts +2 -1
- package/dist-types/commands/StartAssetBundleExportJobCommand.d.ts +1 -1
- package/dist-types/commands/StartAssetBundleImportJobCommand.d.ts +21 -1
- package/dist-types/commands/StartAutomationJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +40 -0
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +128 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +78 -51
- package/dist-types/models/models_0.d.ts +12 -32
- package/dist-types/models/models_1.d.ts +32 -43
- package/dist-types/models/models_2.d.ts +465 -108
- package/dist-types/models/models_3.d.ts +292 -285
- package/dist-types/models/models_4.d.ts +292 -381
- package/dist-types/models/models_5.d.ts +376 -5
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/QuickSight.d.ts +34 -0
- package/dist-types/ts3.4/QuickSightClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateKnowledgeBaseCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/DescribeDashboardSnapshotJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeDashboardSnapshotJobResultCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDashboardsQAConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchTopicsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StartAssetBundleExportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAssetBundleImportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAutomationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKnowledgeBaseCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +40 -26
- package/dist-types/ts3.4/models/models_0.d.ts +3 -8
- package/dist-types/ts3.4/models/models_1.d.ts +8 -10
- package/dist-types/ts3.4/models/models_2.d.ts +333 -27
- package/dist-types/ts3.4/models/models_3.d.ts +73 -69
- package/dist-types/ts3.4/models/models_4.d.ts +72 -90
- package/dist-types/ts3.4/models/models_5.d.ts +88 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateKnowledgeBaseRequest, CreateKnowledgeBaseResponse } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateKnowledgeBaseCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateKnowledgeBaseCommandInput extends CreateKnowledgeBaseRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateKnowledgeBaseCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateKnowledgeBaseCommandOutput extends CreateKnowledgeBaseResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateKnowledgeBaseCommand_base: {
|
|
22
|
+
new (input: CreateKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, import("..").QuickSightClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<CreateKnowledgeBaseCommandInput, CreateKnowledgeBaseCommandOutput, import("..").QuickSightClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a knowledge base from a specified data source. Supported data source connector types include:</p>
|
|
28
|
+
* <ul>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>S3_KNOWLEDGE_BASE</code> – Uses an Amazon S3 bucket as the data source.</p>
|
|
32
|
+
* </li>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>
|
|
35
|
+
* <code>WEB_CRAWLER</code> – Uses web pages indexed by the built-in web crawler as the data source.</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>GOOGLE_DRIVE</code> – Uses Google Drive as the data source. Supports service account authentication only.</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <code>SHAREPOINT</code> – Uses SharePoint as the data source. Supports two-legged OAuth only.</p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>
|
|
47
|
+
* <code>ONE_DRIVE</code> – Uses OneDrive as the data source. Supports two-legged OAuth only.</p>
|
|
48
|
+
* </li>
|
|
49
|
+
* </ul>
|
|
50
|
+
* @example
|
|
51
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
+
* ```javascript
|
|
53
|
+
* import { QuickSightClient, CreateKnowledgeBaseCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
54
|
+
* // const { QuickSightClient, CreateKnowledgeBaseCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
55
|
+
* // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
|
|
56
|
+
* const config = {}; // type is QuickSightClientConfig
|
|
57
|
+
* const client = new QuickSightClient(config);
|
|
58
|
+
* const input = { // CreateKnowledgeBaseRequest
|
|
59
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
60
|
+
* KnowledgeBaseId: "STRING_VALUE", // required
|
|
61
|
+
* Name: "STRING_VALUE", // required
|
|
62
|
+
* DataSourceArn: "STRING_VALUE", // required
|
|
63
|
+
* KnowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
64
|
+
* templateConfiguration: { // KbTemplateConfiguration
|
|
65
|
+
* template: "DOCUMENT_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* Description: "STRING_VALUE",
|
|
69
|
+
* Permissions: [ // ResourcePermissionList
|
|
70
|
+
* { // ResourcePermission
|
|
71
|
+
* Principal: "STRING_VALUE", // required
|
|
72
|
+
* Actions: [ // ActionList // required
|
|
73
|
+
* "STRING_VALUE",
|
|
74
|
+
* ],
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* MediaExtractionConfiguration: { // MediaExtractionConfiguration
|
|
78
|
+
* imageExtractionConfiguration: { // ImageExtractionConfiguration
|
|
79
|
+
* imageExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
80
|
+
* },
|
|
81
|
+
* audioExtractionConfiguration: { // AudioExtractionConfiguration
|
|
82
|
+
* audioExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
83
|
+
* },
|
|
84
|
+
* videoExtractionConfiguration: { // VideoExtractionConfiguration
|
|
85
|
+
* videoExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
86
|
+
* videoExtractionType: "AUDIO_TRANSCRIPTION_ONLY" || "VISUAL_CONTENT_AND_AUDIO_TRANSCRIPTION",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* AccessControlConfiguration: { // AccessControlConfiguration
|
|
90
|
+
* isACLEnabled: true || false,
|
|
91
|
+
* },
|
|
92
|
+
* PrimaryOwnerArn: "STRING_VALUE",
|
|
93
|
+
* Tags: [ // TagList
|
|
94
|
+
* { // Tag
|
|
95
|
+
* Key: "STRING_VALUE", // required
|
|
96
|
+
* Value: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* ],
|
|
99
|
+
* };
|
|
100
|
+
* const command = new CreateKnowledgeBaseCommand(input);
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* // { // CreateKnowledgeBaseResponse
|
|
103
|
+
* // KnowledgeBaseArn: "STRING_VALUE", // required
|
|
104
|
+
* // KnowledgeBaseId: "STRING_VALUE", // required
|
|
105
|
+
* // CreationStatus: "CREATING" || "UPDATING" || "ACTIVE" || "FAILED" || "DELETING", // required
|
|
106
|
+
* // RequestId: "STRING_VALUE",
|
|
107
|
+
* // Status: Number("int"),
|
|
108
|
+
* // };
|
|
109
|
+
*
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* @param CreateKnowledgeBaseCommandInput - {@link CreateKnowledgeBaseCommandInput}
|
|
113
|
+
* @returns {@link CreateKnowledgeBaseCommandOutput}
|
|
114
|
+
* @see {@link CreateKnowledgeBaseCommandInput} for command's `input` shape.
|
|
115
|
+
* @see {@link CreateKnowledgeBaseCommandOutput} for command's `response` shape.
|
|
116
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
119
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
120
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
121
|
+
* account is authorized to use the Amazon Quick Sight service, that your policies have the
|
|
122
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
125
|
+
* <p>An internal failure occurred.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
128
|
+
* <p>One or more parameters has a value that isn't valid.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
131
|
+
* <p>You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
134
|
+
* <p>A limit is exceeded.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link PreconditionNotMetException} (client fault)
|
|
137
|
+
* <p>One or more preconditions aren't met.</p>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link ResourceExistsException} (client fault)
|
|
140
|
+
* <p>The resource specified already exists. </p>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
143
|
+
* <p>One or more resources can't be found.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
146
|
+
* <p>Access is throttled.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link QuickSightServiceException}
|
|
149
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
150
|
+
*
|
|
151
|
+
*
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export declare class CreateKnowledgeBaseCommand extends CreateKnowledgeBaseCommand_base {
|
|
155
|
+
/** @internal type navigation helper, not in runtime. */
|
|
156
|
+
protected static __types: {
|
|
157
|
+
api: {
|
|
158
|
+
input: CreateKnowledgeBaseRequest;
|
|
159
|
+
output: CreateKnowledgeBaseResponse;
|
|
160
|
+
};
|
|
161
|
+
sdk: {
|
|
162
|
+
input: CreateKnowledgeBaseCommandInput;
|
|
163
|
+
output: CreateKnowledgeBaseCommandOutput;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
}
|
|
@@ -286,6 +286,26 @@ declare const DescribeAssetBundleImportJobCommand_base: {
|
|
|
286
286
|
* // QBusinessParameters: { // QBusinessParameters
|
|
287
287
|
* // ApplicationArn: "STRING_VALUE", // required
|
|
288
288
|
* // },
|
|
289
|
+
* // SharePointParameters: { // SharePointParameters
|
|
290
|
+
* // SharePointDomain: "STRING_VALUE", // required
|
|
291
|
+
* // TenantId: "STRING_VALUE",
|
|
292
|
+
* // ClientId: "STRING_VALUE",
|
|
293
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
294
|
+
* // },
|
|
295
|
+
* // GoogleDriveParameters: { // GoogleDriveParameters
|
|
296
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
297
|
+
* // },
|
|
298
|
+
* // OneDriveParameters: { // OneDriveParameters
|
|
299
|
+
* // TenantId: "STRING_VALUE",
|
|
300
|
+
* // ClientId: "STRING_VALUE",
|
|
301
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
302
|
+
* // },
|
|
303
|
+
* // FMKBParameters: { // FMKBParameters
|
|
304
|
+
* // KnowledgeBaseArn: "STRING_VALUE", // required
|
|
305
|
+
* // LinkedDataSourceIds: [ // LinkedDataSourceIds
|
|
306
|
+
* // "STRING_VALUE",
|
|
307
|
+
* // ],
|
|
308
|
+
* // },
|
|
289
309
|
* // },
|
|
290
310
|
* // VpcConnectionProperties: {
|
|
291
311
|
* // VpcConnectionArn: "STRING_VALUE", // required
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeDashboardSnapshotJobRequest
|
|
2
|
+
import type { DescribeDashboardSnapshotJobRequest } from "../models/models_3";
|
|
3
|
+
import type { DescribeDashboardSnapshotJobResponse } from "../models/models_4";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeDashboardSnapshotJobResultRequest, DescribeDashboardSnapshotJobResultResponse } from "../models/
|
|
2
|
+
import type { DescribeDashboardSnapshotJobResultRequest, DescribeDashboardSnapshotJobResultResponse } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeDashboardsQAConfigurationRequest, DescribeDashboardsQAConfigurationResponse } from "../models/
|
|
2
|
+
import type { DescribeDashboardsQAConfigurationRequest, DescribeDashboardsQAConfigurationResponse } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -238,6 +238,26 @@ declare const DescribeDataSourceCommand_base: {
|
|
|
238
238
|
* // QBusinessParameters: { // QBusinessParameters
|
|
239
239
|
* // ApplicationArn: "STRING_VALUE", // required
|
|
240
240
|
* // },
|
|
241
|
+
* // SharePointParameters: { // SharePointParameters
|
|
242
|
+
* // SharePointDomain: "STRING_VALUE", // required
|
|
243
|
+
* // TenantId: "STRING_VALUE",
|
|
244
|
+
* // ClientId: "STRING_VALUE",
|
|
245
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
246
|
+
* // },
|
|
247
|
+
* // GoogleDriveParameters: { // GoogleDriveParameters
|
|
248
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
249
|
+
* // },
|
|
250
|
+
* // OneDriveParameters: { // OneDriveParameters
|
|
251
|
+
* // TenantId: "STRING_VALUE",
|
|
252
|
+
* // ClientId: "STRING_VALUE",
|
|
253
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
254
|
+
* // },
|
|
255
|
+
* // FMKBParameters: { // FMKBParameters
|
|
256
|
+
* // KnowledgeBaseArn: "STRING_VALUE", // required
|
|
257
|
+
* // LinkedDataSourceIds: [ // LinkedDataSourceIds
|
|
258
|
+
* // "STRING_VALUE",
|
|
259
|
+
* // ],
|
|
260
|
+
* // },
|
|
241
261
|
* // },
|
|
242
262
|
* // AlternateDataSourceParameters: [ // DataSourceParametersList
|
|
243
263
|
* // {// Union: only one key present
|
|
@@ -430,6 +450,26 @@ declare const DescribeDataSourceCommand_base: {
|
|
|
430
450
|
* // QBusinessParameters: {
|
|
431
451
|
* // ApplicationArn: "STRING_VALUE", // required
|
|
432
452
|
* // },
|
|
453
|
+
* // SharePointParameters: {
|
|
454
|
+
* // SharePointDomain: "STRING_VALUE", // required
|
|
455
|
+
* // TenantId: "STRING_VALUE",
|
|
456
|
+
* // ClientId: "STRING_VALUE",
|
|
457
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
458
|
+
* // },
|
|
459
|
+
* // GoogleDriveParameters: {
|
|
460
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
461
|
+
* // },
|
|
462
|
+
* // OneDriveParameters: {
|
|
463
|
+
* // TenantId: "STRING_VALUE",
|
|
464
|
+
* // ClientId: "STRING_VALUE",
|
|
465
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
466
|
+
* // },
|
|
467
|
+
* // FMKBParameters: {
|
|
468
|
+
* // KnowledgeBaseArn: "STRING_VALUE", // required
|
|
469
|
+
* // LinkedDataSourceIds: [
|
|
470
|
+
* // "STRING_VALUE",
|
|
471
|
+
* // ],
|
|
472
|
+
* // },
|
|
433
473
|
* // },
|
|
434
474
|
* // ],
|
|
435
475
|
* // VpcConnectionProperties: "<VpcConnectionProperties>",
|
|
@@ -441,6 +481,8 @@ declare const DescribeDataSourceCommand_base: {
|
|
|
441
481
|
* // Message: "STRING_VALUE",
|
|
442
482
|
* // },
|
|
443
483
|
* // SecretArn: "STRING_VALUE",
|
|
484
|
+
* // CredentialStatus: "CONNECTED" || "AUTH_FAILED" || "NOT_VERIFIED",
|
|
485
|
+
* // LastCredentialVerifiedAt: new Date("TIMESTAMP"),
|
|
444
486
|
* // },
|
|
445
487
|
* // RequestId: "STRING_VALUE",
|
|
446
488
|
* // Status: Number("int"),
|
|
@@ -50,7 +50,6 @@ declare const DescribeKnowledgeBaseCommand_base: {
|
|
|
50
50
|
* // templateConfiguration: { // KbTemplateConfiguration
|
|
51
51
|
* // template: "DOCUMENT_VALUE",
|
|
52
52
|
* // },
|
|
53
|
-
* // eventEnabled: true || false,
|
|
54
53
|
* // },
|
|
55
54
|
* // MediaExtractionConfiguration: { // MediaExtractionConfiguration
|
|
56
55
|
* // imageExtractionConfiguration: { // ImageExtractionConfiguration
|
|
@@ -64,6 +63,9 @@ declare const DescribeKnowledgeBaseCommand_base: {
|
|
|
64
63
|
* // videoExtractionType: "AUDIO_TRANSCRIPTION_ONLY" || "VISUAL_CONTENT_AND_AUDIO_TRANSCRIPTION",
|
|
65
64
|
* // },
|
|
66
65
|
* // },
|
|
66
|
+
* // AccessControlConfiguration: { // AccessControlConfiguration
|
|
67
|
+
* // isACLEnabled: true || false,
|
|
68
|
+
* // },
|
|
67
69
|
* // Type: "STRING_VALUE",
|
|
68
70
|
* // CreatedAt: new Date("TIMESTAMP"),
|
|
69
71
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
@@ -240,6 +240,26 @@ declare const ListDataSourcesCommand_base: {
|
|
|
240
240
|
* // QBusinessParameters: { // QBusinessParameters
|
|
241
241
|
* // ApplicationArn: "STRING_VALUE", // required
|
|
242
242
|
* // },
|
|
243
|
+
* // SharePointParameters: { // SharePointParameters
|
|
244
|
+
* // SharePointDomain: "STRING_VALUE", // required
|
|
245
|
+
* // TenantId: "STRING_VALUE",
|
|
246
|
+
* // ClientId: "STRING_VALUE",
|
|
247
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
248
|
+
* // },
|
|
249
|
+
* // GoogleDriveParameters: { // GoogleDriveParameters
|
|
250
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
251
|
+
* // },
|
|
252
|
+
* // OneDriveParameters: { // OneDriveParameters
|
|
253
|
+
* // TenantId: "STRING_VALUE",
|
|
254
|
+
* // ClientId: "STRING_VALUE",
|
|
255
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
256
|
+
* // },
|
|
257
|
+
* // FMKBParameters: { // FMKBParameters
|
|
258
|
+
* // KnowledgeBaseArn: "STRING_VALUE", // required
|
|
259
|
+
* // LinkedDataSourceIds: [ // LinkedDataSourceIds
|
|
260
|
+
* // "STRING_VALUE",
|
|
261
|
+
* // ],
|
|
262
|
+
* // },
|
|
243
263
|
* // },
|
|
244
264
|
* // AlternateDataSourceParameters: [ // DataSourceParametersList
|
|
245
265
|
* // {// Union: only one key present
|
|
@@ -432,6 +452,26 @@ declare const ListDataSourcesCommand_base: {
|
|
|
432
452
|
* // QBusinessParameters: {
|
|
433
453
|
* // ApplicationArn: "STRING_VALUE", // required
|
|
434
454
|
* // },
|
|
455
|
+
* // SharePointParameters: {
|
|
456
|
+
* // SharePointDomain: "STRING_VALUE", // required
|
|
457
|
+
* // TenantId: "STRING_VALUE",
|
|
458
|
+
* // ClientId: "STRING_VALUE",
|
|
459
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
460
|
+
* // },
|
|
461
|
+
* // GoogleDriveParameters: {
|
|
462
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
463
|
+
* // },
|
|
464
|
+
* // OneDriveParameters: {
|
|
465
|
+
* // TenantId: "STRING_VALUE",
|
|
466
|
+
* // ClientId: "STRING_VALUE",
|
|
467
|
+
* // AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
468
|
+
* // },
|
|
469
|
+
* // FMKBParameters: {
|
|
470
|
+
* // KnowledgeBaseArn: "STRING_VALUE", // required
|
|
471
|
+
* // LinkedDataSourceIds: [
|
|
472
|
+
* // "STRING_VALUE",
|
|
473
|
+
* // ],
|
|
474
|
+
* // },
|
|
435
475
|
* // },
|
|
436
476
|
* // ],
|
|
437
477
|
* // VpcConnectionProperties: "<VpcConnectionProperties>",
|
|
@@ -443,6 +483,8 @@ declare const ListDataSourcesCommand_base: {
|
|
|
443
483
|
* // Message: "STRING_VALUE",
|
|
444
484
|
* // },
|
|
445
485
|
* // SecretArn: "STRING_VALUE",
|
|
486
|
+
* // CredentialStatus: "CONNECTED" || "AUTH_FAILED" || "NOT_VERIFIED",
|
|
487
|
+
* // LastCredentialVerifiedAt: new Date("TIMESTAMP"),
|
|
446
488
|
* // },
|
|
447
489
|
* // ],
|
|
448
490
|
* // NextToken: "STRING_VALUE",
|
|
@@ -39,7 +39,7 @@ declare const SearchKnowledgeBasesCommand_base: {
|
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
40
|
* Filters: [ // KnowledgeBaseSearchFilters
|
|
41
41
|
* { // KnowledgeBaseSearchFilter
|
|
42
|
-
* name: "KNOWLEDGE_BASE_ID" || "KNOWLEDGE_BASE_NAME" || "DIRECT_QUICKSIGHT_OWNER" || "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" || "DIRECT_QUICKSIGHT_SOLE_OWNER" || "KNOWLEDGE_BASE_SIZE_BYTES" || "PRIMARY_OWNER", // required
|
|
42
|
+
* name: "KNOWLEDGE_BASE_ID" || "KNOWLEDGE_BASE_NAME" || "DIRECT_QUICKSIGHT_OWNER" || "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" || "DIRECT_QUICKSIGHT_SOLE_OWNER" || "KNOWLEDGE_BASE_SIZE_BYTES" || "PRIMARY_OWNER" || "DATASOURCE_ARN", // required
|
|
43
43
|
* operator: "STRING_EQUALS" || "STRING_LIKE" || "GREATER_THAN_OR_EQUALS" || "LESS_THAN_OR_EQUALS", // required
|
|
44
44
|
* value: "STRING_VALUE", // required
|
|
45
45
|
* },
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { SearchTopicsRequest
|
|
2
|
+
import type { SearchTopicsRequest } from "../models/models_4";
|
|
3
|
+
import type { SearchTopicsResponse } from "../models/models_5";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartAssetBundleExportJobRequest, StartAssetBundleExportJobResponse } from "../models/
|
|
2
|
+
import type { StartAssetBundleExportJobRequest, StartAssetBundleExportJobResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartAssetBundleImportJobRequest, StartAssetBundleImportJobResponse } from "../models/
|
|
2
|
+
import type { StartAssetBundleImportJobRequest, StartAssetBundleImportJobResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -270,6 +270,26 @@ declare const StartAssetBundleImportJobCommand_base: {
|
|
|
270
270
|
* QBusinessParameters: { // QBusinessParameters
|
|
271
271
|
* ApplicationArn: "STRING_VALUE", // required
|
|
272
272
|
* },
|
|
273
|
+
* SharePointParameters: { // SharePointParameters
|
|
274
|
+
* SharePointDomain: "STRING_VALUE", // required
|
|
275
|
+
* TenantId: "STRING_VALUE",
|
|
276
|
+
* ClientId: "STRING_VALUE",
|
|
277
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
278
|
+
* },
|
|
279
|
+
* GoogleDriveParameters: { // GoogleDriveParameters
|
|
280
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
281
|
+
* },
|
|
282
|
+
* OneDriveParameters: { // OneDriveParameters
|
|
283
|
+
* TenantId: "STRING_VALUE",
|
|
284
|
+
* ClientId: "STRING_VALUE",
|
|
285
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
286
|
+
* },
|
|
287
|
+
* FMKBParameters: { // FMKBParameters
|
|
288
|
+
* KnowledgeBaseArn: "STRING_VALUE", // required
|
|
289
|
+
* LinkedDataSourceIds: [ // LinkedDataSourceIds
|
|
290
|
+
* "STRING_VALUE",
|
|
291
|
+
* ],
|
|
292
|
+
* },
|
|
273
293
|
* },
|
|
274
294
|
* VpcConnectionProperties: {
|
|
275
295
|
* VpcConnectionArn: "STRING_VALUE", // required
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartAutomationJobRequest, StartAutomationJobResponse } from "../models/
|
|
2
|
+
import type { StartAutomationJobRequest, StartAutomationJobResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -227,6 +227,26 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
227
227
|
* QBusinessParameters: { // QBusinessParameters
|
|
228
228
|
* ApplicationArn: "STRING_VALUE", // required
|
|
229
229
|
* },
|
|
230
|
+
* SharePointParameters: { // SharePointParameters
|
|
231
|
+
* SharePointDomain: "STRING_VALUE", // required
|
|
232
|
+
* TenantId: "STRING_VALUE",
|
|
233
|
+
* ClientId: "STRING_VALUE",
|
|
234
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
235
|
+
* },
|
|
236
|
+
* GoogleDriveParameters: { // GoogleDriveParameters
|
|
237
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
238
|
+
* },
|
|
239
|
+
* OneDriveParameters: { // OneDriveParameters
|
|
240
|
+
* TenantId: "STRING_VALUE",
|
|
241
|
+
* ClientId: "STRING_VALUE",
|
|
242
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
243
|
+
* },
|
|
244
|
+
* FMKBParameters: { // FMKBParameters
|
|
245
|
+
* KnowledgeBaseArn: "STRING_VALUE", // required
|
|
246
|
+
* LinkedDataSourceIds: [ // LinkedDataSourceIds
|
|
247
|
+
* "STRING_VALUE",
|
|
248
|
+
* ],
|
|
249
|
+
* },
|
|
230
250
|
* },
|
|
231
251
|
* Credentials: { // DataSourceCredentials
|
|
232
252
|
* CredentialPair: { // CredentialPair
|
|
@@ -423,6 +443,26 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
423
443
|
* QBusinessParameters: {
|
|
424
444
|
* ApplicationArn: "STRING_VALUE", // required
|
|
425
445
|
* },
|
|
446
|
+
* SharePointParameters: {
|
|
447
|
+
* SharePointDomain: "STRING_VALUE", // required
|
|
448
|
+
* TenantId: "STRING_VALUE",
|
|
449
|
+
* ClientId: "STRING_VALUE",
|
|
450
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
451
|
+
* },
|
|
452
|
+
* GoogleDriveParameters: {
|
|
453
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
454
|
+
* },
|
|
455
|
+
* OneDriveParameters: {
|
|
456
|
+
* TenantId: "STRING_VALUE",
|
|
457
|
+
* ClientId: "STRING_VALUE",
|
|
458
|
+
* AuthType: "THREE_LEGGED_OAUTH" || "TWO_LEGGED_OAUTH" || "SERVICE_ACCOUNT",
|
|
459
|
+
* },
|
|
460
|
+
* FMKBParameters: {
|
|
461
|
+
* KnowledgeBaseArn: "STRING_VALUE", // required
|
|
462
|
+
* LinkedDataSourceIds: [
|
|
463
|
+
* "STRING_VALUE",
|
|
464
|
+
* ],
|
|
465
|
+
* },
|
|
426
466
|
* },
|
|
427
467
|
* ],
|
|
428
468
|
* },
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateKnowledgeBaseRequest, UpdateKnowledgeBaseResponse } from "../models/models_5";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateKnowledgeBaseCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateKnowledgeBaseCommandInput extends UpdateKnowledgeBaseRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateKnowledgeBaseCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateKnowledgeBaseCommandOutput extends UpdateKnowledgeBaseResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateKnowledgeBaseCommand_base: {
|
|
22
|
+
new (input: UpdateKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput, import("..").QuickSightClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateKnowledgeBaseCommandInput): import("@smithy/core/client").CommandImpl<UpdateKnowledgeBaseCommandInput, UpdateKnowledgeBaseCommandOutput, import("..").QuickSightClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the properties of an existing knowledge base.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { QuickSightClient, UpdateKnowledgeBaseCommand } from "@aws-sdk/client-quicksight"; // ES Modules import
|
|
32
|
+
* // const { QuickSightClient, UpdateKnowledgeBaseCommand } = require("@aws-sdk/client-quicksight"); // CommonJS import
|
|
33
|
+
* // import type { QuickSightClientConfig } from "@aws-sdk/client-quicksight";
|
|
34
|
+
* const config = {}; // type is QuickSightClientConfig
|
|
35
|
+
* const client = new QuickSightClient(config);
|
|
36
|
+
* const input = { // UpdateKnowledgeBaseRequest
|
|
37
|
+
* AwsAccountId: "STRING_VALUE", // required
|
|
38
|
+
* KnowledgeBaseId: "STRING_VALUE", // required
|
|
39
|
+
* Name: "STRING_VALUE",
|
|
40
|
+
* Description: "STRING_VALUE",
|
|
41
|
+
* KnowledgeBaseConfiguration: { // KnowledgeBaseConfiguration
|
|
42
|
+
* templateConfiguration: { // KbTemplateConfiguration
|
|
43
|
+
* template: "DOCUMENT_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* MediaExtractionConfiguration: { // MediaExtractionConfiguration
|
|
47
|
+
* imageExtractionConfiguration: { // ImageExtractionConfiguration
|
|
48
|
+
* imageExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
49
|
+
* },
|
|
50
|
+
* audioExtractionConfiguration: { // AudioExtractionConfiguration
|
|
51
|
+
* audioExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
52
|
+
* },
|
|
53
|
+
* videoExtractionConfiguration: { // VideoExtractionConfiguration
|
|
54
|
+
* videoExtractionStatus: "ENABLED" || "DISABLED", // required
|
|
55
|
+
* videoExtractionType: "AUDIO_TRANSCRIPTION_ONLY" || "VISUAL_CONTENT_AND_AUDIO_TRANSCRIPTION",
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* IsEmailNotificationOptedForIngestionFailures: true || false,
|
|
59
|
+
* AccessControlConfiguration: { // AccessControlConfiguration
|
|
60
|
+
* isACLEnabled: true || false,
|
|
61
|
+
* },
|
|
62
|
+
* };
|
|
63
|
+
* const command = new UpdateKnowledgeBaseCommand(input);
|
|
64
|
+
* const response = await client.send(command);
|
|
65
|
+
* // { // UpdateKnowledgeBaseResponse
|
|
66
|
+
* // KnowledgeBaseArn: "STRING_VALUE", // required
|
|
67
|
+
* // KnowledgeBaseId: "STRING_VALUE", // required
|
|
68
|
+
* // RequestId: "STRING_VALUE",
|
|
69
|
+
* // Status: Number("int"),
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param UpdateKnowledgeBaseCommandInput - {@link UpdateKnowledgeBaseCommandInput}
|
|
75
|
+
* @returns {@link UpdateKnowledgeBaseCommandOutput}
|
|
76
|
+
* @see {@link UpdateKnowledgeBaseCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link UpdateKnowledgeBaseCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link QuickSightClientResolvedConfig | config} for QuickSightClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* <p>You don't have access to this item. The provided credentials couldn't be
|
|
82
|
+
* validated. You might not be authorized to carry out the request. Make sure that your
|
|
83
|
+
* account is authorized to use the Amazon Quick Sight service, that your policies have the
|
|
84
|
+
* correct permissions, and that you are using the correct credentials.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConflictException} (client fault)
|
|
87
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
90
|
+
* <p>An internal failure occurred.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
93
|
+
* <p>One or more parameters has a value that isn't valid.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
96
|
+
* <p>You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
99
|
+
* <p>A limit is exceeded.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link PreconditionNotMetException} (client fault)
|
|
102
|
+
* <p>One or more preconditions aren't met.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
|
+
* <p>One or more resources can't be found.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
108
|
+
* <p>Access is throttled.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link QuickSightServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from QuickSight service.</p>
|
|
112
|
+
*
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
export declare class UpdateKnowledgeBaseCommand extends UpdateKnowledgeBaseCommand_base {
|
|
117
|
+
/** @internal type navigation helper, not in runtime. */
|
|
118
|
+
protected static __types: {
|
|
119
|
+
api: {
|
|
120
|
+
input: UpdateKnowledgeBaseRequest;
|
|
121
|
+
output: UpdateKnowledgeBaseResponse;
|
|
122
|
+
};
|
|
123
|
+
sdk: {
|
|
124
|
+
input: UpdateKnowledgeBaseCommandInput;
|
|
125
|
+
output: UpdateKnowledgeBaseCommandOutput;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./CreateGroupCommand";
|
|
|
19
19
|
export * from "./CreateGroupMembershipCommand";
|
|
20
20
|
export * from "./CreateIAMPolicyAssignmentCommand";
|
|
21
21
|
export * from "./CreateIngestionCommand";
|
|
22
|
+
export * from "./CreateKnowledgeBaseCommand";
|
|
22
23
|
export * from "./CreateNamespaceCommand";
|
|
23
24
|
export * from "./CreateOAuthClientApplicationCommand";
|
|
24
25
|
export * from "./CreateRefreshScheduleCommand";
|
|
@@ -240,6 +241,7 @@ export * from "./UpdateIAMPolicyAssignmentCommand";
|
|
|
240
241
|
export * from "./UpdateIdentityPropagationConfigCommand";
|
|
241
242
|
export * from "./UpdateIpRestrictionCommand";
|
|
242
243
|
export * from "./UpdateKeyRegistrationCommand";
|
|
244
|
+
export * from "./UpdateKnowledgeBaseCommand";
|
|
243
245
|
export * from "./UpdateKnowledgeBasePermissionsCommand";
|
|
244
246
|
export * from "./UpdateOAuthClientApplicationCommand";
|
|
245
247
|
export * from "./UpdatePublicSharingSettingsCommand";
|