aws-sdk-applicationdiscoveryservice 1.50.0 → 1.52.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb662d7139711b3d45d39b4c111e31fb2f70a936ad4fa08941e143cc9919f2e9
4
- data.tar.gz: fc19e88e045ee38d8d6039dc5902712dcbe7b1173a1bbfc12caaad21d41111cd
3
+ metadata.gz: a7d9c70db47e4331ed7f33241eefe0072e776d52480a860d9240152146d2133a
4
+ data.tar.gz: 8bb419c1e5366df1f628674435535be4f8a419c0ce0fd0b51aca93ed653ad1de
5
5
  SHA512:
6
- metadata.gz: d71086e3a427236d8e6f06480a8976d047b0de5738dcccb4acd80e6223ba0132078880981834d40fab3a2e55b31792f289ee8057814f15427b6404060f7a96d6
7
- data.tar.gz: 3d33b0e0e43faed0309bf0a8270aabbc3a57a79835ea3f642ad141f2fca2f20fb466eeaa3e20d68ac53198480d1a5bf0cd88002715beda164da0e472786b270a
6
+ metadata.gz: c19b69ee62530e8b8a27414cf9411bf6bcd656a499d9127b1e839057a711960c16e0fc7d14dcfd85dceff8fbc45bcb0cf7362f680ceab997d5eb103d0e00e667
7
+ data.tar.gz: b8072a7ef504d5ab4410bf2877837c367ea722e06f4daabf292ad8539b9979a5c2697aa78c0c9dead458253f2a392cee595706aca26762428f831c85d372b389
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2023-06-16)
5
+ ------------------
6
+
7
+ * Feature - Add Amazon EC2 instance recommendations export
8
+
9
+ 1.51.0 (2023-06-15)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.50.0 (2023-05-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.52.0
@@ -570,15 +570,14 @@ module Aws::ApplicationDiscoveryService
570
570
  req.send_request(options)
571
571
  end
572
572
 
573
- # Lists agents or connectors as specified by ID or other filters. All
574
- # agents/connectors associated with your user account can be listed if
575
- # you call `DescribeAgents` as is without passing any parameters.
573
+ # Lists agents or collectors as specified by ID or other filters. All
574
+ # agents/collectors associated with your user can be listed if you call
575
+ # `DescribeAgents` as is without passing any parameters.
576
576
  #
577
577
  # @option params [Array<String>] :agent_ids
578
- # The agent or the Connector IDs for which you want information. If you
578
+ # The agent or the collector IDs for which you want information. If you
579
579
  # specify no IDs, the system returns information about all
580
- # agents/Connectors associated with your Amazon Web Services user
581
- # account.
580
+ # agents/collectors associated with your user.
582
581
  #
583
582
  # @option params [Array<Types::Filter>] :filters
584
583
  # You can filter the request using various logical operators and a
@@ -587,7 +586,7 @@ module Aws::ApplicationDiscoveryService
587
586
  # `\{"key": "collectionStatus", "value": "STARTED"\}`
588
587
  #
589
588
  # @option params [Integer] :max_results
590
- # The total number of agents/Connectors to return in a single page of
589
+ # The total number of agents/collectors to return in a single page of
591
590
  # output. The maximum value is 100.
592
591
  #
593
592
  # @option params [String] :next_token
@@ -696,8 +695,8 @@ module Aws::ApplicationDiscoveryService
696
695
  end
697
696
 
698
697
  # Lists exports as specified by ID. All continuous exports associated
699
- # with your user account can be listed if you call
700
- # `DescribeContinuousExports` as is without passing any parameters.
698
+ # with your user can be listed if you call `DescribeContinuousExports`
699
+ # as is without passing any parameters.
701
700
  #
702
701
  # @option params [Array<String>] :export_ids
703
702
  # The unique IDs assigned to the exports.
@@ -935,9 +934,9 @@ module Aws::ApplicationDiscoveryService
935
934
  #
936
935
  # * configurationId
937
936
  #
938
- # Also, all configuration items associated with your user account that
939
- # have tags can be listed if you call `DescribeTags` as is without
940
- # passing any parameters.
937
+ # Also, all configuration items associated with your user that have tags
938
+ # can be listed if you call `DescribeTags` as is without passing any
939
+ # parameters.
941
940
  #
942
941
  # @option params [Array<Types::TagFilter>] :filters
943
942
  # You can filter the list using a *key*-*value* format. You can separate
@@ -1260,17 +1259,16 @@ module Aws::ApplicationDiscoveryService
1260
1259
  req.send_request(options)
1261
1260
  end
1262
1261
 
1263
- # Instructs the specified agents or connectors to start collecting data.
1262
+ # Instructs the specified agents to start collecting data.
1264
1263
  #
1265
1264
  # @option params [required, Array<String>] :agent_ids
1266
- # The IDs of the agents or connectors from which to start collecting
1267
- # data. If you send a request to an agent/connector ID that you do not
1268
- # have permission to contact, according to your Amazon Web Services
1269
- # account, the service does not throw an exception. Instead, it returns
1270
- # the error in the *Description* field. If you send a request to
1271
- # multiple agents/connectors and you do not have permission to contact
1272
- # some of those agents/connectors, the system does not throw an
1273
- # exception. Instead, the system shows `Failed` in the *Description*
1265
+ # The IDs of the agents from which to start collecting data. If you send
1266
+ # a request to an agent ID that you do not have permission to contact,
1267
+ # according to your Amazon Web Services account, the service does not
1268
+ # throw an exception. Instead, it returns the error in the *Description*
1269
+ # field. If you send a request to multiple agents and you do not have
1270
+ # permission to contact some of those agents, the system does not throw
1271
+ # an exception. Instead, the system shows `Failed` in the *Description*
1274
1272
  # field.
1275
1273
  #
1276
1274
  # @return [Types::StartDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1297,19 +1295,36 @@ module Aws::ApplicationDiscoveryService
1297
1295
  req.send_request(options)
1298
1296
  end
1299
1297
 
1300
- # Begins the export of discovered data to an S3 bucket.
1298
+ # Begins the export of a discovered data report to an Amazon S3 bucket
1299
+ # managed by Amazon Web Services.
1300
+ #
1301
+ # <note markdown="1"> Exports might provide an estimate of fees and savings based on certain
1302
+ # information that you provide. Fee estimates do not include any taxes
1303
+ # that might apply. Your actual fees and savings depend on a variety of
1304
+ # factors, including your actual usage of Amazon Web Services services,
1305
+ # which might vary from the estimates provided in this report.
1306
+ #
1307
+ # </note>
1308
+ #
1309
+ # If you do not specify `preferences` or `agentIds` in the filter, a
1310
+ # summary of all servers, applications, tags, and performance is
1311
+ # generated. This data is an aggregation of all server data collected
1312
+ # through on-premises tooling, file import, application grouping and
1313
+ # applying tags.
1301
1314
  #
1302
1315
  # If you specify `agentIds` in a filter, the task exports up to 72 hours
1303
1316
  # of detailed data collected by the identified Application Discovery
1304
1317
  # Agent, including network, process, and performance details. A time
1305
1318
  # range for exported agent data may be set by using `startTime` and
1306
1319
  # `endTime`. Export of detailed agent data is limited to five
1307
- # concurrently running exports.
1320
+ # concurrently running exports. Export of detailed agent data is limited
1321
+ # to two exports per day.
1308
1322
  #
1309
- # If you do not include an `agentIds` filter, summary data is exported
1310
- # that includes both Amazon Web Services Agentless Discovery Connector
1311
- # data and summary data from Amazon Web Services Discovery Agents.
1312
- # Export of summary data is limited to two exports per day.
1323
+ # If you enable `ec2RecommendationsPreferences` in `preferences` , an
1324
+ # Amazon EC2 instance matching the characteristics of each server in
1325
+ # Application Discovery Service is generated. Changing the attributes of
1326
+ # the `ec2RecommendationsPreferences` changes the criteria of the
1327
+ # recommendation.
1313
1328
  #
1314
1329
  # @option params [Array<String>] :export_data_format
1315
1330
  # The file format for the returned export data. Default value is `CSV`.
@@ -1320,8 +1335,9 @@ module Aws::ApplicationDiscoveryService
1320
1335
  # Application Discovery Agent for which data is exported. The `agentId`
1321
1336
  # can be found in the results of the `DescribeAgents` API or CLI. If no
1322
1337
  # filter is present, `startTime` and `endTime` are ignored and exported
1323
- # data includes both Agentless Discovery Connector data and summary data
1324
- # from Application Discovery agents.
1338
+ # data includes both Amazon Web Services Application Discovery Service
1339
+ # Agentless Collector collectors data and summary data from Application
1340
+ # Discovery Agent agents.
1325
1341
  #
1326
1342
  # @option params [Time,DateTime,Date,Integer,String] :start_time
1327
1343
  # The start timestamp for exported data from the single Application
@@ -1333,6 +1349,14 @@ module Aws::ApplicationDiscoveryService
1333
1349
  # Discovery Agent selected in the filters. If no value is specified,
1334
1350
  # exported data includes the most recent data collected by the agent.
1335
1351
  #
1352
+ # @option params [Types::ExportPreferences] :preferences
1353
+ # Indicates the type of data that needs to be exported. Only one
1354
+ # [ExportPreferences][1] can be enabled at any time.
1355
+ #
1356
+ #
1357
+ #
1358
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_ExportPreferences.html
1359
+ #
1336
1360
  # @return [Types::StartExportTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1337
1361
  #
1338
1362
  # * {Types::StartExportTaskResponse#export_id #export_id} => String
@@ -1340,7 +1364,7 @@ module Aws::ApplicationDiscoveryService
1340
1364
  # @example Request syntax with placeholder values
1341
1365
  #
1342
1366
  # resp = client.start_export_task({
1343
- # export_data_format: ["CSV"], # accepts CSV, GRAPHML
1367
+ # export_data_format: ["CSV"], # accepts CSV
1344
1368
  # filters: [
1345
1369
  # {
1346
1370
  # name: "FilterName", # required
@@ -1350,6 +1374,27 @@ module Aws::ApplicationDiscoveryService
1350
1374
  # ],
1351
1375
  # start_time: Time.now,
1352
1376
  # end_time: Time.now,
1377
+ # preferences: {
1378
+ # ec2_recommendations_preferences: {
1379
+ # enabled: false,
1380
+ # cpu_performance_metric_basis: {
1381
+ # name: "UsageMetricBasisName",
1382
+ # percentage_adjust: 1.0,
1383
+ # },
1384
+ # ram_performance_metric_basis: {
1385
+ # name: "UsageMetricBasisName",
1386
+ # percentage_adjust: 1.0,
1387
+ # },
1388
+ # tenancy: "DEDICATED", # accepts DEDICATED, SHARED
1389
+ # excluded_instance_types: ["EC2InstanceType"],
1390
+ # preferred_region: "UserPreferredRegion",
1391
+ # reserved_instance_options: {
1392
+ # purchasing_option: "ALL_UPFRONT", # required, accepts ALL_UPFRONT, PARTIAL_UPFRONT, NO_UPFRONT
1393
+ # offering_class: "STANDARD", # required, accepts STANDARD, CONVERTIBLE
1394
+ # term_length: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEAR
1395
+ # },
1396
+ # },
1397
+ # },
1353
1398
  # })
1354
1399
  #
1355
1400
  # @example Response structure
@@ -1365,11 +1410,13 @@ module Aws::ApplicationDiscoveryService
1365
1410
 
1366
1411
  # Starts an import task, which allows you to import details of your
1367
1412
  # on-premises environment directly into Amazon Web Services Migration
1368
- # Hub without having to use the Application Discovery Service (ADS)
1369
- # tools such as the Discovery Connector or Discovery Agent. This gives
1370
- # you the option to perform migration assessment and planning directly
1371
- # from your imported data, including the ability to group your devices
1372
- # as applications and track their migration status.
1413
+ # Hub without having to use the Amazon Web Services Application
1414
+ # Discovery Service (Application Discovery Service) tools such as the
1415
+ # Amazon Web Services Application Discovery Service Agentless Collector
1416
+ # or Application Discovery Agent. This gives you the option to perform
1417
+ # migration assessment and planning directly from your imported data,
1418
+ # including the ability to group your devices as applications and track
1419
+ # their migration status.
1373
1420
  #
1374
1421
  # To start an import request, do this:
1375
1422
  #
@@ -1493,11 +1540,10 @@ module Aws::ApplicationDiscoveryService
1493
1540
  req.send_request(options)
1494
1541
  end
1495
1542
 
1496
- # Instructs the specified agents or connectors to stop collecting data.
1543
+ # Instructs the specified agents to stop collecting data.
1497
1544
  #
1498
1545
  # @option params [required, Array<String>] :agent_ids
1499
- # The IDs of the agents or connectors from which to stop collecting
1500
- # data.
1546
+ # The IDs of the agents from which to stop collecting data.
1501
1547
  #
1502
1548
  # @return [Types::StopDataCollectionByAgentIdsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1503
1549
  #
@@ -1564,7 +1610,7 @@ module Aws::ApplicationDiscoveryService
1564
1610
  params: params,
1565
1611
  config: config)
