@aws-sdk/client-backupsearch 3.1077.0 → 3.1079.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 (44) hide show
  1. package/dist-cjs/index.js +20 -123
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/GetSearchJobCommand.js +2 -14
  4. package/dist-es/commands/GetSearchResultExportJobCommand.js +2 -14
  5. package/dist-es/commands/ListSearchJobBackupsCommand.js +2 -14
  6. package/dist-es/commands/ListSearchJobResultsCommand.js +2 -14
  7. package/dist-es/commands/ListSearchJobsCommand.js +2 -14
  8. package/dist-es/commands/ListSearchResultExportJobsCommand.js +2 -14
  9. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  10. package/dist-es/commands/StartSearchJobCommand.js +2 -14
  11. package/dist-es/commands/StartSearchResultExportJobCommand.js +2 -14
  12. package/dist-es/commands/StopSearchJobCommand.js +2 -14
  13. package/dist-es/commands/TagResourceCommand.js +2 -14
  14. package/dist-es/commands/UntagResourceCommand.js +2 -14
  15. package/dist-es/index.js +1 -0
  16. package/dist-types/commandBuilder.d.ts +18 -0
  17. package/dist-types/commands/GetSearchJobCommand.d.ts +3 -8
  18. package/dist-types/commands/GetSearchResultExportJobCommand.d.ts +3 -8
  19. package/dist-types/commands/ListSearchJobBackupsCommand.d.ts +3 -8
  20. package/dist-types/commands/ListSearchJobResultsCommand.d.ts +3 -8
  21. package/dist-types/commands/ListSearchJobsCommand.d.ts +3 -8
  22. package/dist-types/commands/ListSearchResultExportJobsCommand.d.ts +3 -8
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  24. package/dist-types/commands/StartSearchJobCommand.d.ts +3 -8
  25. package/dist-types/commands/StartSearchResultExportJobCommand.d.ts +3 -8
  26. package/dist-types/commands/StopSearchJobCommand.d.ts +3 -8
  27. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  29. package/dist-types/index.d.ts +1 -0
  30. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  31. package/dist-types/ts3.4/commands/GetSearchJobCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/GetSearchResultExportJobCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/ListSearchJobBackupsCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/ListSearchJobResultsCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/ListSearchJobsCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/ListSearchResultExportJobsCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/StartSearchJobCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/StartSearchResultExportJobCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/StopSearchJobCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/index.d.ts +1 -0
  44. 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, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, 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");
@@ -66,7 +67,7 @@ const commonParams = {
66
67
  Region: { type: "builtInParams", name: "region" },
67
68
  };
68
69
 
69
- var version = "3.1076.0";
70
+ var version = "3.1078.0";
70
71
  var packageInfo = {
71
72
  version: version};
72
73
 
@@ -855,148 +856,44 @@ class BackupSearchClient extends Client {
855
856
  }
856
857
  }
857
858
 
