/AWS1/IF_MPI=>LISTFULFILLMENTOPTIONS()¶
About ListFulfillmentOptions¶
Returns the fulfillment options available for a product, including deployment details such as version information, operating systems, usage instructions, and release notes.
Method Signature¶
METHODS /AWS1/IF_MPI~LISTFULFILLMENTOPTIONS
IMPORTING
!IV_PRODUCTID TYPE /AWS1/MPIPRODUCTID OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/MPIINTEGER OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/MPINEXTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mpilstfulfllmtoptsout
RAISING
/AWS1/CX_MPIACCESSDENIEDEX
/AWS1/CX_MPIINTERNALSERVEREX
/AWS1/CX_MPITHROTTLINGEX
/AWS1/CX_MPIVLDTNEXCEPTION
/AWS1/CX_MPIRESOURCENOTFOUNDEX
/AWS1/CX_MPICLIENTEXC
/AWS1/CX_MPISERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_productid TYPE /AWS1/MPIPRODUCTID /AWS1/MPIPRODUCTID¶
The unique identifier of the product for which to list fulfillment options.
Optional arguments:¶
iv_maxresults TYPE /AWS1/MPIINTEGER /AWS1/MPIINTEGER¶
The maximum number of results that are returned per call. You can use
nextTokento get more results.
iv_nexttoken TYPE /AWS1/MPINEXTTOKEN /AWS1/MPINEXTTOKEN¶
If
nextTokenis returned, there are more results available. Make the call again using the returned token to retrieve the next page.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_mpilstfulfllmtoptsout /AWS1/CL_MPILSTFULFLLMTOPTSOUT¶
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->listfulfillmentoptions(
iv_maxresults = 123
iv_nexttoken = |string|
iv_productid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_fulfillmentoptions( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lo_amazonmachineimagefulfi = lo_row_1->get_amznmachnimgfulfllmtopt( ).
IF lo_amazonmachineimagefulfi IS NOT INITIAL.
lv_string = lo_amazonmachineimagefulfi->get_fulfillmentoptionid( ).
lv_string = lo_amazonmachineimagefulfi->get_fulfillmentoptionname( ).
lv_string = lo_amazonmachineimagefulfi->get_fulfillmentoptionversion( ).
lv_fulfillmentoptiontype = lo_amazonmachineimagefulfi->get_fulfillmentoptiontype( ).
lv_string = lo_amazonmachineimagefulfi->get_fulfllmtoptiondspname( ).
LOOP AT lo_amazonmachineimagefulfi->get_operatingsystems( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_string = lo_row_3->get_opertngsystemfamilyname( ).
lv_string = lo_row_3->get_operatingsystemname( ).
lv_string = lo_row_3->get_operatingsystemversion( ).
ENDIF.
ENDLOOP.
lo_amazonmachineimagerecom = lo_amazonmachineimagefulfi->get_recommendation( ).
IF lo_amazonmachineimagerecom IS NOT INITIAL.
lv_string = lo_amazonmachineimagerecom->get_instancetype( ).
ENDIF.
lv_string = lo_amazonmachineimagefulfi->get_releasenotes( ).
lv_string = lo_amazonmachineimagefulfi->get_usageinstructions( ).
ENDIF.
lo_apifulfillmentoption = lo_row_1->get_apifulfillmentoption( ).
IF lo_apifulfillmentoption IS NOT INITIAL.
lv_string = lo_apifulfillmentoption->get_fulfillmentoptionid( ).
lv_fulfillmentoptiontype = lo_apifulfillmentoption->get_fulfillmentoptiontype( ).
lv_string = lo_apifulfillmentoption->get_fulfllmtoptiondspname( ).
lv_string = lo_apifulfillmentoption->get_usageinstructions( ).
LOOP AT lo_apifulfillmentoption->get_awssupportedservices( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_string = lo_row_5->get_supportedservicetype( ).
lv_string = lo_row_5->get_displayname( ).
lv_string = lo_row_5->get_description( ).
ENDIF.
ENDLOOP.
ENDIF.
lo_cloudformationfulfillme = lo_row_1->get_cloudformtnfulfllmtopt( ).
IF lo_cloudformationfulfillme IS NOT INITIAL.
lv_string = lo_cloudformationfulfillme->get_fulfillmentoptionid( ).
lv_string = lo_cloudformationfulfillme->get_fulfillmentoptionname( ).
lv_fulfillmentoptiontype = lo_cloudformationfulfillme->get_fulfillmentoptiontype( ).
lv_string = lo_cloudformationfulfillme->get_fulfllmtoptiondspname( ).
lv_string = lo_cloudformationfulfillme->get_fulfillmentoptionversion( ).
lv_string = lo_cloudformationfulfillme->get_releasenotes( ).
lv_string = lo_cloudformationfulfillme->get_usageinstructions( ).
ENDIF.
lo_containerfulfillmentopt = lo_row_1->get_containerfulfllmtoption( ).
IF lo_containerfulfillmentopt IS NOT INITIAL.
lv_string = lo_containerfulfillmentopt->get_fulfillmentoptionid( ).
lv_string = lo_containerfulfillmentopt->get_fulfillmentoptionname( ).
lv_fulfillmentoptiontype = lo_containerfulfillmentopt->get_fulfillmentoptiontype( ).
lv_string = lo_containerfulfillmentopt->get_fulfllmtoptiondspname( ).
lv_string = lo_containerfulfillmentopt->get_fulfillmentoptionversion( ).
LOOP AT lo_containerfulfillmentopt->get_operatingsystems( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_string = lo_row_7->get_opertngsystemfamilyname( ).
lv_string = lo_row_7->get_operatingsystemname( ).
ENDIF.
ENDLOOP.
LOOP AT lo_containerfulfillmentopt->get_awssupportedservices( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_string = lo_row_5->get_supportedservicetype( ).
lv_string = lo_row_5->get_displayname( ).
lv_string = lo_row_5->get_description( ).
ENDIF.
ENDLOOP.
lv_string = lo_containerfulfillmentopt->get_releasenotes( ).
lv_string = lo_containerfulfillmentopt->get_usageinstructions( ).
ENDIF.
lo_helmfulfillmentoption = lo_row_1->get_helmfulfillmentoption( ).
IF lo_helmfulfillmentoption IS NOT INITIAL.
lv_string = lo_helmfulfillmentoption->get_fulfillmentoptionid( ).
lv_string = lo_helmfulfillmentoption->get_fulfillmentoptionname( ).
lv_fulfillmentoptiontype = lo_helmfulfillmentoption->get_fulfillmentoptiontype( ).
lv_string = lo_helmfulfillmentoption->get_fulfllmtoptiondspname( ).
lv_string = lo_helmfulfillmentoption->get_fulfillmentoptionversion( ).
LOOP AT lo_helmfulfillmentoption->get_operatingsystems( ) into lo_row_8.
lo_row_9 = lo_row_8.
IF lo_row_9 IS NOT INITIAL.
lv_string = lo_row_9->get_opertngsystemfamilyname( ).
lv_string = lo_row_9->get_operatingsystemname( ).
ENDIF.
ENDLOOP.
lv_string = lo_helmfulfillmentoption->get_releasenotes( ).
LOOP AT lo_helmfulfillmentoption->get_awssupportedservices( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_string = lo_row_5->get_supportedservicetype( ).
lv_string = lo_row_5->get_displayname( ).
lv_string = lo_row_5->get_description( ).
ENDIF.
ENDLOOP.
lv_string = lo_helmfulfillmentoption->get_usageinstructions( ).
ENDIF.
lo_eksaddonfulfillmentopti = lo_row_1->get_eksaddonfulfllmtoption( ).
IF lo_eksaddonfulfillmentopti IS NOT INITIAL.
lv_string = lo_eksaddonfulfillmentopti->get_fulfillmentoptionid( ).
lv_string = lo_eksaddonfulfillmentopti->get_fulfillmentoptionname( ).
lv_fulfillmentoptiontype = lo_eksaddonfulfillmentopti->get_fulfillmentoptiontype( ).
lv_string = lo_eksaddonfulfillmentopti->get_fulfllmtoptiondspname( ).
lv_string = lo_eksaddonfulfillmentopti->get_fulfillmentoptionversion( ).
LOOP AT lo_eksaddonfulfillmentopti->get_operatingsystems( ) into lo_row_10.
lo_row_11 = lo_row_10.
IF lo_row_11 IS NOT INITIAL.
lv_string = lo_row_11->get_opertngsystemfamilyname( ).
lv_string = lo_row_11->get_operatingsystemname( ).
ENDIF.
ENDLOOP.
lv_string = lo_eksaddonfulfillmentopti->get_releasenotes( ).
lv_string = lo_eksaddonfulfillmentopti->get_usageinstructions( ).
LOOP AT lo_eksaddonfulfillmentopti->get_awssupportedservices( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_string = lo_row_5->get_supportedservicetype( ).
lv_string = lo_row_5->get_displayname( ).
lv_string = lo_row_5->get_description( ).
ENDIF.
ENDLOOP.
ENDIF.
lo_ec2imagebuildercomponen = lo_row_1->gt_ec2imgbldrcompntfulfllm00( ).
IF lo_ec2imagebuildercomponen IS NOT INITIAL.
lv_string = lo_ec2imagebuildercomponen->get_fulfillmentoptionid( ).
lv_string = lo_ec2imagebuildercomponen->get_fulfillmentoptionname( ).
lv_fulfillmentoptiontype = lo_ec2imagebuildercomponen->get_fulfillmentoptiontype( ).
lv_string = lo_ec2imagebuildercomponen->get_fulfllmtoptiondspname( ).
lv_string = lo_ec2imagebuildercomponen->get_fulfillmentoptionversion( ).
LOOP AT lo_ec2imagebuildercomponen->get_operatingsystems( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_string = lo_row_7->get_opertngsystemfamilyname( ).
lv_string = lo_row_7->get_operatingsystemname( ).
ENDIF.
ENDLOOP.
LOOP AT lo_ec2imagebuildercomponen->get_awssupportedservices( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_string = lo_row_5->get_supportedservicetype( ).
lv_string = lo_row_5->get_displayname( ).
lv_string = lo_row_5->get_description( ).
ENDIF.
ENDLOOP.
lv_string = lo_ec2imagebuildercomponen->get_releasenotes( ).
lv_string = lo_ec2imagebuildercomponen->get_usageinstructions( ).
ENDIF.
lo_dataexchangefulfillment = lo_row_1->get_dataexchngfulfllmtoption( ).
IF lo_dataexchangefulfillment IS NOT INITIAL.
lv_string = lo_dataexchangefulfillment->get_fulfillmentoptionid( ).
lv_fulfillmentoptiontype = lo_dataexchangefulfillment->get_fulfillmentoptiontype( ).
lv_string = lo_dataexchangefulfillment->get_fulfllmtoptiondspname( ).
LOOP AT lo_dataexchangefulfillment->get_dataartifacts( ) into lo_row_12.
lo_row_13 = lo_row_12.
IF lo_row_13 IS NOT INITIAL.
lv_string = lo_row_13->get_description( ).
lv_string = lo_row_13->get_resourcearn( ).
lv_string = lo_row_13->get_resourcetype( ).
lv_string = lo_row_13->get_dataclassification( ).
ENDIF.
ENDLOOP.
ENDIF.
lo_professionalservicesful = lo_row_1->get_proflsvcsfulfllmtoption( ).
IF lo_professionalservicesful IS NOT INITIAL.
lv_string = lo_professionalservicesful->get_fulfillmentoptionid( ).
lv_fulfillmentoptiontype = lo_professionalservicesful->get_fulfillmentoptiontype( ).
lv_string = lo_professionalservicesful->get_fulfllmtoptiondspname( ).
ENDIF.
lo_saasfulfillmentoption = lo_row_1->get_saasfulfillmentoption( ).
IF lo_saasfulfillmentoption IS NOT INITIAL.
lv_string = lo_saasfulfillmentoption->get_fulfillmentoptionid( ).
lv_fulfillmentoptiontype = lo_saasfulfillmentoption->get_fulfillmentoptiontype( ).
lv_string = lo_saasfulfillmentoption->get_fulfllmtoptiondspname( ).
lv_string = lo_saasfulfillmentoption->get_fulfillmenturl( ).
lv_string = lo_saasfulfillmentoption->get_usageinstructions( ).
ENDIF.
lo_sagemakeralgorithmfulfi = lo_row_1->get_smalgfulfllmtoption( ).
IF lo_sagemakeralgorithmfulfi IS NOT INITIAL.
lv_string = lo_sagemakeralgorithmfulfi->get_fulfillmentoptionid( ).
lv_fulfillmentoptiontype = lo_sagemakeralgorithmfulfi->get_fulfillmentoptiontype( ).
lv_string = lo_sagemakeralgorithmfulfi->get_fulfllmtoptiondspname( ).
lv_string = lo_sagemakeralgorithmfulfi->get_fulfillmentoptionversion( ).
lv_string = lo_sagemakeralgorithmfulfi->get_releasenotes( ).
lv_string = lo_sagemakeralgorithmfulfi->get_usageinstructions( ).
lo_sagemakeralgorithmrecom = lo_sagemakeralgorithmfulfi->get_recommendation( ).
IF lo_sagemakeralgorithmrecom IS NOT INITIAL.
lv_string = lo_sagemakeralgorithmrecom->get_recdbatchxfrminsttype( ).
lv_string = lo_sagemakeralgorithmrecom->get_recdrtminfrncinsttype( ).
lv_string = lo_sagemakeralgorithmrecom->get_recdtraininginstancetype( ).
ENDIF.
ENDIF.
lo_sagemakermodelfulfillme = lo_row_1->get_smmodelfulfllmtoption( ).
IF lo_sagemakermodelfulfillme IS NOT INITIAL.
lv_string = lo_sagemakermodelfulfillme->get_fulfillmentoptionid( ).
lv_fulfillmentoptiontype = lo_sagemakermodelfulfillme->get_fulfillmentoptiontype( ).
lv_string = lo_sagemakermodelfulfillme->get_fulfllmtoptiondspname( ).
lv_string = lo_sagemakermodelfulfillme->get_fulfillmentoptionversion( ).
lv_string = lo_sagemakermodelfulfillme->get_releasenotes( ).
lv_string = lo_sagemakermodelfulfillme->get_usageinstructions( ).
lo_sagemakermodelrecommend = lo_sagemakermodelfulfillme->get_recommendation( ).
IF lo_sagemakermodelrecommend IS NOT INITIAL.
lv_string = lo_sagemakermodelrecommend->get_recdbatchxfrminsttype( ).
lv_string = lo_sagemakermodelrecommend->get_recdrtminfrncinsttype( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.
List AMI Fulfillment Options¶
List AMI Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleAmiId| ) .
List API Fulfillment Options¶
List API Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleApiId| ) .
List CloudFormation Template Fulfillment Options¶
List CloudFormation Template Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleCftId| ) .
List Container Fulfillment Options¶
List Container Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleContainerId| ) .
List Helm Fulfillment Options¶
List Helm Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleHelmId| ) .
List EKS Add-On Fulfillment Options¶
List EKS Add-On Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleEksId| ) .
List EC2 Image Builder Component Fulfillment Options¶
List EC2 Image Builder Component Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleImageBuilderId| ) .
List Data Exchange Fulfillment Options¶
List Data Exchange Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleDataExchangeId| ) .
List Professional Services Fulfillment Options¶
List Professional Services Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleProServId| ) .
List SaaS Fulfillment Options¶
List SaaS Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleSaasId| ) .
List SageMaker Algorithm Fulfillment Options¶
List SageMaker Algorithm Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleSmAlgoId| ) .
List SageMaker Model Fulfillment Options¶
List SageMaker Model Fulfillment Options
DATA(lo_result) = lo_client->listfulfillmentoptions( iv_productid = |prod-sampleSmModelId| ) .