@aws-sdk/client-scheduler 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/CreateScheduleCommand.js +2 -14
  4. package/dist-es/commands/CreateScheduleGroupCommand.js +2 -14
  5. package/dist-es/commands/DeleteScheduleCommand.js +2 -14
  6. package/dist-es/commands/DeleteScheduleGroupCommand.js +2 -14
  7. package/dist-es/commands/GetScheduleCommand.js +2 -14
  8. package/dist-es/commands/GetScheduleGroupCommand.js +2 -14
  9. package/dist-es/commands/ListScheduleGroupsCommand.js +2 -14
  10. package/dist-es/commands/ListSchedulesCommand.js +2 -14
  11. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  12. package/dist-es/commands/TagResourceCommand.js +2 -14
  13. package/dist-es/commands/UntagResourceCommand.js +2 -14
  14. package/dist-es/commands/UpdateScheduleCommand.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/CreateScheduleCommand.d.ts +3 -8
  18. package/dist-types/commands/CreateScheduleGroupCommand.d.ts +3 -8
  19. package/dist-types/commands/DeleteScheduleCommand.d.ts +3 -8
  20. package/dist-types/commands/DeleteScheduleGroupCommand.d.ts +3 -8
  21. package/dist-types/commands/GetScheduleCommand.d.ts +3 -8
  22. package/dist-types/commands/GetScheduleGroupCommand.d.ts +3 -8
  23. package/dist-types/commands/ListScheduleGroupsCommand.d.ts +3 -8
  24. package/dist-types/commands/ListSchedulesCommand.d.ts +3 -8
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  26. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  27. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/UpdateScheduleCommand.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/CreateScheduleCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/CreateScheduleGroupCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/DeleteScheduleGroupCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/GetScheduleCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/GetScheduleGroupCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/ListScheduleGroupsCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/UpdateScheduleCommand.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");
@@ -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.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -822,148 +823,44 @@ class SchedulerClient extends Client {
822
823
  }
823
824
  }
824
825
 
