@aws-sdk/client-fms 3.52.0 → 3.53.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/CHANGELOG.md +12 -0
- package/README.md +6 -6
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/FMSServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +124 -3
- package/dist-cjs/protocols/Aws_json1_1.js +367 -888
- package/dist-es/index.js +1 -0
- package/dist-es/models/FMSServiceException.js +12 -0
- package/dist-es/models/models_0.js +106 -1
- package/dist-es/protocols/Aws_json1_1.js +667 -983
- package/dist-types/FMS.d.ts +59 -56
- package/dist-types/FMSClient.d.ts +6 -6
- package/dist-types/commands/AssociateAdminAccountCommand.d.ts +5 -4
- package/dist-types/commands/DeleteNotificationChannelCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +3 -3
- package/dist-types/commands/GetAdminAccountCommand.d.ts +2 -2
- package/dist-types/commands/GetComplianceDetailCommand.d.ts +13 -13
- package/dist-types/commands/GetNotificationChannelCommand.d.ts +2 -2
- package/dist-types/commands/GetProtectionStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetViolationDetailsCommand.d.ts +2 -1
- package/dist-types/commands/ListComplianceStatusCommand.d.ts +2 -2
- package/dist-types/commands/ListMemberAccountsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutNotificationChannelCommand.d.ts +6 -5
- package/dist-types/commands/PutPolicyCommand.d.ts +11 -12
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/FMSServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +771 -334
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/FMSServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +126 -19
- package/package.json +25 -25
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var FMSServiceException = (function (_super) {
|
|
4
|
+
__extends(FMSServiceException, _super);
|
|
5
|
+
function FMSServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, FMSServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return FMSServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { FMSServiceException };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { FMSServiceException as __BaseException } from "./FMSServiceException";
|
|
2
3
|
export var AccountRoleStatus;
|
|
3
4
|
(function (AccountRoleStatus) {
|
|
4
5
|
AccountRoleStatus["Creating"] = "CREATING";
|
|
@@ -27,6 +28,71 @@ export var AssociateAdminAccountRequest;
|
|
|
27
28
|
(function (AssociateAdminAccountRequest) {
|
|
28
29
|
AssociateAdminAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
30
|
})(AssociateAdminAccountRequest || (AssociateAdminAccountRequest = {}));
|
|
31
|
+
var InternalErrorException = (function (_super) {
|
|
32
|
+
__extends(InternalErrorException, _super);
|
|
33
|
+
function InternalErrorException(opts) {
|
|
34
|
+
var _this = _super.call(this, __assign({ name: "InternalErrorException", $fault: "client" }, opts)) || this;
|
|
35
|
+
_this.name = "InternalErrorException";
|
|
36
|
+
_this.$fault = "client";
|
|
37
|
+
Object.setPrototypeOf(_this, InternalErrorException.prototype);
|
|
38
|
+
_this.Message = opts.Message;
|
|
39
|
+
return _this;
|
|
40
|
+
}
|
|
41
|
+
return InternalErrorException;
|
|
42
|
+
}(__BaseException));
|
|
43
|
+
export { InternalErrorException };
|
|
44
|
+
var InvalidInputException = (function (_super) {
|
|
45
|
+
__extends(InvalidInputException, _super);
|
|
46
|
+
function InvalidInputException(opts) {
|
|
47
|
+
var _this = _super.call(this, __assign({ name: "InvalidInputException", $fault: "client" }, opts)) || this;
|
|
48
|
+
_this.name = "InvalidInputException";
|
|
49
|
+
_this.$fault = "client";
|
|
50
|
+
Object.setPrototypeOf(_this, InvalidInputException.prototype);
|
|
51
|
+
_this.Message = opts.Message;
|
|
52
|
+
return _this;
|
|
53
|
+
}
|
|
54
|
+
return InvalidInputException;
|
|
55
|
+
}(__BaseException));
|
|
56
|
+
export { InvalidInputException };
|
|
57
|
+
var InvalidOperationException = (function (_super) {
|
|
58
|
+
__extends(InvalidOperationException, _super);
|
|
59
|
+
function InvalidOperationException(opts) {
|
|
60
|
+
var _this = _super.call(this, __assign({ name: "InvalidOperationException", $fault: "client" }, opts)) || this;
|
|
61
|
+
_this.name = "InvalidOperationException";
|
|
62
|
+
_this.$fault = "client";
|
|
63
|
+
Object.setPrototypeOf(_this, InvalidOperationException.prototype);
|
|
64
|
+
_this.Message = opts.Message;
|
|
65
|
+
return _this;
|
|
66
|
+
}
|
|
67
|
+
return InvalidOperationException;
|
|
68
|
+
}(__BaseException));
|
|
69
|
+
export { InvalidOperationException };
|
|
70
|
+
var LimitExceededException = (function (_super) {
|
|
71
|
+
__extends(LimitExceededException, _super);
|
|
72
|
+
function LimitExceededException(opts) {
|
|
73
|
+
var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
|
|
74
|
+
_this.name = "LimitExceededException";
|
|
75
|
+
_this.$fault = "client";
|
|
76
|
+
Object.setPrototypeOf(_this, LimitExceededException.prototype);
|
|
77
|
+
_this.Message = opts.Message;
|
|
78
|
+
return _this;
|
|
79
|
+
}
|
|
80
|
+
return LimitExceededException;
|
|
81
|
+
}(__BaseException));
|
|
82
|
+
export { LimitExceededException };
|
|
83
|
+
var ResourceNotFoundException = (function (_super) {
|
|
84
|
+
__extends(ResourceNotFoundException, _super);
|
|
85
|
+
function ResourceNotFoundException(opts) {
|
|
86
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
87
|
+
_this.name = "ResourceNotFoundException";
|
|
88
|
+
_this.$fault = "client";
|
|
89
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
90
|
+
_this.Message = opts.Message;
|
|
91
|
+
return _this;
|
|
92
|
+
}
|
|
93
|
+
return ResourceNotFoundException;
|
|
94
|
+
}(__BaseException));
|
|
95
|
+
export { ResourceNotFoundException };
|
|
30
96
|
export var AwsEc2NetworkInterfaceViolation;
|
|
31
97
|
(function (AwsEc2NetworkInterfaceViolation) {
|
|
32
98
|
AwsEc2NetworkInterfaceViolation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -87,6 +153,7 @@ export var ViolationReason;
|
|
|
87
153
|
ViolationReason["BlackHoleRouteDetected"] = "BLACK_HOLE_ROUTE_DETECTED";
|
|
88
154
|
ViolationReason["BlackHoleRouteDetectedInFirewallSubnet"] = "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET";
|
|
89
155
|
ViolationReason["FMSCreatedSecurityGroupEdited"] = "FMS_CREATED_SECURITY_GROUP_EDITED";
|
|
156
|
+
ViolationReason["FirewallSubnetIsOutOfScope"] = "FIREWALL_SUBNET_IS_OUT_OF_SCOPE";
|
|
90
157
|
ViolationReason["FirewallSubnetMissingExpectedRoute"] = "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE";
|
|
91
158
|
ViolationReason["InternetGatewayMissingExpectedRoute"] = "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE";
|
|
92
159
|
ViolationReason["InternetTrafficNotInspected"] = "INTERNET_TRAFFIC_NOT_INSPECTED";
|
|
@@ -103,6 +170,7 @@ export var ViolationReason;
|
|
|
103
170
|
ViolationReason["ResourceMissingWebAcl"] = "RESOURCE_MISSING_WEB_ACL";
|
|
104
171
|
ViolationReason["ResourceMissingWebaclOrShieldProtection"] = "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION";
|
|
105
172
|
ViolationReason["ResourceViolatesAuditSecurityGroup"] = "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP";
|
|
173
|
+
ViolationReason["RouteHasOutOfScopeEndpoint"] = "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT";
|
|
106
174
|
ViolationReason["SecurityGroupRedundant"] = "SECURITY_GROUP_REDUNDANT";
|
|
107
175
|
ViolationReason["SecurityGroupUnused"] = "SECURITY_GROUP_UNUSED";
|
|
108
176
|
ViolationReason["TrafficInspectionCrossesAZBoundary"] = "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY";
|
|
@@ -143,6 +211,18 @@ export var ResourceTag;
|
|
|
143
211
|
(function (ResourceTag) {
|
|
144
212
|
ResourceTag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
213
|
})(ResourceTag || (ResourceTag = {}));
|
|
214
|
+
export var FirewallDeploymentModel;
|
|
215
|
+
(function (FirewallDeploymentModel) {
|
|
216
|
+
FirewallDeploymentModel["CENTRALIZED"] = "CENTRALIZED";
|
|
217
|
+
})(FirewallDeploymentModel || (FirewallDeploymentModel = {}));
|
|
218
|
+
export var NetworkFirewallPolicy;
|
|
219
|
+
(function (NetworkFirewallPolicy) {
|
|
220
|
+
NetworkFirewallPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
})(NetworkFirewallPolicy || (NetworkFirewallPolicy = {}));
|
|
222
|
+
export var PolicyOption;
|
|
223
|
+
(function (PolicyOption) {
|
|
224
|
+
PolicyOption.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
+
})(PolicyOption || (PolicyOption = {}));
|
|
146
226
|
export var SecurityServiceType;
|
|
147
227
|
(function (SecurityServiceType) {
|
|
148
228
|
SecurityServiceType["DNS_FIREWALL"] = "DNS_FIREWALL";
|
|
@@ -166,6 +246,19 @@ export var GetPolicyResponse;
|
|
|
166
246
|
(function (GetPolicyResponse) {
|
|
167
247
|
GetPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
248
|
})(GetPolicyResponse || (GetPolicyResponse = {}));
|
|
249
|
+
var InvalidTypeException = (function (_super) {
|
|
250
|
+
__extends(InvalidTypeException, _super);
|
|
251
|
+
function InvalidTypeException(opts) {
|
|
252
|
+
var _this = _super.call(this, __assign({ name: "InvalidTypeException", $fault: "client" }, opts)) || this;
|
|
253
|
+
_this.name = "InvalidTypeException";
|
|
254
|
+
_this.$fault = "client";
|
|
255
|
+
Object.setPrototypeOf(_this, InvalidTypeException.prototype);
|
|
256
|
+
_this.Message = opts.Message;
|
|
257
|
+
return _this;
|
|
258
|
+
}
|
|
259
|
+
return InvalidTypeException;
|
|
260
|
+
}(__BaseException));
|
|
261
|
+
export { InvalidTypeException };
|
|
169
262
|
export var GetProtectionStatusRequest;
|
|
170
263
|
(function (GetProtectionStatusRequest) {
|
|
171
264
|
GetProtectionStatusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -227,6 +320,10 @@ export var DnsRuleGroupPriorityConflictViolation;
|
|
|
227
320
|
(function (DnsRuleGroupPriorityConflictViolation) {
|
|
228
321
|
DnsRuleGroupPriorityConflictViolation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
322
|
})(DnsRuleGroupPriorityConflictViolation || (DnsRuleGroupPriorityConflictViolation = {}));
|
|
323
|
+
export var FirewallSubnetIsOutOfScopeViolation;
|
|
324
|
+
(function (FirewallSubnetIsOutOfScopeViolation) {
|
|
325
|
+
FirewallSubnetIsOutOfScopeViolation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
326
|
+
})(FirewallSubnetIsOutOfScopeViolation || (FirewallSubnetIsOutOfScopeViolation = {}));
|
|
230
327
|
export var DestinationType;
|
|
231
328
|
(function (DestinationType) {
|
|
232
329
|
DestinationType["IPV4"] = "IPV4";
|
|
@@ -334,6 +431,10 @@ export var EC2ReplaceRouteTableAssociationAction;
|
|
|
334
431
|
(function (EC2ReplaceRouteTableAssociationAction) {
|
|
335
432
|
EC2ReplaceRouteTableAssociationAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
336
433
|
})(EC2ReplaceRouteTableAssociationAction || (EC2ReplaceRouteTableAssociationAction = {}));
|
|
434
|
+
export var FMSPolicyUpdateFirewallCreationConfigAction;
|
|
435
|
+
(function (FMSPolicyUpdateFirewallCreationConfigAction) {
|
|
436
|
+
FMSPolicyUpdateFirewallCreationConfigAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
437
|
+
})(FMSPolicyUpdateFirewallCreationConfigAction || (FMSPolicyUpdateFirewallCreationConfigAction = {}));
|
|
337
438
|
export var RemediationAction;
|
|
338
439
|
(function (RemediationAction) {
|
|
339
440
|
RemediationAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -350,6 +451,10 @@ export var PossibleRemediationActions;
|
|
|
350
451
|
(function (PossibleRemediationActions) {
|
|
351
452
|
PossibleRemediationActions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
352
453
|
})(PossibleRemediationActions || (PossibleRemediationActions = {}));
|
|
454
|
+
export var RouteHasOutOfScopeEndpointViolation;
|
|
455
|
+
(function (RouteHasOutOfScopeEndpointViolation) {
|
|
456
|
+
RouteHasOutOfScopeEndpointViolation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
457
|
+
})(RouteHasOutOfScopeEndpointViolation || (RouteHasOutOfScopeEndpointViolation = {}));
|
|
353
458
|
export var ResourceViolation;
|
|
354
459
|
(function (ResourceViolation) {
|
|
355
460
|
ResourceViolation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|