aws-sdk-applicationdiscoveryservice 1.58.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68c4652fdb8d28e7f5c5215ff26ff9c0f87f9be203303eb51587e2edc8a7c3dc
4
- data.tar.gz: 8369d709fe18463bb39341373c1abea68fef20e7adbf4c6c86e8dc2eebde6a64
3
+ metadata.gz: 7ce1b475c356c793f51e748c4da108ff43e2b0ddbd838e65fe856511823add38
4
+ data.tar.gz: fe07f6e0f094051625b4a81b5e0e94bcb1d122b7b89993112e4747f028aa72e5
5
5
  SHA512:
6
- metadata.gz: 9962b267b669c52eabdfe2dbd85fee4eca6076e79d37844a3c71efefd3d4d36c69138138ebb0779e67de7f6ccd2f1558dc78633dafd9af797ed19f6176f42e92
7
- data.tar.gz: 29abd9664c284296560a25b031033210eead32695361e33e8b94c6074468d6ff71ebb1cbadb677f213395ca05eaefcc6fd2e35a8d234e1daa2fcdfc8e6b35706
6
+ metadata.gz: ef5ab13243b889045557d6b65333182705efb67f576b5fbb04a8971ffdea149844486df89476f336cfe6ba6e0f7d014b3d927adef6592d8e0035e335231dc1f0
7
+ data.tar.gz: fbace439cbabcfe40ab6dc8e3388d7fab42e012a2e2df51e99589c1d3c4ccafd30b05e775933a5d475c95fa2600abf26e15400a4de95d7838adbe88fc4368024
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2023-11-22)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.59.0 (2023-10-20)
10
+ ------------------
11
+
12
+ * Feature - This release introduces three new APIs: StartBatchDeleteConfigurationTask, DescribeBatchDeleteConfigurationTask, and BatchDeleteAgents.
13
+
4
14
  1.58.0 (2023-10-17)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.60.0
@@ -424,6 +424,42 @@ module Aws::ApplicationDiscoveryService
424
424
  req.send_request(options)
425
425
  end
426
426
 
427
+ # Deletes one or more agents or collectors as specified by ID. Deleting
428
+ # an agent or collector does not delete the previously discovered data.
429
+ # To delete the data collected, use `StartBatchDeleteConfigurationTask`.
430
+ #
431
+ # @option params [required, Array<Types::DeleteAgent>] :delete_agents
432
+ # The list of agents to delete.
433
+ #
434
+ # @return [Types::BatchDeleteAgentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
435
+ #
436
+ # * {Types::BatchDeleteAgentsResponse#errors #errors} => Array&lt;Types::BatchDeleteAgentError&gt;
437
+ #
438
+ # @example Request syntax with placeholder values
439
+ #
440
+ # resp = client.batch_delete_agents({
441
+ # delete_agents: [ # required
442
+ # {
443
+ # agent_id: "AgentId", # required
444
+ # force: false,
445
+ # },
446
+ # ],
447
+ # })
448
+ #
449
+ # @example Response structure
450
+ #
451
+ # resp.errors #=> Array
452
+ # resp.errors[0].agent_id #=> String
453
+ # resp.errors[0].error_message #=> String
454
+ # resp.errors[0].error_code #=> String, one of "NOT_FOUND", "INTERNAL_SERVER_ERROR", "AGENT_IN_USE"
455
+ #
456
+ # @overload batch_delete_agents(params = {})
457
+ # @param [Hash] params ({})
458
+ def batch_delete_agents(params = {}, options = {})
459
+ req = build_request(:batch_delete_agents, params)
460
+ req.send_request(options)
461
+ end
462
+
427
463
  # Deletes one or more import tasks, each identified by their import ID.
428
464
  # Each import task has a number of records that can identify servers or
429
465
  # applications.
@@ -439,6 +475,10 @@ module Aws::ApplicationDiscoveryService
439
475
  # @option params [required, Array<String>] :import_task_ids
440
476
  # The IDs for the import tasks that you want to delete.
441
477
  #
478
+ # @option params [Boolean] :delete_history
479
+ # Set to `true` to remove the deleted import task from
480
+ # DescribeImportTasks.
481
+ #
442
482
  # @return [Types::BatchDeleteImportDataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
443
483
  #
444
484
  # * {Types::BatchDeleteImportDataResponse#errors #errors} => Array&lt;Types::BatchDeleteImportDataError&gt;
@@ -447,6 +487,7 @@ module Aws::ApplicationDiscoveryService
447
487
  #
448
488
  # resp = client.batch_delete_import_data({
449
489
  # import_task_ids: ["ImportTaskIdentifier"], # required
490
+ # delete_history: false,
450
491
  # })
451
492
  #
452
493
  # @example Response structure
@@ -616,6 +657,8 @@ module Aws::ApplicationDiscoveryService
616
657
  # * {Types::DescribeAgentsResponse#agents_info #agents_info} => Array&lt;Types::AgentInfo&gt;
617
658
  # * {Types::DescribeAgentsResponse#next_token #next_token} => String
618
659
  #
660
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
661
+ #
619
662
  # @example Request syntax with placeholder values
620
663
  #
621
664
  # resp = client.describe_agents({
@@ -655,6 +698,49 @@ module Aws::ApplicationDiscoveryService
655
698
  req.send_request(options)
656
699
  end
657
700
 