1566
1612
  context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
1567
- context[:gem_version] = '1.50.0'
1613
+ context[:gem_version] = '1.52.0'
1568
1614
  Seahorse::Client::Request.new(handlers, context)
1569
1615
  end
1570
1616
 
@@ -88,13 +88,18 @@ module Aws::ApplicationDiscoveryService
88
88
  DescribeTagsResponse = Shapes::StructureShape.new(name: 'DescribeTagsResponse')
89
89
  DisassociateConfigurationItemsFromApplicationRequest = Shapes::StructureShape.new(name: 'DisassociateConfigurationItemsFromApplicationRequest')
90
90
  DisassociateConfigurationItemsFromApplicationResponse = Shapes::StructureShape.new(name: 'DisassociateConfigurationItemsFromApplicationResponse')
91
+ EC2InstanceType = Shapes::StringShape.new(name: 'EC2InstanceType')
92
+ Ec2RecommendationsExportPreferences = Shapes::StructureShape.new(name: 'Ec2RecommendationsExportPreferences')
93
+ ExcludedInstanceTypes = Shapes::ListShape.new(name: 'ExcludedInstanceTypes')
91
94
  ExportConfigurationsResponse = Shapes::StructureShape.new(name: 'ExportConfigurationsResponse')
92
95
  ExportDataFormat = Shapes::StringShape.new(name: 'ExportDataFormat')
