v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473344266.2 KB

Updates a list.

post/#X-Amz-Target=AWSHawksNestServiceFacade.UpdateList

Headers

X-Amz-Target'AWSHawksNestServiceFacade.UpdateList' required

Request body

namestring required

The name of the list to update.

elementsElements[]
<p> One or more list elements to add or replace. If you are providing the elements, make sure to specify the <code>updateMode</code> to use. </p> <p>If you are deleting all elements from the list, use <code>REPLACE</code> for the <code>updateMode</code> and provide an empty list (0 elements).</p>
descriptionstring

The new description.

updateMode'REPLACE' | 'APPEND' | 'REMOVE'
<p> The update mode (type). </p> <ul> <li> <p>Use <code>APPEND</code> if you are adding elements to the list.</p> </li> <li> <p>Use <code>REPLACE</code> if you replacing existing elements in the list.</p> </li> <li> <p>Use <code>REMOVE</code> if you are removing elements from the list.</p> </li> </ul>
variableTypestring
<p> The variable type you want to assign to the list. </p> <note> <p>You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.</p> </note>

Response

Success

UpdateListResult required