@aws-sdk/client-networkmanager 3.51.0 → 3.54.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-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./NetworkManagerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { NetworkManagerServiceException } from "./models/NetworkManagerServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var NetworkManagerServiceException = (function (_super) {
4
+ __extends(NetworkManagerServiceException, _super);
5
+ function NetworkManagerServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, NetworkManagerServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return NetworkManagerServiceException;
11
+ }(__ServiceException));
12
+ export { NetworkManagerServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
2
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
1
+ import { __assign, __extends } from "tslib";
2
+ import { SENSITIVE_STRING, } from "@aws-sdk/smithy-client";
3
+ import { NetworkManagerServiceException as __BaseException } from "./NetworkManagerServiceException";
3
4
  export var AcceptAttachmentRequest;
4
5
  (function (AcceptAttachmentRequest) {
5
6
  AcceptAttachmentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -38,6 +39,78 @@ export var AcceptAttachmentResponse;
38
39
  (function (AcceptAttachmentResponse) {
39
40
  AcceptAttachmentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
40
41
  })(AcceptAttachmentResponse || (AcceptAttachmentResponse = {}));
42
+ var AccessDeniedException = (function (_super) {
43
+ __extends(AccessDeniedException, _super);
44
+ function AccessDeniedException(opts) {
45
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
46
+ _this.name = "AccessDeniedException";
47
+ _this.$fault = "client";
48
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
49
+ _this.Message = opts.Message;
50
+ return _this;
51
+ }
52
+ return AccessDeniedException;
53
+ }(__BaseException));
54
+ export { AccessDeniedException };
55
+ var ConflictException = (function (_super) {
56
+ __extends(ConflictException, _super);
57
+ function ConflictException(opts) {
58
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
59
+ _this.name = "ConflictException";
60
+ _this.$fault = "client";
61
+ Object.setPrototypeOf(_this, ConflictException.prototype);
62
+ _this.Message = opts.Message;
63
+ _this.ResourceId = opts.ResourceId;
64
+ _this.ResourceType = opts.ResourceType;
65
+ return _this;
66
+ }
67
+ return ConflictException;
68
+ }(__BaseException));
69
+ export { ConflictException };
70
+ var InternalServerException = (function (_super) {
71
+ __extends(InternalServerException, _super);
72
+ function InternalServerException(opts) {
73
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
74
+ _this.name = "InternalServerException";
75
+ _this.$fault = "server";
76
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
77
+ _this.Message = opts.Message;
78
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
79
+ return _this;
80
+ }
81
+ return InternalServerException;
82
+ }(__BaseException));
83
+ export { InternalServerException };
84
+ var ResourceNotFoundException = (function (_super) {
85
+ __extends(ResourceNotFoundException, _super);
86
+ function ResourceNotFoundException(opts) {
87
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
88
+ _this.name = "ResourceNotFoundException";
89
+ _this.$fault = "client";
90
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
91
+ _this.Message = opts.Message;
92
+ _this.ResourceId = opts.ResourceId;
93
+ _this.ResourceType = opts.ResourceType;
94
+ _this.Context = opts.Context;
95
+ return _this;
96
+ }
97
+ return ResourceNotFoundException;
98
+ }(__BaseException));
99
+ export { ResourceNotFoundException };
100
+ var ThrottlingException = (function (_super) {
101
+ __extends(ThrottlingException, _super);
102
+ function ThrottlingException(opts) {
103
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
104
+ _this.name = "ThrottlingException";
105
+ _this.$fault = "client";
106
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
107
+ _this.Message = opts.Message;
108
+ _this.RetryAfterSeconds = opts.RetryAfterSeconds;
109
+ return _this;
110
+ }
111
+ return ThrottlingException;
112
+ }(__BaseException));
113
+ export { ThrottlingException };
41
114
  export var ValidationExceptionField;
42
115
  (function (ValidationExceptionField) {
43
116
  ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -49,6 +122,21 @@ export var ValidationExceptionReason;
49
122
  ValidationExceptionReason["OTHER"] = "Other";
50
123
  ValidationExceptionReason["UNKNOWN_OPERATION"] = "UnknownOperation";
51
124
  })(ValidationExceptionReason || (ValidationExceptionReason = {}));
125
+ var ValidationException = (function (_super) {
126
+ __extends(ValidationException, _super);
127
+ function ValidationException(opts) {
128
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
129
+ _this.name = "ValidationException";
130
+ _this.$fault = "client";
131
+ Object.setPrototypeOf(_this, ValidationException.prototype);
132
+ _this.Message = opts.Message;
133
+ _this.Reason = opts.Reason;
134
+ _this.Fields = opts.Fields;
135
+ return _this;
136
+ }
137
+ return ValidationException;
138
+ }(__BaseException));
139
+ export { ValidationException };
52
140
  export var AssociateConnectPeerRequest;
53
141
  (function (AssociateConnectPeerRequest) {
54
142
  AssociateConnectPeerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -68,6 +156,23 @@ export var AssociateConnectPeerResponse;
68
156
  (function (AssociateConnectPeerResponse) {
69
157
  AssociateConnectPeerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
70
158
  })(AssociateConnectPeerResponse || (AssociateConnectPeerResponse = {}));
159
+ var ServiceQuotaExceededException = (function (_super) {
160
+ __extends(ServiceQuotaExceededException, _super);
161
+ function ServiceQuotaExceededException(opts) {
162
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
163
+ _this.name = "ServiceQuotaExceededException";
164
+ _this.$fault = "client";
165
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
166
+ _this.Message = opts.Message;
167
+ _this.ResourceId = opts.ResourceId;
168
+ _this.ResourceType = opts.ResourceType;
169
+ _this.LimitCode = opts.LimitCode;
170
+ _this.ServiceCode = opts.ServiceCode;
171
+ return _this;
172
+ }
173
+ return ServiceQuotaExceededException;
174
+ }(__BaseException));
175
+ export { ServiceQuotaExceededException };
71
176
  export var AssociateCustomerGatewayRequest;
72
177
  (function (AssociateCustomerGatewayRequest) {
73
178
  AssociateCustomerGatewayRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -260,6 +365,20 @@ export var CoreNetworkPolicy;
260
365
  (function (CoreNetworkPolicy) {
261
366
  CoreNetworkPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
262
367
  })(CoreNetworkPolicy || (CoreNetworkPolicy = {}));
368
+ var CoreNetworkPolicyException = (function (_super) {
369
+ __extends(CoreNetworkPolicyException, _super);
370
+ function CoreNetworkPolicyException(opts) {
371
+ var _this = _super.call(this, __assign({ name: "CoreNetworkPolicyException", $fault: "client" }, opts)) || this;
372
+ _this.name = "CoreNetworkPolicyException";
373
+ _this.$fault = "client";
374
+ Object.setPrototypeOf(_this, CoreNetworkPolicyException.prototype);
375
+ _this.Message = opts.Message;
376
+ _this.Errors = opts.Errors;
377
+ return _this;
378
+ }
379
+ return CoreNetworkPolicyException;
380
+ }(__BaseException));
381
+ export { CoreNetworkPolicyException };
263
382
  export var CoreNetworkPolicyVersion;
264
383
  (function (CoreNetworkPolicyVersion) {
265
384
  CoreNetworkPolicyVersion.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };