@aws-sdk/client-scheduler 3.490.0 → 3.495.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.
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SchedulerServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class SchedulerServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, SchedulerServiceException.prototype);
10
- }
11
- }
12
- exports.SchedulerServiceException = SchedulerServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,125 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScheduleGroupState = exports.ServiceQuotaExceededException = exports.PropagateTags = exports.PlacementStrategyType = exports.PlacementConstraintType = exports.LaunchType = exports.ScheduleState = exports.FlexibleTimeWindowMode = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AssignPublicIp = exports.ActionAfterCompletion = void 0;
4
- const SchedulerServiceException_1 = require("./SchedulerServiceException");
5
- exports.ActionAfterCompletion = {
6
- DELETE: "DELETE",
7
- NONE: "NONE",
8
- };
9
- exports.AssignPublicIp = {
10
- DISABLED: "DISABLED",
11
- ENABLED: "ENABLED",
12
- };
13
- class InternalServerException extends SchedulerServiceException_1.SchedulerServiceException {
14
- constructor(opts) {
15
- super({
16
- name: "InternalServerException",
17
- $fault: "server",
18
- ...opts,
19
- });
20
- this.name = "InternalServerException";
21
- this.$fault = "server";
22
- Object.setPrototypeOf(this, InternalServerException.prototype);
23
- this.Message = opts.Message;
24
- }
25
- }
26
- exports.InternalServerException = InternalServerException;
27
- class ResourceNotFoundException extends SchedulerServiceException_1.SchedulerServiceException {
28
- constructor(opts) {
29
- super({
30
- name: "ResourceNotFoundException",
31
- $fault: "client",
32
- ...opts,
33
- });
34
- this.name = "ResourceNotFoundException";
35
- this.$fault = "client";
36
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
37
- this.Message = opts.Message;
38
- }
39
- }
40
- exports.ResourceNotFoundException = ResourceNotFoundException;
41
- class ThrottlingException extends SchedulerServiceException_1.SchedulerServiceException {
42
- constructor(opts) {
43
- super({
44
- name: "ThrottlingException",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- this.name = "ThrottlingException";
49
- this.$fault = "client";
50
- Object.setPrototypeOf(this, ThrottlingException.prototype);
51
- this.Message = opts.Message;
52
- }
53
- }
54
- exports.ThrottlingException = ThrottlingException;
55
- class ValidationException extends SchedulerServiceException_1.SchedulerServiceException {
56
- constructor(opts) {
57
- super({
58
- name: "ValidationException",
59
- $fault: "client",
60
- ...opts,
61
- });
62
- this.name = "ValidationException";
63
- this.$fault = "client";
64
- Object.setPrototypeOf(this, ValidationException.prototype);
65
- this.Message = opts.Message;
66
- }
67
- }
68
- exports.ValidationException = ValidationException;
69
- class ConflictException extends SchedulerServiceException_1.SchedulerServiceException {
70
- constructor(opts) {
71
- super({
72
- name: "ConflictException",
73
- $fault: "client",
74
- ...opts,
75
- });
76
- this.name = "ConflictException";
77
- this.$fault = "client";
78
- Object.setPrototypeOf(this, ConflictException.prototype);
79
- this.Message = opts.Message;
80
- }
81
- }
82
- exports.ConflictException = ConflictException;
83
- exports.FlexibleTimeWindowMode = {
84
- FLEXIBLE: "FLEXIBLE",
85
- OFF: "OFF",
86
- };
87
- exports.ScheduleState = {
88
- DISABLED: "DISABLED",
89
- ENABLED: "ENABLED",
90
- };
91
- exports.LaunchType = {
92
- EC2: "EC2",
93
- EXTERNAL: "EXTERNAL",
94
- FARGATE: "FARGATE",
95
- };
96
- exports.PlacementConstraintType = {
97
- DISTINCT_INSTANCE: "distinctInstance",
98
- MEMBER_OF: "memberOf",
99
- };
100
- exports.PlacementStrategyType = {
101
- BINPACK: "binpack",
102
- RANDOM: "random",
103
- SPREAD: "spread",
104
- };
105
- exports.PropagateTags = {
106
- TASK_DEFINITION: "TASK_DEFINITION",
107
- };
108
- class ServiceQuotaExceededException extends SchedulerServiceException_1.SchedulerServiceException {
109
- constructor(opts) {
110
- super({
111
- name: "ServiceQuotaExceededException",
112
- $fault: "client",
113
- ...opts,
114
- });
115
- this.name = "ServiceQuotaExceededException";
116
- this.$fault = "client";
117
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
118
- this.Message = opts.Message;
119
- }
120
- }
121
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
122
- exports.ScheduleGroupState = {
123
- ACTIVE: "ACTIVE",
124
- DELETING: "DELETING",
125
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListScheduleGroups = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListScheduleGroupsCommand_1 = require("../commands/ListScheduleGroupsCommand");
6
- const SchedulerClient_1 = require("../SchedulerClient");
7
- exports.paginateListScheduleGroups = (0, core_1.createPaginator)(SchedulerClient_1.SchedulerClient, ListScheduleGroupsCommand_1.ListScheduleGroupsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListSchedules = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListSchedulesCommand_1 = require("../commands/ListSchedulesCommand");
6
- const SchedulerClient_1 = require("../SchedulerClient");
7
- exports.paginateListSchedules = (0, core_1.createPaginator)(SchedulerClient_1.SchedulerClient, ListSchedulesCommand_1.ListSchedulesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListScheduleGroupsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListSchedulesPaginator"), exports);
1
+ module.exports = require("../index.js");