701
+ # Takes a unique deletion task identifier as input and returns metadata
702
+ # about a configuration deletion task.
703
+ #
704
+ # @option params [required, String] :task_id
705
+ # The ID of the task to delete.
706
+ #
707
+ # @return [Types::DescribeBatchDeleteConfigurationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
708
+ #
709
+ # * {Types::DescribeBatchDeleteConfigurationTaskResponse#task #task} => Types::BatchDeleteConfigurationTask
710
+ #
711
+ # @example Request syntax with placeholder values
712
+ #
713
+ # resp = client.describe_batch_delete_configuration_task({
714
+ # task_id: "UUID", # required
715
+ # })
716
+ #
717
+ # @example Response structure
718
+ #
719
+ # resp.task.task_id #=> String
720
+ # resp.task.status #=> String, one of "INITIALIZING", "VALIDATING", "DELETING", "COMPLETED", "FAILED"
721
+ # resp.task.start_time #=> Time
722
+ # resp.task.end_time #=> Time
723
+ # resp.task.configuration_type #=> String, one of "SERVER"
724
+ # resp.task.requested_configurations #=> Array
725
+ # resp.task.requested_configurations[0] #=> String
726
+ # resp.task.deleted_configurations #=> Array
727
+ # resp.task.deleted_configurations[0] #=> String
728
+ # resp.task.failed_configurations #=> Array
729
+ # resp.task.failed_configurations[0].configuration_id #=> String
730
+ # resp.task.failed_configurations[0].error_status_code #=> Integer
731
+ # resp.task.failed_configurations[0].error_message #=> String
732
+ # resp.task.deletion_warnings #=> Array
733
+ # resp.task.deletion_warnings[0].configuration_id #=> String
734
+ # resp.task.deletion_warnings[0].warning_code #=> Integer
735
+ # resp.task.deletion_warnings[0].warning_text #=> String
736
+ #
737
+ # @overload describe_batch_delete_configuration_task(params = {})
738
+ # @param [Hash] params ({})
739
+ def describe_batch_delete_configuration_task(params = {}, options = {})
740
+ req = build_request(:describe_batch_delete_configuration_task, params)
741
+ req.send_request(options)
742
+ end
743
+
658
744
  # Retrieves attributes for a list of configuration item IDs.
659
745
  #
660
746
  # <note markdown="1"> All of the supplied IDs must be for the same asset type from one of
@@ -781,6 +867,8 @@ module Aws::ApplicationDiscoveryService
781
867
  # * {Types::DescribeExportConfigurationsResponse#exports_info #exports_info} => Array&lt;Types::ExportInfo&gt;
782
868
  # * {Types::DescribeExportConfigurationsResponse#next_token #next_token} => String
783
869
  #
870
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
871
+ #
784
872
  # @example Request syntax with placeholder values
785
873
  #
786
874
  # resp = client.describe_export_configurations({
@@ -841,6 +929,8 @@ module Aws::ApplicationDiscoveryService
841
929
  # * {Types::DescribeExportTasksResponse#exports_info #exports_info} => Array&lt;Types::ExportInfo&gt;
842
930
  # * {Types::DescribeExportTasksResponse#next_token #next_token} => String
843
931
  #
932
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
933
+ #
844
934
  # @example Request syntax with placeholder values
845
935
  #
846
936
  # resp = client.describe_export_tasks({
@@ -971,6 +1061,8 @@ module Aws::ApplicationDiscoveryService
971
1061
  # * {Types::DescribeTagsResponse#tags #tags} => Array&lt;Types::ConfigurationTag&gt;
972
1062
  # * {Types::DescribeTagsResponse#next_token #next_token} => String
973
1063
  #
1064
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1065
+ #
974
1066
  # @example Request syntax with placeholder values
975
1067
  #
976
1068
  # resp = client.describe_tags({
@@ -1154,6 +1246,8 @@ module Aws::ApplicationDiscoveryService
1154
1246
  # * {Types::ListConfigurationsResponse#configurations #configurations} => Array&lt;Hash&lt;String,String&gt;&gt;
1155
1247
  # * {Types::ListConfigurationsResponse#next_token #next_token} => String
1156
1248
  #
1249
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1250
+ #
1157
1251
  # @example Request syntax with placeholder values
1158
1252
  #
1159
1253
  # resp = client.list_configurations({
@@ -1247,6 +1341,38 @@ module Aws::ApplicationDiscoveryService
1247
1341
  req.send_request(options)
1248
1342
  end
1249
1343
 
1344
+ # Takes a list of configurationId as input and starts an asynchronous
1345
+ # deletion task to remove the configurationItems. Returns a unique
1346
+ # deletion task identifier.
1347
+ #
1348
+ # @option params [required, String] :configuration_type
1349
+ # The type of configuration item to delete. Supported types are: SERVER.
1350
+ #
1351
+ # @option params [required, Array<String>] :configuration_ids
1352
+ # The list of configuration IDs that will be deleted by the task.
1353
+ #
1354
+ # @return [Types::StartBatchDeleteConfigurationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1355
+ #
1356
+ # * {Types::StartBatchDeleteConfigurationTaskResponse#task_id #task_id} => String
1357
+ #
1358
+ # @example Request syntax with placeholder values
1359
+ #
1360
+ # resp = client.start_batch_delete_configuration_task({
1361
+ # configuration_type: "SERVER", # required, accepts SERVER
1362
+ # configuration_ids: ["ConfigurationId"], # required
1363
+ # })
1364
+ #
1365
+ # @example Response structure
1366
+ #
1367
+ # resp.task_id #=> String
1368
+ #
1369
+ # @overload start_batch_delete_configuration_task(params = {})
1370
+ # @param [Hash] params ({})
1371
+ def start_batch_delete_configuration_task(params = {}, options = {})
1372
+ req = build_request(:start_batch_delete_configuration_task, params)
1373
+ req.send_request(options)
1374
+ end
1375
+
1250
1376
  # Start the continuous flow of agent's discovered data into Amazon
1251
1377
  # Athena.
1252
1378
  #
@@ -1625,7 +1751,7 @@ module Aws::ApplicationDiscoveryService
1625
1751
  params: params,
1626
1752
  config: config)
1627
1753
  context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
1628
- context[:gem_version] = '1.58.0'
1754
+ context[:gem_version] = '1.60.0'
1629
1755
  Seahorse::Client::Request.new(handlers, context)
1630
1756
  end
1631
1757
 
@@ -29,6 +29,12 @@ module Aws::ApplicationDiscoveryService
29
29
  AssociateConfigurationItemsToApplicationRequest = Shapes::StructureShape.new(name: 'AssociateConfigurationItemsToApplicationRequest')
30
30
  AssociateConfigurationItemsToApplicationResponse = Shapes::StructureShape.new(name: 'AssociateConfigurationItemsToApplicationResponse')
31
31
  AuthorizationErrorException = Shapes::StructureShape.new(name: 'AuthorizationErrorException')
32
+ BatchDeleteAgentError = Shapes::StructureShape.new(name: 'BatchDeleteAgentError')
33
+ BatchDeleteAgentErrors = Shapes::ListShape.new(name: 'BatchDeleteAgentErrors')
34
+ BatchDeleteAgentsRequest = Shapes::StructureShape.new(name: 'BatchDeleteAgentsRequest')
35
+ BatchDeleteAgentsResponse = Shapes::StructureShape.new(name: 'BatchDeleteAgentsResponse')
36
+ BatchDeleteConfigurationTask = Shapes::StructureShape.new(name: 'BatchDeleteConfigurationTask')
37
+ BatchDeleteConfigurationTaskStatus = Shapes::StringShape.new(name: 'BatchDeleteConfigurationTaskStatus')
32
38
  BatchDeleteImportDataError = Shapes::StructureShape.new(name: 'BatchDeleteImportDataError')
