@aws-sdk/client-qapps 3.928.0 → 3.929.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.
Files changed (56) hide show
  1. package/dist-cjs/index.js +1792 -1872
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/QAppsClient.js +2 -0
  4. package/dist-es/commands/AssociateLibraryItemReviewCommand.js +3 -9
  5. package/dist-es/commands/AssociateQAppWithUserCommand.js +3 -9
  6. package/dist-es/commands/BatchCreateCategoryCommand.js +3 -9
  7. package/dist-es/commands/BatchDeleteCategoryCommand.js +3 -9
  8. package/dist-es/commands/BatchUpdateCategoryCommand.js +3 -9
  9. package/dist-es/commands/CreateLibraryItemCommand.js +3 -9
  10. package/dist-es/commands/CreatePresignedUrlCommand.js +3 -9
  11. package/dist-es/commands/CreateQAppCommand.js +3 -9
  12. package/dist-es/commands/DeleteLibraryItemCommand.js +3 -9
  13. package/dist-es/commands/DeleteQAppCommand.js +3 -9
  14. package/dist-es/commands/DescribeQAppPermissionsCommand.js +3 -9
  15. package/dist-es/commands/DisassociateLibraryItemReviewCommand.js +3 -9
  16. package/dist-es/commands/DisassociateQAppFromUserCommand.js +3 -9
  17. package/dist-es/commands/ExportQAppSessionDataCommand.js +3 -9
  18. package/dist-es/commands/GetLibraryItemCommand.js +3 -9
  19. package/dist-es/commands/GetQAppCommand.js +3 -9
  20. package/dist-es/commands/GetQAppSessionCommand.js +3 -9
  21. package/dist-es/commands/GetQAppSessionMetadataCommand.js +3 -9
  22. package/dist-es/commands/ImportDocumentCommand.js +3 -9
  23. package/dist-es/commands/ListCategoriesCommand.js +3 -9
  24. package/dist-es/commands/ListLibraryItemsCommand.js +3 -9
  25. package/dist-es/commands/ListQAppSessionDataCommand.js +3 -9
  26. package/dist-es/commands/ListQAppsCommand.js +3 -9
  27. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  28. package/dist-es/commands/PredictQAppCommand.js +3 -9
  29. package/dist-es/commands/StartQAppSessionCommand.js +3 -9
  30. package/dist-es/commands/StopQAppSessionCommand.js +3 -9
  31. package/dist-es/commands/TagResourceCommand.js +3 -9
  32. package/dist-es/commands/UntagResourceCommand.js +3 -9
  33. package/dist-es/commands/UpdateLibraryItemCommand.js +3 -9
  34. package/dist-es/commands/UpdateLibraryItemMetadataCommand.js +3 -9
  35. package/dist-es/commands/UpdateQAppCommand.js +3 -9
  36. package/dist-es/commands/UpdateQAppPermissionsCommand.js +3 -9
  37. package/dist-es/commands/UpdateQAppSessionCommand.js +3 -9
  38. package/dist-es/commands/UpdateQAppSessionMetadataCommand.js +3 -9
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-es/schemas/schemas_0.js +1713 -0
  41. package/dist-types/QAppsClient.d.ts +10 -1
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  43. package/dist-types/runtimeConfig.d.ts +1 -0
  44. package/dist-types/runtimeConfig.native.d.ts +1 -0
  45. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +168 -0
  47. package/dist-types/ts3.4/QAppsClient.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +174 -0
  53. package/package.json +2 -2
  54. package/dist-es/protocols/Aws_restJson1.js +0 -1611
  55. package/dist-types/protocols/Aws_restJson1.d.ts +0 -317
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -425
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListQAppsCommand, se_ListQAppsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListQApps } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListQAppsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "ListQApps", {})
17
13
  .n("QAppsClient", "ListQAppsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListQAppsCommand)
20
- .de(de_ListQAppsCommand)
14
+ .sc(ListQApps)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "ListTagsForResource", {})
17
13
  .n("QAppsClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PredictQAppCommand, se_PredictQAppCommand } from "../protocols/Aws_restJson1";
4
+ import { PredictQApp } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PredictQAppCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "PredictQApp", {})
17
13
  .n("QAppsClient", "PredictQAppCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PredictQAppCommand)
20
- .de(de_PredictQAppCommand)
14
+ .sc(PredictQApp)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartQAppSessionCommand, se_StartQAppSessionCommand } from "../protocols/Aws_restJson1";
4
+ import { StartQAppSession } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartQAppSessionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "StartQAppSession", {})
17
13
  .n("QAppsClient", "StartQAppSessionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartQAppSessionCommand)
20
- .de(de_StartQAppSessionCommand)
14
+ .sc(StartQAppSession)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopQAppSessionCommand, se_StopQAppSessionCommand } from "../protocols/Aws_restJson1";
4
+ import { StopQAppSession } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopQAppSessionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "StopQAppSession", {})
17
13
  .n("QAppsClient", "StopQAppSessionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopQAppSessionCommand)
20
- .de(de_StopQAppSessionCommand)
14
+ .sc(StopQAppSession)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "TagResource", {})
17
13
  .n("QAppsClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "UntagResource", {})
17
13
  .n("QAppsClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateLibraryItemCommand, se_UpdateLibraryItemCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateLibraryItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLibraryItemCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "UpdateLibraryItem", {})
17
13
  .n("QAppsClient", "UpdateLibraryItemCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLibraryItemCommand)
20
- .de(de_UpdateLibraryItemCommand)
14
+ .sc(UpdateLibraryItem)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateLibraryItemMetadataCommand, se_UpdateLibraryItemMetadataCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateLibraryItemMetadata } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLibraryItemMetadataCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "UpdateLibraryItemMetadata", {})
17
13
  .n("QAppsClient", "UpdateLibraryItemMetadataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLibraryItemMetadataCommand)
20
- .de(de_UpdateLibraryItemMetadataCommand)
14
+ .sc(UpdateLibraryItemMetadata)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateQAppCommand, se_UpdateQAppCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateQApp } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateQAppCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "UpdateQApp", {})
17
13
  .n("QAppsClient", "UpdateQAppCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateQAppCommand)
20
- .de(de_UpdateQAppCommand)
14
+ .sc(UpdateQApp)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateQAppPermissionsCommand, se_UpdateQAppPermissionsCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateQAppPermissions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateQAppPermissionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "UpdateQAppPermissions", {})
17
13
  .n("QAppsClient", "UpdateQAppPermissionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateQAppPermissionsCommand)
20
- .de(de_UpdateQAppPermissionsCommand)
14
+ .sc(UpdateQAppPermissions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateQAppSessionCommand, se_UpdateQAppSessionCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateQAppSession } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateQAppSessionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "UpdateQAppSession", {})
17
13
  .n("QAppsClient", "UpdateQAppSessionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateQAppSessionCommand)
20
- .de(de_UpdateQAppSessionCommand)
14
+ .sc(UpdateQAppSession)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateQAppSessionMetadataCommand, se_UpdateQAppSessionMetadataCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateQAppSessionMetadata } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateQAppSessionMetadataCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("QAppsService", "UpdateQAppSessionMetadata", {})
17
13
  .n("QAppsClient", "UpdateQAppSessionMetadataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateQAppSessionMetadataCommand)
20
- .de(de_UpdateQAppSessionMetadataCommand)
14
+ .sc(UpdateQAppSessionMetadata)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.qapps" }),
25
27
  serviceId: config?.serviceId ?? "QApps",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,