@aws-sdk/client-amp 3.936.0 → 3.939.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/index.js CHANGED
@@ -2726,6 +2726,42 @@ const waitUntilWorkspaceDeleted = async (params, input) => {
2726
2726
  return utilWaiter.checkExceptions(result);
2727
2727
  };
2728
2728
 
2729
+ const AlertManagerDefinitionStatusCode = {
2730
+ ACTIVE: "ACTIVE",
2731
+ CREATING: "CREATING",
2732
+ CREATION_FAILED: "CREATION_FAILED",
2733
+ DELETING: "DELETING",
2734
+ UPDATE_FAILED: "UPDATE_FAILED",
2735
+ UPDATING: "UPDATING",
2736
+ };
2737
+ const ValidationExceptionReason = {
2738
+ CANNOT_PARSE: "CANNOT_PARSE",
2739
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
2740
+ OTHER: "OTHER",
2741
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
2742
+ };
2743
+ const ScraperStatusCode = {
2744
+ ACTIVE: "ACTIVE",
2745
+ CREATING: "CREATING",
2746
+ CREATION_FAILED: "CREATION_FAILED",
2747
+ DELETING: "DELETING",
2748
+ DELETION_FAILED: "DELETION_FAILED",
2749
+ UPDATE_FAILED: "UPDATE_FAILED",
2750
+ UPDATING: "UPDATING",
2751
+ };
2752
+ const ScraperComponentType = {
2753
+ COLLECTOR: "COLLECTOR",
2754
+ EXPORTER: "EXPORTER",
2755
+ SERVICE_DISCOVERY: "SERVICE_DISCOVERY",
2756
+ };
2757
+ const ScraperLoggingConfigurationStatusCode = {
2758
+ ACTIVE: "ACTIVE",
2759
+ CREATING: "CREATING",
2760
+ CREATION_FAILED: "CREATION_FAILED",
2761
+ DELETING: "DELETING",
2762
+ UPDATE_FAILED: "UPDATE_FAILED",
2763
+ UPDATING: "UPDATING",
2764
+ };
2729
2765
  const AnomalyDetectorStatusCode = {
2730
2766
  ACTIVE: "ACTIVE",
2731
2767
  CREATING: "CREATING",
@@ -2735,6 +2771,48 @@ const AnomalyDetectorStatusCode = {
2735
2771
  UPDATE_FAILED: "UPDATE_FAILED",
2736
2772
  UPDATING: "UPDATING",
2737
2773
  };
2774
+ const WorkspaceStatusCode = {
2775
+ ACTIVE: "ACTIVE",
2776
+ CREATING: "CREATING",
2777
+ CREATION_FAILED: "CREATION_FAILED",
2778
+ DELETING: "DELETING",
2779
+ UPDATING: "UPDATING",
2780
+ };
2781
+ const LoggingConfigurationStatusCode = {
2782
+ ACTIVE: "ACTIVE",
2783
+ CREATING: "CREATING",
2784
+ CREATION_FAILED: "CREATION_FAILED",
2785
+ DELETING: "DELETING",
2786
+ UPDATE_FAILED: "UPDATE_FAILED",
2787
+ UPDATING: "UPDATING",
2788
+ };
2789
+ const QueryLoggingConfigurationStatusCode = {
2790
+ ACTIVE: "ACTIVE",
2791
+ CREATING: "CREATING",
2792
+ CREATION_FAILED: "CREATION_FAILED",
2793
+ DELETING: "DELETING",
2794
+ UPDATE_FAILED: "UPDATE_FAILED",
2795
+ UPDATING: "UPDATING",
2796
+ };
2797
+ const RuleGroupsNamespaceStatusCode = {
2798
+ ACTIVE: "ACTIVE",
2799
+ CREATING: "CREATING",
2800
+ CREATION_FAILED: "CREATION_FAILED",
2801
+ DELETING: "DELETING",
2802
+ UPDATE_FAILED: "UPDATE_FAILED",
2803
+ UPDATING: "UPDATING",
2804
+ };
2805
+ const WorkspaceConfigurationStatusCode = {
2806
+ ACTIVE: "ACTIVE",
2807
+ UPDATE_FAILED: "UPDATE_FAILED",
2808
+ UPDATING: "UPDATING",
2809
+ };
2810
+ const WorkspacePolicyStatusCode = {
2811
+ ACTIVE: "ACTIVE",
2812
+ CREATING: "CREATING",
2813
+ DELETING: "DELETING",
2814
+ UPDATING: "UPDATING",
2815
+ };
2738
2816
 
2739
2817
  Object.defineProperty(exports, "$Command", {
2740
2818
  enumerable: true,
@@ -2745,6 +2823,7 @@ Object.defineProperty(exports, "__Client", {
2745
2823
  get: function () { return smithyClient.Client; }
2746
2824
  });
2747
2825
  exports.AccessDeniedException = AccessDeniedException$1;
2826
+ exports.AlertManagerDefinitionStatusCode = AlertManagerDefinitionStatusCode;
2748
2827
  exports.Amp = Amp;
2749
2828
  exports.AmpClient = AmpClient;
2750
2829
  exports.AmpServiceException = AmpServiceException$1;
@@ -2783,11 +2862,17 @@ exports.ListRuleGroupsNamespacesCommand = ListRuleGroupsNamespacesCommand;
2783
2862
  exports.ListScrapersCommand = ListScrapersCommand;
2784
2863
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2785
2864
  exports.ListWorkspacesCommand = ListWorkspacesCommand;
2865
+ exports.LoggingConfigurationStatusCode = LoggingConfigurationStatusCode;
2786
2866
  exports.PutAlertManagerDefinitionCommand = PutAlertManagerDefinitionCommand;
2787
2867
  exports.PutAnomalyDetectorCommand = PutAnomalyDetectorCommand;
2788
2868
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
2789
2869
  exports.PutRuleGroupsNamespaceCommand = PutRuleGroupsNamespaceCommand;
2870
+ exports.QueryLoggingConfigurationStatusCode = QueryLoggingConfigurationStatusCode;
2790
2871
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2872
+ exports.RuleGroupsNamespaceStatusCode = RuleGroupsNamespaceStatusCode;
2873
+ exports.ScraperComponentType = ScraperComponentType;
2874
+ exports.ScraperLoggingConfigurationStatusCode = ScraperLoggingConfigurationStatusCode;
2875
+ exports.ScraperStatusCode = ScraperStatusCode;
2791
2876
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2792
2877
  exports.TagResourceCommand = TagResourceCommand;
2793
2878
  exports.ThrottlingException = ThrottlingException$1;
@@ -2799,6 +2884,10 @@ exports.UpdateScraperLoggingConfigurationCommand = UpdateScraperLoggingConfigura
2799
2884
  exports.UpdateWorkspaceAliasCommand = UpdateWorkspaceAliasCommand;
2800
2885
  exports.UpdateWorkspaceConfigurationCommand = UpdateWorkspaceConfigurationCommand;
2801
2886
  exports.ValidationException = ValidationException$1;
2887
+ exports.ValidationExceptionReason = ValidationExceptionReason;
2888
+ exports.WorkspaceConfigurationStatusCode = WorkspaceConfigurationStatusCode;
2889
+ exports.WorkspacePolicyStatusCode = WorkspacePolicyStatusCode;
2890
+ exports.WorkspaceStatusCode = WorkspaceStatusCode;
2802
2891
  exports.paginateListAnomalyDetectors = paginateListAnomalyDetectors;
2803
2892
  exports.paginateListRuleGroupsNamespaces = paginateListRuleGroupsNamespaces;
2804
2893
  exports.paginateListScrapers = paginateListScrapers;
@@ -1,3 +1,39 @@
1
+ export const AlertManagerDefinitionStatusCode = {
2
+ ACTIVE: "ACTIVE",
3
+ CREATING: "CREATING",
4
+ CREATION_FAILED: "CREATION_FAILED",
5
+ DELETING: "DELETING",
6
+ UPDATE_FAILED: "UPDATE_FAILED",
7
+ UPDATING: "UPDATING",
8
+ };
9
+ export const ValidationExceptionReason = {
10
+ CANNOT_PARSE: "CANNOT_PARSE",
11
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
12
+ OTHER: "OTHER",
13
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
14
+ };
15
+ export const ScraperStatusCode = {
16
+ ACTIVE: "ACTIVE",
17
+ CREATING: "CREATING",
18
+ CREATION_FAILED: "CREATION_FAILED",
19
+ DELETING: "DELETING",
20
+ DELETION_FAILED: "DELETION_FAILED",
21
+ UPDATE_FAILED: "UPDATE_FAILED",
22
+ UPDATING: "UPDATING",
23
+ };
24
+ export const ScraperComponentType = {
25
+ COLLECTOR: "COLLECTOR",
26
+ EXPORTER: "EXPORTER",
27
+ SERVICE_DISCOVERY: "SERVICE_DISCOVERY",
28
+ };
29
+ export const ScraperLoggingConfigurationStatusCode = {
30
+ ACTIVE: "ACTIVE",
31
+ CREATING: "CREATING",
32
+ CREATION_FAILED: "CREATION_FAILED",
33
+ DELETING: "DELETING",
34
+ UPDATE_FAILED: "UPDATE_FAILED",
35
+ UPDATING: "UPDATING",
36
+ };
1
37
  export const AnomalyDetectorStatusCode = {
2
38
  ACTIVE: "ACTIVE",
3
39
  CREATING: "CREATING",
@@ -7,3 +43,45 @@ export const AnomalyDetectorStatusCode = {
7
43
  UPDATE_FAILED: "UPDATE_FAILED",
8
44
  UPDATING: "UPDATING",
9
45
  };
46
+ export const WorkspaceStatusCode = {
47
+ ACTIVE: "ACTIVE",
48
+ CREATING: "CREATING",
49
+ CREATION_FAILED: "CREATION_FAILED",
50
+ DELETING: "DELETING",
51
+ UPDATING: "UPDATING",
52
+ };
53
+ export const LoggingConfigurationStatusCode = {
54
+ ACTIVE: "ACTIVE",
55
+ CREATING: "CREATING",
56
+ CREATION_FAILED: "CREATION_FAILED",
57
+ DELETING: "DELETING",
58
+ UPDATE_FAILED: "UPDATE_FAILED",
59
+ UPDATING: "UPDATING",
60
+ };
61
+ export const QueryLoggingConfigurationStatusCode = {
62
+ ACTIVE: "ACTIVE",
63
+ CREATING: "CREATING",
64
+ CREATION_FAILED: "CREATION_FAILED",
65
+ DELETING: "DELETING",
66
+ UPDATE_FAILED: "UPDATE_FAILED",
67
+ UPDATING: "UPDATING",
68
+ };
69
+ export const RuleGroupsNamespaceStatusCode = {
70
+ ACTIVE: "ACTIVE",
71
+ CREATING: "CREATING",
72
+ CREATION_FAILED: "CREATION_FAILED",
73
+ DELETING: "DELETING",
74
+ UPDATE_FAILED: "UPDATE_FAILED",
75
+ UPDATING: "UPDATING",
76
+ };
77
+ export const WorkspaceConfigurationStatusCode = {
78
+ ACTIVE: "ACTIVE",
79
+ UPDATE_FAILED: "UPDATE_FAILED",
80
+ UPDATING: "UPDATING",
81
+ };
82
+ export const WorkspacePolicyStatusCode = {
83
+ ACTIVE: "ACTIVE",
84
+ CREATING: "CREATING",
85
+ DELETING: "DELETING",
86
+ UPDATING: "UPDATING",
87
+ };
@@ -1,78 +1 @@
1
- export const AlertManagerDefinitionStatusCode = {
2
- ACTIVE: "ACTIVE",
3
- CREATING: "CREATING",
4
- CREATION_FAILED: "CREATION_FAILED",
5
- DELETING: "DELETING",
6
- UPDATE_FAILED: "UPDATE_FAILED",
7
- UPDATING: "UPDATING",
8
- };
9
- export const ValidationExceptionReason = {
10
- CANNOT_PARSE: "CANNOT_PARSE",
11
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
12
- OTHER: "OTHER",
13
- UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
14
- };
15
- export const ScraperStatusCode = {
16
- ACTIVE: "ACTIVE",
17
- CREATING: "CREATING",
18
- CREATION_FAILED: "CREATION_FAILED",
19
- DELETING: "DELETING",
20
- DELETION_FAILED: "DELETION_FAILED",
21
- UPDATE_FAILED: "UPDATE_FAILED",
22
- UPDATING: "UPDATING",
23
- };
24
- export const ScraperComponentType = {
25
- COLLECTOR: "COLLECTOR",
26
- EXPORTER: "EXPORTER",
27
- SERVICE_DISCOVERY: "SERVICE_DISCOVERY",
28
- };
29
- export const ScraperLoggingConfigurationStatusCode = {
30
- ACTIVE: "ACTIVE",
31
- CREATING: "CREATING",
32
- CREATION_FAILED: "CREATION_FAILED",
33
- DELETING: "DELETING",
34
- UPDATE_FAILED: "UPDATE_FAILED",
35
- UPDATING: "UPDATING",
36
- };
37
- export const WorkspaceStatusCode = {
38
- ACTIVE: "ACTIVE",
39
- CREATING: "CREATING",
40
- CREATION_FAILED: "CREATION_FAILED",
41
- DELETING: "DELETING",
42
- UPDATING: "UPDATING",
43
- };
44
- export const LoggingConfigurationStatusCode = {
45
- ACTIVE: "ACTIVE",
46
- CREATING: "CREATING",
47
- CREATION_FAILED: "CREATION_FAILED",
48
- DELETING: "DELETING",
49
- UPDATE_FAILED: "UPDATE_FAILED",
50
- UPDATING: "UPDATING",
51
- };
52
- export const QueryLoggingConfigurationStatusCode = {
53
- ACTIVE: "ACTIVE",
54
- CREATING: "CREATING",
55
- CREATION_FAILED: "CREATION_FAILED",
56
- DELETING: "DELETING",
57
- UPDATE_FAILED: "UPDATE_FAILED",
58
- UPDATING: "UPDATING",
59
- };
60
- export const RuleGroupsNamespaceStatusCode = {
61
- ACTIVE: "ACTIVE",
62
- CREATING: "CREATING",
63
- CREATION_FAILED: "CREATION_FAILED",
64
- DELETING: "DELETING",
65
- UPDATE_FAILED: "UPDATE_FAILED",
66
- UPDATING: "UPDATING",
67
- };
68
- export const WorkspaceConfigurationStatusCode = {
69
- ACTIVE: "ACTIVE",
70
- UPDATE_FAILED: "UPDATE_FAILED",
71
- UPDATING: "UPDATING",
72
- };
73
- export const WorkspacePolicyStatusCode = {
74
- ACTIVE: "ACTIVE",
75
- CREATING: "CREATING",
76
- DELETING: "DELETING",
77
- UPDATING: "UPDATING",
78
- };
1
+ export {};
@@ -1,3 +1,145 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AlertManagerDefinitionStatusCode: {
6
+ /**
7
+ * Definition has been created/updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
8
+ */
9
+ readonly ACTIVE: "ACTIVE";
10
+ /**
11
+ * Definition is being created. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
12
+ */
13
+ readonly CREATING: "CREATING";
14
+ /**
15
+ * Definition creation failed.
16
+ */
17
+ readonly CREATION_FAILED: "CREATION_FAILED";
18
+ /**
19
+ * Definition is being deleting. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
20
+ */
21
+ readonly DELETING: "DELETING";
22
+ /**
23
+ * Definition update failed.
24
+ */
25
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
26
+ /**
27
+ * Definition is being updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
28
+ */
29
+ readonly UPDATING: "UPDATING";
30
+ };
31
+ /**
32
+ * @public
33
+ */
34
+ export type AlertManagerDefinitionStatusCode = (typeof AlertManagerDefinitionStatusCode)[keyof typeof AlertManagerDefinitionStatusCode];
35
+ /**
36
+ * @public
37
+ * @enum
38
+ */
39
+ export declare const ValidationExceptionReason: {
40
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
41
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
42
+ readonly OTHER: "OTHER";
43
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
44
+ };
45
+ /**
46
+ * @public
47
+ */
48
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
49
+ /**
50
+ * @public
51
+ * @enum
52
+ */
53
+ export declare const ScraperStatusCode: {
54
+ /**
55
+ * Scraper has been created and is usable.
56
+ */
57
+ readonly ACTIVE: "ACTIVE";
58
+ /**
59
+ * Scraper is being created. Deletion is disallowed until status is ACTIVE.
60
+ */
61
+ readonly CREATING: "CREATING";
62
+ /**
63
+ * Scraper creation failed.
64
+ */
65
+ readonly CREATION_FAILED: "CREATION_FAILED";
66
+ /**
67
+ * Scraper is being deleted. Deletions are allowed only when status is ACTIVE.
68
+ */
69
+ readonly DELETING: "DELETING";
70
+ /**
71
+ * Scraper deletion failed.
72
+ */
73
+ readonly DELETION_FAILED: "DELETION_FAILED";
74
+ /**
75
+ * Scraper update failed.
76
+ */
77
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
78
+ /**
79
+ * Scraper is being updated. Deletion is disallowed until status is ACTIVE.
80
+ */
81
+ readonly UPDATING: "UPDATING";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type ScraperStatusCode = (typeof ScraperStatusCode)[keyof typeof ScraperStatusCode];
87
+ /**
88
+ * @public
89
+ * @enum
90
+ */
91
+ export declare const ScraperComponentType: {
92
+ /**
93
+ * Scraper collector component
94
+ */
95
+ readonly COLLECTOR: "COLLECTOR";
96
+ /**
97
+ * Scraper exporter component
98
+ */
99
+ readonly EXPORTER: "EXPORTER";
100
+ /**
101
+ * Scraper service discoverer component
102
+ */
103
+ readonly SERVICE_DISCOVERY: "SERVICE_DISCOVERY";
104
+ };
105
+ /**
106
+ * @public
107
+ */
108
+ export type ScraperComponentType = (typeof ScraperComponentType)[keyof typeof ScraperComponentType];
109
+ /**
110
+ * @public
111
+ * @enum
112
+ */
113
+ export declare const ScraperLoggingConfigurationStatusCode: {
114
+ /**
115
+ * Scraper logging configuration is active.
116
+ */
117
+ readonly ACTIVE: "ACTIVE";
118
+ /**
119
+ * Scraper logging configuration is being created.
120
+ */
121
+ readonly CREATING: "CREATING";
122
+ /**
123
+ * Scraper logging configuration creation failed.
124
+ */
125
+ readonly CREATION_FAILED: "CREATION_FAILED";
126
+ /**
127
+ * Scraper logging configuration is being deleted.
128
+ */
129
+ readonly DELETING: "DELETING";
130
+ /**
131
+ * Scraper logging configuration update failed.
132
+ */
133
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
134
+ /**
135
+ * Scraper logging configuration is being updated.
136
+ */
137
+ readonly UPDATING: "UPDATING";
138
+ };
139
+ /**
140
+ * @public
141
+ */
142
+ export type ScraperLoggingConfigurationStatusCode = (typeof ScraperLoggingConfigurationStatusCode)[keyof typeof ScraperLoggingConfigurationStatusCode];
1
143
  /**
2
144
  * @public
3
145
  * @enum
@@ -15,3 +157,183 @@ export declare const AnomalyDetectorStatusCode: {
15
157
  * @public
16
158
  */
17
159
  export type AnomalyDetectorStatusCode = (typeof AnomalyDetectorStatusCode)[keyof typeof AnomalyDetectorStatusCode];
160
+ /**
161
+ * @public
162
+ * @enum
163
+ */
164
+ export declare const WorkspaceStatusCode: {
165
+ /**
166
+ * Workspace has been created and is usable.
167
+ */
168
+ readonly ACTIVE: "ACTIVE";
169
+ /**
170
+ * Workspace is being created. Deletion is disallowed until status is ACTIVE.
171
+ */
172
+ readonly CREATING: "CREATING";
173
+ /**
174
+ * Workspace creation failed. Refer to WorkspaceStatus.failureReason for more details.
175
+ */
176
+ readonly CREATION_FAILED: "CREATION_FAILED";
177
+ /**
178
+ * Workspace is being deleted. Deletions are allowed only when status is ACTIVE.
179
+ */
180
+ readonly DELETING: "DELETING";
181
+ /**
182
+ * Workspace is being updated. Updates are allowed only when status is ACTIVE.
183
+ */
184
+ readonly UPDATING: "UPDATING";
185
+ };
186
+ /**
187
+ * @public
188
+ */
189
+ export type WorkspaceStatusCode = (typeof WorkspaceStatusCode)[keyof typeof WorkspaceStatusCode];
190
+ /**
191
+ * @public
192
+ * @enum
193
+ */
194
+ export declare const LoggingConfigurationStatusCode: {
195
+ /**
196
+ * Logging configuration has been created/updated. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
197
+ */
198
+ readonly ACTIVE: "ACTIVE";
199
+ /**
200
+ * Logging configuration is being created. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
201
+ */
202
+ readonly CREATING: "CREATING";
203
+ /**
204
+ * Logging configuration creation failed.
205
+ */
206
+ readonly CREATION_FAILED: "CREATION_FAILED";
207
+ /**
208
+ * Logging configuration is being deleting. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
209
+ */
210
+ readonly DELETING: "DELETING";
211
+ /**
212
+ * Logging configuration update failed.
213
+ */
214
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
215
+ /**
216
+ * Logging configuration is being updated. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
217
+ */
218
+ readonly UPDATING: "UPDATING";
219
+ };
220
+ /**
221
+ * @public
222
+ */
223
+ export type LoggingConfigurationStatusCode = (typeof LoggingConfigurationStatusCode)[keyof typeof LoggingConfigurationStatusCode];
224
+ /**
225
+ * @public
226
+ * @enum
227
+ */
228
+ export declare const QueryLoggingConfigurationStatusCode: {
229
+ /**
230
+ * Query logging configuration is active.
231
+ */
232
+ readonly ACTIVE: "ACTIVE";
233
+ /**
234
+ * Query logging configuration is being created.
235
+ */
236
+ readonly CREATING: "CREATING";
237
+ /**
238
+ * Query logging configuration creation failed.
239
+ */
240
+ readonly CREATION_FAILED: "CREATION_FAILED";
241
+ /**
242
+ * Query logging configuration is being deleted.
243
+ */
244
+ readonly DELETING: "DELETING";
245
+ /**
246
+ * Query logging configuration update failed.
247
+ */
248
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
249
+ /**
250
+ * Query logging configuration is being updated.
251
+ */
252
+ readonly UPDATING: "UPDATING";
253
+ };
254
+ /**
255
+ * @public
256
+ */
257
+ export type QueryLoggingConfigurationStatusCode = (typeof QueryLoggingConfigurationStatusCode)[keyof typeof QueryLoggingConfigurationStatusCode];
258
+ /**
259
+ * @public
260
+ * @enum
261
+ */
262
+ export declare const RuleGroupsNamespaceStatusCode: {
263
+ /**
264
+ * Namespace has been created/updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
265
+ */
266
+ readonly ACTIVE: "ACTIVE";
267
+ /**
268
+ * Namespace is being created. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
269
+ */
270
+ readonly CREATING: "CREATING";
271
+ /**
272
+ * Namespace creation failed.
273
+ */
274
+ readonly CREATION_FAILED: "CREATION_FAILED";
275
+ /**
276
+ * Namespace is being deleting. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
277
+ */
278
+ readonly DELETING: "DELETING";
279
+ /**
280
+ * Namespace update failed.
281
+ */
282
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
283
+ /**
284
+ * Namespace is being updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
285
+ */
286
+ readonly UPDATING: "UPDATING";
287
+ };
288
+ /**
289
+ * @public
290
+ */
291
+ export type RuleGroupsNamespaceStatusCode = (typeof RuleGroupsNamespaceStatusCode)[keyof typeof RuleGroupsNamespaceStatusCode];
292
+ /**
293
+ * @public
294
+ * @enum
295
+ */
296
+ export declare const WorkspaceConfigurationStatusCode: {
297
+ /**
298
+ * Workspace configuration has been updated. Update is disallowed until workspace configuration is ACTIVE and workspace status is ACTIVE.
299
+ */
300
+ readonly ACTIVE: "ACTIVE";
301
+ /**
302
+ * Workspace configuration update failed.
303
+ */
304
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
305
+ /**
306
+ * Workspace configuration is being updated. Update is disallowed until workspace configuration is ACTIVE and workspace status is ACTIVE.
307
+ */
308
+ readonly UPDATING: "UPDATING";
309
+ };
310
+ /**
311
+ * @public
312
+ */
313
+ export type WorkspaceConfigurationStatusCode = (typeof WorkspaceConfigurationStatusCode)[keyof typeof WorkspaceConfigurationStatusCode];
314
+ /**
315
+ * @public
316
+ * @enum
317
+ */
318
+ export declare const WorkspacePolicyStatusCode: {
319
+ /**
320
+ * Resource-based Policy has been created/updated. Update/Deletion is disallowed until Resource-based Policy is ACTIVE and Workspace is ACTIVE.
321
+ */
322
+ readonly ACTIVE: "ACTIVE";
323
+ /**
324
+ * Resource-based Policy is being created. Update/Deletion is disallowed until Resource-based Policy is ACTIVE and Workspace is ACTIVE.
325
+ */
326
+ readonly CREATING: "CREATING";
327
+ /**
328
+ * Resource-based Policy is being deleting. Update/Deletion is disallowed until Resource-based Policy is ACTIVE and Workspace is ACTIVE.
329
+ */
330
+ readonly DELETING: "DELETING";
331
+ /**
332
+ * Resource-based Policy is being updated. Update/Deletion is disallowed until Resource-based Policy is ACTIVE and Workspace is ACTIVE.
333
+ */
334
+ readonly UPDATING: "UPDATING";
335
+ };
336
+ /**
337
+ * @public
338
+ */
339
+ export type WorkspacePolicyStatusCode = (typeof WorkspacePolicyStatusCode)[keyof typeof WorkspacePolicyStatusCode];
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AmpServiceException as __BaseException } from "./AmpServiceException";
3
- import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
4
5
  /**
5
6
  * <p>You do not have sufficient access to perform this action.</p>
6
7
  * @public
@@ -1,4 +1,4 @@
1
- import { AnomalyDetectorStatusCode } from "./enums";
1
+ import { AlertManagerDefinitionStatusCode, AnomalyDetectorStatusCode, LoggingConfigurationStatusCode, QueryLoggingConfigurationStatusCode, RuleGroupsNamespaceStatusCode, ScraperComponentType, ScraperLoggingConfigurationStatusCode, ScraperStatusCode, WorkspaceConfigurationStatusCode, WorkspacePolicyStatusCode, WorkspaceStatusCode } from "./enums";
2
2
  /**
3
3
  * <p>Represents the input of a <code>CreateAlertManagerDefinition</code> operation.</p>
4
4
  * @public
@@ -20,40 +20,6 @@ export interface CreateAlertManagerDefinitionRequest {
20
20
  */
21
21
  clientToken?: string | undefined;
22
22
  }
23
- /**
24
- * @public
25
- * @enum
26
- */
27
- export declare const AlertManagerDefinitionStatusCode: {
28
- /**
29
- * Definition has been created/updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
30
- */
31
- readonly ACTIVE: "ACTIVE";
32
- /**
33
- * Definition is being created. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
34
- */
35
- readonly CREATING: "CREATING";
36
- /**
37
- * Definition creation failed.
38
- */
39
- readonly CREATION_FAILED: "CREATION_FAILED";
40
- /**
41
- * Definition is being deleting. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
42
- */
43
- readonly DELETING: "DELETING";
44
- /**
45
- * Definition update failed.
46
- */
47
- readonly UPDATE_FAILED: "UPDATE_FAILED";
48
- /**
49
- * Definition is being updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
50
- */
51
- readonly UPDATING: "UPDATING";
52
- };
53
- /**
54
- * @public
55
- */
56
- export type AlertManagerDefinitionStatusCode = (typeof AlertManagerDefinitionStatusCode)[keyof typeof AlertManagerDefinitionStatusCode];
57
23
  /**
58
24
  * <p>The status of the alert manager. </p>
59
25
  * @public
@@ -97,20 +63,6 @@ export interface ValidationExceptionField {
97
63
  */
98
64
  message: string | undefined;
99
65
  }
100
- /**
101
- * @public
102
- * @enum
103
- */
104
- export declare const ValidationExceptionReason: {
105
- readonly CANNOT_PARSE: "CANNOT_PARSE";
106
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
107
- readonly OTHER: "OTHER";
108
- readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
109
- };
110
- /**
111
- * @public
112
- */
113
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
114
66
  /**
115
67
  * <p>Represents the input of a <code>DeleteAlertManagerDefinition</code> operation.</p>
116
68
  * @public
@@ -460,44 +412,6 @@ export interface CreateScraperRequest {
460
412
  */
461
413
  tags?: Record<string, string> | undefined;
462
414
  }
463
- /**
464
- * @public
465
- * @enum
466
- */
467
- export declare const ScraperStatusCode: {
468
- /**
469
- * Scraper has been created and is usable.
470
- */
471
- readonly ACTIVE: "ACTIVE";
472
- /**
473
- * Scraper is being created. Deletion is disallowed until status is ACTIVE.
474
- */
475
- readonly CREATING: "CREATING";
476
- /**
477
- * Scraper creation failed.
478
- */
479
- readonly CREATION_FAILED: "CREATION_FAILED";
480
- /**
481
- * Scraper is being deleted. Deletions are allowed only when status is ACTIVE.
482
- */
483
- readonly DELETING: "DELETING";
484
- /**
485
- * Scraper deletion failed.
486
- */
487
- readonly DELETION_FAILED: "DELETION_FAILED";
488
- /**
489
- * Scraper update failed.
490
- */
491
- readonly UPDATE_FAILED: "UPDATE_FAILED";
492
- /**
493
- * Scraper is being updated. Deletion is disallowed until status is ACTIVE.
494
- */
495
- readonly UPDATING: "UPDATING";
496
- };
497
- /**
498
- * @public
499
- */
500
- export type ScraperStatusCode = (typeof ScraperStatusCode)[keyof typeof ScraperStatusCode];
501
415
  /**
502
416
  * <p>The <code>ScraperStatus</code> structure contains status information about the scraper.</p>
503
417
  * @public
@@ -843,28 +757,6 @@ export interface ComponentConfig {
843
757
  */
844
758
  options?: Record<string, string> | undefined;
845
759
  }