33
39
  BatchDeleteImportDataErrorCode = Shapes::StringShape.new(name: 'BatchDeleteImportDataErrorCode')
34
40
  BatchDeleteImportDataErrorDescription = Shapes::StringShape.new(name: 'BatchDeleteImportDataErrorDescription')
@@ -63,12 +69,20 @@ module Aws::ApplicationDiscoveryService
63
69
  CustomerMeCollectorInfo = Shapes::StructureShape.new(name: 'CustomerMeCollectorInfo')
64
70
  DataSource = Shapes::StringShape.new(name: 'DataSource')
65
71
  DatabaseName = Shapes::StringShape.new(name: 'DatabaseName')
72
+ DeleteAgent = Shapes::StructureShape.new(name: 'DeleteAgent')
73
+ DeleteAgentErrorCode = Shapes::StringShape.new(name: 'DeleteAgentErrorCode')
74
+ DeleteAgents = Shapes::ListShape.new(name: 'DeleteAgents')
66
75
  DeleteApplicationsRequest = Shapes::StructureShape.new(name: 'DeleteApplicationsRequest')
67
76
  DeleteApplicationsResponse = Shapes::StructureShape.new(name: 'DeleteApplicationsResponse')
68
77
  DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
69
78
  DeleteTagsResponse = Shapes::StructureShape.new(name: 'DeleteTagsResponse')
79
+ DeletionConfigurationItemType = Shapes::StringShape.new(name: 'DeletionConfigurationItemType')
80
+ DeletionWarning = Shapes::StructureShape.new(name: 'DeletionWarning')
81
+ DeletionWarningsList = Shapes::ListShape.new(name: 'DeletionWarningsList')
70
82
  DescribeAgentsRequest = Shapes::StructureShape.new(name: 'DescribeAgentsRequest')
71
83
  DescribeAgentsResponse = Shapes::StructureShape.new(name: 'DescribeAgentsResponse')
84
+ DescribeBatchDeleteConfigurationTaskRequest = Shapes::StructureShape.new(name: 'DescribeBatchDeleteConfigurationTaskRequest')
85
+ DescribeBatchDeleteConfigurationTaskResponse = Shapes::StructureShape.new(name: 'DescribeBatchDeleteConfigurationTaskResponse')
72
86
  DescribeConfigurationsAttribute = Shapes::MapShape.new(name: 'DescribeConfigurationsAttribute')
73
87
  DescribeConfigurationsAttributes = Shapes::ListShape.new(name: 'DescribeConfigurationsAttributes')
74
88
  DescribeConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationsRequest')
@@ -90,6 +104,8 @@ module Aws::ApplicationDiscoveryService
90
104
  DisassociateConfigurationItemsFromApplicationResponse = Shapes::StructureShape.new(name: 'DisassociateConfigurationItemsFromApplicationResponse')
91
105
  EC2InstanceType = Shapes::StringShape.new(name: 'EC2InstanceType')
92
106
  Ec2RecommendationsExportPreferences = Shapes::StructureShape.new(name: 'Ec2RecommendationsExportPreferences')
107
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
108
+ ErrorStatusCode = Shapes::IntegerShape.new(name: 'ErrorStatusCode')
93
109
  ExcludedInstanceTypes = Shapes::ListShape.new(name: 'ExcludedInstanceTypes')
94
110
  ExportConfigurationsResponse = Shapes::StructureShape.new(name: 'ExportConfigurationsResponse')
95
111
  ExportDataFormat = Shapes::StringShape.new(name: 'ExportDataFormat')
@@ -104,6 +120,8 @@ module Aws::ApplicationDiscoveryService
104
120
  ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
105
121
  ExportStatusMessage = Shapes::StringShape.new(name: 'ExportStatusMessage')
106
122
  ExportsInfo = Shapes::ListShape.new(name: 'ExportsInfo')
123
+ FailedConfiguration = Shapes::StructureShape.new(name: 'FailedConfiguration')
124
+ FailedConfigurationList = Shapes::ListShape.new(name: 'FailedConfigurationList')
107
125
  Filter = Shapes::StructureShape.new(name: 'Filter')
108
126
  FilterName = Shapes::StringShape.new(name: 'FilterName')
109
127
  FilterValue = Shapes::StringShape.new(name: 'FilterValue')
@@ -125,6 +143,7 @@ module Aws::ApplicationDiscoveryService
125
143
  Integer = Shapes::IntegerShape.new(name: 'Integer')
126
144
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
127
145
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
146
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
128
147
  ListConfigurationsRequest = Shapes::StructureShape.new(name: 'ListConfigurationsRequest')
129
148
  ListConfigurationsResponse = Shapes::StructureShape.new(name: 'ListConfigurationsResponse')
130
149
  ListServerNeighborsRequest = Shapes::StructureShape.new(name: 'ListServerNeighborsRequest')
@@ -147,6 +166,8 @@ module Aws::ApplicationDiscoveryService
147
166
  S3PresignedUrl = Shapes::StringShape.new(name: 'S3PresignedUrl')
148
167
  SchemaStorageConfig = Shapes::MapShape.new(name: 'SchemaStorageConfig')
149
168
  ServerInternalErrorException = Shapes::StructureShape.new(name: 'ServerInternalErrorException')
169
+ StartBatchDeleteConfigurationTaskRequest = Shapes::StructureShape.new(name: 'StartBatchDeleteConfigurationTaskRequest')
170
+ StartBatchDeleteConfigurationTaskResponse = Shapes::StructureShape.new(name: 'StartBatchDeleteConfigurationTaskResponse')
150
171
  StartContinuousExportRequest = Shapes::StructureShape.new(name: 'StartContinuousExportRequest')
151
172
  StartContinuousExportResponse = Shapes::StructureShape.new(name: 'StartContinuousExportResponse')
152
173
  StartDataCollectionByAgentIdsRequest = Shapes::StructureShape.new(name: 'StartDataCollectionByAgentIdsRequest')
@@ -171,12 +192,15 @@ module Aws::ApplicationDiscoveryService
171
192
  TermLength = Shapes::StringShape.new(name: 'TermLength')
172
193
  TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
