@aws-sdk/client-qapps 3.1076.0 → 3.1078.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 +46 -355
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateLibraryItemReviewCommand.js +2 -14
- package/dist-es/commands/AssociateQAppWithUserCommand.js +2 -14
- package/dist-es/commands/BatchCreateCategoryCommand.js +2 -14
- package/dist-es/commands/BatchDeleteCategoryCommand.js +2 -14
- package/dist-es/commands/BatchUpdateCategoryCommand.js +2 -14
- package/dist-es/commands/CreateLibraryItemCommand.js +2 -14
- package/dist-es/commands/CreatePresignedUrlCommand.js +2 -14
- package/dist-es/commands/CreateQAppCommand.js +2 -14
- package/dist-es/commands/DeleteLibraryItemCommand.js +2 -14
- package/dist-es/commands/DeleteQAppCommand.js +2 -14
- package/dist-es/commands/DescribeQAppPermissionsCommand.js +2 -14
- package/dist-es/commands/DisassociateLibraryItemReviewCommand.js +2 -14
- package/dist-es/commands/DisassociateQAppFromUserCommand.js +2 -14
- package/dist-es/commands/ExportQAppSessionDataCommand.js +2 -14
- package/dist-es/commands/GetLibraryItemCommand.js +2 -14
- package/dist-es/commands/GetQAppCommand.js +2 -14
- package/dist-es/commands/GetQAppSessionCommand.js +2 -14
- package/dist-es/commands/GetQAppSessionMetadataCommand.js +2 -14
- package/dist-es/commands/ImportDocumentCommand.js +2 -14
- package/dist-es/commands/ListCategoriesCommand.js +2 -14
- package/dist-es/commands/ListLibraryItemsCommand.js +2 -14
- package/dist-es/commands/ListQAppSessionDataCommand.js +2 -14
- package/dist-es/commands/ListQAppsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/PredictQAppCommand.js +2 -14
- package/dist-es/commands/StartQAppSessionCommand.js +2 -14
- package/dist-es/commands/StopQAppSessionCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateLibraryItemCommand.js +2 -14
- package/dist-es/commands/UpdateLibraryItemMetadataCommand.js +2 -14
- package/dist-es/commands/UpdateQAppCommand.js +2 -14
- package/dist-es/commands/UpdateQAppPermissionsCommand.js +2 -14
- package/dist-es/commands/UpdateQAppSessionCommand.js +2 -14
- package/dist-es/commands/UpdateQAppSessionMetadataCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateLibraryItemReviewCommand.d.ts +3 -8
- package/dist-types/commands/AssociateQAppWithUserCommand.d.ts +3 -8
- package/dist-types/commands/BatchCreateCategoryCommand.d.ts +3 -8
- package/dist-types/commands/BatchDeleteCategoryCommand.d.ts +3 -8
- package/dist-types/commands/BatchUpdateCategoryCommand.d.ts +3 -8
- package/dist-types/commands/CreateLibraryItemCommand.d.ts +3 -8
- package/dist-types/commands/CreatePresignedUrlCommand.d.ts +3 -8
- package/dist-types/commands/CreateQAppCommand.d.ts +3 -8
- package/dist-types/commands/DeleteLibraryItemCommand.d.ts +3 -8
- package/dist-types/commands/DeleteQAppCommand.d.ts +3 -8
- package/dist-types/commands/DescribeQAppPermissionsCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateLibraryItemReviewCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateQAppFromUserCommand.d.ts +3 -8
- package/dist-types/commands/ExportQAppSessionDataCommand.d.ts +3 -8
- package/dist-types/commands/GetLibraryItemCommand.d.ts +3 -8
- package/dist-types/commands/GetQAppCommand.d.ts +3 -8
- package/dist-types/commands/GetQAppSessionCommand.d.ts +3 -8
- package/dist-types/commands/GetQAppSessionMetadataCommand.d.ts +3 -8
- package/dist-types/commands/ImportDocumentCommand.d.ts +3 -8
- package/dist-types/commands/ListCategoriesCommand.d.ts +3 -8
- package/dist-types/commands/ListLibraryItemsCommand.d.ts +3 -8
- package/dist-types/commands/ListQAppSessionDataCommand.d.ts +3 -8
- package/dist-types/commands/ListQAppsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PredictQAppCommand.d.ts +3 -8
- package/dist-types/commands/StartQAppSessionCommand.d.ts +3 -8
- package/dist-types/commands/StopQAppSessionCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateLibraryItemCommand.d.ts +3 -8
- package/dist-types/commands/UpdateLibraryItemMetadataCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQAppCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQAppPermissionsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQAppSessionCommand.d.ts +3 -8
- package/dist-types/commands/UpdateQAppSessionMetadataCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateLibraryItemReviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssociateQAppWithUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchCreateCategoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchDeleteCategoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchUpdateCategoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateLibraryItemCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePresignedUrlCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateQAppCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteLibraryItemCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteQAppCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeQAppPermissionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateLibraryItemReviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateQAppFromUserCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportQAppSessionDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLibraryItemCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQAppCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQAppSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetQAppSessionMetadataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListCategoriesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListLibraryItemsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQAppSessionDataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListQAppsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PredictQAppCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartQAppSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopQAppSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateLibraryItemCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateLibraryItemMetadataCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQAppCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQAppPermissionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQAppSessionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateQAppSessionMetadataCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateQApp$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateQAppCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "CreateQApp", {})
|
|
13
|
-
.n("QAppsClient", "CreateQAppCommand")
|
|
14
|
-
.sc(CreateQApp$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateQAppCommand extends command(_ep0, _mw0, "CreateQApp", CreateQApp$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteLibraryItem$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteLibraryItemCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "DeleteLibraryItem", {})
|
|
13
|
-
.n("QAppsClient", "DeleteLibraryItemCommand")
|
|
14
|
-
.sc(DeleteLibraryItem$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteLibraryItemCommand extends command(_ep0, _mw0, "DeleteLibraryItem", DeleteLibraryItem$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteQApp$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteQAppCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "DeleteQApp", {})
|
|
13
|
-
.n("QAppsClient", "DeleteQAppCommand")
|
|
14
|
-
.sc(DeleteQApp$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteQAppCommand extends command(_ep0, _mw0, "DeleteQApp", DeleteQApp$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeQAppPermissions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeQAppPermissionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "DescribeQAppPermissions", {})
|
|
13
|
-
.n("QAppsClient", "DescribeQAppPermissionsCommand")
|
|
14
|
-
.sc(DescribeQAppPermissions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeQAppPermissionsCommand extends command(_ep0, _mw0, "DescribeQAppPermissions", DescribeQAppPermissions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DisassociateLibraryItemReview$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisassociateLibraryItemReviewCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "DisassociateLibraryItemReview", {})
|
|
13
|
-
.n("QAppsClient", "DisassociateLibraryItemReviewCommand")
|
|
14
|
-
.sc(DisassociateLibraryItemReview$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisassociateLibraryItemReviewCommand extends command(_ep0, _mw0, "DisassociateLibraryItemReview", DisassociateLibraryItemReview$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DisassociateQAppFromUser$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisassociateQAppFromUserCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "DisassociateQAppFromUser", {})
|
|
13
|
-
.n("QAppsClient", "DisassociateQAppFromUserCommand")
|
|
14
|
-
.sc(DisassociateQAppFromUser$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisassociateQAppFromUserCommand extends command(_ep0, _mw0, "DisassociateQAppFromUser", DisassociateQAppFromUser$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ExportQAppSessionData$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportQAppSessionDataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "ExportQAppSessionData", {})
|
|
13
|
-
.n("QAppsClient", "ExportQAppSessionDataCommand")
|
|
14
|
-
.sc(ExportQAppSessionData$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportQAppSessionDataCommand extends command(_ep0, _mw0, "ExportQAppSessionData", ExportQAppSessionData$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetLibraryItem$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetLibraryItemCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "GetLibraryItem", {})
|
|
13
|
-
.n("QAppsClient", "GetLibraryItemCommand")
|
|
14
|
-
.sc(GetLibraryItem$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetLibraryItemCommand extends command(_ep0, _mw0, "GetLibraryItem", GetLibraryItem$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetQApp$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetQAppCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "GetQApp", {})
|
|
13
|
-
.n("QAppsClient", "GetQAppCommand")
|
|
14
|
-
.sc(GetQApp$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetQAppCommand extends command(_ep0, _mw0, "GetQApp", GetQApp$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetQAppSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetQAppSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "GetQAppSession", {})
|
|
13
|
-
.n("QAppsClient", "GetQAppSessionCommand")
|
|
14
|
-
.sc(GetQAppSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetQAppSessionCommand extends command(_ep0, _mw0, "GetQAppSession", GetQAppSession$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetQAppSessionMetadata$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetQAppSessionMetadataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "GetQAppSessionMetadata", {})
|
|
13
|
-
.n("QAppsClient", "GetQAppSessionMetadataCommand")
|
|
14
|
-
.sc(GetQAppSessionMetadata$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetQAppSessionMetadataCommand extends command(_ep0, _mw0, "GetQAppSessionMetadata", GetQAppSessionMetadata$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ImportDocument$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ImportDocumentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "ImportDocument", {})
|
|
13
|
-
.n("QAppsClient", "ImportDocumentCommand")
|
|
14
|
-
.sc(ImportDocument$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ImportDocumentCommand extends command(_ep0, _mw0, "ImportDocument", ImportDocument$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListCategories$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListCategoriesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "ListCategories", {})
|
|
13
|
-
.n("QAppsClient", "ListCategoriesCommand")
|
|
14
|
-
.sc(ListCategories$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListCategoriesCommand extends command(_ep0, _mw0, "ListCategories", ListCategories$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListLibraryItems$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListLibraryItemsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "ListLibraryItems", {})
|
|
13
|
-
.n("QAppsClient", "ListLibraryItemsCommand")
|
|
14
|
-
.sc(ListLibraryItems$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListLibraryItemsCommand extends command(_ep0, _mw0, "ListLibraryItems", ListLibraryItems$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListQAppSessionData$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListQAppSessionDataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "ListQAppSessionData", {})
|
|
13
|
-
.n("QAppsClient", "ListQAppSessionDataCommand")
|
|
14
|
-
.sc(ListQAppSessionData$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListQAppSessionDataCommand extends command(_ep0, _mw0, "ListQAppSessionData", ListQAppSessionData$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListQApps$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListQAppsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "ListQApps", {})
|
|
13
|
-
.n("QAppsClient", "ListQAppsCommand")
|
|
14
|
-
.sc(ListQApps$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListQAppsCommand extends command(_ep0, _mw0, "ListQApps", ListQApps$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "ListTagsForResource", {})
|
|
13
|
-
.n("QAppsClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PredictQApp$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PredictQAppCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "PredictQApp", {})
|
|
13
|
-
.n("QAppsClient", "PredictQAppCommand")
|
|
14
|
-
.sc(PredictQApp$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PredictQAppCommand extends command(_ep0, _mw0, "PredictQApp", PredictQApp$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartQAppSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartQAppSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "StartQAppSession", {})
|
|
13
|
-
.n("QAppsClient", "StartQAppSessionCommand")
|
|
14
|
-
.sc(StartQAppSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartQAppSessionCommand extends command(_ep0, _mw0, "StartQAppSession", StartQAppSession$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StopQAppSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StopQAppSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "StopQAppSession", {})
|
|
13
|
-
.n("QAppsClient", "StopQAppSessionCommand")
|
|
14
|
-
.sc(StopQAppSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StopQAppSessionCommand extends command(_ep0, _mw0, "StopQAppSession", StopQAppSession$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "TagResource", {})
|
|
13
|
-
.n("QAppsClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "UntagResource", {})
|
|
13
|
-
.n("QAppsClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateLibraryItem$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateLibraryItemCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "UpdateLibraryItem", {})
|
|
13
|
-
.n("QAppsClient", "UpdateLibraryItemCommand")
|
|
14
|
-
.sc(UpdateLibraryItem$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateLibraryItemCommand extends command(_ep0, _mw0, "UpdateLibraryItem", UpdateLibraryItem$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateLibraryItemMetadata$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateLibraryItemMetadataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "UpdateLibraryItemMetadata", {})
|
|
13
|
-
.n("QAppsClient", "UpdateLibraryItemMetadataCommand")
|
|
14
|
-
.sc(UpdateLibraryItemMetadata$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateLibraryItemMetadataCommand extends command(_ep0, _mw0, "UpdateLibraryItemMetadata", UpdateLibraryItemMetadata$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateQApp$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateQAppCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "UpdateQApp", {})
|
|
13
|
-
.n("QAppsClient", "UpdateQAppCommand")
|
|
14
|
-
.sc(UpdateQApp$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateQAppCommand extends command(_ep0, _mw0, "UpdateQApp", UpdateQApp$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateQAppPermissions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateQAppPermissionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "UpdateQAppPermissions", {})
|
|
13
|
-
.n("QAppsClient", "UpdateQAppPermissionsCommand")
|
|
14
|
-
.sc(UpdateQAppPermissions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateQAppPermissionsCommand extends command(_ep0, _mw0, "UpdateQAppPermissions", UpdateQAppPermissions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateQAppSession$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateQAppSessionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "UpdateQAppSession", {})
|
|
13
|
-
.n("QAppsClient", "UpdateQAppSessionCommand")
|
|
14
|
-
.sc(UpdateQAppSession$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateQAppSessionCommand extends command(_ep0, _mw0, "UpdateQAppSession", UpdateQAppSession$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateQAppSessionMetadata$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateQAppSessionMetadataCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("QAppsService", "UpdateQAppSessionMetadata", {})
|
|
13
|
-
.n("QAppsClient", "UpdateQAppSessionMetadataCommand")
|
|
14
|
-
.sc(UpdateQAppSessionMetadata$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateQAppSessionMetadataCommand extends command(_ep0, _mw0, "UpdateQAppSessionMetadata", UpdateQAppSessionMetadata$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "QAppsService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "QApps",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|