asAgentCoreGateway
Casts this HarnessToolConfiguration as a AgentCoreGateway and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.HarnessAgentCoreGatewayConfig value. Throws an exception if the HarnessToolConfiguration is not a AgentCoreGateway.