asLeadInvitation
Casts this Payload as a LeadInvitation and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.LeadInvitationPayload value. Throws an exception if the Payload is not a LeadInvitation.
Casts this Payload as a LeadInvitation and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.LeadInvitationPayload value. Throws an exception if the Payload is not a LeadInvitation.