Skip to content

ListCommandsRequest

Source code in docs_src/capo_ssm/types/list_commands_request.py
class ListCommandsRequest(TypedDict, closed=True):
    command_id: NotRequired["capo_ssm.types.command_id.CommandId"]
    """<p>(Optional) If provided, lists only the specified command.</p>"""
    instance_id: NotRequired["capo_ssm.types.instance_id.InstanceId"]
    """<p>(Optional) Lists commands issued against this managed node ID.</p> <note> <p>You can't specify a managed node ID in the same command that you specify <code>Status</code> = <code>Pending</code>. This is because the command hasn't reached the managed node yet.</p> </note>"""
    max_results: NotRequired["capo_ssm.types.command_max_results.CommandMaxResults"]
    """<p>(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.</p>"""
    next_token: NotRequired["capo_ssm.types.next_token.NextToken"]
    """<p>(Optional) The token for the next set of items to return. (You received this token from a previous call.)</p>"""
    filters: NotRequired["capo_ssm.types.command_filter_list.CommandFilterList"]
    """<p>(Optional) One or more filters. Use a filter to return a more specific list of results. </p>"""

command_id instance-attribute

command_id: NotRequired[CommandId]

(Optional) If provided, lists only the specified command.

filters instance-attribute

filters: NotRequired[CommandFilterList]

(Optional) One or more filters. Use a filter to return a more specific list of results.

instance_id instance-attribute

instance_id: NotRequired[InstanceId]

(Optional) Lists commands issued against this managed node ID.

You can't specify a managed node ID in the same command that you specify Status = Pending. This is because the command hasn't reached the managed node yet.

max_results instance-attribute

max_results: NotRequired[CommandMaxResults]

(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

next_token instance-attribute

next_token: NotRequired[NextToken]

(Optional) The token for the next set of items to return. (You received this token from a previous call.)