@aws-sdk/client-amp 3.301.0 → 3.303.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.
@@ -30,15 +30,14 @@ class ConflictException extends AmpServiceException_1.AmpServiceException {
30
30
  }
31
31
  }
32
32
  exports.ConflictException = ConflictException;
33
- var AlertManagerDefinitionStatusCode;
34
- (function (AlertManagerDefinitionStatusCode) {
35
- AlertManagerDefinitionStatusCode["ACTIVE"] = "ACTIVE";
36
- AlertManagerDefinitionStatusCode["CREATING"] = "CREATING";
37
- AlertManagerDefinitionStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
38
- AlertManagerDefinitionStatusCode["DELETING"] = "DELETING";
39
- AlertManagerDefinitionStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
40
- AlertManagerDefinitionStatusCode["UPDATING"] = "UPDATING";
41
- })(AlertManagerDefinitionStatusCode = exports.AlertManagerDefinitionStatusCode || (exports.AlertManagerDefinitionStatusCode = {}));
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
+ };
42
41
  class InternalServerException extends AmpServiceException_1.AmpServiceException {
43
42
  constructor(opts) {
44
43
  super({
@@ -103,13 +102,12 @@ class ThrottlingException extends AmpServiceException_1.AmpServiceException {
103
102
  }
104
103
  }
105
104
  exports.ThrottlingException = ThrottlingException;
106
- var ValidationExceptionReason;
107
- (function (ValidationExceptionReason) {
108
- ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
109
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
110
- ValidationExceptionReason["OTHER"] = "OTHER";
111
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
112
- })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
105
+ exports.ValidationExceptionReason = {
106
+ CANNOT_PARSE: "CANNOT_PARSE",
107
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
108
+ OTHER: "OTHER",
109
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
110
+ };
113
111
  class ValidationException extends AmpServiceException_1.AmpServiceException {
114
112
  constructor(opts) {
115
113
  super({
@@ -125,29 +123,26 @@ class ValidationException extends AmpServiceException_1.AmpServiceException {
125
123
  }
126
124
  }
127
125
  exports.ValidationException = ValidationException;
128
- var WorkspaceStatusCode;
129
- (function (WorkspaceStatusCode) {
130
- WorkspaceStatusCode["ACTIVE"] = "ACTIVE";
131
- WorkspaceStatusCode["CREATING"] = "CREATING";
132
- WorkspaceStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
133
- WorkspaceStatusCode["DELETING"] = "DELETING";
134
- WorkspaceStatusCode["UPDATING"] = "UPDATING";
135
- })(WorkspaceStatusCode = exports.WorkspaceStatusCode || (exports.WorkspaceStatusCode = {}));
136
- var LoggingConfigurationStatusCode;
137
- (function (LoggingConfigurationStatusCode) {
138
- LoggingConfigurationStatusCode["ACTIVE"] = "ACTIVE";
139
- LoggingConfigurationStatusCode["CREATING"] = "CREATING";
140
- LoggingConfigurationStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
141
- LoggingConfigurationStatusCode["DELETING"] = "DELETING";
142
- LoggingConfigurationStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
143
- LoggingConfigurationStatusCode["UPDATING"] = "UPDATING";
144
- })(LoggingConfigurationStatusCode = exports.LoggingConfigurationStatusCode || (exports.LoggingConfigurationStatusCode = {}));
145
- var RuleGroupsNamespaceStatusCode;
146
- (function (RuleGroupsNamespaceStatusCode) {
147
- RuleGroupsNamespaceStatusCode["ACTIVE"] = "ACTIVE";
148
- RuleGroupsNamespaceStatusCode["CREATING"] = "CREATING";
149
- RuleGroupsNamespaceStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
150
- RuleGroupsNamespaceStatusCode["DELETING"] = "DELETING";
151
- RuleGroupsNamespaceStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
152
- RuleGroupsNamespaceStatusCode["UPDATING"] = "UPDATING";
153
- })(RuleGroupsNamespaceStatusCode = exports.RuleGroupsNamespaceStatusCode || (exports.RuleGroupsNamespaceStatusCode = {}));
126
+ exports.WorkspaceStatusCode = {
127
+ ACTIVE: "ACTIVE",
128
+ CREATING: "CREATING",
129
+ CREATION_FAILED: "CREATION_FAILED",
130
+ DELETING: "DELETING",
131
+ UPDATING: "UPDATING",
132
+ };
133
+ exports.LoggingConfigurationStatusCode = {
134
+ ACTIVE: "ACTIVE",
135
+ CREATING: "CREATING",
136
+ CREATION_FAILED: "CREATION_FAILED",
137
+ DELETING: "DELETING",
138
+ UPDATE_FAILED: "UPDATE_FAILED",
139
+ UPDATING: "UPDATING",
140
+ };
141
+ exports.RuleGroupsNamespaceStatusCode = {
142
+ ACTIVE: "ACTIVE",
143
+ CREATING: "CREATING",
144
+ CREATION_FAILED: "CREATION_FAILED",
145
+ DELETING: "DELETING",
146
+ UPDATE_FAILED: "UPDATE_FAILED",
147
+ UPDATING: "UPDATING",
148
+ };
@@ -25,15 +25,14 @@ export class ConflictException extends __BaseException {
25
25
  this.resourceType = opts.resourceType;
26
26
  }
27
27
  }
28
- export var AlertManagerDefinitionStatusCode;
29
- (function (AlertManagerDefinitionStatusCode) {
30
- AlertManagerDefinitionStatusCode["ACTIVE"] = "ACTIVE";
31
- AlertManagerDefinitionStatusCode["CREATING"] = "CREATING";
32
- AlertManagerDefinitionStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
33
- AlertManagerDefinitionStatusCode["DELETING"] = "DELETING";
34
- AlertManagerDefinitionStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
35
- AlertManagerDefinitionStatusCode["UPDATING"] = "UPDATING";
36
- })(AlertManagerDefinitionStatusCode || (AlertManagerDefinitionStatusCode = {}));
28
+ export const AlertManagerDefinitionStatusCode = {
29
+ ACTIVE: "ACTIVE",
30
+ CREATING: "CREATING",
31
+ CREATION_FAILED: "CREATION_FAILED",
32
+ DELETING: "DELETING",
33
+ UPDATE_FAILED: "UPDATE_FAILED",
34
+ UPDATING: "UPDATING",
35
+ };
37
36
  export class InternalServerException extends __BaseException {
38
37
  constructor(opts) {
39
38
  super({
@@ -94,13 +93,12 @@ export class ThrottlingException extends __BaseException {
94
93
  this.retryAfterSeconds = opts.retryAfterSeconds;
95
94
  }
96
95
  }
97
- export var ValidationExceptionReason;
98
- (function (ValidationExceptionReason) {
99
- ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
100
- ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
101
- ValidationExceptionReason["OTHER"] = "OTHER";
102
- ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
103
- })(ValidationExceptionReason || (ValidationExceptionReason = {}));
96
+ export const ValidationExceptionReason = {
97
+ CANNOT_PARSE: "CANNOT_PARSE",
98
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
99
+ OTHER: "OTHER",
100
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
101
+ };
104
102
  export class ValidationException extends __BaseException {
105
103
  constructor(opts) {
106
104
  super({
@@ -115,29 +113,26 @@ export class ValidationException extends __BaseException {
115
113
  this.fieldList = opts.fieldList;
116
114
  }
117
115
  }
118
- export var WorkspaceStatusCode;
119
- (function (WorkspaceStatusCode) {
120
- WorkspaceStatusCode["ACTIVE"] = "ACTIVE";
121
- WorkspaceStatusCode["CREATING"] = "CREATING";
122
- WorkspaceStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
123
- WorkspaceStatusCode["DELETING"] = "DELETING";
124
- WorkspaceStatusCode["UPDATING"] = "UPDATING";
125
- })(WorkspaceStatusCode || (WorkspaceStatusCode = {}));
126
- export var LoggingConfigurationStatusCode;
127
- (function (LoggingConfigurationStatusCode) {
128
- LoggingConfigurationStatusCode["ACTIVE"] = "ACTIVE";
129
- LoggingConfigurationStatusCode["CREATING"] = "CREATING";
130
- LoggingConfigurationStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
131
- LoggingConfigurationStatusCode["DELETING"] = "DELETING";
132
- LoggingConfigurationStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
133
- LoggingConfigurationStatusCode["UPDATING"] = "UPDATING";
134
- })(LoggingConfigurationStatusCode || (LoggingConfigurationStatusCode = {}));
135
- export var RuleGroupsNamespaceStatusCode;
136
- (function (RuleGroupsNamespaceStatusCode) {
137
- RuleGroupsNamespaceStatusCode["ACTIVE"] = "ACTIVE";
138
- RuleGroupsNamespaceStatusCode["CREATING"] = "CREATING";
139
- RuleGroupsNamespaceStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
140
- RuleGroupsNamespaceStatusCode["DELETING"] = "DELETING";
141
- RuleGroupsNamespaceStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
142
- RuleGroupsNamespaceStatusCode["UPDATING"] = "UPDATING";
143
- })(RuleGroupsNamespaceStatusCode || (RuleGroupsNamespaceStatusCode = {}));
116
+ export const WorkspaceStatusCode = {
117
+ ACTIVE: "ACTIVE",
118
+ CREATING: "CREATING",
119
+ CREATION_FAILED: "CREATION_FAILED",
120
+ DELETING: "DELETING",
121
+ UPDATING: "UPDATING",
122
+ };
123
+ export const LoggingConfigurationStatusCode = {
124
+ ACTIVE: "ACTIVE",
125
+ CREATING: "CREATING",
126
+ CREATION_FAILED: "CREATION_FAILED",
127
+ DELETING: "DELETING",
128
+ UPDATE_FAILED: "UPDATE_FAILED",
129
+ UPDATING: "UPDATING",
130
+ };
131
+ export const RuleGroupsNamespaceStatusCode = {
132
+ ACTIVE: "ACTIVE",
133
+ CREATING: "CREATING",
134
+ CREATION_FAILED: "CREATION_FAILED",
135
+ DELETING: "DELETING",
136
+ UPDATE_FAILED: "UPDATE_FAILED",
137
+ UPDATING: "UPDATING",
138
+ };
@@ -52,33 +52,38 @@ export interface CreateAlertManagerDefinitionRequest {
52
52
  }
53
53
  /**
54
54
  * @public
55
+ * @enum
55
56
  */
56
- export declare enum AlertManagerDefinitionStatusCode {
57
+ export declare const AlertManagerDefinitionStatusCode: {
57
58
  /**
58
59
  * Definition has been created/updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
59
60
  */
60
- ACTIVE = "ACTIVE",
61
+ readonly ACTIVE: "ACTIVE";
61
62
  /**
62
63
  * Definition is being created. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
63
64
  */
64
- CREATING = "CREATING",
65
+ readonly CREATING: "CREATING";
65
66
  /**
66
67
  * Definition creation failed.
67
68
  */
68
- CREATION_FAILED = "CREATION_FAILED",
69
+ readonly CREATION_FAILED: "CREATION_FAILED";
69
70
  /**
70
71
  * Definition is being deleting. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
71
72
  */
72
- DELETING = "DELETING",
73
+ readonly DELETING: "DELETING";
73
74
  /**
74
75
  * Definition update failed.
75
76
  */
76
- UPDATE_FAILED = "UPDATE_FAILED",
77
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
77
78
  /**
78
79
  * Definition is being updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
79
80
  */
80
- UPDATING = "UPDATING"
81
- }
81
+ readonly UPDATING: "UPDATING";
82
+ };
83
+ /**
84
+ * @public
85
+ */
86
+ export type AlertManagerDefinitionStatusCode = (typeof AlertManagerDefinitionStatusCode)[keyof typeof AlertManagerDefinitionStatusCode];
82
87
  /**
83
88
  * @public
84
89
  * Represents the status of a definition.
@@ -209,13 +214,18 @@ export interface ValidationExceptionField {
209
214
  }
210
215
  /**
211
216
  * @public
217
+ * @enum
212
218
  */
213
- export declare enum ValidationExceptionReason {
214
- CANNOT_PARSE = "CANNOT_PARSE",
215
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
216
- OTHER = "OTHER",
217
- UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
218
- }
219
+ export declare const ValidationExceptionReason: {
220
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
221
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
222
+ readonly OTHER: "OTHER";
223
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
224
+ };
225
+ /**
226
+ * @public
227
+ */
228
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
219
229
  /**
220
230
  * @public
221
231
  * The input fails to satisfy the constraints specified by an AWS service.
@@ -394,29 +404,34 @@ export interface CreateWorkspaceRequest {
394
404
  }
395
405
  /**
396
406
  * @public
407
+ * @enum
397
408
  */
398
- export declare enum WorkspaceStatusCode {
409
+ export declare const WorkspaceStatusCode: {
399
410
  /**
400
411
  * Workspace has been created and is usable.
401
412
  */
402
- ACTIVE = "ACTIVE",
413
+ readonly ACTIVE: "ACTIVE";
403
414
  /**
404
415
  * Workspace is being created. Deletion is disallowed until status is ACTIVE.
405
416
  */
406
- CREATING = "CREATING",
417
+ readonly CREATING: "CREATING";
407
418
  /**
408
419
  * Workspace creation failed. Refer to WorkspaceStatus.failureReason for more details.
409
420
  */
410
- CREATION_FAILED = "CREATION_FAILED",
421
+ readonly CREATION_FAILED: "CREATION_FAILED";
411
422
  /**
412
423
  * Workspace is being deleted. Deletions are allowed only when status is ACTIVE.
413
424
  */
414
- DELETING = "DELETING",
425
+ readonly DELETING: "DELETING";
415
426
  /**
416
427
  * Workspace is being updated. Updates are allowed only when status is ACTIVE.
417
428
  */
418
- UPDATING = "UPDATING"
419
- }
429
+ readonly UPDATING: "UPDATING";
430
+ };
431
+ /**
432
+ * @public
433
+ */
434
+ export type WorkspaceStatusCode = (typeof WorkspaceStatusCode)[keyof typeof WorkspaceStatusCode];
420
435
  /**
421
436
  * @public
422
437
  * Represents the status of a workspace.
@@ -599,33 +614,38 @@ export interface CreateLoggingConfigurationRequest {
599
614
  }
600
615
  /**
601
616
  * @public
617
+ * @enum
602
618
  */
603
- export declare enum LoggingConfigurationStatusCode {
619
+ export declare const LoggingConfigurationStatusCode: {
604
620
  /**
605
621
  * Logging configuration has been created/updated. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
606
622
  */
607
- ACTIVE = "ACTIVE",
623
+ readonly ACTIVE: "ACTIVE";
608
624
  /**
609
625
  * Logging configuration is being created. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
610
626
  */
611
- CREATING = "CREATING",
627
+ readonly CREATING: "CREATING";
612
628
  /**
613
629
  * Logging configuration creation failed.
614
630
  */
615
- CREATION_FAILED = "CREATION_FAILED",
631
+ readonly CREATION_FAILED: "CREATION_FAILED";
616
632
  /**
617
633
  * Logging configuration is being deleting. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
618
634
  */
619
- DELETING = "DELETING",
635
+ readonly DELETING: "DELETING";
620
636
  /**
621
637
  * Logging configuration update failed.
622
638
  */
623
- UPDATE_FAILED = "UPDATE_FAILED",
639
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
624
640
  /**
625
641
  * Logging configuration is being updated. Update/Deletion is disallowed until logging configuration is ACTIVE and workspace status is ACTIVE.
626
642
  */
627
- UPDATING = "UPDATING"
628
- }
643
+ readonly UPDATING: "UPDATING";
644
+ };
645
+ /**
646
+ * @public
647
+ */
648
+ export type LoggingConfigurationStatusCode = (typeof LoggingConfigurationStatusCode)[keyof typeof LoggingConfigurationStatusCode];
629
649
  /**
630
650
  * @public
631
651
  * Represents the status of a logging configuration.
@@ -766,33 +786,38 @@ export interface CreateRuleGroupsNamespaceRequest {
766
786
  }
767
787
  /**
768
788
  * @public
789
+ * @enum
769
790
  */
770
- export declare enum RuleGroupsNamespaceStatusCode {
791
+ export declare const RuleGroupsNamespaceStatusCode: {
771
792
  /**
772
793
  * Namespace has been created/updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
773
794
  */
774
- ACTIVE = "ACTIVE",
795
+ readonly ACTIVE: "ACTIVE";
775
796
  /**
776
797
  * Namespace is being created. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
777
798
  */
778
- CREATING = "CREATING",
799
+ readonly CREATING: "CREATING";
779
800
  /**
780
801
  * Namespace creation failed.
781
802
  */
782
- CREATION_FAILED = "CREATION_FAILED",
803
+ readonly CREATION_FAILED: "CREATION_FAILED";
783
804
  /**
784
805
  * Namespace is being deleting. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
785
806
  */
786
- DELETING = "DELETING",
807
+ readonly DELETING: "DELETING";
787
808
  /**
788
809
  * Namespace update failed.
789
810
  */
790
- UPDATE_FAILED = "UPDATE_FAILED",
811
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
791
812
  /**
792
813
  * Namespace is being updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
793
814
  */
794
- UPDATING = "UPDATING"
795
- }
815
+ readonly UPDATING: "UPDATING";
816
+ };
817
+ /**
818
+ * @public
819
+ */
820
+ export type RuleGroupsNamespaceStatusCode = (typeof RuleGroupsNamespaceStatusCode)[keyof typeof RuleGroupsNamespaceStatusCode];
796
821
  /**
797
822
  * @public
798
823
  * Represents the status of a namespace.
@@ -19,14 +19,16 @@ export interface CreateAlertManagerDefinitionRequest {
19
19
  data: Uint8Array | undefined;
20
20
  clientToken?: string;
21
21
  }
22
- export declare enum AlertManagerDefinitionStatusCode {
23
- ACTIVE = "ACTIVE",
24
- CREATING = "CREATING",
25
- CREATION_FAILED = "CREATION_FAILED",
26
- DELETING = "DELETING",
27
- UPDATE_FAILED = "UPDATE_FAILED",
28
- UPDATING = "UPDATING",
29
- }
22
+ export declare const AlertManagerDefinitionStatusCode: {
23
+ readonly ACTIVE: "ACTIVE";
24
+ readonly CREATING: "CREATING";
25
+ readonly CREATION_FAILED: "CREATION_FAILED";
26
+ readonly DELETING: "DELETING";
27
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
28
+ readonly UPDATING: "UPDATING";
29
+ };
30
+ export type AlertManagerDefinitionStatusCode =
31
+ (typeof AlertManagerDefinitionStatusCode)[keyof typeof AlertManagerDefinitionStatusCode];
30
32
  export interface AlertManagerDefinitionStatus {
31
33
  statusCode: AlertManagerDefinitionStatusCode | string | undefined;
32
34
  statusReason?: string;
@@ -78,12 +80,14 @@ export interface ValidationExceptionField {
78
80
  name: string | undefined;
79
81
  message: string | undefined;
80
82
  }
81
- export declare enum ValidationExceptionReason {
82
- CANNOT_PARSE = "CANNOT_PARSE",
83
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
84
- OTHER = "OTHER",
85
- UNKNOWN_OPERATION = "UNKNOWN_OPERATION",
86
- }
83
+ export declare const ValidationExceptionReason: {
84
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
85
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
86
+ readonly OTHER: "OTHER";
87
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
88
+ };
89
+ export type ValidationExceptionReason =
90
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
87
91
  export declare class ValidationException extends __BaseException {
88
92
  readonly name: "ValidationException";
89
93
  readonly $fault: "client";
@@ -138,13 +142,15 @@ export interface CreateWorkspaceRequest {
138
142
  clientToken?: string;
139
143
  tags?: Record<string, string>;
140
144
  }
141
- export declare enum WorkspaceStatusCode {
142
- ACTIVE = "ACTIVE",
143
- CREATING = "CREATING",
144
- CREATION_FAILED = "CREATION_FAILED",
145
- DELETING = "DELETING",
146
- UPDATING = "UPDATING",
147
- }
145
+ export declare const WorkspaceStatusCode: {
146
+ readonly ACTIVE: "ACTIVE";
147
+ readonly CREATING: "CREATING";
148
+ readonly CREATION_FAILED: "CREATION_FAILED";
149
+ readonly DELETING: "DELETING";
150
+ readonly UPDATING: "UPDATING";
151
+ };
152
+ export type WorkspaceStatusCode =
153
+ (typeof WorkspaceStatusCode)[keyof typeof WorkspaceStatusCode];
148
154
  export interface WorkspaceStatus {
149
155
  statusCode: WorkspaceStatusCode | string | undefined;
150
156
  }
@@ -195,14 +201,16 @@ export interface CreateLoggingConfigurationRequest {
195
201
  logGroupArn: string | undefined;
196
202
  clientToken?: string;
197
203
  }
198
- export declare enum LoggingConfigurationStatusCode {
199
- ACTIVE = "ACTIVE",
200
- CREATING = "CREATING",
201
- CREATION_FAILED = "CREATION_FAILED",
202
- DELETING = "DELETING",
203
- UPDATE_FAILED = "UPDATE_FAILED",
204
- UPDATING = "UPDATING",
205
- }
204
+ export declare const LoggingConfigurationStatusCode: {
205
+ readonly ACTIVE: "ACTIVE";
206
+ readonly CREATING: "CREATING";
207
+ readonly CREATION_FAILED: "CREATION_FAILED";
208
+ readonly DELETING: "DELETING";
209
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
210
+ readonly UPDATING: "UPDATING";
211
+ };
212
+ export type LoggingConfigurationStatusCode =
213
+ (typeof LoggingConfigurationStatusCode)[keyof typeof LoggingConfigurationStatusCode];
206
214
  export interface LoggingConfigurationStatus {
207
215
  statusCode: LoggingConfigurationStatusCode | string | undefined;
208
216
  statusReason?: string;
@@ -242,14 +250,16 @@ export interface CreateRuleGroupsNamespaceRequest {
242
250
  clientToken?: string;
243
251
  tags?: Record<string, string>;
244
252
  }
245
- export declare enum RuleGroupsNamespaceStatusCode {
246
- ACTIVE = "ACTIVE",
247
- CREATING = "CREATING",
248
- CREATION_FAILED = "CREATION_FAILED",
249
- DELETING = "DELETING",
250
- UPDATE_FAILED = "UPDATE_FAILED",
251
- UPDATING = "UPDATING",
252
- }
253
+ export declare const RuleGroupsNamespaceStatusCode: {
254
+ readonly ACTIVE: "ACTIVE";
255
+ readonly CREATING: "CREATING";
256
+ readonly CREATION_FAILED: "CREATION_FAILED";
257
+ readonly DELETING: "DELETING";
258
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
259
+ readonly UPDATING: "UPDATING";
260
+ };
261
+ export type RuleGroupsNamespaceStatusCode =
262
+ (typeof RuleGroupsNamespaceStatusCode)[keyof typeof RuleGroupsNamespaceStatusCode];
253
263
  export interface RuleGroupsNamespaceStatus {
254
264
  statusCode: RuleGroupsNamespaceStatusCode | string | undefined;
255
265
  statusReason?: string;
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.301.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,44 +21,44 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
56
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
+ "@aws-sdk/util-waiter": "3.303.0",
57
57
  "tslib": "^2.5.0",
58
58
  "uuid": "^8.3.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
61
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/node": "^14.14.31",
64
64
  "@types/uuid": "^8.3.0",