@aws-sdk/client-application-discovery-service 3.428.0 → 3.429.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.
@@ -96,7 +96,7 @@ export interface AgentInfo {
96
96
  * @public
97
97
  * <p>The health of the agent.</p>
98
98
  */
99
- health?: AgentStatus | string;
99
+ health?: AgentStatus;
100
100
  /**
101
101
  * @public
102
102
  * <p>Time since agent health was reported.</p>
@@ -238,7 +238,7 @@ export interface BatchDeleteImportDataError {
238
238
  * @public
239
239
  * <p>The type of error that occurred for a specific import task.</p>
240
240
  */
241
- errorCode?: BatchDeleteImportDataErrorCode | string;
241
+ errorCode?: BatchDeleteImportDataErrorCode;
242
242
  /**
243
243
  * @public
244
244
  * <p>The description of the error that occurred for a specific import task.</p>
@@ -574,7 +574,7 @@ export interface ContinuousExportDescription {
574
574
  * </li>
575
575
  * </ul>
576
576
  */
577
- status?: ContinuousExportStatus | string;
577
+ status?: ContinuousExportStatus;
578
578
  /**
579
579
  * @public
580
580
  * <p>Contains information about any errors that have occurred. This data type can have the
@@ -675,7 +675,7 @@ export interface ContinuousExportDescription {
675
675
  * <p>The type of data collector used to gather this data (currently only offered for
676
676
  * AGENT).</p>
677
677
  */
678
- dataSource?: DataSource | string;
678
+ dataSource?: DataSource;
679
679
  /**
680
680
  * @public
681
681
  * <p>An object which describes how the data is stored.</p>
@@ -765,7 +765,7 @@ export interface ExportInfo {
765
765
  * @public
766
766
  * <p>The status of the data export job.</p>
767
767
  */
768
- exportStatus: ExportStatus | string | undefined;
768
+ exportStatus: ExportStatus | undefined;
769
769
  /**
770
770
  * @public
771
771
  * <p>A status message provided for API callers.</p>
@@ -931,7 +931,7 @@ export interface ImportTaskFilter {
931
931
  * @public
932
932
  * <p>The name, status, or import task ID for a specific import task.</p>
933
933
  */
934
- name?: ImportTaskFilterName | string;
934
+ name?: ImportTaskFilterName;
935
935
  /**
936
936
  * @public
937
937
  * <p>An array of strings that you can provide to match against a specific name, status, or
@@ -1021,7 +1021,7 @@ export interface ImportTask {
1021
1021
  * <code>errorsAndFailedEntriesZip</code> field, or in the Migration Hub management
1022
1022
  * console.</p>
1023
1023
  */
1024
- status?: ImportStatus | string;
1024
+ status?: ImportStatus;
1025
1025
  /**
1026
1026
  * @public
1027
1027
  * <p>The time that the import task request was made, presented in the Unix time stamp
@@ -1157,7 +1157,7 @@ export interface ConfigurationTag {
1157
1157
  * @public
1158
1158
  * <p>A type of IT asset to tag.</p>
1159
1159
  */
1160
- configurationType?: ConfigurationItemType | string;
1160
+ configurationType?: ConfigurationItemType;
1161
1161
  /**
1162
1162
  * @public
1163
1163
  * <p>The configuration ID for the item to tag. You can specify a list of keys and
@@ -1470,7 +1470,7 @@ export interface OrderByElement {
1470
1470
  * @public
1471
1471
  * <p>Ordering direction.</p>
1472
1472
  */
1473
- sortOrder?: OrderString | string;
1473
+ sortOrder?: OrderString;
1474
1474
  }
1475
1475
  /**
1476
1476
  * @public
@@ -1480,7 +1480,7 @@ export interface ListConfigurationsRequest {
1480
1480
  * @public
1481
1481
  * <p>A valid configuration identified by Application Discovery Service. </p>
1482
1482
  */
1483
- configurationType: ConfigurationItemType | string | undefined;
1483
+ configurationType: ConfigurationItemType | undefined;
1484
1484
  /**
1485
1485
  * @public
1486
1486
  * <p>You can filter the request using various logical operators and a
@@ -1680,7 +1680,7 @@ export interface StartContinuousExportResponse {
1680
1680
  * <p>The type of data collector used to gather this data (currently only offered for
1681
1681
  * AGENT).</p>
1682
1682
  */
