/AWS1/IF_SGM=>DESCRIBEMODELPACKAGE()¶
About DescribeModelPackage¶
Returns a description of the specified model package, which is used to create SageMaker models or list them on Amazon Web Services Marketplace.
If you provided a KMS Key ID when you created your model package, you will see the KMS Decrypt API call in your CloudTrail logs when you use this API. To call this operation without requiring kms:Decrypt permission on the customer-managed key, set IncludedData to MetadataOnly; the response is returned with the embedded ModelCard.ModelCardContent field sanitized.
To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.
Method Signature¶
METHODS /AWS1/IF_SGM~DESCRIBEMODELPACKAGE
IMPORTING
!IV_MODELPACKAGENAME TYPE /AWS1/SGMVERSIONEDARNORNAME OPTIONAL
!IV_INCLUDEDDATA TYPE /AWS1/SGMINCLUDEDDATA OPTIONAL
PREFERRED PARAMETER iv_modelpackagename
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sgmdscmodelpackageout
RAISING
/AWS1/CX_SGMCLIENTEXC
/AWS1/CX_SGMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_modelpackagename TYPE /AWS1/SGMVERSIONEDARNORNAME /AWS1/SGMVERSIONEDARNORNAME¶
The name or Amazon Resource Name (ARN) of the model package to describe.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
Optional arguments:¶
iv_includeddata TYPE /AWS1/SGMINCLUDEDDATA /AWS1/SGMINCLUDEDDATA¶
Specifies the level of model package data to include in the response. Use this parameter to call
DescribeModelPackageon a model package that has an associated model card without requiringkms:Decryptpermission on the customer-managed KMS key associated with the embedded model card.
AllData: Returns the full model package response, including the unredactedModelCard.ModelCardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the embedded model card. This is the default.
MetadataOnly: Returns the full model package response, but with the embeddedModelCard.ModelCardContentsanitized to include only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. All other top-level response fields, includingInferenceSpecification,ModelMetrics,DriftCheckBaselines, andSecurityConfig, are returned unchanged. For the list of fields preserved withinModelCardContent, see ModelCard.If you don't specify a value, SageMaker returns
AllData.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sgmdscmodelpackageout /AWS1/CL_SGMDSCMODELPACKAGEOUT¶
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->describemodelpackage(
iv_includeddata = |string|
iv_modelpackagename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_entityname = lo_result->get_modelpackagename( ).
lv_entityname = lo_result->get_modelpackagegroupname( ).
lv_modelpackageversion = lo_result->get_modelpackageversion( ).
lv_modelpackageregistratio = lo_result->get_modelpackageregtype( ).
lv_modelpackagearn = lo_result->get_modelpackagearn( ).
lv_entitydescription = lo_result->get_modelpackagedescription( ).
lv_creationtime = lo_result->get_creationtime( ).
lo_inferencespecification = lo_result->get_inferencespecification( ).
IF lo_inferencespecification IS NOT INITIAL.
LOOP AT lo_inferencespecification->get_containers( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_containerhostname = lo_row_1->get_containerhostname( ).
lv_containerimage = lo_row_1->get_image( ).
lv_imagedigest = lo_row_1->get_imagedigest( ).
lv_url = lo_row_1->get_modeldataurl( ).
lo_modeldatasource = lo_row_1->get_modeldatasource( ).
IF lo_modeldatasource IS NOT INITIAL.
lo_s3modeldatasource = lo_modeldatasource->get_s3datasource( ).
IF lo_s3modeldatasource IS NOT INITIAL.
lv_s3modeluri = lo_s3modeldatasource->get_s3uri( ).
lv_s3modeldatatype = lo_s3modeldatasource->get_s3datatype( ).
lv_modelcompressiontype = lo_s3modeldatasource->get_compressiontype( ).
lo_modelaccessconfig = lo_s3modeldatasource->get_modelaccessconfig( ).
IF lo_modelaccessconfig IS NOT INITIAL.
lv_accepteula = lo_modelaccessconfig->get_accepteula( ).
ENDIF.
lo_inferencehubaccessconfi = lo_s3modeldatasource->get_hubaccessconfig( ).
IF lo_inferencehubaccessconfi IS NOT INITIAL.
lv_hubcontentarn = lo_inferencehubaccessconfi->get_hubcontentarn( ).
ENDIF.
lv_s3modeluri = lo_s3modeldatasource->get_manifests3uri( ).
lv_string = lo_s3modeldatasource->get_etag( ).
lv_string = lo_s3modeldatasource->get_manifestetag( ).
ENDIF.
ENDIF.
lv_productid = lo_row_1->get_productid( ).
LOOP AT lo_row_1->get_environment( ) into ls_row_2.
lv_key = ls_row_2-key.
lo_value = ls_row_2-value.
IF lo_value IS NOT INITIAL.
lv_environmentvalue = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lo_modelinput = lo_row_1->get_modelinput( ).
IF lo_modelinput IS NOT INITIAL.
lv_datainputconfig = lo_modelinput->get_datainputconfig( ).
ENDIF.
lv_string = lo_row_1->get_framework( ).
lv_modelpackageframeworkve = lo_row_1->get_frameworkversion( ).
lv_string = lo_row_1->get_nearestmodelname( ).
LOOP AT lo_row_1->get_addlmodeldatasources( ) into lo_row_3.
lo_row_4 = lo_row_3.
IF lo_row_4 IS NOT INITIAL.
lv_additionalmodelchanneln = lo_row_4->get_channelname( ).
lo_s3modeldatasource = lo_row_4->get_s3datasource( ).
IF lo_s3modeldatasource IS NOT INITIAL.
lv_s3modeluri = lo_s3modeldatasource->get_s3uri( ).
lv_s3modeldatatype = lo_s3modeldatasource->get_s3datatype( ).
lv_modelcompressiontype = lo_s3modeldatasource->get_compressiontype( ).
lo_modelaccessconfig = lo_s3modeldatasource->get_modelaccessconfig( ).
IF lo_modelaccessconfig IS NOT INITIAL.
lv_accepteula = lo_modelaccessconfig->get_accepteula( ).
ENDIF.
lo_inferencehubaccessconfi = lo_s3modeldatasource->get_hubaccessconfig( ).
IF lo_inferencehubaccessconfi IS NOT INITIAL.
lv_hubcontentarn = lo_inferencehubaccessconfi->get_hubcontentarn( ).
ENDIF.
lv_s3modeluri = lo_s3modeldatasource->get_manifests3uri( ).
lv_string = lo_s3modeldatasource->get_etag( ).
lv_string = lo_s3modeldatasource->get_manifestetag( ).
ENDIF.
ENDIF.
ENDLOOP.
lo_additionals3datasource = lo_row_1->get_additionals3datasource( ).
IF lo_additionals3datasource IS NOT INITIAL.
lv_additionals3datasourced = lo_additionals3datasource->get_s3datatype( ).
lv_s3uri = lo_additionals3datasource->get_s3uri( ).
lv_compressiontype = lo_additionals3datasource->get_compressiontype( ).
lv_string = lo_additionals3datasource->get_etag( ).
ENDIF.
lv_string = lo_row_1->get_modeldataetag( ).
lv_boolean = lo_row_1->get_ischeckpoint( ).
lo_basemodel = lo_row_1->get_basemodel( ).
IF lo_basemodel IS NOT INITIAL.
lv_hubcontentname = lo_basemodel->get_hubcontentname( ).
lv_hubcontentversion = lo_basemodel->get_hubcontentversion( ).
lv_recipename = lo_basemodel->get_recipename( ).
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT lo_inferencespecification->get_suppedtransforminsttypes( ) into lo_row_5.
lo_row_6 = lo_row_5.
IF lo_row_6 IS NOT INITIAL.
lv_transforminstancetype = lo_row_6->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_inferencespecification->get_suppedrealtimeinferenc00( ) into lo_row_7.
lo_row_8 = lo_row_7.
IF lo_row_8 IS NOT INITIAL.
lv_productionvariantinstan = lo_row_8->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_inferencespecification->get_supportedcontenttypes( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_contenttype = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_inferencespecification->get_supportedrspmimetypes( ) into lo_row_11.
lo_row_12 = lo_row_11.
IF lo_row_12 IS NOT INITIAL.
lv_responsemimetype = lo_row_12->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
lo_sourcealgorithmspecific = lo_result->get_sourcealgorithmspec( ).
IF lo_sourcealgorithmspecific IS NOT INITIAL.
LOOP AT lo_sourcealgorithmspecific->get_sourcealgorithms( ) into lo_row_13.
lo_row_14 = lo_row_13.
IF lo_row_14 IS NOT INITIAL.
lv_url = lo_row_14->get_modeldataurl( ).
lo_modeldatasource = lo_row_14->get_modeldatasource( ).
IF lo_modeldatasource IS NOT INITIAL.
lo_s3modeldatasource = lo_modeldatasource->get_s3datasource( ).
IF lo_s3modeldatasource IS NOT INITIAL.
lv_s3modeluri = lo_s3modeldatasource->get_s3uri( ).
lv_s3modeldatatype = lo_s3modeldatasource->get_s3datatype( ).
lv_modelcompressiontype = lo_s3modeldatasource->get_compressiontype( ).
lo_modelaccessconfig = lo_s3modeldatasource->get_modelaccessconfig( ).
IF lo_modelaccessconfig IS NOT INITIAL.
lv_accepteula = lo_modelaccessconfig->get_accepteula( ).
ENDIF.
lo_inferencehubaccessconfi = lo_s3modeldatasource->get_hubaccessconfig( ).
IF lo_inferencehubaccessconfi IS NOT INITIAL.
lv_hubcontentarn = lo_inferencehubaccessconfi->get_hubcontentarn( ).
ENDIF.
lv_s3modeluri = lo_s3modeldatasource->get_manifests3uri( ).
lv_string = lo_s3modeldatasource->get_etag( ).
lv_string = lo_s3modeldatasource->get_manifestetag( ).
ENDIF.
ENDIF.
lv_string = lo_row_14->get_modeldataetag( ).
lv_arnorname = lo_row_14->get_algorithmname( ).
ENDIF.
ENDLOOP.
ENDIF.
lo_modelpackagevalidations = lo_result->get_validationspecification( ).
IF lo_modelpackagevalidations IS NOT INITIAL.
lv_rolearn = lo_modelpackagevalidations->get_validationrole( ).
LOOP AT lo_modelpackagevalidations->get_validationprofiles( ) into lo_row_15.
lo_row_16 = lo_row_15.
IF lo_row_16 IS NOT INITIAL.
lv_entityname = lo_row_16->get_profilename( ).
lo_transformjobdefinition = lo_row_16->get_transformjobdefinition( ).
IF lo_transformjobdefinition IS NOT INITIAL.
lv_maxconcurrenttransforms = lo_transformjobdefinition->get_maxconcurrenttransforms( ).
lv_maxpayloadinmb = lo_transformjobdefinition->get_maxpayloadinmb( ).
lv_batchstrategy = lo_transformjobdefinition->get_batchstrategy( ).
LOOP AT lo_transformjobdefinition->get_environment( ) into ls_row_17.
lv_key_1 = ls_row_17-key.
lo_value_1 = ls_row_17-value.
IF lo_value_1 IS NOT INITIAL.
lv_transformenvironmentval = lo_value_1->get_value( ).
ENDIF.
ENDLOOP.
lo_transforminput = lo_transformjobdefinition->get_transforminput( ).
IF lo_transforminput IS NOT INITIAL.
lo_transformdatasource = lo_transforminput->get_datasource( ).
IF lo_transformdatasource IS NOT INITIAL.
lo_transforms3datasource = lo_transformdatasource->get_s3datasource( ).
IF lo_transforms3datasource IS NOT INITIAL.
lv_s3datatype = lo_transforms3datasource->get_s3datatype( ).
lv_s3uri = lo_transforms3datasource->get_s3uri( ).
ENDIF.
ENDIF.
lv_contenttype = lo_transforminput->get_contenttype( ).
lv_compressiontype = lo_transforminput->get_compressiontype( ).
lv_splittype = lo_transforminput->get_splittype( ).
ENDIF.
lo_transformoutput = lo_transformjobdefinition->get_transformoutput( ).
IF lo_transformoutput IS NOT INITIAL.
lv_s3uri = lo_transformoutput->get_s3outputpath( ).
lv_accept = lo_transformoutput->get_accept( ).
lv_assemblytype = lo_transformoutput->get_assemblewith( ).
lv_kmskeyid = lo_transformoutput->get_kmskeyid( ).
ENDIF.
lo_transformresources = lo_transformjobdefinition->get_transformresources( ).
IF lo_transformresources IS NOT INITIAL.
lv_transforminstancetype = lo_transformresources->get_instancetype( ).
lv_transforminstancecount = lo_transformresources->get_instancecount( ).
lv_kmskeyid = lo_transformresources->get_volumekmskeyid( ).
lv_transformamiversion = lo_transformresources->get_transformamiversion( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
lv_modelpackagestatus = lo_result->get_modelpackagestatus( ).
lo_modelpackagestatusdetai = lo_result->get_modelpackagestatusdets( ).
IF lo_modelpackagestatusdetai IS NOT INITIAL.
LOOP AT lo_modelpackagestatusdetai->get_validationstatuses( ) into lo_row_18.
lo_row_19 = lo_row_18.
IF lo_row_19 IS NOT INITIAL.
lv_entityname = lo_row_19->get_name( ).
lv_detailedmodelpackagesta = lo_row_19->get_status( ).
lv_string = lo_row_19->get_failurereason( ).
ENDIF.
ENDLOOP.
LOOP AT lo_modelpackagestatusdetai->get_imagescanstatuses( ) into lo_row_18.
lo_row_19 = lo_row_18.
IF lo_row_19 IS NOT INITIAL.
lv_entityname = lo_row_19->get_name( ).
lv_detailedmodelpackagesta = lo_row_19->get_status( ).
lv_string = lo_row_19->get_failurereason( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_certifyformarketplace = lo_result->get_certifyformarketplace( ).
lv_modelapprovalstatus = lo_result->get_modelapprovalstatus( ).
lo_usercontext = lo_result->get_createdby( ).
IF lo_usercontext IS NOT INITIAL.
lv_string = lo_usercontext->get_userprofilearn( ).
lv_string = lo_usercontext->get_userprofilename( ).
lv_string = lo_usercontext->get_domainid( ).
lo_iamidentity = lo_usercontext->get_iamidentity( ).
IF lo_iamidentity IS NOT INITIAL.
lv_string = lo_iamidentity->get_arn( ).
lv_string = lo_iamidentity->get_principalid( ).
lv_string = lo_iamidentity->get_sourceidentity( ).
ENDIF.
ENDIF.
lo_metadataproperties = lo_result->get_metadataproperties( ).
IF lo_metadataproperties IS NOT INITIAL.
lv_metadatapropertyvalue = lo_metadataproperties->get_commitid( ).
lv_metadatapropertyvalue = lo_metadataproperties->get_repository( ).
lv_metadatapropertyvalue = lo_metadataproperties->get_generatedby( ).
lv_metadatapropertyvalue = lo_metadataproperties->get_projectid( ).
ENDIF.
lo_modelmetrics = lo_result->get_modelmetrics( ).
IF lo_modelmetrics IS NOT INITIAL.
lo_modelquality = lo_modelmetrics->get_modelquality( ).
IF lo_modelquality IS NOT INITIAL.
lo_metricssource = lo_modelquality->get_statistics( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
lo_metricssource = lo_modelquality->get_constraints( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
ENDIF.
lo_modeldataquality = lo_modelmetrics->get_modeldataquality( ).
IF lo_modeldataquality IS NOT INITIAL.
lo_metricssource = lo_modeldataquality->get_statistics( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
lo_metricssource = lo_modeldataquality->get_constraints( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
ENDIF.
lo_bias = lo_modelmetrics->get_bias( ).
IF lo_bias IS NOT INITIAL.
lo_metricssource = lo_bias->get_report( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
lo_metricssource = lo_bias->get_pretrainingreport( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
lo_metricssource = lo_bias->get_posttrainingreport( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
ENDIF.
lo_explainability = lo_modelmetrics->get_explainability( ).
IF lo_explainability IS NOT INITIAL.
lo_metricssource = lo_explainability->get_report( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
ENDIF.
ENDIF.
lv_timestamp = lo_result->get_lastmodifiedtime( ).
lo_usercontext = lo_result->get_lastmodifiedby( ).
IF lo_usercontext IS NOT INITIAL.
lv_string = lo_usercontext->get_userprofilearn( ).
lv_string = lo_usercontext->get_userprofilename( ).
lv_string = lo_usercontext->get_domainid( ).
lo_iamidentity = lo_usercontext->get_iamidentity( ).
IF lo_iamidentity IS NOT INITIAL.
lv_string = lo_iamidentity->get_arn( ).
lv_string = lo_iamidentity->get_principalid( ).
lv_string = lo_iamidentity->get_sourceidentity( ).
ENDIF.
ENDIF.
lv_approvaldescription = lo_result->get_approvaldescription( ).
lv_string = lo_result->get_domain( ).
lv_string = lo_result->get_task( ).
lv_string = lo_result->get_samplepayloadurl( ).
LOOP AT lo_result->get_customermetadataprps( ) into ls_row_20.
lv_key_2 = ls_row_20-key.
lo_value_2 = ls_row_20-value.
IF lo_value_2 IS NOT INITIAL.
lv_customermetadatavalue = lo_value_2->get_value( ).
ENDIF.
ENDLOOP.
lo_driftcheckbaselines = lo_result->get_driftcheckbaselines( ).
IF lo_driftcheckbaselines IS NOT INITIAL.
lo_driftcheckbias = lo_driftcheckbaselines->get_bias( ).
IF lo_driftcheckbias IS NOT INITIAL.
lo_filesource = lo_driftcheckbias->get_configfile( ).
IF lo_filesource IS NOT INITIAL.
lv_contenttype = lo_filesource->get_contenttype( ).
lv_contentdigest = lo_filesource->get_contentdigest( ).
lv_s3uri = lo_filesource->get_s3uri( ).
ENDIF.
lo_metricssource = lo_driftcheckbias->get_pretrainingconstraints( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
lo_metricssource = lo_driftcheckbias->get_posttrainingconstraints( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
ENDIF.
lo_driftcheckexplainabilit = lo_driftcheckbaselines->get_explainability( ).
IF lo_driftcheckexplainabilit IS NOT INITIAL.
lo_metricssource = lo_driftcheckexplainabilit->get_constraints( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
lo_filesource = lo_driftcheckexplainabilit->get_configfile( ).
IF lo_filesource IS NOT INITIAL.
lv_contenttype = lo_filesource->get_contenttype( ).
lv_contentdigest = lo_filesource->get_contentdigest( ).
lv_s3uri = lo_filesource->get_s3uri( ).
ENDIF.
ENDIF.
lo_driftcheckmodelquality = lo_driftcheckbaselines->get_modelquality( ).
IF lo_driftcheckmodelquality IS NOT INITIAL.
lo_metricssource = lo_driftcheckmodelquality->get_statistics( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
lo_metricssource = lo_driftcheckmodelquality->get_constraints( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
ENDIF.
lo_driftcheckmodeldataqual = lo_driftcheckbaselines->get_modeldataquality( ).
IF lo_driftcheckmodeldataqual IS NOT INITIAL.
lo_metricssource = lo_driftcheckmodeldataqual->get_statistics( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
lo_metricssource = lo_driftcheckmodeldataqual->get_constraints( ).
IF lo_metricssource IS NOT INITIAL.
lv_contenttype = lo_metricssource->get_contenttype( ).
lv_contentdigest = lo_metricssource->get_contentdigest( ).
lv_s3uri = lo_metricssource->get_s3uri( ).
ENDIF.
ENDIF.
ENDIF.
LOOP AT lo_result->get_additionalinferencespecs( ) into lo_row_21.
lo_row_22 = lo_row_21.
IF lo_row_22 IS NOT INITIAL.
lv_entityname = lo_row_22->get_name( ).
lv_entitydescription = lo_row_22->get_description( ).
LOOP AT lo_row_22->get_containers( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_containerhostname = lo_row_1->get_containerhostname( ).
lv_containerimage = lo_row_1->get_image( ).
lv_imagedigest = lo_row_1->get_imagedigest( ).
lv_url = lo_row_1->get_modeldataurl( ).
lo_modeldatasource = lo_row_1->get_modeldatasource( ).
IF lo_modeldatasource IS NOT INITIAL.
lo_s3modeldatasource = lo_modeldatasource->get_s3datasource( ).
IF lo_s3modeldatasource IS NOT INITIAL.
lv_s3modeluri = lo_s3modeldatasource->get_s3uri( ).
lv_s3modeldatatype = lo_s3modeldatasource->get_s3datatype( ).
lv_modelcompressiontype = lo_s3modeldatasource->get_compressiontype( ).
lo_modelaccessconfig = lo_s3modeldatasource->get_modelaccessconfig( ).
IF lo_modelaccessconfig IS NOT INITIAL.
lv_accepteula = lo_modelaccessconfig->get_accepteula( ).
ENDIF.
lo_inferencehubaccessconfi = lo_s3modeldatasource->get_hubaccessconfig( ).
IF lo_inferencehubaccessconfi IS NOT INITIAL.
lv_hubcontentarn = lo_inferencehubaccessconfi->get_hubcontentarn( ).
ENDIF.
lv_s3modeluri = lo_s3modeldatasource->get_manifests3uri( ).
lv_string = lo_s3modeldatasource->get_etag( ).
lv_string = lo_s3modeldatasource->get_manifestetag( ).
ENDIF.
ENDIF.
lv_productid = lo_row_1->get_productid( ).
LOOP AT lo_row_1->get_environment( ) into ls_row_2.
lv_key = ls_row_2-key.
lo_value = ls_row_2-value.
IF lo_value IS NOT INITIAL.
lv_environmentvalue = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lo_modelinput = lo_row_1->get_modelinput( ).
IF lo_modelinput IS NOT INITIAL.
lv_datainputconfig = lo_modelinput->get_datainputconfig( ).
ENDIF.
lv_string = lo_row_1->get_framework( ).
lv_modelpackageframeworkve = lo_row_1->get_frameworkversion( ).
lv_string = lo_row_1->get_nearestmodelname( ).
LOOP AT lo_row_1->get_addlmodeldatasources( ) into lo_row_3.
lo_row_4 = lo_row_3.
IF lo_row_4 IS NOT INITIAL.
lv_additionalmodelchanneln = lo_row_4->get_channelname( ).
lo_s3modeldatasource = lo_row_4->get_s3datasource( ).
IF lo_s3modeldatasource IS NOT INITIAL.
lv_s3modeluri = lo_s3modeldatasource->get_s3uri( ).
lv_s3modeldatatype = lo_s3modeldatasource->get_s3datatype( ).
lv_modelcompressiontype = lo_s3modeldatasource->get_compressiontype( ).
lo_modelaccessconfig = lo_s3modeldatasource->get_modelaccessconfig( ).
IF lo_modelaccessconfig IS NOT INITIAL.
lv_accepteula = lo_modelaccessconfig->get_accepteula( ).
ENDIF.
lo_inferencehubaccessconfi = lo_s3modeldatasource->get_hubaccessconfig( ).
IF lo_inferencehubaccessconfi IS NOT INITIAL.
lv_hubcontentarn = lo_inferencehubaccessconfi->get_hubcontentarn( ).
ENDIF.
lv_s3modeluri = lo_s3modeldatasource->get_manifests3uri( ).
lv_string = lo_s3modeldatasource->get_etag( ).
lv_string = lo_s3modeldatasource->get_manifestetag( ).
ENDIF.
ENDIF.
ENDLOOP.
lo_additionals3datasource = lo_row_1->get_additionals3datasource( ).
IF lo_additionals3datasource IS NOT INITIAL.
lv_additionals3datasourced = lo_additionals3datasource->get_s3datatype( ).
lv_s3uri = lo_additionals3datasource->get_s3uri( ).
lv_compressiontype = lo_additionals3datasource->get_compressiontype( ).
lv_string = lo_additionals3datasource->get_etag( ).
ENDIF.
lv_string = lo_row_1->get_modeldataetag( ).
lv_boolean = lo_row_1->get_ischeckpoint( ).
lo_basemodel = lo_row_1->get_basemodel( ).
IF lo_basemodel IS NOT INITIAL.
lv_hubcontentname = lo_basemodel->get_hubcontentname( ).
lv_hubcontentversion = lo_basemodel->get_hubcontentversion( ).
lv_recipename = lo_basemodel->get_recipename( ).
ENDIF.
ENDIF.
ENDLOOP.
LOOP AT lo_row_22->get_suppedtransforminsttypes( ) into lo_row_5.
lo_row_6 = lo_row_5.
IF lo_row_6 IS NOT INITIAL.
lv_transforminstancetype = lo_row_6->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_row_22->get_suppedrealtimeinferenc00( ) into lo_row_7.
lo_row_8 = lo_row_7.
IF lo_row_8 IS NOT INITIAL.
lv_productionvariantinstan = lo_row_8->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_row_22->get_supportedcontenttypes( ) into lo_row_9.
lo_row_10 = lo_row_9.
IF lo_row_10 IS NOT INITIAL.
lv_contenttype = lo_row_10->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_row_22->get_supportedrspmimetypes( ) into lo_row_11.
lo_row_12 = lo_row_11.
IF lo_row_12 IS NOT INITIAL.
lv_responsemimetype = lo_row_12->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lv_skipmodelvalidation = lo_result->get_skipmodelvalidation( ).
lv_modelpackagesourceuri = lo_result->get_sourceuri( ).
lo_modelpackagesecuritycon = lo_result->get_securityconfig( ).
IF lo_modelpackagesecuritycon IS NOT INITIAL.
lv_kmskeyid = lo_modelpackagesecuritycon->get_kmskeyid( ).
ENDIF.
lo_modelpackagemodelcard = lo_result->get_modelcard( ).
IF lo_modelpackagemodelcard IS NOT INITIAL.
lv_modelcardcontent = lo_modelpackagemodelcard->get_modelcardcontent( ).
lv_modelcardstatus = lo_modelpackagemodelcard->get_modelcardstatus( ).
ENDIF.
lo_modellifecycle = lo_result->get_modellifecycle( ).
IF lo_modellifecycle IS NOT INITIAL.
lv_entityname = lo_modellifecycle->get_stage( ).
lv_entityname = lo_modellifecycle->get_stagestatus( ).
lv_stagedescription = lo_modellifecycle->get_stagedescription( ).
ENDIF.
lv_managedstoragetype = lo_result->get_managedstoragetype( ).
ENDIF.