173
194
  ToDeleteIdentifierList = Shapes::ListShape.new(name: 'ToDeleteIdentifierList')
195
+ UUID = Shapes::StringShape.new(name: 'UUID')
174
196
  UpdateApplicationRequest = Shapes::StructureShape.new(name: 'UpdateApplicationRequest')
175
197
  UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
176
198
  UsageMetricBasis = Shapes::StructureShape.new(name: 'UsageMetricBasis')
177
199
  UsageMetricBasisName = Shapes::StringShape.new(name: 'UsageMetricBasisName')
178
200
  UsageMetricPercentageAdjust = Shapes::FloatShape.new(name: 'UsageMetricPercentageAdjust')
179
201
  UserPreferredRegion = Shapes::StringShape.new(name: 'UserPreferredRegion')
202
+ WarningCode = Shapes::IntegerShape.new(name: 'WarningCode')
203
+ WarningText = Shapes::StringShape.new(name: 'WarningText')
180
204
  orderString = Shapes::StringShape.new(name: 'orderString')
181
205
 
182
206
  AgentConfigurationStatus.add_member(:agent_id, Shapes::ShapeRef.new(shape: String, location_name: "agentId"))
@@ -219,6 +243,30 @@ module Aws::ApplicationDiscoveryService
219
243
  AuthorizationErrorException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
220
244
  AuthorizationErrorException.struct_class = Types::AuthorizationErrorException
221
245
 
246
+ BatchDeleteAgentError.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
247
+ BatchDeleteAgentError.add_member(:error_message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "errorMessage"))
248
+ BatchDeleteAgentError.add_member(:error_code, Shapes::ShapeRef.new(shape: DeleteAgentErrorCode, required: true, location_name: "errorCode"))
249
+ BatchDeleteAgentError.struct_class = Types::BatchDeleteAgentError
250
+
251
+ BatchDeleteAgentErrors.member = Shapes::ShapeRef.new(shape: BatchDeleteAgentError)
252
+
253
+ BatchDeleteAgentsRequest.add_member(:delete_agents, Shapes::ShapeRef.new(shape: DeleteAgents, required: true, location_name: "deleteAgents"))
254
+ BatchDeleteAgentsRequest.struct_class = Types::BatchDeleteAgentsRequest
255
+
256
+ BatchDeleteAgentsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteAgentErrors, location_name: "errors"))
257
+ BatchDeleteAgentsResponse.struct_class = Types::BatchDeleteAgentsResponse
258
+
259
+ BatchDeleteConfigurationTask.add_member(:task_id, Shapes::ShapeRef.new(shape: UUID, location_name: "taskId"))
260
+ BatchDeleteConfigurationTask.add_member(:status, Shapes::ShapeRef.new(shape: BatchDeleteConfigurationTaskStatus, location_name: "status"))
261
+ BatchDeleteConfigurationTask.add_member(:start_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "startTime"))
262
+ BatchDeleteConfigurationTask.add_member(:end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "endTime"))
263
+ BatchDeleteConfigurationTask.add_member(:configuration_type, Shapes::ShapeRef.new(shape: DeletionConfigurationItemType, location_name: "configurationType"))
264
+ BatchDeleteConfigurationTask.add_member(:requested_configurations, Shapes::ShapeRef.new(shape: ConfigurationIdList, location_name: "requestedConfigurations"))
265
+ BatchDeleteConfigurationTask.add_member(:deleted_configurations, Shapes::ShapeRef.new(shape: ConfigurationIdList, location_name: "deletedConfigurations"))
266
+ BatchDeleteConfigurationTask.add_member(:failed_configurations, Shapes::ShapeRef.new(shape: FailedConfigurationList, location_name: "failedConfigurations"))
267
+ BatchDeleteConfigurationTask.add_member(:deletion_warnings, Shapes::ShapeRef.new(shape: DeletionWarningsList, location_name: "deletionWarnings"))
268
+ BatchDeleteConfigurationTask.struct_class = Types::BatchDeleteConfigurationTask
269
+
222
270
  BatchDeleteImportDataError.add_member(:import_task_id, Shapes::ShapeRef.new(shape: ImportTaskIdentifier, location_name: "importTaskId"))
223
271
  BatchDeleteImportDataError.add_member(:error_code, Shapes::ShapeRef.new(shape: BatchDeleteImportDataErrorCode, location_name: "errorCode"))
224
272
  BatchDeleteImportDataError.add_member(:error_description, Shapes::ShapeRef.new(shape: BatchDeleteImportDataErrorDescription, location_name: "errorDescription"))
@@ -227,6 +275,7 @@ module Aws::ApplicationDiscoveryService
227
275
  BatchDeleteImportDataErrorList.member = Shapes::ShapeRef.new(shape: BatchDeleteImportDataError)
228
276
 
229
277
  BatchDeleteImportDataRequest.add_member(:import_task_ids, Shapes::ShapeRef.new(shape: ToDeleteIdentifierList, required: true, location_name: "importTaskIds"))
278
+ BatchDeleteImportDataRequest.add_member(:delete_history, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteHistory"))
230
279
  BatchDeleteImportDataRequest.struct_class = Types::BatchDeleteImportDataRequest
231
280
 
232
281
  BatchDeleteImportDataResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDeleteImportDataErrorList, location_name: "errors"))
@@ -314,6 +363,12 @@ module Aws::ApplicationDiscoveryService
314
363
  CustomerMeCollectorInfo.add_member(:unknown_me_collectors, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "unknownMeCollectors"))
315
364
  CustomerMeCollectorInfo.struct_class = Types::CustomerMeCollectorInfo
316
365
 
366
+ DeleteAgent.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location_name: "agentId"))
367
+ DeleteAgent.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
368
+ DeleteAgent.struct_class = Types::DeleteAgent
369
+
370
+ DeleteAgents.member = Shapes::ShapeRef.new(shape: DeleteAgent)
371
+
317
372
  DeleteApplicationsRequest.add_member(:configuration_ids, Shapes::ShapeRef.new(shape: ApplicationIdsList, required: true, location_name: "configurationIds"))
318
373
  DeleteApplicationsRequest.struct_class = Types::DeleteApplicationsRequest
319
374
 
@@ -325,6 +380,13 @@ module Aws::ApplicationDiscoveryService
325
380
 
326
381
  DeleteTagsResponse.struct_class = Types::DeleteTagsResponse
327
382
 
