# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).

import oci
from datetime import datetime

# Create a default config using DEFAULT profile in default location
# Refer to
# https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File
# for more info
config = oci.config.from_file()


# Initialize service client with default config file
data_connectivity_client = oci.data_connectivity.DataConnectivityManagementClient(
    config)


# Send the request to service, some parameters are not required, see API
# doc for more info
create_data_preview_response = data_connectivity_client.create_data_preview(
    registry_id="ocid1.test.oc1..<unique_ID>EXAMPLE-registryId-Value",
    create_data_preview_details=oci.data_connectivity.models.CreateDataPreviewDetails(
        read_operation_config=oci.data_connectivity.models.ReadOperationConfig(
            model_type="READ_OPERATION_CONFIG",
            derived_attributes={
                'EXAMPLE_KEY_oHz67': 'EXAMPLE_VALUE_131AWyLswYHTyho6vY3j'},
            key="EXAMPLE-key-Value",
            model_version="EXAMPLE-modelVersion-Value",
            parent_ref=oci.data_connectivity.models.ParentReference(
                parent="EXAMPLE-parent-Value"),
            operations=[
                oci.data_connectivity.models.Query(
                    model_type="QUERY",
                    query="EXAMPLE-query-Value")],
            data_format=oci.data_connectivity.models.DataFormat(
                type="PARQUET",
                format_attribute=oci.data_connectivity.models.AvroFormatAttribute(
                    model_type="AVRO_FORMAT",
                    compression="EXAMPLE-compression-Value"),
                compression_config=oci.data_connectivity.models.Compression(
                    codec="LZ4")),
            partition_config=oci.data_connectivity.models.KeyRangePartitionConfig(
                model_type="KEYRANGEPARTITIONCONFIG",
                partition_number=675,
                key_range=oci.data_connectivity.models.KeyRange(
                    key=oci.data_connectivity.models.ShapeField(
                        model_type="SHAPE_FIELD",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_connectivity.models.ParentReference(
                            parent="EXAMPLE-parent-Value"),
                        config_values=oci.data_connectivity.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_RURP8': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 577,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                            parent_ref=oci.data_connectivity.models.ParentReference(
                                parent="EXAMPLE-parent-Value")),
                        object_status=12,
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        type="EXAMPLE-type-Value",
                        labels=["EXAMPLE--Value"],
                        native_shape_field=oci.data_connectivity.models.NativeShapeField(
                            model_type="NATIVE_SHAPE_FIELD",
                            type="EXAMPLE-type-Value",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_connectivity.models.ParentReference(
                                parent="EXAMPLE-parent-Value"),
                            config_values=oci.data_connectivity.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_uAjxO': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 150,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                parent_ref=oci.data_connectivity.models.ParentReference(
                                    parent="EXAMPLE-parent-Value")),
                            object_status=328,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-Value",
                            position=556,
                            default_value_string="EXAMPLE-defaultValueString-Value",
                            is_mandatory=False)))),
            read_attribute=oci.data_connectivity.models.OracleReadAttribute(
                model_type="ORACLEREADATTRIBUTE",
                fetch_size=157),
            object_status=860,
            read_raw_data=False),
        data_asset=oci.data_connectivity.models.DataAsset(
            key="EXAMPLE-key-Value",
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            model_version="EXAMPLE-modelVersion-Value",
            model_type="EXAMPLE-modelType-Value",
            description="EXAMPLE-description-Value",
            object_status=12,
            object_version=38,
            external_key="EXAMPLE-externalKey-Value",
            asset_properties={
                'EXAMPLE_KEY_srw2X': 'EXAMPLE_VALUE_lWvmwkWjfS9fnbmUBW26'},
            properties={
                'EXAMPLE_KEY_4rRmJ': 'EXAMPLE--Value'},
            type="EXAMPLE-type-Value",
            native_type_system=oci.data_connectivity.models.TypeSystem(
                key="EXAMPLE-key-Value",
                model_type="EXAMPLE-modelType-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_connectivity.models.ParentReference(
                    parent="EXAMPLE-parent-Value"),
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                object_version=703,
                type_mapping_to={
                    'EXAMPLE_KEY_reiii': 'EXAMPLE_VALUE_fF8UnXnO38PdiVBKiN7v'},
                type_mapping_from={
                    'EXAMPLE_KEY_4ER9s': 'EXAMPLE_VALUE_nHVQkSPY3ZGVTa0LOsoC'},
                object_status=584,
                identifier="EXAMPLE-identifier-Value",
                types=[
                    oci.data_connectivity.models.DataType(
                        model_type="DATA_TYPE",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_connectivity.models.ParentReference(
                            parent="EXAMPLE-parent-Value"),
                        name="EXAMPLE-name-Value",
                        object_status=107,
                        description="EXAMPLE-description-Value",
                        dt_type="STRUCTURED",
                        type_system_name="EXAMPLE-typeSystemName-Value",
                        config_definition=oci.data_connectivity.models.ConfigDefinition(
                            key="EXAMPLE-key-Value",
                            model_type="EXAMPLE-modelType-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_connectivity.models.ParentReference(
                                parent="EXAMPLE-parent-Value"),
                            name="EXAMPLE-name-Value",
                            is_contained=False,
                            object_status=122,
                            config_parameter_definitions={
                                'EXAMPLE_KEY_Rszm4': {
                                    'parameterType': {
                                        'modelType': 'DERIVED_TYPE',
                                        'key': 'EXAMPLE-key-Value',
                                        'modelVersion': 'EXAMPLE-modelVersion-Value',
                                        'parentRef': {
                                            'parent': 'EXAMPLE-parent-Value'},
                                        'name': 'EXAMPLE-name-Value',
                                        'objectStatus': 965,
                                        'description': 'EXAMPLE-description-Value'},
                                    'parameterName': 'EXAMPLE-parameterName-Value',
                                    'description': 'EXAMPLE-description-Value',
                                    'defaultValue': 'EXAMPLE-defaultValue-Value',
                                    'classFieldName': 'EXAMPLE-classFieldName-Value',
                                    'isStatic': False,
                                    'isClassFieldValue': False}}))]),
            registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                labels=["EXAMPLE--Value"],
                registry_version=947,
                key="EXAMPLE-key-Value",
                is_favorite=False,
                created_by_user_id="ocid1.test.oc1..<unique_ID>EXAMPLE-createdByUserId-Value",
                created_by_user_name="EXAMPLE-createdByUserName-Value",
                updated_by_user_id="ocid1.test.oc1..<unique_ID>EXAMPLE-updatedByUserId-Value",
                updated_by_user_name="EXAMPLE-updatedByUserName-Value",
                time_created=datetime.strptime(
                    "2016-09-05T10:21:33.593Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2000-07-17T17:21:10.252Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ")),
            metadata=oci.data_connectivity.models.ObjectMetadata(
                created_by="EXAMPLE-createdBy-Value",
                created_by_name="EXAMPLE-createdByName-Value",
                updated_by="EXAMPLE-updatedBy-Value",
                updated_by_name="EXAMPLE-updatedByName-Value",
                time_created=datetime.strptime(
                    "2015-03-08T10:59:06.497Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2037-07-18T22:53:32.533Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                aggregator=oci.data_connectivity.models.AggregatorSummary(
                    type="EXAMPLE-type-Value",
                    key="EXAMPLE-key-Value",
                    name="EXAMPLE-name-Value",
                    identifier="EXAMPLE-identifier-Value",
                    description="EXAMPLE-description-Value"),
                identifier_path="EXAMPLE-identifierPath-Value",
                info_fields={
                    'EXAMPLE_KEY_odKf1': 'EXAMPLE_VALUE_5vA4ywyhG8Exc9aDGFgE'},
                registry_version=568,
                labels=["EXAMPLE--Value"],
                is_favorite=True),
            default_connection=oci.data_connectivity.models.Connection(
                key="EXAMPLE-key-Value",
                name="EXAMPLE-name-Value",
                identifier="EXAMPLE-identifier-Value",
                model_version="EXAMPLE-modelVersion-Value",
                model_type="EXAMPLE-modelType-Value",
                description="EXAMPLE-description-Value",
                object_version=365,
                object_status=728,
                primary_schema=oci.data_connectivity.models.Schema(
                    key="EXAMPLE-key-Value",
                    model_type="EXAMPLE-modelType-Value",
                    name="EXAMPLE-name-Value",
                    identifier="EXAMPLE-identifier-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_connectivity.models.ParentReference(
                        parent="EXAMPLE-parent-Value"),
                    resource_name="EXAMPLE-resourceName-Value",
                    description="EXAMPLE-description-Value",
                    object_version=872,
                    external_key="EXAMPLE-externalKey-Value",
                    is_has_containers=True,
                    default_connection="EXAMPLE-defaultConnection-Value",
                    object_status=150,
                    metadata=oci.data_connectivity.models.ObjectMetadata(
                        created_by="EXAMPLE-createdBy-Value",
                        created_by_name="EXAMPLE-createdByName-Value",
                        updated_by="EXAMPLE-updatedBy-Value",
                        updated_by_name="EXAMPLE-updatedByName-Value",
                        time_created=datetime.strptime(
                            "2024-03-25T15:59:33.133Z",
                            "%Y-%m-%dT%H:%M:%S.%fZ"),
                        time_updated=datetime.strptime(
                            "2035-05-31T14:59:34.163Z",
                            "%Y-%m-%dT%H:%M:%S.%fZ"),
                        aggregator_key="EXAMPLE-aggregatorKey-Value",
                        aggregator=oci.data_connectivity.models.AggregatorSummary(
                            type="EXAMPLE-type-Value",
                            key="EXAMPLE-key-Value",
                            name="EXAMPLE-name-Value",
                            identifier="EXAMPLE-identifier-Value",
                            description="EXAMPLE-description-Value"),
                        identifier_path="EXAMPLE-identifierPath-Value",
                        info_fields={
                            'EXAMPLE_KEY_LWmXe': 'EXAMPLE_VALUE_ECsxyyjTC6kjkVdAcP5v'},
                        registry_version=162,
                        labels=["EXAMPLE--Value"],
                        is_favorite=False)),
                connection_properties=[
                    oci.data_connectivity.models.ConnectionProperty(
                        name="EXAMPLE-name-Value",
                        value="EXAMPLE-value-Value")],
                properties={
                    'EXAMPLE_KEY_OHg2F': 'EXAMPLE--Value'},
                type="EXAMPLE-type-Value",
                is_default=True,
                metadata=oci.data_connectivity.models.ObjectMetadata(
                    created_by="EXAMPLE-createdBy-Value",
                    created_by_name="EXAMPLE-createdByName-Value",
                    updated_by="EXAMPLE-updatedBy-Value",
                    updated_by_name="EXAMPLE-updatedByName-Value",
                    time_created=datetime.strptime(
                        "2007-01-16T06:08:14.936Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2038-04-02T10:46:38.005Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    aggregator_key="EXAMPLE-aggregatorKey-Value",
                    aggregator=oci.data_connectivity.models.AggregatorSummary(
                        type="EXAMPLE-type-Value",
                        key="EXAMPLE-key-Value",
                        name="EXAMPLE-name-Value",
                        identifier="EXAMPLE-identifier-Value",
                        description="EXAMPLE-description-Value"),
                    identifier_path="EXAMPLE-identifierPath-Value",
                    info_fields={
                        'EXAMPLE_KEY_WrU4U': 'EXAMPLE_VALUE_ftzY4zJyDwK1msQAJEKb'},
                    registry_version=70,
                    labels=["EXAMPLE--Value"],
                    is_favorite=False),
                registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                    aggregator_key="EXAMPLE-aggregatorKey-Value",
                    labels=["EXAMPLE--Value"],
                    registry_version=37,
                    key="EXAMPLE-key-Value",
                    is_favorite=True,
                    created_by_user_id="ocid1.test.oc1..<unique_ID>EXAMPLE-createdByUserId-Value",
                    created_by_user_name="EXAMPLE-createdByUserName-Value",
                    updated_by_user_id="ocid1.test.oc1..<unique_ID>EXAMPLE-updatedByUserId-Value",
                    updated_by_user_name="EXAMPLE-updatedByUserName-Value",
                    time_created=datetime.strptime(
                        "2047-07-19T02:57:03.959Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2004-07-20T01:11:45.361Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"))),
            end_points=[
                oci.data_connectivity.models.DpEndpointFromPrivate(
                    model_type="PRIVATE_END_POINT",
                    dcms_endpoint_id="ocid1.test.oc1..<unique_ID>EXAMPLE-dcmsEndpointId-Value",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_connectivity.models.ParentReference(
                        parent="EXAMPLE-parent-Value"),
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    object_version=539,
                    object_status=694,
                    identifier="EXAMPLE-identifier-Value",
                    pe_id="ocid1.test.oc1..<unique_ID>EXAMPLE-peId-Value",
                    compartment_id="ocid1.test.oc1..<unique_ID>EXAMPLE-compartmentId-Value",
                    dns_proxy_ip="EXAMPLE-dnsProxyIp-Value",
                    private_endpoint_ip="EXAMPLE-privateEndpointIp-Value",
                    dns_zones=["EXAMPLE--Value"],
                    state="ACTIVE")]),
        connection=oci.data_connectivity.models.Connection(
            key="EXAMPLE-key-Value",
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            model_version="EXAMPLE-modelVersion-Value",
            model_type="EXAMPLE-modelType-Value",
            description="EXAMPLE-description-Value",
            object_version=669,
            object_status=307,
            primary_schema=oci.data_connectivity.models.Schema(
                key="EXAMPLE-key-Value",
                model_type="EXAMPLE-modelType-Value",
                name="EXAMPLE-name-Value",
                identifier="EXAMPLE-identifier-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_connectivity.models.ParentReference(
                    parent="EXAMPLE-parent-Value"),
                resource_name="EXAMPLE-resourceName-Value",
                description="EXAMPLE-description-Value",
                object_version=489,
                external_key="EXAMPLE-externalKey-Value",
                is_has_containers=False,
                default_connection="EXAMPLE-defaultConnection-Value",
                object_status=218,
                metadata=oci.data_connectivity.models.ObjectMetadata(
                    created_by="EXAMPLE-createdBy-Value",
                    created_by_name="EXAMPLE-createdByName-Value",
                    updated_by="EXAMPLE-updatedBy-Value",
                    updated_by_name="EXAMPLE-updatedByName-Value",
                    time_created=datetime.strptime(
                        "2022-01-02T10:14:13.806Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2001-06-28T11:26:01.972Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    aggregator_key="EXAMPLE-aggregatorKey-Value",
                    aggregator=oci.data_connectivity.models.AggregatorSummary(
                        type="EXAMPLE-type-Value",
                        key="EXAMPLE-key-Value",
                        name="EXAMPLE-name-Value",
                        identifier="EXAMPLE-identifier-Value",
                        description="EXAMPLE-description-Value"),
                    identifier_path="EXAMPLE-identifierPath-Value",
                    info_fields={
                        'EXAMPLE_KEY_OKIBL': 'EXAMPLE_VALUE_M9yALVhQymJlqS4SLkDM'},
                    registry_version=59,
                    labels=["EXAMPLE--Value"],
                    is_favorite=True)),
            connection_properties=[
                oci.data_connectivity.models.ConnectionProperty(
                    name="EXAMPLE-name-Value",
                    value="EXAMPLE-value-Value")],
            properties={
                'EXAMPLE_KEY_IeoVr': 'EXAMPLE--Value'},
            type="EXAMPLE-type-Value",
            is_default=True,
            metadata=oci.data_connectivity.models.ObjectMetadata(
                created_by="EXAMPLE-createdBy-Value",
                created_by_name="EXAMPLE-createdByName-Value",
                updated_by="EXAMPLE-updatedBy-Value",
                updated_by_name="EXAMPLE-updatedByName-Value",
                time_created=datetime.strptime(
                    "2003-08-11T23:12:07.258Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2008-08-14T09:22:51.402Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                aggregator=oci.data_connectivity.models.AggregatorSummary(
                    type="EXAMPLE-type-Value",
                    key="EXAMPLE-key-Value",
                    name="EXAMPLE-name-Value",
                    identifier="EXAMPLE-identifier-Value",
                    description="EXAMPLE-description-Value"),
                identifier_path="EXAMPLE-identifierPath-Value",
                info_fields={
                    'EXAMPLE_KEY_zOXl7': 'EXAMPLE_VALUE_vu4MyOIRQlp64Cx4yTvT'},
                registry_version=174,
                labels=["EXAMPLE--Value"],
                is_favorite=False),
            registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                labels=["EXAMPLE--Value"],
                registry_version=595,
                key="EXAMPLE-key-Value",
                is_favorite=False,
                created_by_user_id="ocid1.test.oc1..<unique_ID>EXAMPLE-createdByUserId-Value",
                created_by_user_name="EXAMPLE-createdByUserName-Value",
                updated_by_user_id="ocid1.test.oc1..<unique_ID>EXAMPLE-updatedByUserId-Value",
                updated_by_user_name="EXAMPLE-updatedByUserName-Value",
                time_created=datetime.strptime(
                    "2047-08-22T04:22:55.976Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2009-01-06T20:49:13.217Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"))),
        schema=oci.data_connectivity.models.Schema(
            key="EXAMPLE-key-Value",
            model_type="EXAMPLE-modelType-Value",
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            model_version="EXAMPLE-modelVersion-Value",
            parent_ref=oci.data_connectivity.models.ParentReference(
                parent="EXAMPLE-parent-Value"),
            resource_name="EXAMPLE-resourceName-Value",
            description="EXAMPLE-description-Value",
            object_version=417,
            external_key="EXAMPLE-externalKey-Value",
            is_has_containers=True,
            default_connection="EXAMPLE-defaultConnection-Value",
            object_status=80,
            metadata=oci.data_connectivity.models.ObjectMetadata(
                created_by="EXAMPLE-createdBy-Value",
                created_by_name="EXAMPLE-createdByName-Value",
                updated_by="EXAMPLE-updatedBy-Value",
                updated_by_name="EXAMPLE-updatedByName-Value",
                time_created=datetime.strptime(
                    "2026-04-06T22:46:51.295Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2040-09-26T18:19:42.402Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                aggregator=oci.data_connectivity.models.AggregatorSummary(
                    type="EXAMPLE-type-Value",
                    key="EXAMPLE-key-Value",
                    name="EXAMPLE-name-Value",
                    identifier="EXAMPLE-identifier-Value",
                    description="EXAMPLE-description-Value"),
                identifier_path="EXAMPLE-identifierPath-Value",
                info_fields={
                    'EXAMPLE_KEY_QfP6L': 'EXAMPLE_VALUE_DahY7FF9raswWhg4TRyo'},
                registry_version=667,
                labels=["EXAMPLE--Value"],
                is_favorite=False)),
        data_entity=oci.data_connectivity.models.DerivedEntity(
            model_type="DERIVED_ENTITY",
            name="EXAMPLE-name-Value",
            resource_name="EXAMPLE-resourceName-Value",
            entity_properties={
                'EXAMPLE_KEY_fVbWq': 'EXAMPLE_VALUE_LpQdrMAv6A2TIfR5BVXD'},
            metadata=oci.data_connectivity.models.ObjectMetadata(
                created_by="EXAMPLE-createdBy-Value",
                created_by_name="EXAMPLE-createdByName-Value",
                updated_by="EXAMPLE-updatedBy-Value",
                updated_by_name="EXAMPLE-updatedByName-Value",
                time_created=datetime.strptime(
                    "2036-06-10T15:48:02.149Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2035-03-14T01:30:12.487Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                aggregator=oci.data_connectivity.models.AggregatorSummary(
                    type="EXAMPLE-type-Value",
                    key="EXAMPLE-key-Value",
                    name="EXAMPLE-name-Value",
                    identifier="EXAMPLE-identifier-Value",
                    description="EXAMPLE-description-Value"),
                identifier_path="EXAMPLE-identifierPath-Value",
                info_fields={
                    'EXAMPLE_KEY_aMMWM': 'EXAMPLE_VALUE_0IgPB9gGbWT4A4fx6vD7'},
                registry_version=397,
                labels=["EXAMPLE--Value"],
                is_favorite=False),
            key="EXAMPLE-key-Value",
            model_version="EXAMPLE-modelVersion-Value",
            parent_ref=oci.data_connectivity.models.ParentReference(
                parent="EXAMPLE-parent-Value"),
            object_version=577,
            shape=oci.data_connectivity.models.Shape(
                model_type="SHAPE",
                key="EXAMPLE-key-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_connectivity.models.ParentReference(
                    parent="EXAMPLE-parent-Value"),
                config_values=oci.data_connectivity.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_TvGVy': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 838,
                            'objectValue': 'EXAMPLE-objectValue-Value',
                            'refValue': 'EXAMPLE-refValue-Value',
                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                    parent_ref=oci.data_connectivity.models.ParentReference(
                        parent="EXAMPLE-parent-Value")),
                object_status=192,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                type=oci.data_connectivity.models.ConfiguredType(
                    model_type="CONFIGURED_TYPE",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_connectivity.models.ParentReference(
                        parent="EXAMPLE-parent-Value"),
                    name="EXAMPLE-name-Value",
                    object_status=575,
                    description="EXAMPLE-description-Value",
                    config_values=oci.data_connectivity.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_FX8SB': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 554,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                        parent_ref=oci.data_connectivity.models.ParentReference(
                            parent="EXAMPLE-parent-Value")),
                    config_definition=oci.data_connectivity.models.ConfigDefinition(
                        key="EXAMPLE-key-Value",
                        model_type="EXAMPLE-modelType-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_connectivity.models.ParentReference(
                            parent="EXAMPLE-parent-Value"),
                        name="EXAMPLE-name-Value",
                        is_contained=False,
                        object_status=919,
                        config_parameter_definitions={
                            'EXAMPLE_KEY_d95MK': {
                                'parameterName': 'EXAMPLE-parameterName-Value',
                                'description': 'EXAMPLE-description-Value',
                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                'isStatic': True,
                                'isClassFieldValue': True}}))),
            shape_id="ocid1.test.oc1..<unique_ID>EXAMPLE-shapeId-Value",
            object_status=463,
            identifier="EXAMPLE-identifier-Value",
            ref_data_object=oci.data_connectivity.models.ReferencedDataObjectFromAPI(
                model_type="API",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_connectivity.models.ParentReference(
                    parent="EXAMPLE-parent-Value"),
                name="EXAMPLE-name-Value",
                object_version=706,
                resource_name="EXAMPLE-resourceName-Value",
                object_status=569,
                external_key="EXAMPLE-externalKey-Value",
                key="EXAMPLE-key-Value"),
            mode="OUT",
            derived_properties={
                'EXAMPLE_KEY_kaokv': 'EXAMPLE--Value'})),
    opc_request_id="INHVAHNR4WT3E1FMXKVT<unique_ID>",
    opc_retry_token="EXAMPLE-opcRetryToken-Value",
    if_match="EXAMPLE-ifMatch-Value",
    endpoint_id="ocid1.test.oc1..<unique_ID>EXAMPLE-endpointId-Value")

# Get the data from response
print(create_data_preview_response.data)