@aws-sdk/client-qconnect 3.600.0 → 3.609.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 +242 -0
- package/dist-es/QConnect.js +8 -0
- package/dist-es/commands/CreateContentAssociationCommand.js +24 -0
- package/dist-es/commands/DeleteContentAssociationCommand.js +24 -0
- package/dist-es/commands/GetContentAssociationCommand.js +24 -0
- package/dist-es/commands/ListContentAssociationsCommand.js +24 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/pagination/ListContentAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +124 -1
- package/dist-types/QConnect.d.ts +28 -0
- package/dist-types/QConnectClient.d.ts +6 -2
- package/dist-types/commands/CreateContentAssociationCommand.d.ts +128 -0
- package/dist-types/commands/DeleteContentAssociationCommand.d.ts +72 -0
- package/dist-types/commands/GetContentAssociationCommand.d.ts +90 -0
- package/dist-types/commands/ListContentAssociationsCommand.d.ts +94 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +322 -7
- package/dist-types/pagination/ListContentAssociationsPaginator.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/QConnect.d.ts +68 -0
- package/dist-types/ts3.4/QConnectClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateContentAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteContentAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetContentAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListContentAssociationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -0
- package/dist-types/ts3.4/pagination/ListContentAssociationsPaginator.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 +35 -35
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetContentAssociationRequest, GetContentAssociationResponse } from "../models/models_0";
|
|
4
|
+
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetContentAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetContentAssociationCommandInput extends GetContentAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetContentAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetContentAssociationCommandOutput extends GetContentAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetContentAssociationCommand_base: {
|
|
25
|
+
new (input: GetContentAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetContentAssociationCommandInput, GetContentAssociationCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetContentAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<GetContentAssociationCommandInput, GetContentAssociationCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns the content association.</p>
|
|
31
|
+
* <p>For more information about content associations--what they are and when they are used--see
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html">Integrate Amazon Q in Connect with step-by-step guides</a> in the <i>Amazon Connect
|
|
33
|
+
* Administrator Guide</i>.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { QConnectClient, GetContentAssociationCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
38
|
+
* // const { QConnectClient, GetContentAssociationCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
39
|
+
* const client = new QConnectClient(config);
|
|
40
|
+
* const input = { // GetContentAssociationRequest
|
|
41
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
42
|
+
* contentId: "STRING_VALUE", // required
|
|
43
|
+
* contentAssociationId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetContentAssociationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetContentAssociationResponse
|
|
48
|
+
* // contentAssociation: { // ContentAssociationData
|
|
49
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
50
|
+
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
51
|
+
* // contentId: "STRING_VALUE", // required
|
|
52
|
+
* // contentArn: "STRING_VALUE", // required
|
|
53
|
+
* // contentAssociationId: "STRING_VALUE", // required
|
|
54
|
+
* // contentAssociationArn: "STRING_VALUE", // required
|
|
55
|
+
* // associationType: "STRING_VALUE", // required
|
|
56
|
+
* // associationData: { // ContentAssociationContents Union: only one key present
|
|
57
|
+
* // amazonConnectGuideAssociation: { // AmazonConnectGuideAssociationData
|
|
58
|
+
* // flowId: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // tags: { // Tags
|
|
62
|
+
* // "<keys>": "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetContentAssociationCommandInput - {@link GetContentAssociationCommandInput}
|
|
70
|
+
* @returns {@link GetContentAssociationCommandOutput}
|
|
71
|
+
* @see {@link GetContentAssociationCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetContentAssociationCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource does not exist.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link QConnectServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class GetContentAssociationCommand extends GetContentAssociationCommand_base {
|
|
90
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListContentAssociationsRequest, ListContentAssociationsResponse } from "../models/models_0";
|
|
4
|
+
import { QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../QConnectClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListContentAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListContentAssociationsCommandInput extends ListContentAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListContentAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListContentAssociationsCommandOutput extends ListContentAssociationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListContentAssociationsCommand_base: {
|
|
25
|
+
new (input: ListContentAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListContentAssociationsCommandInput, ListContentAssociationsCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListContentAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListContentAssociationsCommandInput, ListContentAssociationsCommandOutput, QConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the content associations.</p>
|
|
31
|
+
* <p>For more information about content associations--what they are and when they are used--see
|
|
32
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html">Integrate Amazon Q in Connect with step-by-step guides</a> in the <i>Amazon Connect
|
|
33
|
+
* Administrator Guide</i>.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { QConnectClient, ListContentAssociationsCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
|
|
38
|
+
* // const { QConnectClient, ListContentAssociationsCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
|
|
39
|
+
* const client = new QConnectClient(config);
|
|
40
|
+
* const input = { // ListContentAssociationsRequest
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* knowledgeBaseId: "STRING_VALUE", // required
|
|
44
|
+
* contentId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListContentAssociationsCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListContentAssociationsResponse
|
|
49
|
+
* // contentAssociationSummaries: [ // ContentAssociationSummaryList // required
|
|
50
|
+
* // { // ContentAssociationSummary
|
|
51
|
+
* // knowledgeBaseId: "STRING_VALUE", // required
|
|
52
|
+
* // knowledgeBaseArn: "STRING_VALUE", // required
|
|
53
|
+
* // contentId: "STRING_VALUE", // required
|
|
54
|
+
* // contentArn: "STRING_VALUE", // required
|
|
55
|
+
* // contentAssociationId: "STRING_VALUE", // required
|
|
56
|
+
* // contentAssociationArn: "STRING_VALUE", // required
|
|
57
|
+
* // associationType: "STRING_VALUE", // required
|
|
58
|
+
* // associationData: { // ContentAssociationContents Union: only one key present
|
|
59
|
+
* // amazonConnectGuideAssociation: { // AmazonConnectGuideAssociationData
|
|
60
|
+
* // flowId: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // tags: { // Tags
|
|
64
|
+
* // "<keys>": "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // nextToken: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param ListContentAssociationsCommandInput - {@link ListContentAssociationsCommandInput}
|
|
74
|
+
* @returns {@link ListContentAssociationsCommandOutput}
|
|
75
|
+
* @see {@link ListContentAssociationsCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link ListContentAssociationsCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link QConnectClientResolvedConfig | config} for QConnectClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>The specified resource does not exist.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The input fails to satisfy the constraints specified by a service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link QConnectServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from QConnect service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListContentAssociationsCommand extends ListContentAssociationsCommand_base {
|
|
94
|
+
}
|
|
@@ -27,9 +27,9 @@ declare const UpdateSessionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a session. A session is a contextual container used for generating
|
|
31
|
-
*
|
|
32
|
-
* is enabled.</p>
|
|
30
|
+
* <p>Updates a session. A session is a contextual container used for generating
|
|
31
|
+
* recommendations. Amazon Connect updates the existing Amazon Q in Connect session for each contact on
|
|
32
|
+
* which Amazon Q in Connect is enabled.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
export * from "./CreateAssistantAssociationCommand";
|
|
2
2
|
export * from "./CreateAssistantCommand";
|
|
3
|
+
export * from "./CreateContentAssociationCommand";
|
|
3
4
|
export * from "./CreateContentCommand";
|
|
4
5
|
export * from "./CreateKnowledgeBaseCommand";
|
|
5
6
|
export * from "./CreateQuickResponseCommand";
|
|
6
7
|
export * from "./CreateSessionCommand";
|
|
7
8
|
export * from "./DeleteAssistantAssociationCommand";
|
|
8
9
|
export * from "./DeleteAssistantCommand";
|
|
10
|
+
export * from "./DeleteContentAssociationCommand";
|
|
9
11
|
export * from "./DeleteContentCommand";
|
|
10
12
|
export * from "./DeleteImportJobCommand";
|
|
11
13
|
export * from "./DeleteKnowledgeBaseCommand";
|
|
12
14
|
export * from "./DeleteQuickResponseCommand";
|
|
13
15
|
export * from "./GetAssistantAssociationCommand";
|
|
14
16
|
export * from "./GetAssistantCommand";
|
|
17
|
+
export * from "./GetContentAssociationCommand";
|
|
15
18
|
export * from "./GetContentCommand";
|
|
16
19
|
export * from "./GetContentSummaryCommand";
|
|
17
20
|
export * from "./GetImportJobCommand";
|
|
@@ -21,6 +24,7 @@ export * from "./GetRecommendationsCommand";
|
|
|
21
24
|
export * from "./GetSessionCommand";
|
|
22
25
|
export * from "./ListAssistantAssociationsCommand";
|
|
23
26
|
export * from "./ListAssistantsCommand";
|
|
27
|
+
export * from "./ListContentAssociationsCommand";
|
|
24
28
|
export * from "./ListContentsCommand";
|
|
25
29
|
export * from "./ListImportJobsCommand";
|
|
26
30
|
export * from "./ListKnowledgeBasesCommand";
|
|
@@ -13,8 +13,19 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* <p>
|
|
17
|
-
*
|
|
16
|
+
* <p>Content association data for a <a href="https://docs.aws.amazon.com/connect/latest/adminguide/step-by-step-guided-experiences.html">step-by-step
|
|
17
|
+
* guide</a>.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface AmazonConnectGuideAssociationData {
|
|
21
|
+
/**
|
|
22
|
+
* <p> The Amazon Resource Name (ARN) of an Amazon Connect flow. Step-by-step guides are a type of flow.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
flowId?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>A leaf node condition which can be used to specify a tag condition. </p>
|
|
18
29
|
* @public
|
|
19
30
|
*/
|
|
20
31
|
export interface TagCondition {
|
|
@@ -1596,7 +1607,8 @@ export interface SearchSessionsResponse {
|
|
|
1596
1607
|
nextToken?: string;
|
|
1597
1608
|
}
|
|
1598
1609
|
/**
|
|
1599
|
-
* <p>A list of conditions which would be applied together with an <code>OR</code>
|
|
1610
|
+
* <p>A list of conditions which would be applied together with an <code>OR</code>
|
|
1611
|
+
* condition.</p>
|
|
1600
1612
|
* @public
|
|
1601
1613
|
*/
|
|
1602
1614
|
export type OrCondition = OrCondition.AndConditionsMember | OrCondition.TagConditionMember | OrCondition.$UnknownMember;
|
|
@@ -1605,7 +1617,8 @@ export type OrCondition = OrCondition.AndConditionsMember | OrCondition.TagCondi
|
|
|
1605
1617
|
*/
|
|
1606
1618
|
export declare namespace OrCondition {
|
|
1607
1619
|
/**
|
|
1608
|
-
* <p>A list of conditions which would be applied together with an <code>AND</code>
|
|
1620
|
+
* <p>A list of conditions which would be applied together with an <code>AND</code>
|
|
1621
|
+
* condition.</p>
|
|
1609
1622
|
* @public
|
|
1610
1623
|
*/
|
|
1611
1624
|
interface AndConditionsMember {
|
|
@@ -1657,7 +1670,8 @@ export declare namespace TagFilter {
|
|
|
1657
1670
|
$unknown?: never;
|
|
1658
1671
|
}
|
|
1659
1672
|
/**
|
|
1660
|
-
* <p>A list of conditions which would be applied together with an <code>AND</code>
|
|
1673
|
+
* <p>A list of conditions which would be applied together with an <code>AND</code>
|
|
1674
|
+
* condition.</p>
|
|
1661
1675
|
* @public
|
|
1662
1676
|
*/
|
|
1663
1677
|
interface AndConditionsMember {
|
|
@@ -1667,7 +1681,8 @@ export declare namespace TagFilter {
|
|
|
1667
1681
|
$unknown?: never;
|
|
1668
1682
|
}
|
|
1669
1683
|
/**
|
|
1670
|
-
* <p>A list of conditions which would be applied together with an <code>OR</code>
|
|
1684
|
+
* <p>A list of conditions which would be applied together with an <code>OR</code>
|
|
1685
|
+
* condition.</p>
|
|
1671
1686
|
* @public
|
|
1672
1687
|
*/
|
|
1673
1688
|
interface OrConditionsMember {
|
|
@@ -1894,6 +1909,306 @@ export declare namespace Configuration {
|
|
|
1894
1909
|
}
|
|
1895
1910
|
const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
|
|
1896
1911
|
}
|
|
1912
|
+
/**
|
|
1913
|
+
* <p>The contents of a content association.</p>
|
|
1914
|
+
* @public
|
|
1915
|
+
*/
|
|
1916
|
+
export type ContentAssociationContents = ContentAssociationContents.AmazonConnectGuideAssociationMember | ContentAssociationContents.$UnknownMember;
|
|
1917
|
+
/**
|
|
1918
|
+
* @public
|
|
1919
|
+
*/
|
|
1920
|
+
export declare namespace ContentAssociationContents {
|
|
1921
|
+
/**
|
|
1922
|
+
* <p>The data of the step-by-step guide association.</p>
|
|
1923
|
+
* @public
|
|
1924
|
+
*/
|
|
1925
|
+
interface AmazonConnectGuideAssociationMember {
|
|
1926
|
+
amazonConnectGuideAssociation: AmazonConnectGuideAssociationData;
|
|
1927
|
+
$unknown?: never;
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* @public
|
|
1931
|
+
*/
|
|
1932
|
+
interface $UnknownMember {
|
|
1933
|
+
amazonConnectGuideAssociation?: never;
|
|
1934
|
+
$unknown: [string, any];
|
|
1935
|
+
}
|
|
1936
|
+
interface Visitor<T> {
|
|
1937
|
+
amazonConnectGuideAssociation: (value: AmazonConnectGuideAssociationData) => T;
|
|
1938
|
+
_: (name: string, value: any) => T;
|
|
1939
|
+
}
|
|
1940
|
+
const visit: <T>(value: ContentAssociationContents, visitor: Visitor<T>) => T;
|
|
1941
|
+
}
|
|
1942
|
+
/**
|
|
1943
|
+
* @public
|
|
1944
|
+
* @enum
|
|
1945
|
+
*/
|
|
1946
|
+
export declare const ContentAssociationType: {
|
|
1947
|
+
readonly AMAZON_CONNECT_GUIDE: "AMAZON_CONNECT_GUIDE";
|
|
1948
|
+
};
|
|
1949
|
+
/**
|
|
1950
|
+
* @public
|
|
1951
|
+
*/
|
|
1952
|
+
export type ContentAssociationType = (typeof ContentAssociationType)[keyof typeof ContentAssociationType];
|
|
1953
|
+
/**
|
|
1954
|
+
* @public
|
|
1955
|
+
*/
|
|
1956
|
+
export interface CreateContentAssociationRequest {
|
|
1957
|
+
/**
|
|
1958
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
1959
|
+
* request. If not provided, the Amazon Web Services
|
|
1960
|
+
* SDK populates this field. For more information about idempotency, see
|
|
1961
|
+
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
1962
|
+
* @public
|
|
1963
|
+
*/
|
|
1964
|
+
clientToken?: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* <p>The identifier of the knowledge base.</p>
|
|
1967
|
+
* @public
|
|
1968
|
+
*/
|
|
1969
|
+
knowledgeBaseId: string | undefined;
|
|
1970
|
+
/**
|
|
1971
|
+
* <p>The identifier of the content.</p>
|
|
1972
|
+
* @public
|
|
1973
|
+
*/
|
|
1974
|
+
contentId: string | undefined;
|
|
1975
|
+
/**
|
|
1976
|
+
* <p>The type of association.</p>
|
|
1977
|
+
* @public
|
|
1978
|
+
*/
|
|
1979
|
+
associationType: ContentAssociationType | undefined;
|
|
1980
|
+
/**
|
|
1981
|
+
* <p>The identifier of the associated resource.</p>
|
|
1982
|
+
* @public
|
|
1983
|
+
*/
|
|
1984
|
+
association: ContentAssociationContents | undefined;
|
|
1985
|
+
/**
|
|
1986
|
+
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
1987
|
+
* @public
|
|
1988
|
+
*/
|
|
1989
|
+
tags?: Record<string, string>;
|
|
1990
|
+
}
|
|
1991
|
+
/**
|
|
1992
|
+
* <p>Information about the content association.</p>
|
|
1993
|
+
* @public
|
|
1994
|
+
*/
|
|
1995
|
+
export interface ContentAssociationData {
|
|
1996
|
+
/**
|
|
1997
|
+
* <p>The identifier of the knowledge base.</p>
|
|
1998
|
+
* @public
|
|
1999
|
+
*/
|
|
2000
|
+
knowledgeBaseId: string | undefined;
|
|
2001
|
+
/**
|
|
2002
|
+
* <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
|
|
2003
|
+
* @public
|
|
2004
|
+
*/
|
|
2005
|
+
knowledgeBaseArn: string | undefined;
|
|
2006
|
+
/**
|
|
2007
|
+
* <p>The identifier of the content.</p>
|
|
2008
|
+
* @public
|
|
2009
|
+
*/
|
|
2010
|
+
contentId: string | undefined;
|
|
2011
|
+
/**
|
|
2012
|
+
* <p>The Amazon Resource Name (ARN) of the content.</p>
|
|
2013
|
+
* @public
|
|
2014
|
+
*/
|
|
2015
|
+
contentArn: string | undefined;
|
|
2016
|
+
/**
|
|
2017
|
+
* <p>The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
2018
|
+
* @public
|
|
2019
|
+
*/
|
|
2020
|
+
contentAssociationId: string | undefined;
|
|
2021
|
+
/**
|
|
2022
|
+
* <p>The Amazon Resource Name (ARN) of the content association.</p>
|
|
2023
|
+
* @public
|
|
2024
|
+
*/
|
|
2025
|
+
contentAssociationArn: string | undefined;
|
|
2026
|
+
/**
|
|
2027
|
+
* <p>The type of association.</p>
|
|
2028
|
+
* @public
|
|
2029
|
+
*/
|
|
2030
|
+
associationType: ContentAssociationType | undefined;
|
|
2031
|
+
/**
|
|
2032
|
+
* <p>The content association.</p>
|
|
2033
|
+
* @public
|
|
2034
|
+
*/
|
|
2035
|
+
associationData: ContentAssociationContents | undefined;
|
|
2036
|
+
/**
|
|
2037
|
+
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
2038
|
+
* @public
|
|
2039
|
+
*/
|
|
2040
|
+
tags?: Record<string, string>;
|
|
2041
|
+
}
|
|
2042
|
+
/**
|
|
2043
|
+
* @public
|
|
2044
|
+
*/
|
|
2045
|
+
export interface CreateContentAssociationResponse {
|
|
2046
|
+
/**
|
|
2047
|
+
* <p>The association between Amazon Q in Connect content and another resource.</p>
|
|
2048
|
+
* @public
|
|
2049
|
+
*/
|
|
2050
|
+
contentAssociation?: ContentAssociationData;
|
|
2051
|
+
}
|
|
2052
|
+
/**
|
|
2053
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
2054
|
+
* @public
|
|
2055
|
+
*/
|
|
2056
|
+
export declare class ThrottlingException extends __BaseException {
|
|
2057
|
+
readonly name: "ThrottlingException";
|
|
2058
|
+
readonly $fault: "client";
|
|
2059
|
+
$retryable: {};
|
|
2060
|
+
/**
|
|
2061
|
+
* @internal
|
|
2062
|
+
*/
|
|
2063
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
2064
|
+
}
|
|
2065
|
+
/**
|
|
2066
|
+
* @public
|
|
2067
|
+
*/
|
|
2068
|
+
export interface DeleteContentAssociationRequest {
|
|
2069
|
+
/**
|
|
2070
|
+
* <p>The identifier of the knowledge base.</p>
|
|
2071
|
+
* @public
|
|
2072
|
+
*/
|
|
2073
|
+
knowledgeBaseId: string | undefined;
|
|
2074
|
+
/**
|
|
2075
|
+
* <p>The identifier of the content.</p>
|
|
2076
|
+
* @public
|
|
2077
|
+
*/
|
|
2078
|
+
contentId: string | undefined;
|
|
2079
|
+
/**
|
|
2080
|
+
* <p>The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
2081
|
+
* @public
|
|
2082
|
+
*/
|
|
2083
|
+
contentAssociationId: string | undefined;
|
|
2084
|
+
}
|
|
2085
|
+
/**
|
|
2086
|
+
* @public
|
|
2087
|
+
*/
|
|
2088
|
+
export interface DeleteContentAssociationResponse {
|
|
2089
|
+
}
|
|
2090
|
+
/**
|
|
2091
|
+
* @public
|
|
2092
|
+
*/
|
|
2093
|
+
export interface GetContentAssociationRequest {
|
|
2094
|
+
/**
|
|
2095
|
+
* <p>The identifier of the knowledge base.</p>
|
|
2096
|
+
* @public
|
|
2097
|
+
*/
|
|
2098
|
+
knowledgeBaseId: string | undefined;
|
|
2099
|
+
/**
|
|
2100
|
+
* <p>The identifier of the content.</p>
|
|
2101
|
+
* @public
|
|
2102
|
+
*/
|
|
2103
|
+
contentId: string | undefined;
|
|
2104
|
+
/**
|
|
2105
|
+
* <p>The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
2106
|
+
* @public
|
|
2107
|
+
*/
|
|
2108
|
+
contentAssociationId: string | undefined;
|
|
2109
|
+
}
|
|
2110
|
+
/**
|
|
2111
|
+
* @public
|
|
2112
|
+
*/
|
|
2113
|
+
export interface GetContentAssociationResponse {
|
|
2114
|
+
/**
|
|
2115
|
+
* <p>The association between Amazon Q in Connect content and another resource.</p>
|
|
2116
|
+
* @public
|
|
2117
|
+
*/
|
|
2118
|
+
contentAssociation?: ContentAssociationData;
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
* @public
|
|
2122
|
+
*/
|
|
2123
|
+
export interface ListContentAssociationsRequest {
|
|
2124
|
+
/**
|
|
2125
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
2126
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
2127
|
+
* @public
|
|
2128
|
+
*/
|
|
2129
|
+
nextToken?: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* <p>The maximum number of results to return per page.</p>
|
|
2132
|
+
* @public
|
|
2133
|
+
*/
|
|
2134
|
+
maxResults?: number;
|
|
2135
|
+
/**
|
|
2136
|
+
* <p>The identifier of the knowledge base.</p>
|
|
2137
|
+
* @public
|
|
2138
|
+
*/
|
|
2139
|
+
knowledgeBaseId: string | undefined;
|
|
2140
|
+
/**
|
|
2141
|
+
* <p>The identifier of the content.</p>
|
|
2142
|
+
* @public
|
|
2143
|
+
*/
|
|
2144
|
+
contentId: string | undefined;
|
|
2145
|
+
}
|
|
2146
|
+
/**
|
|
2147
|
+
* <p>Summary information about a content association.</p>
|
|
2148
|
+
* @public
|
|
2149
|
+
*/
|
|
2150
|
+
export interface ContentAssociationSummary {
|
|
2151
|
+
/**
|
|
2152
|
+
* <p>The identifier of the knowledge base.</p>
|
|
2153
|
+
* @public
|
|
2154
|
+
*/
|
|
2155
|
+
knowledgeBaseId: string | undefined;
|
|
2156
|
+
/**
|
|
2157
|
+
* <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
|
|
2158
|
+
* @public
|
|
2159
|
+
*/
|
|
2160
|
+
knowledgeBaseArn: string | undefined;
|
|
2161
|
+
/**
|
|
2162
|
+
* <p>The identifier of the content.</p>
|
|
2163
|
+
* @public
|
|
2164
|
+
*/
|
|
2165
|
+
contentId: string | undefined;
|
|
2166
|
+
/**
|
|
2167
|
+
* <p>The Amazon Resource Name (ARN) of the content.</p>
|
|
2168
|
+
* @public
|
|
2169
|
+
*/
|
|
2170
|
+
contentArn: string | undefined;
|
|
2171
|
+
/**
|
|
2172
|
+
* <p>The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
2173
|
+
* @public
|
|
2174
|
+
*/
|
|
2175
|
+
contentAssociationId: string | undefined;
|
|
2176
|
+
/**
|
|
2177
|
+
* <p>The Amazon Resource Name (ARN) of the content association.</p>
|
|
2178
|
+
* @public
|
|
2179
|
+
*/
|
|
2180
|
+
contentAssociationArn: string | undefined;
|
|
2181
|
+
/**
|
|
2182
|
+
* <p>The type of association.</p>
|
|
2183
|
+
* @public
|
|
2184
|
+
*/
|
|
2185
|
+
associationType: ContentAssociationType | undefined;
|
|
2186
|
+
/**
|
|
2187
|
+
* <p>The content association.</p>
|
|
2188
|
+
* @public
|
|
2189
|
+
*/
|
|
2190
|
+
associationData: ContentAssociationContents | undefined;
|
|
2191
|
+
/**
|
|
2192
|
+
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
2193
|
+
* @public
|
|
2194
|
+
*/
|
|
2195
|
+
tags?: Record<string, string>;
|
|
2196
|
+
}
|
|
2197
|
+
/**
|
|
2198
|
+
* @public
|
|
2199
|
+
*/
|
|
2200
|
+
export interface ListContentAssociationsResponse {
|
|
2201
|
+
/**
|
|
2202
|
+
* <p>Summary information about content associations.</p>
|
|
2203
|
+
* @public
|
|
2204
|
+
*/
|
|
2205
|
+
contentAssociationSummaries: ContentAssociationSummary[] | undefined;
|
|
2206
|
+
/**
|
|
2207
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
2208
|
+
* @public
|
|
2209
|
+
*/
|
|
2210
|
+
nextToken?: string;
|
|
2211
|
+
}
|
|
1897
2212
|
/**
|
|
1898
2213
|
* @public
|
|
1899
2214
|
*/
|
|
@@ -3013,7 +3328,7 @@ export interface ImportJobData {
|
|
|
3013
3328
|
*/
|
|
3014
3329
|
url: string | undefined;
|
|
3015
3330
|
/**
|
|
3016
|
-
* <p>The link to
|
|
3331
|
+
* <p>The link to download the information of resource data that failed to be imported.</p>
|
|
3017
3332
|
* @public
|
|
3018
3333
|
*/
|
|
3019
3334
|
failedRecordReport?: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListContentAssociationsCommandInput, ListContentAssociationsCommandOutput } from "../commands/ListContentAssociationsCommand";
|
|
3
|
+
import { QConnectPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListContentAssociations: (config: QConnectPaginationConfiguration, input: ListContentAssociationsCommandInput, ...rest: any[]) => Paginator<ListContentAssociationsCommandOutput>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAssistantAssociationsPaginator";
|
|
3
3
|
export * from "./ListAssistantsPaginator";
|
|
4
|
+
export * from "./ListContentAssociationsPaginator";
|
|
4
5
|
export * from "./ListContentsPaginator";
|
|
5
6
|
export * from "./ListImportJobsPaginator";
|
|
6
7
|
export * from "./ListKnowledgeBasesPaginator";
|