

# AWSDomainInformation


Information about an Amazon OpenSearch Service domain.

## Contents


 ** DomainName **   <a name="opensearchservice-Type-AWSDomainInformation-DomainName"></a>
Name of the domain.  
Type: String  
Length Constraints: Minimum length of 3. Maximum length of 28.  
Pattern: `[a-z][a-z0-9\-]+`   
Required: Yes

 ** OwnerId **   <a name="opensearchservice-Type-AWSDomainInformation-OwnerId"></a>
The AWS account ID of the domain owner.  
Type: String  
Length Constraints: Fixed length of 12.  
Pattern: `[0-9]+`   
Required: No

 ** Region **   <a name="opensearchservice-Type-AWSDomainInformation-Region"></a>
The AWS Region in which the domain is located.  
Type: String  
Length Constraints: Minimum length of 5. Maximum length of 30.  
Pattern: `[a-z][a-z0-9\-]+`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/opensearch-2021-01-01/AWSDomainInformation) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/opensearch-2021-01-01/AWSDomainInformation) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/opensearch-2021-01-01/AWSDomainInformation) 