@aws-sdk/client-application-discovery-service 3.352.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 +11 -11
package/README.md
CHANGED
|
@@ -8,26 +8,27 @@ AWS SDK for JavaScript ApplicationDiscoveryService Client for Node.js, Browser a
|
|
|
8
8
|
|
|
9
9
|
<fullname>Amazon Web Services Application Discovery Service</fullname>
|
|
10
10
|
|
|
11
|
-
<p>Amazon Web Services Application Discovery Service helps you plan application migration projects. It
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
Application Discovery Service offers three ways of performing discovery and
|
|
15
|
-
|
|
11
|
+
<p>Amazon Web Services Application Discovery Service (Application Discovery Service) helps you plan application migration projects. It automatically
|
|
12
|
+
identifies servers, virtual machines (VMs), and network dependencies in your on-premises data
|
|
13
|
+
centers. For more information, see the <a href="http://aws.amazon.com/application-discovery/faqs/">Amazon Web Services Application Discovery Service FAQ</a>. </p>
|
|
14
|
+
<p>Application Discovery Service offers three ways of performing discovery and collecting
|
|
15
|
+
data about your on-premises servers:</p>
|
|
16
16
|
<ul>
|
|
17
17
|
<li>
|
|
18
18
|
<p>
|
|
19
|
-
<b>Agentless discovery</b>
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
<b>Agentless discovery</b> using
|
|
20
|
+
Amazon Web Services Application Discovery Service Agentless Collector (Agentless Collector), which doesn't require you
|
|
21
|
+
to install an agent on each host.</p>
|
|
22
22
|
<ul>
|
|
23
23
|
<li>
|
|
24
|
-
<p>Agentless
|
|
25
|
-
systems, which minimizes the time required for initial on-premises
|
|
26
|
-
assessment.</p>
|
|
24
|
+
<p>Agentless Collector gathers server information regardless of the
|
|
25
|
+
operating systems, which minimizes the time required for initial on-premises
|
|
26
|
+
infrastructure assessment.</p>
|
|
27
27
|
</li>
|
|
28
28
|
<li>
|
|
29
|
-
<p>Agentless
|
|
30
|
-
agent-based discovery collects that information
|
|
29
|
+
<p>Agentless Collector doesn't collect information about network
|
|
30
|
+
dependencies, only agent-based discovery collects that information.
|
|
31
|
+
</p>
|
|
31
32
|
</li>
|
|
32
33
|
</ul>
|
|
33
34
|
</li>
|
|
@@ -35,9 +36,9 @@ agent-based discovery collects that information.</p>
|
|
|
35
36
|
<ul>
|
|
36
37
|
<li>
|
|
37
38
|
<p>
|
|
38
|
-
<b>Agent-based discovery</b>
|
|
39
|
-
|
|
40
|
-
on one or more hosts in your data center.</p>
|
|
39
|
+
<b>Agent-based discovery</b> using the Amazon Web Services Application
|
|
40
|
+
Discovery Agent (Application Discovery Agent) collects a richer set of data than agentless
|
|
41
|
+
discovery, which you install on one or more hosts in your data center.</p>
|
|
41
42
|
<ul>
|
|
42
43
|
<li>
|
|
43
44
|
<p> The agent captures infrastructure and application information, including an
|
|
@@ -46,7 +47,9 @@ and network dependencies.</p>
|
|
|
46
47
|
</li>
|
|
47
48
|
<li>
|
|
48
49
|
<p>The information collected by agents is secured at rest and in transit to the
|
|
49
|
-
Application Discovery Service database in the cloud.
|
|
50
|
+
Application Discovery Service database in the Amazon Web Services cloud. For more information, see
|
|
51
|
+
<a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-agent.html">Amazon Web Services Application
|
|
52
|
+
Discovery Agent</a>.</p>
|
|
50
53
|
</li>
|
|
51
54
|
</ul>
|
|
52
55
|
</li>
|
|
@@ -56,8 +59,8 @@ Application Discovery Service database in the cloud. </p>
|
|
|
56
59
|
<p>
|
|
57
60
|
<b>Amazon Web Services Partner Network (APN) solutions</b> integrate with
|
|
58
61
|
Application Discovery Service, enabling you to import details of your on-premises
|
|
59
|
-
environment directly into
|
|
60
|
-
|
|
62
|
+
environment directly into Amazon Web Services Migration Hub (Migration Hub) without using
|
|
63
|
+
Agentless Collector or Application Discovery Agent.</p>
|
|
61
64
|
<ul>
|
|
62
65
|
<li>
|
|
63
66
|
<p>Third-party application discovery tools can query Amazon Web Services Application Discovery
|
|
@@ -72,53 +75,43 @@ associate applications with servers and track migrations.</p>
|
|
|
72
75
|
</li>
|
|
73
76
|
</ul>
|
|
74
77
|
<p>
|
|
75
|
-
<b>Recommendations</b>
|
|
76
|
-
</p>
|
|
77
|
-
<p>We recommend that you use agent-based discovery for non-VMware environments, and
|
|
78
|
-
whenever you want to collect information about network dependencies. You can run agent-based
|
|
79
|
-
and agentless discovery simultaneously. Use agentless discovery to complete the initial
|
|
80
|
-
infrastructure assessment quickly, and then install agents on select hosts to collect
|
|
81
|
-
additional information.</p>
|
|
82
|
-
<p>
|
|
83
78
|
<b>Working With This Guide</b>
|
|
84
79
|
</p>
|
|
85
80
|
<p>This API reference provides descriptions, syntax, and usage examples for each of the
|
|
86
81
|
actions and data types for Application Discovery Service. The topic for each action shows the
|
|
87
82
|
API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to
|
|
88
83
|
access an API that is tailored to the programming language or platform that you're using. For
|
|
89
|
-
more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services
|
|
90
|
-
SDKs</a>.</p>
|
|
84
|
+
more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
|
|
91
85
|
<note>
|
|
92
86
|
<ul>
|
|
93
87
|
<li>
|
|
94
|
-
<p>Remember that you must set your Migration Hub home
|
|
88
|
+
<p>Remember that you must set your Migration Hub home Region before you call any of
|
|
95
89
|
these APIs.</p>
|
|
96
90
|
</li>
|
|
97
91
|
<li>
|
|
98
92
|
<p>You must make API calls for write actions (create, notify, associate, disassociate,
|
|
99
|
-
import, or put) while in your home
|
|
93
|
+
import, or put) while in your home Region, or a <code>HomeRegionNotSetException</code>
|
|
100
94
|
error is returned.</p>
|
|
101
95
|
</li>
|
|
102
96
|
<li>
|
|
103
97
|
<p>API calls for read actions (list, describe, stop, and delete) are permitted outside
|
|
104
|
-
of your home
|
|
98
|
+
of your home Region.</p>
|
|
105
99
|
</li>
|
|
106
100
|
<li>
|
|
107
|
-
<p>Although it is unlikely, the Migration Hub home
|
|
108
|
-
APIs outside the home
|
|
101
|
+
<p>Although it is unlikely, the Migration Hub home Region could change. If you call
|
|
102
|
+
APIs outside the home Region, an <code>InvalidInputException</code> is returned.</p>
|
|
109
103
|
</li>
|
|
110
104
|
<li>
|
|
111
105
|
<p>You must call <code>GetHomeRegion</code> to obtain the latest Migration Hub home
|
|
112
|
-
|
|
106
|
+
Region.</p>
|
|
113
107
|
</li>
|
|
114
108
|
</ul>
|
|
115
109
|
</note>
|
|
116
|
-
<p>This guide is intended for use with the <a href="
|
|
117
|
-
|
|
110
|
+
<p>This guide is intended for use with the <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/">Amazon Web Services Application Discovery Service User
|
|
111
|
+
Guide</a>.</p>
|
|
118
112
|
<important>
|
|
119
|
-
<p>All data is handled according to the <a href="
|
|
120
|
-
|
|
121
|
-
collected data before it is shared with the service.</p>
|
|
113
|
+
<p>All data is handled according to the <a href="https://aws.amazon.com/privacy/">Amazon Web Services Privacy Policy</a>. You can operate Application Discovery Service offline to
|
|
114
|
+
inspect collected data before it is shared with the service.</p>
|
|
122
115
|
</important>
|
|
123
116
|
|
|
124
117
|
## Installing
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://discovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://discovery-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://discovery.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://discovery.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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;
|
|
3
|
+
exports.ExportPreferences = exports.Tenancy = exports.TermLength = exports.PurchasingOption = exports.OfferingClass = 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
5
|
exports.AgentStatus = {
|
|
6
6
|
BLACKLISTED: "BLACKLISTED",
|
|
@@ -179,5 +179,29 @@ class ResourceInUseException extends ApplicationDiscoveryServiceServiceException
|
|
|
179
179
|
exports.ResourceInUseException = ResourceInUseException;
|
|
180
180
|
exports.ExportDataFormat = {
|
|
181
181
|
CSV: "CSV",
|
|
182
|
-
GRAPHML: "GRAPHML",
|
|
183
182
|
};
|
|
183
|
+
exports.OfferingClass = {
|
|
184
|
+
CONVERTIBLE: "CONVERTIBLE",
|
|
185
|
+
STANDARD: "STANDARD",
|
|
186
|
+
};
|
|
187
|
+
exports.PurchasingOption = {
|
|
188
|
+
ALL_UPFRONT: "ALL_UPFRONT",
|
|
189
|
+
NO_UPFRONT: "NO_UPFRONT",
|
|
190
|
+
PARTIAL_UPFRONT: "PARTIAL_UPFRONT",
|
|
191
|
+
};
|
|
192
|
+
exports.TermLength = {
|
|
193
|
+
ONE_YEAR: "ONE_YEAR",
|
|
194
|
+
THREE_YEAR: "THREE_YEAR",
|
|
195
|
+
};
|
|
196
|
+
exports.Tenancy = {
|
|
197
|
+
DEDICATED: "DEDICATED",
|
|
198
|
+
SHARED: "SHARED",
|
|
199
|
+
};
|
|
200
|
+
var ExportPreferences;
|
|
201
|
+
(function (ExportPreferences) {
|
|
202
|
+
ExportPreferences.visit = (value, visitor) => {
|
|
203
|
+
if (value.ec2RecommendationsPreferences !== undefined)
|
|
204
|
+
return visitor.ec2RecommendationsPreferences(value.ec2RecommendationsPreferences);
|
|
205
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
206
|
+
};
|
|
207
|
+
})(ExportPreferences = exports.ExportPreferences || (exports.ExportPreferences = {}));
|
|
@@ -1434,11 +1434,31 @@ const de_ServerInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
1434
1434
|
});
|
|
1435
1435
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1436
1436
|
};
|
|
1437
|
+
const se_Ec2RecommendationsExportPreferences = (input, context) => {
|
|
1438
|
+
return (0, smithy_client_1.take)(input, {
|
|
1439
|
+
cpuPerformanceMetricBasis: (_) => se_UsageMetricBasis(_, context),
|
|
1440
|
+
enabled: [],
|
|
1441
|
+
excludedInstanceTypes: smithy_client_1._json,
|
|
1442
|
+
preferredRegion: [],
|
|
1443
|
+
ramPerformanceMetricBasis: (_) => se_UsageMetricBasis(_, context),
|
|
1444
|
+
reservedInstanceOptions: smithy_client_1._json,
|
|
1445
|
+
tenancy: [],
|
|
1446
|
+
});
|
|
1447
|
+
};
|
|
1448
|
+
const se_ExportPreferences = (input, context) => {
|
|
1449
|
+
return models_0_1.ExportPreferences.visit(input, {
|
|
1450
|
+
ec2RecommendationsPreferences: (value) => ({
|
|
1451
|
+
ec2RecommendationsPreferences: se_Ec2RecommendationsExportPreferences(value, context),
|
|
1452
|
+
}),
|
|
1453
|
+
_: (name, value) => ({ name: value }),
|
|
1454
|
+
});
|
|
1455
|
+
};
|
|
1437
1456
|
const se_StartExportTaskRequest = (input, context) => {
|
|
1438
1457
|
return (0, smithy_client_1.take)(input, {
|
|
1439
1458
|
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
1440
1459
|
exportDataFormat: smithy_client_1._json,
|
|
1441
1460
|
filters: smithy_client_1._json,
|
|
1461
|
+
preferences: (_) => se_ExportPreferences(_, context),
|
|
1442
1462
|
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
1443
1463
|
});
|
|
1444
1464
|
};
|
|
@@ -1449,6 +1469,12 @@ const se_StartImportTaskRequest = (input, context) => {
|
|
|
1449
1469
|
name: [],
|
|
1450
1470
|
});
|
|
1451
1471
|
};
|
|
1472
|
+
const se_UsageMetricBasis = (input, context) => {
|
|
1473
|
+
return (0, smithy_client_1.take)(input, {
|
|
1474
|
+
name: [],
|
|
1475
|
+
percentageAdjust: smithy_client_1.serializeFloat,
|
|
1476
|
+
});
|
|
1477
|
+
};
|
|
1452
1478
|
const de_ConfigurationTag = (output, context) => {
|
|
1453
1479
|
return (0, smithy_client_1.take)(output, {
|
|
1454
1480
|
configurationId: smithy_client_1.expectString,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const q = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://discovery-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://discovery-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://discovery.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://discovery.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -167,5 +167,29 @@ export class ResourceInUseException extends __BaseException {
|
|
|
167
167
|
}
|
|
168
168
|
export const ExportDataFormat = {
|
|
169
169
|
CSV: "CSV",
|
|
170
|
-
GRAPHML: "GRAPHML",
|
|
171
170
|
};
|
|
171
|
+
export const OfferingClass = {
|
|
172
|
+
CONVERTIBLE: "CONVERTIBLE",
|
|
173
|
+
STANDARD: "STANDARD",
|
|
174
|
+
};
|
|
175
|
+
export const PurchasingOption = {
|
|
176
|
+
ALL_UPFRONT: "ALL_UPFRONT",
|
|
177
|
+
NO_UPFRONT: "NO_UPFRONT",
|
|
178
|
+
PARTIAL_UPFRONT: "PARTIAL_UPFRONT",
|
|
179
|
+
};
|
|
180
|
+
export const TermLength = {
|
|
181
|
+
ONE_YEAR: "ONE_YEAR",
|
|
182
|
+
THREE_YEAR: "THREE_YEAR",
|
|
183
|
+
};
|
|
184
|
+
export const Tenancy = {
|
|
185
|
+
DEDICATED: "DEDICATED",
|
|
186
|
+
SHARED: "SHARED",
|
|
187
|
+
};
|
|
188
|
+
export var ExportPreferences;
|
|
189
|
+
(function (ExportPreferences) {
|
|
190
|
+
ExportPreferences.visit = (value, visitor) => {
|
|
191
|
+
if (value.ec2RecommendationsPreferences !== undefined)
|
|
192
|
+
return visitor.ec2RecommendationsPreferences(value.ec2RecommendationsPreferences);
|
|
193
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
194
|
+
};
|
|
195
|
+
})(ExportPreferences || (ExportPreferences = {}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { ApplicationDiscoveryServiceServiceException as __BaseException } from "../models/ApplicationDiscoveryServiceServiceException";
|
|
5
|
-
import { AuthorizationErrorException, ConflictErrorException, HomeRegionNotSetException, InvalidParameterException, InvalidParameterValueException, OperationNotPermittedException, ResourceInUseException, ResourceNotFoundException, ServerInternalErrorException, } from "../models/models_0";
|
|
5
|
+
import { AuthorizationErrorException, ConflictErrorException, ExportPreferences, HomeRegionNotSetException, InvalidParameterException, InvalidParameterValueException, OperationNotPermittedException, ResourceInUseException, ResourceNotFoundException, ServerInternalErrorException, } from "../models/models_0";
|
|
6
6
|
export const se_AssociateConfigurationItemsToApplicationCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("AssociateConfigurationItemsToApplication");
|
|
8
8
|
let body;
|
|
@@ -1381,11 +1381,31 @@ const de_ServerInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
1381
1381
|
});
|
|
1382
1382
|
return __decorateServiceException(exception, body);
|
|
1383
1383
|
};
|
|
1384
|
+
const se_Ec2RecommendationsExportPreferences = (input, context) => {
|
|
1385
|
+
return take(input, {
|
|
1386
|
+
cpuPerformanceMetricBasis: (_) => se_UsageMetricBasis(_, context),
|
|
1387
|
+
enabled: [],
|
|
1388
|
+
excludedInstanceTypes: _json,
|
|
1389
|
+
preferredRegion: [],
|
|
1390
|
+
ramPerformanceMetricBasis: (_) => se_UsageMetricBasis(_, context),
|
|
1391
|
+
reservedInstanceOptions: _json,
|
|
1392
|
+
tenancy: [],
|
|
1393
|
+
});
|
|
1394
|
+
};
|
|
1395
|
+
const se_ExportPreferences = (input, context) => {
|
|
1396
|
+
return ExportPreferences.visit(input, {
|
|
1397
|
+
ec2RecommendationsPreferences: (value) => ({
|
|
1398
|
+
ec2RecommendationsPreferences: se_Ec2RecommendationsExportPreferences(value, context),
|
|
1399
|
+
}),
|
|
1400
|
+
_: (name, value) => ({ name: value }),
|
|
1401
|
+
});
|
|
1402
|
+
};
|
|
1384
1403
|
const se_StartExportTaskRequest = (input, context) => {
|
|
1385
1404
|
return take(input, {
|
|
1386
1405
|
endTime: (_) => Math.round(_.getTime() / 1000),
|
|
1387
1406
|
exportDataFormat: _json,
|
|
1388
1407
|
filters: _json,
|
|
1408
|
+
preferences: (_) => se_ExportPreferences(_, context),
|
|
1389
1409
|
startTime: (_) => Math.round(_.getTime() / 1000),
|
|
1390
1410
|
});
|
|
1391
1411
|
};
|
|
@@ -1396,6 +1416,12 @@ const se_StartImportTaskRequest = (input, context) => {
|
|
|
1396
1416
|
name: [],
|
|
1397
1417
|
});
|
|
1398
1418
|
};
|
|
1419
|
+
const se_UsageMetricBasis = (input, context) => {
|
|
1420
|
+
return take(input, {
|
|
1421
|
+
name: [],
|
|
1422
|
+
percentageAdjust: __serializeFloat,
|
|
1423
|
+
});
|
|
1424
|
+
};
|
|
1399
1425
|
const de_ConfigurationTag = (output, context) => {
|
|
1400
1426
|
return take(output, {
|
|
1401
1427
|
configurationId: __expectString,
|
|
@@ -180,26 +180,27 @@ export interface ApplicationDiscoveryService {
|
|
|
180
180
|
/**
|
|
181
181
|
* @public
|
|
182
182
|
* <fullname>Amazon Web Services Application Discovery Service</fullname>
|
|
183
|
-
* <p>Amazon Web Services Application Discovery Service helps you plan application migration projects. It
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
183
|
+
* <p>Amazon Web Services Application Discovery Service (Application Discovery Service) helps you plan application migration projects. It automatically
|
|
184
|
+
* identifies servers, virtual machines (VMs), and network dependencies in your on-premises data
|
|
185
|
+
* centers. For more information, see the <a href="http://aws.amazon.com/application-discovery/faqs/">Amazon Web Services Application Discovery Service FAQ</a>. </p>
|
|
186
|
+
* <p>Application Discovery Service offers three ways of performing discovery and collecting
|
|
187
|
+
* data about your on-premises servers:</p>
|
|
188
188
|
* <ul>
|
|
189
189
|
* <li>
|
|
190
190
|
* <p>
|
|
191
|
-
* <b>Agentless discovery</b>
|
|
192
|
-
*
|
|
193
|
-
*
|
|
191
|
+
* <b>Agentless discovery</b> using
|
|
192
|
+
* Amazon Web Services Application Discovery Service Agentless Collector (Agentless Collector), which doesn't require you
|
|
193
|
+
* to install an agent on each host.</p>
|
|
194
194
|
* <ul>
|
|
195
195
|
* <li>
|
|
196
|
-
* <p>Agentless
|
|
197
|
-
* systems, which minimizes the time required for initial on-premises
|
|
198
|
-
* assessment.</p>
|
|
196
|
+
* <p>Agentless Collector gathers server information regardless of the
|
|
197
|
+
* operating systems, which minimizes the time required for initial on-premises
|
|
198
|
+
* infrastructure assessment.</p>
|
|
199
199
|
* </li>
|
|
200
200
|
* <li>
|
|
201
|
-
* <p>Agentless
|
|
202
|
-
* agent-based discovery collects that information
|
|
201
|
+
* <p>Agentless Collector doesn't collect information about network
|
|
202
|
+
* dependencies, only agent-based discovery collects that information.
|
|
203
|
+
* </p>
|
|
203
204
|
* </li>
|
|
204
205
|
* </ul>
|
|
205
206
|
* </li>
|
|
@@ -207,9 +208,9 @@ export interface ApplicationDiscoveryService {
|
|
|
207
208
|
* <ul>
|
|
208
209
|
* <li>
|
|
209
210
|
* <p>
|
|
210
|
-
* <b>Agent-based discovery</b>
|
|
211
|
-
*
|
|
212
|
-
* on one or more hosts in your data center.</p>
|
|
211
|
+
* <b>Agent-based discovery</b> using the Amazon Web Services Application
|
|
212
|
+
* Discovery Agent (Application Discovery Agent) collects a richer set of data than agentless
|
|
213
|
+
* discovery, which you install on one or more hosts in your data center.</p>
|
|
213
214
|
* <ul>
|
|
214
215
|
* <li>
|
|
215
216
|
* <p> The agent captures infrastructure and application information, including an
|
|
@@ -218,7 +219,9 @@ export interface ApplicationDiscoveryService {
|
|
|
218
219
|
* </li>
|
|
219
220
|
* <li>
|
|
220
221
|
* <p>The information collected by agents is secured at rest and in transit to the
|
|
221
|
-
* Application Discovery Service database in the cloud.
|
|
222
|
+
* Application Discovery Service database in the Amazon Web Services cloud. For more information, see
|
|
223
|
+
* <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-agent.html">Amazon Web Services Application
|
|
224
|
+
* Discovery Agent</a>.</p>
|
|
222
225
|
* </li>
|
|
223
226
|
* </ul>
|
|
224
227
|
* </li>
|
|
@@ -228,8 +231,8 @@ export interface ApplicationDiscoveryService {
|
|
|
228
231
|
* <p>
|
|
229
232
|
* <b>Amazon Web Services Partner Network (APN) solutions</b> integrate with
|
|
230
233
|
* Application Discovery Service, enabling you to import details of your on-premises
|
|
231
|
-
* environment directly into
|
|
232
|
-
*
|
|
234
|
+
* environment directly into Amazon Web Services Migration Hub (Migration Hub) without using
|
|
235
|
+
* Agentless Collector or Application Discovery Agent.</p>
|
|
233
236
|
* <ul>
|
|
234
237
|
* <li>
|
|
235
238
|
* <p>Third-party application discovery tools can query Amazon Web Services Application Discovery
|
|
@@ -244,53 +247,43 @@ export interface ApplicationDiscoveryService {
|
|
|
244
247
|
* </li>
|
|
245
248
|
* </ul>
|
|
246
249
|
* <p>
|
|
247
|
-
* <b>Recommendations</b>
|
|
248
|
-
* </p>
|
|
249
|
-
* <p>We recommend that you use agent-based discovery for non-VMware environments, and
|
|
250
|
-
* whenever you want to collect information about network dependencies. You can run agent-based
|
|
251
|
-
* and agentless discovery simultaneously. Use agentless discovery to complete the initial
|
|
252
|
-
* infrastructure assessment quickly, and then install agents on select hosts to collect
|
|
253
|
-
* additional information.</p>
|
|
254
|
-
* <p>
|
|
255
250
|
* <b>Working With This Guide</b>
|
|
256
251
|
* </p>
|
|
257
252
|
* <p>This API reference provides descriptions, syntax, and usage examples for each of the
|
|
258
253
|
* actions and data types for Application Discovery Service. The topic for each action shows the
|
|
259
254
|
* API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to
|
|
260
255
|
* access an API that is tailored to the programming language or platform that you're using. For
|
|
261
|
-
* more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services
|
|
262
|
-
* SDKs</a>.</p>
|
|
256
|
+
* more information, see <a href="http://aws.amazon.com/tools/#SDKs">Amazon Web Services SDKs</a>.</p>
|
|
263
257
|
* <note>
|
|
264
258
|
* <ul>
|
|
265
259
|
* <li>
|
|
266
|
-
* <p>Remember that you must set your Migration Hub home
|
|
260
|
+
* <p>Remember that you must set your Migration Hub home Region before you call any of
|
|
267
261
|
* these APIs.</p>
|
|
268
262
|
* </li>
|
|
269
263
|
* <li>
|
|
270
264
|
* <p>You must make API calls for write actions (create, notify, associate, disassociate,
|
|
271
|
-
* import, or put) while in your home
|
|
265
|
+
* import, or put) while in your home Region, or a <code>HomeRegionNotSetException</code>
|
|
272
266
|
* error is returned.</p>
|
|
273
267
|
* </li>
|
|
274
268
|
* <li>
|
|
275
269
|
* <p>API calls for read actions (list, describe, stop, and delete) are permitted outside
|
|
276
|
-
* of your home
|
|
270
|
+
* of your home Region.</p>
|
|
277
271
|
* </li>
|
|
278
272
|
* <li>
|
|
279
|
-
* <p>Although it is unlikely, the Migration Hub home
|
|
280
|
-
* APIs outside the home
|
|
273
|
+
* <p>Although it is unlikely, the Migration Hub home Region could change. If you call
|
|
274
|
+
* APIs outside the home Region, an <code>InvalidInputException</code> is returned.</p>
|
|
281
275
|
* </li>
|
|
282
276
|
* <li>
|
|
283
277
|
* <p>You must call <code>GetHomeRegion</code> to obtain the latest Migration Hub home
|
|
284
|
-
*
|
|
278
|
+
* Region.</p>
|
|
285
279
|
* </li>
|
|
286
280
|
* </ul>
|
|
287
281
|
* </note>
|
|
288
|
-
* <p>This guide is intended for use with the <a href="
|
|
289
|
-
*
|
|
282
|
+
* <p>This guide is intended for use with the <a href="https://docs.aws.amazon.com/application-discovery/latest/userguide/">Amazon Web Services Application Discovery Service User
|
|
283
|
+
* Guide</a>.</p>
|
|
290
284
|
* <important>
|
|
291
|
-
* <p>All data is handled according to the <a href="
|
|
292
|
-
*
|
|
293
|
-
* collected data before it is shared with the service.</p>
|
|
285
|
+
* <p>All data is handled according to the <a href="https://aws.amazon.com/privacy/">Amazon Web Services Privacy Policy</a>. You can operate Application Discovery Service offline to
|
|
286
|
+
* inspect collected data before it is shared with the service.</p>
|
|
294
287
|
* </important>
|
|
295
288
|
*/
|
|
296
289
|
export declare class ApplicationDiscoveryService extends ApplicationDiscoveryServiceClient implements ApplicationDiscoveryService {
|