@aws-sdk/client-finspace-data 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.
Files changed (113) hide show
  1. package/dist-cjs/index.js +42 -315
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateUserToPermissionGroupCommand.js +2 -14
  4. package/dist-es/commands/CreateChangesetCommand.js +2 -14
  5. package/dist-es/commands/CreateDataViewCommand.js +2 -14
  6. package/dist-es/commands/CreateDatasetCommand.js +2 -14
  7. package/dist-es/commands/CreatePermissionGroupCommand.js +2 -14
  8. package/dist-es/commands/CreateUserCommand.js +2 -14
  9. package/dist-es/commands/DeleteDatasetCommand.js +2 -14
  10. package/dist-es/commands/DeletePermissionGroupCommand.js +2 -14
  11. package/dist-es/commands/DisableUserCommand.js +2 -14
  12. package/dist-es/commands/DisassociateUserFromPermissionGroupCommand.js +2 -14
  13. package/dist-es/commands/EnableUserCommand.js +2 -14
  14. package/dist-es/commands/GetChangesetCommand.js +2 -14
  15. package/dist-es/commands/GetDataViewCommand.js +2 -14
  16. package/dist-es/commands/GetDatasetCommand.js +2 -14
  17. package/dist-es/commands/GetExternalDataViewAccessDetailsCommand.js +2 -14
  18. package/dist-es/commands/GetPermissionGroupCommand.js +2 -14
  19. package/dist-es/commands/GetProgrammaticAccessCredentialsCommand.js +2 -14
  20. package/dist-es/commands/GetUserCommand.js +2 -14
  21. package/dist-es/commands/GetWorkingLocationCommand.js +2 -14
  22. package/dist-es/commands/ListChangesetsCommand.js +2 -14
  23. package/dist-es/commands/ListDataViewsCommand.js +2 -14
  24. package/dist-es/commands/ListDatasetsCommand.js +2 -14
  25. package/dist-es/commands/ListPermissionGroupsByUserCommand.js +2 -14
  26. package/dist-es/commands/ListPermissionGroupsCommand.js +2 -14
  27. package/dist-es/commands/ListUsersByPermissionGroupCommand.js +2 -14
  28. package/dist-es/commands/ListUsersCommand.js +2 -14
  29. package/dist-es/commands/ResetUserPasswordCommand.js +2 -14
  30. package/dist-es/commands/UpdateChangesetCommand.js +2 -14
  31. package/dist-es/commands/UpdateDatasetCommand.js +2 -14
  32. package/dist-es/commands/UpdatePermissionGroupCommand.js +2 -14
  33. package/dist-es/commands/UpdateUserCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-es/runtimeConfig.browser.js +0 -2
  36. package/dist-es/runtimeConfig.js +1 -2
  37. package/dist-es/runtimeConfig.native.js +0 -2
  38. package/dist-es/runtimeConfig.shared.js +2 -0
  39. package/dist-types/commandBuilder.d.ts +18 -0
  40. package/dist-types/commands/AssociateUserToPermissionGroupCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateChangesetCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateDataViewCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateDatasetCommand.d.ts +3 -8
  44. package/dist-types/commands/CreatePermissionGroupCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateUserCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteDatasetCommand.d.ts +3 -8
  47. package/dist-types/commands/DeletePermissionGroupCommand.d.ts +3 -8
  48. package/dist-types/commands/DisableUserCommand.d.ts +3 -8
  49. package/dist-types/commands/DisassociateUserFromPermissionGroupCommand.d.ts +3 -8
  50. package/dist-types/commands/EnableUserCommand.d.ts +3 -8
  51. package/dist-types/commands/GetChangesetCommand.d.ts +3 -8
  52. package/dist-types/commands/GetDataViewCommand.d.ts +3 -8
  53. package/dist-types/commands/GetDatasetCommand.d.ts +3 -8
  54. package/dist-types/commands/GetExternalDataViewAccessDetailsCommand.d.ts +3 -8
  55. package/dist-types/commands/GetPermissionGroupCommand.d.ts +3 -8
  56. package/dist-types/commands/GetProgrammaticAccessCredentialsCommand.d.ts +3 -8
  57. package/dist-types/commands/GetUserCommand.d.ts +3 -8
  58. package/dist-types/commands/GetWorkingLocationCommand.d.ts +3 -8
  59. package/dist-types/commands/ListChangesetsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListDataViewsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListDatasetsCommand.d.ts +3 -8
  62. package/dist-types/commands/ListPermissionGroupsByUserCommand.d.ts +3 -8
  63. package/dist-types/commands/ListPermissionGroupsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListUsersByPermissionGroupCommand.d.ts +3 -8
  65. package/dist-types/commands/ListUsersCommand.d.ts +3 -8
  66. package/dist-types/commands/ResetUserPasswordCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateChangesetCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateDatasetCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdatePermissionGroupCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateUserCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  73. package/dist-types/runtimeConfig.d.ts +1 -1
  74. package/dist-types/runtimeConfig.native.d.ts +1 -1
  75. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  76. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/AssociateUserToPermissionGroupCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateChangesetCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/CreateDataViewCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/CreatePermissionGroupCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeletePermissionGroupCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DisassociateUserFromPermissionGroupCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/EnableUserCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetChangesetCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetDataViewCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/GetExternalDataViewAccessDetailsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/GetPermissionGroupCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GetProgrammaticAccessCredentialsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetUserCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetWorkingLocationCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListChangesetsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListDataViewsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListPermissionGroupsByUserCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListPermissionGroupsCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListUsersByPermissionGroupCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ResetUserPasswordCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UpdateChangesetCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/UpdatePermissionGroupCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/index.d.ts +1 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  113. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnableUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "EnableUser", {})