846
- /**
847
- * @public
848
- * @enum
849
- */
850
- export declare const ScraperComponentType: {
851
- /**
852
- * Scraper collector component
853
- */
854
- readonly COLLECTOR: "COLLECTOR";
855
- /**
856
- * Scraper exporter component
857
- */
858
- readonly EXPORTER: "EXPORTER";
859
- /**
860
- * Scraper service discoverer component
861
- */
862
- readonly SERVICE_DISCOVERY: "SERVICE_DISCOVERY";
863
- };
864
- /**
865
- * @public
866
- */
867
- export type ScraperComponentType = (typeof ScraperComponentType)[keyof typeof ScraperComponentType];
868
760
  /**
869
761
  * <p>A component of a Amazon Managed Service for Prometheus scraper that can be configured for logging.</p>
870
762
  * @public
@@ -881,40 +773,6 @@ export interface ScraperComponent {
881
773
  */
882
774
  config?: ComponentConfig | undefined;
883
775
  }
884
- /**
885
- * @public
886
- * @enum
887
- */
888
- export declare const ScraperLoggingConfigurationStatusCode: {
889
- /**
890
- * Scraper logging configuration is active.
891
- */
892
- readonly ACTIVE: "ACTIVE";
893
- /**
894
- * Scraper logging configuration is being created.
895
- */
896
- readonly CREATING: "CREATING";
897
- /**
898
- * Scraper logging configuration creation failed.
899
- */
900
- readonly CREATION_FAILED: "CREATION_FAILED";
901
- /**
902
- * Scraper logging configuration is being deleted.
903
- */
904
- readonly DELETING: "DELETING";
905
- /**
906
- * Scraper logging configuration update failed.
907
- */
908
- readonly UPDATE_FAILED: "UPDATE_FAILED";
909
- /**
910
- * Scraper logging configuration is being updated.
911
- */
912
- readonly UPDATING: "UPDATING";
913
- };
914
- /**
915
- * @public
916
- */
917
- export type ScraperLoggingConfigurationStatusCode = (typeof ScraperLoggingConfigurationStatusCode)[keyof typeof ScraperLoggingConfigurationStatusCode];
918
776
  /**
919
777
  * <p>The status of a scraper logging configuration.</p>
920
778
  * @public
@@ -1609,36 +1467,6 @@ export interface CreateWorkspaceRequest {
1609
1467
  */