858
- class GetSearchJobCommand extends Command
859
- .classBuilder()
860
- .ep(commonParams)
861
- .m(function (Command, cs, config, o) {
862
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
863
- })
864
- .s("CryoBackupSearchService", "GetSearchJob", {})
865
- .n("BackupSearchClient", "GetSearchJobCommand")
866
- .sc(GetSearchJob$)
867
- .build() {
859
+ const command = makeBuilder(commonParams, "CryoBackupSearchService", "BackupSearchClient", getEndpointPlugin);
860
+ const _ep0 = {};
861
+ const _mw0 = (Command, cs, config, o) => [];
862
+
863
+ class GetSearchJobCommand extends command(_ep0, _mw0, "GetSearchJob", GetSearchJob$) {
868
864
  }
869
865
 
870
- class GetSearchResultExportJobCommand extends Command
871
- .classBuilder()
872
- .ep(commonParams)
873
- .m(function (Command, cs, config, o) {
874
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
875
- })
876
- .s("CryoBackupSearchService", "GetSearchResultExportJob", {})
877
- .n("BackupSearchClient", "GetSearchResultExportJobCommand")
878
- .sc(GetSearchResultExportJob$)
879
- .build() {
866
+ class GetSearchResultExportJobCommand extends command(_ep0, _mw0, "GetSearchResultExportJob", GetSearchResultExportJob$) {
880
867
  }
881
868
 
882
- class ListSearchJobBackupsCommand extends Command
883
- .classBuilder()
884
- .ep(commonParams)
885
- .m(function (Command, cs, config, o) {
886
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
887
- })
888
- .s("CryoBackupSearchService", "ListSearchJobBackups", {})
889
- .n("BackupSearchClient", "ListSearchJobBackupsCommand")
890
- .sc(ListSearchJobBackups$)
891
- .build() {
869
+ class ListSearchJobBackupsCommand extends command(_ep0, _mw0, "ListSearchJobBackups", ListSearchJobBackups$) {
892
870
  }
893
871
 
894
- class ListSearchJobResultsCommand extends Command
895
- .classBuilder()
896
- .ep(commonParams)
897
- .m(function (Command, cs, config, o) {
898
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
899
- })
900
- .s("CryoBackupSearchService", "ListSearchJobResults", {})
901
- .n("BackupSearchClient", "ListSearchJobResultsCommand")
902
- .sc(ListSearchJobResults$)
903
- .build() {
872
+ class ListSearchJobResultsCommand extends command(_ep0, _mw0, "ListSearchJobResults", ListSearchJobResults$) {
904
873
  }
905
874
 
906
- class ListSearchJobsCommand extends Command
907
- .classBuilder()
908
- .ep(commonParams)
909
- .m(function (Command, cs, config, o) {
910
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
911
- })
912
- .s("CryoBackupSearchService", "ListSearchJobs", {})
913
- .n("BackupSearchClient", "ListSearchJobsCommand")
914
- .sc(ListSearchJobs$)
915
- .build() {
875
+ class ListSearchJobsCommand extends command(_ep0, _mw0, "ListSearchJobs", ListSearchJobs$) {
916
876
  }
917
877
 
918
- class ListSearchResultExportJobsCommand extends Command
919
- .classBuilder()
920
- .ep(commonParams)
921
- .m(function (Command, cs, config, o) {
922
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
923
- })
924
- .s("CryoBackupSearchService", "ListSearchResultExportJobs", {})
925
- .n("BackupSearchClient", "ListSearchResultExportJobsCommand")
926
- .sc(ListSearchResultExportJobs$)
927
- .build() {
878
+ class ListSearchResultExportJobsCommand extends command(_ep0, _mw0, "ListSearchResultExportJobs", ListSearchResultExportJobs$) {
928
879
  }
929
880
 
930
- class ListTagsForResourceCommand extends Command
931
- .classBuilder()
932
- .ep(commonParams)
933
- .m(function (Command, cs, config, o) {
934
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
935
- })
936
- .s("CryoBackupSearchService", "ListTagsForResource", {})
937
- .n("BackupSearchClient", "ListTagsForResourceCommand")
938
- .sc(ListTagsForResource$)
939
- .build() {
881
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
940
882
  }
941
883
 
942
- class StartSearchJobCommand extends Command
943
- .classBuilder()
944
- .ep(commonParams)
945
- .m(function (Command, cs, config, o) {
946
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
947
- })
948
- .s("CryoBackupSearchService", "StartSearchJob", {})
949
- .n("BackupSearchClient", "StartSearchJobCommand")
950
- .sc(StartSearchJob$)
951
- .build() {
884
+ class StartSearchJobCommand extends command(_ep0, _mw0, "StartSearchJob", StartSearchJob$) {
952
885
  }
953
886
 
954
- class StartSearchResultExportJobCommand extends Command
955
- .classBuilder()
956
- .ep(commonParams)
957
- .m(function (Command, cs, config, o) {
958
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
959
- })
960
- .s("CryoBackupSearchService", "StartSearchResultExportJob", {})
961
- .n("BackupSearchClient", "StartSearchResultExportJobCommand")
962
- .sc(StartSearchResultExportJob$)
963
- .build() {
887
+ class StartSearchResultExportJobCommand extends command(_ep0, _mw0, "StartSearchResultExportJob", StartSearchResultExportJob$) {
964
888
  }
965
889
 
966
- class StopSearchJobCommand extends Command
967
- .classBuilder()
968
- .ep(commonParams)
969
- .m(function (Command, cs, config, o) {
970
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
971
- })
972
- .s("CryoBackupSearchService", "StopSearchJob", {})
973
- .n("BackupSearchClient", "StopSearchJobCommand")
974
- .sc(StopSearchJob$)
975
- .build() {
890
+ class StopSearchJobCommand extends command(_ep0, _mw0, "StopSearchJob", StopSearchJob$) {
976
891
  }
977
892
 
978
- class TagResourceCommand extends Command
979
- .classBuilder()
980
- .ep(commonParams)
981
- .m(function (Command, cs, config, o) {
982
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
983
- })
984
- .s("CryoBackupSearchService", "TagResource", {})
985
- .n("BackupSearchClient", "TagResourceCommand")
986
- .sc(TagResource$)
987
- .build() {
893
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
988
894
  }
989
895
 
990
- class UntagResourceCommand extends Command
991
- .classBuilder()
992
- .ep(commonParams)
993
- .m(function (Command, cs, config, o) {
994
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
995
- })
996
- .s("CryoBackupSearchService", "UntagResource", {})
997
- .n("BackupSearchClient", "UntagResourceCommand")
998
- .sc(UntagResource$)
999
- .build() {
896
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1000
897
  }
1001
898
 
1002
899
  const paginateListSearchJobBackups = createPaginator(BackupSearchClient, ListSearchJobBackupsCommand, "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, "CryoBackupSearchService", "BackupSearchClient", 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 { GetSearchJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSearchJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "GetSearchJob", {})
13
- .n("BackupSearchClient", "GetSearchJobCommand")
14
- .sc(GetSearchJob$)
15
- .build() {
3
+ export class GetSearchJobCommand extends command(_ep0, _mw0, "GetSearchJob", GetSearchJob$) {
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 { GetSearchResultExportJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSearchResultExportJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "GetSearchResultExportJob", {})
13
- .n("BackupSearchClient", "GetSearchResultExportJobCommand")
14
- .sc(GetSearchResultExportJob$)
15
- .build() {
3
+ export class GetSearchResultExportJobCommand extends command(_ep0, _mw0, "GetSearchResultExportJob", GetSearchResultExportJob$) {
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 { ListSearchJobBackups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSearchJobBackupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "ListSearchJobBackups", {})
13
- .n("BackupSearchClient", "ListSearchJobBackupsCommand")
14
- .sc(ListSearchJobBackups$)
15
- .build() {
3
+ export class ListSearchJobBackupsCommand extends command(_ep0, _mw0, "ListSearchJobBackups", ListSearchJobBackups$) {
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 { ListSearchJobResults$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSearchJobResultsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "ListSearchJobResults", {})
13
- .n("BackupSearchClient", "ListSearchJobResultsCommand")
14
- .sc(ListSearchJobResults$)
15
- .build() {
3
+ export class ListSearchJobResultsCommand extends command(_ep0, _mw0, "ListSearchJobResults", ListSearchJobResults$) {
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 { ListSearchJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSearchJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "ListSearchJobs", {})
13
- .n("BackupSearchClient", "ListSearchJobsCommand")
14
- .sc(ListSearchJobs$)
15
- .build() {
3
+ export class ListSearchJobsCommand extends command(_ep0, _mw0, "ListSearchJobs", ListSearchJobs$) {
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 { ListSearchResultExportJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSearchResultExportJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "ListSearchResultExportJobs", {})
13
- .n("BackupSearchClient", "ListSearchResultExportJobsCommand")
14
- .sc(ListSearchResultExportJobs$)
15
- .build() {
3
+ export class ListSearchResultExportJobsCommand extends command(_ep0, _mw0, "ListSearchResultExportJobs", ListSearchResultExportJobs$) {
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("CryoBackupSearchService", "ListTagsForResource", {})
13
- .n("BackupSearchClient", "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 { StartSearchJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartSearchJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "StartSearchJob", {})
13
- .n("BackupSearchClient", "StartSearchJobCommand")
14
- .sc(StartSearchJob$)
15
- .build() {
3
+ export class StartSearchJobCommand extends command(_ep0, _mw0, "StartSearchJob", StartSearchJob$) {
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 { StartSearchResultExportJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartSearchResultExportJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "StartSearchResultExportJob", {})
13
- .n("BackupSearchClient", "StartSearchResultExportJobCommand")
14
- .sc(StartSearchResultExportJob$)
15
- .build() {
3
+ export class StartSearchResultExportJobCommand extends command(_ep0, _mw0, "StartSearchResultExportJob", StartSearchResultExportJob$) {
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 { StopSearchJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopSearchJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("CryoBackupSearchService", "StopSearchJob", {})
13
- .n("BackupSearchClient", "StopSearchJobCommand")
14
- .sc(StopSearchJob$)
15
- .build() {
3
+ export class StopSearchJobCommand extends command(_ep0, _mw0, "StopSearchJob", StopSearchJob$) {
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("CryoBackupSearchService", "TagResource", {})
13
- .n("BackupSearchClient", "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("CryoBackupSearchService", "UntagResource", {})
13
- .n("BackupSearchClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BackupSearchClient";
2
2
  export * from "./BackupSearch";
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";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./BackupSearchClient";
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, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, BackupSearchClientResolvedConfig, 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 { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
4
2
  import type { GetSearchJobInput, GetSearchJobOutput } 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 GetSearchJobCommandInput extends GetSearchJobInput {
22
19
  export interface GetSearchJobCommandOutput extends GetSearchJobOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetSearchJobCommand_base: {
25
- new (input: GetSearchJobCommandInput): import("@smithy/core/client").CommandImpl<GetSearchJobCommandInput, GetSearchJobCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetSearchJobCommandInput): import("@smithy/core/client").CommandImpl<GetSearchJobCommandInput, GetSearchJobCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetSearchJobCommandInput): import("@smithy/core/client").CommandImpl<GetSearchJobCommandInput, GetSearchJobCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetSearchJobCommandInput): import("@smithy/core/client").CommandImpl<GetSearchJobCommandInput, GetSearchJobCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation retrieves metadata of a search job, including its progress.</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 { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
4
2
  import type { GetSearchResultExportJobInput, GetSearchResultExportJobOutput } 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 GetSearchResultExportJobCommandInput extends GetSearchResultExp
22
19
  export interface GetSearchResultExportJobCommandOutput extends GetSearchResultExportJobOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetSearchResultExportJobCommand_base: {
25
- new (input: GetSearchResultExportJobCommandInput): import("@smithy/core/client").CommandImpl<GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetSearchResultExportJobCommandInput): import("@smithy/core/client").CommandImpl<GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetSearchResultExportJobCommandInput): import("@smithy/core/client").CommandImpl<GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetSearchResultExportJobCommandInput): import("@smithy/core/client").CommandImpl<GetSearchResultExportJobCommandInput, GetSearchResultExportJobCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation retrieves the metadata of an export job.</p> <p>An export job is an operation that transmits the results of a search job to a specified S3 bucket in a .csv file.</p> <p>An export job allows you to retain results of a search beyond the search job's scheduled retention of 7 days.</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 { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
4
2
  import type { ListSearchJobBackupsInput, ListSearchJobBackupsOutput } 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 ListSearchJobBackupsCommandInput extends ListSearchJobBackupsIn
22
19
  export interface ListSearchJobBackupsCommandOutput extends ListSearchJobBackupsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListSearchJobBackupsCommand_base: {
25
- new (input: ListSearchJobBackupsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobBackupsCommandInput, ListSearchJobBackupsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListSearchJobBackupsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobBackupsCommandInput, ListSearchJobBackupsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListSearchJobBackupsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobBackupsCommandInput, ListSearchJobBackupsCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListSearchJobBackupsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobBackupsCommandInput, ListSearchJobBackupsCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation returns a list of all backups (recovery points) in a paginated format that were included in the search job.</p> <p>If a search does not display an expected backup in the results, you can call this operation to display each backup included in the search. Any backups that were not included because they have a <code>FAILED</code> status from a permissions issue will be displayed, along with a status message.</p> <p>Only recovery points with a backup index that has a status of <code>ACTIVE</code> will be included in search results. If the index has any other status, its status will be displayed along with a status message.</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 { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
4
2
  import type { ListSearchJobResultsInput, ListSearchJobResultsOutput } 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 ListSearchJobResultsCommandInput extends ListSearchJobResultsIn
22
19
  export interface ListSearchJobResultsCommandOutput extends ListSearchJobResultsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListSearchJobResultsCommand_base: {
25
- new (input: ListSearchJobResultsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobResultsCommandInput, ListSearchJobResultsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: ListSearchJobResultsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobResultsCommandInput, ListSearchJobResultsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListSearchJobResultsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobResultsCommandInput, ListSearchJobResultsCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListSearchJobResultsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobResultsCommandInput, ListSearchJobResultsCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation returns a list of a specified search job.</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 { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
4
2
  import type { ListSearchJobsInput, ListSearchJobsOutput } 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 ListSearchJobsCommandInput extends ListSearchJobsInput {
22
19
  export interface ListSearchJobsCommandOutput extends ListSearchJobsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListSearchJobsCommand_base: {
25
- new (input: ListSearchJobsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobsCommandInput, ListSearchJobsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListSearchJobsCommandInput]): import("@smithy/core/client").CommandImpl<ListSearchJobsCommandInput, ListSearchJobsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListSearchJobsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchJobsCommandInput, ListSearchJobsCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListSearchJobsCommandInput]): import("@smithy/core/client").CommandImpl<ListSearchJobsCommandInput, ListSearchJobsCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation returns a list of search jobs belonging to an account.</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 { BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BackupSearchClient";
4
2
  import type { ListSearchResultExportJobsInput, ListSearchResultExportJobsOutput } 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 ListSearchResultExportJobsCommandInput extends ListSearchResult
22
19
  export interface ListSearchResultExportJobsCommandOutput extends ListSearchResultExportJobsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListSearchResultExportJobsCommand_base: {
25
- new (input: ListSearchResultExportJobsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchResultExportJobsCommandInput, ListSearchResultExportJobsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListSearchResultExportJobsCommandInput]): import("@smithy/core/client").CommandImpl<ListSearchResultExportJobsCommandInput, ListSearchResultExportJobsCommandOutput, BackupSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListSearchResultExportJobsCommandInput): import("@smithy/core/client").CommandImpl<ListSearchResultExportJobsCommandInput, ListSearchResultExportJobsCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListSearchResultExportJobsCommandInput]): import("@smithy/core/client").CommandImpl<ListSearchResultExportJobsCommandInput, ListSearchResultExportJobsCommandOutput, import("..").BackupSearchClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation exports search results of a search job to a specified destination S3 bucket.</p>