asApiKey
Casts this NewRelicServiceAuthorizationConfig as a ApiKey and retrieves its aws.sdk.kotlin.services.devopsagent.model.NewRelicApiKeyConfig value. Throws an exception if the NewRelicServiceAuthorizationConfig is not a ApiKey.
Casts this NewRelicServiceAuthorizationConfig as a ApiKey and retrieves its aws.sdk.kotlin.services.devopsagent.model.NewRelicApiKeyConfig value. Throws an exception if the NewRelicServiceAuthorizationConfig is not a ApiKey.