@aws-sdk/client-scheduler 3.208.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 (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +209 -0
  3. package/dist-cjs/Scheduler.js +187 -0
  4. package/dist-cjs/SchedulerClient.js +40 -0
  5. package/dist-cjs/commands/CreateScheduleCommand.js +46 -0
  6. package/dist-cjs/commands/CreateScheduleGroupCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteScheduleCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteScheduleGroupCommand.js +46 -0
  9. package/dist-cjs/commands/GetScheduleCommand.js +46 -0
  10. package/dist-cjs/commands/GetScheduleGroupCommand.js +46 -0
  11. package/dist-cjs/commands/ListScheduleGroupsCommand.js +46 -0
  12. package/dist-cjs/commands/ListSchedulesCommand.js +46 -0
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  14. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  15. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  16. package/dist-cjs/commands/UpdateScheduleCommand.js +46 -0
  17. package/dist-cjs/commands/index.js +15 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  20. package/dist-cjs/endpoint/ruleset.js +312 -0
  21. package/dist-cjs/index.js +11 -0
  22. package/dist-cjs/models/SchedulerServiceException.js +11 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +302 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListScheduleGroupsPaginator.js +36 -0
  27. package/dist-cjs/pagination/ListSchedulesPaginator.js +36 -0
  28. package/dist-cjs/pagination/index.js +6 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +1494 -0
  30. package/dist-cjs/runtimeConfig.browser.js +42 -0
  31. package/dist-cjs/runtimeConfig.js +50 -0
  32. package/dist-cjs/runtimeConfig.native.js +15 -0
  33. package/dist-cjs/runtimeConfig.shared.js +17 -0
  34. package/dist-es/Scheduler.js +183 -0
  35. package/dist-es/SchedulerClient.js +36 -0
  36. package/dist-es/commands/CreateScheduleCommand.js +42 -0
  37. package/dist-es/commands/CreateScheduleGroupCommand.js +42 -0
  38. package/dist-es/commands/DeleteScheduleCommand.js +42 -0
  39. package/dist-es/commands/DeleteScheduleGroupCommand.js +42 -0
  40. package/dist-es/commands/GetScheduleCommand.js +42 -0
  41. package/dist-es/commands/GetScheduleGroupCommand.js +42 -0
  42. package/dist-es/commands/ListScheduleGroupsCommand.js +42 -0
  43. package/dist-es/commands/ListSchedulesCommand.js +42 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  45. package/dist-es/commands/TagResourceCommand.js +42 -0
  46. package/dist-es/commands/UntagResourceCommand.js +42 -0
  47. package/dist-es/commands/UpdateScheduleCommand.js +42 -0
  48. package/dist-es/commands/index.js +12 -0
  49. package/dist-es/endpoint/EndpointParameters.js +8 -0
  50. package/dist-es/endpoint/endpointResolver.js +8 -0
  51. package/dist-es/endpoint/ruleset.js +309 -0
  52. package/dist-es/index.js +6 -0
  53. package/dist-es/models/SchedulerServiceException.js +7 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +249 -0
  56. package/dist-es/pagination/Interfaces.js +1 -0
  57. package/dist-es/pagination/ListScheduleGroupsPaginator.js +32 -0
  58. package/dist-es/pagination/ListSchedulesPaginator.js +32 -0
  59. package/dist-es/pagination/index.js +3 -0
  60. package/dist-es/protocols/Aws_restJson1.js +1467 -0
  61. package/dist-es/runtimeConfig.browser.js +37 -0
  62. package/dist-es/runtimeConfig.js +45 -0
  63. package/dist-es/runtimeConfig.native.js +11 -0
  64. package/dist-es/runtimeConfig.shared.js +13 -0
  65. package/dist-types/Scheduler.d.ts +111 -0
  66. package/dist-types/SchedulerClient.d.ts +157 -0
  67. package/dist-types/commands/CreateScheduleCommand.d.ts +37 -0
  68. package/dist-types/commands/CreateScheduleGroupCommand.d.ts +37 -0
  69. package/dist-types/commands/DeleteScheduleCommand.d.ts +37 -0
  70. package/dist-types/commands/DeleteScheduleGroupCommand.d.ts +45 -0
  71. package/dist-types/commands/GetScheduleCommand.d.ts +37 -0
  72. package/dist-types/commands/GetScheduleGroupCommand.d.ts +37 -0
  73. package/dist-types/commands/ListScheduleGroupsCommand.d.ts +37 -0
  74. package/dist-types/commands/ListSchedulesCommand.d.ts +37 -0
  75. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  76. package/dist-types/commands/TagResourceCommand.d.ts +37 -0
  77. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  78. package/dist-types/commands/UpdateScheduleCommand.d.ts +45 -0
  79. package/dist-types/commands/index.d.ts +12 -0
  80. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  81. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  82. package/dist-types/endpoint/ruleset.d.ts +2 -0
  83. package/dist-types/index.d.ts +6 -0
  84. package/dist-types/models/SchedulerServiceException.d.ts +10 -0
  85. package/dist-types/models/index.d.ts +1 -0
  86. package/dist-types/models/models_0.d.ts +1148 -0
  87. package/dist-types/pagination/Interfaces.d.ts +6 -0
  88. package/dist-types/pagination/ListScheduleGroupsPaginator.d.ts +4 -0
  89. package/dist-types/pagination/ListSchedulesPaginator.d.ts +4 -0
  90. package/dist-types/pagination/index.d.ts +3 -0
  91. package/dist-types/protocols/Aws_restJson1.d.ts +38 -0
  92. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  93. package/dist-types/runtimeConfig.d.ts +42 -0
  94. package/dist-types/runtimeConfig.native.d.ts +41 -0
  95. package/dist-types/runtimeConfig.shared.d.ts +17 -0
  96. package/dist-types/ts3.4/Scheduler.d.ts +208 -0
  97. package/dist-types/ts3.4/SchedulerClient.d.ts +183 -0
  98. package/dist-types/ts3.4/commands/CreateScheduleCommand.d.ts +34 -0
  99. package/dist-types/ts3.4/commands/CreateScheduleGroupCommand.d.ts +38 -0
  100. package/dist-types/ts3.4/commands/DeleteScheduleCommand.d.ts +34 -0
  101. package/dist-types/ts3.4/commands/DeleteScheduleGroupCommand.d.ts +38 -0
  102. package/dist-types/ts3.4/commands/GetScheduleCommand.d.ts +34 -0
  103. package/dist-types/ts3.4/commands/GetScheduleGroupCommand.d.ts +37 -0
  104. package/dist-types/ts3.4/commands/ListScheduleGroupsCommand.d.ts +38 -0
  105. package/dist-types/ts3.4/commands/ListSchedulesCommand.d.ts +34 -0
  106. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  107. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  108. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  109. package/dist-types/ts3.4/commands/UpdateScheduleCommand.d.ts +34 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  111. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  112. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  113. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  114. package/dist-types/ts3.4/index.d.ts +6 -0
  115. package/dist-types/ts3.4/models/SchedulerServiceException.d.ts +7 -0
  116. package/dist-types/ts3.4/models/index.d.ts +1 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +423 -0
  118. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
  119. package/dist-types/ts3.4/pagination/ListScheduleGroupsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/ListSchedulesPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  122. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
  123. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +86 -0
  124. package/dist-types/ts3.4/runtimeConfig.d.ts +86 -0
  125. package/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -0
  126. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +17 -0
  127. package/package.json +105 -0
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateScheduleGroupCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class CreateScheduleGroupCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateScheduleGroupCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "CreateScheduleGroupCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.CreateScheduleGroupInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.CreateScheduleGroupOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateScheduleGroupCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateScheduleGroupCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CreateScheduleGroupCommand = CreateScheduleGroupCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteScheduleCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DeleteScheduleCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteScheduleCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "DeleteScheduleCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DeleteScheduleInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DeleteScheduleOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteScheduleCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteScheduleCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeleteScheduleCommand = DeleteScheduleCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteScheduleGroupCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class DeleteScheduleGroupCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteScheduleGroupCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "DeleteScheduleGroupCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DeleteScheduleGroupInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DeleteScheduleGroupOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteScheduleGroupCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteScheduleGroupCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeleteScheduleGroupCommand = DeleteScheduleGroupCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetScheduleCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetScheduleCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetScheduleCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "GetScheduleCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetScheduleInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetScheduleOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetScheduleCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetScheduleCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetScheduleCommand = GetScheduleCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetScheduleGroupCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetScheduleGroupCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetScheduleGroupCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "GetScheduleGroupCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.GetScheduleGroupInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.GetScheduleGroupOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetScheduleGroupCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetScheduleGroupCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetScheduleGroupCommand = GetScheduleGroupCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListScheduleGroupsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListScheduleGroupsCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListScheduleGroupsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "ListScheduleGroupsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ListScheduleGroupsInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ListScheduleGroupsOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListScheduleGroupsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListScheduleGroupsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListScheduleGroupsCommand = ListScheduleGroupsCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListSchedulesCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListSchedulesCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListSchedulesCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "ListSchedulesCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ListSchedulesInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ListSchedulesOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListSchedulesCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListSchedulesCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListSchedulesCommand = ListSchedulesCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ListTagsForResourceCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "ListTagsForResourceCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ListTagsForResourceInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ListTagsForResourceOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class TagResourceCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "TagResourceCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.TagResourceInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.TagResourceOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
44
+ }
45
+ }
46
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UntagResourceCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "UntagResourceCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.UntagResourceInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.UntagResourceOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateScheduleCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateScheduleCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateScheduleCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "SchedulerClient";
28
+ const commandName = "UpdateScheduleCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.UpdateScheduleInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.UpdateScheduleOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateScheduleCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateScheduleCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateScheduleCommand = UpdateScheduleCommand;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateScheduleCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateScheduleGroupCommand"), exports);
6
+ tslib_1.__exportStar(require("./DeleteScheduleCommand"), exports);
7
+ tslib_1.__exportStar(require("./DeleteScheduleGroupCommand"), exports);
8
+ tslib_1.__exportStar(require("./GetScheduleCommand"), exports);
9
+ tslib_1.__exportStar(require("./GetScheduleGroupCommand"), exports);
10
+ tslib_1.__exportStar(require("./ListScheduleGroupsCommand"), exports);
11
+ tslib_1.__exportStar(require("./ListSchedulesCommand"), exports);
12
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
13
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
14
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
15
+ tslib_1.__exportStar(require("./UpdateScheduleCommand"), exports);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return {
6
+ ...options,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
9
+ defaultSigningName: "scheduler",
10
+ };
11
+ };
12
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const ruleset_1 = require("./ruleset");
6
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
7
+ return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ endpointParams: endpointParams,
9
+ logger: context.logger,
10
+ });
11
+ };
12
+ exports.defaultEndpointResolver = defaultEndpointResolver;