@aws-sdk/client-arc-zonal-shift 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 (53) hide show
  1. package/dist-cjs/index.js +23 -153
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CancelPracticeRunCommand.js +2 -14
  4. package/dist-es/commands/CancelZonalShiftCommand.js +2 -14
  5. package/dist-es/commands/CreatePracticeRunConfigurationCommand.js +2 -14
  6. package/dist-es/commands/DeletePracticeRunConfigurationCommand.js +2 -14
  7. package/dist-es/commands/GetAutoshiftObserverNotificationStatusCommand.js +2 -14
  8. package/dist-es/commands/GetManagedResourceCommand.js +2 -14
  9. package/dist-es/commands/ListAutoshiftsCommand.js +2 -14
  10. package/dist-es/commands/ListManagedResourcesCommand.js +2 -14
  11. package/dist-es/commands/ListZonalShiftsCommand.js +2 -14
  12. package/dist-es/commands/StartPracticeRunCommand.js +2 -14
  13. package/dist-es/commands/StartZonalShiftCommand.js +2 -14
  14. package/dist-es/commands/UpdateAutoshiftObserverNotificationStatusCommand.js +2 -14
  15. package/dist-es/commands/UpdatePracticeRunConfigurationCommand.js +2 -14
  16. package/dist-es/commands/UpdateZonalAutoshiftConfigurationCommand.js +2 -14
  17. package/dist-es/commands/UpdateZonalShiftCommand.js +2 -14
  18. package/dist-es/index.js +1 -0
  19. package/dist-types/commandBuilder.d.ts +18 -0
  20. package/dist-types/commands/CancelPracticeRunCommand.d.ts +3 -8
  21. package/dist-types/commands/CancelZonalShiftCommand.d.ts +3 -8
  22. package/dist-types/commands/CreatePracticeRunConfigurationCommand.d.ts +3 -8
  23. package/dist-types/commands/DeletePracticeRunConfigurationCommand.d.ts +3 -8
  24. package/dist-types/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +3 -8
  25. package/dist-types/commands/GetManagedResourceCommand.d.ts +3 -8
  26. package/dist-types/commands/ListAutoshiftsCommand.d.ts +3 -8
  27. package/dist-types/commands/ListManagedResourcesCommand.d.ts +3 -8
  28. package/dist-types/commands/ListZonalShiftsCommand.d.ts +3 -8
  29. package/dist-types/commands/StartPracticeRunCommand.d.ts +3 -8
  30. package/dist-types/commands/StartZonalShiftCommand.d.ts +3 -8
  31. package/dist-types/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +3 -8
  32. package/dist-types/commands/UpdatePracticeRunConfigurationCommand.d.ts +3 -8
  33. package/dist-types/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +3 -8
  34. package/dist-types/commands/UpdateZonalShiftCommand.d.ts +3 -8
  35. package/dist-types/index.d.ts +1 -0
  36. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  37. package/dist-types/ts3.4/commands/CancelPracticeRunCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/CancelZonalShiftCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/CreatePracticeRunConfigurationCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/DeletePracticeRunConfigurationCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/GetAutoshiftObserverNotificationStatusCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/GetManagedResourceCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/commands/ListAutoshiftsCommand.d.ts +7 -16
  44. package/dist-types/ts3.4/commands/ListManagedResourcesCommand.d.ts +7 -16
  45. package/dist-types/ts3.4/commands/ListZonalShiftsCommand.d.ts +7 -16
  46. package/dist-types/ts3.4/commands/StartPracticeRunCommand.d.ts +7 -16
  47. package/dist-types/ts3.4/commands/StartZonalShiftCommand.d.ts +7 -16
  48. package/dist-types/ts3.4/commands/UpdateAutoshiftObserverNotificationStatusCommand.d.ts +7 -16
  49. package/dist-types/ts3.4/commands/UpdatePracticeRunConfigurationCommand.d.ts +7 -16
  50. package/dist-types/ts3.4/commands/UpdateZonalAutoshiftConfigurationCommand.d.ts +7 -16
  51. package/dist-types/ts3.4/commands/UpdateZonalShiftCommand.d.ts +7 -16
  52. package/dist-types/ts3.4/index.d.ts +1 -0
  53. 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");
@@ -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
 
@@ -752,184 +753,53 @@ class ARCZonalShiftClient extends Client {
752
753
  }
753
754
  }
754
755
 
