@aws-sdk/client-rbin 3.490.0 → 3.496.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.RbinServiceException = 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 RbinServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, RbinServiceException.prototype);
10
- }
11
- }
12
- exports.RbinServiceException = RbinServiceException;
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,110 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceNotFoundException = exports.ResourceNotFoundExceptionReason = exports.ConflictException = exports.ConflictExceptionReason = exports.ValidationException = exports.ValidationExceptionReason = exports.ServiceQuotaExceededException = exports.ServiceQuotaExceededExceptionReason = exports.InternalServerException = exports.RuleStatus = exports.LockState = exports.RetentionPeriodUnit = exports.ResourceType = exports.UnlockDelayUnit = void 0;
4
- const RbinServiceException_1 = require("./RbinServiceException");
5
- exports.UnlockDelayUnit = {
6
- DAYS: "DAYS",
7
- };
8
- exports.ResourceType = {
9
- EBS_SNAPSHOT: "EBS_SNAPSHOT",
10
- EC2_IMAGE: "EC2_IMAGE",
11
- };
12
- exports.RetentionPeriodUnit = {
13
- DAYS: "DAYS",
14
- };
15
- exports.LockState = {
16
- LOCKED: "locked",
17
- PENDING_UNLOCK: "pending_unlock",
18
- UNLOCKED: "unlocked",
19
- };
20
- exports.RuleStatus = {
21
- AVAILABLE: "available",
22
- PENDING: "pending",
23
- };
24
- class InternalServerException extends RbinServiceException_1.RbinServiceException {
25
- constructor(opts) {
26
- super({
27
- name: "InternalServerException",
28
- $fault: "server",
29
- ...opts,
30
- });
31
- this.name = "InternalServerException";
32
- this.$fault = "server";
33
- Object.setPrototypeOf(this, InternalServerException.prototype);
34
- this.Message = opts.Message;
35
- }
36
- }
37
- exports.InternalServerException = InternalServerException;
38
- exports.ServiceQuotaExceededExceptionReason = {
39
- SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED",
40
- };
41
- class ServiceQuotaExceededException extends RbinServiceException_1.RbinServiceException {
42
- constructor(opts) {
43
- super({
44
- name: "ServiceQuotaExceededException",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- this.name = "ServiceQuotaExceededException";
49
- this.$fault = "client";
50
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
51
- this.Message = opts.Message;
52
- this.Reason = opts.Reason;
53
- }
54
- }
55
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
56
- exports.ValidationExceptionReason = {
57
- INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN",
58
- INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE",
59
- };
60
- class ValidationException extends RbinServiceException_1.RbinServiceException {
61
- constructor(opts) {
62
- super({
63
- name: "ValidationException",
64
- $fault: "client",
65
- ...opts,
66
- });
67
- this.name = "ValidationException";
68
- this.$fault = "client";
69
- Object.setPrototypeOf(this, ValidationException.prototype);
70
- this.Message = opts.Message;
71
- this.Reason = opts.Reason;
72
- }
73
- }
74
- exports.ValidationException = ValidationException;
75
- exports.ConflictExceptionReason = {
76
- INVALID_RULE_STATE: "INVALID_RULE_STATE",
77
- };
78
- class ConflictException extends RbinServiceException_1.RbinServiceException {
79
- constructor(opts) {
80
- super({
81
- name: "ConflictException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- this.name = "ConflictException";
86
- this.$fault = "client";
87
- Object.setPrototypeOf(this, ConflictException.prototype);
88
- this.Message = opts.Message;
89
- this.Reason = opts.Reason;
90
- }
91
- }
92
- exports.ConflictException = ConflictException;
93
- exports.ResourceNotFoundExceptionReason = {
94
- RULE_NOT_FOUND: "RULE_NOT_FOUND",
95
- };
96
- class ResourceNotFoundException extends RbinServiceException_1.RbinServiceException {
97
- constructor(opts) {
98
- super({
99
- name: "ResourceNotFoundException",
100
- $fault: "client",
101
- ...opts,
102
- });
103
- this.name = "ResourceNotFoundException";
104
- this.$fault = "client";
105
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
106
- this.Message = opts.Message;
107
- this.Reason = opts.Reason;
108
- }
109
- }
110
- exports.ResourceNotFoundException = ResourceNotFoundException;
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.paginateListRules = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListRulesCommand_1 = require("../commands/ListRulesCommand");
6
- const RbinClient_1 = require("../RbinClient");
7
- exports.paginateListRules = (0, core_1.createPaginator)(RbinClient_1.RbinClient, ListRulesCommand_1.ListRulesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,5 +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("./ListRulesPaginator"), exports);
1
+ module.exports = require("../index.js");