Smaws_Client_Lightsail.CreateCloudFormationStackCreates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail snapshot. This operation results in a CloudFormation stack record that can be used to track the AWS CloudFormation stack created. Use the get cloud formation stack records operation to get a list of the CloudFormation stacks created.
Wait until after your new Amazon EC2 instance is created before running the create cloud formation stack operation again with the same export snapshot record.
val error_to_string : 
  [ Smaws_Lib.Protocols.AwsJson.error
  | `AccessDeniedException of Types.access_denied_exception
  | `AccountSetupInProgressException of
    Types.account_setup_in_progress_exception
  | `InvalidInputException of Types.invalid_input_exception
  | `NotFoundException of Types.not_found_exception
  | `OperationFailureException of Types.operation_failure_exception
  | `ServiceException of Types.service_exception
  | `UnauthenticatedException of Types.unauthenticated_exception ] ->
  stringval request : 
  'http_type Smaws_Lib.Context.t ->
  Types.create_cloud_formation_stack_request ->
  (Types.create_cloud_formation_stack_result,
    [> Smaws_Lib.Protocols.AwsJson.error
    | `AccessDeniedException of Types.access_denied_exception
    | `AccountSetupInProgressException of
      Types.account_setup_in_progress_exception
    | `InvalidInputException of Types.invalid_input_exception
    | `NotFoundException of Types.not_found_exception
    | `OperationFailureException of Types.operation_failure_exception
    | `ServiceException of Types.service_exception
    | `UnauthenticatedException of Types.unauthenticated_exception ])
    Stdlib.result