// Returns details about the Hub resource in your account, including the HubArn and
// the time when you enabled Security Hub.
Returns details about the Hub resource in your account, including the HubArn and
the time when you enabled Security Hub.
// Returns details about the Hub resource in your account including the HubArn and // the time when you enabled Security Hub .
func (c *Client) DescribeHub(ctx context.Context, params *DescribeHubInput, optFns ...func(*Options)) (*DescribeHubOutput, error) {
	if params == nil {
		params = &DescribeHubInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeHub", params, optFns, addOperationDescribeHubMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeHubOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeHub ( ctx context . Context , params * DescribeHubInput , optFns ... func ( * Options ) ) ( * DescribeHubOutput , error ) { if params == nil { params = & DescribeHubInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeHubMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeHubOutput ) out . ResultMetadata = metadata return out , nil }
Returns details about the Hub resource in your account, including the HubArn and
the time when you enabled Security Hub.
Returns details about the Hub resource in your account including the HubArn and the time when you enabled Security Hub .