@aws-sdk/client-application-discovery-service 3.301.0 → 3.306.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.
@@ -2,15 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExportDataFormat = exports.ResourceInUseException = exports.ConflictErrorException = exports.OrderString = exports.ConfigurationItemType = exports.ImportStatus = exports.ImportTaskFilterName = exports.ExportStatus = exports.OperationNotPermittedException = exports.ContinuousExportStatus = exports.DataSource = exports.ResourceNotFoundException = exports.BatchDeleteImportDataErrorCode = exports.ServerInternalErrorException = exports.InvalidParameterValueException = exports.InvalidParameterException = exports.HomeRegionNotSetException = exports.AuthorizationErrorException = exports.AgentStatus = void 0;
4
4
  const ApplicationDiscoveryServiceServiceException_1 = require("./ApplicationDiscoveryServiceServiceException");
5
- var AgentStatus;
6
- (function (AgentStatus) {
7
- AgentStatus["BLACKLISTED"] = "BLACKLISTED";
8
- AgentStatus["HEALTHY"] = "HEALTHY";
9
- AgentStatus["RUNNING"] = "RUNNING";
10
- AgentStatus["SHUTDOWN"] = "SHUTDOWN";
11
- AgentStatus["UNHEALTHY"] = "UNHEALTHY";
12
- AgentStatus["UNKNOWN"] = "UNKNOWN";
13
- })(AgentStatus = exports.AgentStatus || (exports.AgentStatus = {}));
5
+ exports.AgentStatus = {
6
+ BLACKLISTED: "BLACKLISTED",
7
+ HEALTHY: "HEALTHY",
8
+ RUNNING: "RUNNING",
9
+ SHUTDOWN: "SHUTDOWN",
10
+ UNHEALTHY: "UNHEALTHY",
11
+ UNKNOWN: "UNKNOWN",
12
+ };
14
13
  class AuthorizationErrorException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