93
96
  ExportDataFormats = Shapes::ListShape.new(name: 'ExportDataFormats')
97
+ ExportEnabled = Shapes::BooleanShape.new(name: 'ExportEnabled')
94
98
  ExportFilter = Shapes::StructureShape.new(name: 'ExportFilter')
95
99
  ExportFilters = Shapes::ListShape.new(name: 'ExportFilters')
96
100
  ExportIds = Shapes::ListShape.new(name: 'ExportIds')
97
101
  ExportInfo = Shapes::StructureShape.new(name: 'ExportInfo')
102
+ ExportPreferences = Shapes::UnionShape.new(name: 'ExportPreferences')
98
103
  ExportRequestTime = Shapes::TimestampShape.new(name: 'ExportRequestTime')
99
104
  ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
100
105
  ExportStatusMessage = Shapes::StringShape.new(name: 'ExportStatusMessage')
@@ -129,10 +134,13 @@ module Aws::ApplicationDiscoveryService
129
134
  NeighborConnectionDetail = Shapes::StructureShape.new(name: 'NeighborConnectionDetail')
130
135
  NeighborDetailsList = Shapes::ListShape.new(name: 'NeighborDetailsList')
131
136
  NextToken = Shapes::StringShape.new(name: 'NextToken')
137
+ OfferingClass = Shapes::StringShape.new(name: 'OfferingClass')
132
138
  OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
133
139
  OrderByElement = Shapes::StructureShape.new(name: 'OrderByElement')
134
140
  OrderByElementFieldName = Shapes::StringShape.new(name: 'OrderByElementFieldName')
135
141
  OrderByList = Shapes::ListShape.new(name: 'OrderByList')
142
+ PurchasingOption = Shapes::StringShape.new(name: 'PurchasingOption')
143
+ ReservedInstanceOptions = Shapes::StructureShape.new(name: 'ReservedInstanceOptions')
136
144
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
137
145
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
138
146
  S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
@@ -159,10 +167,16 @@ module Aws::ApplicationDiscoveryService
159
167
  TagKey = Shapes::StringShape.new(name: 'TagKey')
160
168
  TagSet = Shapes::ListShape.new(name: 'TagSet')
161
169
  TagValue = Shapes::StringShape.new(name: 'TagValue')
170
+ Tenancy = Shapes::StringShape.new(name: 'Tenancy')
171
+ TermLength = Shapes::StringShape.new(name: 'TermLength')
162
172
  TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
163
173
  ToDeleteIdentifierList = Shapes::ListShape.new(name: 'ToDeleteIdentifierList')
164
174
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
165
175
  UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
