Smaws_Client_DirectoryService.CreateHybridADCreates a hybrid directory that connects your self-managed Active Directory (AD) infrastructure and Amazon Web Services.
You must have a successful directory assessment using StartADAssessment to validate your environment compatibility before you use this operation.
Updates are applied asynchronously. Use DescribeDirectories to monitor the progress of directory creation.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ADAssessmentLimitExceededException of
Types.ad_assessment_limit_exceeded_exception
| `ClientException of Types.client_exception
| `DirectoryLimitExceededException of
Types.directory_limit_exceeded_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_hybrid_ad_request ->
(Types.create_hybrid_ad_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ADAssessmentLimitExceededException of
Types.ad_assessment_limit_exceeded_exception
| `ClientException of Types.client_exception
| `DirectoryLimitExceededException of
Types.directory_limit_exceeded_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_hybrid_ad_request ->
(Types.create_hybrid_ad_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ADAssessmentLimitExceededException of
Types.ad_assessment_limit_exceeded_exception
| `ClientException of Types.client_exception
| `DirectoryLimitExceededException of
Types.directory_limit_exceeded_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result