asAmiAggregation
Casts this AggregationResponse as a AmiAggregation and retrieves its aws.sdk.kotlin.services.inspector2.model.AmiAggregationResponse value. Throws an exception if the AggregationResponse is not a AmiAggregation.