1683
- dataSource?: DataSource | string;
1683
+ dataSource?: DataSource;
1684
1684
  /**
1685
1685
  * @public
1686
1686
  * <p>A dictionary which describes how the data is stored.</p>
@@ -1805,21 +1805,21 @@ export interface ReservedInstanceOptions {
1805
1805
  * The payment plan to use for your Reserved Instance.
1806
1806
  * </p>
1807
1807
  */
1808
- purchasingOption: PurchasingOption | string | undefined;
1808
+ purchasingOption: PurchasingOption | undefined;
1809
1809
  /**
1810
1810
  * @public
1811
1811
  * <p>
1812
1812
  * The flexibility to change the instance types needed for your Reserved Instance.
1813
1813
  * </p>
1814
1814
  */
1815
- offeringClass: OfferingClass | string | undefined;
1815
+ offeringClass: OfferingClass | undefined;
1816
1816
  /**
1817
1817
  * @public
1818
1818
  * <p>
1819
1819
  * The preferred duration of the Reserved Instance term.
1820
1820
  * </p>
1821
1821
  */
1822
- termLength: TermLength | string | undefined;
1822
+ termLength: TermLength | undefined;
1823
1823
  }
1824
1824
  /**
1825
1825
  * @public
@@ -1870,7 +1870,7 @@ export interface Ec2RecommendationsExportPreferences {
1870
1870
  * The target tenancy to use for your recommended EC2 instances.
1871
1871
  * </p>
1872
1872
  */
1873
- tenancy?: Tenancy | string;
1873
+ tenancy?: Tenancy;
1874
1874
  /**
1875
1875
  * @public
1876
1876
  * <p>
@@ -1946,7 +1946,7 @@ export interface StartExportTaskRequest {
1946
1946
  * <i>option has been deprecated.</i>
1947
1947
  * </p>
1948
1948
  */