15
14
  constructor(opts) {
16
15
  super({
@@ -76,12 +75,11 @@ class ServerInternalErrorException extends ApplicationDiscoveryServiceServiceExc
76
75
  }
77
76
  }
78
77
  exports.ServerInternalErrorException = ServerInternalErrorException;
79
- var BatchDeleteImportDataErrorCode;
80
- (function (BatchDeleteImportDataErrorCode) {
81
- BatchDeleteImportDataErrorCode["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR";
82
- BatchDeleteImportDataErrorCode["NOT_FOUND"] = "NOT_FOUND";
83
- BatchDeleteImportDataErrorCode["OVER_LIMIT"] = "OVER_LIMIT";
84
- })(BatchDeleteImportDataErrorCode = exports.BatchDeleteImportDataErrorCode || (exports.BatchDeleteImportDataErrorCode = {}));
78
+ exports.BatchDeleteImportDataErrorCode = {
79
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
80
+ NOT_FOUND: "NOT_FOUND",
81
+ OVER_LIMIT: "OVER_LIMIT",
82
+ };
85
83
  class ResourceNotFoundException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
86
84
  constructor(opts) {
87
85
  super({
@@ -95,20 +93,18 @@ class ResourceNotFoundException extends ApplicationDiscoveryServiceServiceExcept
95
93
  }
96
94
  }
97
95
  exports.ResourceNotFoundException = ResourceNotFoundException;
98
- var DataSource;
99
- (function (DataSource) {
100
- DataSource["AGENT"] = "AGENT";
101
- })(DataSource = exports.DataSource || (exports.DataSource = {}));
102
- var ContinuousExportStatus;
103
- (function (ContinuousExportStatus) {
104
- ContinuousExportStatus["ACTIVE"] = "ACTIVE";
105
- ContinuousExportStatus["ERROR"] = "ERROR";
106
- ContinuousExportStatus["INACTIVE"] = "INACTIVE";
107
- ContinuousExportStatus["START_FAILED"] = "START_FAILED";
108
- ContinuousExportStatus["START_IN_PROGRESS"] = "START_IN_PROGRESS";
109
- ContinuousExportStatus["STOP_FAILED"] = "STOP_FAILED";
110
- ContinuousExportStatus["STOP_IN_PROGRESS"] = "STOP_IN_PROGRESS";
111
- })(ContinuousExportStatus = exports.ContinuousExportStatus || (exports.ContinuousExportStatus = {}));
96
+ exports.DataSource = {
97
+ AGENT: "AGENT",
98
+ };
99
+ exports.ContinuousExportStatus = {
100
+ ACTIVE: "ACTIVE",
101
+ ERROR: "ERROR",
102
+ INACTIVE: "INACTIVE",
103
+ START_FAILED: "START_FAILED",
104
+ START_IN_PROGRESS: "START_IN_PROGRESS",
105
+ STOP_FAILED: "STOP_FAILED",
106
+ STOP_IN_PROGRESS: "STOP_IN_PROGRESS",
107
+ };
112
108
  class OperationNotPermittedException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
113
109
  constructor(opts) {
114
110
  super({
@@ -122,44 +118,39 @@ class OperationNotPermittedException extends ApplicationDiscoveryServiceServiceE
122
118
  }
123
119
  }
124
120
  exports.OperationNotPermittedException = OperationNotPermittedException;
125
- var ExportStatus;
126
- (function (ExportStatus) {
127
- ExportStatus["FAILED"] = "FAILED";
128
- ExportStatus["IN_PROGRESS"] = "IN_PROGRESS";
129
- ExportStatus["SUCCEEDED"] = "SUCCEEDED";
130
- })(ExportStatus = exports.ExportStatus || (exports.ExportStatus = {}));
131
- var ImportTaskFilterName;
132
- (function (ImportTaskFilterName) {
133
- ImportTaskFilterName["IMPORT_TASK_ID"] = "IMPORT_TASK_ID";
134
- ImportTaskFilterName["NAME"] = "NAME";
135
- ImportTaskFilterName["STATUS"] = "STATUS";
136
- })(ImportTaskFilterName = exports.ImportTaskFilterName || (exports.ImportTaskFilterName = {}));
137
- var ImportStatus;
138
- (function (ImportStatus) {
139
- ImportStatus["DELETE_COMPLETE"] = "DELETE_COMPLETE";
140
- ImportStatus["DELETE_FAILED"] = "DELETE_FAILED";
141
- ImportStatus["DELETE_FAILED_LIMIT_EXCEEDED"] = "DELETE_FAILED_LIMIT_EXCEEDED";
142
- ImportStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
143
- ImportStatus["IMPORT_COMPLETE"] = "IMPORT_COMPLETE";
144
- ImportStatus["IMPORT_COMPLETE_WITH_ERRORS"] = "IMPORT_COMPLETE_WITH_ERRORS";
145
- ImportStatus["IMPORT_FAILED"] = "IMPORT_FAILED";
146
- ImportStatus["IMPORT_FAILED_RECORD_LIMIT_EXCEEDED"] = "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED";
147
- ImportStatus["IMPORT_FAILED_SERVER_LIMIT_EXCEEDED"] = "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED";
148
- ImportStatus["IMPORT_IN_PROGRESS"] = "IMPORT_IN_PROGRESS";
149
- ImportStatus["INTERNAL_ERROR"] = "INTERNAL_ERROR";
150
- })(ImportStatus = exports.ImportStatus || (exports.ImportStatus = {}));
151
- var ConfigurationItemType;
152
- (function (ConfigurationItemType) {
153
- ConfigurationItemType["APPLICATION"] = "APPLICATION";
154
- ConfigurationItemType["CONNECTIONS"] = "CONNECTION";
155
- ConfigurationItemType["PROCESS"] = "PROCESS";
156
- ConfigurationItemType["SERVER"] = "SERVER";
157
- })(ConfigurationItemType = exports.ConfigurationItemType || (exports.ConfigurationItemType = {}));
158
- var OrderString;
159
- (function (OrderString) {
160
- OrderString["ASC"] = "ASC";
161
- OrderString["DESC"] = "DESC";
162
- })(OrderString = exports.OrderString || (exports.OrderString = {}));
121
+ exports.ExportStatus = {
122
+ FAILED: "FAILED",
123
+ IN_PROGRESS: "IN_PROGRESS",
124
+ SUCCEEDED: "SUCCEEDED",
125
+ };
126
+ exports.ImportTaskFilterName = {
127
+ IMPORT_TASK_ID: "IMPORT_TASK_ID",
128
+ NAME: "NAME",
129
+ STATUS: "STATUS",
130
+ };
131
+ exports.ImportStatus = {
132
+ DELETE_COMPLETE: "DELETE_COMPLETE",
133
+ DELETE_FAILED: "DELETE_FAILED",
134
+ DELETE_FAILED_LIMIT_EXCEEDED: "DELETE_FAILED_LIMIT_EXCEEDED",
135
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
136
+ IMPORT_COMPLETE: "IMPORT_COMPLETE",
137
+ IMPORT_COMPLETE_WITH_ERRORS: "IMPORT_COMPLETE_WITH_ERRORS",
138
+ IMPORT_FAILED: "IMPORT_FAILED",
139
+ IMPORT_FAILED_RECORD_LIMIT_EXCEEDED: "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED",
140
+ IMPORT_FAILED_SERVER_LIMIT_EXCEEDED: "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED",
141
+ IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS",
142
+ INTERNAL_ERROR: "INTERNAL_ERROR",
143
+ };
144
+ exports.ConfigurationItemType = {
145
+ APPLICATION: "APPLICATION",
146
+ CONNECTIONS: "CONNECTION",
147
+ PROCESS: "PROCESS",
148
+ SERVER: "SERVER",
149
+ };
150
+ exports.OrderString = {
151
+ ASC: "ASC",
152
+ DESC: "DESC",
153
+ };
163
154
  class ConflictErrorException extends ApplicationDiscoveryServiceServiceException_1.ApplicationDiscoveryServiceServiceException {
164
155
  constructor(opts) {
165
156
  super({
@@ -186,8 +177,7 @@ class ResourceInUseException extends ApplicationDiscoveryServiceServiceException
186
177
  }
187
178
  }
188
179
  exports.ResourceInUseException = ResourceInUseException;
189
- var ExportDataFormat;
190
- (function (ExportDataFormat) {
191
- ExportDataFormat["CSV"] = "CSV";
192
- ExportDataFormat["GRAPHML"] = "GRAPHML";
193
- })(ExportDataFormat = exports.ExportDataFormat || (exports.ExportDataFormat = {}));
180
+ exports.ExportDataFormat = {
181
+ CSV: "CSV",
182
+ GRAPHML: "GRAPHML",
183
+ };
@@ -1,13 +1,12 @@
1
1
  import { ApplicationDiscoveryServiceServiceException as __BaseException } from "./ApplicationDiscoveryServiceServiceException";
2
- export var AgentStatus;
3
- (function (AgentStatus) {
4
- AgentStatus["BLACKLISTED"] = "BLACKLISTED";
5
- AgentStatus["HEALTHY"] = "HEALTHY";
6
- AgentStatus["RUNNING"] = "RUNNING";
7
- AgentStatus["SHUTDOWN"] = "SHUTDOWN";
8
- AgentStatus["UNHEALTHY"] = "UNHEALTHY";
9
- AgentStatus["UNKNOWN"] = "UNKNOWN";
10
- })(AgentStatus || (AgentStatus = {}));
2
+ export const AgentStatus = {
3
+ BLACKLISTED: "BLACKLISTED",
4
+ HEALTHY: "HEALTHY",
5
+ RUNNING: "RUNNING",
6
+ SHUTDOWN: "SHUTDOWN",
7
+ UNHEALTHY: "UNHEALTHY",
8
+ UNKNOWN: "UNKNOWN",
9
+ };
11
10
  export class AuthorizationErrorException extends __BaseException {
12
11
  constructor(opts) {
13
12
  super({
@@ -68,12 +67,11 @@ export class ServerInternalErrorException extends __BaseException {
68
67
  Object.setPrototypeOf(this, ServerInternalErrorException.prototype);
69
68
  }
70
69
  }
71
- export var BatchDeleteImportDataErrorCode;
72
- (function (BatchDeleteImportDataErrorCode) {
73
- BatchDeleteImportDataErrorCode["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR";
74
- BatchDeleteImportDataErrorCode["NOT_FOUND"] = "NOT_FOUND";
75
- BatchDeleteImportDataErrorCode["OVER_LIMIT"] = "OVER_LIMIT";
76
- })(BatchDeleteImportDataErrorCode || (BatchDeleteImportDataErrorCode = {}));
70
+ export const BatchDeleteImportDataErrorCode = {
71
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
72
+ NOT_FOUND: "NOT_FOUND",
73
+ OVER_LIMIT: "OVER_LIMIT",
74
+ };
77
75
  export class ResourceNotFoundException extends __BaseException {
78
76
  constructor(opts) {
79
77
  super({
@@ -86,20 +84,18 @@ export class ResourceNotFoundException extends __BaseException {
86
84
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
87
85
  }
88
86
  }
89
- export var DataSource;
90
- (function (DataSource) {
91
- DataSource["AGENT"] = "AGENT";
92
- })(DataSource || (DataSource = {}));
93
- export var ContinuousExportStatus;
94
- (function (ContinuousExportStatus) {
95
- ContinuousExportStatus["ACTIVE"] = "ACTIVE";
96
- ContinuousExportStatus["ERROR"] = "ERROR";
97
- ContinuousExportStatus["INACTIVE"] = "INACTIVE";
98
- ContinuousExportStatus["START_FAILED"] = "START_FAILED";
99
- ContinuousExportStatus["START_IN_PROGRESS"] = "START_IN_PROGRESS";
100
- ContinuousExportStatus["STOP_FAILED"] = "STOP_FAILED";
101
- ContinuousExportStatus["STOP_IN_PROGRESS"] = "STOP_IN_PROGRESS";
102
- })(ContinuousExportStatus || (ContinuousExportStatus = {}));
87
+ export const DataSource = {
88
+ AGENT: "AGENT",
89
+ };
90
+ export const ContinuousExportStatus = {
91
+ ACTIVE: "ACTIVE",
92
+ ERROR: "ERROR",
93
+ INACTIVE: "INACTIVE",
94
+ START_FAILED: "START_FAILED",
95
+ START_IN_PROGRESS: "START_IN_PROGRESS",
96
+ STOP_FAILED: "STOP_FAILED",
97
+ STOP_IN_PROGRESS: "STOP_IN_PROGRESS",
98
+ };
103
99
  export class OperationNotPermittedException extends __BaseException {
104
100
  constructor(opts) {
105
101
  super({
@@ -112,44 +108,39 @@ export class OperationNotPermittedException extends __BaseException {
112
108
  Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
113
109
  }
114
110
  }
115
- export var ExportStatus;
116
- (function (ExportStatus) {
117
- ExportStatus["FAILED"] = "FAILED";
118
- ExportStatus["IN_PROGRESS"] = "IN_PROGRESS";
119
- ExportStatus["SUCCEEDED"] = "SUCCEEDED";
120
- })(ExportStatus || (ExportStatus = {}));
121
- export var ImportTaskFilterName;
122
- (function (ImportTaskFilterName) {
123
- ImportTaskFilterName["IMPORT_TASK_ID"] = "IMPORT_TASK_ID";
124
- ImportTaskFilterName["NAME"] = "NAME";
125
- ImportTaskFilterName["STATUS"] = "STATUS";
126
- })(ImportTaskFilterName || (ImportTaskFilterName = {}));
127
- export var ImportStatus;
128
- (function (ImportStatus) {
129
- ImportStatus["DELETE_COMPLETE"] = "DELETE_COMPLETE";
130
- ImportStatus["DELETE_FAILED"] = "DELETE_FAILED";
131
- ImportStatus["DELETE_FAILED_LIMIT_EXCEEDED"] = "DELETE_FAILED_LIMIT_EXCEEDED";
132
- ImportStatus["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
133
- ImportStatus["IMPORT_COMPLETE"] = "IMPORT_COMPLETE";
134
- ImportStatus["IMPORT_COMPLETE_WITH_ERRORS"] = "IMPORT_COMPLETE_WITH_ERRORS";
135
- ImportStatus["IMPORT_FAILED"] = "IMPORT_FAILED";
136
- ImportStatus["IMPORT_FAILED_RECORD_LIMIT_EXCEEDED"] = "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED";
137
- ImportStatus["IMPORT_FAILED_SERVER_LIMIT_EXCEEDED"] = "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED";
138
- ImportStatus["IMPORT_IN_PROGRESS"] = "IMPORT_IN_PROGRESS";
139
- ImportStatus["INTERNAL_ERROR"] = "INTERNAL_ERROR";
140
- })(ImportStatus || (ImportStatus = {}));
141
- export var ConfigurationItemType;
142
- (function (ConfigurationItemType) {
143
- ConfigurationItemType["APPLICATION"] = "APPLICATION";
144
- ConfigurationItemType["CONNECTIONS"] = "CONNECTION";
145
- ConfigurationItemType["PROCESS"] = "PROCESS";
146
- ConfigurationItemType["SERVER"] = "SERVER";
147
- })(ConfigurationItemType || (ConfigurationItemType = {}));
148
- export var OrderString;
149
- (function (OrderString) {
150
- OrderString["ASC"] = "ASC";
151
- OrderString["DESC"] = "DESC";
152
- })(OrderString || (OrderString = {}));
111
+ export const ExportStatus = {
112
+ FAILED: "FAILED",
113
+ IN_PROGRESS: "IN_PROGRESS",
114
+ SUCCEEDED: "SUCCEEDED",
115
+ };
116
+ export const ImportTaskFilterName = {
117
+ IMPORT_TASK_ID: "IMPORT_TASK_ID",
118
+ NAME: "NAME",
119
+ STATUS: "STATUS",
120
+ };
121
+ export const ImportStatus = {
122
+ DELETE_COMPLETE: "DELETE_COMPLETE",
123
+ DELETE_FAILED: "DELETE_FAILED",
124
+ DELETE_FAILED_LIMIT_EXCEEDED: "DELETE_FAILED_LIMIT_EXCEEDED",
125
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
126
+ IMPORT_COMPLETE: "IMPORT_COMPLETE",
127
+ IMPORT_COMPLETE_WITH_ERRORS: "IMPORT_COMPLETE_WITH_ERRORS",
128
+ IMPORT_FAILED: "IMPORT_FAILED",
129
+ IMPORT_FAILED_RECORD_LIMIT_EXCEEDED: "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED",
130
+ IMPORT_FAILED_SERVER_LIMIT_EXCEEDED: "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED",
131
+ IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS",
132
+ INTERNAL_ERROR: "INTERNAL_ERROR",
133
+ };
134
+ export const ConfigurationItemType = {
135
+ APPLICATION: "APPLICATION",
136
+ CONNECTIONS: "CONNECTION",
137
+ PROCESS: "PROCESS",
138
+ SERVER: "SERVER",
139
+ };
140
+ export const OrderString = {
141
+ ASC: "ASC",
142
+ DESC: "DESC",
143
+ };
153
144
  export class ConflictErrorException extends __BaseException {
154
145
  constructor(opts) {
155
146
  super({
@@ -174,8 +165,7 @@ export class ResourceInUseException extends __BaseException {
174
165
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
175
166
  }
176
167
  }
177
- export var ExportDataFormat;
178
- (function (ExportDataFormat) {
179
- ExportDataFormat["CSV"] = "CSV";
180
- ExportDataFormat["GRAPHML"] = "GRAPHML";
181
- })(ExportDataFormat || (ExportDataFormat = {}));
168
+ export const ExportDataFormat = {
169
+ CSV: "CSV",
170
+ GRAPHML: "GRAPHML",
171
+ };
@@ -39,15 +39,20 @@ export interface AgentNetworkInfo {
39
39
  }
40
40
  /**
41
41
  * @public
42
+ * @enum
42
43
  */
43
- export declare enum AgentStatus {
44
- BLACKLISTED = "BLACKLISTED",
45
- HEALTHY = "HEALTHY",
46
- RUNNING = "RUNNING",
47
- SHUTDOWN = "SHUTDOWN",
48
- UNHEALTHY = "UNHEALTHY",
49
- UNKNOWN = "UNKNOWN"
50
- }
44
+ export declare const AgentStatus: {
45
+ readonly BLACKLISTED: "BLACKLISTED";
46
+ readonly HEALTHY: "HEALTHY";
47
+ readonly RUNNING: "RUNNING";
48
+ readonly SHUTDOWN: "SHUTDOWN";
49
+ readonly UNHEALTHY: "UNHEALTHY";
50
+ readonly UNKNOWN: "UNKNOWN";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
51
56
  /**
52
57
  * @public
53
58
  * <p>Information about agents or connectors associated with the user’s Amazon Web Services account.
@@ -189,12 +194,17 @@ export interface BatchDeleteImportDataRequest {
189
194
  }
190
195
  /**
191
196
  * @public
197
+ * @enum
192
198
  */
193
- export declare enum BatchDeleteImportDataErrorCode {
194
- INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR",
195
- NOT_FOUND = "NOT_FOUND",
196
- OVER_LIMIT = "OVER_LIMIT"
197
- }
199
+ export declare const BatchDeleteImportDataErrorCode: {
200
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
201
+ readonly NOT_FOUND: "NOT_FOUND";
202
+ readonly OVER_LIMIT: "OVER_LIMIT";
203
+ };
204
+ /**
205
+ * @public
206
+ */
207
+ export type BatchDeleteImportDataErrorCode = (typeof BatchDeleteImportDataErrorCode)[keyof typeof BatchDeleteImportDataErrorCode];
198
208
  /**
199
209
  * @public
200
210
  * <p>Error messages returned for each import task that you deleted as a response for this
@@ -452,22 +462,32 @@ export interface DescribeContinuousExportsRequest {
452
462
  }
453
463
  /**
454
464
  * @public
465
+ * @enum
455
466
  */
456
- export declare enum DataSource {
457
- AGENT = "AGENT"
458
- }
467
+ export declare const DataSource: {
468
+ readonly AGENT: "AGENT";
469
+ };
459
470
  /**
460
471
  * @public
461
472
  */
462
- export declare enum ContinuousExportStatus {
463
- ACTIVE = "ACTIVE",
464
- ERROR = "ERROR",
465
- INACTIVE = "INACTIVE",
466
- START_FAILED = "START_FAILED",
467
- START_IN_PROGRESS = "START_IN_PROGRESS",
468
- STOP_FAILED = "STOP_FAILED",
469
- STOP_IN_PROGRESS = "STOP_IN_PROGRESS"
470
- }
473
+ export type DataSource = (typeof DataSource)[keyof typeof DataSource];
474
+ /**
475
+ * @public
476
+ * @enum
477
+ */
478
+ export declare const ContinuousExportStatus: {
479
+ readonly ACTIVE: "ACTIVE";
480
+ readonly ERROR: "ERROR";
481
+ readonly INACTIVE: "INACTIVE";
482
+ readonly START_FAILED: "START_FAILED";
483
+ readonly START_IN_PROGRESS: "START_IN_PROGRESS";
484
+ readonly STOP_FAILED: "STOP_FAILED";
485
+ readonly STOP_IN_PROGRESS: "STOP_IN_PROGRESS";
486
+ };
487
+ /**
488
+ * @public
489
+ */
490
+ export type ContinuousExportStatus = (typeof ContinuousExportStatus)[keyof typeof ContinuousExportStatus];
471
491
  /**
472
492
  * @public
473
493
  * <p>A list of continuous export descriptions.</p>
@@ -663,12 +683,17 @@ export interface DescribeExportConfigurationsRequest {
663
683
  }
664
684
  /**
665
685
  * @public
686
+ * @enum
666
687
  */
667
- export declare enum ExportStatus {
668
- FAILED = "FAILED",
669
- IN_PROGRESS = "IN_PROGRESS",
670
- SUCCEEDED = "SUCCEEDED"
671
- }
688
+ export declare const ExportStatus: {
689
+ readonly FAILED: "FAILED";
690
+ readonly IN_PROGRESS: "IN_PROGRESS";
691
+ readonly SUCCEEDED: "SUCCEEDED";
692
+ };
693
+ /**
694
+ * @public
695
+ */
696
+ export type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus];
672
697
  /**
673
698
  * @public
674
699
  * <p>Information regarding the export status of discovered data. The value is an array of
@@ -807,12 +832,17 @@ export interface DescribeExportTasksResponse {
807
832
  }
808
833
  /**
809
834
  * @public
835
+ * @enum
810
836
  */
811
- export declare enum ImportTaskFilterName {
812
- IMPORT_TASK_ID = "IMPORT_TASK_ID",
813
- NAME = "NAME",
814
- STATUS = "STATUS"
815
- }
837
+ export declare const ImportTaskFilterName: {
838
+ readonly IMPORT_TASK_ID: "IMPORT_TASK_ID";
839
+ readonly NAME: "NAME";
840
+ readonly STATUS: "STATUS";
841
+ };
842
+ /**
843
+ * @public
844
+ */
845
+ export type ImportTaskFilterName = (typeof ImportTaskFilterName)[keyof typeof ImportTaskFilterName];
816
846
  /**
817
847
  * @public
818
848
  * <p>A name-values pair of elements you can use to filter the results when querying your import
@@ -853,20 +883,25 @@ export interface DescribeImportTasksRequest {
853
883
  }
854
884
  /**
855
885
  * @public
886
+ * @enum
856
887
  */
857
- export declare enum ImportStatus {
858
- DELETE_COMPLETE = "DELETE_COMPLETE",
859
- DELETE_FAILED = "DELETE_FAILED",
860
- DELETE_FAILED_LIMIT_EXCEEDED = "DELETE_FAILED_LIMIT_EXCEEDED",
861
- DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS",
862
- IMPORT_COMPLETE = "IMPORT_COMPLETE",
863
- IMPORT_COMPLETE_WITH_ERRORS = "IMPORT_COMPLETE_WITH_ERRORS",
864
- IMPORT_FAILED = "IMPORT_FAILED",
865
- IMPORT_FAILED_RECORD_LIMIT_EXCEEDED = "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED",
866
- IMPORT_FAILED_SERVER_LIMIT_EXCEEDED = "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED",
867
- IMPORT_IN_PROGRESS = "IMPORT_IN_PROGRESS",
868
- INTERNAL_ERROR = "INTERNAL_ERROR"
869
- }
888
+ export declare const ImportStatus: {
889
+ readonly DELETE_COMPLETE: "DELETE_COMPLETE";
890
+ readonly DELETE_FAILED: "DELETE_FAILED";
891
+ readonly DELETE_FAILED_LIMIT_EXCEEDED: "DELETE_FAILED_LIMIT_EXCEEDED";
892
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
893
+ readonly IMPORT_COMPLETE: "IMPORT_COMPLETE";
894
+ readonly IMPORT_COMPLETE_WITH_ERRORS: "IMPORT_COMPLETE_WITH_ERRORS";
895
+ readonly IMPORT_FAILED: "IMPORT_FAILED";
896
+ readonly IMPORT_FAILED_RECORD_LIMIT_EXCEEDED: "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED";
897
+ readonly IMPORT_FAILED_SERVER_LIMIT_EXCEEDED: "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED";
898
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
899
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
900
+ };
901
+ /**
902
+ * @public
903
+ */
904
+ export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
870
905
  /**
871
906
  * @public
872
907
  * <p>An array of information related to the import task request that includes status
@@ -1000,13 +1035,18 @@ export interface DescribeTagsRequest {
1000
1035
  }
1001
1036
  /**
1002
1037
  * @public
1038
+ * @enum
1003
1039
  */
1004
- export declare enum ConfigurationItemType {
1005
- APPLICATION = "APPLICATION",
1006
- CONNECTIONS = "CONNECTION",
1007
- PROCESS = "PROCESS",
1008
- SERVER = "SERVER"
1009
- }
1040
+ export declare const ConfigurationItemType: {
1041
+ readonly APPLICATION: "APPLICATION";
1042
+ readonly CONNECTIONS: "CONNECTION";
1043
+ readonly PROCESS: "PROCESS";
1044
+ readonly SERVER: "SERVER";
1045
+ };
1046
+ /**
1047
+ * @public
1048
+ */
1049
+ export type ConfigurationItemType = (typeof ConfigurationItemType)[keyof typeof ConfigurationItemType];
1010
1050
  /**
1011
1051
  * @public
1012
1052
  * <p>Tags for a configuration item. Tags are metadata that help you categorize IT
@@ -1252,11 +1292,16 @@ export interface GetDiscoverySummaryResponse {
1252
1292
  }
1253
1293
  /**
1254
1294
  * @public
1295
+ * @enum
1255
1296
  */
1256
- export declare enum OrderString {
1257
- ASC = "ASC",
1258
- DESC = "DESC"
1259
- }
1297
+ export declare const OrderString: {
1298
+ readonly ASC: "ASC";
1299
+ readonly DESC: "DESC";
1300
+ };
1301
+ /**
1302
+ * @public
1303
+ */
1304
+ export type OrderString = (typeof OrderString)[keyof typeof OrderString];
1260
1305
  /**
1261
1306
  * @public
1262
1307
  * <p>A field and direction for ordered output.</p>
@@ -1496,11 +1541,16 @@ export interface StartDataCollectionByAgentIdsResponse {
1496
1541
  }
1497
1542
  /**
1498
1543
  * @public
1544
+ * @enum
1499
1545
  */
1500
- export declare enum ExportDataFormat {
1501
- CSV = "CSV",
1502
- GRAPHML = "GRAPHML"
1503
- }
1546
+ export declare const ExportDataFormat: {
1547
+ readonly CSV: "CSV";
1548
+ readonly GRAPHML: "GRAPHML";
1549
+ };
1550
+ /**
1551
+ * @public
1552
+ */
1553
+ export type ExportDataFormat = (typeof ExportDataFormat)[keyof typeof ExportDataFormat];
1504
1554
  /**
1505
1555
  * @public
1506
1556
  */
@@ -9,14 +9,15 @@ export interface AgentNetworkInfo {
9
9
  ipAddress?: string;
10
10
  macAddress?: string;
11
11
  }
12
- export declare enum AgentStatus {
13
- BLACKLISTED = "BLACKLISTED",
14
- HEALTHY = "HEALTHY",
15
- RUNNING = "RUNNING",
16
- SHUTDOWN = "SHUTDOWN",
17
- UNHEALTHY = "UNHEALTHY",
18
- UNKNOWN = "UNKNOWN",
19
- }
12
+ export declare const AgentStatus: {
13
+ readonly BLACKLISTED: "BLACKLISTED";
14
+ readonly HEALTHY: "HEALTHY";
15
+ readonly RUNNING: "RUNNING";
16
+ readonly SHUTDOWN: "SHUTDOWN";
17
+ readonly UNHEALTHY: "UNHEALTHY";
18
+ readonly UNKNOWN: "UNKNOWN";
19
+ };
20
+ export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
20
21
  export interface AgentInfo {
21
22
  agentId?: string;
22
23
  hostName?: string;
@@ -72,11 +73,13 @@ export declare class ServerInternalErrorException extends __BaseException {
72
73
  export interface BatchDeleteImportDataRequest {
73
74
  importTaskIds: string[] | undefined;
74
75
  }
75
- export declare enum BatchDeleteImportDataErrorCode {
76
- INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR",
77
- NOT_FOUND = "NOT_FOUND",
78
- OVER_LIMIT = "OVER_LIMIT",
79
- }
76
+ export declare const BatchDeleteImportDataErrorCode: {
77
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
78
+ readonly NOT_FOUND: "NOT_FOUND";
79
+ readonly OVER_LIMIT: "OVER_LIMIT";
80
+ };
81
+ export type BatchDeleteImportDataErrorCode =
82
+ (typeof BatchDeleteImportDataErrorCode)[keyof typeof BatchDeleteImportDataErrorCode];
80
83
  export interface BatchDeleteImportDataError {
81
84
  importTaskId?: string;
82
85
  errorCode?: BatchDeleteImportDataErrorCode | string;
@@ -143,18 +146,21 @@ export interface DescribeContinuousExportsRequest {
143
146
  maxResults?: number;
144
147
  nextToken?: string;
145
148
  }
146
- export declare enum DataSource {
147
- AGENT = "AGENT",
148
- }
149
- export declare enum ContinuousExportStatus {
150
- ACTIVE = "ACTIVE",
151
- ERROR = "ERROR",
152
- INACTIVE = "INACTIVE",
153
- START_FAILED = "START_FAILED",
154
- START_IN_PROGRESS = "START_IN_PROGRESS",
155
- STOP_FAILED = "STOP_FAILED",
156
- STOP_IN_PROGRESS = "STOP_IN_PROGRESS",
157
- }
149
+ export declare const DataSource: {
150
+ readonly AGENT: "AGENT";
151
+ };
152
+ export type DataSource = (typeof DataSource)[keyof typeof DataSource];
153
+ export declare const ContinuousExportStatus: {
154
+ readonly ACTIVE: "ACTIVE";
155
+ readonly ERROR: "ERROR";
156
+ readonly INACTIVE: "INACTIVE";
157
+ readonly START_FAILED: "START_FAILED";
158
+ readonly START_IN_PROGRESS: "START_IN_PROGRESS";
159
+ readonly STOP_FAILED: "STOP_FAILED";
160
+ readonly STOP_IN_PROGRESS: "STOP_IN_PROGRESS";
161
+ };
162
+ export type ContinuousExportStatus =
163
+ (typeof ContinuousExportStatus)[keyof typeof ContinuousExportStatus];
158
164
  export interface ContinuousExportDescription {
159
165
  exportId?: string;
160
166
  status?: ContinuousExportStatus | string;
@@ -181,11 +187,12 @@ export interface DescribeExportConfigurationsRequest {
181
187
  maxResults?: number;
182
188
  nextToken?: string;
183
189
  }
184
- export declare enum ExportStatus {
185
- FAILED = "FAILED",
186
- IN_PROGRESS = "IN_PROGRESS",
187
- SUCCEEDED = "SUCCEEDED",
188
- }
190
+ export declare const ExportStatus: {
191
+ readonly FAILED: "FAILED";
192
+ readonly IN_PROGRESS: "IN_PROGRESS";
193
+ readonly SUCCEEDED: "SUCCEEDED";
194
+ };
195
+ export type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus];
189
196
  export interface ExportInfo {
190
197
  exportId: string | undefined;
191
198
  exportStatus: ExportStatus | string | undefined;
@@ -215,11 +222,13 @@ export interface DescribeExportTasksResponse {
215
222
  exportsInfo?: ExportInfo[];
216
223
  nextToken?: string;
217
224
  }
218
- export declare enum ImportTaskFilterName {
219
- IMPORT_TASK_ID = "IMPORT_TASK_ID",
220
- NAME = "NAME",
221
- STATUS = "STATUS",
222
- }
225
+ export declare const ImportTaskFilterName: {
226
+ readonly IMPORT_TASK_ID: "IMPORT_TASK_ID";
227
+ readonly NAME: "NAME";
228
+ readonly STATUS: "STATUS";
229
+ };
230
+ export type ImportTaskFilterName =
231
+ (typeof ImportTaskFilterName)[keyof typeof ImportTaskFilterName];
223
232
  export interface ImportTaskFilter {
224
233
  name?: ImportTaskFilterName | string;
225
234
  values?: string[];
@@ -229,19 +238,20 @@ export interface DescribeImportTasksRequest {
229
238
  maxResults?: number;
230
239
  nextToken?: string;
231
240
  }
232
- export declare enum ImportStatus {
233
- DELETE_COMPLETE = "DELETE_COMPLETE",
234
- DELETE_FAILED = "DELETE_FAILED",
235
- DELETE_FAILED_LIMIT_EXCEEDED = "DELETE_FAILED_LIMIT_EXCEEDED",
236
- DELETE_IN_PROGRESS = "DELETE_IN_PROGRESS",
237
- IMPORT_COMPLETE = "IMPORT_COMPLETE",
238
- IMPORT_COMPLETE_WITH_ERRORS = "IMPORT_COMPLETE_WITH_ERRORS",
239
- IMPORT_FAILED = "IMPORT_FAILED",
240
- IMPORT_FAILED_RECORD_LIMIT_EXCEEDED = "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED",
241
- IMPORT_FAILED_SERVER_LIMIT_EXCEEDED = "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED",
242
- IMPORT_IN_PROGRESS = "IMPORT_IN_PROGRESS",
243
- INTERNAL_ERROR = "INTERNAL_ERROR",
244
- }
241
+ export declare const ImportStatus: {
242
+ readonly DELETE_COMPLETE: "DELETE_COMPLETE";
243
+ readonly DELETE_FAILED: "DELETE_FAILED";
244
+ readonly DELETE_FAILED_LIMIT_EXCEEDED: "DELETE_FAILED_LIMIT_EXCEEDED";
245
+ readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
246
+ readonly IMPORT_COMPLETE: "IMPORT_COMPLETE";
247
+ readonly IMPORT_COMPLETE_WITH_ERRORS: "IMPORT_COMPLETE_WITH_ERRORS";
248
+ readonly IMPORT_FAILED: "IMPORT_FAILED";
249
+ readonly IMPORT_FAILED_RECORD_LIMIT_EXCEEDED: "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED";
250
+ readonly IMPORT_FAILED_SERVER_LIMIT_EXCEEDED: "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED";
251
+ readonly IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS";
252
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
253
+ };
254
+ export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus];
245
255
  export interface ImportTask {
246
256
  importTaskId?: string;
247
257
  clientRequestToken?: string;
@@ -270,12 +280,14 @@ export interface DescribeTagsRequest {
270
280
  maxResults?: number;
271
281
  nextToken?: string;
272
282
  }
273
- export declare enum ConfigurationItemType {
274
- APPLICATION = "APPLICATION",
275
- CONNECTIONS = "CONNECTION",
276
- PROCESS = "PROCESS",
277
- SERVER = "SERVER",
278
- }
283
+ export declare const ConfigurationItemType: {
284
+ readonly APPLICATION: "APPLICATION";
285
+ readonly CONNECTIONS: "CONNECTION";
286
+ readonly PROCESS: "PROCESS";
287
+ readonly SERVER: "SERVER";
288
+ };
289
+ export type ConfigurationItemType =
290
+ (typeof ConfigurationItemType)[keyof typeof ConfigurationItemType];
279
291
  export interface ConfigurationTag {
280
292
  configurationType?: ConfigurationItemType | string;
281
293
  configurationId?: string;
@@ -342,10 +354,11 @@ export interface GetDiscoverySummaryResponse {
342
354
  meCollectorSummary?: CustomerMeCollectorInfo;
343
355
  agentlessCollectorSummary?: CustomerAgentlessCollectorInfo;
344
356
  }
345
- export declare enum OrderString {
346
- ASC = "ASC",
347
- DESC = "DESC",
348
- }
357
+ export declare const OrderString: {
358
+ readonly ASC: "ASC";
359
+ readonly DESC: "DESC";
360
+ };
361
+ export type OrderString = (typeof OrderString)[keyof typeof OrderString];
349
362
  export interface OrderByElement {
350
363
  fieldName: string | undefined;
351
364
  sortOrder?: OrderString | string;
@@ -408,10 +421,12 @@ export interface StartDataCollectionByAgentIdsRequest {
408
421
  export interface StartDataCollectionByAgentIdsResponse {
409
422
  agentsConfigurationStatus?: AgentConfigurationStatus[];
410
423
  }
411
- export declare enum ExportDataFormat {
412
- CSV = "CSV",
413
- GRAPHML = "GRAPHML",
414
- }
424
+ export declare const ExportDataFormat: {
425
+ readonly CSV: "CSV";
426
+ readonly GRAPHML: "GRAPHML";
427
+ };
428
+ export type ExportDataFormat =
429
+ (typeof ExportDataFormat)[keyof typeof ExportDataFormat];
415
430
  export interface StartExportTaskRequest {
416
431
  exportDataFormat?: (ExportDataFormat | string)[];
417
432
  filters?: ExportFilter[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-application-discovery-service",
3
3
  "description": "AWS SDK for JavaScript Application Discovery Service Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.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,43 +21,43 @@
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",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.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.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",