383
+ DeletionWarning.add_member(:configuration_id, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configurationId"))
384
+ DeletionWarning.add_member(:warning_code, Shapes::ShapeRef.new(shape: WarningCode, location_name: "warningCode"))
385
+ DeletionWarning.add_member(:warning_text, Shapes::ShapeRef.new(shape: WarningText, location_name: "warningText"))
386
+ DeletionWarning.struct_class = Types::DeletionWarning
387
+
388
+ DeletionWarningsList.member = Shapes::ShapeRef.new(shape: DeletionWarning)
389
+
328
390
  DescribeAgentsRequest.add_member(:agent_ids, Shapes::ShapeRef.new(shape: AgentIds, location_name: "agentIds"))
329
391
  DescribeAgentsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "filters"))
330
392
  DescribeAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
@@ -335,6 +397,12 @@ module Aws::ApplicationDiscoveryService
335
397
  DescribeAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
336
398
  DescribeAgentsResponse.struct_class = Types::DescribeAgentsResponse
337
399
 
400
+ DescribeBatchDeleteConfigurationTaskRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "taskId"))
401
+ DescribeBatchDeleteConfigurationTaskRequest.struct_class = Types::DescribeBatchDeleteConfigurationTaskRequest
402
+
403
+ DescribeBatchDeleteConfigurationTaskResponse.add_member(:task, Shapes::ShapeRef.new(shape: BatchDeleteConfigurationTask, location_name: "task"))
404
+ DescribeBatchDeleteConfigurationTaskResponse.struct_class = Types::DescribeBatchDeleteConfigurationTaskResponse
405
+
338
406
  DescribeConfigurationsAttribute.key = Shapes::ShapeRef.new(shape: String)
339
407
  DescribeConfigurationsAttribute.value = Shapes::ShapeRef.new(shape: String)
340
408
 
@@ -443,6 +511,13 @@ module Aws::ApplicationDiscoveryService
443
511
 
444
512
  ExportsInfo.member = Shapes::ShapeRef.new(shape: ExportInfo)
445
513
 
514
+ FailedConfiguration.add_member(:configuration_id, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configurationId"))
515
+ FailedConfiguration.add_member(:error_status_code, Shapes::ShapeRef.new(shape: ErrorStatusCode, location_name: "errorStatusCode"))
516
+ FailedConfiguration.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
517
+ FailedConfiguration.struct_class = Types::FailedConfiguration
518
+
519
+ FailedConfigurationList.member = Shapes::ShapeRef.new(shape: FailedConfiguration)
520
+
446
521
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
447
522
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
448
523
  Filter.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, required: true, location_name: "condition"))
@@ -496,6 +571,9 @@ module Aws::ApplicationDiscoveryService
496
571
  InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
497
572
  InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
498
573
 
574
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
575
+ LimitExceededException.struct_class = Types::LimitExceededException
576
+
499
577
  ListConfigurationsRequest.add_member(:configuration_type, Shapes::ShapeRef.new(shape: ConfigurationItemType, required: true, location_name: "configurationType"))
500
578
  ListConfigurationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "filters"))
501
579
  ListConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
@@ -554,6 +632,13 @@ module Aws::ApplicationDiscoveryService
554
632
  ServerInternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
555
633
  ServerInternalErrorException.struct_class = Types::ServerInternalErrorException
556
634
 
635
+ StartBatchDeleteConfigurationTaskRequest.add_member(:configuration_type, Shapes::ShapeRef.new(shape: DeletionConfigurationItemType, required: true, location_name: "configurationType"))
636
+ StartBatchDeleteConfigurationTaskRequest.add_member(:configuration_ids, Shapes::ShapeRef.new(shape: ConfigurationIdList, required: true, location_name: "configurationIds"))
637
+ StartBatchDeleteConfigurationTaskRequest.struct_class = Types::StartBatchDeleteConfigurationTaskRequest
638
+
639
+ StartBatchDeleteConfigurationTaskResponse.add_member(:task_id, Shapes::ShapeRef.new(shape: UUID, location_name: "taskId"))
640
+ StartBatchDeleteConfigurationTaskResponse.struct_class = Types::StartBatchDeleteConfigurationTaskResponse
641
+
557
642
  StartContinuousExportRequest.struct_class = Types::StartContinuousExportRequest
558
643
 
559
644
  StartContinuousExportResponse.add_member(:export_id, Shapes::ShapeRef.new(shape: ConfigurationsExportId, location_name: "exportId"))
@@ -656,6 +741,18 @@ module Aws::ApplicationDiscoveryService
656
741
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
657
742
  end)
658
743
 
744
+ api.add_operation(:batch_delete_agents, Seahorse::Model::Operation.new.tap do |o|
745
+ o.name = "BatchDeleteAgents"
746
+ o.http_method = "POST"
747
+ o.http_request_uri = "/"
748
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteAgentsRequest)
749
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteAgentsResponse)
750
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
751
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
752
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
753
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
754
+ end)
755
+
659
756
  api.add_operation(:batch_delete_import_data, Seahorse::Model::Operation.new.tap do |o|
660
757
  o.name = "BatchDeleteImportData"
661
758
  o.http_method = "POST"
@@ -734,6 +831,24 @@ module Aws::ApplicationDiscoveryService
734
831
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
735
832
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
736
833
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
834
+ o[:pager] = Aws::Pager.new(
835
+ limit_key: "max_results",
836
+ tokens: {
837
+ "next_token" => "next_token"
838
+ }
839
+ )
840
+ end)
841
+
842
+ api.add_operation(:describe_batch_delete_configuration_task, Seahorse::Model::Operation.new.tap do |o|
843
+ o.name = "DescribeBatchDeleteConfigurationTask"
844
+ o.http_method = "POST"
845
+ o.http_request_uri = "/"
846
+ o.input = Shapes::ShapeRef.new(shape: DescribeBatchDeleteConfigurationTaskRequest)
847
+ o.output = Shapes::ShapeRef.new(shape: DescribeBatchDeleteConfigurationTaskResponse)
848
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
849
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
851
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
737
852
  end)
738
853
 
739
854
  api.add_operation(:describe_configurations, Seahorse::Model::Operation.new.tap do |o|
@@ -783,6 +898,12 @@ module Aws::ApplicationDiscoveryService
783
898
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
784
899
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
785
900
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
901
+ o[:pager] = Aws::Pager.new(
902
+ limit_key: "max_results",
903
+ tokens: {
904
+ "next_token" => "next_token"
905
+ }
906
+ )
786
907
  end)