176
+ UsageMetricBasis = Shapes::StructureShape.new(name: 'UsageMetricBasis')
177
+ UsageMetricBasisName = Shapes::StringShape.new(name: 'UsageMetricBasisName')
178
+ UsageMetricPercentageAdjust = Shapes::FloatShape.new(name: 'UsageMetricPercentageAdjust')
179
+ UserPreferredRegion = Shapes::StringShape.new(name: 'UserPreferredRegion')
166
180
  orderString = Shapes::StringShape.new(name: 'orderString')
167
181
 
168
182
  AgentConfigurationStatus.add_member(:agent_id, Shapes::ShapeRef.new(shape: String, location_name: "agentId"))
@@ -386,6 +400,17 @@ module Aws::ApplicationDiscoveryService
386
400
 
387
401
  DisassociateConfigurationItemsFromApplicationResponse.struct_class = Types::DisassociateConfigurationItemsFromApplicationResponse
388
402
 
403
+ Ec2RecommendationsExportPreferences.add_member(:enabled, Shapes::ShapeRef.new(shape: ExportEnabled, location_name: "enabled"))
404
+ Ec2RecommendationsExportPreferences.add_member(:cpu_performance_metric_basis, Shapes::ShapeRef.new(shape: UsageMetricBasis, location_name: "cpuPerformanceMetricBasis"))
405
+ Ec2RecommendationsExportPreferences.add_member(:ram_performance_metric_basis, Shapes::ShapeRef.new(shape: UsageMetricBasis, location_name: "ramPerformanceMetricBasis"))
406
+ Ec2RecommendationsExportPreferences.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "tenancy"))
407
+ Ec2RecommendationsExportPreferences.add_member(:excluded_instance_types, Shapes::ShapeRef.new(shape: ExcludedInstanceTypes, location_name: "excludedInstanceTypes"))
408
+ Ec2RecommendationsExportPreferences.add_member(:preferred_region, Shapes::ShapeRef.new(shape: UserPreferredRegion, location_name: "preferredRegion"))
409
+ Ec2RecommendationsExportPreferences.add_member(:reserved_instance_options, Shapes::ShapeRef.new(shape: ReservedInstanceOptions, location_name: "reservedInstanceOptions"))
410
+ Ec2RecommendationsExportPreferences.struct_class = Types::Ec2RecommendationsExportPreferences
411
+
412
+ ExcludedInstanceTypes.member = Shapes::ShapeRef.new(shape: EC2InstanceType)
413
+
389
414
  ExportConfigurationsResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
390
415
  ExportConfigurationsResponse.struct_class = Types::ExportConfigurationsResponse
391
416
 
@@ -410,6 +435,12 @@ module Aws::ApplicationDiscoveryService
410
435
  ExportInfo.add_member(:requested_end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "requestedEndTime"))
411
436
  ExportInfo.struct_class = Types::ExportInfo
412
437
 
438
+ ExportPreferences.add_member(:ec2_recommendations_preferences, Shapes::ShapeRef.new(shape: Ec2RecommendationsExportPreferences, location_name: "ec2RecommendationsPreferences"))
439
+ ExportPreferences.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
440
+ ExportPreferences.add_member_subclass(:ec2_recommendations_preferences, Types::ExportPreferences::Ec2RecommendationsPreferences)
441
+ ExportPreferences.add_member_subclass(:unknown, Types::ExportPreferences::Unknown)
442
+ ExportPreferences.struct_class = Types::ExportPreferences
443
+
413
444
  ExportsInfo.member = Shapes::ShapeRef.new(shape: ExportInfo)
414
445
 
415
446
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
@@ -506,6 +537,11 @@ module Aws::ApplicationDiscoveryService
506
537
 
507
538
  OrderByList.member = Shapes::ShapeRef.new(shape: OrderByElement)
508
539
 
540
+ ReservedInstanceOptions.add_member(:purchasing_option, Shapes::ShapeRef.new(shape: PurchasingOption, required: true, location_name: "purchasingOption"))
541
+ ReservedInstanceOptions.add_member(:offering_class, Shapes::ShapeRef.new(shape: OfferingClass, required: true, location_name: "offeringClass"))
542
+ ReservedInstanceOptions.add_member(:term_length, Shapes::ShapeRef.new(shape: TermLength, required: true, location_name: "termLength"))
543
+ ReservedInstanceOptions.struct_class = Types::ReservedInstanceOptions
544
+
509
545
  ResourceInUseException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
510
546
  ResourceInUseException.struct_class = Types::ResourceInUseException
511
547
 
@@ -537,6 +573,7 @@ module Aws::ApplicationDiscoveryService
537
573
  StartExportTaskRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ExportFilters, location_name: "filters"))
538
574
  StartExportTaskRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
539
575
  StartExportTaskRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "endTime"))
576
+ StartExportTaskRequest.add_member(:preferences, Shapes::ShapeRef.new(shape: ExportPreferences, location_name: "preferences"))
540
577
  StartExportTaskRequest.struct_class = Types::StartExportTaskRequest
541
578
 
542
579
  StartExportTaskResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
@@ -584,6 +621,10 @@ module Aws::ApplicationDiscoveryService
584
621
 
585
622
  UpdateApplicationResponse.struct_class = Types::UpdateApplicationResponse
586
623
 
624
+ UsageMetricBasis.add_member(:name, Shapes::ShapeRef.new(shape: UsageMetricBasisName, location_name: "name"))
625
+ UsageMetricBasis.add_member(:percentage_adjust, Shapes::ShapeRef.new(shape: UsageMetricPercentageAdjust, location_name: "percentageAdjust"))
626
+ UsageMetricBasis.struct_class = Types::UsageMetricBasis
627
+
587
628
 
588
629
  # @api private
589
630
  API = Seahorse::Model::Api.new.tap do |api|
@@ -50,9 +50,6 @@ module Aws::ApplicationDiscoveryService
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::ApplicationDiscoveryService
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://discovery-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://discovery-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://discovery.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://discovery-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://discovery-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://discovery.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://discovery.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://discovery.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -9,6 +9,7 @@
9
9
 
