# 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

# 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
list_reference_artifacts_response = data_connectivity_client.list_reference_artifacts(
    registry_id="ocid1.test.oc1..<unique_ID>EXAMPLE-registryId-Value",
    dcms_artifact_id="ocid1.test.oc1..<unique_ID>EXAMPLE-dcmsArtifactId-Value",
    page="EXAMPLE-page-Value",
    limit=591,
    fields=["EXAMPLE--Value"],
    type="EXAMPLE-type-Value",
    sort_by="displayName",
    sort_order="ASC",
    name="EXAMPLE-name-Value",
    opc_request_id="BKNRZ0CI3QO4ZR6GHL8D<unique_ID>",
    exclude_types=["EXAMPLE--Value"],
    favorites_query_param="NON_FAVORITES_ONLY",
    service_artifact_id="ocid1.test.oc1..<unique_ID>EXAMPLE-serviceArtifactId-Value")

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