13
- .n("FinspaceDataClient", "EnableUserCommand")
14
- .sc(EnableUser$)
15
- .build() {
3
+ export class EnableUserCommand extends command(_ep0, _mw0, "EnableUser", EnableUser$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetChangeset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetChangesetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "GetChangeset", {})
13
- .n("FinspaceDataClient", "GetChangesetCommand")
14
- .sc(GetChangeset$)
15
- .build() {
3
+ export class GetChangesetCommand extends command(_ep0, _mw0, "GetChangeset", GetChangeset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "GetDataView", {})
13
- .n("FinspaceDataClient", "GetDataViewCommand")
14
- .sc(GetDataView$)
15
- .build() {
3
+ export class GetDataViewCommand extends command(_ep0, _mw0, "GetDataView", GetDataView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDatasetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "GetDataset", {})
13
- .n("FinspaceDataClient", "GetDatasetCommand")
14
- .sc(GetDataset$)
15
- .build() {
3
+ export class GetDatasetCommand extends command(_ep0, _mw0, "GetDataset", GetDataset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetExternalDataViewAccessDetails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetExternalDataViewAccessDetailsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "GetExternalDataViewAccessDetails", {})
13
- .n("FinspaceDataClient", "GetExternalDataViewAccessDetailsCommand")
14
- .sc(GetExternalDataViewAccessDetails$)
15
- .build() {
3
+ export class GetExternalDataViewAccessDetailsCommand extends command(_ep0, _mw0, "GetExternalDataViewAccessDetails", GetExternalDataViewAccessDetails$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetPermissionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetPermissionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "GetPermissionGroup", {})
13
- .n("FinspaceDataClient", "GetPermissionGroupCommand")
14
- .sc(GetPermissionGroup$)
15
- .build() {
3
+ export class GetPermissionGroupCommand extends command(_ep0, _mw0, "GetPermissionGroup", GetPermissionGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetProgrammaticAccessCredentials$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetProgrammaticAccessCredentialsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "GetProgrammaticAccessCredentials", {})
13
- .n("FinspaceDataClient", "GetProgrammaticAccessCredentialsCommand")
14
- .sc(GetProgrammaticAccessCredentials$)
15
- .build() {
3
+ export class GetProgrammaticAccessCredentialsCommand extends command(_ep0, _mw0, "GetProgrammaticAccessCredentials", GetProgrammaticAccessCredentials$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "GetUser", {})
13
- .n("FinspaceDataClient", "GetUserCommand")
14
- .sc(GetUser$)
15
- .build() {
3
+ export class GetUserCommand extends command(_ep0, _mw0, "GetUser", GetUser$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetWorkingLocation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetWorkingLocationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "GetWorkingLocation", {})
13
- .n("FinspaceDataClient", "GetWorkingLocationCommand")
14
- .sc(GetWorkingLocation$)
15
- .build() {
3
+ export class GetWorkingLocationCommand extends command(_ep0, _mw0, "GetWorkingLocation", GetWorkingLocation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListChangesets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListChangesetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "ListChangesets", {})
13
- .n("FinspaceDataClient", "ListChangesetsCommand")
14
- .sc(ListChangesets$)
15
- .build() {
3
+ export class ListChangesetsCommand extends command(_ep0, _mw0, "ListChangesets", ListChangesets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDataViews$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDataViewsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "ListDataViews", {})
13
- .n("FinspaceDataClient", "ListDataViewsCommand")
14
- .sc(ListDataViews$)
15
- .build() {
3
+ export class ListDataViewsCommand extends command(_ep0, _mw0, "ListDataViews", ListDataViews$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDatasets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDatasetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "ListDatasets", {})
13
- .n("FinspaceDataClient", "ListDatasetsCommand")
14
- .sc(ListDatasets$)
15
- .build() {
3
+ export class ListDatasetsCommand extends command(_ep0, _mw0, "ListDatasets", ListDatasets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPermissionGroupsByUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPermissionGroupsByUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "ListPermissionGroupsByUser", {})
13
- .n("FinspaceDataClient", "ListPermissionGroupsByUserCommand")
14
- .sc(ListPermissionGroupsByUser$)
15
- .build() {
3
+ export class ListPermissionGroupsByUserCommand extends command(_ep0, _mw0, "ListPermissionGroupsByUser", ListPermissionGroupsByUser$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPermissionGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPermissionGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "ListPermissionGroups", {})
13
- .n("FinspaceDataClient", "ListPermissionGroupsCommand")
14
- .sc(ListPermissionGroups$)
15
- .build() {
3
+ export class ListPermissionGroupsCommand extends command(_ep0, _mw0, "ListPermissionGroups", ListPermissionGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListUsersByPermissionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListUsersByPermissionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "ListUsersByPermissionGroup", {})
13
- .n("FinspaceDataClient", "ListUsersByPermissionGroupCommand")
14
- .sc(ListUsersByPermissionGroup$)
15
- .build() {
3
+ export class ListUsersByPermissionGroupCommand extends command(_ep0, _mw0, "ListUsersByPermissionGroup", ListUsersByPermissionGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListUsers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListUsersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "ListUsers", {})
13
- .n("FinspaceDataClient", "ListUsersCommand")
14
- .sc(ListUsers$)
15
- .build() {
3
+ export class ListUsersCommand extends command(_ep0, _mw0, "ListUsers", ListUsers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ResetUserPassword$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ResetUserPasswordCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "ResetUserPassword", {})
13
- .n("FinspaceDataClient", "ResetUserPasswordCommand")
14
- .sc(ResetUserPassword$)
15
- .build() {
3
+ export class ResetUserPasswordCommand extends command(_ep0, _mw0, "ResetUserPassword", ResetUserPassword$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateChangeset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateChangesetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "UpdateChangeset", {})
13
- .n("FinspaceDataClient", "UpdateChangesetCommand")
14
- .sc(UpdateChangeset$)
15
- .build() {
3
+ export class UpdateChangesetCommand extends command(_ep0, _mw0, "UpdateChangeset", UpdateChangeset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDataset$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDatasetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "UpdateDataset", {})
13
- .n("FinspaceDataClient", "UpdateDatasetCommand")
14
- .sc(UpdateDataset$)
15
- .build() {
3
+ export class UpdateDatasetCommand extends command(_ep0, _mw0, "UpdateDataset", UpdateDataset$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdatePermissionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePermissionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "UpdatePermissionGroup", {})
13
- .n("FinspaceDataClient", "UpdatePermissionGroupCommand")
14
- .sc(UpdatePermissionGroup$)
15
- .build() {
3
+ export class UpdatePermissionGroupCommand extends command(_ep0, _mw0, "UpdatePermissionGroup", UpdatePermissionGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateUser$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateUserCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSHabaneroPublicAPI", "UpdateUser", {})
13
- .n("FinspaceDataClient", "UpdateUserCommand")
14
- .sc(UpdateUser$)
15
- .build() {
3
+ export class UpdateUserCommand extends command(_ep0, _mw0, "UpdateUser", UpdateUser$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./FinspaceDataClient";
2
2
  export * from "./FinspaceData";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -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)),
@@ -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, Hash } from "@smithy/core/serde";
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: "AWSHabaneroPublicAPI",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "finspace data",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./FinspaceDataClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceDataClient";
4
2
  import type { AssociateUserToPermissionGroupRequest, AssociateUserToPermissionGroupResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateUserToPermissionGroupCommandInput extends AssociateUse
22
19
  export interface AssociateUserToPermissionGroupCommandOutput extends AssociateUserToPermissionGroupResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateUserToPermissionGroupCommand_base: {
25
- new (input: AssociateUserToPermissionGroupCommandInput): import("@smithy/core/client").CommandImpl<AssociateUserToPermissionGroupCommandInput, AssociateUserToPermissionGroupCommandOutput, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateUserToPermissionGroupCommandInput): import("@smithy/core/client").CommandImpl<AssociateUserToPermissionGroupCommandInput, AssociateUserToPermissionGroupCommandOutput, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateUserToPermissionGroupCommandInput): import("@smithy/core/client").CommandImpl<AssociateUserToPermissionGroupCommandInput, AssociateUserToPermissionGroupCommandOutput, import("..").FinspaceDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateUserToPermissionGroupCommandInput): import("@smithy/core/client").CommandImpl<AssociateUserToPermissionGroupCommandInput, AssociateUserToPermissionGroupCommandOutput, import("..").FinspaceDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceDataClient";
4
2
  import type { CreateChangesetRequest, CreateChangesetResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateChangesetCommandInput extends CreateChangesetRequest {
22
19
  export interface CreateChangesetCommandOutput extends CreateChangesetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateChangesetCommand_base: {
25
- new (input: CreateChangesetCommandInput): import("@smithy/core/client").CommandImpl<CreateChangesetCommandInput, CreateChangesetCommandOutput, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateChangesetCommandInput): import("@smithy/core/client").CommandImpl<CreateChangesetCommandInput, CreateChangesetCommandOutput, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateChangesetCommandInput): import("@smithy/core/client").CommandImpl<CreateChangesetCommandInput, CreateChangesetCommandOutput, import("..").FinspaceDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateChangesetCommandInput): import("@smithy/core/client").CommandImpl<CreateChangesetCommandInput, CreateChangesetCommandOutput, import("..").FinspaceDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new Changeset in a FinSpace Dataset.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceDataClient";
4
2
  import type { CreateDataViewRequest, CreateDataViewResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDataViewCommandInput extends CreateDataViewRequest {
22
19
  export interface CreateDataViewCommandOutput extends CreateDataViewResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDataViewCommand_base: {
25
- new (input: CreateDataViewCommandInput): import("@smithy/core/client").CommandImpl<CreateDataViewCommandInput, CreateDataViewCommandOutput, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDataViewCommandInput): import("@smithy/core/client").CommandImpl<CreateDataViewCommandInput, CreateDataViewCommandOutput, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDataViewCommandInput): import("@smithy/core/client").CommandImpl<CreateDataViewCommandInput, CreateDataViewCommandOutput, import("..").FinspaceDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDataViewCommandInput): import("@smithy/core/client").CommandImpl<CreateDataViewCommandInput, CreateDataViewCommandOutput, import("..").FinspaceDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a Dataview for a Dataset.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceDataClient";
4
2
  import type { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDatasetCommandInput extends CreateDatasetRequest {
22
19
  export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDatasetCommand_base: {
25
- new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, FinspaceDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, import("..").FinspaceDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDatasetCommandInput): import("@smithy/core/client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, import("..").FinspaceDataClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a new FinSpace Dataset.</p>