Module Smaws_Client_CloudControl.CreateResource

Creates the specified resource. For more information, see Creating a resource in the Amazon Web Services Cloud Control API User Guide.

After you have initiated a resource creation request, you can monitor the progress of your request by calling GetResourceRequestStatus using the RequestToken of the ProgressEvent type returned by CreateResource.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AlreadyExistsException of Types.already_exists_exception | `ClientTokenConflictException of Types.client_token_conflict_exception | `ConcurrentOperationException of Types.concurrent_operation_exception | `GeneralServiceException of Types.general_service_exception | `HandlerFailureException of Types.handler_failure_exception | `HandlerInternalFailureException of Types.handler_internal_failure_exception | `InvalidCredentialsException of Types.invalid_credentials_exception | `InvalidRequestException of Types.invalid_request_exception | `NetworkFailureException of Types.network_failure_exception | `NotStabilizedException of Types.not_stabilized_exception | `NotUpdatableException of Types.not_updatable_exception | `PrivateTypeException of Types.private_type_exception | `ResourceConflictException of Types.resource_conflict_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceInternalErrorException of Types.service_internal_error_exception | `ServiceLimitExceededException of Types.service_limit_exceeded_exception | `ThrottlingException of Types.throttling_exception | `TypeNotFoundException of Types.type_not_found_exception | `UnsupportedActionException of Types.unsupported_action_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_resource_input -> (Types.create_resource_output, [> Smaws_Lib.Protocols.AwsJson.error | `AlreadyExistsException of Types.already_exists_exception | `ClientTokenConflictException of Types.client_token_conflict_exception | `ConcurrentOperationException of Types.concurrent_operation_exception | `GeneralServiceException of Types.general_service_exception | `HandlerFailureException of Types.handler_failure_exception | `HandlerInternalFailureException of Types.handler_internal_failure_exception | `InvalidCredentialsException of Types.invalid_credentials_exception | `InvalidRequestException of Types.invalid_request_exception | `NetworkFailureException of Types.network_failure_exception | `NotStabilizedException of Types.not_stabilized_exception | `NotUpdatableException of Types.not_updatable_exception | `PrivateTypeException of Types.private_type_exception | `ResourceConflictException of Types.resource_conflict_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceInternalErrorException of Types.service_internal_error_exception | `ServiceLimitExceededException of Types.service_limit_exceeded_exception | `ThrottlingException of Types.throttling_exception | `TypeNotFoundException of Types.type_not_found_exception | `UnsupportedActionException of Types.unsupported_action_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_resource_input -> (Types.create_resource_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AlreadyExistsException of Types.already_exists_exception | `ClientTokenConflictException of Types.client_token_conflict_exception | `ConcurrentOperationException of Types.concurrent_operation_exception | `GeneralServiceException of Types.general_service_exception | `HandlerFailureException of Types.handler_failure_exception | `HandlerInternalFailureException of Types.handler_internal_failure_exception | `InvalidCredentialsException of Types.invalid_credentials_exception | `InvalidRequestException of Types.invalid_request_exception | `NetworkFailureException of Types.network_failure_exception | `NotStabilizedException of Types.not_stabilized_exception | `NotUpdatableException of Types.not_updatable_exception | `PrivateTypeException of Types.private_type_exception | `ResourceConflictException of Types.resource_conflict_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceInternalErrorException of Types.service_internal_error_exception | `ServiceLimitExceededException of Types.service_limit_exceeded_exception | `ThrottlingException of Types.throttling_exception | `TypeNotFoundException of Types.type_not_found_exception | `UnsupportedActionException of Types.unsupported_action_exception ] * Smaws_Lib.Response.metadata) Stdlib.result