@aws-sdk/client-dlm 3.489.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.DLMServiceException = 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 DLMServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, DLMServiceException.prototype);
10
- }
11
- }
12
- exports.DLMServiceException = DLMServiceException;
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,130 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GettablePolicyStateValues = exports.ResourceNotFoundException = exports.DefaultPoliciesTypeValues = exports.LimitExceededException = exports.InvalidRequestException = exports.InternalServerException = exports.SettablePolicyStateValues = exports.StageValues = exports.ExecutionHandlerServiceValues = exports.LocationValues = exports.IntervalUnitValues = exports.ResourceTypeValues = exports.ResourceLocationValues = exports.PolicyTypeValues = exports.PolicyLanguageValues = exports.EventSourceValues = exports.EventTypeValues = exports.DefaultPolicyTypeValues = exports.RetentionIntervalUnitValues = void 0;
4
- const DLMServiceException_1 = require("./DLMServiceException");
5
- exports.RetentionIntervalUnitValues = {
6
- DAYS: "DAYS",
7
- MONTHS: "MONTHS",
8
- WEEKS: "WEEKS",
9
- YEARS: "YEARS",
10
- };
11
- exports.DefaultPolicyTypeValues = {
12
- INSTANCE: "INSTANCE",
13
- VOLUME: "VOLUME",
14
- };
15
- exports.EventTypeValues = {
16
- SHARE_SNAPSHOT: "shareSnapshot",
17
- };
18
- exports.EventSourceValues = {
19
- MANAGED_CWE: "MANAGED_CWE",
20
- };
21
- exports.PolicyLanguageValues = {
22
- SIMPLIFIED: "SIMPLIFIED",
23
- STANDARD: "STANDARD",
24
- };
25
- exports.PolicyTypeValues = {
26
- EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT",
27
- EVENT_BASED_POLICY: "EVENT_BASED_POLICY",
28
- IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT",
29
- };
30
- exports.ResourceLocationValues = {
31
- CLOUD: "CLOUD",
32
- OUTPOST: "OUTPOST",
33
- };
34
- exports.ResourceTypeValues = {
35
- INSTANCE: "INSTANCE",
36
- VOLUME: "VOLUME",
37
- };
38
- exports.IntervalUnitValues = {
39
- HOURS: "HOURS",
40
- };
41
- exports.LocationValues = {
42
- CLOUD: "CLOUD",
43
- OUTPOST_LOCAL: "OUTPOST_LOCAL",
44
- };
45
- exports.ExecutionHandlerServiceValues = {
46
- AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER",
47
- };
48
- exports.StageValues = {
49
- POST: "POST",
50
- PRE: "PRE",
51
- };
52
- exports.SettablePolicyStateValues = {
53
- DISABLED: "DISABLED",
54
- ENABLED: "ENABLED",
55
- };
56
- class InternalServerException extends DLMServiceException_1.DLMServiceException {
57
- constructor(opts) {
58
- super({
59
- name: "InternalServerException",
60
- $fault: "server",
61
- ...opts,
62
- });
63
- this.name = "InternalServerException";
64
- this.$fault = "server";
65
- Object.setPrototypeOf(this, InternalServerException.prototype);
66
- this.Message = opts.Message;
67
- this.Code = opts.Code;
68
- }
69
- }
70
- exports.InternalServerException = InternalServerException;
71
- class InvalidRequestException extends DLMServiceException_1.DLMServiceException {
72
- constructor(opts) {
73
- super({
74
- name: "InvalidRequestException",
75
- $fault: "client",
76
- ...opts,
77
- });
78
- this.name = "InvalidRequestException";
79
- this.$fault = "client";
80
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
81
- this.Message = opts.Message;
82
- this.Code = opts.Code;
83
- this.RequiredParameters = opts.RequiredParameters;
84
- this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
85
- }
86
- }
87
- exports.InvalidRequestException = InvalidRequestException;
88
- class LimitExceededException extends DLMServiceException_1.DLMServiceException {
89
- constructor(opts) {
90
- super({
91
- name: "LimitExceededException",
92
- $fault: "client",
93
- ...opts,
94
- });
95
- this.name = "LimitExceededException";
96
- this.$fault = "client";
97
- Object.setPrototypeOf(this, LimitExceededException.prototype);
98
- this.Message = opts.Message;
99
- this.Code = opts.Code;
100
- this.ResourceType = opts.ResourceType;
101
- }
102
- }
103
- exports.LimitExceededException = LimitExceededException;
104
- exports.DefaultPoliciesTypeValues = {
105
- ALL: "ALL",
106
- INSTANCE: "INSTANCE",
107
- VOLUME: "VOLUME",
108
- };
109
- class ResourceNotFoundException extends DLMServiceException_1.DLMServiceException {
110
- constructor(opts) {
111
- super({
112
- name: "ResourceNotFoundException",
113
- $fault: "client",
114
- ...opts,
115
- });
116
- this.name = "ResourceNotFoundException";
117
- this.$fault = "client";
118
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
119
- this.Message = opts.Message;
120
- this.Code = opts.Code;
121
- this.ResourceType = opts.ResourceType;
122
- this.ResourceIds = opts.ResourceIds;
123
- }
124
- }
125
- exports.ResourceNotFoundException = ResourceNotFoundException;
126
- exports.GettablePolicyStateValues = {
127
- DISABLED: "DISABLED",
128
- ENABLED: "ENABLED",
129
- ERROR: "ERROR",
130
- };
1
+ module.exports = require("../index.js");