@aws-sdk/client-elementalinference 3.1077.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 (56) hide show
  1. package/dist-cjs/index.js +24 -163
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateFeedCommand.js +2 -14
  4. package/dist-es/commands/CreateDictionaryCommand.js +2 -14
  5. package/dist-es/commands/CreateFeedCommand.js +2 -14
  6. package/dist-es/commands/DeleteDictionaryCommand.js +2 -14
  7. package/dist-es/commands/DeleteFeedCommand.js +2 -14
  8. package/dist-es/commands/DisassociateFeedCommand.js +2 -14
  9. package/dist-es/commands/ExportDictionaryEntriesCommand.js +2 -14
  10. package/dist-es/commands/GetDictionaryCommand.js +2 -14
  11. package/dist-es/commands/GetFeedCommand.js +2 -14
  12. package/dist-es/commands/ListDictionariesCommand.js +2 -14
  13. package/dist-es/commands/ListFeedsCommand.js +2 -14
  14. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  15. package/dist-es/commands/TagResourceCommand.js +2 -14
  16. package/dist-es/commands/UntagResourceCommand.js +2 -14
  17. package/dist-es/commands/UpdateDictionaryCommand.js +2 -14
  18. package/dist-es/commands/UpdateFeedCommand.js +2 -14
  19. package/dist-es/index.js +1 -0
  20. package/dist-types/commandBuilder.d.ts +18 -0
  21. package/dist-types/commands/AssociateFeedCommand.d.ts +3 -8
  22. package/dist-types/commands/CreateDictionaryCommand.d.ts +3 -8
  23. package/dist-types/commands/CreateFeedCommand.d.ts +3 -8
  24. package/dist-types/commands/DeleteDictionaryCommand.d.ts +3 -8
  25. package/dist-types/commands/DeleteFeedCommand.d.ts +3 -8
  26. package/dist-types/commands/DisassociateFeedCommand.d.ts +3 -8
  27. package/dist-types/commands/ExportDictionaryEntriesCommand.d.ts +3 -8
  28. package/dist-types/commands/GetDictionaryCommand.d.ts +3 -8
  29. package/dist-types/commands/GetFeedCommand.d.ts +3 -8
  30. package/dist-types/commands/ListDictionariesCommand.d.ts +3 -8
  31. package/dist-types/commands/ListFeedsCommand.d.ts +3 -8
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  33. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  34. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  35. package/dist-types/commands/UpdateDictionaryCommand.d.ts +3 -8
  36. package/dist-types/commands/UpdateFeedCommand.d.ts +3 -8
  37. package/dist-types/index.d.ts +1 -0
  38. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  39. package/dist-types/ts3.4/commands/AssociateFeedCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/CreateDictionaryCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/CreateFeedCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/DeleteDictionaryCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/DeleteFeedCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/DisassociateFeedCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/ExportDictionaryEntriesCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/GetDictionaryCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/GetFeedCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/ListDictionariesCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/ListFeedsCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  53. package/dist-types/ts3.4/commands/UpdateDictionaryCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/UpdateFeedCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/index.d.ts +1 -0
  56. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -800,196 +801,56 @@ class ElementalInferenceClient extends Client {
800
801
  }
801
802
  }
802
803
 