825
- class CreateScheduleCommand extends Command
826
- .classBuilder()
827
- .ep(commonParams)
828
- .m(function (Command, cs, config, o) {
829
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
830
- })
831
- .s("AWSChronosService", "CreateSchedule", {})
832
- .n("SchedulerClient", "CreateScheduleCommand")
833
- .sc(CreateSchedule$)
834
- .build() {
826
+ const command = makeBuilder(commonParams, "AWSChronosService", "SchedulerClient", getEndpointPlugin);
827
+ const _ep0 = {};
828
+ const _mw0 = (Command, cs, config, o) => [];
829
+
830
+ class CreateScheduleCommand extends command(_ep0, _mw0, "CreateSchedule", CreateSchedule$) {
835
831
  }
836
832
 
837
- class CreateScheduleGroupCommand extends Command
838
- .classBuilder()
839
- .ep(commonParams)
840
- .m(function (Command, cs, config, o) {
841
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
842
- })
843
- .s("AWSChronosService", "CreateScheduleGroup", {})
844
- .n("SchedulerClient", "CreateScheduleGroupCommand")
845
- .sc(CreateScheduleGroup$)
846
- .build() {
833
+ class CreateScheduleGroupCommand extends command(_ep0, _mw0, "CreateScheduleGroup", CreateScheduleGroup$) {
847
834
  }
848
835
 
849
- class DeleteScheduleCommand extends Command
850
- .classBuilder()
851
- .ep(commonParams)
852
- .m(function (Command, cs, config, o) {
853
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
854
- })
855
- .s("AWSChronosService", "DeleteSchedule", {})
856
- .n("SchedulerClient", "DeleteScheduleCommand")
857
- .sc(DeleteSchedule$)
858
- .build() {
836
+ class DeleteScheduleCommand extends command(_ep0, _mw0, "DeleteSchedule", DeleteSchedule$) {
859
837
  }
860
838
 
861
- class DeleteScheduleGroupCommand extends Command
862
- .classBuilder()
863
- .ep(commonParams)
864
- .m(function (Command, cs, config, o) {
865
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
866
- })
867
- .s("AWSChronosService", "DeleteScheduleGroup", {})
868
- .n("SchedulerClient", "DeleteScheduleGroupCommand")
869
- .sc(DeleteScheduleGroup$)
870
- .build() {
839
+ class DeleteScheduleGroupCommand extends command(_ep0, _mw0, "DeleteScheduleGroup", DeleteScheduleGroup$) {
871
840
  }
872
841
 
873
- class GetScheduleCommand extends Command
874
- .classBuilder()
875
- .ep(commonParams)
876
- .m(function (Command, cs, config, o) {
877
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
878
- })
879
- .s("AWSChronosService", "GetSchedule", {})
880
- .n("SchedulerClient", "GetScheduleCommand")
881
- .sc(GetSchedule$)
882
- .build() {
842
+ class GetScheduleCommand extends command(_ep0, _mw0, "GetSchedule", GetSchedule$) {
883
843
  }
884
844
 
885
- class GetScheduleGroupCommand extends Command
886
- .classBuilder()
887
- .ep(commonParams)
888
- .m(function (Command, cs, config, o) {
889
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
890
- })
891
- .s("AWSChronosService", "GetScheduleGroup", {})
892
- .n("SchedulerClient", "GetScheduleGroupCommand")
893
- .sc(GetScheduleGroup$)
894
- .build() {
845
+ class GetScheduleGroupCommand extends command(_ep0, _mw0, "GetScheduleGroup", GetScheduleGroup$) {
895
846
  }
896
847
 
897
- class ListScheduleGroupsCommand extends Command
898
- .classBuilder()
899
- .ep(commonParams)
900
- .m(function (Command, cs, config, o) {
901
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
902
- })
903
- .s("AWSChronosService", "ListScheduleGroups", {})
904
- .n("SchedulerClient", "ListScheduleGroupsCommand")
905
- .sc(ListScheduleGroups$)
906
- .build() {
848
+ class ListScheduleGroupsCommand extends command(_ep0, _mw0, "ListScheduleGroups", ListScheduleGroups$) {
907
849
  }
908
850
 
909
- class ListSchedulesCommand extends Command
910
- .classBuilder()
911
- .ep(commonParams)
912
- .m(function (Command, cs, config, o) {
913
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
914
- })
915
- .s("AWSChronosService", "ListSchedules", {})
916
- .n("SchedulerClient", "ListSchedulesCommand")
917
- .sc(ListSchedules$)
918
- .build() {
851
+ class ListSchedulesCommand extends command(_ep0, _mw0, "ListSchedules", ListSchedules$) {
919
852
  }
920
853
 
921
- class ListTagsForResourceCommand extends Command
922
- .classBuilder()
923
- .ep(commonParams)
924
- .m(function (Command, cs, config, o) {
925
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
926
- })
927
- .s("AWSChronosService", "ListTagsForResource", {})
928
- .n("SchedulerClient", "ListTagsForResourceCommand")
929
- .sc(ListTagsForResource$)
930
- .build() {
854
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
931
855
  }
932
856
 
933
- class TagResourceCommand extends Command
934
- .classBuilder()
935
- .ep(commonParams)
936
- .m(function (Command, cs, config, o) {
937
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
938
- })
939
- .s("AWSChronosService", "TagResource", {})
940
- .n("SchedulerClient", "TagResourceCommand")
941
- .sc(TagResource$)
942
- .build() {
857
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
943
858
  }
944
859
 
945
- class UntagResourceCommand extends Command
946
- .classBuilder()
947
- .ep(commonParams)
948
- .m(function (Command, cs, config, o) {
949
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
950
- })
951
- .s("AWSChronosService", "UntagResource", {})
952
- .n("SchedulerClient", "UntagResourceCommand")
953
- .sc(UntagResource$)
954
- .build() {
860
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
955
861
  }
956
862
 
957
- class UpdateScheduleCommand extends Command
958
- .classBuilder()
959
- .ep(commonParams)
960
- .m(function (Command, cs, config, o) {
961
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
962
- })
963
- .s("AWSChronosService", "UpdateSchedule", {})
964
- .n("SchedulerClient", "UpdateScheduleCommand")
965
- .sc(UpdateSchedule$)
966
- .build() {
863
+ class UpdateScheduleCommand extends command(_ep0, _mw0, "UpdateSchedule", UpdateSchedule$) {
967
864
  }
968
865
 
969
866
  const paginateListScheduleGroups = createPaginator(SchedulerClient, ListScheduleGroupsCommand, "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, "AWSChronosService", "SchedulerClient", 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 { CreateSchedule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateScheduleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "CreateSchedule", {})
13
- .n("SchedulerClient", "CreateScheduleCommand")
14
- .sc(CreateSchedule$)
15
- .build() {
3
+ export class CreateScheduleCommand extends command(_ep0, _mw0, "CreateSchedule", CreateSchedule$) {
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 { CreateScheduleGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateScheduleGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "CreateScheduleGroup", {})
13
- .n("SchedulerClient", "CreateScheduleGroupCommand")
14
- .sc(CreateScheduleGroup$)
15
- .build() {
3
+ export class CreateScheduleGroupCommand extends command(_ep0, _mw0, "CreateScheduleGroup", CreateScheduleGroup$) {
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 { DeleteSchedule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteScheduleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "DeleteSchedule", {})
13
- .n("SchedulerClient", "DeleteScheduleCommand")
14
- .sc(DeleteSchedule$)
15
- .build() {
3
+ export class DeleteScheduleCommand extends command(_ep0, _mw0, "DeleteSchedule", DeleteSchedule$) {
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 { DeleteScheduleGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteScheduleGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "DeleteScheduleGroup", {})
13
- .n("SchedulerClient", "DeleteScheduleGroupCommand")
14
- .sc(DeleteScheduleGroup$)
15
- .build() {
3
+ export class DeleteScheduleGroupCommand extends command(_ep0, _mw0, "DeleteScheduleGroup", DeleteScheduleGroup$) {
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 { GetSchedule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetScheduleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "GetSchedule", {})
13
- .n("SchedulerClient", "GetScheduleCommand")
14
- .sc(GetSchedule$)
15
- .build() {
3
+ export class GetScheduleCommand extends command(_ep0, _mw0, "GetSchedule", GetSchedule$) {
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 { GetScheduleGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetScheduleGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "GetScheduleGroup", {})
13
- .n("SchedulerClient", "GetScheduleGroupCommand")
14
- .sc(GetScheduleGroup$)
15
- .build() {
3
+ export class GetScheduleGroupCommand extends command(_ep0, _mw0, "GetScheduleGroup", GetScheduleGroup$) {
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 { ListScheduleGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListScheduleGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "ListScheduleGroups", {})
13
- .n("SchedulerClient", "ListScheduleGroupsCommand")
14
- .sc(ListScheduleGroups$)
15
- .build() {
3
+ export class ListScheduleGroupsCommand extends command(_ep0, _mw0, "ListScheduleGroups", ListScheduleGroups$) {
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 { ListSchedules$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSchedulesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "ListSchedules", {})
13
- .n("SchedulerClient", "ListSchedulesCommand")
14
- .sc(ListSchedules$)
15
- .build() {
3
+ export class ListSchedulesCommand extends command(_ep0, _mw0, "ListSchedules", ListSchedules$) {
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("AWSChronosService", "ListTagsForResource", {})
13
- .n("SchedulerClient", "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("AWSChronosService", "TagResource", {})
13
- .n("SchedulerClient", "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("AWSChronosService", "UntagResource", {})
13
- .n("SchedulerClient", "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 { UpdateSchedule$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateScheduleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSChronosService", "UpdateSchedule", {})
13
- .n("SchedulerClient", "UpdateScheduleCommand")
14
- .sc(UpdateSchedule$)
15
- .build() {
3
+ export class UpdateScheduleCommand extends command(_ep0, _mw0, "UpdateSchedule", UpdateSchedule$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SchedulerClient";
2
2
  export * from "./Scheduler";
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 { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./SchedulerClient";
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, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SchedulerClientResolvedConfig, 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
2
  import type { CreateScheduleInput, CreateScheduleOutput } from "../models/models_0";
4
- import type { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
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 CreateScheduleCommandInput extends CreateScheduleInput {
22
19
  export interface CreateScheduleCommandOutput extends CreateScheduleOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateScheduleCommand_base: {
25
- new (input: CreateScheduleCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduleCommandInput, CreateScheduleCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateScheduleCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduleCommandInput, CreateScheduleCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateScheduleCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduleCommandInput, CreateScheduleCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateScheduleCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduleCommandInput, CreateScheduleCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates the specified schedule.</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
2
  import type { CreateScheduleGroupInput, CreateScheduleGroupOutput } from "../models/models_0";
4
- import type { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
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 CreateScheduleGroupCommandInput extends CreateScheduleGroupInpu
22
19
  export interface CreateScheduleGroupCommandOutput extends CreateScheduleGroupOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CreateScheduleGroupCommand_base: {
25
- new (input: CreateScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduleGroupCommandInput, CreateScheduleGroupCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduleGroupCommandInput, CreateScheduleGroupCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduleGroupCommandInput, CreateScheduleGroupCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateScheduleGroupCommandInput, CreateScheduleGroupCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates the specified schedule group.</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
2
  import type { DeleteScheduleInput, DeleteScheduleOutput } from "../models/models_0";
4
- import type { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
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 DeleteScheduleCommandInput extends DeleteScheduleInput {
22
19
  export interface DeleteScheduleCommandOutput extends DeleteScheduleOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteScheduleCommand_base: {
25
- new (input: DeleteScheduleCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduleCommandInput, DeleteScheduleCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteScheduleCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduleCommandInput, DeleteScheduleCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteScheduleCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduleCommandInput, DeleteScheduleCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteScheduleCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduleCommandInput, DeleteScheduleCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified schedule.</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
2
  import type { DeleteScheduleGroupInput, DeleteScheduleGroupOutput } from "../models/models_0";
4
- import type { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
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 DeleteScheduleGroupCommandInput extends DeleteScheduleGroupInpu
22
19
  export interface DeleteScheduleGroupCommandOutput extends DeleteScheduleGroupOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteScheduleGroupCommand_base: {
25
- new (input: DeleteScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduleGroupCommandInput, DeleteScheduleGroupCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduleGroupCommandInput, DeleteScheduleGroupCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduleGroupCommandInput, DeleteScheduleGroupCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<DeleteScheduleGroupCommandInput, DeleteScheduleGroupCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified schedule group. Deleting a schedule group results in EventBridge Scheduler deleting all schedules associated with the group.
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetScheduleInput, GetScheduleOutput } from "../models/models_0";
4
- import type { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
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 GetScheduleCommandInput extends GetScheduleInput {
22
19
  export interface GetScheduleCommandOutput extends GetScheduleOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetScheduleCommand_base: {
25
- new (input: GetScheduleCommandInput): import("@smithy/core/client").CommandImpl<GetScheduleCommandInput, GetScheduleCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetScheduleCommandInput): import("@smithy/core/client").CommandImpl<GetScheduleCommandInput, GetScheduleCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetScheduleCommandInput): import("@smithy/core/client").CommandImpl<GetScheduleCommandInput, GetScheduleCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetScheduleCommandInput): import("@smithy/core/client").CommandImpl<GetScheduleCommandInput, GetScheduleCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the specified schedule.</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
2
  import type { GetScheduleGroupInput, GetScheduleGroupOutput } from "../models/models_0";
4
- import type { SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SchedulerClient";
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 GetScheduleGroupCommandInput extends GetScheduleGroupInput {
22
19
  export interface GetScheduleGroupCommandOutput extends GetScheduleGroupOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetScheduleGroupCommand_base: {
25
- new (input: GetScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<GetScheduleGroupCommandInput, GetScheduleGroupCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<GetScheduleGroupCommandInput, GetScheduleGroupCommandOutput, SchedulerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<GetScheduleGroupCommandInput, GetScheduleGroupCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetScheduleGroupCommandInput): import("@smithy/core/client").CommandImpl<GetScheduleGroupCommandInput, GetScheduleGroupCommandOutput, import("..").SchedulerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the specified schedule group.</p>