getInvitationsCount
inline suspend fun SecurityHubClient.getInvitationsCount(crossinline block: GetInvitationsCountRequest.Builder.() -> Unit): GetInvitationsCountResponse
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
Samples
fun main() {
//sampleStart
// The following example returns a count of invitations that the Security Hub administrator sent to the
// current member account, not including the currently accepted invitation.
val resp = securityHubClient.getInvitationsCount()
//sampleEnd
}