1610
1468
  kmsKeyArn?: string | undefined;
1611
1469
  }
1612
- /**
1613
- * @public
1614
- * @enum
1615
- */
1616
- export declare const WorkspaceStatusCode: {
1617
- /**
1618
- * Workspace has been created and is usable.
1619
- */
1620
- readonly ACTIVE: "ACTIVE";
1621
- /**
1622
- * Workspace is being created. Deletion is disallowed until status is ACTIVE.
1623
- */
1624
- readonly CREATING: "CREATING";
1625
- /**
1626
- * Workspace creation failed. Refer to WorkspaceStatus.failureReason for more details.
1627
- */
1628
- readonly CREATION_FAILED: "CREATION_FAILED";
1629
- /**
1630
- * Workspace is being deleted. Deletions are allowed only when status is ACTIVE.
1631
- */
1632
- readonly DELETING: "DELETING";
1633
- /**
1634
- * Workspace is being updated. Updates are allowed only when status is ACTIVE.
1635
- */
1636
- readonly UPDATING: "UPDATING";
1637
- };
1638
- /**
1639
- * @public
1640
- */
1641
- export type WorkspaceStatusCode = (typeof WorkspaceStatusCode)[keyof typeof WorkspaceStatusCode];
1642
1470
  /**
1643
1471
  * <p>The status of the workspace.</p>
1644
1472
  * @public
@@ -1864,40 +1692,6 @@ export interface CreateLoggingConfigurationRequest {
1864
1692
  */
