# 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_profile_response = data_connectivity_client.create_data_profile(
    registry_id="ocid1.test.oc1..<unique_ID>EXAMPLE-registryId-Value",
    create_data_profile_details=oci.data_connectivity.models.CreateDataProfileDetails(
        read_operation_config=oci.data_connectivity.models.ReadOperationConfig(
            model_type="READ_OPERATION_CONFIG",
            derived_attributes={
                'EXAMPLE_KEY_Jk1dX': 'EXAMPLE_VALUE_pAx2jNBc9nQ5ron0ACsa'},
            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.Join(
                    model_type="JOIN",
                    condition="EXAMPLE-condition-Value",
                    policy="INNER_JOIN")],
            data_format=oci.data_connectivity.models.DataFormat(
                type="JSON",
                format_attribute=oci.data_connectivity.models.JsonFormatAttribute(
                    model_type="JSON_FORMAT",
                    encoding="EXAMPLE-encoding-Value"),
                compression_config=oci.data_connectivity.models.Compression(
                    codec="AUTO")),
            partition_config=oci.data_connectivity.models.KeyRangePartitionConfig(
                model_type="KEYRANGEPARTITIONCONFIG",
                partition_number=52,
                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_QlQnQ': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 486,
                                    '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=637,
                        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_vKyyT': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 415,
                                        '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=824,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-Value",
                            position=361,
                            default_value_string="EXAMPLE-defaultValueString-Value",
                            is_mandatory=True)))),
            read_attribute=oci.data_connectivity.models.BiccReadAttributes(
                model_type="BICC_READ_ATTRIBUTE",
                fetch_size=984,
                extract_strategy="FULL",
                external_storage=oci.data_connectivity.models.ExternalStorage(
                    model_type="EXTERNAL_STORAGE",
                    storage_id="ocid1.test.oc1..<unique_ID>EXAMPLE-storageId-Value",
                    storage_name="EXAMPLE-storageName-Value",
                    host="EXAMPLE-host-Value",
                    tenancy_id="ocid1.test.oc1..<unique_ID>EXAMPLE-tenancyId-Value",
                    namespace="EXAMPLE-namespace-Value",
                    bucket="EXAMPLE-bucket-Value"),
                initial_extract_date=datetime.strptime(
                    "2034-02-05T00:19:43.196Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                last_extract_date=datetime.strptime(
                    "2026-07-21T03:27:53.605Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ")),
            object_status=232,
            read_raw_data=True),
        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=156,
            object_version=995,
            external_key="EXAMPLE-externalKey-Value",
            asset_properties={
                'EXAMPLE_KEY_hjgws': 'EXAMPLE_VALUE_dm8K6ZJfU8lFJxtTxXEG'},
            properties={
                'EXAMPLE_KEY_hUoFF': '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=638,
                type_mapping_to={
                    'EXAMPLE_KEY_9l0Zd': 'EXAMPLE_VALUE_BR7AW7arjniXjE1AKpuG'},
                type_mapping_from={
                    'EXAMPLE_KEY_nuRRI': 'EXAMPLE_VALUE_YWxSXoK0jCS5HCpttG44'},
                object_status=773,
                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=833,
                        description="EXAMPLE-description-Value",
                        dt_type="PRIMITIVE",
                        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=738,
                            config_parameter_definitions={
                                'EXAMPLE_KEY_SotP3': {
                                    'parameterType': {
                                        'modelType': 'COMPOSITE_TYPE',
                                        'key': 'EXAMPLE-key-Value',
                                        'modelVersion': 'EXAMPLE-modelVersion-Value',
                                        'parentRef': {
                                            'parent': 'EXAMPLE-parent-Value'},
                                        'name': 'EXAMPLE-name-Value',
                                        'objectStatus': 912,
                                        'description': 'EXAMPLE-description-Value',
                                        'elements': [
                                            {
                                                'modelType': 'PARAMETER',
                                                'key': 'EXAMPLE-key-Value',
                                                'modelVersion': 'EXAMPLE-modelVersion-Value',
                                                'parentRef': {
                                                    'parent': 'EXAMPLE-parent-Value'},
                                                'configValues': {
                                                    'configParamValues': {
                                                        'EXAMPLE_KEY_MLLdy': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 265,
                                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                                            'refValue': 'EXAMPLE-refValue-Value',
                                                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                                    'parentRef': {
                                                        'parent': 'EXAMPLE-parent-Value'}},
                                                'objectStatus': 788,
                                                'name': 'EXAMPLE-name-Value',
                                                'description': 'EXAMPLE-description-Value',
                                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                'rootObjectDefaultValue': 'EXAMPLE-rootObjectDefaultValue-Value',
                                                'isInput': False,
                                                'isOutput': False,
                                                'outputAggregationType': 'SUM',
                                                'typeName': 'EXAMPLE-typeName-Value'}]},
                                    'parameterName': 'EXAMPLE-parameterName-Value',
                                    'description': 'EXAMPLE-description-Value',
                                    'defaultValue': 'EXAMPLE-defaultValue-Value',
                                    'classFieldName': 'EXAMPLE-classFieldName-Value',
                                    'isStatic': True,
                                    'isClassFieldValue': True}}))]),
            registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                labels=["EXAMPLE--Value"],
                registry_version=557,
                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(
                    "2010-04-19T18:38:22.486Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2008-09-23T14:30:46.667Z",
                    "%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(
                    "2035-02-19T10:31:19.146Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2009-08-29T14:09:32.159Z",
                    "%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_BZa17': 'EXAMPLE_VALUE_UdMfC5YrxS3DHQ8fMziz'},
                registry_version=606,
                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=293,
                object_status=389,
                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=21,
                    external_key="EXAMPLE-externalKey-Value",
                    is_has_containers=False,
                    default_connection="EXAMPLE-defaultConnection-Value",
                    object_status=685,
                    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-06-28T21:10:36.282Z",
                            "%Y-%m-%dT%H:%M:%S.%fZ"),
                        time_updated=datetime.strptime(
                            "2049-07-15T00:02:00.115Z",
                            "%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_cbNTJ': 'EXAMPLE_VALUE_7ErxsdNZpsEJgsseGJGN'},
                        registry_version=114,
                        labels=["EXAMPLE--Value"],
                        is_favorite=True)),
                connection_properties=[
                    oci.data_connectivity.models.ConnectionProperty(
                        name="EXAMPLE-name-Value",
                        value="EXAMPLE-value-Value")],
                properties={
                    'EXAMPLE_KEY_AzV4d': '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(
                        "2011-02-12T17:03:36.118Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2029-12-12T07:01:22.377Z",
                        "%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_1Jmm0': 'EXAMPLE_VALUE_81VFmbOCe1UOWwQeg4G6'},
                    registry_version=558,
                    labels=["EXAMPLE--Value"],
                    is_favorite=True),
                registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                    aggregator_key="EXAMPLE-aggregatorKey-Value",
                    labels=["EXAMPLE--Value"],
                    registry_version=802,
                    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(
                        "2036-04-29T14:09:33.137Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2013-03-19T22:54:55.522Z",
                        "%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=673,
                    object_status=779,
                    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="INACTIVE")]),
        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=876,
            object_status=829,
            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=972,
                external_key="EXAMPLE-externalKey-Value",
                is_has_containers=True,
                default_connection="EXAMPLE-defaultConnection-Value",
                object_status=582,
                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(
                        "2033-04-07T13:34:20.972Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2039-08-19T08:26:32.325Z",
                        "%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_oV7hM': 'EXAMPLE_VALUE_ZsZ5rKolcwtCgWuDeDlf'},
                    registry_version=270,
                    labels=["EXAMPLE--Value"],
                    is_favorite=True)),
            connection_properties=[
                oci.data_connectivity.models.ConnectionProperty(
                    name="EXAMPLE-name-Value",
                    value="EXAMPLE-value-Value")],
            properties={
                'EXAMPLE_KEY_BjbEb': '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(
                    "2009-10-24T23:26:55.754Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2011-09-28T21:39:30.125Z",
                    "%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_drQXp': 'EXAMPLE_VALUE_KFDafGdhdA2Z0wX4de65'},
                registry_version=43,
                labels=["EXAMPLE--Value"],
                is_favorite=True),
            registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                labels=["EXAMPLE--Value"],
                registry_version=969,
                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(
                    "2023-12-09T22:01:55.294Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2001-10-28T20:13:01.944Z",
                    "%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=716,
            external_key="EXAMPLE-externalKey-Value",
            is_has_containers=True,
            default_connection="EXAMPLE-defaultConnection-Value",
            object_status=478,
            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(
                    "2043-01-10T06:35:47.242Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2015-08-05T06:57:55.217Z",
                    "%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_IHsSz': 'EXAMPLE_VALUE_wW4jq3XWg5Bx6j4kUE9S'},
                registry_version=212,
                labels=["EXAMPLE--Value"],
                is_favorite=True)),
        data_entity=oci.data_connectivity.models.DataEntityFromFile(
            model_type="FILE_ENTITY",
            entity_properties={
                'EXAMPLE_KEY_MBcRm': 'EXAMPLE_VALUE_ktPka6mWf2JlX1zfN0v9'},
            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(
                    "2040-02-22T09:11:58.196Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2010-01-10T07:05:23.718Z",
                    "%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_3x0eD': 'EXAMPLE_VALUE_4cXO0iblhc1GWaEYwn5X'},
                registry_version=684,
                labels=["EXAMPLE--Value"],
                is_favorite=True),
            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=833,
            external_key="EXAMPLE-externalKey-Value",
            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_4mGPT': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 53,
                            '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=257,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                type=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=840,
                    description="EXAMPLE-description-Value",
                    dt_type="PRIMITIVE",
                    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=True,
                        object_status=14,
                        config_parameter_definitions={
                            'EXAMPLE_KEY_NIR4W': {
                                'parameterName': 'EXAMPLE-parameterName-Value',
                                'description': 'EXAMPLE-description-Value',
                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                'isStatic': False,
                                'isClassFieldValue': False}}))),
            shape_id="ocid1.test.oc1..<unique_ID>EXAMPLE-shapeId-Value",
            entity_type="MESSAGE",
            other_type_label="EXAMPLE-otherTypeLabel-Value",
            unique_keys=[
                oci.data_connectivity.models.PrimaryKey(
                    model_type="PRIMARY_KEY",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_connectivity.models.ParentReference(
                        parent="EXAMPLE-parent-Value"),
                    name="EXAMPLE-name-Value",
                    attribute_refs=[
                        oci.data_connectivity.models.KeyAttribute(
                            position=185,
                            attribute=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_O3bm1': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 102,
                                            '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=132,
                                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_sgjTP': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 521,
                                                '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=131,
                                    name="EXAMPLE-name-Value",
                                    description="EXAMPLE-description-Value",
                                    position=566,
                                    default_value_string="EXAMPLE-defaultValueString-Value",
                                    is_mandatory=False)))],
                    object_status=189)],
            foreign_keys=[
                oci.data_connectivity.models.ForeignKey(
                    model_type="FOREIGN_KEY",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_connectivity.models.ParentReference(
                        parent="EXAMPLE-parent-Value"),
                    name="EXAMPLE-name-Value",
                    attribute_refs=[
                        oci.data_connectivity.models.KeyAttribute(
                            position=861,
                            attribute=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_iRt6T': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 508,
                                            '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=111,
                                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_RP7Ji': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 784,
                                                '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=732,
                                    name="EXAMPLE-name-Value",
                                    description="EXAMPLE-description-Value",
                                    position=406,
                                    default_value_string="EXAMPLE-defaultValueString-Value",
                                    is_mandatory=False)))],
                    update_rule=802,
                    delete_rule=152,
                    reference_unique_key=oci.data_connectivity.models.PrimaryKey(
                        model_type="PRIMARY_KEY",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_connectivity.models.ParentReference(
                            parent="EXAMPLE-parent-Value"),
                        name="EXAMPLE-name-Value",
                        attribute_refs=[
                            oci.data_connectivity.models.KeyAttribute(
                                position=916,
                                attribute=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_cxbMe': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 110,
                                                '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=738,
                                    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_RSKSD': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 809,
                                                    '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=227,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        position=610,
                                        default_value_string="EXAMPLE-defaultValueString-Value",
                                        is_mandatory=True)))],
                        object_status=567),
                    object_status=372)],
            resource_name="EXAMPLE-resourceName-Value",
            data_format=oci.data_connectivity.models.DataFormat(
                type="CSV",
                format_attribute=oci.data_connectivity.models.ExcelFormatAttribute(
                    model_type="EXCEL_FORMAT",
                    data_address="EXAMPLE-dataAddress-Value",
                    header=False,
                    password="EXAMPLE-password-Value"),
                compression_config=oci.data_connectivity.models.Compression(
                    codec="GZIP")),
            object_status=269,
            identifier="EXAMPLE-identifier-Value"),
        profile_config=oci.data_connectivity.models.ProfileConfig(
            attributes=["EXAMPLE--Value"],
            functions=["VALUE_FREQUENCY"],
            top_n_val_freq=607,
            pattern_threshold=642,
            data_type_threshold=151)),
    opc_request_id="M2JCQOGZV035ZNBPTEM8<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_profile_response.data)