Module Values.CreateDataSourceOutputSource

Creates an Amazon DataZone data source.

Sourcetype nonrec t = {
  1. id : DataSourceId.t option;
    (*

    The unique identifier of the data source.

    *)
  2. status : DataSourceStatus.t option;
    (*

    The status of the data source.

    *)
  3. type_ : DataSourceType.t option;
    (*

    The type of the data source.

    *)
  4. name : Name.t option;
    (*

    The name of the data source.

    *)
  5. description : Description.t option;
    (*

    The description of the data source.

    *)
  6. domainId : DomainId.t option;
    (*

    The ID of the Amazon DataZone domain in which the data source is created.

    *)
  7. projectId : ProjectId.t option;
    (*

    The ID of the Amazon DataZone project to which the data source is added.

    *)
  8. environmentId : EnvironmentId.t option;
    (*

    The unique identifier of the Amazon DataZone environment to which the data source publishes assets.

    *)
  9. connectionId : String_.t option;
    (*

    The ID of the connection.

    *)
  10. configuration : DataSourceConfigurationOutput.t option;
    (*

    Specifies the configuration of the data source. It can be set to either glueRunConfiguration or redshiftRunConfiguration.

    *)
  11. recommendation : RecommendationConfiguration.t option;
    (*

    Specifies whether the business name generation is to be enabled for this data source.

    *)
  12. enableSetting : EnableSetting.t option;
    (*

    Specifies whether the data source is enabled.

    *)
  13. publishOnImport : Boolean.t option;
    (*

    Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.

    *)
  14. assetFormsOutput : FormOutputList.t option;
    (*

    The metadata forms attached to the assets that this data source creates.

    *)
  15. schedule : ScheduleConfiguration.t option;
    (*

    The schedule of the data source runs.

    *)
  16. lastRunStatus : DataSourceRunStatus.t option;
    (*

    The status of the last run of this data source.

    *)
  17. lastRunAt : DateTime.t option;
    (*

    The timestamp that specifies when the data source was last run.

    *)
  18. lastRunErrorMessage : DataSourceErrorMessage.t option;
    (*

    Specifies the error message that is returned if the operation cannot be successfully completed.

    *)
  19. errorMessage : DataSourceErrorMessage.t option;
    (*

    Specifies the error message that is returned if the operation cannot be successfully completed.

    *)
  20. createdAt : DateTime.t option;
    (*

    The timestamp of when the data source was created.

    *)
  21. updatedAt : DateTime.t option;
    (*

    The timestamp of when the data source was updated.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `UnauthorizedException of UnauthorizedException.t
  8. | `ValidationException of ValidationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?id:??? -> ?status:??? -> ?type_:??? -> ?name:??? -> ?description:??? -> ?domainId:??? -> ?projectId:??? -> ?environmentId:??? -> ?connectionId:??? -> ?configuration:??? -> ?recommendation:??? -> ?enableSetting:??? -> ?publishOnImport:??? -> ?assetFormsOutput:??? -> ?schedule:??? -> ?lastRunStatus:??? -> ?lastRunAt:??? -> ?lastRunErrorMessage:??? -> ?errorMessage:??? -> ?createdAt:??? -> ?updatedAt:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of FormName.t ]) list ] list | `String of DataSourceId.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of CronString.t | `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of FilterExpressionExpressionString.t ]) list ] list | `String of RelationalFilterConfigurationDatabaseNameString.t ]) list ] list | `Map of ([> `String of SageMakerAssetType.t ] * [> `List of [> `String of SageMakerResourceArn.t ] list ]) list | `String of GlueRunConfigurationOutputAccountIdString.t | `Structure of (string * [> `String of RedshiftCredentialConfigurationSecretManagerArnString.t | `Structure of (string * [> `String of RedshiftClusterStorageClusterNameString.t ]) list ]) list ]) list ]) list | `Timestamp of DateTime.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t