delete_fleet_advisor_collector(
collector_referenced_id: String,
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
) -> None
End of support notice: On May 20, 2026, Amazon Web Services will end support for Amazon Web Services DMS Fleet Advisor;. After May 20, 2026, you will no longer be able to access the Amazon Web Services DMS Fleet Advisor; console or Amazon Web Services DMS Fleet Advisor; resources. For more information, see Amazon Web Services DMS Fleet Advisor end of support.
Deletes the specified Fleet Advisor collector.
Parameters:
-
collector_referenced_id
(String)
–
The reference ID of the Fleet Advisor collector to delete.
Raises:
Source code in docs_src/capo_database_migration_service/_services/async_database_migration_service.py
| async def delete_fleet_advisor_collector(
self,
collector_referenced_id: "capo_database_migration_service.types.string.String",
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
) -> None:
"""<important> <p> End of support notice: On May 20, 2026, Amazon Web Services will end support for Amazon Web Services DMS Fleet Advisor;. After May 20, 2026, you will no longer be able to access the Amazon Web Services DMS Fleet Advisor; console or Amazon Web Services DMS Fleet Advisor; resources. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/dms_fleet.advisor-end-of-support.html">Amazon Web Services DMS Fleet Advisor end of support</a>. </p> </important> <p>Deletes the specified Fleet Advisor collector.</p>
Args:
collector_referenced_id: <p>The reference ID of the Fleet Advisor collector to delete.</p>
Raises:
capo_database_migration_service.errors.access_denied_fault.AccessDeniedFault: <p>DMS was denied access to the endpoint. Check that the role is correctly configured.</p>
capo_database_migration_service.errors.collector_not_found_fault.CollectorNotFoundFault: <p>The specified collector doesn't exist.</p>
capo_database_migration_service.errors.invalid_resource_state_fault.InvalidResourceStateFault: <p>The resource is in a state that prevents it from being used for database migration.</p>
capo_database_migration_service.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_database_migration_service.types.delete_collector_request.DeleteCollectorRequest]",
) -> AsyncOperationResponse[None]:
import capo_database_migration_service._operations.amazon_dm_sv20160101.delete_fleet_advisor_collector
(
output,
http_response,
) = await capo_database_migration_service._operations.amazon_dm_sv20160101.delete_fleet_advisor_collector.async_delete_fleet_advisor_collector(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DeleteFleetAdvisorCollector")
)
input_: capo_database_migration_service.types.delete_collector_request.DeleteCollectorRequest = {
"collector_referenced_id": collector_referenced_id
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|