list_nodes
¶
list_nodes(
*,
config_overrides: Optional[SSMClientConfig] = None,
sync_name: Optional[ResourceDataSyncName] = None,
filters: Optional[NodeFilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListNodesResult
Takes in filters and returns a list of managed nodes matching the filter criteria.
Parameters:
-
sync_name(Optional[ResourceDataSyncName], default:None) –The name of the Amazon Web Services managed resource data sync to retrieve information about.
For cross-account/cross-Region configurations, this parameter is required, and the name of the supported resource data sync is
AWS-QuickSetup-ManagedNode.For single account/single-Region configurations, the parameter is not required.
-
filters(Optional[NodeFilterList], default:None) –One or more filters. Use a filter to return a more specific list of managed nodes.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. (You received this token from a previous call.)
-
max_results(Optional[MaxResults], default:None) –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.
Raises:
-
InternalServerError–An error occurred on the server side.
-
InvalidFilter–The filter name isn't valid. Verify that you entered the correct name and try again.
-
InvalidNextToken–The specified token isn't valid.
-
ResourceDataSyncNotFoundException–The specified sync name wasn't found.
-
UnsupportedOperationException–This operation is not supported for the current account. You must first enable the Systems Manager integrated experience in your account.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/ssm.py
8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 | |