asWeb
Casts this CitationLocation as a Web and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.WebLocation value. Throws an exception if the CitationLocation is not a Web.
Casts this CitationLocation as a Web and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.WebLocation value. Throws an exception if the CitationLocation is not a Web.