803
- class AssociateFeedCommand extends Command
804
- .classBuilder()
805
- .ep(commonParams)
806
- .m(function (Command, cs, config, o) {
807
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
808
- })
809
- .s("ElementalInference", "AssociateFeed", {})
810
- .n("ElementalInferenceClient", "AssociateFeedCommand")
811
- .sc(AssociateFeed$)
812
- .build() {
804
+ const command = makeBuilder(commonParams, "ElementalInference", "ElementalInferenceClient", getEndpointPlugin);
805
+ const _ep0 = {};
806
+ const _mw0 = (Command, cs, config, o) => [];
807
+
808
+ class AssociateFeedCommand extends command(_ep0, _mw0, "AssociateFeed", AssociateFeed$) {
813
809
  }
814
810
 
815
- class CreateDictionaryCommand extends Command
816
- .classBuilder()
817
- .ep(commonParams)
818
- .m(function (Command, cs, config, o) {
819
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
820
- })
821
- .s("ElementalInference", "CreateDictionary", {})
822
- .n("ElementalInferenceClient", "CreateDictionaryCommand")
823
- .sc(CreateDictionary$)
824
- .build() {
811
+ class CreateDictionaryCommand extends command(_ep0, _mw0, "CreateDictionary", CreateDictionary$) {
825
812
  }
826
813
 
827
- class CreateFeedCommand extends Command
828
- .classBuilder()
829
- .ep(commonParams)
830
- .m(function (Command, cs, config, o) {
831
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
832
- })
833
- .s("ElementalInference", "CreateFeed", {})
834
- .n("ElementalInferenceClient", "CreateFeedCommand")
835
- .sc(CreateFeed$)
836
- .build() {
814
+ class CreateFeedCommand extends command(_ep0, _mw0, "CreateFeed", CreateFeed$) {
837
815
  }
838
816
 
839
- class DeleteDictionaryCommand extends Command
840
- .classBuilder()
841
- .ep(commonParams)
842
- .m(function (Command, cs, config, o) {
843
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
844
- })
845
- .s("ElementalInference", "DeleteDictionary", {})
846
- .n("ElementalInferenceClient", "DeleteDictionaryCommand")
847
- .sc(DeleteDictionary$)
848
- .build() {
817
+ class DeleteDictionaryCommand extends command(_ep0, _mw0, "DeleteDictionary", DeleteDictionary$) {
849
818
  }
850
819
 
851
- class DeleteFeedCommand extends Command
852
- .classBuilder()
853
- .ep(commonParams)
854
- .m(function (Command, cs, config, o) {
855
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
856
- })
857
- .s("ElementalInference", "DeleteFeed", {})
858
- .n("ElementalInferenceClient", "DeleteFeedCommand")
859
- .sc(DeleteFeed$)
860
- .build() {
820
+ class DeleteFeedCommand extends command(_ep0, _mw0, "DeleteFeed", DeleteFeed$) {
861
821
  }
862
822
 
863
- class DisassociateFeedCommand extends Command
864
- .classBuilder()
865
- .ep(commonParams)
866
- .m(function (Command, cs, config, o) {
867
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
868
- })
869
- .s("ElementalInference", "DisassociateFeed", {})
870
- .n("ElementalInferenceClient", "DisassociateFeedCommand")
871
- .sc(DisassociateFeed$)
872
- .build() {
823
+ class DisassociateFeedCommand extends command(_ep0, _mw0, "DisassociateFeed", DisassociateFeed$) {
873
824
  }
874
825
 
875
- class ExportDictionaryEntriesCommand extends Command
876
- .classBuilder()
877
- .ep(commonParams)
878
- .m(function (Command, cs, config, o) {
879
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
880
- })
881
- .s("ElementalInference", "ExportDictionaryEntries", {})
882
- .n("ElementalInferenceClient", "ExportDictionaryEntriesCommand")
883
- .sc(ExportDictionaryEntries$)
884
- .build() {
826
+ class ExportDictionaryEntriesCommand extends command(_ep0, _mw0, "ExportDictionaryEntries", ExportDictionaryEntries$) {
885
827
  }
886
828
 
887
- class GetDictionaryCommand extends Command
888
- .classBuilder()
889
- .ep(commonParams)
890
- .m(function (Command, cs, config, o) {
891
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
892
- })
893
- .s("ElementalInference", "GetDictionary", {})
894
- .n("ElementalInferenceClient", "GetDictionaryCommand")
895
- .sc(GetDictionary$)
896
- .build() {
829
+ class GetDictionaryCommand extends command(_ep0, _mw0, "GetDictionary", GetDictionary$) {
897
830
  }
898
831
 
899
- class GetFeedCommand extends Command
900
- .classBuilder()
901
- .ep(commonParams)
902
- .m(function (Command, cs, config, o) {
903
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
904
- })
905
- .s("ElementalInference", "GetFeed", {})
906
- .n("ElementalInferenceClient", "GetFeedCommand")
907
- .sc(GetFeed$)
908
- .build() {
832
+ class GetFeedCommand extends command(_ep0, _mw0, "GetFeed", GetFeed$) {
909
833
  }
910
834
 
911
- class ListDictionariesCommand extends Command
912
- .classBuilder()
913
- .ep(commonParams)
914
- .m(function (Command, cs, config, o) {
915
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
916
- })
917
- .s("ElementalInference", "ListDictionaries", {})
918
- .n("ElementalInferenceClient", "ListDictionariesCommand")
919
- .sc(ListDictionaries$)
920
- .build() {
835
+ class ListDictionariesCommand extends command(_ep0, _mw0, "ListDictionaries", ListDictionaries$) {
921
836
  }
922
837
 
923
- class ListFeedsCommand extends Command
924
- .classBuilder()
925
- .ep(commonParams)
926
- .m(function (Command, cs, config, o) {
927
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
928
- })
929
- .s("ElementalInference", "ListFeeds", {})
930
- .n("ElementalInferenceClient", "ListFeedsCommand")
931
- .sc(ListFeeds$)
932
- .build() {
838
+ class ListFeedsCommand extends command(_ep0, _mw0, "ListFeeds", ListFeeds$) {
933
839
  }
934
840
 
935
- class ListTagsForResourceCommand extends Command
936
- .classBuilder()
937
- .ep(commonParams)
938
- .m(function (Command, cs, config, o) {
939
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
940
- })
941
- .s("ElementalInference", "ListTagsForResource", {})
942
- .n("ElementalInferenceClient", "ListTagsForResourceCommand")
943
- .sc(ListTagsForResource$)
944
- .build() {
841
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
945
842
  }
946
843
 
947
- class TagResourceCommand extends Command
948
- .classBuilder()
949
- .ep(commonParams)
950
- .m(function (Command, cs, config, o) {
951
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
952
- })
953
- .s("ElementalInference", "TagResource", {})
954
- .n("ElementalInferenceClient", "TagResourceCommand")
955
- .sc(TagResource$)
956
- .build() {
844
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
957
845
  }
958
846
 
959
- class UntagResourceCommand extends Command
960
- .classBuilder()
961
- .ep(commonParams)
962
- .m(function (Command, cs, config, o) {
963
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
964
- })
965
- .s("ElementalInference", "UntagResource", {})
966
- .n("ElementalInferenceClient", "UntagResourceCommand")
967
- .sc(UntagResource$)
968
- .build() {
847
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
969
848
  }
970
849
 
971
- class UpdateDictionaryCommand extends Command
972
- .classBuilder()
973
- .ep(commonParams)
974
- .m(function (Command, cs, config, o) {
975
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
976
- })
977
- .s("ElementalInference", "UpdateDictionary", {})
978
- .n("ElementalInferenceClient", "UpdateDictionaryCommand")
979
- .sc(UpdateDictionary$)
980
- .build() {
850
+ class UpdateDictionaryCommand extends command(_ep0, _mw0, "UpdateDictionary", UpdateDictionary$) {
981
851
  }
982
852
 
983
- class UpdateFeedCommand extends Command
984
- .classBuilder()
985
- .ep(commonParams)
986
- .m(function (Command, cs, config, o) {
987
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
988
- })
989
- .s("ElementalInference", "UpdateFeed", {})
990
- .n("ElementalInferenceClient", "UpdateFeedCommand")
991
- .sc(UpdateFeed$)
992
- .build() {
853
+ class UpdateFeedCommand extends command(_ep0, _mw0, "UpdateFeed", UpdateFeed$) {
993
854
  }
994
855
 
995
856
  const paginateListDictionaries = createPaginator(ElementalInferenceClient, ListDictionariesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "ElementalInference", "ElementalInferenceClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -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 { AssociateFeed$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateFeedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "AssociateFeed", {})
13
- .n("ElementalInferenceClient", "AssociateFeedCommand")
14
- .sc(AssociateFeed$)
15
- .build() {
3
+ export class AssociateFeedCommand extends command(_ep0, _mw0, "AssociateFeed", AssociateFeed$) {
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 { CreateDictionary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDictionaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "CreateDictionary", {})
13
- .n("ElementalInferenceClient", "CreateDictionaryCommand")
14
- .sc(CreateDictionary$)
15
- .build() {
3
+ export class CreateDictionaryCommand extends command(_ep0, _mw0, "CreateDictionary", CreateDictionary$) {
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 { CreateFeed$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateFeedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "CreateFeed", {})
13
- .n("ElementalInferenceClient", "CreateFeedCommand")
14
- .sc(CreateFeed$)
15
- .build() {
3
+ export class CreateFeedCommand extends command(_ep0, _mw0, "CreateFeed", CreateFeed$) {
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 { DeleteDictionary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDictionaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "DeleteDictionary", {})
13
- .n("ElementalInferenceClient", "DeleteDictionaryCommand")
14
- .sc(DeleteDictionary$)
15
- .build() {
3
+ export class DeleteDictionaryCommand extends command(_ep0, _mw0, "DeleteDictionary", DeleteDictionary$) {
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 { DeleteFeed$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteFeedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "DeleteFeed", {})
13
- .n("ElementalInferenceClient", "DeleteFeedCommand")
14
- .sc(DeleteFeed$)
15
- .build() {
3
+ export class DeleteFeedCommand extends command(_ep0, _mw0, "DeleteFeed", DeleteFeed$) {
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 { DisassociateFeed$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateFeedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "DisassociateFeed", {})
13
- .n("ElementalInferenceClient", "DisassociateFeedCommand")
14
- .sc(DisassociateFeed$)
15
- .build() {
3
+ export class DisassociateFeedCommand extends command(_ep0, _mw0, "DisassociateFeed", DisassociateFeed$) {
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 { ExportDictionaryEntries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExportDictionaryEntriesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "ExportDictionaryEntries", {})
13
- .n("ElementalInferenceClient", "ExportDictionaryEntriesCommand")
14
- .sc(ExportDictionaryEntries$)
15
- .build() {
3
+ export class ExportDictionaryEntriesCommand extends command(_ep0, _mw0, "ExportDictionaryEntries", ExportDictionaryEntries$) {
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 { GetDictionary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDictionaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "GetDictionary", {})
13
- .n("ElementalInferenceClient", "GetDictionaryCommand")
14
- .sc(GetDictionary$)
15
- .build() {
3
+ export class GetDictionaryCommand extends command(_ep0, _mw0, "GetDictionary", GetDictionary$) {
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 { GetFeed$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetFeedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "GetFeed", {})
13
- .n("ElementalInferenceClient", "GetFeedCommand")
14
- .sc(GetFeed$)
15
- .build() {
3
+ export class GetFeedCommand extends command(_ep0, _mw0, "GetFeed", GetFeed$) {
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 { ListDictionaries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDictionariesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "ListDictionaries", {})
13
- .n("ElementalInferenceClient", "ListDictionariesCommand")
14
- .sc(ListDictionaries$)
15
- .build() {
3
+ export class ListDictionariesCommand extends command(_ep0, _mw0, "ListDictionaries", ListDictionaries$) {
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 { ListFeeds$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListFeedsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "ListFeeds", {})
13
- .n("ElementalInferenceClient", "ListFeedsCommand")
14
- .sc(ListFeeds$)
15
- .build() {
3
+ export class ListFeedsCommand extends command(_ep0, _mw0, "ListFeeds", ListFeeds$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
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("ElementalInference", "ListTagsForResource", {})
13
- .n("ElementalInferenceClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
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("ElementalInference", "TagResource", {})
13
- .n("ElementalInferenceClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
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("ElementalInference", "UntagResource", {})
13
- .n("ElementalInferenceClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateDictionary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDictionaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "UpdateDictionary", {})
13
- .n("ElementalInferenceClient", "UpdateDictionaryCommand")
14
- .sc(UpdateDictionary$)
15
- .build() {
3
+ export class UpdateDictionaryCommand extends command(_ep0, _mw0, "UpdateDictionary", UpdateDictionary$) {
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 { UpdateFeed$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateFeedCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ElementalInference", "UpdateFeed", {})
13
- .n("ElementalInferenceClient", "UpdateFeedCommand")
14
- .sc(UpdateFeed$)
15
- .build() {
3
+ export class UpdateFeedCommand extends command(_ep0, _mw0, "UpdateFeed", UpdateFeed$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ElementalInferenceClient";
2
2
  export * from "./ElementalInference";
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 "./waiters";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ElementalInferenceClient";
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, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ElementalInferenceClientResolvedConfig, 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 { ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElementalInferenceClient";
4
2
  import type { AssociateFeedRequest, AssociateFeedResponse } 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 AssociateFeedCommandInput extends AssociateFeedRequest {
22
19
  export interface AssociateFeedCommandOutput extends AssociateFeedResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateFeedCommand_base: {
25
- new (input: AssociateFeedCommandInput): import("@smithy/core/client").CommandImpl<AssociateFeedCommandInput, AssociateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateFeedCommandInput): import("@smithy/core/client").CommandImpl<AssociateFeedCommandInput, AssociateFeedCommandOutput, ElementalInferenceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateFeedCommandInput): import("@smithy/core/client").CommandImpl<AssociateFeedCommandInput, AssociateFeedCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateFeedCommandInput): import("@smithy/core/client").CommandImpl<AssociateFeedCommandInput, AssociateFeedCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Associates a resource with the feed. The resource provides the input that Elemental Inference needs in order to perform an Elemental Inference feature, such as cropping video. You always provide the resource by associating it with a feed. You can associate only one resource with each feed. With an association, a specific source media is claiming ownership of the feed. </p> <p>AssociateFeed is a PATCH operation, which means that you can include only parameters that you want to change. Parameters that you don't include will not be affected by the operation. </p> <p>Specifically:</p> <ul> <li> <p>You can add more outputs to the existing outputs. New outputs will be appended.</p> </li> <li> <p>You can't modify an existing output (for example to change its name). Instead, use UpdateFeed. </p> </li> <li> <p>You can't delete an existing output. Instead, use UpdateFeed.</p> </li> </ul> <p>Also note that you can't change the feed name with AssociateFeed. Instead, use UpdateFeed. </p>