# 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).
require '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::ConfigFileLoader.load_config
# Initialize service client with default config file
data_integration_client =
OCI::DataIntegration::DataIntegrationClient.new(config: config)
# Send the request to service, some parameters are not required, see API doc for more info
create_entity_shape_response =
data_integration_client.create_entity_shape(
'ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value',
'EXAMPLE-connectionKey-Value',
'EXAMPLE-schemaResourceName-Value',
OCI::DataIntegration::Models::CreateEntityShapeFromFile.new(
model_type: 'FILE_ENTITY',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
object_version: 551,
external_key: 'EXAMPLE-externalKey-Value',
shape:
OCI::DataIntegration::Models::Shape.new(
model_type: 'SHAPE',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_FGFvi' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 767,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' => 'EXAMPLE-parameterValue-Value',
'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
object_status: 10,
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
type:
OCI::DataIntegration::Models::DynamicType.new(
model_type: 'DYNAMIC_TYPE',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
name: 'EXAMPLE-name-Value',
object_status: 154,
description: 'EXAMPLE-description-Value',
type_handler:
OCI::DataIntegration::Models::FlattenTypeHandler.new(
model_type: 'FLATTEN_TYPE_HANDLER',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
scope: 'EXAMPLE-scope-Value',
flatten_details: 'EXAMPLE-flattenDetails-Value',
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_4rQNw' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 79,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' => 'EXAMPLE-parameterValue-Value',
'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
object_status: 762
),
config_definition:
OCI::DataIntegration::Models::ConfigDefinition.new(
key: 'EXAMPLE-key-Value',
model_type: 'EXAMPLE-modelType-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
name: 'EXAMPLE-name-Value',
is_contained: true,
object_status: 749,
config_parameter_definitions: {
'EXAMPLE_KEY_dCxGx' => {
'parameterName' => 'EXAMPLE-parameterName-Value',
'description' => 'EXAMPLE-description-Value',
'defaultValue' => 'EXAMPLE-defaultValue-Value',
'classFieldName' => 'EXAMPLE-classFieldName-Value',
'isStatic' => True,
'isClassFieldValue' => False
}
}
)
)
),
shape_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-shapeId-Value',
types:
OCI::DataIntegration::Models::TypeLibrary.new(
key: 'EXAMPLE-key-Value',
model_type: 'EXAMPLE-modelType-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
object_version: 982,
types: {
'EXAMPLE_KEY_643BQ' => {
'modelType' => 'DERIVED_TYPE',
'key' => 'EXAMPLE-key-Value',
'modelVersion' => 'EXAMPLE-modelVersion-Value',
'parentRef' => {
'parent' => 'EXAMPLE-parent-Value',
'rootDocId' =>
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
},
'name' => 'EXAMPLE-name-Value',
'objectStatus' => 282,
'description' => 'EXAMPLE-description-Value'
}
},
object_status: 439,
identifier: 'EXAMPLE-identifier-Value'
),
entity_type: 'VIEW',
other_type_label: 'EXAMPLE-otherTypeLabel-Value',
unique_keys: [
OCI::DataIntegration::Models::UniqueDataKey.new(
model_type: 'UNIQUE_KEY',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
name: 'EXAMPLE-name-Value',
attribute_refs: [
OCI::DataIntegration::Models::KeyAttribute.new(
position: 83,
shape_field:
OCI::DataIntegration::Models::ShapeField.new(
model_type: 'SHAPE_FIELD',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_Fb4aM' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 56,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' => 'EXAMPLE-parameterValue-Value',
'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
object_status: 920,
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
type: 'EXAMPLE-type-Value',
labels: %w[EXAMPLE--Value],
native_shape_field:
OCI::DataIntegration::Models::NativeShapeField.new(
name: 'EXAMPLE-name-Value',
model_type: 'EXAMPLE-modelType-Value',
type: 'EXAMPLE-type-Value',
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_cJ7Sa' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 438,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' =>
'EXAMPLE-parameterValue-Value',
'rootObjectValue' =>
'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
position: 328,
default_value_string: 'EXAMPLE-defaultValueString-Value',
is_mandatory: false
)
),
attribute:
OCI::DataIntegration::Models::ShapeField.new(
model_type: 'SHAPE_FIELD',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_dqK5k' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 935,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' => 'EXAMPLE-parameterValue-Value',
'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
object_status: 126,
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
type: 'EXAMPLE-type-Value',
labels: %w[EXAMPLE--Value],
native_shape_field:
OCI::DataIntegration::Models::NativeShapeField.new(
name: 'EXAMPLE-name-Value',
model_type: 'EXAMPLE-modelType-Value',
type: 'EXAMPLE-type-Value',
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_UpSd9' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 141,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' =>
'EXAMPLE-parameterValue-Value',
'rootObjectValue' =>
'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
position: 731,
default_value_string: 'EXAMPLE-defaultValueString-Value',
is_mandatory: false
)
)
)
],
object_status: 207
)
],
foreign_keys: [
OCI::DataIntegration::Models::ForeignKey.new(
model_type: 'FOREIGN_KEY',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
name: 'EXAMPLE-name-Value',
attribute_refs: [
OCI::DataIntegration::Models::KeyAttribute.new(
position: 391,
shape_field:
OCI::DataIntegration::Models::ShapeField.new(
model_type: 'SHAPE_FIELD',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_s6dWK' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 567,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' => 'EXAMPLE-parameterValue-Value',
'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
object_status: 711,
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
type: 'EXAMPLE-type-Value',
labels: %w[EXAMPLE--Value],
native_shape_field:
OCI::DataIntegration::Models::NativeShapeField.new(
name: 'EXAMPLE-name-Value',
model_type: 'EXAMPLE-modelType-Value',
type: 'EXAMPLE-type-Value',
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_NAka1' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 330,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' =>
'EXAMPLE-parameterValue-Value',
'rootObjectValue' =>
'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
position: 954,
default_value_string: 'EXAMPLE-defaultValueString-Value',
is_mandatory: false
)
),
attribute:
OCI::DataIntegration::Models::ShapeField.new(
model_type: 'SHAPE_FIELD',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_rQh4v' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 757,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' => 'EXAMPLE-parameterValue-Value',
'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
object_status: 98,
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
type: 'EXAMPLE-type-Value',
labels: %w[EXAMPLE--Value],
native_shape_field:
OCI::DataIntegration::Models::NativeShapeField.new(
name: 'EXAMPLE-name-Value',
model_type: 'EXAMPLE-modelType-Value',
type: 'EXAMPLE-type-Value',
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_Sgkcl' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 278,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' =>
'EXAMPLE-parameterValue-Value',
'rootObjectValue' =>
'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
position: 926,
default_value_string: 'EXAMPLE-defaultValueString-Value',
is_mandatory: false
)
)
)
],
update_rule: 75,
delete_rule: 762,
reference_unique_key:
OCI::DataIntegration::Models::UniqueDataKey.new(
model_type: 'UNIQUE_KEY',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
name: 'EXAMPLE-name-Value',
attribute_refs: [
OCI::DataIntegration::Models::KeyAttribute.new(
position: 181,
shape_field:
OCI::DataIntegration::Models::ShapeField.new(
model_type: 'SHAPE_FIELD',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_lICQv' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 240,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' =>
'EXAMPLE-parameterValue-Value',
'rootObjectValue' =>
'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
object_status: 374,
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
type: 'EXAMPLE-type-Value',
labels: %w[EXAMPLE--Value],
native_shape_field:
OCI::DataIntegration::Models::NativeShapeField.new(
name: 'EXAMPLE-name-Value',
model_type: 'EXAMPLE-modelType-Value',
type: 'EXAMPLE-type-Value',
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_PlSTA' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 437,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' =>
'EXAMPLE-parameterValue-Value',
'rootObjectValue' =>
'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference
.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
position: 524,
default_value_string:
'EXAMPLE-defaultValueString-Value',
is_mandatory: false
)
),
attribute:
OCI::DataIntegration::Models::ShapeField.new(
model_type: 'SHAPE_FIELD',
key: 'EXAMPLE-key-Value',
model_version: 'EXAMPLE-modelVersion-Value',
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
),
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_xXB2P' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 303,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' =>
'EXAMPLE-parameterValue-Value',
'rootObjectValue' =>
'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
object_status: 415,
name: 'EXAMPLE-name-Value',
description: 'EXAMPLE-description-Value',
type: 'EXAMPLE-type-Value',
labels: %w[EXAMPLE--Value],
native_shape_field:
OCI::DataIntegration::Models::NativeShapeField.new(
name: 'EXAMPLE-name-Value',
model_type: 'EXAMPLE-modelType-Value',
type: 'EXAMPLE-type-Value',
config_values:
OCI::DataIntegration::Models::ConfigValues.new(
config_param_values: {
'EXAMPLE_KEY_crFXx' => {
'stringValue' => 'EXAMPLE-stringValue-Value',
'intValue' => 985,
'objectValue' => 'EXAMPLE-objectValue-Value',
'refValue' => 'EXAMPLE-refValue-Value',
'parameterValue' =>
'EXAMPLE-parameterValue-Value',
'rootObjectValue' =>
'EXAMPLE-rootObjectValue-Value'
}
},
parent_ref:
OCI::DataIntegration::Models::ParentReference
.new(
parent: 'EXAMPLE-parent-Value',
root_doc_id:
'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
)
),
position: 82,
default_value_string:
'EXAMPLE-defaultValueString-Value',
is_mandatory: true
)
)
)
],
object_status: 608
),
object_status: 111
)
],
resource_name: 'EXAMPLE-resourceName-Value',
data_format:
OCI::DataIntegration::Models::DataFormat.new(
format_attribute:
OCI::DataIntegration::Models::CsvFormatAttribute.new(
model_type: 'CSV_FORMAT',
is_file_pattern: true,
encoding: 'EXAMPLE-encoding-Value',
escape_character: 'EXAMPLE-escapeCharacter-Value',
delimiter: 'EXAMPLE-delimiter-Value',
quote_character: 'EXAMPLE-quoteCharacter-Value',
has_header: true,
timestamp_format: 'EXAMPLE-timestampFormat-Value'
),
type: 'ORC',
compression_config:
OCI::DataIntegration::Models::Compression.new(codec: 'BZIP2')
),
object_status: 113,
identifier: 'EXAMPLE-identifier-Value'
)
)
# Get the data from response
puts "#{create_entity_shape_response.data}"