asRepositoryAggregation
Casts this AggregationResponse as a RepositoryAggregation and retrieves its aws.sdk.kotlin.services.inspector2.model.RepositoryAggregationResponse value. Throws an exception if the AggregationResponse is not a RepositoryAggregation.