787
908
 
788
909
  api.add_operation(:describe_export_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -796,6 +917,12 @@ module Aws::ApplicationDiscoveryService
796
917
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
797
918
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
798
919
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
920
+ o[:pager] = Aws::Pager.new(
921
+ limit_key: "max_results",
922
+ tokens: {
923
+ "next_token" => "next_token"
924
+ }
925
+ )
799
926
  end)
800
927
 
801
928
  api.add_operation(:describe_import_tasks, Seahorse::Model::Operation.new.tap do |o|
@@ -829,6 +956,12 @@ module Aws::ApplicationDiscoveryService
829
956
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
830
957
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
831
958
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
959
+ o[:pager] = Aws::Pager.new(
960
+ limit_key: "max_results",
961
+ tokens: {
962
+ "next_token" => "next_token"
963
+ }
964
+ )
832
965
  end)
833
966
 
834
967
  api.add_operation(:disassociate_configuration_items_from_application, Seahorse::Model::Operation.new.tap do |o|
@@ -884,6 +1017,12 @@ module Aws::ApplicationDiscoveryService
884
1017
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
885
1018
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
886
1019
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
1020
+ o[:pager] = Aws::Pager.new(
1021
+ limit_key: "max_results",
1022
+ tokens: {
1023
+ "next_token" => "next_token"
1024
+ }
1025
+ )
887
1026
  end)
888
1027
 
889
1028
  api.add_operation(:list_server_neighbors, Seahorse::Model::Operation.new.tap do |o|
@@ -899,6 +1038,20 @@ module Aws::ApplicationDiscoveryService
899
1038
  o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
900
1039
  end)
901
1040
 
