# 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_connection_validation_response = data_connectivity_client.create_connection_validation(
    registry_id="ocid1.test.oc1..<unique_ID>EXAMPLE-registryId-Value",
    create_connection_validation_details=oci.data_connectivity.models.CreateConnectionValidationDetails(
        data_asset=oci.data_connectivity.models.CreateDataAssetDetails(
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            properties={
                'EXAMPLE_KEY_ii0fB': 'EXAMPLE--Value'},
            type="EXAMPLE-type-Value",
            key="EXAMPLE-key-Value",
            model_version="EXAMPLE-modelVersion-Value",
            model_type="EXAMPLE-modelType-Value",
            description="EXAMPLE-description-Value",
            object_status=390,
            object_version=294,
            external_key="EXAMPLE-externalKey-Value",
            asset_properties={
                'EXAMPLE_KEY_OYAZe': 'EXAMPLE_VALUE_gsu4NXaDrb09tF9536Tg'},
            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=526,
                type_mapping_to={
                            'EXAMPLE_KEY_MbTA5': 'EXAMPLE_VALUE_nPF8E4g1yhcwBCu1xST8'},
                type_mapping_from={
                    'EXAMPLE_KEY_vyEPB': 'EXAMPLE_VALUE_PRzsE0DQAZ4sp3OtdfVQ'},
                object_status=81,
                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=662,
                        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=33,
                                    config_parameter_definitions={
                                        'EXAMPLE_KEY_rb0lC': {
                                            'parameterType': {
                                                'modelType': 'CONFIGURED_TYPE',
                                                'key': 'EXAMPLE-key-Value',
                                                'modelVersion': 'EXAMPLE-modelVersion-Value',
                                                'parentRef': {
                                                    'parent': 'EXAMPLE-parent-Value'},
                                                'name': 'EXAMPLE-name-Value',
                                                'objectStatus': 618,
                                                'description': 'EXAMPLE-description-Value',
                                                'configValues': {
                                                    'configParamValues': {
                                                        'EXAMPLE_KEY_Plc3J': {
                                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                                            'intValue': 811,
                                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                                            'refValue': 'EXAMPLE-refValue-Value',
                                                            'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                                    'parentRef': {
                                                        'parent': 'EXAMPLE-parent-Value'}}},
                                            'parameterName': 'EXAMPLE-parameterName-Value',
                                            'description': 'EXAMPLE-description-Value',
                                            'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                            'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                            'isStatic': True,
                                            'isClassFieldValue': False}}))]),
            registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                labels=["EXAMPLE--Value"],
                registry_version=481,
                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(
                    "2031-11-14T21:53:57.259Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2024-04-08T17:14:25.314Z",
                    "%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(
                    "2048-08-09T00:56:17.728Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2038-05-08T22:20:55.531Z",
                    "%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_YsePI': 'EXAMPLE_VALUE_WGuaxG4GGzlT1YQYKzrb'},
                registry_version=958,
                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=272,
                object_status=467,
                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=718,
                    external_key="EXAMPLE-externalKey-Value",
                    is_has_containers=False,
                    default_connection="EXAMPLE-defaultConnection-Value",
                    object_status=469,
                    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-04-25T01:24:53.104Z",
                            "%Y-%m-%dT%H:%M:%S.%fZ"),
                        time_updated=datetime.strptime(
                            "2027-05-11T03:40:42.011Z",
                            "%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_DQGTw': 'EXAMPLE_VALUE_094hoiSbdYGt7xLgF3H5'},
                        registry_version=485,
                        labels=["EXAMPLE--Value"],
                        is_favorite=False)),
                connection_properties=[
                    oci.data_connectivity.models.ConnectionProperty(
                        name="EXAMPLE-name-Value",
                        value="EXAMPLE-value-Value")],
                properties={
                    'EXAMPLE_KEY_wmcrQ': '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-01-04T02:17:29.115Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2030-09-05T10:34:08.727Z",
                        "%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_pLsxp': 'EXAMPLE_VALUE_aLcYo5W1VxbAZSvCSuM7'},
                    registry_version=926,
                    labels=["EXAMPLE--Value"],
                    is_favorite=True),
                registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                    aggregator_key="EXAMPLE-aggregatorKey-Value",
                    labels=["EXAMPLE--Value"],
                    registry_version=939,
                    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(
                        "2043-06-24T17:51:18.752Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2028-01-01T04:50:11.443Z",
                        "%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=950,
                    object_status=149,
                    identifier="EXAMPLE-identifier-Value",
                    data_assets=[
                        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=103,
                            object_version=593,
                            external_key="EXAMPLE-externalKey-Value",
                            asset_properties={
                                'EXAMPLE_KEY_oPgha': 'EXAMPLE_VALUE_J3MDS2J7eKowEnji036s'},
                            properties={
                                'EXAMPLE_KEY_2iCUk': '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=727,
                                type_mapping_to={
                                    'EXAMPLE_KEY_XqHpL': 'EXAMPLE_VALUE_neu2FtyiE2ZtGONJpT5a'},
                                type_mapping_from={
                                    'EXAMPLE_KEY_Qf8Ok': 'EXAMPLE_VALUE_ByxzafksyzmFeRpq7c1J'},
                                object_status=284,
                                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=267,
                                        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=True,
                                            object_status=552,
                                            config_parameter_definitions={
                                                'EXAMPLE_KEY_bglTJ': {
                                                    'parameterType': {
                                                        'modelType': 'CONFIGURED_TYPE',
                                                        'key': 'EXAMPLE-key-Value',
                                                        'modelVersion': 'EXAMPLE-modelVersion-Value',
                                                        'parentRef': {
                                                            'parent': 'EXAMPLE-parent-Value'},
                                                        'name': 'EXAMPLE-name-Value',
                                                        'objectStatus': 491,
                                                        'description': 'EXAMPLE-description-Value',
                                                        'configValues': {
                                                            'configParamValues': {
                                                                'EXAMPLE_KEY_T6CqJ': {
                                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                                    'intValue': 338,
                                                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                                                    'refValue': 'EXAMPLE-refValue-Value',
                                                                    'parameterValue': 'EXAMPLE-parameterValue-Value'}},
                                                            'parentRef': {
                                                                'parent': 'EXAMPLE-parent-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=383,
                                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(
                                    "2019-01-24T17:19:26.763Z",
                                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                                time_updated=datetime.strptime(
                                    "2042-09-03T12:21:22.377Z",
                                    "%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(
                                    "2030-10-09T11:04:15.947Z",
                                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                                time_updated=datetime.strptime(
                                    "2036-11-19T13:26:02.287Z",
                                    "%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_y0rZj': 'EXAMPLE_VALUE_tk4DX3ATKvfcc1YCNf18'},
                                registry_version=699,
                                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=979,
                                object_status=239,
                                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=286,
                                    external_key="EXAMPLE-externalKey-Value",
                                    is_has_containers=False,
                                    default_connection="EXAMPLE-defaultConnection-Value",
                                    object_status=693,
                                    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-11-03T23:54:27.337Z",
                                            "%Y-%m-%dT%H:%M:%S.%fZ"),
                                        time_updated=datetime.strptime(
                                            "2017-01-23T14:37:33.297Z",
                                            "%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_24Dn2': 'EXAMPLE_VALUE_aLTyO9cewNkSRwwitYW1'},
                                        registry_version=980,
                                        labels=["EXAMPLE--Value"],
                                        is_favorite=False)),
                                connection_properties=[
                                    oci.data_connectivity.models.ConnectionProperty(
                                        name="EXAMPLE-name-Value",
                                        value="EXAMPLE-value-Value")],
                                properties={
                                    'EXAMPLE_KEY_hFFQy': '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(
                                        "2021-10-23T05:59:36.097Z",
                                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                                    time_updated=datetime.strptime(
                                        "2010-03-17T03:55:24.669Z",
                                        "%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_EnfB2': 'EXAMPLE_VALUE_Dbq2yzMWqqm7ruOiEjRn'},
                                    registry_version=432,
                                    labels=["EXAMPLE--Value"],
                                    is_favorite=False),
                                registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                                    aggregator_key="EXAMPLE-aggregatorKey-Value",
                                    labels=["EXAMPLE--Value"],
                                    registry_version=554,
                                    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(
                                        "2009-03-15T05:52:54.531Z",
                                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                                    time_updated=datetime.strptime(
                                        "2043-05-22T21:41:58.767Z",
                                        "%Y-%m-%dT%H:%M:%S.%fZ"))))],
                    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.CreateConnectionDetails(
            name="EXAMPLE-name-Value",
            identifier="EXAMPLE-identifier-Value",
            properties={
                'EXAMPLE_KEY_Wbym4': 'EXAMPLE--Value'},
            type="EXAMPLE-type-Value",
            key="EXAMPLE-key-Value",
            model_version="EXAMPLE-modelVersion-Value",
            model_type="EXAMPLE-modelType-Value",
            description="EXAMPLE-description-Value",
            object_version=173,
            object_status=618,
            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=661,
                external_key="EXAMPLE-externalKey-Value",
                is_has_containers=False,
                default_connection="EXAMPLE-defaultConnection-Value",
                object_status=58,
                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(
                        "2041-02-13T23:31:36.785Z",
                        "%Y-%m-%dT%H:%M:%S.%fZ"),
                    time_updated=datetime.strptime(
                        "2018-01-23T08:38:56.563Z",
                        "%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_6qpKX': 'EXAMPLE_VALUE_ldItnMVPv2YeUFLJqhDM'},
                    registry_version=265,
                    labels=["EXAMPLE--Value"],
                    is_favorite=True)),
            connection_properties=[
                oci.data_connectivity.models.ConnectionProperty(
                    name="EXAMPLE-name-Value",
                    value="EXAMPLE-value-Value")],
            is_default=False,
            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(
                    "2028-09-06T14:39:50.996Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2027-09-25T07:56:41.711Z",
                    "%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_nMCtK': 'EXAMPLE_VALUE_AlpoIXDZP6G35pFfi7xf'},
                registry_version=999,
                labels=["EXAMPLE--Value"],
                is_favorite=True),
            registry_metadata=oci.data_connectivity.models.RegistryMetadata(
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                labels=["EXAMPLE--Value"],
                registry_version=850,
                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(
                    "2015-01-28T18:31:14.651Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2044-12-18T02:45:24.867Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"))),
        registry_metadata=oci.data_connectivity.models.RegistryMetadata(
            aggregator_key="EXAMPLE-aggregatorKey-Value",
            labels=["EXAMPLE--Value"],
            registry_version=78,
            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(
                "2011-03-25T19:28:05.691Z",
                "%Y-%m-%dT%H:%M:%S.%fZ"),
            time_updated=datetime.strptime(
                "2017-06-13T05:48:44.643Z",
                "%Y-%m-%dT%H:%M:%S.%fZ"))),
    opc_request_id="L7DIHJT9NYC64VTWNF46<unique_ID>",
    opc_retry_token="EXAMPLE-opcRetryToken-Value",
    endpoint_id="ocid1.test.oc1..<unique_ID>EXAMPLE-endpointId-Value")

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