@aws-sdk/client-qbusiness 3.738.0 → 3.741.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 +32 -0
- package/dist-cjs/index.js +220 -8
- package/dist-es/QBusiness.js +8 -0
- package/dist-es/commands/CancelSubscriptionCommand.js +22 -0
- package/dist-es/commands/CreateSubscriptionCommand.js +22 -0
- package/dist-es/commands/ListSubscriptionsCommand.js +22 -0
- package/dist-es/commands/UpdateSubscriptionCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +10 -7
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/pagination/ListSubscriptionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +118 -0
- package/dist-types/QBusiness.d.ts +28 -0
- package/dist-types/QBusinessClient.d.ts +6 -2
- package/dist-types/commands/AssociatePermissionCommand.d.ts +3 -3
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +100 -0
- package/dist-types/commands/CreateDataAccessorCommand.d.ts +4 -4
- package/dist-types/commands/CreateSubscriptionCommand.d.ts +113 -0
- package/dist-types/commands/DeleteDataAccessorCommand.d.ts +1 -1
- package/dist-types/commands/DisassociatePermissionCommand.d.ts +1 -1
- package/dist-types/commands/GetDataAccessorCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListDataAccessorsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +113 -0
- package/dist-types/commands/PutGroupCommand.d.ts +5 -1
- package/dist-types/commands/SearchRelevantContentCommand.d.ts +3 -4
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -2
- package/dist-types/commands/UpdateSubscriptionCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +234 -203
- package/dist-types/models/models_1.d.ts +241 -7
- package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/QBusiness.d.ts +68 -0
- package/dist-types/ts3.4/QBusinessClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchRelevantContentCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -48
- package/dist-types/ts3.4/models/models_1.d.ts +63 -0
- package/dist-types/ts3.4/pagination/ListSubscriptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +2 -2
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CancelSubscriptionRequest,
|
|
5
|
+
CancelSubscriptionResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
QBusinessClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QBusinessClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CancelSubscriptionCommandInput
|
|
15
|
+
extends CancelSubscriptionRequest {}
|
|
16
|
+
export interface CancelSubscriptionCommandOutput
|
|
17
|
+
extends CancelSubscriptionResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CancelSubscriptionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CancelSubscriptionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CancelSubscriptionCommandInput,
|
|
24
|
+
CancelSubscriptionCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: CancelSubscriptionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CancelSubscriptionCommandInput,
|
|
33
|
+
CancelSubscriptionCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CancelSubscriptionCommand extends CancelSubscriptionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CancelSubscriptionRequest;
|
|
44
|
+
output: CancelSubscriptionResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CancelSubscriptionCommandInput;
|
|
48
|
+
output: CancelSubscriptionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CreateSubscriptionRequest,
|
|
5
|
+
CreateSubscriptionResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
QBusinessClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QBusinessClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateSubscriptionCommandInput
|
|
15
|
+
extends CreateSubscriptionRequest {}
|
|
16
|
+
export interface CreateSubscriptionCommandOutput
|
|
17
|
+
extends CreateSubscriptionResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateSubscriptionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateSubscriptionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
CreateSubscriptionCommandInput,
|
|
24
|
+
CreateSubscriptionCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: CreateSubscriptionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
CreateSubscriptionCommandInput,
|
|
33
|
+
CreateSubscriptionCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class CreateSubscriptionCommand extends CreateSubscriptionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: CreateSubscriptionRequest;
|
|
44
|
+
output: CreateSubscriptionResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: CreateSubscriptionCommandInput;
|
|
48
|
+
output: CreateSubscriptionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListSubscriptionsRequest,
|
|
5
|
+
ListSubscriptionsResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
QBusinessClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QBusinessClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListSubscriptionsCommandInput
|
|
15
|
+
extends ListSubscriptionsRequest {}
|
|
16
|
+
export interface ListSubscriptionsCommandOutput
|
|
17
|
+
extends ListSubscriptionsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListSubscriptionsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListSubscriptionsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListSubscriptionsCommandInput,
|
|
24
|
+
ListSubscriptionsCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListSubscriptionsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListSubscriptionsCommandInput,
|
|
33
|
+
ListSubscriptionsCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListSubscriptionsCommand extends ListSubscriptionsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListSubscriptionsRequest;
|
|
44
|
+
output: ListSubscriptionsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListSubscriptionsCommandInput;
|
|
48
|
+
output: ListSubscriptionsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { PutGroupRequest, PutGroupResponse } from "../models/
|
|
3
|
+
import { PutGroupRequest, PutGroupResponse } from "../models/models_1";
|
|
4
4
|
import {
|
|
5
5
|
QBusinessClientResolvedConfig,
|
|
6
6
|
ServiceInputTypes,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
SearchRelevantContentRequest,
|
|
5
|
+
SearchRelevantContentResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
5
7
|
import {
|
|
6
8
|
QBusinessClientResolvedConfig,
|
|
7
9
|
ServiceInputTypes,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
StartDataSourceSyncJobRequest,
|
|
5
|
+
StartDataSourceSyncJobResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
5
7
|
import {
|
|
6
8
|
QBusinessClientResolvedConfig,
|
|
7
9
|
ServiceInputTypes,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
UpdateSubscriptionRequest,
|
|
5
|
+
UpdateSubscriptionResponse,
|
|
6
|
+
} from "../models/models_1";
|
|
7
|
+
import {
|
|
8
|
+
QBusinessClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../QBusinessClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateSubscriptionCommandInput
|
|
15
|
+
extends UpdateSubscriptionRequest {}
|
|
16
|
+
export interface UpdateSubscriptionCommandOutput
|
|
17
|
+
extends UpdateSubscriptionResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateSubscriptionCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateSubscriptionCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateSubscriptionCommandInput,
|
|
24
|
+
UpdateSubscriptionCommandOutput,
|
|
25
|
+
QBusinessClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: UpdateSubscriptionCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateSubscriptionCommandInput,
|
|
33
|
+
UpdateSubscriptionCommandOutput,
|
|
34
|
+
QBusinessClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateSubscriptionCommand extends UpdateSubscriptionCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateSubscriptionRequest;
|
|
44
|
+
output: UpdateSubscriptionResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateSubscriptionCommandInput;
|
|
48
|
+
output: UpdateSubscriptionCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AssociatePermissionCommand";
|
|
2
2
|
export * from "./BatchDeleteDocumentCommand";
|
|
3
3
|
export * from "./BatchPutDocumentCommand";
|
|
4
|
+
export * from "./CancelSubscriptionCommand";
|
|
4
5
|
export * from "./ChatCommand";
|
|
5
6
|
export * from "./ChatSyncCommand";
|
|
6
7
|
export * from "./CreateApplicationCommand";
|
|
@@ -9,6 +10,7 @@ export * from "./CreateDataSourceCommand";
|
|
|
9
10
|
export * from "./CreateIndexCommand";
|
|
10
11
|
export * from "./CreatePluginCommand";
|
|
11
12
|
export * from "./CreateRetrieverCommand";
|
|
13
|
+
export * from "./CreateSubscriptionCommand";
|
|
12
14
|
export * from "./CreateUserCommand";
|
|
13
15
|
export * from "./CreateWebExperienceCommand";
|
|
14
16
|
export * from "./DeleteApplicationCommand";
|
|
@@ -50,6 +52,7 @@ export * from "./ListPluginTypeActionsCommand";
|
|
|
50
52
|
export * from "./ListPluginTypeMetadataCommand";
|
|
51
53
|
export * from "./ListPluginsCommand";
|
|
52
54
|
export * from "./ListRetrieversCommand";
|
|
55
|
+
export * from "./ListSubscriptionsCommand";
|
|
53
56
|
export * from "./ListTagsForResourceCommand";
|
|
54
57
|
export * from "./ListWebExperiencesCommand";
|
|
55
58
|
export * from "./PutFeedbackCommand";
|
|
@@ -66,5 +69,6 @@ export * from "./UpdateDataSourceCommand";
|
|
|
66
69
|
export * from "./UpdateIndexCommand";
|
|
67
70
|
export * from "./UpdatePluginCommand";
|
|
68
71
|
export * from "./UpdateRetrieverCommand";
|
|
72
|
+
export * from "./UpdateSubscriptionCommand";
|
|
69
73
|
export * from "./UpdateUserCommand";
|
|
70
74
|
export * from "./UpdateWebExperienceCommand";
|
|
@@ -1458,6 +1458,18 @@ export interface BlockedPhrasesConfigurationUpdate {
|
|
|
1458
1458
|
blockedPhrasesToDelete?: string[] | undefined;
|
|
1459
1459
|
systemMessageOverride?: string | undefined;
|
|
1460
1460
|
}
|
|
1461
|
+
export interface CancelSubscriptionRequest {
|
|
1462
|
+
applicationId: string | undefined;
|
|
1463
|
+
subscriptionId: string | undefined;
|
|
1464
|
+
}
|
|
1465
|
+
export interface SubscriptionDetails {
|
|
1466
|
+
type?: SubscriptionType | undefined;
|
|
1467
|
+
}
|
|
1468
|
+
export interface CancelSubscriptionResponse {
|
|
1469
|
+
subscriptionArn?: string | undefined;
|
|
1470
|
+
currentSubscription?: SubscriptionDetails | undefined;
|
|
1471
|
+
nextSubscription?: SubscriptionDetails | undefined;
|
|
1472
|
+
}
|
|
1461
1473
|
export declare const ChatMode: {
|
|
1462
1474
|
readonly CREATOR_MODE: "CREATOR_MODE";
|
|
1463
1475
|
readonly PLUGIN_MODE: "PLUGIN_MODE";
|
|
@@ -1655,6 +1667,45 @@ export interface Conversation {
|
|
|
1655
1667
|
title?: string | undefined;
|
|
1656
1668
|
startTime?: Date | undefined;
|
|
1657
1669
|
}
|
|
1670
|
+
export type SubscriptionPrincipal =
|
|
1671
|
+
| SubscriptionPrincipal.GroupMember
|
|
1672
|
+
| SubscriptionPrincipal.UserMember
|
|
1673
|
+
| SubscriptionPrincipal.$UnknownMember;
|
|
1674
|
+
export declare namespace SubscriptionPrincipal {
|
|
1675
|
+
interface UserMember {
|
|
1676
|
+
user: string;
|
|
1677
|
+
group?: never;
|
|
1678
|
+
$unknown?: never;
|
|
1679
|
+
}
|
|
1680
|
+
interface GroupMember {
|
|
1681
|
+
user?: never;
|
|
1682
|
+
group: string;
|
|
1683
|
+
$unknown?: never;
|
|
1684
|
+
}
|
|
1685
|
+
interface $UnknownMember {
|
|
1686
|
+
user?: never;
|
|
1687
|
+
group?: never;
|
|
1688
|
+
$unknown: [string, any];
|
|
1689
|
+
}
|
|
1690
|
+
interface Visitor<T> {
|
|
1691
|
+
user: (value: string) => T;
|
|
1692
|
+
group: (value: string) => T;
|
|
1693
|
+
_: (name: string, value: any) => T;
|
|
1694
|
+
}
|
|
1695
|
+
const visit: <T>(value: SubscriptionPrincipal, visitor: Visitor<T>) => T;
|
|
1696
|
+
}
|
|
1697
|
+
export interface CreateSubscriptionRequest {
|
|
1698
|
+
applicationId: string | undefined;
|
|
1699
|
+
principal: SubscriptionPrincipal | undefined;
|
|
1700
|
+
type: SubscriptionType | undefined;
|
|
1701
|
+
clientToken?: string | undefined;
|
|
1702
|
+
}
|
|
1703
|
+
export interface CreateSubscriptionResponse {
|
|
1704
|
+
subscriptionId?: string | undefined;
|
|
1705
|
+
subscriptionArn?: string | undefined;
|
|
1706
|
+
currentSubscription?: SubscriptionDetails | undefined;
|
|
1707
|
+
nextSubscription?: SubscriptionDetails | undefined;
|
|
1708
|
+
}
|
|
1658
1709
|
export interface UserAlias {
|
|
1659
1710
|
indexId?: string | undefined;
|
|
1660
1711
|
dataSourceId?: string | undefined;
|
|
@@ -1989,6 +2040,22 @@ export interface ListPluginTypeMetadataResponse {
|
|
|
1989
2040
|
nextToken?: string | undefined;
|
|
1990
2041
|
items?: PluginTypeMetadataSummary[] | undefined;
|
|
1991
2042
|
}
|
|
2043
|
+
export interface ListSubscriptionsRequest {
|
|
2044
|
+
applicationId: string | undefined;
|
|
2045
|
+
nextToken?: string | undefined;
|
|
2046
|
+
maxResults?: number | undefined;
|
|
2047
|
+
}
|
|
2048
|
+
export interface Subscription {
|
|
2049
|
+
subscriptionId?: string | undefined;
|
|
2050
|
+
subscriptionArn?: string | undefined;
|
|
2051
|
+
principal?: SubscriptionPrincipal | undefined;
|
|
2052
|
+
currentSubscription?: SubscriptionDetails | undefined;
|
|
2053
|
+
nextSubscription?: SubscriptionDetails | undefined;
|
|
2054
|
+
}
|
|
2055
|
+
export interface ListSubscriptionsResponse {
|
|
2056
|
+
nextToken?: string | undefined;
|
|
2057
|
+
subscriptions?: Subscription[] | undefined;
|
|
2058
|
+
}
|
|
1992
2059
|
export interface ListTagsForResourceRequest {
|
|
1993
2060
|
resourceARN: string | undefined;
|
|
1994
2061
|
}
|
|
@@ -2035,54 +2102,6 @@ export interface MemberGroup {
|
|
|
2035
2102
|
groupName: string | undefined;
|
|
2036
2103
|
type?: MembershipType | undefined;
|
|
2037
2104
|
}
|
|
2038
|
-
export interface MemberUser {
|
|
2039
|
-
userId: string | undefined;
|
|
2040
|
-
type?: MembershipType | undefined;
|
|
2041
|
-
}
|
|
2042
|
-
export interface GroupMembers {
|
|
2043
|
-
memberGroups?: MemberGroup[] | undefined;
|
|
2044
|
-
memberUsers?: MemberUser[] | undefined;
|
|
2045
|
-
s3PathForGroupMembers?: S3 | undefined;
|
|
2046
|
-
}
|
|
2047
|
-
export interface PutGroupRequest {
|
|
2048
|
-
applicationId: string | undefined;
|
|
2049
|
-
indexId: string | undefined;
|
|
2050
|
-
groupName: string | undefined;
|
|
2051
|
-
dataSourceId?: string | undefined;
|
|
2052
|
-
type: MembershipType | undefined;
|
|
2053
|
-
groupMembers: GroupMembers | undefined;
|
|
2054
|
-
roleArn?: string | undefined;
|
|
2055
|
-
}
|
|
2056
|
-
export interface PutGroupResponse {}
|
|
2057
|
-
export declare const ScoreConfidence: {
|
|
2058
|
-
readonly HIGH: "HIGH";
|
|
2059
|
-
readonly LOW: "LOW";
|
|
2060
|
-
readonly MEDIUM: "MEDIUM";
|
|
2061
|
-
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
2062
|
-
readonly VERY_HIGH: "VERY_HIGH";
|
|
2063
|
-
};
|
|
2064
|
-
export type ScoreConfidence =
|
|
2065
|
-
(typeof ScoreConfidence)[keyof typeof ScoreConfidence];
|
|
2066
|
-
export interface ScoreAttributes {
|
|
2067
|
-
scoreConfidence?: ScoreConfidence | undefined;
|
|
2068
|
-
}
|
|
2069
|
-
export interface RelevantContent {
|
|
2070
|
-
content?: string | undefined;
|
|
2071
|
-
documentId?: string | undefined;
|
|
2072
|
-
documentTitle?: string | undefined;
|
|
2073
|
-
documentUri?: string | undefined;
|
|
2074
|
-
documentAttributes?: DocumentAttribute[] | undefined;
|
|
2075
|
-
scoreAttributes?: ScoreAttributes | undefined;
|
|
2076
|
-
}
|
|
2077
|
-
export interface SearchRelevantContentResponse {
|
|
2078
|
-
relevantContent?: RelevantContent[] | undefined;
|
|
2079
|
-
nextToken?: string | undefined;
|
|
2080
|
-
}
|
|
2081
|
-
export interface StartDataSourceSyncJobRequest {
|
|
2082
|
-
dataSourceId: string | undefined;
|
|
2083
|
-
applicationId: string | undefined;
|
|
2084
|
-
indexId: string | undefined;
|
|
2085
|
-
}
|
|
2086
2105
|
export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
|
|
2087
2106
|
export declare const EncryptionConfigurationFilterSensitiveLog: (
|
|
2088
2107
|
obj: EncryptionConfiguration
|
|
@@ -12,12 +12,65 @@ import {
|
|
|
12
12
|
CreatorModeConfiguration,
|
|
13
13
|
DocumentAttribute,
|
|
14
14
|
EndOfInputEvent,
|
|
15
|
+
MemberGroup,
|
|
16
|
+
MembershipType,
|
|
15
17
|
ResponseScope,
|
|
18
|
+
S3,
|
|
19
|
+
SubscriptionDetails,
|
|
20
|
+
SubscriptionType,
|
|
16
21
|
Tag,
|
|
17
22
|
TextInputEvent,
|
|
18
23
|
TopicConfiguration,
|
|
19
24
|
UserAlias,
|
|
20
25
|
} from "./models_0";
|
|
26
|
+
export interface MemberUser {
|
|
27
|
+
userId: string | undefined;
|
|
28
|
+
type?: MembershipType | undefined;
|
|
29
|
+
}
|
|
30
|
+
export interface GroupMembers {
|
|
31
|
+
memberGroups?: MemberGroup[] | undefined;
|
|
32
|
+
memberUsers?: MemberUser[] | undefined;
|
|
33
|
+
s3PathForGroupMembers?: S3 | undefined;
|
|
34
|
+
}
|
|
35
|
+
export interface PutGroupRequest {
|
|
36
|
+
applicationId: string | undefined;
|
|
37
|
+
indexId: string | undefined;
|
|
38
|
+
groupName: string | undefined;
|
|
39
|
+
dataSourceId?: string | undefined;
|
|
40
|
+
type: MembershipType | undefined;
|
|
41
|
+
groupMembers: GroupMembers | undefined;
|
|
42
|
+
roleArn?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface PutGroupResponse {}
|
|
45
|
+
export declare const ScoreConfidence: {
|
|
46
|
+
readonly HIGH: "HIGH";
|
|
47
|
+
readonly LOW: "LOW";
|
|
48
|
+
readonly MEDIUM: "MEDIUM";
|
|
49
|
+
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
50
|
+
readonly VERY_HIGH: "VERY_HIGH";
|
|
51
|
+
};
|
|
52
|
+
export type ScoreConfidence =
|
|
53
|
+
(typeof ScoreConfidence)[keyof typeof ScoreConfidence];
|
|
54
|
+
export interface ScoreAttributes {
|
|
55
|
+
scoreConfidence?: ScoreConfidence | undefined;
|
|
56
|
+
}
|
|
57
|
+
export interface RelevantContent {
|
|
58
|
+
content?: string | undefined;
|
|
59
|
+
documentId?: string | undefined;
|
|
60
|
+
documentTitle?: string | undefined;
|
|
61
|
+
documentUri?: string | undefined;
|
|
62
|
+
documentAttributes?: DocumentAttribute[] | undefined;
|
|
63
|
+
scoreAttributes?: ScoreAttributes | undefined;
|
|
64
|
+
}
|
|
65
|
+
export interface SearchRelevantContentResponse {
|
|
66
|
+
relevantContent?: RelevantContent[] | undefined;
|
|
67
|
+
nextToken?: string | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface StartDataSourceSyncJobRequest {
|
|
70
|
+
dataSourceId: string | undefined;
|
|
71
|
+
applicationId: string | undefined;
|
|
72
|
+
indexId: string | undefined;
|
|
73
|
+
}
|
|
21
74
|
export interface StartDataSourceSyncJobResponse {
|
|
22
75
|
executionId?: string | undefined;
|
|
23
76
|
}
|
|
@@ -49,6 +102,16 @@ export interface UpdateChatControlsConfigurationRequest {
|
|
|
49
102
|
creatorModeConfiguration?: CreatorModeConfiguration | undefined;
|
|
50
103
|
}
|
|
51
104
|
export interface UpdateChatControlsConfigurationResponse {}
|
|
105
|
+
export interface UpdateSubscriptionRequest {
|
|
106
|
+
applicationId: string | undefined;
|
|
107
|
+
subscriptionId: string | undefined;
|
|
108
|
+
type: SubscriptionType | undefined;
|
|
109
|
+
}
|
|
110
|
+
export interface UpdateSubscriptionResponse {
|
|
111
|
+
subscriptionArn?: string | undefined;
|
|
112
|
+
currentSubscription?: SubscriptionDetails | undefined;
|
|
113
|
+
nextSubscription?: SubscriptionDetails | undefined;
|
|
114
|
+
}
|
|
52
115
|
export interface UpdateUserRequest {
|
|
53
116
|
applicationId: string | undefined;
|
|
54
117
|
userId: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSubscriptionsCommandInput,
|
|
4
|
+
ListSubscriptionsCommandOutput,
|
|
5
|
+
} from "../commands/ListSubscriptionsCommand";
|
|
6
|
+
import { QBusinessPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSubscriptions: (
|
|
8
|
+
config: QBusinessPaginationConfiguration,
|
|
9
|
+
input: ListSubscriptionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSubscriptionsCommandOutput>;
|
|
@@ -15,5 +15,6 @@ export * from "./ListPluginTypeActionsPaginator";
|
|
|
15
15
|
export * from "./ListPluginTypeMetadataPaginator";
|
|
16
16
|
export * from "./ListPluginsPaginator";
|
|
17
17
|
export * from "./ListRetrieversPaginator";
|
|
18
|
+
export * from "./ListSubscriptionsPaginator";
|
|
18
19
|
export * from "./ListWebExperiencesPaginator";
|
|
19
20
|
export * from "./SearchRelevantContentPaginator";
|
|
@@ -18,6 +18,10 @@ import {
|
|
|
18
18
|
BatchPutDocumentCommandInput,
|
|
19
19
|
BatchPutDocumentCommandOutput,
|
|
20
20
|
} from "../commands/BatchPutDocumentCommand";
|
|
21
|
+
import {
|
|
22
|
+
CancelSubscriptionCommandInput,
|
|
23
|
+
CancelSubscriptionCommandOutput,
|
|
24
|
+
} from "../commands/CancelSubscriptionCommand";
|
|
21
25
|
import { ChatCommandInput, ChatCommandOutput } from "../commands/ChatCommand";
|
|
22
26
|
import {
|
|
23
27
|
ChatSyncCommandInput,
|
|
@@ -47,6 +51,10 @@ import {
|
|
|
47
51
|
CreateRetrieverCommandInput,
|
|
48
52
|
CreateRetrieverCommandOutput,
|
|
49
53
|
} from "../commands/CreateRetrieverCommand";
|
|
54
|
+
import {
|
|
55
|
+
CreateSubscriptionCommandInput,
|
|
56
|
+
CreateSubscriptionCommandOutput,
|
|
57
|
+
} from "../commands/CreateSubscriptionCommand";
|
|
50
58
|
import {
|
|
51
59
|
CreateUserCommandInput,
|
|
52
60
|
CreateUserCommandOutput,
|
|
@@ -211,6 +219,10 @@ import {
|
|
|
211
219
|
ListRetrieversCommandInput,
|
|
212
220
|
ListRetrieversCommandOutput,
|
|
213
221
|
} from "../commands/ListRetrieversCommand";
|
|
222
|
+
import {
|
|
223
|
+
ListSubscriptionsCommandInput,
|
|
224
|
+
ListSubscriptionsCommandOutput,
|
|
225
|
+
} from "../commands/ListSubscriptionsCommand";
|
|
214
226
|
import {
|
|
215
227
|
ListTagsForResourceCommandInput,
|
|
216
228
|
ListTagsForResourceCommandOutput,
|
|
@@ -275,6 +287,10 @@ import {
|
|
|
275
287
|
UpdateRetrieverCommandInput,
|
|
276
288
|
UpdateRetrieverCommandOutput,
|
|
277
289
|
} from "../commands/UpdateRetrieverCommand";
|
|
290
|
+
import {
|
|
291
|
+
UpdateSubscriptionCommandInput,
|
|
292
|
+
UpdateSubscriptionCommandOutput,
|
|
293
|
+
} from "../commands/UpdateSubscriptionCommand";
|
|
278
294
|
import {
|
|
279
295
|
UpdateUserCommandInput,
|
|
280
296
|
UpdateUserCommandOutput,
|
|
@@ -295,6 +311,10 @@ export declare const se_BatchPutDocumentCommand: (
|
|
|
295
311
|
input: BatchPutDocumentCommandInput,
|
|
296
312
|
context: __SerdeContext
|
|
297
313
|
) => Promise<__HttpRequest>;
|
|
314
|
+
export declare const se_CancelSubscriptionCommand: (
|
|
315
|
+
input: CancelSubscriptionCommandInput,
|
|
316
|
+
context: __SerdeContext
|
|
317
|
+
) => Promise<__HttpRequest>;
|
|
298
318
|
export declare const se_ChatCommand: (
|
|
299
319
|
input: ChatCommandInput,
|
|
300
320
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
@@ -327,6 +347,10 @@ export declare const se_CreateRetrieverCommand: (
|
|
|
327
347
|
input: CreateRetrieverCommandInput,
|
|
328
348
|
context: __SerdeContext
|
|
329
349
|
) => Promise<__HttpRequest>;
|
|
350
|
+
export declare const se_CreateSubscriptionCommand: (
|
|
351
|
+
input: CreateSubscriptionCommandInput,
|
|
352
|
+
context: __SerdeContext
|
|
353
|
+
) => Promise<__HttpRequest>;
|
|
330
354
|
export declare const se_CreateUserCommand: (
|
|
331
355
|
input: CreateUserCommandInput,
|
|
332
356
|
context: __SerdeContext
|
|
@@ -491,6 +515,10 @@ export declare const se_ListRetrieversCommand: (
|
|
|
491
515
|
input: ListRetrieversCommandInput,
|
|
492
516
|
context: __SerdeContext
|
|
493
517
|
) => Promise<__HttpRequest>;
|
|
518
|
+
export declare const se_ListSubscriptionsCommand: (
|
|
519
|
+
input: ListSubscriptionsCommandInput,
|
|
520
|
+
context: __SerdeContext
|
|
521
|
+
) => Promise<__HttpRequest>;
|
|
494
522
|
export declare const se_ListTagsForResourceCommand: (
|
|
495
523
|
input: ListTagsForResourceCommandInput,
|
|
496
524
|
context: __SerdeContext
|
|
@@ -555,6 +583,10 @@ export declare const se_UpdateRetrieverCommand: (
|
|
|
555
583
|
input: UpdateRetrieverCommandInput,
|
|
556
584
|
context: __SerdeContext
|
|
557
585
|
) => Promise<__HttpRequest>;
|
|
586
|
+
export declare const se_UpdateSubscriptionCommand: (
|
|
587
|
+
input: UpdateSubscriptionCommandInput,
|
|
588
|
+
context: __SerdeContext
|
|
589
|
+
) => Promise<__HttpRequest>;
|
|
558
590
|
export declare const se_UpdateUserCommand: (
|
|
559
591
|
input: UpdateUserCommandInput,
|
|
560
592
|
context: __SerdeContext
|
|
@@ -575,6 +607,10 @@ export declare const de_BatchPutDocumentCommand: (
|
|
|
575
607
|
output: __HttpResponse,
|
|
576
608
|
context: __SerdeContext
|
|
577
609
|
) => Promise<BatchPutDocumentCommandOutput>;
|
|
610
|
+
export declare const de_CancelSubscriptionCommand: (
|
|
611
|
+
output: __HttpResponse,
|
|
612
|
+
context: __SerdeContext
|
|
613
|
+
) => Promise<CancelSubscriptionCommandOutput>;
|
|
578
614
|
export declare const de_ChatCommand: (
|
|
579
615
|
output: __HttpResponse,
|
|
580
616
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
@@ -607,6 +643,10 @@ export declare const de_CreateRetrieverCommand: (
|
|
|
607
643
|
output: __HttpResponse,
|
|
608
644
|
context: __SerdeContext
|
|
609
645
|
) => Promise<CreateRetrieverCommandOutput>;
|
|
646
|
+
export declare const de_CreateSubscriptionCommand: (
|
|
647
|
+
output: __HttpResponse,
|
|
648
|
+
context: __SerdeContext
|
|
649
|
+
) => Promise<CreateSubscriptionCommandOutput>;
|
|
610
650
|
export declare const de_CreateUserCommand: (
|
|
611
651
|
output: __HttpResponse,
|
|
612
652
|
context: __SerdeContext
|
|
@@ -771,6 +811,10 @@ export declare const de_ListRetrieversCommand: (
|
|
|
771
811
|
output: __HttpResponse,
|
|
772
812
|
context: __SerdeContext
|
|
773
813
|
) => Promise<ListRetrieversCommandOutput>;
|
|
814
|
+
export declare const de_ListSubscriptionsCommand: (
|
|
815
|
+
output: __HttpResponse,
|
|
816
|
+
context: __SerdeContext
|
|
817
|
+
) => Promise<ListSubscriptionsCommandOutput>;
|
|
774
818
|
export declare const de_ListTagsForResourceCommand: (
|
|
775
819
|
output: __HttpResponse,
|
|
776
820
|
context: __SerdeContext
|
|
@@ -835,6 +879,10 @@ export declare const de_UpdateRetrieverCommand: (
|
|
|
835
879
|
output: __HttpResponse,
|
|
836
880
|
context: __SerdeContext
|
|
837
881
|
) => Promise<UpdateRetrieverCommandOutput>;
|
|
882
|
+
export declare const de_UpdateSubscriptionCommand: (
|
|
883
|
+
output: __HttpResponse,
|
|
884
|
+
context: __SerdeContext
|
|
885
|
+
) => Promise<UpdateSubscriptionCommandOutput>;
|
|
838
886
|
export declare const de_UpdateUserCommand: (
|
|
839
887
|
output: __HttpResponse,
|
|
840
888
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qbusiness",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qbusiness Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.741.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qbusiness",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.734.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.741.0",
|
|
25
25
|
"@aws-sdk/eventstream-handler-node": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-eventstream": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.734.0",
|