@aws-sdk/client-amp 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.
Files changed (48) hide show
  1. package/dist-cjs/Amp.js +1 -63
  2. package/dist-cjs/AmpClient.js +1 -43
  3. package/dist-cjs/commands/CreateAlertManagerDefinitionCommand.js +1 -28
  4. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +1 -28
  5. package/dist-cjs/commands/CreateRuleGroupsNamespaceCommand.js +1 -28
  6. package/dist-cjs/commands/CreateScraperCommand.js +1 -28
  7. package/dist-cjs/commands/CreateWorkspaceCommand.js +1 -28
  8. package/dist-cjs/commands/DeleteAlertManagerDefinitionCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteRuleGroupsNamespaceCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteScraperCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteWorkspaceCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeAlertManagerDefinitionCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeRuleGroupsNamespaceCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeScraperCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeWorkspaceCommand.js +1 -28
  18. package/dist-cjs/commands/GetDefaultScraperConfigurationCommand.js +1 -28
  19. package/dist-cjs/commands/ListRuleGroupsNamespacesCommand.js +1 -28
  20. package/dist-cjs/commands/ListScrapersCommand.js +1 -28
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  22. package/dist-cjs/commands/ListWorkspacesCommand.js +1 -28
  23. package/dist-cjs/commands/PutAlertManagerDefinitionCommand.js +1 -28
  24. package/dist-cjs/commands/PutRuleGroupsNamespaceCommand.js +1 -28
  25. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  26. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  27. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +1 -28
  28. package/dist-cjs/commands/UpdateWorkspaceAliasCommand.js +1 -28
  29. package/dist-cjs/commands/index.js +1 -29
  30. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  31. package/dist-cjs/extensionConfiguration.js +1 -2
  32. package/dist-cjs/index.js +3028 -12
  33. package/dist-cjs/models/AmpServiceException.js +1 -12
  34. package/dist-cjs/models/index.js +1 -4
  35. package/dist-cjs/models/models_0.js +1 -179
  36. package/dist-cjs/pagination/Interfaces.js +1 -2
  37. package/dist-cjs/pagination/ListRuleGroupsNamespacesPaginator.js +1 -7
  38. package/dist-cjs/pagination/ListScrapersPaginator.js +1 -7
  39. package/dist-cjs/pagination/ListWorkspacesPaginator.js +1 -7
  40. package/dist-cjs/pagination/index.js +1 -7
  41. package/dist-cjs/protocols/Aws_restJson1.js +1 -1890
  42. package/dist-cjs/runtimeExtensions.js +1 -22
  43. package/dist-cjs/waiters/index.js +1 -7
  44. package/dist-cjs/waiters/waitForScraperActive.js +1 -45
  45. package/dist-cjs/waiters/waitForScraperDeleted.js +1 -39
  46. package/dist-cjs/waiters/waitForWorkspaceActive.js +1 -54
  47. package/dist-cjs/waiters/waitForWorkspaceDeleted.js +1 -39
  48. package/package.json +41 -41
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AmpServiceException = 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 AmpServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, AmpServiceException.prototype);
10
- }
11
- }
12
- exports.AmpServiceException = AmpServiceException;
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,179 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RuleGroupsNamespaceStatusCode = exports.LoggingConfigurationStatusCode = exports.WorkspaceStatusCode = exports.ScraperStatusCode = exports.Source = exports.ScrapeConfiguration = exports.Destination = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AlertManagerDefinitionStatusCode = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- const AmpServiceException_1 = require("./AmpServiceException");
5
- class AccessDeniedException extends AmpServiceException_1.AmpServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- class ConflictException extends AmpServiceException_1.AmpServiceException {
19
- constructor(opts) {
20
- super({
21
- name: "ConflictException",
22
- $fault: "client",
23
- ...opts,
24
- });
25
- this.name = "ConflictException";
26
- this.$fault = "client";
27
- Object.setPrototypeOf(this, ConflictException.prototype);
28
- this.resourceId = opts.resourceId;
29
- this.resourceType = opts.resourceType;
30
- }
31
- }
32
- exports.ConflictException = ConflictException;
33
- exports.AlertManagerDefinitionStatusCode = {
34
- ACTIVE: "ACTIVE",
35
- CREATING: "CREATING",
36
- CREATION_FAILED: "CREATION_FAILED",
37
- DELETING: "DELETING",
38
- UPDATE_FAILED: "UPDATE_FAILED",
39
- UPDATING: "UPDATING",
40
- };
41
- class InternalServerException extends AmpServiceException_1.AmpServiceException {
42
- constructor(opts) {
43
- super({
44
- name: "InternalServerException",
45
- $fault: "server",
46
- ...opts,
47
- });
48
- this.name = "InternalServerException";
49
- this.$fault = "server";
50
- this.$retryable = {};
51
- Object.setPrototypeOf(this, InternalServerException.prototype);
52
- this.retryAfterSeconds = opts.retryAfterSeconds;
53
- }
54
- }
55
- exports.InternalServerException = InternalServerException;
56
- class ResourceNotFoundException extends AmpServiceException_1.AmpServiceException {
57
- constructor(opts) {
58
- super({
59
- name: "ResourceNotFoundException",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- this.name = "ResourceNotFoundException";
64
- this.$fault = "client";
65
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
66
- this.resourceId = opts.resourceId;
67
- this.resourceType = opts.resourceType;
68
- }
69
- }
70
- exports.ResourceNotFoundException = ResourceNotFoundException;
71
- class ServiceQuotaExceededException extends AmpServiceException_1.AmpServiceException {
72
- constructor(opts) {
73
- super({
74
- name: "ServiceQuotaExceededException",
75
- $fault: "client",
76
- ...opts,
77
- });
78
- this.name = "ServiceQuotaExceededException";
79
- this.$fault = "client";
80
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
81
- this.resourceId = opts.resourceId;
82
- this.resourceType = opts.resourceType;
83
- this.serviceCode = opts.serviceCode;
84
- this.quotaCode = opts.quotaCode;
85
- }
86
- }
87
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
88
- class ThrottlingException extends AmpServiceException_1.AmpServiceException {
89
- constructor(opts) {
90
- super({
91
- name: "ThrottlingException",
92
- $fault: "client",
93
- ...opts,
94
- });
95
- this.name = "ThrottlingException";
96
- this.$fault = "client";
97
- this.$retryable = {};
98
- Object.setPrototypeOf(this, ThrottlingException.prototype);
99
- this.serviceCode = opts.serviceCode;
100
- this.quotaCode = opts.quotaCode;
101
- this.retryAfterSeconds = opts.retryAfterSeconds;
102
- }
103
- }
104
- exports.ThrottlingException = ThrottlingException;
105
- exports.ValidationExceptionReason = {
106
- CANNOT_PARSE: "CANNOT_PARSE",
107
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
108
- OTHER: "OTHER",
109
- UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
110
- };
111
- class ValidationException extends AmpServiceException_1.AmpServiceException {
112
- constructor(opts) {
113
- super({
114
- name: "ValidationException",
115
- $fault: "client",
116
- ...opts,
117
- });
118
- this.name = "ValidationException";
119
- this.$fault = "client";
120
- Object.setPrototypeOf(this, ValidationException.prototype);
121
- this.reason = opts.reason;
122
- this.fieldList = opts.fieldList;
123
- }
124
- }
125
- exports.ValidationException = ValidationException;
126
- var Destination;
127
- (function (Destination) {
128
- Destination.visit = (value, visitor) => {
129
- if (value.ampConfiguration !== undefined)
130
- return visitor.ampConfiguration(value.ampConfiguration);
131
- return visitor._(value.$unknown[0], value.$unknown[1]);
132
- };
133
- })(Destination = exports.Destination || (exports.Destination = {}));
134
- var ScrapeConfiguration;
135
- (function (ScrapeConfiguration) {
136
- ScrapeConfiguration.visit = (value, visitor) => {
137
- if (value.configurationBlob !== undefined)
138
- return visitor.configurationBlob(value.configurationBlob);
139
- return visitor._(value.$unknown[0], value.$unknown[1]);
140
- };
141
- })(ScrapeConfiguration = exports.ScrapeConfiguration || (exports.ScrapeConfiguration = {}));
142
- var Source;
143
- (function (Source) {
144
- Source.visit = (value, visitor) => {
145
- if (value.eksConfiguration !== undefined)
146
- return visitor.eksConfiguration(value.eksConfiguration);
147
- return visitor._(value.$unknown[0], value.$unknown[1]);
148
- };
149
- })(Source = exports.Source || (exports.Source = {}));
150
- exports.ScraperStatusCode = {
151
- ACTIVE: "ACTIVE",
152
- CREATING: "CREATING",
153
- CREATION_FAILED: "CREATION_FAILED",
154
- DELETING: "DELETING",
155
- DELETION_FAILED: "DELETION_FAILED",
156
- };
157
- exports.WorkspaceStatusCode = {
158
- ACTIVE: "ACTIVE",
159
- CREATING: "CREATING",
160
- CREATION_FAILED: "CREATION_FAILED",
161
- DELETING: "DELETING",
162
- UPDATING: "UPDATING",
163
- };
164
- exports.LoggingConfigurationStatusCode = {
165
- ACTIVE: "ACTIVE",
166
- CREATING: "CREATING",
167
- CREATION_FAILED: "CREATION_FAILED",
168
- DELETING: "DELETING",
169
- UPDATE_FAILED: "UPDATE_FAILED",
170
- UPDATING: "UPDATING",
171
- };
172
- exports.RuleGroupsNamespaceStatusCode = {
173
- ACTIVE: "ACTIVE",
174
- CREATING: "CREATING",
175
- CREATION_FAILED: "CREATION_FAILED",
176
- DELETING: "DELETING",
177
- UPDATE_FAILED: "UPDATE_FAILED",
178
- UPDATING: "UPDATING",
179
- };
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListRuleGroupsNamespaces = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AmpClient_1 = require("../AmpClient");
6
- const ListRuleGroupsNamespacesCommand_1 = require("../commands/ListRuleGroupsNamespacesCommand");
7
- exports.paginateListRuleGroupsNamespaces = (0, core_1.createPaginator)(AmpClient_1.AmpClient, ListRuleGroupsNamespacesCommand_1.ListRuleGroupsNamespacesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListScrapers = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AmpClient_1 = require("../AmpClient");
6
- const ListScrapersCommand_1 = require("../commands/ListScrapersCommand");
7
- exports.paginateListScrapers = (0, core_1.createPaginator)(AmpClient_1.AmpClient, ListScrapersCommand_1.ListScrapersCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListWorkspaces = void 0;
4
- const core_1 = require("@smithy/core");
5
- const AmpClient_1 = require("../AmpClient");
6
- const ListWorkspacesCommand_1 = require("../commands/ListWorkspacesCommand");
7
- exports.paginateListWorkspaces = (0, core_1.createPaginator)(AmpClient_1.AmpClient, ListWorkspacesCommand_1.ListWorkspacesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListRuleGroupsNamespacesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListScrapersPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListWorkspacesPaginator"), exports);
1
+ module.exports = require("../index.js");