1865
1693
  clientToken?: string | undefined;
1866
1694
  }
1867
- /**
1868
- * @public
1869
- * @enum
1870
- */
1871
- export declare const LoggingConfigurationStatusCode: {
1872
- /**
1873
- * Logging configuration has been created/updated. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
1874
- */
1875
- readonly ACTIVE: "ACTIVE";
1876
- /**
1877
- * Logging configuration is being created. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
1878
- */
1879
- readonly CREATING: "CREATING";
1880
- /**
1881
- * Logging configuration creation failed.
1882
- */
1883
- readonly CREATION_FAILED: "CREATION_FAILED";
1884
- /**
1885
- * Logging configuration is being deleting. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
1886
- */
1887
- readonly DELETING: "DELETING";
1888
- /**
1889
- * Logging configuration update failed.
1890
- */
1891
- readonly UPDATE_FAILED: "UPDATE_FAILED";
1892
- /**
1893
- * Logging configuration is being updated. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
1894
- */
1895
- readonly UPDATING: "UPDATING";
1896
- };
1897
- /**
1898
- * @public
1899
- */
1900
- export type LoggingConfigurationStatusCode = (typeof LoggingConfigurationStatusCode)[keyof typeof LoggingConfigurationStatusCode];
1901
1695
  /**
1902
1696
  * <p>The status of the logging configuration. </p>
1903
1697
  * @public
@@ -2073,40 +1867,6 @@ export interface CreateQueryLoggingConfigurationRequest {
2073
1867
  */