10
10
 
11
11
  module Aws::ApplicationDiscoveryService
12
+ # @api private
12
13
  module Endpoints
13
14
 
14
15
  class AssociateConfigurationItemsToApplication
@@ -10,20 +10,19 @@
10
10
  module Aws::ApplicationDiscoveryService
11
11
  module Types
12
12
 
13
- # Information about agents or connectors that were instructed to start
14
- # collecting data. Information includes the agent/connector ID, a
15
- # description of the operation, and whether the agent/connector
16
- # configuration was updated.
13
+ # Information about agents that were instructed to start collecting
14
+ # data. Information includes the agent ID, a description of the
15
+ # operation, and whether the agent configuration was updated.
17
16
  #
18
17
  # @!attribute [rw] agent_id
19
- # The agent/connector ID.
18
+ # The agent ID.
20
19
  # @return [String]
21
20
  #
22
21
  # @!attribute [rw] operation_succeeded
23
22
  # Information about the status of the `StartDataCollection` and
24
23
  # `StopDataCollection` operations. The system has recorded the data
25
- # collection operation. The agent/connector receives this command the
26
- # next time it polls for a new command.
24
+ # collection operation. The agent receives this command the next time
25
+ # it polls for a new command.
27
26
  # @return [Boolean]
28
27
  #
29
28
  # @!attribute [rw] description
@@ -38,23 +37,22 @@ module Aws::ApplicationDiscoveryService
38
37
  include Aws::Structure
39
38
  end
40
39
 
41
- # Information about agents or connectors associated with the user’s
42
- # Amazon Web Services account. Information includes agent or connector
43
- # IDs, IP addresses, media access control (MAC) addresses, agent or
44
- # connector health, hostname where the agent or connector resides, and
45
- # agent version for each agent.
40
+ # Information about agents associated with the user’s Amazon Web
41
+ # Services account. Information includes agent IDs, IP addresses, media
42
+ # access control (MAC) addresses, agent or collector status, hostname
43
+ # where the agent resides, and agent version for each agent.
46
44
  #
47
45
  # @!attribute [rw] agent_id
48
- # The agent or connector ID.
46
+ # The agent or collector ID.
49
47
  # @return [String]
50
48
  #
51
49
  # @!attribute [rw] host_name
52
- # The name of the host where the agent or connector resides. The host
50
+ # The name of the host where the agent or collector resides. The host
53
51
  # can be a server or virtual machine.
54
52
  # @return [String]
55
53
  #
56
54
  # @!attribute [rw] agent_network_info_list
57
- # Network details about the host where the agent or connector resides.
55
+ # Network details about the host where the agent or collector resides.
58
56
  # @return [Array<Types::AgentNetworkInfo>]
59
57
  #
60
58
  # @!attribute [rw] connector_id
@@ -62,19 +60,19 @@ module Aws::ApplicationDiscoveryService
62
60
  # @return [String]
63
61
  #
64
62
  # @!attribute [rw] version
65
- # The agent or connector version.
63
+ # The agent or collector version.
66
64
  # @return [String]
67
65
  #
68
66
  # @!attribute [rw] health
69
- # The health of the agent or connector.
67
+ # The health of the agent.
70
68
  # @return [String]
71
69
  #
72
70
  # @!attribute [rw] last_health_ping_time
73
- # Time since agent or connector health was reported.
71
+ # Time since agent health was reported.
74
72
  # @return [String]
75
73
  #
76
74
  # @!attribute [rw] collection_status
77
- # Status of the collection process for an agent or connector.
75
+ # Status of the collection process for an agent.
78
76
  # @return [String]
79
77
  #
80
78
  # @!attribute [rw] agent_type
@@ -100,14 +98,14 @@ module Aws::ApplicationDiscoveryService
100
98
  include Aws::Structure
101
99
  end
102
100
 
103
- # Network details about the host where the agent/connector resides.
101
+ # Network details about the host where the agent/collector resides.
104
102
  #
105
103
  # @!attribute [rw] ip_address
106
- # The IP address for the host where the agent/connector resides.
104
+ # The IP address for the host where the agent/collector resides.
107
105
  # @return [String]
108
106
  #
109
107
  # @!attribute [rw] mac_address
110
- # The MAC address for the host where the agent/connector resides.
108
+ # The MAC address for the host where the agent/collector resides.
111
109
  # @return [String]
112
110
  #
