https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_GetCommandInvocation.html

def get_command_invocation(self, **kwargs):
        """
        https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_GetCommandInvocation.html
        """

        command_id = kwargs.get('CommandId')
        instance_id = kwargs.get('InstanceId')
        plugin_name = kwargs.get('PluginName', None)

        command = self.get_command_by_id(command_id)
        return command.get_invocation(instance_id, plugin_name)