2074
1868
  clientToken?: string | undefined;
2075
1869
  }
2076
- /**
2077
- * @public
2078
- * @enum
2079
- */
2080
- export declare const QueryLoggingConfigurationStatusCode: {
2081
- /**
2082
- * Query logging configuration is active.
2083
- */
2084
- readonly ACTIVE: "ACTIVE";
2085
- /**
2086
- * Query logging configuration is being created.
2087
- */
2088
- readonly CREATING: "CREATING";
2089
- /**
2090
- * Query logging configuration creation failed.
2091
- */
2092
- readonly CREATION_FAILED: "CREATION_FAILED";
2093
- /**
2094
- * Query logging configuration is being deleted.
2095
- */
2096
- readonly DELETING: "DELETING";
2097
- /**
2098
- * Query logging configuration update failed.
2099
- */
2100
- readonly UPDATE_FAILED: "UPDATE_FAILED";
2101
- /**
2102
- * Query logging configuration is being updated.
2103
- */
2104
- readonly UPDATING: "UPDATING";
2105
- };
2106
- /**
2107
- * @public
2108
- */
2109
- export type QueryLoggingConfigurationStatusCode = (typeof QueryLoggingConfigurationStatusCode)[keyof typeof QueryLoggingConfigurationStatusCode];
2110
1870
  /**
2111
1871
  * <p>The status information for a query logging configuration.</p>
2112
1872
  * @public
@@ -2260,40 +2020,6 @@ export interface CreateRuleGroupsNamespaceRequest {
2260
2020
  */