1041
+ api.add_operation(:start_batch_delete_configuration_task, Seahorse::Model::Operation.new.tap do |o|
1042
+ o.name = "StartBatchDeleteConfigurationTask"
1043
+ o.http_method = "POST"
1044
+ o.http_request_uri = "/"
1045
+ o.input = Shapes::ShapeRef.new(shape: StartBatchDeleteConfigurationTaskRequest)
1046
+ o.output = Shapes::ShapeRef.new(shape: StartBatchDeleteConfigurationTaskResponse)
1047
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1048
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationErrorException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalErrorException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: HomeRegionNotSetException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1053
+ end)
1054
+
902
1055
  api.add_operation(:start_continuous_export, Seahorse::Model::Operation.new.tap do |o|
903
1056
  o.name = "StartContinuousExport"
904
1057
  o.http_method = "POST"
@@ -26,6 +26,20 @@ module Aws::ApplicationDiscoveryService
26
26
  end
27
27
  end
28
28
 
29
+ class BatchDeleteAgents
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::ApplicationDiscoveryService::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
29
43
  class BatchDeleteImportData
30
44
  def self.build(context)
31
45
  unless context.config.regional_endpoint
@@ -110,6 +124,20 @@ module Aws::ApplicationDiscoveryService
110
124
  end
111
125
  end
112
126
 
127
+ class DescribeBatchDeleteConfigurationTask
128
+ def self.build(context)
129
+ unless context.config.regional_endpoint
130
+ endpoint = context.config.endpoint.to_s
131
+ end
132
+ Aws::ApplicationDiscoveryService::EndpointParameters.new(
133
+ region: context.config.region,
134
+ use_dual_stack: context.config.use_dualstack_endpoint,
135
+ use_fips: context.config.use_fips_endpoint,
136
+ endpoint: endpoint,
137
+ )
138
+ end
139
+ end
140
+
113
141
  class DescribeConfigurations
114
142
  def self.build(context)
115
143
  unless context.config.regional_endpoint
@@ -264,6 +292,20 @@ module Aws::ApplicationDiscoveryService
264
292
  end
265
293
  end
266
294
 
295
+ class StartBatchDeleteConfigurationTask
296
+ def self.build(context)
297
+ unless context.config.regional_endpoint
298
+ endpoint = context.config.endpoint.to_s
299
+ end
300
+ Aws::ApplicationDiscoveryService::EndpointParameters.new(
301
+ region: context.config.region,
302
+ use_dual_stack: context.config.use_dualstack_endpoint,
303
+ use_fips: context.config.use_fips_endpoint,
304
+ endpoint: endpoint,
305
+ )
306
+ end
307
+ end
308
+
267
309
  class StartContinuousExport
268
310
  def self.build(context)
269
311
  unless context.config.regional_endpoint
@@ -32,6 +32,7 @@ module Aws::ApplicationDiscoveryService
32
32
  # * {HomeRegionNotSetException}
33
33
  # * {InvalidParameterException}
34
34
  # * {InvalidParameterValueException}
35
+ # * {LimitExceededException}
35
36
  # * {OperationNotPermittedException}
36
37
  # * {ResourceInUseException}
37
38
  # * {ResourceNotFoundException}
@@ -118,6 +119,21 @@ module Aws::ApplicationDiscoveryService
118
119
  end
119
120
  end
120
121
 
122
+ class LimitExceededException < ServiceError
123
+
124
+ # @param [Seahorse::Client::RequestContext] context
125
+ # @param [String] message
126
+ # @param [Aws::ApplicationDiscoveryService::Types::LimitExceededException] data
127
+ def initialize(context, message, data = Aws::EmptyStructure.new)
128
+ super(context, message, data)
129
+ end
130
+
131
+ # @return [String]
132
+ def message
133
+ @message || @data[:message]
134
+ end
135
+ end
136
+
121
137
  class OperationNotPermittedException < ServiceError
122
138
 
123
139
  # @param [Seahorse::Client::RequestContext] context
@@ -58,6 +58,8 @@ module Aws::ApplicationDiscoveryService
58
58
  case context.operation_name
59
59
  when :associate_configuration_items_to_application
60
60
  Aws::ApplicationDiscoveryService::Endpoints::AssociateConfigurationItemsToApplication.build(context)
61
+ when :batch_delete_agents
62
+ Aws::ApplicationDiscoveryService::Endpoints::BatchDeleteAgents.build(context)
61
63
  when :batch_delete_import_data
62
64
  Aws::ApplicationDiscoveryService::Endpoints::BatchDeleteImportData.build(context)
63
65
  when :create_application
@@ -70,6 +72,8 @@ module Aws::ApplicationDiscoveryService
70
72
  Aws::ApplicationDiscoveryService::Endpoints::DeleteTags.build(context)
71
73
  when :describe_agents
72
74
  Aws::ApplicationDiscoveryService::Endpoints::DescribeAgents.build(context)
75
+ when :describe_batch_delete_configuration_task
76
+ Aws::ApplicationDiscoveryService::Endpoints::DescribeBatchDeleteConfigurationTask.build(context)
73
77
  when :describe_configurations
74
78
  Aws::ApplicationDiscoveryService::Endpoints::DescribeConfigurations.build(context)
75
79
  when :describe_continuous_exports
@@ -92,6 +96,8 @@ module Aws::ApplicationDiscoveryService
92
96
  Aws::ApplicationDiscoveryService::Endpoints::ListConfigurations.build(context)
93
97
  when :list_server_neighbors
94
98
  Aws::ApplicationDiscoveryService::Endpoints::ListServerNeighbors.build(context)
99
+ when :start_batch_delete_configuration_task
100
+ Aws::ApplicationDiscoveryService::Endpoints::StartBatchDeleteConfigurationTask.build(context)
95
101
  when :start_continuous_export
96
102
  Aws::ApplicationDiscoveryService::Endpoints::StartContinuousExport.build(context)
97
103
  when :start_data_collection_by_agent_ids
@@ -146,6 +146,112 @@ module Aws::ApplicationDiscoveryService
146
146
  include Aws::Structure
147
147
  end
148
148
 
149
+ # An object representing the agent or data collector that failed to
150
+ # delete, each containing agentId, errorMessage, and errorCode.
151
+ #
152
+ # @!attribute [rw] agent_id
153
+ # The ID of the agent or data collector to delete.
154
+ # @return [String]
155
+ #
156
+ # @!attribute [rw] error_message
157
+ # The description of the error that occurred for the delete failed
158
+ # agent.
159
+ # @return [String]
160
+ #
161
+ # @!attribute [rw] error_code
162
+ # The type of error that occurred for the delete failed agent. Valid
163
+ # status are: AGENT\_IN\_USE \| NOT\_FOUND \| INTERNAL\_SERVER\_ERROR.
164
+ # @return [String]
165
+ #
166
+ class BatchDeleteAgentError < Struct.new(
167
+ :agent_id,
168
+ :error_message,
169
+ :error_code)
170
+ SENSITIVE = []
171
+ include Aws::Structure
172
+ end
173
+
174
+ # @!attribute [rw] delete_agents
175
+ # The list of agents to delete.
176
+ # @return [Array<Types::DeleteAgent>]
177
+ #
178
+ class BatchDeleteAgentsRequest < Struct.new(
179
+ :delete_agents)
180
+ SENSITIVE = []
181
+ include Aws::Structure
182
+ end
183
+
184
+ # @!attribute [rw] errors
185
+ # A list of agent IDs that failed to delete during the deletion task,
186
+ # each paired with an error message.
187
+ # @return [Array<Types::BatchDeleteAgentError>]
188
+ #
189
+ class BatchDeleteAgentsResponse < Struct.new(
190
+ :errors)
191
+ SENSITIVE = []
192
+ include Aws::Structure
193
+ end
194
+
195
+ # A metadata object that represents the deletion task being executed.
196
+ #
197
+ # @!attribute [rw] task_id
198
+ # The deletion task's unique identifier.
199
+ # @return [String]
200
+ #
201
+ # @!attribute [rw] status
202
+ # The current execution status of the deletion task. Valid status are:
203
+ # INITIALIZING \| VALIDATING \| DELETING \| COMPLETED \| FAILED.
204
+ # @return [String]
205
+ #
206
+ # @!attribute [rw] start_time
207
+ # An epoch seconds timestamp (UTC) of when the deletion task was
208
+ # started.
209
+ # @return [Time]
210
+ #
211
+ # @!attribute [rw] end_time
212
+ # An epoch seconds timestamp (UTC) of when the deletion task was
213
+ # completed or failed.
214
+ # @return [Time]
215
+ #
216
+ # @!attribute [rw] configuration_type
217
+ # The type of configuration item to delete. Supported types are:
218
+ # SERVER.
219
+ # @return [String]
220
+ #
221
+ # @!attribute [rw] requested_configurations
222
+ # The list of configuration IDs that were originally requested to be
223
+ # deleted by the deletion task.
224
+ # @return [Array<String>]
225
+ #
226
+ # @!attribute [rw] deleted_configurations
227
+ # The list of configuration IDs that were successfully deleted by the
228
+ # deletion task.
229
+ # @return [Array<String>]
230
+ #
231
+ # @!attribute [rw] failed_configurations
232
+ # A list of configuration IDs that failed to delete during the
233
+ # deletion task, each paired with an error message.
234
+ # @return [Array<Types::FailedConfiguration>]
235
+ #
236
+ # @!attribute [rw] deletion_warnings
237
+ # A list of configuration IDs that produced warnings regarding their
238
+ # deletion, paired with a warning message.
239
+ # @return [Array<Types::DeletionWarning>]
240
+ #
241
+ class BatchDeleteConfigurationTask < Struct.new(
242
+ :task_id,
243
+ :status,
244
+ :start_time,
245
+ :end_time,
246
+ :configuration_type,
247
+ :requested_configurations,
248
+ :deleted_configurations,
249
+ :failed_configurations,
250
+ :deletion_warnings)
251
+ SENSITIVE = []
252
+ include Aws::Structure
253
+ end
254
+
149
255
  # Error messages returned for each import task that you deleted as a
150
256
  # response for this command.
151
257
  #
@@ -174,8 +280,14 @@ module Aws::ApplicationDiscoveryService
174
280
  # The IDs for the import tasks that you want to delete.
175
281
  # @return [Array<String>]
176
282
  #
283
+ # @!attribute [rw] delete_history
284
+ # Set to `true` to remove the deleted import task from
285
+ # DescribeImportTasks.
286
+ # @return [Boolean]
287
+ #
177
288
  class BatchDeleteImportDataRequest < Struct.new(
178
- :import_task_ids)
289
+ :import_task_ids,
290
+ :delete_history)
179
291
  SENSITIVE = []
180
292
  include Aws::Structure
181
293
  end
@@ -610,6 +722,28 @@ module Aws::ApplicationDiscoveryService
610
722
  include Aws::Structure
611
723
  end
612
724
 
