

# AccountDetails
<a name="API_AccountDetails"></a>

The details of an Amazon Web Services account.

## Contents
<a name="API_AccountDetails_Contents"></a>

 ** AccountId **   <a name="securityhub-Type-AccountDetails-AccountId"></a>
The ID of an Amazon Web Services account.  
Type: String  
Required: Yes

 ** Email **   <a name="securityhub-Type-AccountDetails-Email"></a>
The email of an Amazon Web Services account.  
Type: String  
Pattern: `.*\S.*`   
Required: No

## See Also
<a name="API_AccountDetails_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/securityhub-2018-10-26/AccountDetails) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/securityhub-2018-10-26/AccountDetails) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/securityhub-2018-10-26/AccountDetails) 