2261
2021
  tags?: Record<string, string> | undefined;
2262
2022
  }
2263
- /**
2264
- * @public
2265
- * @enum
2266
- */
2267
- export declare const RuleGroupsNamespaceStatusCode: {
2268
- /**
2269
- * Namespace has been created/updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
2270
- */
2271
- readonly ACTIVE: "ACTIVE";
2272
- /**
2273
- * Namespace is being created. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
2274
- */
2275
- readonly CREATING: "CREATING";
2276
- /**
2277
- * Namespace creation failed.
2278
- */
2279
- readonly CREATION_FAILED: "CREATION_FAILED";
2280
- /**
2281
- * Namespace is being deleting. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
2282
- */
2283
- readonly DELETING: "DELETING";
2284
- /**
2285
- * Namespace update failed.
2286
- */
2287
- readonly UPDATE_FAILED: "UPDATE_FAILED";
2288
- /**
2289
- * Namespace is being updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
2290
- */
2291
- readonly UPDATING: "UPDATING";
2292
- };
2293
- /**
2294
- * @public
2295
- */
2296
- export type RuleGroupsNamespaceStatusCode = (typeof RuleGroupsNamespaceStatusCode)[keyof typeof RuleGroupsNamespaceStatusCode];
2297
2023
  /**
2298
2024
  * <p>The status information about a rule groups namespace. </p>
2299
2025
  * @public
@@ -2613,28 +2339,6 @@ export interface LimitsPerLabelSet {
2613
2339
  */
2614
2340
  labelSet: Record<string, string> | undefined;
2615
2341
  }
2616
- /**
2617
- * @public
2618
- * @enum
2619
- */
2620
- export declare const WorkspaceConfigurationStatusCode: {
2621
- /**
2622
- * Workspace configuration has been updated. Update is disallowed until workspace configuration is ACTIVE and workspace status is ACTIVE.
2623
- */
2624
- readonly ACTIVE: "ACTIVE";
2625
- /**
2626
- * Workspace configuration update failed.
2627
- */
2628
- readonly UPDATE_FAILED: "UPDATE_FAILED";
2629
- /**
2630
- * Workspace configuration is being updated. Update is disallowed until workspace configuration is ACTIVE and workspace status is ACTIVE.
2631
- */
2632
- readonly UPDATING: "UPDATING";
2633
- };
2634
- /**
2635
- * @public
2636
- */
2637
- export type WorkspaceConfigurationStatusCode = (typeof WorkspaceConfigurationStatusCode)[keyof typeof WorkspaceConfigurationStatusCode];
2638
2342
  /**
2639
2343
  * <p>This structure displays the current status of the workspace configuration, and might also contain a reason for that status.</p>
2640
2344
  * @public
@@ -2747,32 +2451,6 @@ export interface DescribeResourcePolicyRequest {
2747
2451
  */
2748
2452
  workspaceId: string | undefined;
2749
2453
  }
2750
- /**
2751
- * @public
2752
- * @enum
2753
- */
2754
- export declare const WorkspacePolicyStatusCode: {
2755
- /**
2756
- * Resource-based Policy has been created/updated. Update/Deletion is disallowed until Resource-based Policy is ACTIVE and Workspace is ACTIVE.
2757
- */
2758
- readonly ACTIVE: "ACTIVE";
2759
- /**
2760
- * Resource-based Policy is being created. Update/Deletion is disallowed until Resource-based Policy is ACTIVE and Workspace is ACTIVE.
2761
- */
2762
- readonly CREATING: "CREATING";
2763
- /**
2764
- * Resource-based Policy is being deleting. Update/Deletion is disallowed until Resource-based Policy is ACTIVE and Workspace is ACTIVE.
2765
- */
2766
- readonly DELETING: "DELETING";
2767
- /**
2768
- * Resource-based Policy is being updated. Update/Deletion is disallowed until Resource-based Policy is ACTIVE and Workspace is ACTIVE.
2769
- */
2770
- readonly UPDATING: "UPDATING";
2771
- };
2772
- /**
2773
- * @public
2774
- */
2775
- export type WorkspacePolicyStatusCode = (typeof WorkspacePolicyStatusCode)[keyof typeof WorkspacePolicyStatusCode];
2776
2454
  /**
2777
2455
  * @public
2778
2456
  */