755
- class CancelPracticeRunCommand extends Command
756
- .classBuilder()
757
- .ep(commonParams)
758
- .m(function (Command, cs, config, o) {
759
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
760
- })
761
- .s("PercDataPlane", "CancelPracticeRun", {})
762
- .n("ARCZonalShiftClient", "CancelPracticeRunCommand")
763
- .sc(CancelPracticeRun$)
764
- .build() {
756
+ const command = makeBuilder(commonParams, "PercDataPlane", "ARCZonalShiftClient", getEndpointPlugin);
757
+ const _ep0 = {};
758
+ const _mw0 = (Command, cs, config, o) => [];
759
+
760
+ class CancelPracticeRunCommand extends command(_ep0, _mw0, "CancelPracticeRun", CancelPracticeRun$) {
765
761
  }
766
762
 
767
- class CancelZonalShiftCommand extends Command
768
- .classBuilder()
769
- .ep(commonParams)
770
- .m(function (Command, cs, config, o) {
771
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
772
- })
773
- .s("PercDataPlane", "CancelZonalShift", {})
774
- .n("ARCZonalShiftClient", "CancelZonalShiftCommand")
775
- .sc(CancelZonalShift$)
776
- .build() {
763
+ class CancelZonalShiftCommand extends command(_ep0, _mw0, "CancelZonalShift", CancelZonalShift$) {
777
764
  }
778
765
 
779
- class CreatePracticeRunConfigurationCommand extends Command
780
- .classBuilder()
781
- .ep(commonParams)
782
- .m(function (Command, cs, config, o) {
783
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
784
- })
785
- .s("PercDataPlane", "CreatePracticeRunConfiguration", {})
786
- .n("ARCZonalShiftClient", "CreatePracticeRunConfigurationCommand")
787
- .sc(CreatePracticeRunConfiguration$)
788
- .build() {
766
+ class CreatePracticeRunConfigurationCommand extends command(_ep0, _mw0, "CreatePracticeRunConfiguration", CreatePracticeRunConfiguration$) {
789
767
  }
790
768
 
791
- class DeletePracticeRunConfigurationCommand extends Command
792
- .classBuilder()
793
- .ep(commonParams)
794
- .m(function (Command, cs, config, o) {
795
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
796
- })
797
- .s("PercDataPlane", "DeletePracticeRunConfiguration", {})
798
- .n("ARCZonalShiftClient", "DeletePracticeRunConfigurationCommand")
799
- .sc(DeletePracticeRunConfiguration$)
800
- .build() {
769
+ class DeletePracticeRunConfigurationCommand extends command(_ep0, _mw0, "DeletePracticeRunConfiguration", DeletePracticeRunConfiguration$) {
801
770
  }
802
771
 
803
- class GetAutoshiftObserverNotificationStatusCommand extends Command
804
- .classBuilder()
805
- .ep(commonParams)
806
- .m(function (Command, cs, config, o) {
807
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
808
- })
809
- .s("PercDataPlane", "GetAutoshiftObserverNotificationStatus", {})
810
- .n("ARCZonalShiftClient", "GetAutoshiftObserverNotificationStatusCommand")
811
- .sc(GetAutoshiftObserverNotificationStatus$)
812
- .build() {
772
+ class GetAutoshiftObserverNotificationStatusCommand extends command(_ep0, _mw0, "GetAutoshiftObserverNotificationStatus", GetAutoshiftObserverNotificationStatus$) {
813
773
  }
814
774
 
815
- class GetManagedResourceCommand extends Command
816
- .classBuilder()
817
- .ep(commonParams)
818
- .m(function (Command, cs, config, o) {
819
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
820
- })
821
- .s("PercDataPlane", "GetManagedResource", {})
822
- .n("ARCZonalShiftClient", "GetManagedResourceCommand")
823
- .sc(GetManagedResource$)
824
- .build() {
775
+ class GetManagedResourceCommand extends command(_ep0, _mw0, "GetManagedResource", GetManagedResource$) {
825
776
  }
826
777
 
827
- class ListAutoshiftsCommand extends Command
828
- .classBuilder()
829
- .ep(commonParams)
830
- .m(function (Command, cs, config, o) {
831
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
832
- })
833
- .s("PercDataPlane", "ListAutoshifts", {})
834
- .n("ARCZonalShiftClient", "ListAutoshiftsCommand")
835
- .sc(ListAutoshifts$)
836
- .build() {
778
+ class ListAutoshiftsCommand extends command(_ep0, _mw0, "ListAutoshifts", ListAutoshifts$) {
837
779
  }
838
780
 
839
- class ListManagedResourcesCommand extends Command
840
- .classBuilder()
841
- .ep(commonParams)
842
- .m(function (Command, cs, config, o) {
843
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
844
- })
845
- .s("PercDataPlane", "ListManagedResources", {})
846
- .n("ARCZonalShiftClient", "ListManagedResourcesCommand")
847
- .sc(ListManagedResources$)
848
- .build() {
781
+ class ListManagedResourcesCommand extends command(_ep0, _mw0, "ListManagedResources", ListManagedResources$) {
849
782
  }
850
783
 
851
- class ListZonalShiftsCommand extends Command
852
- .classBuilder()
853
- .ep(commonParams)
854
- .m(function (Command, cs, config, o) {
855
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
856
- })
857
- .s("PercDataPlane", "ListZonalShifts", {})
858
- .n("ARCZonalShiftClient", "ListZonalShiftsCommand")
859
- .sc(ListZonalShifts$)
860
- .build() {
784
+ class ListZonalShiftsCommand extends command(_ep0, _mw0, "ListZonalShifts", ListZonalShifts$) {
861
785
  }
862
786
 
863
- class StartPracticeRunCommand extends Command
864
- .classBuilder()
865
- .ep(commonParams)
866
- .m(function (Command, cs, config, o) {
867
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
868
- })
869
- .s("PercDataPlane", "StartPracticeRun", {})
870
- .n("ARCZonalShiftClient", "StartPracticeRunCommand")
871
- .sc(StartPracticeRun$)
872
- .build() {
787
+ class StartPracticeRunCommand extends command(_ep0, _mw0, "StartPracticeRun", StartPracticeRun$) {
873
788
  }
874
789
 
875
- class StartZonalShiftCommand extends Command
876
- .classBuilder()
877
- .ep(commonParams)
878
- .m(function (Command, cs, config, o) {
879
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
880
- })
881
- .s("PercDataPlane", "StartZonalShift", {})
882
- .n("ARCZonalShiftClient", "StartZonalShiftCommand")
883
- .sc(StartZonalShift$)
884
- .build() {
790
+ class StartZonalShiftCommand extends command(_ep0, _mw0, "StartZonalShift", StartZonalShift$) {
885
791
  }
886
792
 
887
- class UpdateAutoshiftObserverNotificationStatusCommand extends Command
888
- .classBuilder()
889
- .ep(commonParams)
890
- .m(function (Command, cs, config, o) {
891
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
892
- })
893
- .s("PercDataPlane", "UpdateAutoshiftObserverNotificationStatus", {})
894
- .n("ARCZonalShiftClient", "UpdateAutoshiftObserverNotificationStatusCommand")
895
- .sc(UpdateAutoshiftObserverNotificationStatus$)
896
- .build() {
793
+ class UpdateAutoshiftObserverNotificationStatusCommand extends command(_ep0, _mw0, "UpdateAutoshiftObserverNotificationStatus", UpdateAutoshiftObserverNotificationStatus$) {
897
794
  }
898
795
 
899
- class UpdatePracticeRunConfigurationCommand extends Command
900
- .classBuilder()
901
- .ep(commonParams)
902
- .m(function (Command, cs, config, o) {
903
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
904
- })
905
- .s("PercDataPlane", "UpdatePracticeRunConfiguration", {})
906
- .n("ARCZonalShiftClient", "UpdatePracticeRunConfigurationCommand")
907
- .sc(UpdatePracticeRunConfiguration$)
908
- .build() {
796
+ class UpdatePracticeRunConfigurationCommand extends command(_ep0, _mw0, "UpdatePracticeRunConfiguration", UpdatePracticeRunConfiguration$) {
909
797
  }
910
798
 
911
- class UpdateZonalAutoshiftConfigurationCommand extends Command
912
- .classBuilder()
913
- .ep(commonParams)
914
- .m(function (Command, cs, config, o) {
915
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
916
- })
917
- .s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
918
- .n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
919
- .sc(UpdateZonalAutoshiftConfiguration$)
920
- .build() {
799
+ class UpdateZonalAutoshiftConfigurationCommand extends command(_ep0, _mw0, "UpdateZonalAutoshiftConfiguration", UpdateZonalAutoshiftConfiguration$) {
921
800
  }
922
801
 
923
- class UpdateZonalShiftCommand extends Command
924
- .classBuilder()
925
- .ep(commonParams)
926
- .m(function (Command, cs, config, o) {
927
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
928
- })
929
- .s("PercDataPlane", "UpdateZonalShift", {})
930
- .n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
931
- .sc(UpdateZonalShift$)
932
- .build() {
802
+ class UpdateZonalShiftCommand extends command(_ep0, _mw0, "UpdateZonalShift", UpdateZonalShift$) {
933
803
  }
934
804
 
935
805
  const paginateListAutoshifts = createPaginator(ARCZonalShiftClient, ListAutoshiftsCommand, "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, "PercDataPlane", "ARCZonalShiftClient", 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 { CancelPracticeRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelPracticeRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "CancelPracticeRun", {})
13
- .n("ARCZonalShiftClient", "CancelPracticeRunCommand")
14
- .sc(CancelPracticeRun$)
15
- .build() {
3
+ export class CancelPracticeRunCommand extends command(_ep0, _mw0, "CancelPracticeRun", CancelPracticeRun$) {
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 { CancelZonalShift$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelZonalShiftCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "CancelZonalShift", {})
13
- .n("ARCZonalShiftClient", "CancelZonalShiftCommand")
14
- .sc(CancelZonalShift$)
15
- .build() {
3
+ export class CancelZonalShiftCommand extends command(_ep0, _mw0, "CancelZonalShift", CancelZonalShift$) {
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 { CreatePracticeRunConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePracticeRunConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "CreatePracticeRunConfiguration", {})
13
- .n("ARCZonalShiftClient", "CreatePracticeRunConfigurationCommand")
14
- .sc(CreatePracticeRunConfiguration$)
15
- .build() {
3
+ export class CreatePracticeRunConfigurationCommand extends command(_ep0, _mw0, "CreatePracticeRunConfiguration", CreatePracticeRunConfiguration$) {
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 { DeletePracticeRunConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePracticeRunConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "DeletePracticeRunConfiguration", {})
13
- .n("ARCZonalShiftClient", "DeletePracticeRunConfigurationCommand")
14
- .sc(DeletePracticeRunConfiguration$)
15
- .build() {
3
+ export class DeletePracticeRunConfigurationCommand extends command(_ep0, _mw0, "DeletePracticeRunConfiguration", DeletePracticeRunConfiguration$) {
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 { GetAutoshiftObserverNotificationStatus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAutoshiftObserverNotificationStatusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "GetAutoshiftObserverNotificationStatus", {})
13
- .n("ARCZonalShiftClient", "GetAutoshiftObserverNotificationStatusCommand")
14
- .sc(GetAutoshiftObserverNotificationStatus$)
15
- .build() {
3
+ export class GetAutoshiftObserverNotificationStatusCommand extends command(_ep0, _mw0, "GetAutoshiftObserverNotificationStatus", GetAutoshiftObserverNotificationStatus$) {
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 { GetManagedResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetManagedResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "GetManagedResource", {})
13
- .n("ARCZonalShiftClient", "GetManagedResourceCommand")
14
- .sc(GetManagedResource$)
15
- .build() {
3
+ export class GetManagedResourceCommand extends command(_ep0, _mw0, "GetManagedResource", GetManagedResource$) {
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 { ListAutoshifts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAutoshiftsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "ListAutoshifts", {})
13
- .n("ARCZonalShiftClient", "ListAutoshiftsCommand")
14
- .sc(ListAutoshifts$)
15
- .build() {
3
+ export class ListAutoshiftsCommand extends command(_ep0, _mw0, "ListAutoshifts", ListAutoshifts$) {
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 { ListManagedResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListManagedResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "ListManagedResources", {})
13
- .n("ARCZonalShiftClient", "ListManagedResourcesCommand")
14
- .sc(ListManagedResources$)
15
- .build() {
3
+ export class ListManagedResourcesCommand extends command(_ep0, _mw0, "ListManagedResources", ListManagedResources$) {
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 { ListZonalShifts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListZonalShiftsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "ListZonalShifts", {})
13
- .n("ARCZonalShiftClient", "ListZonalShiftsCommand")
14
- .sc(ListZonalShifts$)
15
- .build() {
3
+ export class ListZonalShiftsCommand extends command(_ep0, _mw0, "ListZonalShifts", ListZonalShifts$) {
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 { StartPracticeRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartPracticeRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "StartPracticeRun", {})
13
- .n("ARCZonalShiftClient", "StartPracticeRunCommand")
14
- .sc(StartPracticeRun$)
15
- .build() {
3
+ export class StartPracticeRunCommand extends command(_ep0, _mw0, "StartPracticeRun", StartPracticeRun$) {
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 { StartZonalShift$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartZonalShiftCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "StartZonalShift", {})
13
- .n("ARCZonalShiftClient", "StartZonalShiftCommand")
14
- .sc(StartZonalShift$)
15
- .build() {
3
+ export class StartZonalShiftCommand extends command(_ep0, _mw0, "StartZonalShift", StartZonalShift$) {
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 { UpdateAutoshiftObserverNotificationStatus$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAutoshiftObserverNotificationStatusCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "UpdateAutoshiftObserverNotificationStatus", {})
13
- .n("ARCZonalShiftClient", "UpdateAutoshiftObserverNotificationStatusCommand")
14
- .sc(UpdateAutoshiftObserverNotificationStatus$)
15
- .build() {
3
+ export class UpdateAutoshiftObserverNotificationStatusCommand extends command(_ep0, _mw0, "UpdateAutoshiftObserverNotificationStatus", UpdateAutoshiftObserverNotificationStatus$) {
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 { UpdatePracticeRunConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePracticeRunConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "UpdatePracticeRunConfiguration", {})
13
- .n("ARCZonalShiftClient", "UpdatePracticeRunConfigurationCommand")
14
- .sc(UpdatePracticeRunConfiguration$)
15
- .build() {
3
+ export class UpdatePracticeRunConfigurationCommand extends command(_ep0, _mw0, "UpdatePracticeRunConfiguration", UpdatePracticeRunConfiguration$) {
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 { UpdateZonalAutoshiftConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateZonalAutoshiftConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "UpdateZonalAutoshiftConfiguration", {})
13
- .n("ARCZonalShiftClient", "UpdateZonalAutoshiftConfigurationCommand")
14
- .sc(UpdateZonalAutoshiftConfiguration$)
15
- .build() {
3
+ export class UpdateZonalAutoshiftConfigurationCommand extends command(_ep0, _mw0, "UpdateZonalAutoshiftConfiguration", UpdateZonalAutoshiftConfiguration$) {
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 { UpdateZonalShift$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateZonalShiftCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PercDataPlane", "UpdateZonalShift", {})
13
- .n("ARCZonalShiftClient", "UpdateZonalShiftCommand")
14
- .sc(UpdateZonalShift$)
15
- .build() {
3
+ export class UpdateZonalShiftCommand extends command(_ep0, _mw0, "UpdateZonalShift", UpdateZonalShift$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ARCZonalShiftClient";
2
2
  export * from "./ARCZonalShift";
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 { ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ARCZonalShiftClient";
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, ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ARCZonalShiftClientResolvedConfig, 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 { ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCZonalShiftClient";
4
2
  import type { CancelPracticeRunRequest, CancelPracticeRunResponse } 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 CancelPracticeRunCommandInput extends CancelPracticeRunRequest
22
19
  export interface CancelPracticeRunCommandOutput extends CancelPracticeRunResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CancelPracticeRunCommand_base: {
25
- new (input: CancelPracticeRunCommandInput): import("@smithy/core/client").CommandImpl<CancelPracticeRunCommandInput, CancelPracticeRunCommandOutput, ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelPracticeRunCommandInput): import("@smithy/core/client").CommandImpl<CancelPracticeRunCommandInput, CancelPracticeRunCommandOutput, ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CancelPracticeRunCommandInput): import("@smithy/core/client").CommandImpl<CancelPracticeRunCommandInput, CancelPracticeRunCommandOutput, import("..").ARCZonalShiftClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelPracticeRunCommandInput): import("@smithy/core/client").CommandImpl<CancelPracticeRunCommandInput, CancelPracticeRunCommandOutput, import("..").ARCZonalShiftClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Cancel an in-progress practice run zonal shift in Amazon Application Recovery Controller.</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 { ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ARCZonalShiftClient";
4
2
  import type { CancelZonalShiftRequest, ZonalShift } 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 CancelZonalShiftCommandInput extends CancelZonalShiftRequest {
22
19
  export interface CancelZonalShiftCommandOutput extends ZonalShift, __MetadataBearer {
23
20
  }
24
21
  declare const CancelZonalShiftCommand_base: {
25
- new (input: CancelZonalShiftCommandInput): import("@smithy/core/client").CommandImpl<CancelZonalShiftCommandInput, CancelZonalShiftCommandOutput, ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelZonalShiftCommandInput): import("@smithy/core/client").CommandImpl<CancelZonalShiftCommandInput, CancelZonalShiftCommandOutput, ARCZonalShiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CancelZonalShiftCommandInput): import("@smithy/core/client").CommandImpl<CancelZonalShiftCommandInput, CancelZonalShiftCommandOutput, import("..").ARCZonalShiftClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelZonalShiftCommandInput): import("@smithy/core/client").CommandImpl<CancelZonalShiftCommandInput, CancelZonalShiftCommandOutput, import("..").ARCZonalShiftClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Cancel a zonal shift in Amazon Application Recovery Controller. To cancel the zonal shift, specify the zonal shift ID.</p> <p>A zonal shift can be one that you've started for a resource in your Amazon Web Services account in an Amazon Web Services Region, or it can be a zonal shift started by a practice run with zonal autoshift. </p>