describe_effective_instance_associations
async
¶
describe_effective_instance_associations(
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
max_results: Optional[EffectiveInstanceAssociationMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeEffectiveInstanceAssociationsResult
All associations for the managed nodes.
Parameters:
-
instance_id(InstanceId) –The managed node ID for which you want to view all associations.
-
max_results(Optional[EffectiveInstanceAssociationMaxResults], 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.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. (You received this token from a previous call.)
Raises:
-
InternalServerError–An error occurred on the server side.
-
InvalidInstanceId–The following problems can cause this exception:
-
You don't have permission to access the managed node.
-
Amazon Web Services Systems Manager Agent (SSM Agent) isn't running. Verify that SSM Agent is running.
-
SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.
-
The managed node isn't in a valid state. Valid states are:
Running,Pending,Stopped, andStopping. Invalid states are:Shutting-downandTerminated.
-
-
InvalidNextToken–The specified token isn't valid.
-
UnknownServiceError–The service returned an error code this client does not model.