@@ -1,3 +1,49 @@
1
+ export declare const AlertManagerDefinitionStatusCode: {
2
+ readonly ACTIVE: "ACTIVE";
3
+ readonly CREATING: "CREATING";
4
+ readonly CREATION_FAILED: "CREATION_FAILED";
5
+ readonly DELETING: "DELETING";
6
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
7
+ readonly UPDATING: "UPDATING";
8
+ };
9
+ export type AlertManagerDefinitionStatusCode =
10
+ (typeof AlertManagerDefinitionStatusCode)[keyof typeof AlertManagerDefinitionStatusCode];
11
+ export declare const ValidationExceptionReason: {
12
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
13
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
14
+ readonly OTHER: "OTHER";
15
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
16
+ };
17
+ export type ValidationExceptionReason =
18
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
19
+ export declare const ScraperStatusCode: {
20
+ readonly ACTIVE: "ACTIVE";
21
+ readonly CREATING: "CREATING";
22
+ readonly CREATION_FAILED: "CREATION_FAILED";
23
+ readonly DELETING: "DELETING";
24
+ readonly DELETION_FAILED: "DELETION_FAILED";
25
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
26
+ readonly UPDATING: "UPDATING";
27
+ };
28
+ export type ScraperStatusCode =
29
+ (typeof ScraperStatusCode)[keyof typeof ScraperStatusCode];
30
+ export declare const ScraperComponentType: {
31
+ readonly COLLECTOR: "COLLECTOR";
32
+ readonly EXPORTER: "EXPORTER";
33
+ readonly SERVICE_DISCOVERY: "SERVICE_DISCOVERY";
34
+ };
35
+ export type ScraperComponentType =
36
+ (typeof ScraperComponentType)[keyof typeof ScraperComponentType];
37
+ export declare const ScraperLoggingConfigurationStatusCode: {
38
+ readonly ACTIVE: "ACTIVE";
39
+ readonly CREATING: "CREATING";
40
+ readonly CREATION_FAILED: "CREATION_FAILED";
41
+ readonly DELETING: "DELETING";
42
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
43
+ readonly UPDATING: "UPDATING";
44
+ };
45
+ export type ScraperLoggingConfigurationStatusCode =
46
+ (typeof ScraperLoggingConfigurationStatusCode)[keyof typeof ScraperLoggingConfigurationStatusCode];
1
47
  export declare const AnomalyDetectorStatusCode: {
2
48
  readonly ACTIVE: "ACTIVE";
3
49
  readonly CREATING: "CREATING";
@@ -9,3 +55,57 @@ export declare const AnomalyDetectorStatusCode: {
9
55
  };
10
56
  export type AnomalyDetectorStatusCode =
11
57
  (typeof AnomalyDetectorStatusCode)[keyof typeof AnomalyDetectorStatusCode];
58
+ export declare const WorkspaceStatusCode: {
59
+ readonly ACTIVE: "ACTIVE";
60
+ readonly CREATING: "CREATING";
61
+ readonly CREATION_FAILED: "CREATION_FAILED";
62
+ readonly DELETING: "DELETING";
63
+ readonly UPDATING: "UPDATING";
64
+ };
65
+ export type WorkspaceStatusCode =
66
+ (typeof WorkspaceStatusCode)[keyof typeof WorkspaceStatusCode];
67
+ export declare const LoggingConfigurationStatusCode: {
68
+ readonly ACTIVE: "ACTIVE";
69
+ readonly CREATING: "CREATING";
70
+ readonly CREATION_FAILED: "CREATION_FAILED";
71
+ readonly DELETING: "DELETING";
72
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
73
+ readonly UPDATING: "UPDATING";
74
+ };
75
+ export type LoggingConfigurationStatusCode =
76
+ (typeof LoggingConfigurationStatusCode)[keyof typeof LoggingConfigurationStatusCode];
77
+ export declare const QueryLoggingConfigurationStatusCode: {
78
+ readonly ACTIVE: "ACTIVE";
79
+ readonly CREATING: "CREATING";
80
+ readonly CREATION_FAILED: "CREATION_FAILED";
81
+ readonly DELETING: "DELETING";
82
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
83
+ readonly UPDATING: "UPDATING";
84
+ };
85
+ export type QueryLoggingConfigurationStatusCode =
86
+ (typeof QueryLoggingConfigurationStatusCode)[keyof typeof QueryLoggingConfigurationStatusCode];
87
+ export declare const RuleGroupsNamespaceStatusCode: {
88
+ readonly ACTIVE: "ACTIVE";
89
+ readonly CREATING: "CREATING";
90
+ readonly CREATION_FAILED: "CREATION_FAILED";
91
+ readonly DELETING: "DELETING";
92
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
93
+ readonly UPDATING: "UPDATING";
94
+ };
95
+ export type RuleGroupsNamespaceStatusCode =
96
+ (typeof RuleGroupsNamespaceStatusCode)[keyof typeof RuleGroupsNamespaceStatusCode];
97
+ export declare const WorkspaceConfigurationStatusCode: {
98
+ readonly ACTIVE: "ACTIVE";
99
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
100
+ readonly UPDATING: "UPDATING";
101
+ };
102
+ export type WorkspaceConfigurationStatusCode =
103
+ (typeof WorkspaceConfigurationStatusCode)[keyof typeof WorkspaceConfigurationStatusCode];
104
+ export declare const WorkspacePolicyStatusCode: {
105
+ readonly ACTIVE: "ACTIVE";
106
+ readonly CREATING: "CREATING";
107
+ readonly DELETING: "DELETING";
108
+ readonly UPDATING: "UPDATING";
109
+ };
110
+ export type WorkspacePolicyStatusCode =
111
+ (typeof WorkspacePolicyStatusCode)[keyof typeof WorkspacePolicyStatusCode];
@@ -1,9 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { AmpServiceException as __BaseException } from "./AmpServiceException";
3
- import {
4
- ValidationExceptionField,
5
- ValidationExceptionReason,
6
- } from "./models_0";
3
+ import { ValidationExceptionReason } from "./enums";
4
+ import { ValidationExceptionField } from "./models_0";
7
5
  export declare class AccessDeniedException extends __BaseException {
8
6
  readonly name: "AccessDeniedException";
9
7
  readonly $fault: "client";
@@ -1,19 +1,21 @@
1
- import { AnomalyDetectorStatusCode } from "./enums";
1
+ import {
2
+ AlertManagerDefinitionStatusCode,
3
+ AnomalyDetectorStatusCode,
4
+ LoggingConfigurationStatusCode,
5
+ QueryLoggingConfigurationStatusCode,
6
+ RuleGroupsNamespaceStatusCode,
7
+ ScraperComponentType,
8
+ ScraperLoggingConfigurationStatusCode,
9
+ ScraperStatusCode,
10
+ WorkspaceConfigurationStatusCode,
11
+ WorkspacePolicyStatusCode,
12
+ WorkspaceStatusCode,
13
+ } from "./enums";
2
14
  export interface CreateAlertManagerDefinitionRequest {
3
15
  workspaceId: string | undefined;
4
16
  data: Uint8Array | undefined;
5
17
  clientToken?: string | undefined;
6
18
  }
7
- export declare const AlertManagerDefinitionStatusCode: {
8
- readonly ACTIVE: "ACTIVE";
9
- readonly CREATING: "CREATING";
10
- readonly CREATION_FAILED: "CREATION_FAILED";
11
- readonly DELETING: "DELETING";
12
- readonly UPDATE_FAILED: "UPDATE_FAILED";
13
- readonly UPDATING: "UPDATING";
14
- };
15
- export type AlertManagerDefinitionStatusCode =
16
- (typeof AlertManagerDefinitionStatusCode)[keyof typeof AlertManagerDefinitionStatusCode];
17
19
  export interface AlertManagerDefinitionStatus {
18
20
  statusCode: AlertManagerDefinitionStatusCode | undefined;
19
21
  statusReason?: string | undefined;
@@ -25,14 +27,6 @@ export interface ValidationExceptionField {
25
27
  name: string | undefined;
26
28
  message: string | undefined;
27
29
  }
28
- export declare const ValidationExceptionReason: {
29
- readonly CANNOT_PARSE: "CANNOT_PARSE";
30
- readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
31
- readonly OTHER: "OTHER";
32
- readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
33
- };
34
- export type ValidationExceptionReason =
35
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
36
30
  export interface DeleteAlertManagerDefinitionRequest {
37
31
  workspaceId: string | undefined;
38
32
  clientToken?: string | undefined;
@@ -152,17 +146,6 @@ export interface CreateScraperRequest {
152
146
  clientToken?: string | undefined;
153
147
  tags?: Record<string, string> | undefined;
154
148
  }
155
- export declare const ScraperStatusCode: {
156
- readonly ACTIVE: "ACTIVE";
157
- readonly CREATING: "CREATING";
158
- readonly CREATION_FAILED: "CREATION_FAILED";
159
- readonly DELETING: "DELETING";
160
- readonly DELETION_FAILED: "DELETION_FAILED";
161
- readonly UPDATE_FAILED: "UPDATE_FAILED";
162
- readonly UPDATING: "UPDATING";
163
- };
164
- export type ScraperStatusCode =
165
- (typeof ScraperStatusCode)[keyof typeof ScraperStatusCode];
166
149
  export interface ScraperStatus {
167
150
  statusCode: ScraperStatusCode | undefined;
168
151
  }
@@ -254,27 +237,10 @@ export declare namespace ScraperLoggingDestination {
254
237
  export interface ComponentConfig {
255
238
  options?: Record<string, string> | undefined;
256
239
  }
257
- export declare const ScraperComponentType: {
258
- readonly COLLECTOR: "COLLECTOR";
259
- readonly EXPORTER: "EXPORTER";
260
- readonly SERVICE_DISCOVERY: "SERVICE_DISCOVERY";
261
- };
262
- export type ScraperComponentType =
263
- (typeof ScraperComponentType)[keyof typeof ScraperComponentType];
264
240
  export interface ScraperComponent {
265
241
  type: ScraperComponentType | undefined;
266
242
  config?: ComponentConfig | undefined;
267
243
  }
268
- export declare const ScraperLoggingConfigurationStatusCode: {
269
- readonly ACTIVE: "ACTIVE";
270
- readonly CREATING: "CREATING";
271
- readonly CREATION_FAILED: "CREATION_FAILED";
272
- readonly DELETING: "DELETING";
273
- readonly UPDATE_FAILED: "UPDATE_FAILED";
274
- readonly UPDATING: "UPDATING";
275
- };
276
- export type ScraperLoggingConfigurationStatusCode =
277
- (typeof ScraperLoggingConfigurationStatusCode)[keyof typeof ScraperLoggingConfigurationStatusCode];
278
244
  export interface ScraperLoggingConfigurationStatus {
279
245
  statusCode: ScraperLoggingConfigurationStatusCode | undefined;
280
246
  statusReason?: string | undefined;
@@ -479,15 +445,6 @@ export interface CreateWorkspaceRequest {
479
445
  tags?: Record<string, string> | undefined;
480
446
  kmsKeyArn?: string | undefined;
481
447
  }
482
- export declare const WorkspaceStatusCode: {
483
- readonly ACTIVE: "ACTIVE";
484
- readonly CREATING: "CREATING";
485
- readonly CREATION_FAILED: "CREATION_FAILED";
486
- readonly DELETING: "DELETING";
487
- readonly UPDATING: "UPDATING";
488
- };
489
- export type WorkspaceStatusCode =
490
- (typeof WorkspaceStatusCode)[keyof typeof WorkspaceStatusCode];
491
448
  export interface WorkspaceStatus {
492
449
  statusCode: WorkspaceStatusCode | undefined;
493
450
  }
@@ -541,16 +498,6 @@ export interface CreateLoggingConfigurationRequest {
541
498
  logGroupArn: string | undefined;
542
499
  clientToken?: string | undefined;
543
500
  }
544
- export declare const LoggingConfigurationStatusCode: {
545
- readonly ACTIVE: "ACTIVE";
546
- readonly CREATING: "CREATING";
547
- readonly CREATION_FAILED: "CREATION_FAILED";
548
- readonly DELETING: "DELETING";
549
- readonly UPDATE_FAILED: "UPDATE_FAILED";
550
- readonly UPDATING: "UPDATING";
551
- };
552
- export type LoggingConfigurationStatusCode =
553
- (typeof LoggingConfigurationStatusCode)[keyof typeof LoggingConfigurationStatusCode];
554
501
  export interface LoggingConfigurationStatus {
555
502
  statusCode: LoggingConfigurationStatusCode | undefined;
556
503
  statusReason?: string | undefined;
@@ -595,16 +542,6 @@ export interface CreateQueryLoggingConfigurationRequest {
595
542
  destinations: LoggingDestination[] | undefined;
596
543
  clientToken?: string | undefined;
597
544
  }
598
- export declare const QueryLoggingConfigurationStatusCode: {
599
- readonly ACTIVE: "ACTIVE";
600
- readonly CREATING: "CREATING";
601
- readonly CREATION_FAILED: "CREATION_FAILED";
602
- readonly DELETING: "DELETING";
603
- readonly UPDATE_FAILED: "UPDATE_FAILED";
604
- readonly UPDATING: "UPDATING";
605
- };
606
- export type QueryLoggingConfigurationStatusCode =
607
- (typeof QueryLoggingConfigurationStatusCode)[keyof typeof QueryLoggingConfigurationStatusCode];
608
545
  export interface QueryLoggingConfigurationStatus {
609
546
  statusCode: QueryLoggingConfigurationStatusCode | undefined;
610
547
  statusReason?: string | undefined;
@@ -644,16 +581,6 @@ export interface CreateRuleGroupsNamespaceRequest {
644
581
  clientToken?: string | undefined;
645
582
  tags?: Record<string, string> | undefined;
646
583
  }
647
- export declare const RuleGroupsNamespaceStatusCode: {
648
- readonly ACTIVE: "ACTIVE";
649
- readonly CREATING: "CREATING";
650
- readonly CREATION_FAILED: "CREATION_FAILED";
651
- readonly DELETING: "DELETING";
652
- readonly UPDATE_FAILED: "UPDATE_FAILED";
653
- readonly UPDATING: "UPDATING";
654
- };
655
- export type RuleGroupsNamespaceStatusCode =
656
- (typeof RuleGroupsNamespaceStatusCode)[keyof typeof RuleGroupsNamespaceStatusCode];
657
584
  export interface RuleGroupsNamespaceStatus {
658
585
  statusCode: RuleGroupsNamespaceStatusCode | undefined;
659
586
  statusReason?: string | undefined;
@@ -730,13 +657,6 @@ export interface LimitsPerLabelSet {
730
657
  limits: LimitsPerLabelSetEntry | undefined;
731
658
  labelSet: Record<string, string> | undefined;
732
659
  }
733
- export declare const WorkspaceConfigurationStatusCode: {
734
- readonly ACTIVE: "ACTIVE";
735
- readonly UPDATE_FAILED: "UPDATE_FAILED";
736
- readonly UPDATING: "UPDATING";
737
- };
738
- export type WorkspaceConfigurationStatusCode =
739
- (typeof WorkspaceConfigurationStatusCode)[keyof typeof WorkspaceConfigurationStatusCode];
740
660
  export interface WorkspaceConfigurationStatus {
741
661
  statusCode: WorkspaceConfigurationStatusCode | undefined;
742
662
  statusReason?: string | undefined;
@@ -766,14 +686,6 @@ export interface DeleteResourcePolicyRequest {
766
686
  export interface DescribeResourcePolicyRequest {
767
687
  workspaceId: string | undefined;
768
688
  }
769
- export declare const WorkspacePolicyStatusCode: {
770
- readonly ACTIVE: "ACTIVE";
771
- readonly CREATING: "CREATING";
772
- readonly DELETING: "DELETING";
773
- readonly UPDATING: "UPDATING";
774
- };
775
- export type WorkspacePolicyStatusCode =
776
- (typeof WorkspacePolicyStatusCode)[keyof typeof WorkspacePolicyStatusCode];
777
689
  export interface DescribeResourcePolicyResponse {
778
690
  policyDocument: string | undefined;
779
691
  policyStatus: WorkspacePolicyStatusCode | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
3
  "description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.939.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-amp",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",