725
+ # An object representing the agent or data collector to be deleted along
726
+ # with the optional configurations for error handling.
727
+ #
728
+ # @!attribute [rw] agent_id
729
+ # The ID of the agent or data collector to delete.
730
+ # @return [String]
731
+ #
732
+ # @!attribute [rw] force
733
+ # Optional flag used to force delete an agent or data collector. It is
734
+ # needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note
735
+ # that deleting an agent that is actively reporting health causes it
736
+ # to be re-registered with a different agent ID after data collector
737
+ # re-connects with Amazon Web Services.
738
+ # @return [Boolean]
739
+ #
740
+ class DeleteAgent < Struct.new(
741
+ :agent_id,
742
+ :force)
743
+ SENSITIVE = []
744
+ include Aws::Structure
745
+ end
746
+
613
747
  # @!attribute [rw] configuration_ids
614
748
  # Configuration ID of an application to be deleted.
615
749
  # @return [Array<String>]
@@ -643,6 +777,29 @@ module Aws::ApplicationDiscoveryService
643
777
 
644
778
  class DeleteTagsResponse < Aws::EmptyStructure; end
645
779
 
780
+ # A configuration ID paired with a warning message.
781
+ #
782
+ # @!attribute [rw] configuration_id
783
+ # The unique identifier of the configuration that produced a warning.
784
+ # @return [String]
785
+ #
786
+ # @!attribute [rw] warning_code
787
+ # The integer warning code associated with the warning message.
788
+ # @return [Integer]
789
+ #
790
+ # @!attribute [rw] warning_text
791
+ # A descriptive message of the warning the associated configuration ID
792
+ # produced.
793
+ # @return [String]
794
+ #
795
+ class DeletionWarning < Struct.new(
796
+ :configuration_id,
797
+ :warning_code,
798
+ :warning_text)
799
+ SENSITIVE = []
800
+ include Aws::Structure
801
+ end
802
+
646
803
  # @!attribute [rw] agent_ids
647
804
  # The agent or the collector IDs for which you want information. If
648
805
  # you specify no IDs, the system returns information about all
@@ -702,6 +859,27 @@ module Aws::ApplicationDiscoveryService
702
859
  include Aws::Structure
703
860
  end
704
861
 
862
+ # @!attribute [rw] task_id
863
+ # The ID of the task to delete.
864
+ # @return [String]
865
+ #
866
+ class DescribeBatchDeleteConfigurationTaskRequest < Struct.new(
867
+ :task_id)
868
+ SENSITIVE = []
869
+ include Aws::Structure
870
+ end
871
+
872
+ # @!attribute [rw] task
873
+ # The `BatchDeleteConfigurationTask` that represents the deletion task
874
+ # being executed.
875
+ # @return [Types::BatchDeleteConfigurationTask]
876
+ #
877
+ class DescribeBatchDeleteConfigurationTaskResponse < Struct.new(
878
+ :task)
879
+ SENSITIVE = []
880
+ include Aws::Structure
881
+ end
882
+
705
883
  # @!attribute [rw] configuration_ids
706
884
  # One or more configuration IDs.
707
885
  # @return [Array<String>]
@@ -1134,6 +1312,29 @@ module Aws::ApplicationDiscoveryService
1134
1312
  class Unknown < ExportPreferences; end
1135
1313
  end
1136
1314
 
1315
+ # A configuration ID paired with an error message.
1316
+ #
1317
+ # @!attribute [rw] configuration_id
1318
+ # The unique identifier of the configuration the failed to delete.
1319
+ # @return [String]
1320
+ #
1321
+ # @!attribute [rw] error_status_code
1322
+ # The integer error code associated with the error message.
1323
+ # @return [Integer]
1324
+ #
1325
+ # @!attribute [rw] error_message
1326
+ # A descriptive message indicating why the associated configuration
1327
+ # failed to delete.
1328
+ # @return [String]
1329
+ #
1330
+ class FailedConfiguration < Struct.new(
1331
+ :configuration_id,
1332
+ :error_status_code,
1333
+ :error_message)
1334
+ SENSITIVE = []
1335
+ include Aws::Structure
1336
+ end
1337
+
1137
1338
  # A filter that can use conditional operators.
1138
1339
  #
1139
1340
  # For more information about filters, see [Querying Discovered
@@ -1389,6 +1590,17 @@ module Aws::ApplicationDiscoveryService
1389
1590
  include Aws::Structure
1390
1591
  end
1391
1592
 
1593
+ # The limit of 200 configuration IDs per request has been exceeded.
1594
+ #
1595
+ # @!attribute [rw] message
1596
+ # @return [String]
1597
+ #
1598
+ class LimitExceededException < Struct.new(
1599
+ :message)
1600
+ SENSITIVE = []
1601
+ include Aws::Structure
1602
+ end
1603
+
1392
1604
  # @!attribute [rw] configuration_type
1393
1605
  # A valid configuration identified by Application Discovery Service.
1394
1606
  # @return [String]
@@ -1645,6 +1857,33 @@ module Aws::ApplicationDiscoveryService
1645
1857
  include Aws::Structure
1646
1858
  end
1647
1859
 
1860
+ # @!attribute [rw] configuration_type
1861
+ # The type of configuration item to delete. Supported types are:
1862
+ # SERVER.
1863
+ # @return [String]
1864
+ #
1865
+ # @!attribute [rw] configuration_ids
1866
+ # The list of configuration IDs that will be deleted by the task.
1867
+ # @return [Array<String>]
1868
+ #
1869
+ class StartBatchDeleteConfigurationTaskRequest < Struct.new(
1870
+ :configuration_type,
1871
+ :configuration_ids)
1872
+ SENSITIVE = []
1873
+ include Aws::Structure
1874
+ end
1875
+
1876
+ # @!attribute [rw] task_id
1877
+ # The unique identifier associated with the newly started deletion
1878
+ # task.
1879
+ # @return [String]
1880
+ #
1881
+ class StartBatchDeleteConfigurationTaskResponse < Struct.new(
1882
+ :task_id)
1883
+ SENSITIVE = []
1884
+ include Aws::Structure
1885
+ end
1886
+
1648
1887
  # @api private
1649
1888
  #
1650
1889
  class StartContinuousExportRequest < Aws::EmptyStructure; 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.58.0'
55
+ GEM_VERSION = '1.60.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.58.0
4
+ version: 1.60.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-10-17 00:00:00.000000000 Z
11
+ date: 2023-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.184.0
22
+ version: 3.188.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.184.0
32
+ version: 3.188.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '2.3'
83
+ version: '2.5'
84
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="