@aws-sdk/client-application-discovery-service 3.353.0 → 3.354.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/README.md +33 -40
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +26 -2
- package/dist-cjs/protocols/Aws_json1_1.js +26 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +25 -1
- package/dist-es/protocols/Aws_json1_1.js +28 -2
- package/dist-types/ApplicationDiscoveryService.d.ts +33 -40
- package/dist-types/ApplicationDiscoveryServiceClient.d.ts +33 -40
- package/dist-types/commands/AssociateConfigurationItemsToApplicationCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteImportDataCommand.d.ts +3 -3
- package/dist-types/commands/CreateApplicationCommand.d.ts +3 -3
- package/dist-types/commands/CreateTagsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteApplicationsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTagsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAgentsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeContinuousExportsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeExportConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeImportTasksCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTagsCommand.d.ts +4 -4
- package/dist-types/commands/DisassociateConfigurationItemsFromApplicationCommand.d.ts +3 -3
- package/dist-types/commands/ExportConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/GetDiscoverySummaryCommand.d.ts +3 -3
- package/dist-types/commands/ListConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/ListServerNeighborsCommand.d.ts +3 -3
- package/dist-types/commands/StartContinuousExportCommand.d.ts +3 -3
- package/dist-types/commands/StartDataCollectionByAgentIdsCommand.d.ts +4 -4
- package/dist-types/commands/StartExportTaskCommand.d.ts +46 -10
- package/dist-types/commands/StartImportTaskCommand.d.ts +10 -9
- package/dist-types/commands/StopContinuousExportCommand.d.ts +3 -3
- package/dist-types/commands/StopDataCollectionByAgentIdsCommand.d.ts +4 -4
- package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/index.d.ts +33 -40
- package/dist-types/models/models_0.d.ts +283 -88
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +61 -1
- package/package.json +9 -9
|
@@ -2,19 +2,19 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { ApplicationDiscoveryServiceServiceException as __BaseException } from "./ApplicationDiscoveryServiceServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
-
* <p>Information about agents
|
|
6
|
-
* Information includes the agent
|
|
7
|
-
* agent
|
|
5
|
+
* <p>Information about agents that were instructed to start collecting data.
|
|
6
|
+
* Information includes the agent ID, a description of the operation, and whether the
|
|
7
|
+
* agent configuration was updated.</p>
|
|
8
8
|
*/
|
|
9
9
|
export interface AgentConfigurationStatus {
|
|
10
10
|
/**
|
|
11
|
-
* <p>The agent
|
|
11
|
+
* <p>The agent ID.</p>
|
|
12
12
|
*/
|
|
13
13
|
agentId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* <p>Information about the status of the <code>StartDataCollection</code> and
|
|
16
16
|
* <code>StopDataCollection</code> operations. The system has recorded the data collection
|
|
17
|
-
* operation. The agent
|
|
17
|
+
* operation. The agent receives this command the next time it polls for a new command.
|
|
18
18
|
* </p>
|
|
19
19
|
*/
|
|
20
20
|
operationSucceeded?: boolean;
|
|
@@ -25,15 +25,15 @@ export interface AgentConfigurationStatus {
|
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* @public
|
|
28
|
-
* <p>Network details about the host where the agent/
|
|
28
|
+
* <p>Network details about the host where the agent/collector resides.</p>
|
|
29
29
|
*/
|
|
30
30
|
export interface AgentNetworkInfo {
|
|
31
31
|
/**
|
|
32
|
-
* <p>The IP address for the host where the agent/
|
|
32
|
+
* <p>The IP address for the host where the agent/collector resides.</p>
|
|
33
33
|
*/
|
|
34
34
|
ipAddress?: string;
|
|
35
35
|
/**
|
|
36
|
-
* <p>The MAC address for the host where the agent/
|
|
36
|
+
* <p>The MAC address for the host where the agent/collector resides.</p>
|
|
37
37
|
*/
|
|
38
38
|
macAddress?: string;
|
|
39
39
|
}
|
|
@@ -55,23 +55,23 @@ export declare const AgentStatus: {
|
|
|
55
55
|
export type AgentStatus = (typeof AgentStatus)[keyof typeof AgentStatus];
|
|
56
56
|
/**
|
|
57
57
|
* @public
|
|
58
|
-
* <p>Information about agents
|
|
59
|
-
* Information includes agent
|
|
60
|
-
* addresses, agent or
|
|
58
|
+
* <p>Information about agents associated with the user’s Amazon Web Services account.
|
|
59
|
+
* Information includes agent IDs, IP addresses, media access control (MAC)
|
|
60
|
+
* addresses, agent or collector status, hostname where the agent resides, and agent
|
|
61
61
|
* version for each agent.</p>
|
|
62
62
|
*/
|
|
63
63
|
export interface AgentInfo {
|
|
64
64
|
/**
|
|
65
|
-
* <p>The agent or
|
|
65
|
+
* <p>The agent or collector ID.</p>
|
|
66
66
|
*/
|
|
67
67
|
agentId?: string;
|
|
68
68
|
/**
|
|
69
|
-
* <p>The name of the host where the agent or
|
|
69
|
+
* <p>The name of the host where the agent or collector resides. The host can be a server or
|
|
70
70
|
* virtual machine.</p>
|
|
71
71
|
*/
|
|
72
72
|
hostName?: string;
|
|
73
73
|
/**
|
|
74
|
-
* <p>Network details about the host where the agent or
|
|
74
|
+
* <p>Network details about the host where the agent or collector resides.</p>
|
|
75
75
|
*/
|
|
76
76
|
agentNetworkInfoList?: AgentNetworkInfo[];
|
|
77
77
|
/**
|
|
@@ -79,19 +79,19 @@ export interface AgentInfo {
|
|
|
79
79
|
*/
|
|
80
80
|
connectorId?: string;
|
|
81
81
|
/**
|
|
82
|
-
* <p>The agent or
|
|
82
|
+
* <p>The agent or collector version.</p>
|
|
83
83
|
*/
|
|
84
84
|
version?: string;
|
|
85
85
|
/**
|
|
86
|
-
* <p>The health of the agent
|
|
86
|
+
* <p>The health of the agent.</p>
|
|
87
87
|
*/
|
|
88
88
|
health?: AgentStatus | string;
|
|
89
89
|
/**
|
|
90
|
-
* <p>Time since agent
|
|
90
|
+
* <p>Time since agent health was reported.</p>
|
|
91
91
|
*/
|
|
92
92
|
lastHealthPingTime?: string;
|
|
93
93
|
/**
|
|
94
|
-
* <p>Status of the collection process for an agent
|
|
94
|
+
* <p>Status of the collection process for an agent.</p>
|
|
95
95
|
*/
|
|
96
96
|
collectionStatus?: string;
|
|
97
97
|
/**
|
|
@@ -123,8 +123,8 @@ export interface AssociateConfigurationItemsToApplicationResponse {
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* @public
|
|
126
|
-
* <p>The
|
|
127
|
-
* policy associated with this
|
|
126
|
+
* <p>The user does not have permission to perform the action. Check the IAM
|
|
127
|
+
* policy associated with this user.</p>
|
|
128
128
|
*/
|
|
129
129
|
export declare class AuthorizationErrorException extends __BaseException {
|
|
130
130
|
readonly name: "AuthorizationErrorException";
|
|
@@ -136,7 +136,7 @@ export declare class AuthorizationErrorException extends __BaseException {
|
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
* @public
|
|
139
|
-
* <p>The home
|
|
139
|
+
* <p>The home Region is not set. Set the home Region to continue.</p>
|
|
140
140
|
*/
|
|
141
141
|
export declare class HomeRegionNotSetException extends __BaseException {
|
|
142
142
|
readonly name: "HomeRegionNotSetException";
|
|
@@ -379,9 +379,8 @@ export interface Filter {
|
|
|
379
379
|
*/
|
|
380
380
|
export interface DescribeAgentsRequest {
|
|
381
381
|
/**
|
|
382
|
-
* <p>The agent or the
|
|
383
|
-
* the system returns information about all agents/
|
|
384
|
-
* account.</p>
|
|
382
|
+
* <p>The agent or the collector IDs for which you want information. If you specify no IDs,
|
|
383
|
+
* the system returns information about all agents/collectors associated with your user.</p>
|
|
385
384
|
*/
|
|
386
385
|
agentIds?: string[];
|
|
387
386
|
/**
|
|
@@ -393,7 +392,7 @@ export interface DescribeAgentsRequest {
|
|
|
393
392
|
*/
|
|
394
393
|
filters?: Filter[];
|
|
395
394
|
/**
|
|
396
|
-
* <p>The total number of agents/
|
|
395
|
+
* <p>The total number of agents/collectors to return in a single page of output. The maximum
|
|
397
396
|
* value is 100.</p>
|
|
398
397
|
*/
|
|
399
398
|
maxResults?: number;
|
|
@@ -410,10 +409,10 @@ export interface DescribeAgentsRequest {
|
|
|
410
409
|
*/
|
|
411
410
|
export interface DescribeAgentsResponse {
|
|
412
411
|
/**
|
|
413
|
-
* <p>Lists agents or the
|
|
414
|
-
* user
|
|
415
|
-
* IDs, IP addresses, media access control (MAC) addresses, agent/
|
|
416
|
-
* where the agent/
|
|
412
|
+
* <p>Lists agents or the collector by ID or lists all agents/collectors associated with your
|
|
413
|
+
* user, if you did not specify an agent/collector ID. The output includes agent/collector
|
|
414
|
+
* IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name
|
|
415
|
+
* where the agent/collector resides, and the version number of each agent/collector.</p>
|
|
417
416
|
*/
|
|
418
417
|
agentsInfo?: AgentInfo[];
|
|
419
418
|
/**
|
|
@@ -545,13 +544,12 @@ export interface ContinuousExportDescription {
|
|
|
545
544
|
* </li>
|
|
546
545
|
* <li>
|
|
547
546
|
* <p>FIREHOSE_ROLE_MISSING - The Data Exploration feature is in an error state because
|
|
548
|
-
* your
|
|
549
|
-
* Exploration in Amazon Athena and try again. For more information, see <a href="
|
|
550
|
-
* Attaching Policies</a> in the Application Discovery Service User Guide.</p>
|
|
547
|
+
* your user is missing the Amazon Web ServicesApplicationDiscoveryServiceFirehose role. Turn on Data
|
|
548
|
+
* Exploration in Amazon Athena and try again. For more information, see <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-create-firehose-role">Creating the Amazon Web ServicesApplicationDiscoveryServiceFirehose Role</a> in the Application Discovery Service User Guide.</p>
|
|
551
549
|
* </li>
|
|
552
550
|
* <li>
|
|
553
551
|
* <p>FIREHOSE_STREAM_DOES_NOT_EXIST - The Data Exploration feature is in an error state
|
|
554
|
-
* because your
|
|
552
|
+
* because your user is missing one or more of the Kinesis data delivery
|
|
555
553
|
* streams.</p>
|
|
556
554
|
* </li>
|
|
557
555
|
* <li>
|
|
@@ -569,23 +567,23 @@ export interface ContinuousExportDescription {
|
|
|
569
567
|
* <li>
|
|
570
568
|
* <p>If you don’t want to use the Lake Formation permission model, you can change
|
|
571
569
|
* the default Data Catalog settings to use only Amazon Web Services Identity and Access Management
|
|
572
|
-
* (IAM) access control for new databases. For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/getting-started-setup.html#setup-change-cat-settings">Change Data Catalog Settings</a> in the <i>Lake Formation
|
|
573
|
-
*
|
|
570
|
+
* (IAM) access control for new databases. For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/getting-started-setup.html#setup-change-cat-settings">Change Data Catalog Settings</a> in the <i>Lake Formation Developer
|
|
571
|
+
* Guide</i>.</p>
|
|
574
572
|
* </li>
|
|
575
573
|
* <li>
|
|
576
574
|
* <p>You can give the service-linked IAM roles
|
|
577
575
|
* AWSServiceRoleForApplicationDiscoveryServiceContinuousExport and
|
|
578
576
|
* AWSApplicationDiscoveryServiceFirehose the required Lake Formation permissions. For
|
|
579
577
|
* more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/granting-database-permissions.html">
|
|
580
|
-
* Granting Database Permissions</a> in the <i>Lake Formation
|
|
581
|
-
*
|
|
578
|
+
* Granting Database Permissions</a> in the <i>Lake Formation Developer
|
|
579
|
+
* Guide</i>. </p>
|
|
582
580
|
* <ol>
|
|
583
581
|
* <li>
|
|
584
582
|
* <p>AWSServiceRoleForApplicationDiscoveryServiceContinuousExport - Grant
|
|
585
583
|
* database creator permissions, which gives the role database creation ability and
|
|
586
584
|
* implicit permissions for any created tables. For more information, see <a href="https://docs.aws.amazon.com/lake-formation/latest/dg/implicit-permissions.html">
|
|
587
|
-
* Implicit Lake Formation Permissions </a> in the <i>Lake
|
|
588
|
-
*
|
|
585
|
+
* Implicit Lake Formation Permissions </a> in the <i>Lake Formation
|
|
586
|
+
* Developer Guide</i>.</p>
|
|
589
587
|
* </li>
|
|
590
588
|
* <li>
|
|
591
589
|
* <p>AWSApplicationDiscoveryServiceFirehose - Grant describe permissions for all
|
|
@@ -597,13 +595,12 @@ export interface ContinuousExportDescription {
|
|
|
597
595
|
* </li>
|
|
598
596
|
* <li>
|
|
599
597
|
* <p>S3_BUCKET_LIMIT_FAILURE - You reached the limit for Amazon S3 buckets. Reduce the
|
|
600
|
-
* number of S3 buckets or request a limit increase and try again. For more
|
|
601
|
-
*
|
|
602
|
-
*
|
|
603
|
-
* Guide.</p>
|
|
598
|
+
* number of S3 buckets or request a limit increase and try again. For more information, see
|
|
599
|
+
* <a href="http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html">Bucket Restrictions and Limitations</a> in the Amazon Simple Storage Service
|
|
600
|
+
* Developer Guide.</p>
|
|
604
601
|
* </li>
|
|
605
602
|
* <li>
|
|
606
|
-
* <p>S3_NOT_SIGNED_UP - Your account is not signed up for the
|
|
603
|
+
* <p>S3_NOT_SIGNED_UP - Your account is not signed up for the Amazon S3 service. You
|
|
607
604
|
* must sign up before you can use Amazon S3. You can sign up at the following URL: <a href="https://aws.amazon.com/s3">https://aws.amazon.com/s3</a>.</p>
|
|
608
605
|
* </li>
|
|
609
606
|
* </ul>
|
|
@@ -1126,14 +1123,37 @@ export interface GetDiscoverySummaryRequest {
|
|
|
1126
1123
|
}
|
|
1127
1124
|
/**
|
|
1128
1125
|
* @public
|
|
1126
|
+
* <p>The inventory data for installed Agentless Collector collectors. </p>
|
|
1129
1127
|
*/
|
|
1130
1128
|
export interface CustomerAgentlessCollectorInfo {
|
|
1129
|
+
/**
|
|
1130
|
+
* <p>The number of active Agentless Collector collectors. </p>
|
|
1131
|
+
*/
|
|
1131
1132
|
activeAgentlessCollectors: number | undefined;
|
|
1133
|
+
/**
|
|
1134
|
+
* <p>The number of healthy Agentless Collector collectors. </p>
|
|
1135
|
+
*/
|
|
1132
1136
|
healthyAgentlessCollectors: number | undefined;
|
|
1137
|
+
/**
|
|
1138
|
+
* <p>The number of deny-listed Agentless Collector collectors. </p>
|
|
1139
|
+
*/
|
|
1133
1140
|
denyListedAgentlessCollectors: number | undefined;
|
|
1141
|
+
/**
|
|
1142
|
+
* <p>The number of Agentless Collector collectors with <code>SHUTDOWN</code> status.
|
|
1143
|
+
* </p>
|
|
1144
|
+
*/
|
|
1134
1145
|
shutdownAgentlessCollectors: number | undefined;
|
|
1146
|
+
/**
|
|
1147
|
+
* <p> The number of unhealthy Agentless Collector collectors. </p>
|
|
1148
|
+
*/
|
|
1135
1149
|
unhealthyAgentlessCollectors: number | undefined;
|
|
1150
|
+
/**
|
|
1151
|
+
* <p> The total number of Agentless Collector collectors. </p>
|
|
1152
|
+
*/
|
|
1136
1153
|
totalAgentlessCollectors: number | undefined;
|
|
1154
|
+
/**
|
|
1155
|
+
* <p> The number of unknown Agentless Collector collectors. </p>
|
|
1156
|
+
*/
|
|
1137
1157
|
unknownAgentlessCollectors: number | undefined;
|
|
1138
1158
|
}
|
|
1139
1159
|
/**
|
|
@@ -1206,51 +1226,35 @@ export interface CustomerConnectorInfo {
|
|
|
1206
1226
|
}
|
|
1207
1227
|
/**
|
|
1208
1228
|
* @public
|
|
1209
|
-
* <p>
|
|
1210
|
-
* The inventory data for installed Migration Evaluator collectors.
|
|
1211
|
-
* </p>
|
|
1229
|
+
* <p> The inventory data for installed Migration Evaluator collectors. </p>
|
|
1212
1230
|
*/
|
|
1213
1231
|
export interface CustomerMeCollectorInfo {
|
|
1214
1232
|
/**
|
|
1215
|
-
* <p>
|
|
1216
|
-
* The number of active Migration Evaluator collectors.
|
|
1217
|
-
* </p>
|
|
1233
|
+
* <p> The number of active Migration Evaluator collectors. </p>
|
|
1218
1234
|
*/
|
|
1219
1235
|
activeMeCollectors: number | undefined;
|
|
1220
1236
|
/**
|
|
1221
|
-
* <p>
|
|
1222
|
-
* The number of healthy Migration Evaluator collectors.
|
|
1223
|
-
* </p>
|
|
1237
|
+
* <p> The number of healthy Migration Evaluator collectors. </p>
|
|
1224
1238
|
*/
|
|
1225
1239
|
healthyMeCollectors: number | undefined;
|
|
1226
1240
|
/**
|
|
1227
|
-
* <p>
|
|
1228
|
-
* The number of deny-listed Migration Evaluator collectors.
|
|
1229
|
-
* </p>
|
|
1241
|
+
* <p> The number of deny-listed Migration Evaluator collectors. </p>
|
|
1230
1242
|
*/
|
|
1231
1243
|
denyListedMeCollectors: number | undefined;
|
|
1232
1244
|
/**
|
|
1233
|
-
* <p>
|
|
1234
|
-
* The number of Migration Evaluator collectors with <code>SHUTDOWN</code> status.
|
|
1235
|
-
* </p>
|
|
1245
|
+
* <p> The number of Migration Evaluator collectors with <code>SHUTDOWN</code> status. </p>
|
|
1236
1246
|
*/
|
|
1237
1247
|
shutdownMeCollectors: number | undefined;
|
|
1238
1248
|
/**
|
|
1239
|
-
* <p>
|
|
1240
|
-
* The number of unhealthy Migration Evaluator collectors.
|
|
1241
|
-
* </p>
|
|
1249
|
+
* <p> The number of unhealthy Migration Evaluator collectors. </p>
|
|
1242
1250
|
*/
|
|
1243
1251
|
unhealthyMeCollectors: number | undefined;
|
|
1244
1252
|
/**
|
|
1245
|
-
* <p>
|
|
1246
|
-
* The total number of Migration Evaluator collectors.
|
|
1247
|
-
* </p>
|
|
1253
|
+
* <p> The total number of Migration Evaluator collectors. </p>
|
|
1248
1254
|
*/
|
|
1249
1255
|
totalMeCollectors: number | undefined;
|
|
1250
1256
|
/**
|
|
1251
|
-
* <p>
|
|
1252
|
-
* The number of unknown Migration Evaluator collectors.
|
|
1253
|
-
* </p>
|
|
1257
|
+
* <p> The number of unknown Migration Evaluator collectors. </p>
|
|
1254
1258
|
*/
|
|
1255
1259
|
unknownMeCollectors: number | undefined;
|
|
1256
1260
|
}
|
|
@@ -1283,11 +1287,12 @@ export interface GetDiscoverySummaryResponse {
|
|
|
1283
1287
|
*/
|
|
1284
1288
|
connectorSummary?: CustomerConnectorInfo;
|
|
1285
1289
|
/**
|
|
1286
|
-
* <p>
|
|
1287
|
-
* Details about Migration Evaluator collectors, including collector status and health.
|
|
1288
|
-
* </p>
|
|
1290
|
+
* <p> Details about Migration Evaluator collectors, including collector status and health. </p>
|
|
1289
1291
|
*/
|
|
1290
1292
|
meCollectorSummary?: CustomerMeCollectorInfo;
|
|
1293
|
+
/**
|
|
1294
|
+
* <p> Details about Agentless Collector collectors, including status. </p>
|
|
1295
|
+
*/
|
|
1291
1296
|
agentlessCollectorSummary?: CustomerAgentlessCollectorInfo;
|
|
1292
1297
|
}
|
|
1293
1298
|
/**
|
|
@@ -1518,13 +1523,13 @@ export interface StartContinuousExportResponse {
|
|
|
1518
1523
|
*/
|
|
1519
1524
|
export interface StartDataCollectionByAgentIdsRequest {
|
|
1520
1525
|
/**
|
|
1521
|
-
* <p>The IDs of the agents
|
|
1522
|
-
*
|
|
1523
|
-
*
|
|
1524
|
-
* <i>Description</i> field. If you send a request to multiple agents
|
|
1525
|
-
*
|
|
1526
|
-
*
|
|
1527
|
-
*
|
|
1526
|
+
* <p>The IDs of the agents from which to start collecting data. If you send a request to an
|
|
1527
|
+
* agent ID that you do not have permission to contact, according to your Amazon Web Services account, the
|
|
1528
|
+
* service does not throw an exception. Instead, it returns the error in the
|
|
1529
|
+
* <i>Description</i> field. If you send a request to multiple agents and you do
|
|
1530
|
+
* not have permission to contact some of those agents, the system does not throw an exception.
|
|
1531
|
+
* Instead, the system shows <code>Failed</code> in the <i>Description</i>
|
|
1532
|
+
* field.</p>
|
|
1528
1533
|
*/
|
|
1529
1534
|
agentIds: string[] | undefined;
|
|
1530
1535
|
}
|
|
@@ -1533,9 +1538,9 @@ export interface StartDataCollectionByAgentIdsRequest {
|
|
|
1533
1538
|
*/
|
|
1534
1539
|
export interface StartDataCollectionByAgentIdsResponse {
|
|
1535
1540
|
/**
|
|
1536
|
-
* <p>Information about agents
|
|
1537
|
-
*
|
|
1538
|
-
*
|
|
1541
|
+
* <p>Information about agents that were instructed to start collecting data. Information
|
|
1542
|
+
* includes the agent ID, a description of the operation performed, and whether the agent
|
|
1543
|
+
* configuration was updated.</p>
|
|
1539
1544
|
*/
|
|
1540
1545
|
agentsConfigurationStatus?: AgentConfigurationStatus[];
|
|
1541
1546
|
}
|
|
@@ -1545,12 +1550,195 @@ export interface StartDataCollectionByAgentIdsResponse {
|
|
|
1545
1550
|
*/
|
|
1546
1551
|
export declare const ExportDataFormat: {
|
|
1547
1552
|
readonly CSV: "CSV";
|
|
1548
|
-
readonly GRAPHML: "GRAPHML";
|
|
1549
1553
|
};
|
|
1550
1554
|
/**
|
|
1551
1555
|
* @public
|
|
1552
1556
|
*/
|
|
1553
1557
|
export type ExportDataFormat = (typeof ExportDataFormat)[keyof typeof ExportDataFormat];
|
|
1558
|
+
/**
|
|
1559
|
+
* @public
|
|
1560
|
+
* <p>
|
|
1561
|
+
* Specifies the performance metrics to use for the server that is used for recommendations.
|
|
1562
|
+
* </p>
|
|
1563
|
+
*/
|
|
1564
|
+
export interface UsageMetricBasis {
|
|
1565
|
+
/**
|
|
1566
|
+
* <p>
|
|
1567
|
+
* A utilization metric that is used by the recommendations.
|
|
1568
|
+
* </p>
|
|
1569
|
+
*/
|
|
1570
|
+
name?: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* <p>
|
|
1573
|
+
* Specifies the percentage of the specified utilization metric that is used by the recommendations.
|
|
1574
|
+
* </p>
|
|
1575
|
+
*/
|
|
1576
|
+
percentageAdjust?: number;
|
|
1577
|
+
}
|
|
1578
|
+
/**
|
|
1579
|
+
* @public
|
|
1580
|
+
* @enum
|
|
1581
|
+
*/
|
|
1582
|
+
export declare const OfferingClass: {
|
|
1583
|
+
readonly CONVERTIBLE: "CONVERTIBLE";
|
|
1584
|
+
readonly STANDARD: "STANDARD";
|
|
1585
|
+
};
|
|
1586
|
+
/**
|
|
1587
|
+
* @public
|
|
1588
|
+
*/
|
|
1589
|
+
export type OfferingClass = (typeof OfferingClass)[keyof typeof OfferingClass];
|
|
1590
|
+
/**
|
|
1591
|
+
* @public
|
|
1592
|
+
* @enum
|
|
1593
|
+
*/
|
|
1594
|
+
export declare const PurchasingOption: {
|
|
1595
|
+
readonly ALL_UPFRONT: "ALL_UPFRONT";
|
|
1596
|
+
readonly NO_UPFRONT: "NO_UPFRONT";
|
|
1597
|
+
readonly PARTIAL_UPFRONT: "PARTIAL_UPFRONT";
|
|
1598
|
+
};
|
|
1599
|
+
/**
|
|
1600
|
+
* @public
|
|
1601
|
+
*/
|
|
1602
|
+
export type PurchasingOption = (typeof PurchasingOption)[keyof typeof PurchasingOption];
|
|
1603
|
+
/**
|
|
1604
|
+
* @public
|
|
1605
|
+
* @enum
|
|
1606
|
+
*/
|
|
1607
|
+
export declare const TermLength: {
|
|
1608
|
+
readonly ONE_YEAR: "ONE_YEAR";
|
|
1609
|
+
readonly THREE_YEAR: "THREE_YEAR";
|
|
1610
|
+
};
|
|
1611
|
+
/**
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1614
|
+
export type TermLength = (typeof TermLength)[keyof typeof TermLength];
|
|
1615
|
+
/**
|
|
1616
|
+
* @public
|
|
1617
|
+
* <p>
|
|
1618
|
+
* Used to provide Reserved Instance preferences for the recommendation.
|
|
1619
|
+
* </p>
|
|
1620
|
+
*/
|
|
1621
|
+
export interface ReservedInstanceOptions {
|
|
1622
|
+
/**
|
|
1623
|
+
* <p>
|
|
1624
|
+
* The payment plan to use for your Reserved Instance.
|
|
1625
|
+
* </p>
|
|
1626
|
+
*/
|
|
1627
|
+
purchasingOption: PurchasingOption | string | undefined;
|
|
1628
|
+
/**
|
|
1629
|
+
* <p>
|
|
1630
|
+
* The flexibility to change the instance types needed for your Reserved Instance.
|
|
1631
|
+
* </p>
|
|
1632
|
+
*/
|
|
1633
|
+
offeringClass: OfferingClass | string | undefined;
|
|
1634
|
+
/**
|
|
1635
|
+
* <p>
|
|
1636
|
+
* The preferred duration of the Reserved Instance term.
|
|
1637
|
+
* </p>
|
|
1638
|
+
*/
|
|
1639
|
+
termLength: TermLength | string | undefined;
|
|
1640
|
+
}
|
|
1641
|
+
/**
|
|
1642
|
+
* @public
|
|
1643
|
+
* @enum
|
|
1644
|
+
*/
|
|
1645
|
+
export declare const Tenancy: {
|
|
1646
|
+
readonly DEDICATED: "DEDICATED";
|
|
1647
|
+
readonly SHARED: "SHARED";
|
|
1648
|
+
};
|
|
1649
|
+
/**
|
|
1650
|
+
* @public
|
|
1651
|
+
*/
|
|
1652
|
+
export type Tenancy = (typeof Tenancy)[keyof typeof Tenancy];
|
|
1653
|
+
/**
|
|
1654
|
+
* @public
|
|
1655
|
+
* <p>
|
|
1656
|
+
* Indicates that the exported data must include EC2 instance type matches for on-premises servers
|
|
1657
|
+
* that are discovered through Amazon Web Services Application Discovery Service.
|
|
1658
|
+
* </p>
|
|
1659
|
+
*/
|
|
1660
|
+
export interface Ec2RecommendationsExportPreferences {
|
|
1661
|
+
/**
|
|
1662
|
+
* <p>
|
|
1663
|
+
* If set to true, the export
|
|
1664
|
+
* <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html#API_StartExportTask_RequestSyntax">preferences</a>
|
|
1665
|
+
* is set to <code>Ec2RecommendationsExportPreferences</code>.
|
|
1666
|
+
* </p>
|
|
1667
|
+
*/
|
|
1668
|
+
enabled?: boolean;
|
|
1669
|
+
/**
|
|
1670
|
+
* <p>
|
|
1671
|
+
* The recommended EC2 instance type that matches the CPU usage metric of server performance data.
|
|
1672
|
+
* </p>
|
|
1673
|
+
*/
|
|
1674
|
+
cpuPerformanceMetricBasis?: UsageMetricBasis;
|
|
1675
|
+
/**
|
|
1676
|
+
* <p>
|
|
1677
|
+
* The recommended EC2 instance type that matches the Memory usage metric of server performance data.
|
|
1678
|
+
* </p>
|
|
1679
|
+
*/
|
|
1680
|
+
ramPerformanceMetricBasis?: UsageMetricBasis;
|
|
1681
|
+
/**
|
|
1682
|
+
* <p>
|
|
1683
|
+
* The target tenancy to use for your recommended EC2 instances.
|
|
1684
|
+
* </p>
|
|
1685
|
+
*/
|
|
1686
|
+
tenancy?: Tenancy | string;
|
|
1687
|
+
/**
|
|
1688
|
+
* <p>
|
|
1689
|
+
* An array of instance types to exclude from recommendations.
|
|
1690
|
+
* </p>
|
|
1691
|
+
*/
|
|
1692
|
+
excludedInstanceTypes?: string[];
|
|
1693
|
+
/**
|
|
1694
|
+
* <p>
|
|
1695
|
+
* The target Amazon Web Services Region for the recommendations.
|
|
1696
|
+
* You can use any of the Region codes available for the chosen service,
|
|
1697
|
+
* as listed in <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html">Amazon Web Services service endpoints</a> in the <i>Amazon Web Services General Reference</i>.
|
|
1698
|
+
* </p>
|
|
1699
|
+
*/
|
|
1700
|
+
preferredRegion?: string;
|
|
1701
|
+
/**
|
|
1702
|
+
* <p>
|
|
1703
|
+
* The contract type for a reserved instance.
|
|
1704
|
+
* If blank, we assume an On-Demand instance is preferred.
|
|
1705
|
+
* </p>
|
|
1706
|
+
*/
|
|
1707
|
+
reservedInstanceOptions?: ReservedInstanceOptions;
|
|
1708
|
+
}
|
|
1709
|
+
/**
|
|
1710
|
+
* @public
|
|
1711
|
+
* <p>
|
|
1712
|
+
* Indicates the type of data that is being exported. Only one
|
|
1713
|
+
* <code>ExportPreferences</code> can be enabled for a
|
|
1714
|
+
* <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html">StartExportTask</a> action.
|
|
1715
|
+
* </p>
|
|
1716
|
+
*/
|
|
1717
|
+
export type ExportPreferences = ExportPreferences.Ec2RecommendationsPreferencesMember | ExportPreferences.$UnknownMember;
|
|
1718
|
+
/**
|
|
1719
|
+
* @public
|
|
1720
|
+
*/
|
|
1721
|
+
export declare namespace ExportPreferences {
|
|
1722
|
+
/**
|
|
1723
|
+
* <p>
|
|
1724
|
+
* If enabled, exported data includes EC2 instance type matches for on-premises servers
|
|
1725
|
+
* discovered through Amazon Web Services Application Discovery Service.
|
|
1726
|
+
* </p>
|
|
1727
|
+
*/
|
|
1728
|
+
interface Ec2RecommendationsPreferencesMember {
|
|
1729
|
+
ec2RecommendationsPreferences: Ec2RecommendationsExportPreferences;
|
|
1730
|
+
$unknown?: never;
|
|
1731
|
+
}
|
|
1732
|
+
interface $UnknownMember {
|
|
1733
|
+
ec2RecommendationsPreferences?: never;
|
|
1734
|
+
$unknown: [string, any];
|
|
1735
|
+
}
|
|
1736
|
+
interface Visitor<T> {
|
|
1737
|
+
ec2RecommendationsPreferences: (value: Ec2RecommendationsExportPreferences) => T;
|
|
1738
|
+
_: (name: string, value: any) => T;
|
|
1739
|
+
}
|
|
1740
|
+
const visit: <T>(value: ExportPreferences, visitor: Visitor<T>) => T;
|
|
1741
|
+
}
|
|
1554
1742
|
/**
|
|
1555
1743
|
* @public
|
|
1556
1744
|
*/
|
|
@@ -1569,8 +1757,8 @@ export interface StartExportTaskRequest {
|
|
|
1569
1757
|
* Discovery Agent for which data is exported. The <code>agentId</code> can be found in the
|
|
1570
1758
|
* results of the <code>DescribeAgents</code> API or CLI. If no filter is present,
|
|
1571
1759
|
* <code>startTime</code> and <code>endTime</code> are ignored and exported data includes both
|
|
1572
|
-
*
|
|
1573
|
-
*
|
|
1760
|
+
* Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery
|
|
1761
|
+
* Agent agents. </p>
|
|
1574
1762
|
*/
|
|
1575
1763
|
filters?: ExportFilter[];
|
|
1576
1764
|
/**
|
|
@@ -1585,6 +1773,13 @@ export interface StartExportTaskRequest {
|
|
|
1585
1773
|
* collected by the agent.</p>
|
|
1586
1774
|
*/
|
|
1587
1775
|
endTime?: Date;
|
|
1776
|
+
/**
|
|
1777
|
+
* <p>
|
|
1778
|
+
* Indicates the type of data that needs to be exported. Only one
|
|
1779
|
+
* <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_ExportPreferences.html">ExportPreferences</a> can be enabled at any time.
|
|
1780
|
+
* </p>
|
|
1781
|
+
*/
|
|
1782
|
+
preferences?: ExportPreferences;
|
|
1588
1783
|
}
|
|
1589
1784
|
/**
|
|
1590
1785
|
* @public
|
|
@@ -1662,7 +1857,7 @@ export interface StopContinuousExportResponse {
|
|
|
1662
1857
|
*/
|
|
1663
1858
|
export interface StopDataCollectionByAgentIdsRequest {
|
|
1664
1859
|
/**
|
|
1665
|
-
* <p>The IDs of the agents
|
|
1860
|
+
* <p>The IDs of the agents from which to stop collecting data.</p>
|
|
1666
1861
|
*/
|
|
1667
1862
|
agentIds: string[] | undefined;
|
|
1668
1863
|
}
|
|
@@ -1671,9 +1866,9 @@ export interface StopDataCollectionByAgentIdsRequest {
|
|
|
1671
1866
|
*/
|
|
1672
1867
|
export interface StopDataCollectionByAgentIdsResponse {
|
|
1673
1868
|
/**
|
|
1674
|
-
* <p>Information about the agents
|
|
1675
|
-
*
|
|
1676
|
-
*
|
|
1869
|
+
* <p>Information about the agents that were instructed to stop collecting data. Information
|
|
1870
|
+
* includes the agent ID, a description of the operation performed, and whether the agent
|
|
1871
|
+
* configuration was updated.</p>
|
|
1677
1872
|
*/
|
|
1678
1873
|
agentsConfigurationStatus?: AgentConfigurationStatus[];
|
|
1679
1874
|
}
|
|
@@ -25,7 +25,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
25
25
|
defaultSigningName: string;
|
|
26
26
|
};
|
|
27
27
|
export interface EndpointParameters extends __EndpointParameters {
|
|
28
|
-
Region
|
|
28
|
+
Region?: string;
|
|
29
29
|
UseDualStack?: boolean;
|
|
30
30
|
UseFIPS?: boolean;
|
|
31
31
|
Endpoint?: string;
|