@aws-sdk/client-qapps 3.974.0 → 3.978.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/dist-cjs/index.js +9 -5
- package/dist-es/QApps.js +7 -1
- package/dist-types/QApps.d.ts +15 -1
- package/dist-types/ts3.4/QApps.d.ts +19 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1654,6 +1654,10 @@ class UpdateQAppSessionMetadataCommand extends smithyClient.Command
|
|
|
1654
1654
|
.build() {
|
|
1655
1655
|
}
|
|
1656
1656
|
|
|
1657
|
+
const paginateListLibraryItems = core.createPaginator(QAppsClient, ListLibraryItemsCommand, "nextToken", "nextToken", "limit");
|
|
1658
|
+
|
|
1659
|
+
const paginateListQApps = core.createPaginator(QAppsClient, ListQAppsCommand, "nextToken", "nextToken", "limit");
|
|
1660
|
+
|
|
1657
1661
|
const commands = {
|
|
1658
1662
|
AssociateLibraryItemReviewCommand,
|
|
1659
1663
|
AssociateQAppWithUserCommand,
|
|
@@ -1691,13 +1695,13 @@ const commands = {
|
|
|
1691
1695
|
UpdateQAppSessionCommand,
|
|
1692
1696
|
UpdateQAppSessionMetadataCommand,
|
|
1693
1697
|
};
|
|
1698
|
+
const paginators = {
|
|
1699
|
+
paginateListLibraryItems,
|
|
1700
|
+
paginateListQApps,
|
|
1701
|
+
};
|
|
1694
1702
|
class QApps extends QAppsClient {
|
|
1695
1703
|
}
|
|
1696
|
-
smithyClient.createAggregatedClient(commands, QApps);
|
|
1697
|
-
|
|
1698
|
-
const paginateListLibraryItems = core.createPaginator(QAppsClient, ListLibraryItemsCommand, "nextToken", "nextToken", "limit");
|
|
1699
|
-
|
|
1700
|
-
const paginateListQApps = core.createPaginator(QAppsClient, ListQAppsCommand, "nextToken", "nextToken", "limit");
|
|
1704
|
+
smithyClient.createAggregatedClient(commands, QApps, { paginators });
|
|
1701
1705
|
|
|
1702
1706
|
const Action = {
|
|
1703
1707
|
READ: "read",
|
package/dist-es/QApps.js
CHANGED
|
@@ -34,6 +34,8 @@ import { UpdateQAppCommand } from "./commands/UpdateQAppCommand";
|
|
|
34
34
|
import { UpdateQAppPermissionsCommand, } from "./commands/UpdateQAppPermissionsCommand";
|
|
35
35
|
import { UpdateQAppSessionCommand, } from "./commands/UpdateQAppSessionCommand";
|
|
36
36
|
import { UpdateQAppSessionMetadataCommand, } from "./commands/UpdateQAppSessionMetadataCommand";
|
|
37
|
+
import { paginateListLibraryItems } from "./pagination/ListLibraryItemsPaginator";
|
|
38
|
+
import { paginateListQApps } from "./pagination/ListQAppsPaginator";
|
|
37
39
|
import { QAppsClient } from "./QAppsClient";
|
|
38
40
|
const commands = {
|
|
39
41
|
AssociateLibraryItemReviewCommand,
|
|
@@ -72,6 +74,10 @@ const commands = {
|
|
|
72
74
|
UpdateQAppSessionCommand,
|
|
73
75
|
UpdateQAppSessionMetadataCommand,
|
|
74
76
|
};
|
|
77
|
+
const paginators = {
|
|
78
|
+
paginateListLibraryItems,
|
|
79
|
+
paginateListQApps,
|
|
80
|
+
};
|
|
75
81
|
export class QApps extends QAppsClient {
|
|
76
82
|
}
|
|
77
|
-
createAggregatedClient(commands, QApps);
|
|
83
|
+
createAggregatedClient(commands, QApps, { paginators });
|
package/dist-types/QApps.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AssociateLibraryItemReviewCommandInput, AssociateLibraryItemReviewCommandOutput } from "./commands/AssociateLibraryItemReviewCommand";
|
|
3
3
|
import { AssociateQAppWithUserCommandInput, AssociateQAppWithUserCommandOutput } from "./commands/AssociateQAppWithUserCommand";
|
|
4
4
|
import { BatchCreateCategoryCommandInput, BatchCreateCategoryCommandOutput } from "./commands/BatchCreateCategoryCommand";
|
|
@@ -246,6 +246,20 @@ export interface QApps {
|
|
|
246
246
|
updateQAppSessionMetadata(args: UpdateQAppSessionMetadataCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQAppSessionMetadataCommandOutput>;
|
|
247
247
|
updateQAppSessionMetadata(args: UpdateQAppSessionMetadataCommandInput, cb: (err: any, data?: UpdateQAppSessionMetadataCommandOutput) => void): void;
|
|
248
248
|
updateQAppSessionMetadata(args: UpdateQAppSessionMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQAppSessionMetadataCommandOutput) => void): void;
|
|
249
|
+
/**
|
|
250
|
+
* @see {@link ListLibraryItemsCommand}
|
|
251
|
+
* @param args - command input.
|
|
252
|
+
* @param paginationConfig - optional pagination config.
|
|
253
|
+
* @returns AsyncIterable of {@link ListLibraryItemsCommandOutput}.
|
|
254
|
+
*/
|
|
255
|
+
paginateListLibraryItems(args: ListLibraryItemsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLibraryItemsCommandOutput>;
|
|
256
|
+
/**
|
|
257
|
+
* @see {@link ListQAppsCommand}
|
|
258
|
+
* @param args - command input.
|
|
259
|
+
* @param paginationConfig - optional pagination config.
|
|
260
|
+
* @returns AsyncIterable of {@link ListQAppsCommandOutput}.
|
|
261
|
+
*/
|
|
262
|
+
paginateListQApps(args: ListQAppsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListQAppsCommandOutput>;
|
|
249
263
|
}
|
|
250
264
|
/**
|
|
251
265
|
* <p>The Amazon Q Apps feature capability within Amazon Q Business allows web experience users to create lightweight, purpose-built AI apps to fulfill specific tasks from within their web experience. For example, users can create a Q App that exclusively generates marketing-related content to improve your marketing team's productivity or a Q App for writing customer emails and creating promotional content using a certain style of voice, tone, and branding. For more information on the capabilities, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/deploy-experience-iam-role.html#q-apps-actions">Amazon Q Apps capabilities</a> in the <i>Amazon Q Business User Guide</i>. </p> <p>For an overview of the Amazon Q App APIs, see <a href="https://docs.aws.amazon.com/amazonq/latest/api-reference/API_Operations_QApps.html">Overview of Amazon Q Apps API operations</a>.</p> <p>For information about the IAM access control permissions you need to use the Amazon Q Apps API, see <a href="https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/deploy-experience-iam-role.html"> IAM role for the Amazon Q Business web experience including Amazon Q Apps</a> in the <i>Amazon Q Business User Guide</i>.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AssociateLibraryItemReviewCommandInput,
|
|
4
8
|
AssociateLibraryItemReviewCommandOutput,
|
|
@@ -596,5 +600,19 @@ export interface QApps {
|
|
|
596
600
|
options: __HttpHandlerOptions,
|
|
597
601
|
cb: (err: any, data?: UpdateQAppSessionMetadataCommandOutput) => void
|
|
598
602
|
): void;
|
|
603
|
+
paginateListLibraryItems(
|
|
604
|
+
args: ListLibraryItemsCommandInput,
|
|
605
|
+
paginationConfig?: Pick<
|
|
606
|
+
PaginationConfiguration,
|
|
607
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
608
|
+
>
|
|
609
|
+
): Paginator<ListLibraryItemsCommandOutput>;
|
|
610
|
+
paginateListQApps(
|
|
611
|
+
args: ListQAppsCommandInput,
|
|
612
|
+
paginationConfig?: Pick<
|
|
613
|
+
PaginationConfiguration,
|
|
614
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
615
|
+
>
|
|
616
|
+
): Paginator<ListQAppsCommandOutput>;
|
|
599
617
|
}
|
|
600
618
|
export declare class QApps extends QAppsClient implements QApps {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qapps",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qapps Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qapps",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|