1949
- exportDataFormat?: (ExportDataFormat | string)[];
1949
+ exportDataFormat?: ExportDataFormat[];
1950
1950
  /**
1951
1951
  * @public
1952
1952
  * <p>If a filter is present, it selects the single <code>agentId</code> of the Application
@@ -24,7 +24,7 @@ export interface AgentInfo {
24
24
  agentNetworkInfoList?: AgentNetworkInfo[];
25
25
  connectorId?: string;
26
26
  version?: string;
27
- health?: AgentStatus | string;
27
+ health?: AgentStatus;
28
28
  lastHealthPingTime?: string;
29
29
  collectionStatus?: string;
30
30
  agentType?: string;
@@ -82,7 +82,7 @@ export type BatchDeleteImportDataErrorCode =
82
82
  (typeof BatchDeleteImportDataErrorCode)[keyof typeof BatchDeleteImportDataErrorCode];
83
83
  export interface BatchDeleteImportDataError {
84
84
  importTaskId?: string;
85
- errorCode?: BatchDeleteImportDataErrorCode | string;
85
+ errorCode?: BatchDeleteImportDataErrorCode;
86
86
  errorDescription?: string;
87
87
  }
88
88
  export interface BatchDeleteImportDataResponse {
@@ -163,12 +163,12 @@ export type ContinuousExportStatus =
163
163
  (typeof ContinuousExportStatus)[keyof typeof ContinuousExportStatus];
164
164
  export interface ContinuousExportDescription {
165
165
  exportId?: string;
166
- status?: ContinuousExportStatus | string;
166
+ status?: ContinuousExportStatus;
167
167
  statusDetail?: string;
168
168
  s3Bucket?: string;
169
169
  startTime?: Date;
170
170
  stopTime?: Date;
171
- dataSource?: DataSource | string;
171
+ dataSource?: DataSource;
172
172
  schemaStorageConfig?: Record<string, string>;
173
173
  }
174
174
  export interface DescribeContinuousExportsResponse {
@@ -195,7 +195,7 @@ export declare const ExportStatus: {
195
195
  export type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus];
196
196
  export interface ExportInfo {
197
197
  exportId: string | undefined;
198
- exportStatus: ExportStatus | string | undefined;
198
+ exportStatus: ExportStatus | undefined;
199
199
  statusMessage: string | undefined;
200
200
  configurationsDownloadUrl?: string;
201
201
  exportRequestTime: Date | undefined;
@@ -230,7 +230,7 @@ export declare const ImportTaskFilterName: {
230
230
  export type ImportTaskFilterName =
231
231
  (typeof ImportTaskFilterName)[keyof typeof ImportTaskFilterName];
232
232
  export interface ImportTaskFilter {
233
- name?: ImportTaskFilterName | string;
233
+ name?: ImportTaskFilterName;
234
234
  values?: string[];
235
235
  }
236
236
  export interface DescribeImportTasksRequest {
@@ -257,7 +257,7 @@ export interface ImportTask {
257
257
  clientRequestToken?: string;
258
258
  name?: string;
259
259
  importUrl?: string;
260
- status?: ImportStatus | string;
260
+ status?: ImportStatus;
261
261
  importRequestTime?: Date;
262
262
  importCompletionTime?: Date;
263
263
  importDeletedTime?: Date;
@@ -289,7 +289,7 @@ export declare const ConfigurationItemType: {
289
289
  export type ConfigurationItemType =
290
290
  (typeof ConfigurationItemType)[keyof typeof ConfigurationItemType];
291
291
  export interface ConfigurationTag {
292
- configurationType?: ConfigurationItemType | string;
292
+ configurationType?: ConfigurationItemType;
293
293
  configurationId?: string;
294
294
  key?: string;
295
295
  value?: string;
@@ -361,10 +361,10 @@ export declare const OrderString: {
361
361
  export type OrderString = (typeof OrderString)[keyof typeof OrderString];
362
362
  export interface OrderByElement {
363
363
  fieldName: string | undefined;
364
- sortOrder?: OrderString | string;
364
+ sortOrder?: OrderString;
365
365
  }
366
366
  export interface ListConfigurationsRequest {
367
- configurationType: ConfigurationItemType | string | undefined;
367
+ configurationType: ConfigurationItemType | undefined;
368
368
  filters?: Filter[];
369
369
  maxResults?: number;
370
370
  nextToken?: string;
@@ -412,7 +412,7 @@ export interface StartContinuousExportResponse {
412
412
  exportId?: string;
413
413
  s3Bucket?: string;
414
414
  startTime?: Date;
415
- dataSource?: DataSource | string;
415
+ dataSource?: DataSource;
416
416
  schemaStorageConfig?: Record<string, string>;
417
417
  }
418
418
  export interface StartDataCollectionByAgentIdsRequest {
@@ -448,9 +448,9 @@ export declare const TermLength: {
448
448
  };
449
449
  export type TermLength = (typeof TermLength)[keyof typeof TermLength];
450
450
  export interface ReservedInstanceOptions {
451
- purchasingOption: PurchasingOption | string | undefined;
452
- offeringClass: OfferingClass | string | undefined;
453
- termLength: TermLength | string | undefined;
451
+ purchasingOption: PurchasingOption | undefined;
452
+ offeringClass: OfferingClass | undefined;
453
+ termLength: TermLength | undefined;
454
454
  }
455
455
  export declare const Tenancy: {
456
456
  readonly DEDICATED: "DEDICATED";
@@ -461,7 +461,7 @@ export interface Ec2RecommendationsExportPreferences {
461
461
  enabled?: boolean;
462
462
  cpuPerformanceMetricBasis?: UsageMetricBasis;
463
463
  ramPerformanceMetricBasis?: UsageMetricBasis;
464
- tenancy?: Tenancy | string;
464
+ tenancy?: Tenancy;
465
465
  excludedInstanceTypes?: string[];
466
466
  preferredRegion?: string;
467
467
  reservedInstanceOptions?: ReservedInstanceOptions;
@@ -487,7 +487,7 @@ export declare namespace ExportPreferences {
487
487
  const visit: <T>(value: ExportPreferences, visitor: Visitor<T>) => T;
488
488
  }
489
489
  export interface StartExportTaskRequest {
490
- exportDataFormat?: (ExportDataFormat | string)[];
490
+ exportDataFormat?: ExportDataFormat[];
491
491
  filters?: ExportFilter[];
492
492
  startTime?: Date;
493
493
  endTime?: Date;
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.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",