113
111
  class AgentNetworkInfo < Struct.new(
@@ -136,8 +134,8 @@ module Aws::ApplicationDiscoveryService
136
134
 
137
135
  class AssociateConfigurationItemsToApplicationResponse < Aws::EmptyStructure; end
138
136
 
139
- # The Amazon Web Services user account does not have permission to
140
- # perform the action. Check the IAM policy associated with this account.
137
+ # The user does not have permission to perform the action. Check the IAM
138
+ # policy associated with this user.
141
139
  #
142
140
  # @!attribute [rw] message
143
141
  # @return [String]
@@ -285,16 +283,16 @@ module Aws::ApplicationDiscoveryService
285
283
  # Kinesis Data Streams Developer Guide.
286
284
  #
287
285
  # * FIREHOSE\_ROLE\_MISSING - The Data Exploration feature is in an
288
- # error state because your IAM User is missing the
289
- # AWSApplicationDiscoveryServiceFirehose role. Turn on Data
286
+ # error state because your user is missing the Amazon Web
287
+ # ServicesApplicationDiscoveryServiceFirehose role. Turn on Data
290
288
  # Exploration in Amazon Athena and try again. For more information,
291
- # see [Step 3: Provide Application Discovery Service Access to
292
- # Non-Administrator Users by Attaching Policies][3] in the
289
+ # see [Creating the Amazon Web
290
+ # ServicesApplicationDiscoveryServiceFirehose Role][3] in the
293
291
  # Application Discovery Service User Guide.
294
292
  #
295
293
  # * FIREHOSE\_STREAM\_DOES\_NOT\_EXIST - The Data Exploration feature
296
- # is in an error state because your IAM User is missing one or more
297
- # of the Kinesis data delivery streams.
294
+ # is in an error state because your user is missing one or more of
295
+ # the Kinesis data delivery streams.
298
296
  #
299
297
  # * INTERNAL\_FAILURE - The Data Exploration feature is in an error
300
298
  # state because of an internal failure. Try again later. If this
@@ -346,7 +344,7 @@ module Aws::ApplicationDiscoveryService
346
344
  #
347
345
  # [1]: http://docs.aws.amazon.com/application-discovery/latest/userguide/setting-up.html
348
346
  # [2]: http://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html
349
- # [3]: http://docs.aws.amazon.com/application-discovery/latest/userguide/setting-up.html#setting-up-user-policy
347
+ # [3]: https://docs.aws.amazon.com/application-discovery/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-create-firehose-role
350
348
  # [4]: http://docs.aws.amazon.com/lake-formation/latest/dg/upgrade-glue-lake-formation.html
351
349
  # [5]: https://docs.aws.amazon.com/lake-formation/latest/dg/getting-started-setup.html#setup-change-cat-settings
352
350
  # [6]: https://docs.aws.amazon.com/lake-formation/latest/dg/granting-database-permissions.html
@@ -484,25 +482,34 @@ module Aws::ApplicationDiscoveryService
484
482
  include Aws::Structure
485
483
  end
486
484
 
485
+ # The inventory data for installed Agentless Collector collectors.
486
+ #
487
487
  # @!attribute [rw] active_agentless_collectors
488
+ # The number of active Agentless Collector collectors.
488
489
  # @return [Integer]
489
490
  #
490
491
  # @!attribute [rw] healthy_agentless_collectors
492
+ # The number of healthy Agentless Collector collectors.
491
493
  # @return [Integer]
492
494
  #
493
495
  # @!attribute [rw] deny_listed_agentless_collectors
496
+ # The number of deny-listed Agentless Collector collectors.
494
497
  # @return [Integer]
495
498
  #
496
499
  # @!attribute [rw] shutdown_agentless_collectors
500
+ # The number of Agentless Collector collectors with `SHUTDOWN` status.
497
501
  # @return [Integer]
498
502
  #
499
503
  # @!attribute [rw] unhealthy_agentless_collectors
504
+ # The number of unhealthy Agentless Collector collectors.
500
505
  # @return [Integer]
501
506
  #
502
507
  # @!attribute [rw] total_agentless_collectors
508
+ # The total number of Agentless Collector collectors.
503
509
  # @return [Integer]
504
510
  #
505
511
  # @!attribute [rw] unknown_agentless_collectors
512
+ # The number of unknown Agentless Collector collectors.
506
513
  # @return [Integer]
507
514
  #
508
515
  class CustomerAgentlessCollectorInfo < Struct.new(
@@ -635,10 +642,9 @@ module Aws::ApplicationDiscoveryService
635
642
  class DeleteTagsResponse < Aws::EmptyStructure; end
636
643
 
637
644
  # @!attribute [rw] agent_ids
638
- # The agent or the Connector IDs for which you want information. If
645
+ # The agent or the collector IDs for which you want information. If
639
646
  # you specify no IDs, the system returns information about all
640
- # agents/Connectors associated with your Amazon Web Services user
641
- # account.
647
+ # agents/collectors associated with your user.
642
648
  # @return [Array<String>]
643
649
  #
644
650
  # @!attribute [rw] filters
@@ -649,7 +655,7 @@ module Aws::ApplicationDiscoveryService
649
655
  # @return [Array<Types::Filter>]
650
656
  #
651
657
  # @!attribute [rw] max_results
652
- # The total number of agents/Connectors to return in a single page of
658
+ # The total number of agents/collectors to return in a single page of
653
659
  # output. The maximum value is 100.
654
660
  # @return [Integer]
655
661
  #
@@ -671,12 +677,12 @@ module Aws::ApplicationDiscoveryService
671
677
  end
672
678
 
673
679
  # @!attribute [rw] agents_info
674
- # Lists agents or the Connector by ID or lists all agents/Connectors
675
- # associated with your user account if you did not specify an
676
- # agent/Connector ID. The output includes agent/Connector IDs, IP
677
- # addresses, media access control (MAC) addresses, agent/Connector
678
- # health, host name where the agent/Connector resides, and the version
679
- # number of each agent/Connector.
680
+ # Lists agents or the collector by ID or lists all agents/collectors
681
+ # associated with your user, if you did not specify an agent/collector
682
+ # ID. The output includes agent/collector IDs, IP addresses, media
683
+ # access control (MAC) addresses, agent/collector health, host name
684
+ # where the agent/collector resides, and the version number of each
685
+ # agent/collector.
680
686
  # @return [Array<Types::AgentInfo>]
681
687
  #
682
688
  # @!attribute [rw] next_token
@@ -943,6 +949,65 @@ module Aws::ApplicationDiscoveryService
943
949
 
944
950
  class DisassociateConfigurationItemsFromApplicationResponse < Aws::EmptyStructure; end
945
951
 
952
+ # Indicates that the exported data must include EC2 instance type
953
+ # matches for on-premises servers that are discovered through Amazon Web
954
+ # Services Application Discovery Service.
955
+ #
956
+ # @!attribute [rw] enabled
957
+ # If set to true, the export [preferences][1] is set to
958
+ # `Ec2RecommendationsExportPreferences`.
959
+ #
960
+ #
961
+ #
962
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html#API_StartExportTask_RequestSyntax
963
+ # @return [Boolean]
964
+ #
965
+ # @!attribute [rw] cpu_performance_metric_basis
966
+ # The recommended EC2 instance type that matches the CPU usage metric
967
+ # of server performance data.
968
+ # @return [Types::UsageMetricBasis]
969
+ #
970
+ # @!attribute [rw] ram_performance_metric_basis
971
+ # The recommended EC2 instance type that matches the Memory usage
972
+ # metric of server performance data.
973
+ # @return [Types::UsageMetricBasis]
974
+ #
975
+ # @!attribute [rw] tenancy
976
+ # The target tenancy to use for your recommended EC2 instances.
977
+ # @return [String]
978
+ #
979
+ # @!attribute [rw] excluded_instance_types
980
+ # An array of instance types to exclude from recommendations.
981
+ # @return [Array<String>]
982
+ #
983
+ # @!attribute [rw] preferred_region
984
+ # The target Amazon Web Services Region for the recommendations. You
985
+ # can use any of the Region codes available for the chosen service, as
986
+ # listed in [Amazon Web Services service endpoints][1] in the *Amazon
987
+ # Web Services General Reference*.
988
+ #
989
+ #
990
+ #
991
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/rande.html
992
+ # @return [String]
993
+ #
994
+ # @!attribute [rw] reserved_instance_options
995
+ # The contract type for a reserved instance. If blank, we assume an
996
+ # On-Demand instance is preferred.
997
+ # @return [Types::ReservedInstanceOptions]
998
+ #
999
+ class Ec2RecommendationsExportPreferences < Struct.new(
1000
+ :enabled,
1001
+ :cpu_performance_metric_basis,
1002
+ :ram_performance_metric_basis,
1003
+ :tenancy,
1004
+ :excluded_instance_types,
1005
+ :preferred_region,
1006
+ :reserved_instance_options)
1007
+ SENSITIVE = []
1008
+ include Aws::Structure
1009
+ end
1010
+
946
1011
  # @!attribute [rw] export_id
947
1012
  # A unique identifier that you can use to query the export status.
948
1013
  # @return [String]
@@ -1041,6 +1106,32 @@ module Aws::ApplicationDiscoveryService
1041
1106
  include Aws::Structure
1042
1107
  end
1043
1108
 
1109
+ # Indicates the type of data that is being exported. Only one
1110
+ # `ExportPreferences` can be enabled for a [StartExportTask][1] action.
1111
+ #
1112
+ #
1113
+ #
1114
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html
1115
+ #
1116
+ # @note ExportPreferences is a union - when making an API calls you must set exactly one of the members.
1117
+ #
1118
+ # @!attribute [rw] ec2_recommendations_preferences
1119
+ # If enabled, exported data includes EC2 instance type matches for
1120
+ # on-premises servers discovered through Amazon Web Services
1121
+ # Application Discovery Service.
1122
+ # @return [Types::Ec2RecommendationsExportPreferences]
1123
+ #
1124
+ class ExportPreferences < Struct.new(
1125
+ :ec2_recommendations_preferences,
1126
+ :unknown)
1127
+ SENSITIVE = []
1128
+ include Aws::Structure
1129
+ include Aws::Structure::Union
1130
+
1131
+ class Ec2RecommendationsPreferences < ExportPreferences; end
1132
+ class Unknown < ExportPreferences; end
1133
+ end
1134
+
1044
1135
  # A filter that can use conditional operators.
1045
1136
  #
1046
1137
  # For more information about filters, see [Querying Discovered
@@ -1114,6 +1205,7 @@ module Aws::ApplicationDiscoveryService
1114
1205
  # @return [Types::CustomerMeCollectorInfo]
1115
1206
  #
1116
1207
  # @!attribute [rw] agentless_collector_summary
1208
+ # Details about Agentless Collector collectors, including status.
1117
1209
  # @return [Types::CustomerAgentlessCollectorInfo]
1118
1210
  #
1119
1211
  class GetDiscoverySummaryResponse < Struct.new(
@@ -1129,7 +1221,7 @@ module Aws::ApplicationDiscoveryService
1129
1221
  include Aws::Structure
1130
1222
  end
1131
1223
 
1132
- # The home region is not set. Set the home region to continue.
1224
+ # The home Region is not set. Set the home Region to continue.
1133
1225
  #
1134
1226
  # @!attribute [rw] message
1135
1227
  # @return [String]
@@ -1490,6 +1582,29 @@ module Aws::ApplicationDiscoveryService
1490
1582
  include Aws::Structure
1491
1583
  end
1492
1584
 
1585
+ # Used to provide Reserved Instance preferences for the recommendation.
1586
+ #
1587
+ # @!attribute [rw] purchasing_option
1588
+ # The payment plan to use for your Reserved Instance.
1589
+ # @return [String]
1590
+ #
1591
+ # @!attribute [rw] offering_class
1592
+ # The flexibility to change the instance types needed for your
1593
+ # Reserved Instance.
1594
+ # @return [String]
1595
+ #
1596
+ # @!attribute [rw] term_length
1597
+ # The preferred duration of the Reserved Instance term.
1598
+ # @return [String]
1599
+ #
1600
+ class ReservedInstanceOptions < Struct.new(
1601
+ :purchasing_option,
1602
+ :offering_class,
1603
+ :term_length)
1604
+ SENSITIVE = []
1605
+ include Aws::Structure
1606
+ end
1607
+
1493
1608
  # This issue occurs when the same `clientRequestToken` is used with the
1494
1609
  # `StartImportTask` action, but with different parameters. For example,
1495
1610
  # you use the same request token but have two different import URLs, you
@@ -1570,15 +1685,14 @@ module Aws::ApplicationDiscoveryService
1570
1685
  end
1571
1686
 
1572
1687
  # @!attribute [rw] agent_ids
1573
- # The IDs of the agents or connectors from which to start collecting
1574
- # data. If you send a request to an agent/connector ID that you do not
1575
- # have permission to contact, according to your Amazon Web Services
1576
- # account, the service does not throw an exception. Instead, it
1577
- # returns the error in the *Description* field. If you send a request
1578
- # to multiple agents/connectors and you do not have permission to
1579
- # contact some of those agents/connectors, the system does not throw
1580
- # an exception. Instead, the system shows `Failed` in the
1581
- # *Description* field.
1688
+ # The IDs of the agents from which to start collecting data. If you
1689
+ # send a request to an agent ID that you do not have permission to
1690
+ # contact, according to your Amazon Web Services account, the service
1691
+ # does not throw an exception. Instead, it returns the error in the
1692
+ # *Description* field. If you send a request to multiple agents and
1693
+ # you do not have permission to contact some of those agents, the
1694
+ # system does not throw an exception. Instead, the system shows
1695
+ # `Failed` in the *Description* field.
1582
1696
  # @return [Array<String>]
1583
1697
  #
1584
1698
  class StartDataCollectionByAgentIdsRequest < Struct.new(
@@ -1588,10 +1702,10 @@ module Aws::ApplicationDiscoveryService
1588
1702
  end
1589
1703
 
1590
1704
  # @!attribute [rw] agents_configuration_status
1591
- # Information about agents or the connector that were instructed to
1592
- # start collecting data. Information includes the agent/connector ID,
1593
- # a description of the operation performed, and whether the
1594
- # agent/connector configuration was updated.
1705
+ # Information about agents that were instructed to start collecting
1706
+ # data. Information includes the agent ID, a description of the
1707
+ # operation performed, and whether the agent configuration was
1708
+ # updated.
1595
1709
  # @return [Array<Types::AgentConfigurationStatus>]
1596
1710
  #
1597
1711
  class StartDataCollectionByAgentIdsResponse < Struct.new(
@@ -1610,8 +1724,9 @@ module Aws::ApplicationDiscoveryService
1610
1724
  # Application Discovery Agent for which data is exported. The
1611
1725
  # `agentId` can be found in the results of the `DescribeAgents` API or
1612
1726
  # CLI. If no filter is present, `startTime` and `endTime` are ignored
1613
- # and exported data includes both Agentless Discovery Connector data
1614
- # and summary data from Application Discovery agents.
1727
+ # and exported data includes both Amazon Web Services Application
1728
+ # Discovery Service Agentless Collector collectors data and summary
1729
+ # data from Application Discovery Agent agents.
1615
1730
  # @return [Array<Types::ExportFilter>]
1616
1731
  #
1617
1732
  # @!attribute [rw] start_time
@@ -1627,11 +1742,21 @@ module Aws::ApplicationDiscoveryService
1627
1742
  # exported data includes the most recent data collected by the agent.
1628
1743
  # @return [Time]
1629
1744
  #
1745
+ # @!attribute [rw] preferences
1746
+ # Indicates the type of data that needs to be exported. Only one
1747
+ # [ExportPreferences][1] can be enabled at any time.
1748
+ #
1749
+ #
1750
+ #
1751
+ # [1]: https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_ExportPreferences.html
1752
+ # @return [Types::ExportPreferences]
1753
+ #
1630
1754
  class StartExportTaskRequest < Struct.new(
1631
1755
  :export_data_format,
1632
1756
  :filters,
1633
1757
  :start_time,
1634
- :end_time)
1758
+ :end_time,
1759
+ :preferences)
1635
1760
  SENSITIVE = []
1636
1761
  include Aws::Structure
1637
1762
  end
@@ -1722,8 +1847,7 @@ module Aws::ApplicationDiscoveryService
1722
1847
  end
1723
1848
 
1724
1849
  # @!attribute [rw] agent_ids
1725
- # The IDs of the agents or connectors from which to stop collecting
1726
- # data.
1850
+ # The IDs of the agents from which to stop collecting data.
1727
1851
  # @return [Array<String>]
1728
1852
  #
1729
1853
  class StopDataCollectionByAgentIdsRequest < Struct.new(
@@ -1733,10 +1857,10 @@ module Aws::ApplicationDiscoveryService
1733
1857
  end
1734
1858
 
1735
1859
  # @!attribute [rw] agents_configuration_status
1736
- # Information about the agents or connector that were instructed to
1737
- # stop collecting data. Information includes the agent/connector ID, a
1738
- # description of the operation performed, and whether the
1739
- # agent/connector configuration was updated.
1860
+ # Information about the agents that were instructed to stop collecting
1861
+ # data. Information includes the agent ID, a description of the
1862
+ # operation performed, and whether the agent configuration was
1863
+ # updated.
1740
1864
  # @return [Array<Types::AgentConfigurationStatus>]
1741
1865
  #
1742
1866
  class StopDataCollectionByAgentIdsResponse < Struct.new(
@@ -1804,5 +1928,24 @@ module Aws::ApplicationDiscoveryService
1804
1928
 
1805
1929
  class UpdateApplicationResponse < Aws::EmptyStructure; end
1806
1930
 
1931
+ # Specifies the performance metrics to use for the server that is used
1932
+ # for recommendations.
1933
+ #
1934
+ # @!attribute [rw] name
1935
+ # A utilization metric that is used by the recommendations.
1936
+ # @return [String]
1937
+ #
1938
+ # @!attribute [rw] percentage_adjust
1939
+ # Specifies the percentage of the specified utilization metric that is
1940
+ # used by the recommendations.
1941
+ # @return [Float]
1942
+ #
1943
+ class UsageMetricBasis < Struct.new(
1944
+ :name,
1945
+ :percentage_adjust)
1946
+ SENSITIVE = []
1947
+ include Aws::Structure
1948
+ end
1949
+
1807
1950
  end
1808
1951
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-applicationdiscoveryservice/customizations'
52
52
  # @!group service
53
53
  module Aws::ApplicationDiscoveryService
54
54
 
55
- GEM_VERSION = '1.50.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-applicationdiscoveryservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core