/AWS1/IF_SSM=>UPDATEASSOCIATION()¶
About UpdateAssociation¶
Updates an association. You can update the association name and version, the document
version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you
call UpdateAssociation, the system removes all optional parameters from the request
and overwrites the association with null values for those parameters. This is by design. You must
specify all optional parameters in the call, even if you are not changing the parameters. This
includes the Name parameter. Before calling this API action, we recommend that you
call the DescribeAssociation API operation and make a note of all optional
parameters required for your UpdateAssociation call.
In order to call this API operation, a user, group, or role must be granted permission to
call the DescribeAssociation API operation. If you don't have permission to
call DescribeAssociation, then you receive the following error: An error
occurred (AccessDeniedException) when calling the UpdateAssociation operation: User:
When you update an association, the association immediately runs against the specified
targets. You can add the ApplyOnlyAtCronInterval parameter to run the association
during the next schedule run.
Method Signature¶
METHODS /AWS1/IF_SSM~UPDATEASSOCIATION
IMPORTING
!IV_ASSOCIATIONID TYPE /AWS1/SSMASSOCIATIONID OPTIONAL
!IT_PARAMETERS TYPE /AWS1/CL_SSMPARAMVALUELIST_W=>TT_PARAMETERS OPTIONAL
!IV_DOCUMENTVERSION TYPE /AWS1/SSMDOCUMENTVERSION OPTIONAL
!IV_SCHEDULEEXPRESSION TYPE /AWS1/SSMSCHEDULEEXPRESSION OPTIONAL
!IO_OUTPUTLOCATION TYPE REF TO /AWS1/CL_SSMINSTASSOCIATIONO00 OPTIONAL
!IV_NAME TYPE /AWS1/SSMDOCUMENTARN OPTIONAL
!IT_TARGETS TYPE /AWS1/CL_SSMTARGET=>TT_TARGETS OPTIONAL
!IV_ASSOCIATIONNAME TYPE /AWS1/SSMASSOCIATIONNAME OPTIONAL
!IV_ASSOCIATIONVERSION TYPE /AWS1/SSMASSOCIATIONVERSION OPTIONAL
!IV_AUTOMATIONTARGETPARAMNAME TYPE /AWS1/SSMAUTOMATIONTGTPARMNAME OPTIONAL
!IV_MAXERRORS TYPE /AWS1/SSMMAXERRORS OPTIONAL
!IV_MAXCONCURRENCY TYPE /AWS1/SSMMAXCONCURRENCY OPTIONAL
!IV_COMPLIANCESEVERITY TYPE /AWS1/SSMASSOCIATIONCPLNCSEV00 OPTIONAL
!IV_SYNCCOMPLIANCE TYPE /AWS1/SSMASSOCIATIONSYNCCPLNC OPTIONAL
!IV_APPLYONLYATCRONINTERVAL TYPE /AWS1/SSMAPPLYONLYATCRONINTE00 OPTIONAL
!IT_CALENDARNAMES TYPE /AWS1/CL_SSMCALENDARNAMEORAR00=>TT_CALENDARNAMEORARNLIST OPTIONAL
!IT_TARGETLOCATIONS TYPE /AWS1/CL_SSMTARGETLOCATION=>TT_TARGETLOCATIONS OPTIONAL
!IV_SCHEDULEOFFSET TYPE /AWS1/SSMSCHEDULEOFFSET OPTIONAL
!IV_DURATION TYPE /AWS1/SSMDURATION OPTIONAL
!IT_TARGETMAPS TYPE /AWS1/CL_SSMTGTMAPVALUELIST_W=>TT_TARGETMAPS OPTIONAL
!IO_ALARMCONFIGURATION TYPE REF TO /AWS1/CL_SSMALARMCONFIGURATION OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ssmupdassociationrslt
RAISING
/AWS1/CX_SSMASSOCIATIONDOESN00
/AWS1/CX_SSMASSOCIATIONVRSLM00
/AWS1/CX_SSMINTERNALSERVERERR
/AWS1/CX_SSMINVASSOCIATIONVRS
/AWS1/CX_SSMINVALIDDOCUMENT
/AWS1/CX_SSMINVALIDDOCVERSION
/AWS1/CX_SSMINVALIDOUTPUTLOC
/AWS1/CX_SSMINVALIDPARAMETERS
/AWS1/CX_SSMINVALIDSCHEDULE
/AWS1/CX_SSMINVALIDTARGET
/AWS1/CX_SSMINVALIDTARGETMAPS
/AWS1/CX_SSMINVALIDUPDATE
/AWS1/CX_SSMTOOMANYUPDATES
/AWS1/CX_SSMCLIENTEXC
/AWS1/CX_SSMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_associationid TYPE /AWS1/SSMASSOCIATIONID /AWS1/SSMASSOCIATIONID¶
The ID of the association you want to update.
Optional arguments:¶
it_parameters TYPE /AWS1/CL_SSMPARAMVALUELIST_W=>TT_PARAMETERS TT_PARAMETERS¶
The parameters you want to update for the association. If you create a parameter using Parameter Store, a tool in Amazon Web Services Systems Manager, you can reference the parameter using
{{ssm:parameter-name}}.
iv_documentversion TYPE /AWS1/SSMDOCUMENTVERSION /AWS1/SSMDOCUMENTVERSION¶
The document version you want update for the association.
State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the
defaultversion of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version todefault.
iv_scheduleexpression TYPE /AWS1/SSMSCHEDULEEXPRESSION /AWS1/SSMSCHEDULEEXPRESSION¶
The cron expression used to schedule the association that you want to update.
io_outputlocation TYPE REF TO /AWS1/CL_SSMINSTASSOCIATIONO00 /AWS1/CL_SSMINSTASSOCIATIONO00¶
An S3 bucket where you want to store the results of this request.
iv_name TYPE /AWS1/SSMDOCUMENTARN /AWS1/SSMDOCUMENTARN¶
The name of the SSM Command document or Automation runbook that contains the configuration information for the managed node.
You can specify Amazon Web Services-predefined documents, documents you created, or a document that is shared with you from another account.
For Systems Manager document (SSM document) that are shared with you from other Amazon Web Services accounts, you must specify the complete SSM document ARN, in the following format:
arn:aws:ssm:region:account-id:document/document-nameFor example:
arn:aws:ssm:us-east-2:12345678912:document/My-Shared-DocumentFor Amazon Web Services-predefined documents and SSM documents you created in your account, you only need to specify the document name. For example,
AWS-ApplyPatchBaselineorMy-Document.
it_targets TYPE /AWS1/CL_SSMTARGET=>TT_TARGETS TT_TARGETS¶
The targets of the association.
iv_associationname TYPE /AWS1/SSMASSOCIATIONNAME /AWS1/SSMASSOCIATIONNAME¶
The name of the association that you want to update.
iv_associationversion TYPE /AWS1/SSMASSOCIATIONVERSION /AWS1/SSMASSOCIATIONVERSION¶
This parameter is provided for concurrency control purposes. You must specify the latest association version in the service. If you want to ensure that this request succeeds, either specify
$LATEST, or omit this parameter.
iv_automationtargetparamname TYPE /AWS1/SSMAUTOMATIONTGTPARMNAME /AWS1/SSMAUTOMATIONTGTPARMNAME¶
Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in Amazon Web Services Systems Manager.
iv_maxerrors TYPE /AWS1/SSMMAXERRORS /AWS1/SSMMAXERRORS¶
The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set
MaxErrorto 10%, then the system stops sending the request when the sixth error is received.Executions that are already running an association when
MaxErrorsis reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, setMaxConcurrencyto 1 so that executions proceed one at a time.
iv_maxconcurrency TYPE /AWS1/SSMMAXCONCURRENCY /AWS1/SSMMAXCONCURRENCY¶
The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time.
If a new managed node starts and attempts to run an association while Systems Manager is running
MaxConcurrencyassociations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified forMaxConcurrency.
iv_complianceseverity TYPE /AWS1/SSMASSOCIATIONCPLNCSEV00 /AWS1/SSMASSOCIATIONCPLNCSEV00¶
The severity level to assign to the association.
iv_synccompliance TYPE /AWS1/SSMASSOCIATIONSYNCCPLNC /AWS1/SSMASSOCIATIONSYNCCPLNC¶
The mode for generating association compliance. You can specify
AUTOorMANUAL. InAUTOmode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association isCOMPLIANT. If the association execution doesn't run successfully, the association isNON-COMPLIANT.In
MANUALmode, you must specify theAssociationIdas a parameter for the PutComplianceItems API operation. In this case, compliance data isn't managed by State Manager, a tool in Amazon Web Services Systems Manager. It is managed by your direct call to the PutComplianceItems API operation.By default, all associations use
AUTOmode.
iv_applyonlyatcroninterval TYPE /AWS1/SSMAPPLYONLYATCRONINTE00 /AWS1/SSMAPPLYONLYATCRONINTE00¶
By default, when you update an association, the system runs it immediately after it is updated and then according to the schedule you specified. Specify
trueforApplyOnlyAtCronIntervalif you want the association to run only according to the schedule you specified.If you chose this option when you created an association and later you edit that association or you make changes to the Automation runbook or SSM document on which that association is based, State Manager applies the association at the next specified cron interval. For example, if you chose the
Latestversion of an SSM document when you created an association and you edit the association by choosing a different document version on the Documents page, State Manager applies the association at the next specified cron interval if you previously setApplyOnlyAtCronIntervaltotrue. If this option wasn't selected, State Manager immediately runs the association.For more information, see Understanding when associations are applied to resources and About target updates with Automation runbooks in the Amazon Web Services Systems Manager User Guide.
This parameter isn't supported for rate expressions.
You can reset this parameter. To do so, specify the
no-apply-only-at-cron-intervalparameter when you update the association from the command line. This parameter forces the association to run immediately after updating it and according to the interval specified.
it_calendarnames TYPE /AWS1/CL_SSMCALENDARNAMEORAR00=>TT_CALENDARNAMEORARNLIST TT_CALENDARNAMEORARNLIST¶
The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to gate your associations under. The associations only run when that change calendar is open. For more information, see Amazon Web Services Systems Manager Change Calendar in the Amazon Web Services Systems Manager User Guide.
it_targetlocations TYPE /AWS1/CL_SSMTARGETLOCATION=>TT_TARGETLOCATIONS TT_TARGETLOCATIONS¶
A location is a combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the association. Use this action to update an association in multiple Regions and multiple accounts.
The
IncludeChildOrganizationUnitsparameter is not supported by State Manager.
iv_scheduleoffset TYPE /AWS1/SSMSCHEDULEOFFSET /AWS1/SSMSCHEDULEOFFSET¶
Number of days to wait after the scheduled day to run an association. For example, if you specified a cron schedule of
cron(0 0 ? * THU#2 *), you could specify an offset of 3 to run the association each Sunday after the second Thursday of the month. For more information about cron schedules for associations, see Reference: Cron and rate expressions for Systems Manager in the Amazon Web Services Systems Manager User Guide.To use offsets, you must specify the
ApplyOnlyAtCronIntervalparameter. This option tells the system not to run an association immediately after you create it.
iv_duration TYPE /AWS1/SSMDURATION /AWS1/SSMDURATION¶
The number of hours the association can run before it is canceled. Duration applies to associations that are currently running, and any pending and in progress commands on all targets. If a target was taken offline for the association to run, it is made available again immediately, without a reboot.
The
Durationparameter applies only when both these conditions are true:
The association for which you specify a duration is cancelable according to the parameters of the SSM command document or Automation runbook associated with this execution.
The command specifies the
ApplyOnlyAtCronIntervalparameter, which means that the association doesn't run immediately after it is updated, but only according to the specified schedule.
it_targetmaps TYPE /AWS1/CL_SSMTGTMAPVALUELIST_W=>TT_TARGETMAPS TT_TARGETMAPS¶
A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.
io_alarmconfiguration TYPE REF TO /AWS1/CL_SSMALARMCONFIGURATION /AWS1/CL_SSMALARMCONFIGURATION¶
AlarmConfiguration
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ssmupdassociationrslt /AWS1/CL_SSMUPDASSOCIATIONRSLT¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
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->updateassociation(
io_alarmconfiguration = new /aws1/cl_ssmalarmconfiguration(
it_alarms = VALUE /aws1/cl_ssmalarm=>tt_alarmlist(
( new /aws1/cl_ssmalarm( |string| ) )
)
iv_ignorepollalarmfailure = ABAP_TRUE
)
io_outputlocation = new /aws1/cl_ssminstassociationo00(
io_s3location = new /aws1/cl_ssms3outputlocation(
iv_outputs3bucketname = |string|
iv_outputs3keyprefix = |string|
iv_outputs3region = |string|
)
)
it_calendarnames = VALUE /aws1/cl_ssmcalendarnameorar00=>tt_calendarnameorarnlist(
( new /aws1/cl_ssmcalendarnameorar00( |string| ) )
)
it_parameters = VALUE /aws1/cl_ssmparamvaluelist_w=>tt_parameters(
(
VALUE /aws1/cl_ssmparamvaluelist_w=>ts_parameters_maprow(
value = VALUE /aws1/cl_ssmparamvaluelist_w=>tt_parametervaluelist(
( new /aws1/cl_ssmparamvaluelist_w( |string| ) )
)
key = |string|
)
)
)
it_targetlocations = VALUE /aws1/cl_ssmtargetlocation=>tt_targetlocations(
(
new /aws1/cl_ssmtargetlocation(
io_targetlocationalarmconf = new /aws1/cl_ssmalarmconfiguration(
it_alarms = VALUE /aws1/cl_ssmalarm=>tt_alarmlist(
( new /aws1/cl_ssmalarm( |string| ) )
)
iv_ignorepollalarmfailure = ABAP_TRUE
)
it_accounts = VALUE /aws1/cl_ssmaccounts_w=>tt_accounts(
( new /aws1/cl_ssmaccounts_w( |string| ) )
)
it_excludeaccounts = VALUE /aws1/cl_ssmexcludeaccounts_w=>tt_excludeaccounts(
( new /aws1/cl_ssmexcludeaccounts_w( |string| ) )
)
it_regions = VALUE /aws1/cl_ssmregions_w=>tt_regions(
( new /aws1/cl_ssmregions_w( |string| ) )
)
it_targets = VALUE /aws1/cl_ssmtarget=>tt_targets(
(
new /aws1/cl_ssmtarget(
it_values = VALUE /aws1/cl_ssmtargetvalues_w=>tt_targetvalues(
( new /aws1/cl_ssmtargetvalues_w( |string| ) )
)
iv_key = |string|
)
)
)
iv_executionrolename = |string|
iv_includechildorgunits = ABAP_TRUE
iv_targetlocationmaxerrors = |string|
iv_targetlocmaxconcurrency = |string|
iv_targetsmaxconcurrency = |string|
iv_targetsmaxerrors = |string|
)
)
)
it_targetmaps = VALUE /aws1/cl_ssmtgtmapvaluelist_w=>tt_targetmaps(
(
VALUE /aws1/cl_ssmtgtmapvaluelist_w=>tt_targetmap(
(
VALUE /aws1/cl_ssmtgtmapvaluelist_w=>ts_targetmap_maprow(
key = |string|
value = VALUE /aws1/cl_ssmtgtmapvaluelist_w=>tt_targetmapvaluelist(
( new /aws1/cl_ssmtgtmapvaluelist_w( |string| ) )
)
)
)
)
)
)
it_targets = VALUE /aws1/cl_ssmtarget=>tt_targets(
(
new /aws1/cl_ssmtarget(
it_values = VALUE /aws1/cl_ssmtargetvalues_w=>tt_targetvalues(
( new /aws1/cl_ssmtargetvalues_w( |string| ) )
)
iv_key = |string|
)
)
)
iv_applyonlyatcroninterval = ABAP_TRUE
iv_associationid = |string|
iv_associationname = |string|
iv_associationversion = |string|
iv_automationtargetparamname = |string|
iv_complianceseverity = |string|
iv_documentversion = |string|
iv_duration = 123
iv_maxconcurrency = |string|
iv_maxerrors = |string|
iv_name = |string|
iv_scheduleexpression = |string|
iv_scheduleoffset = 123
iv_synccompliance = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_associationdescription = lo_result->get_associationdescription( ).
IF lo_associationdescription IS NOT INITIAL.
lv_documentarn = lo_associationdescription->get_name( ).
lv_instanceid = lo_associationdescription->get_instanceid( ).
lv_associationversion = lo_associationdescription->get_associationversion( ).
lv_datetime = lo_associationdescription->get_date( ).
lv_datetime = lo_associationdescription->get_lastupdassociationdate( ).
lo_associationstatus = lo_associationdescription->get_status( ).
IF lo_associationstatus IS NOT INITIAL.
lv_datetime = lo_associationstatus->get_date( ).
lv_associationstatusname = lo_associationstatus->get_name( ).
lv_statusmessage = lo_associationstatus->get_message( ).
lv_statusadditionalinfo = lo_associationstatus->get_additionalinfo( ).
ENDIF.
lo_associationoverview = lo_associationdescription->get_overview( ).
IF lo_associationoverview IS NOT INITIAL.
lv_statusname = lo_associationoverview->get_status( ).
lv_statusname = lo_associationoverview->get_detailedstatus( ).
LOOP AT lo_associationoverview->get_associationstataggrega00( ) into ls_row.
lv_key = ls_row-key.
lo_value = ls_row-value.
IF lo_value IS NOT INITIAL.
lv_instancecount = lo_value->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_documentversion = lo_associationdescription->get_documentversion( ).
lv_automationtargetparamet = lo_associationdescription->get_automationtgtparamname( ).
LOOP AT lo_associationdescription->get_parameters( ) into ls_row_1.
lv_key_1 = ls_row_1-key.
LOOP AT ls_row_1-value into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_parametervalue = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
ENDLOOP.
lv_associationid = lo_associationdescription->get_associationid( ).
LOOP AT lo_associationdescription->get_targets( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_targetkey = lo_row_5->get_key( ).
LOOP AT lo_row_5->get_values( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_targetvalue = lo_row_7->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lv_scheduleexpression = lo_associationdescription->get_scheduleexpression( ).
lo_instanceassociationoutp = lo_associationdescription->get_outputlocation( ).
IF lo_instanceassociationoutp IS NOT INITIAL.
lo_s3outputlocation = lo_instanceassociationoutp->get_s3location( ).
IF lo_s3outputlocation IS NOT INITIAL.
lv_s3region = lo_s3outputlocation->get_outputs3region( ).
lv_s3bucketname = lo_s3outputlocation->get_outputs3bucketname( ).
lv_s3keyprefix = lo_s3outputlocation->get_outputs3keyprefix( ).
ENDIF.
ENDIF.
lv_datetime = lo_associationdescription->get_lastexecutiondate( ).
lv_datetime = lo_associationdescription->get_lastsuccessfulexecdate( ).
lv_associationname = lo_associationdescription->get_associationname( ).
lv_maxerrors = lo_associationdescription->get_maxerrors( ).
lv_maxconcurrency = lo_associationdescription->get_maxconcurrency( ).
lv_associationcompliancese = lo_associationdescription->get_complianceseverity( ).
lv_associationsynccomplian = lo_associationdescription->get_synccompliance( ).
lv_applyonlyatcroninterval = lo_associationdescription->get_applyonlyatcroninterval( ).
LOOP AT lo_associationdescription->get_calendarnames( ) into lo_row_8.
lo_row_9 = lo_row_8.
IF lo_row_9 IS NOT INITIAL.
lv_calendarnameorarn = lo_row_9->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_associationdescription->get_targetlocations( ) into lo_row_10.
lo_row_11 = lo_row_10.
IF lo_row_11 IS NOT INITIAL.
LOOP AT lo_row_11->get_accounts( ) into lo_row_12.
lo_row_13 = lo_row_12.
IF lo_row_13 IS NOT INITIAL.
lv_account = lo_row_13->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_row_11->get_regions( ) into lo_row_14.
lo_row_15 = lo_row_14.
IF lo_row_15 IS NOT INITIAL.
lv_region = lo_row_15->get_value( ).
ENDIF.
ENDLOOP.
lv_maxconcurrency = lo_row_11->get_targetlocmaxconcurrency( ).
lv_maxerrors = lo_row_11->get_targetlocationmaxerrors( ).
lv_executionrolename = lo_row_11->get_executionrolename( ).
lo_alarmconfiguration = lo_row_11->get_targetlocationalarmconf( ).
IF lo_alarmconfiguration IS NOT INITIAL.
lv_boolean = lo_alarmconfiguration->get_ignorepollalarmfailure( ).
LOOP AT lo_alarmconfiguration->get_alarms( ) into lo_row_16.
lo_row_17 = lo_row_16.
IF lo_row_17 IS NOT INITIAL.
lv_alarmname = lo_row_17->get_name( ).
ENDIF.
ENDLOOP.
ENDIF.
lv_boolean = lo_row_11->get_includechildorgunits( ).
LOOP AT lo_row_11->get_excludeaccounts( ) into lo_row_18.
lo_row_19 = lo_row_18.
IF lo_row_19 IS NOT INITIAL.
lv_excludeaccount = lo_row_19->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_row_11->get_targets( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_targetkey = lo_row_5->get_key( ).
LOOP AT lo_row_5->get_values( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_targetvalue = lo_row_7->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lv_maxconcurrency = lo_row_11->get_targetsmaxconcurrency( ).
lv_maxerrors = lo_row_11->get_targetsmaxerrors( ).
ENDIF.
ENDLOOP.
lv_scheduleoffset = lo_associationdescription->get_scheduleoffset( ).
lv_duration = lo_associationdescription->get_duration( ).
LOOP AT lo_associationdescription->get_targetmaps( ) into lt_row_20.
LOOP AT lt_row_20 into ls_row_21.
lv_key_2 = ls_row_21-key.
LOOP AT ls_row_21-value into lo_row_22.
lo_row_23 = lo_row_22.
IF lo_row_23 IS NOT INITIAL.
lv_targetmapvalue = lo_row_23->get_value( ).
ENDIF.
ENDLOOP.
ENDLOOP.
ENDLOOP.
lo_alarmconfiguration = lo_associationdescription->get_alarmconfiguration( ).
IF lo_alarmconfiguration IS NOT INITIAL.
lv_boolean = lo_alarmconfiguration->get_ignorepollalarmfailure( ).
LOOP AT lo_alarmconfiguration->get_alarms( ) into lo_row_16.
lo_row_17 = lo_row_16.
IF lo_row_17 IS NOT INITIAL.
lv_alarmname = lo_row_17->get_name( ).
ENDIF.
ENDLOOP.
ENDIF.
LOOP AT lo_associationdescription->get_triggeredalarms( ) into lo_row_24.
lo_row_25 = lo_row_24.
IF lo_row_25 IS NOT INITIAL.
lv_alarmname = lo_row_25->get_name( ).
lv_externalalarmstate = lo_row_25->get_state( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.