describeHub

abstract suspend fun describeHub(input: DescribeHubRequest = DescribeHubRequest { }): DescribeHubResponse

Returns details about the Hub resource in your account, including the HubArn and the time when you enabled Security Hub.

Samples


fun main() { 
   //sampleStart 
   // The following example returns details about the Hub resource in the calling account. The Hub
// resource represents the implementation of the AWS Security Hub service in the calling account.
val resp = securityHubClient.describeHub {
    hubArn = "arn:aws:securityhub:us-west-1:123456789012:hub/default"
} 
   //sampleEnd
}