@aws-sdk/client-amp 3.50.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/AmpServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +109 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +216 -826
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/AmpServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +102 -1
  9. package/dist-es/protocols/Aws_restJson1.js +437 -902
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/AmpServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +49 -48
  13. package/dist-types/ts3.4/Amp.d.ts +90 -0
  14. package/dist-types/ts3.4/AmpClient.d.ts +90 -0
  15. package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  33. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  34. package/dist-types/ts3.4/index.d.ts +7 -0
  35. package/dist-types/ts3.4/models/AmpServiceException.d.ts +6 -0
  36. package/dist-types/ts3.4/models/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +622 -0
  38. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  39. package/dist-types/ts3.4/pagination/ListRuleGroupsNamespacesPaginator.d.ts +4 -0
  40. package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +4 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  47. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  48. package/dist-types/ts3.4/waiters/waitForWorkspaceActive.d.ts +7 -0
  49. package/dist-types/ts3.4/waiters/waitForWorkspaceDeleted.d.ts +7 -0
  50. package/package.json +34 -34
package/dist-es/index.js CHANGED
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { AmpServiceException } from "./models/AmpServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var AmpServiceException = (function (_super) {
4
+ __extends(AmpServiceException, _super);
5
+ function AmpServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, AmpServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return AmpServiceException;
11
+ }(__ServiceException));
12
+ export { AmpServiceException };
@@ -1,4 +1,31 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { AmpServiceException as __BaseException } from "./AmpServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ return _this;
11
+ }
12
+ return AccessDeniedException;
13
+ }(__BaseException));
14
+ export { AccessDeniedException };
15
+ var ConflictException = (function (_super) {
16
+ __extends(ConflictException, _super);
17
+ function ConflictException(opts) {
18
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
19
+ _this.name = "ConflictException";
20
+ _this.$fault = "client";
21
+ Object.setPrototypeOf(_this, ConflictException.prototype);
22
+ _this.resourceId = opts.resourceId;
23
+ _this.resourceType = opts.resourceType;
24
+ return _this;
25
+ }
26
+ return ConflictException;
27
+ }(__BaseException));
28
+ export { ConflictException };
2
29
  export var CreateAlertManagerDefinitionRequest;
3
30
  (function (CreateAlertManagerDefinitionRequest) {
4
31
  CreateAlertManagerDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -20,6 +47,66 @@ export var CreateAlertManagerDefinitionResponse;
20
47
  (function (CreateAlertManagerDefinitionResponse) {
21
48
  CreateAlertManagerDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
22
49
  })(CreateAlertManagerDefinitionResponse || (CreateAlertManagerDefinitionResponse = {}));
50
+ var InternalServerException = (function (_super) {
51
+ __extends(InternalServerException, _super);
52
+ function InternalServerException(opts) {
53
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
54
+ _this.name = "InternalServerException";
55
+ _this.$fault = "server";
56
+ _this.$retryable = {};
57
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
58
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
59
+ return _this;
60
+ }
61
+ return InternalServerException;
62
+ }(__BaseException));
63
+ export { InternalServerException };
64
+ var ResourceNotFoundException = (function (_super) {
65
+ __extends(ResourceNotFoundException, _super);
66
+ function ResourceNotFoundException(opts) {
67
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
68
+ _this.name = "ResourceNotFoundException";
69
+ _this.$fault = "client";
70
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
71
+ _this.resourceId = opts.resourceId;
72
+ _this.resourceType = opts.resourceType;
73
+ return _this;
74
+ }
75
+ return ResourceNotFoundException;
76
+ }(__BaseException));
77
+ export { ResourceNotFoundException };
78
+ var ServiceQuotaExceededException = (function (_super) {
79
+ __extends(ServiceQuotaExceededException, _super);
80
+ function ServiceQuotaExceededException(opts) {
81
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
82
+ _this.name = "ServiceQuotaExceededException";
83
+ _this.$fault = "client";
84
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
85
+ _this.resourceId = opts.resourceId;
86
+ _this.resourceType = opts.resourceType;
87
+ _this.serviceCode = opts.serviceCode;
88
+ _this.quotaCode = opts.quotaCode;
89
+ return _this;
90
+ }
91
+ return ServiceQuotaExceededException;
92
+ }(__BaseException));
93
+ export { ServiceQuotaExceededException };
94
+ var ThrottlingException = (function (_super) {
95
+ __extends(ThrottlingException, _super);
96
+ function ThrottlingException(opts) {
97
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
98
+ _this.name = "ThrottlingException";
99
+ _this.$fault = "client";
100
+ _this.$retryable = {};
101
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
102
+ _this.serviceCode = opts.serviceCode;
103
+ _this.quotaCode = opts.quotaCode;
104
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
105
+ return _this;
106
+ }
107
+ return ThrottlingException;
108
+ }(__BaseException));
109
+ export { ThrottlingException };
23
110
  export var ValidationExceptionField;
24
111
  (function (ValidationExceptionField) {
25
112
  ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -31,6 +118,20 @@ export var ValidationExceptionReason;
31
118
  ValidationExceptionReason["OTHER"] = "OTHER";
32
119
  ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
33
120
  })(ValidationExceptionReason || (ValidationExceptionReason = {}));
121
+ var ValidationException = (function (_super) {
122
+ __extends(ValidationException, _super);
123
+ function ValidationException(opts) {
124
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
125
+ _this.name = "ValidationException";
126
+ _this.$fault = "client";
127
+ Object.setPrototypeOf(_this, ValidationException.prototype);
128
+ _this.reason = opts.reason;
129
+ _this.fieldList = opts.fieldList;
130
+ return _this;
131
+ }
132
+ return ValidationException;
133
+ }(__BaseException));
134
+ export { ValidationException };
34
135
  export var DeleteAlertManagerDefinitionRequest;
35
136
  (function (DeleteAlertManagerDefinitionRequest) {
36
137
  DeleteAlertManagerDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };