@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.
- package/dist-cjs/DLM.js +1 -27
- package/dist-cjs/DLMClient.js +1 -43
- package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/GetLifecyclePoliciesCommand.js +1 -28
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -11
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1064 -10
- package/dist-cjs/models/DLMServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -130
- package/dist-cjs/protocols/Aws_restJson1.js +1 -587
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
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");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,130 +1 @@
|
|
|
1
|
-
|
|
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");
|